Package Details: wxwidgets-common-git 3.2.2.r98.g3b236b8ffd-1

Git Clone URL: https://aur.archlinux.org/wxgtk-git.git (read-only, click to copy)
Package Base: wxgtk-git
Description: Common libraries and headers for wxwidgets
Upstream URL: https://www.wxwidgets.org
Licenses: custom: wxWindows Library Licence
Conflicts: wxwidgets-common
Provides: wxwidgets-common
Submitter: pmattern
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 0
Popularity: 0.000000
First Submitted: 2016-01-15 19:00 (UTC)
Last Updated: 2023-06-19 17:40 (UTC)

Required by (33)

Sources (4)

Latest Comments

1 2 Next › Last »

FabioLolix commented on 2023-06-18 14:07 (UTC)

PR are welcome https://github.com/FabioLolix/PKGBUILD-AUR_fix/tree/master/w

EndlessEden commented on 2022-12-07 12:09 (UTC)

please add 'wxwidgets-common' to provides

FabioLolix commented on 2022-03-13 23:54 (UTC)

Hi dreieck, I had worked on the pkgbuild in the recent past and had already addressed most of the things you reported (but didn't upload yet), however the patches used on wxwidgets-dev-light for making it non-conflicting with the stable version are not applying at the moment, I still consider this pkgbuild imperfect and WIP

dreieck commented on 2022-03-13 10:50 (UTC)

Should this provide wxgtk2? Because this is for GTK2. In the official repositories there is also wxgtk2 (version 3.x), and most packages would depend on wxgtk2, not wxgtk.

dreieck commented on 2022-03-13 10:25 (UTC) (edited on 2022-03-13 10:26 (UTC) by dreieck)

Conflicts with wxgtk2 and wxgtk-common:

error: failed to commit transaction (conflicting files)
wxgtk-git: /usr/bin/wx-config exists in filesystem (owned by wxgtk2)
wxgtk-git: /usr/bin/wxrc exists in filesystem (owned by wxgtk-common)
wxgtk-git: /usr/share/aclocal/wxwin.m4 exists in filesystem (owned by wxgtk-common)
wxgtk-git: /usr/share/bakefile/presets/wx.bkl exists in filesystem (owned by wxgtk-common)
wxgtk-git: /usr/share/bakefile/presets/wx_presets.py exists in filesystem (owned by wxgtk-common)
wxgtk-git: /usr/share/bakefile/presets/wx_unix.bkl exists in filesystem (owned by wxgtk-common)
wxgtk-git: /usr/share/bakefile/presets/wx_win32.bkl exists in filesystem (owned by wxgtk-common)
wxgtk-git: /usr/share/bakefile/presets/wx_xrc.bkl exists in filesystem (owned by wxgtk-common)

Since wxgtk-common has a lot of more files, wxgtk-git cannot simply replace wxgtk-common. So, maybe, you need to manually remove the above mentioned files from $pkgdir, and add wxgtk-common to the depends array.

Thanks for maintaining!

dreieck commented on 2022-03-13 10:10 (UTC)

Later in the build() process I get the error

./src/generic/bmpsvg.cpp:30:10: error: #error You need to run "git submodule update --init 3rdparty/nanosvg".
   30 |         #error You need to run "git submodule update --init 3rdparty/nanosvg".
      |          ^~~~~
make: *** [Makefile:31863: coredll_bmpsvg.o] Error 1

Please add

git submodule update --init 3rdparty/nanosvg

to prepare() to fix that.

Thanks for maintaining.

dreieck commented on 2022-03-12 23:11 (UTC) (edited on 2022-03-13 10:10 (UTC) by dreieck)

Upstream version is currently at 3.1.5. This can be easily retrieved by git describe --tags. Please add it to pkgver(), e.g.:

pkgver() {
  cd "${_pkgname}"
  printf "%s.r%s.%s.%s" "$(git describe --tags | sed 's|^[vV]||' | sed 's|-g[0-9a-f]*$||' | tr '-' '+')" "$(git rev-list --count HEAD)" "$(git log -1 --date=format:"%Y%m%d" --format="%ad")" "$(git rev-parse --short HEAD)"
}

According to VCS packaging guidelines, official version number should be provided if extractable in some way.

Then, you can also add =${pkgver} to the provides entry, so that versioned dependencies work correctly.

Thanks for maintaining!

dreieck commented on 2022-03-12 23:06 (UTC)

I get the following ./configure error in build():

checking whether catch.hpp file exists... no
configure: error: 
    CATCH (C++ Automated Test Cases in Headers) is required, the required file
    ./3rdparty/catch/include/catch.hpp couldn't be found.

    You might need to run

        git submodule update --init 3rdparty/catch

    to fix this.

Please add the following prepare() function which fixes this:

prepare() {
  cd "${_pkgname}"
  git submodule update --init 3rdparty/catch
}

Thanks for maintaining!

vitor_hideyoshi commented on 2021-08-06 20:55 (UTC)

Needs to run git submodule update --init 3rdparty/catch before compiling.

flacs commented on 2017-06-10 13:22 (UTC)

Looks like wxgtk now builds wxgtk2 and wxgtk3, so I guess this package should do the same or be renamed to wxgtk3-git and provide wxgtk3.