[arch-commits] CVS update of arch/build/lib/pygtk (PKGBUILD bgo411412.patch)

Jan de Groot jgc at archlinux.org
Sun Apr 22 21:30:15 UTC 2007


    Date: Sunday, April 22, 2007 @ 17:30:15
  Author: jgc
    Path: /home/cvs-arch/arch/build/lib/pygtk

   Added: bgo411412.patch (1.1)
Modified: PKGBUILD (1.6 -> 1.7)

upgpkg: pygtk 2.10.4-2
Add gtk-extrafuncs.defs, apply patch for upstream bug 411412


-----------------+
 PKGBUILD        |   14 +++++++++-----
 bgo411412.patch |   15 +++++++++++++++
 2 files changed, 24 insertions(+), 5 deletions(-)


Index: arch/build/lib/pygtk/PKGBUILD
diff -u arch/build/lib/pygtk/PKGBUILD:1.6 arch/build/lib/pygtk/PKGBUILD:1.7
--- arch/build/lib/pygtk/PKGBUILD:1.6	Mon Feb 12 17:16:44 2007
+++ arch/build/lib/pygtk/PKGBUILD	Sun Apr 22 17:30:15 2007
@@ -1,22 +1,26 @@
-# $Id: PKGBUILD,v 1.6 2007/02/12 22:16:44 jgc Exp $
+# $Id: PKGBUILD,v 1.7 2007/04/22 21:30:15 jgc Exp $
 # Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
-# Maintainer: arjan <arjan at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=pygtk
 pkgver=2.10.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Python bindings for the GTK widget set"
 arch=(i686 x86_64)
+license=('LGPL')
 depends=('libglade>=2.6.0' 'pycairo>=1.2.2-2' 'pygobject>=2.12.3-2')
-source=(http://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${pkgname}-${pkgver}.tar.bz2)
+source=(http://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${pkgname}-${pkgver}.tar.bz2
+        bgo411412.patch)
 options=('nolibtool')
 url="http://www.pygtk.org/"
-md5sums=('89afe242275a3fce57b4ffb5fadc5888')
+md5sums=('89afe242275a3fce57b4ffb5fadc5888' '772a39d5c4bb934241409bf49c384584')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
+  patch -Np0 -i ${startdir}/src/bgo411412.patch || return 1
   sed -i -e 's/SUBDIRS = codegen . $(GTK_SUBDIR) examples tests docs/SUBDIRS = codegen . $(GTK_SUBDIR) examples tests/' Makefile.in
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=${startdir}/pkg install
+  install -m644 gtk/gtk-extrafuncs.defs ${startdir}/pkg/usr/share/pygtk/2.0/defs/
 }
Index: arch/build/lib/pygtk/bgo411412.patch
diff -u /dev/null arch/build/lib/pygtk/bgo411412.patch:1.1
--- /dev/null	Sun Apr 22 17:30:15 2007
+++ arch/build/lib/pygtk/bgo411412.patch	Sun Apr 22 17:30:15 2007
@@ -0,0 +1,15 @@
+Index: gtk-base.defs
+===================================================================
+--- gtk/gtk-base.defs	(revision 2813)
++++ gtk/gtk-base.defs	(working copy)
+@@ -15117,8 +15117,8 @@
+   (return-type "GtkStyle*")
+   (parameters
+     '("GtkSettings*" "settings")
+-    '("const-char*" "widget_path")
+-    '("const-char*" "class_path")
++    '("const-char*" "widget_path" (null-ok) (default "NULL"))
++    '("const-char*" "class_path" (null-ok) (default "NULL"))
+     '("GType" "type")
+   )
+ )




More information about the arch-commits mailing list