Package Details: wxgtk-git 3.1.5.r1546.g1c5e66a12c-1

Git Clone URL: https://aur.archlinux.org/wxgtk-git.git (read-only, click to copy)
Package Base: wxgtk-git
Description: GTK+3 implementation of wxWidgets API for GUI
Upstream URL: https://www.wxwidgets.org
Licenses: custom: wxWindows Library Licence
Conflicts: wxgtk-common, wxgtk2, wxgtk3
Provides: wxgtk-common, wxgtk3
Submitter: pmattern
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 0
Popularity: 0.000000
First Submitted: 2016-01-15 19:00 (UTC)
Last Updated: 2022-03-13 23:44 (UTC)

Latest Comments

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.

pmattern commented on 2016-12-26 22:51 (UTC)

No. As a VCS package wxgtk-git is providing more recent versions of the shared libraries as well. Also, it is already using GTK 3 instead of 2. So you have to recompile mediainfo-gui against wxgtk-git to make it work again. This has to be done on a regular basis when releases are replaced by VCS checkouts and to my knowledge it does not mean "wxgtk" has to be removed from variable provides, should this have been the purpose of your comment.

mkoloberdin commented on 2016-12-14 12:56 (UTC)

This breaks at least mediainfo-gui. mediainfo-gui: error while loading shared libraries: libwx_gtk2u_html-3.0.so.0: cannot open shared object file: No such file or directory

pmattern commented on 2016-12-04 15:07 (UTC)

Thanks for pointing this out. While at it I've replaced GTK 2 with 3 as well. Not sure whether this is already supported by all applications making use of wxWidgets, but given it's a VCS package I think it's about time to switch to that version.

pulp commented on 2016-12-01 08:06 (UTC)

The git version can be built against gstreamer 1.x - http://trac.wxwidgets.org/ticket/14976