Package Details: lib32-wxgtk3 3.0.5.1-3

Git Clone URL: https://aur.archlinux.org/lib32-wxgtk3.git (read-only, click to copy)
Package Base: lib32-wxgtk3
Description: GTK+ implementation of wxWidgets API for GUI
Upstream URL: https://wxwidgets.org
Licenses: custom:wxWindows
Submitter: heavysink
Maintainer: heavysink
Last Packager: heavysink
Votes: 1
Popularity: 0.000000
First Submitted: 2020-09-25 01:22 (UTC)
Last Updated: 2021-05-17 23:56 (UTC)

Latest Comments

rafaelff commented on 2021-05-12 14:51 (UTC)

@Yue_Kuze: My suggestion was to edit lib32-gtk3, which lib32-wxgtk3 depends on. You edited lib32-wxgtk3.

Also, I see you messed the lib32-wxgtk3 PKGBUILD adding content starting in @@ -63,6 +63,7 @@ build() { and ending in the line before the validpgpkeys=. Consider undoing it all to make lib32-wxgtk3 valid again.

Yue_Kuze commented on 2021-05-12 05:14 (UTC) (edited on 2021-05-12 05:25 (UTC) by Yue_Kuze)

@rafaelff Doing that got me going but still having some issues understanding the part at @@ have the file now like this, but i still get the following message

 [x@x trunk]$ makepkg
 /home/x/lib32-wxgtk3/trunk/PKGBUILD: line 32: syntax error near unexpected token `('
 /home/x/lib32-wxgtk3/trunk/PKGBUILD: line 32: `@@ -63,6 +63,7 @@ build() {'
 /home/x/lib32-wxgtk3/trunk/PKGBUILD: line 40: syntax error near unexpected token `)'
 /home/x/lib32-wxgtk3/trunk/PKGBUILD: line 40: `)'
 ==> ERROR: Failed to source /home/x/lib32-wxgtk3/trunk/PKGBUILD

 pkgname=lib32-wxgtk3
 pkgver=3.24.29
 pkgrel=1
 pkgdesc='GTK+ implementation of wxWidgets API for GUI'
 arch=(x86_64)
 url=https://wxwidgets.org
 license=(custom:wxWindows)
 depends=(
   lib32-expat
   lib32-gtk3
   lib32-libjpeg
   lib32-libpng
   lib32-libsm
   lib32-libtiff
   lib32-zlib
   wxgtk3
 )
 makedepends=(
   git
   lib32-glu
 )
 conflicts=(lib32-wxgtk)
 provides=(lib32-wxgtk)
 replaces=(lib32-wxgtk)
 _tag=77f32a69c0a35ffd3a1a542a6057c1c6d13c793d
  source=(
    git+https://gitlab.gnome.org/GNOME/gtk.git#tag=${_tag}
    gtk-query-immodules-3.0-32.hook
 @@ -63,6 +63,7 @@ build() {
      --libdir=/usr/lib32 \
      -Dbroadway_backend=true \
      -Dcloudproviders=false \
 +    -Dtracker3=false \
      -Dcolord=yes \
      -Dgtk_doc=false \
      -Dintrospection=false \
 )
 validpgpkeys=(31FAF2D074EC22A10AA4C6DA06EA41DE4F6C1E86) # Vadim Zeitlin <vadim@tt-solutions.com>
 sha256sums=(
   SKIP
   d4c2d070a06eb63f0a018c8cf687589e5ffdec601225b4d16a268ffe390fb58b
 )

 prepare() {
   cd wxWidgets

   patch -Np1 -i ../make-abicheck-non-fatal.patch

   ./autogen.sh
 }

 build() {
   cd wxWidgets

   export CC='gcc -m32'
   export CXX='g++ -m32'
   export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
   export CFLAGS="-I/usr/include/libtiff32 $CFLAGS"
   export CXXFLAGS="-I/usr/include/libtiff32 $CXXFLAGS"

   ./configure \
     --prefix=/usr \
     --libdir=/usr/lib32 \
     --enable-graphics_ctx \
     --enable-unicode \
     --disable-mediactrl \
     --disable-precomp-headers \
     --disable-webview \
     --with-gtk=3 \
     --with-lib{jpeg,png,tiff}=sys \
     --with-opengl \
     --with-regex=builtin \
     --without-libnotify
   make
   make -C locale allmo
 }

 package() {
   make DESTDIR="${pkgdir}" -C wxWidgets install
   rm -rf "${pkgdir}"/usr/{bin/{wx-config,wxrc},include,share}
   mv "${pkgdir}"/usr/bin/wxrc{,32}-3.0
   ln -s /usr/bin/wxrc32-3.0 "${pkgdir}"/usr/bin/wxrc32
   ln -s /usr/lib32/wx/config/gtk3-unicode-3.0 "${pkgdir}"/usr/bin/wx-config32

   install -dm 755 "${pkgdir}"/usr/share/licenses
   ln -s wxgtk3 "${pkgdir}"/usr/share/licenses/lib32-wxgtk3
 }

 # vim: ts=2 sw=2 et:

Sorry for the trouble and thanks for the help

rafaelff commented on 2021-05-03 00:01 (UTC)

@Yue_Kuze: No need for commands. Just look in the PKGBUILD for the contents of lines starting with - in my diff, and replace with the contents of lines starting with +

Yue_Kuze commented on 2021-05-01 07:24 (UTC) (edited on 2021-05-01 07:27 (UTC) by Yue_Kuze)

@rafaelff

Hello, im kinda newbie to commands, but i try to run your PKGBUILD and got the following

[xxx@xxx trunk]$ makepkg

diff: unrecognized option '--git'

diff: Try 'diff --help' for more information.

/lib32-wxgtk3/trunk/PKGBUILD: line 3: index: command not found

/lib32-wxgtk3/trunk/PKGBUILD: line 4: ---: command not found

/lib32-wxgtk3/trunk/PKGBUILD: line 5: +++: command not found

/lib32-wxgtk3/trunk/PKGBUILD: line 6: @@: command not found

/lib32-wxgtk3/trunk/PKGBUILD: line 10: -pkgver=3.24.27: command not found

/lib32-wxgtk3/trunk/PKGBUILD: line 11: -pkgrel=2: command not found

/lib32-wxgtk3/trunk/PKGBUILD: line 12: +pkgver=3.24.29: command not found

/lib32-wxgtk3/trunk/PKGBUILD: line 13: +pkgrel=1: command not found

/lib32-wxgtk3/trunk/PKGBUILD: line 17: syntax error near unexpected token `('

/lib32-wxgtk3/trunk/PKGBUILD: line 17: `@@ -40,7 +40,7 @@ makedepends=('

==> ERROR: Failed to source /lib32-wxgtk3/trunk/PKGBUILD

rafaelff commented on 2021-04-28 00:30 (UTC) (edited on 2021-04-28 00:30 (UTC) by rafaelff)

@Frogboy: The reason for failed build is: The versions of gtk3 and lib32-gtk3 must match, however currently gtk3 is 3.24.29 and lib32-gtk3 is 3.24.27.

lib32-gtk3 is already flagged as out of date, so there is not much to do besides updating the PKGBUILD locally and then building and installing the package. By updating your lib32-gtk3, lib32-wxgtk3 should build fine.

To fix it:
Use asp to clone the source repository for lib32-gtk3 (see ABS#Usage), then apply the changes specified by my diff below to your local lib32-gtk3 PKGBUILD, build lib32-gtk3 with those changes and use the newly built lib32-gtk3 to build lib32-wxgtk3.

Here is my lib32-gtk3 update:

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 284ddded3..e665bdaac 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -3,8 +3,8 @@
 # Contributor: GordonGR <ntheo1979@gmail.com>

 pkgname=lib32-gtk3
-pkgver=3.24.27
-pkgrel=2
+pkgver=3.24.29
+pkgrel=1
 pkgdesc='GObject-based multi-platform GUI toolkit'
 arch=(x86_64)
 license=(LGPL)
@@ -40,7 +40,7 @@ makedepends=(
   sassc
 )
 install=lib32-gtk3.install
-_tag=c7df3b9e9790012e6c5fbad6a4f4519bcf75561f
+_tag=77f32a69c0a35ffd3a1a542a6057c1c6d13c793d
 source=(
   git+https://gitlab.gnome.org/GNOME/gtk.git#tag=${_tag}
   gtk-query-immodules-3.0-32.hook
@@ -63,6 +63,7 @@ build() {
     --libdir=/usr/lib32 \
     -Dbroadway_backend=true \
     -Dcloudproviders=false \
+    -Dtracker3=false \
     -Dcolord=yes \
     -Dgtk_doc=false \
     -Dintrospection=false \

Frogboy commented on 2021-04-14 05:07 (UTC)

It fails building:

configure: error: 
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

==> ERROR: A failure occurred in build().
    Aborting...
error making: lib32-wxgtk3