[arch-commits] Commit in lib32-gtk2/repos/multilib-x86_64 (6 files)
Florian Pritz
bluewind at nymeria.archlinux.org
Sun Jul 7 16:14:57 UTC 2013
Date: Sunday, July 7, 2013 @ 18:14:57
Author: bluewind
Revision: 93625
archrelease: copy trunk to multilib-x86_64
Added:
lib32-gtk2/repos/multilib-x86_64/PKGBUILD
(from rev 93624, lib32-gtk2/trunk/PKGBUILD)
lib32-gtk2/repos/multilib-x86_64/gtk2.install
(from rev 93624, lib32-gtk2/trunk/gtk2.install)
lib32-gtk2/repos/multilib-x86_64/xid-collision-debug.patch
(from rev 93624, lib32-gtk2/trunk/xid-collision-debug.patch)
Deleted:
lib32-gtk2/repos/multilib-x86_64/PKGBUILD
lib32-gtk2/repos/multilib-x86_64/gtk2.install
lib32-gtk2/repos/multilib-x86_64/xid-collision-debug.patch
---------------------------+
PKGBUILD | 119 +++++++++++++++++++++-----------------------
gtk2.install | 34 ++++++------
xid-collision-debug.patch | 30 +++++------
3 files changed, 91 insertions(+), 92 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-07 16:14:01 UTC (rev 93624)
+++ PKGBUILD 2013-07-07 16:14:57 UTC (rev 93625)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org
-# Contributor: Pierre Schmitz <pierre at archlinux.de>
-# Contributor: Mikko Seppälä <t-r-a-y at mbnet.fi>
-
-_pkgbasename=gtk2
-pkgname=lib32-$_pkgbasename
-pkgver=2.24.20
-pkgrel=1
-pkgdesc="The GTK+ Toolkit (v2) (32-bit)"
-arch=('x86_64')
-url="http://www.gtk.org/"
-install=gtk2.install
-depends=(lib32-{'atk>=1.30.0','pango>=1.28.0','cairo>=1.10.0','gdk-pixbuf2>=2.22.1'}
- lib32-lib{'cups>=1.4.4',xcursor,'xrandr>=1.3','xi>=1.3',xinerama,xcomposite,xdamage}
- $_pkgbasename)
-makedepends=('pkgconfig' 'gcc-multilib')
-options=('!libtool' '!docs')
-license=('LGPL')
-source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${pkgver}.tar.xz
- xid-collision-debug.patch)
-sha256sums=('cc66bcbf9239a7d9861175c681ba95894b55c70dc0b37aad8345c46ecfda0da3'
-'d758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558')
-
-prepare() {
- cd "${srcdir}/gtk+-${pkgver}"
-
- patch -Np1 -i "${srcdir}/xid-collision-debug.patch"
- sed -i 's#"immomodules.cache"#"immomodules.cache-32"#' gtk/gtkrc.c
-}
-
-build() {
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- cd "${srcdir}/gtk+-${pkgver}"
-
- CXX=/bin/false ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libdir=/usr/lib32 \
- --with-xinput=yes
-
- #https://bugzilla.gnome.org/show_bug.cgi?id=655517
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
- make
-}
-
-package() {
- cd "${srcdir}/gtk+-${pkgver}"
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/etc
- rm -rf "${pkgdir}"/usr/{include,share}
-
- cd "${pkgdir}"/usr/bin
- mv gtk-query-immodules-2.0 gtk-query-immodules-2.0-32
- rm -f gtk-builder-convert gtk-demo gtk-update-icon-cache
-}
Copied: lib32-gtk2/repos/multilib-x86_64/PKGBUILD (from rev 93624, lib32-gtk2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-07-07 16:14:57 UTC (rev 93625)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Mikko Seppälä <t-r-a-y at mbnet.fi>
+
+_pkgbasename=gtk2
+pkgname=lib32-$_pkgbasename
+pkgver=2.24.20
+pkgrel=2
+pkgdesc="The GTK+ Toolkit (v2) (32-bit)"
+arch=('x86_64')
+url="http://www.gtk.org/"
+install=gtk2.install
+depends=(lib32-{'atk>=1.30.0','pango>=1.28.0','cairo>=1.10.0','gdk-pixbuf2>=2.22.1'}
+ lib32-lib{'cups>=1.4.4',xcursor,'xrandr>=1.3','xi>=1.3',xinerama,xcomposite,xdamage}
+ $_pkgbasename)
+makedepends=('pkgconfig' 'gcc-multilib')
+options=('!libtool' '!docs')
+license=('LGPL')
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${pkgver}.tar.xz
+ xid-collision-debug.patch)
+sha256sums=('cc66bcbf9239a7d9861175c681ba95894b55c70dc0b37aad8345c46ecfda0da3'
+'d758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558')
+
+prepare() {
+ cd "${srcdir}/gtk+-${pkgver}"
+
+ patch -Np1 -i "${srcdir}/xid-collision-debug.patch"
+}
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/gtk+-${pkgver}"
+
+ CXX=/bin/false ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libdir=/usr/lib32 \
+ --with-xinput=yes
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd "${srcdir}/gtk+-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/etc
+ rm -rf "${pkgdir}"/usr/{include,share}
+
+ cd "${pkgdir}"/usr/bin
+ mv gtk-query-immodules-2.0 gtk-query-immodules-2.0-32
+ rm -f gtk-builder-convert gtk-demo gtk-update-icon-cache
+}
Deleted: gtk2.install
===================================================================
--- gtk2.install 2013-07-07 16:14:01 UTC (rev 93624)
+++ gtk2.install 2013-07-07 16:14:57 UTC (rev 93625)
@@ -1,17 +0,0 @@
-post_install() {
- GTK_PATH=/usr/lib32/gtk-2.0 usr/bin/gtk-query-immodules-2.0-32 --update-cache
-}
-
-pre_upgrade() {
-if (( $(vercmp $2 2.24.20) < 0 )); then
- rm -f /etc/gtk-2.0/gtk.immodules-32
-fi
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- rm -f /usr/lib/gtk-2.0/2.10.0/immodules.cache-32
-}
Copied: lib32-gtk2/repos/multilib-x86_64/gtk2.install (from rev 93624, lib32-gtk2/trunk/gtk2.install)
===================================================================
--- gtk2.install (rev 0)
+++ gtk2.install 2013-07-07 16:14:57 UTC (rev 93625)
@@ -0,0 +1,17 @@
+post_install() {
+ GTK_PATH=/usr/lib32/gtk-2.0 usr/bin/gtk-query-immodules-2.0-32 --update-cache
+}
+
+pre_upgrade() {
+if (( $(vercmp $2 2.24.20) < 0 )); then
+ rm -f /etc/gtk-2.0/gtk.immodules-32
+fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ rm -f /usr/lib32/gtk-2.0/2.10.0/immodules.cache
+}
Deleted: xid-collision-debug.patch
===================================================================
--- xid-collision-debug.patch 2013-07-07 16:14:01 UTC (rev 93624)
+++ xid-collision-debug.patch 2013-07-07 16:14:57 UTC (rev 93625)
@@ -1,15 +0,0 @@
---- gtk+-2.18.3/gdk/x11/gdkxid.c 2009-06-19 04:59:18.000000000 +0200
-+++ gtk+-2.18.3/gdk/x11/gdkxid.c.new 2009-07-22 11:30:12.000000000 +0200
-@@ -56,10 +56,10 @@
- if (!display_x11->xid_ht)
- display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash,
- (GEqualFunc) gdk_xid_equal);
--
-+/*
- if (g_hash_table_lookup (display_x11->xid_ht, xid))
- g_warning ("XID collision, trouble ahead");
--
-+*/
- g_hash_table_insert (display_x11->xid_ht, xid, data);
- }
-
Copied: lib32-gtk2/repos/multilib-x86_64/xid-collision-debug.patch (from rev 93624, lib32-gtk2/trunk/xid-collision-debug.patch)
===================================================================
--- xid-collision-debug.patch (rev 0)
+++ xid-collision-debug.patch 2013-07-07 16:14:57 UTC (rev 93625)
@@ -0,0 +1,15 @@
+--- gtk+-2.18.3/gdk/x11/gdkxid.c 2009-06-19 04:59:18.000000000 +0200
++++ gtk+-2.18.3/gdk/x11/gdkxid.c.new 2009-07-22 11:30:12.000000000 +0200
+@@ -56,10 +56,10 @@
+ if (!display_x11->xid_ht)
+ display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash,
+ (GEqualFunc) gdk_xid_equal);
+-
++/*
+ if (g_hash_table_lookup (display_x11->xid_ht, xid))
+ g_warning ("XID collision, trouble ahead");
+-
++*/
+ g_hash_table_insert (display_x11->xid_ht, xid, data);
+ }
+
More information about the arch-commits
mailing list