Package Details: lib32-glib 1.2.10-4

Git Clone URL: https://aur.archlinux.org/lib32-glib.git (read-only, click to copy)
Package Base: lib32-glib
Description: Common C routines used by Gtk+ and other libs (32-bit)
Upstream URL: http://www.gtk.org/
Licenses: LGPL
Submitter: prg
Maintainer: prg (bennofs)
Last Packager: prg
Votes: 16
Popularity: 0.34
First Submitted: 2015-12-15 03:35
Last Updated: 2021-01-18 01:50

Latest Comments

bennofs commented on 2021-01-17 20:34

I needed to apply the following patch for the build to succeed:

diff --git a/PKGBUILD b/PKGBUILD
index eee4528..e1c5afb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ depends=('lib32-glibc' 'sh')
 makedepends=('gcc-multilib')
 options=('!makeflags')
 install=glib.install
-source=(ftp://ftp.gnome.org/pub/gnome/sources/glib/1.2/${_pkgname}-${pkgver}.tar.gz
+source=(https://download.gnome.org/sources/glib/1.2/${_pkgname}-${pkgver}.tar.gz
    glib-1.2.10-gcc9.patch
    gcc340.patch aclocal-fixes.patch glib1-autotools.patch)
 sha1sums=('e5a9361c594608d152d5d9650154c2e3260b87fa'
@@ -40,7 +40,9 @@ build() {
     CONFIGFLAG='--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu'
   fi

-  autoreconf --force --install
+  rm aclocal.m4 acinclude.m4
+  echo 'LT_INIT' >> configure.in
+  autoreconf --install --force
   ./configure --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/share/man \
     --infodir=/usr/share/info $CONFIGFLAG
   make

prg commented on 2020-06-12 14:05

Unflagging. ftp://ftp.gnome.org/pub/gnome/sources/glib/1.2/LATEST-IS-1.2.10

prg commented on 2020-06-09 19:31

Thanks for the catch 10ne1 - pkgver 3 committed that has the patch in its own git repo

10ne1 commented on 2020-06-09 19:21

The gcc9 patch is not available anymore on the fedora site, but it can be found online on other servers. I recommend adding it directly to this package like the other patches.

prg commented on 2019-06-20 18:28

Thanks softmoth - I've updated the pkgrev2 version to include this patch which fixes compilation with latest gcc in arch

softmoth commented on 2019-06-20 15:07

This package doesn't compile with the current gcc. It requires the following patch: https://src.fedoraproject.org/rpms/glib/raw/master/f/glib-1.2.10-gcc9.patch

The error is like:

glib.h:553:14: error: ‘const’ is not an asm qualifier 553 | asm const ("rorw $8, %w0\n\t" \