diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-05-08 10:45:16 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-05-08 10:45:16 +0200 |
commit | 216722b262c18f99fa53875247e7a258cb3b4b34 (patch) | |
tree | 9c60a67677b9e0e1253958625987ccf2f728480a /extra/pygobject2 | |
parent | 49507c6c2f77ca11b8ab4d1411044f6e5bf5d096 (diff) | |
parent | 6298f4701b6053c45ef593aec10d06614d39a90d (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
extra/pygobject2/PKGBUILD
Diffstat (limited to 'extra/pygobject2')
-rw-r--r-- | extra/pygobject2/PKGBUILD | 7 | ||||
-rw-r--r-- | extra/pygobject2/python2-fix-type.patch | 50 |
2 files changed, 55 insertions, 2 deletions
diff --git a/extra/pygobject2/PKGBUILD b/extra/pygobject2/PKGBUILD index b8aa6dfb5..b8a3ed497 100644 --- a/extra/pygobject2/PKGBUILD +++ b/extra/pygobject2/PKGBUILD @@ -1,19 +1,21 @@ -# $Id: PKGBUILD 157409 2012-04-28 09:27:01Z allan $ +# $Id: PKGBUILD 158678 2012-05-06 22:44:32Z bisson $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgbase=pygobject2 pkgname=(python-gobject2 python2-gobject2 pygobject2-devel) pkgver=2.28.6 -pkgrel=5 +pkgrel=6 arch=('i686' 'x86_64' 'mips64el') url="http://www.pygtk.org/" license=('LGPL') makedepends=('python' 'python2') source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/${pkgver%.*}/pygobject-${pkgver}.tar.xz + python2-fix-type.patch python3-fix-build.patch python3-fix-maketrans.patch) options=('!libtool') sha256sums=('fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8' + 'b7b415499ffc0817cf551edf76a3fe47938db2c9f6240046eae681e6ef9b37ea' 'feafd4664f8455edf0bf8407ac45e219bb550df806ce0d601baae951e8c188ca' '4bff9adcea13a824c45d14ec501c927df47d23c22507a2456d8b5ec885924c0a') @@ -32,6 +34,7 @@ build() { ( cd "pygobject-${pkgver}" #patches available in 2.28 branch but unreleased. + patch -Np1 -i "${srcdir}/python2-fix-type.patch" patch -Np1 -i "${srcdir}/python3-fix-build.patch" patch -Np1 -i "${srcdir}/python3-fix-maketrans.patch" diff --git a/extra/pygobject2/python2-fix-type.patch b/extra/pygobject2/python2-fix-type.patch new file mode 100644 index 000000000..78e7ddfd5 --- /dev/null +++ b/extra/pygobject2/python2-fix-type.patch @@ -0,0 +1,50 @@ +From 42d01f060c5d764baa881d13c103d68897163a49 Mon Sep 17 00:00:00 2001 +From: Ryan Lortie <desrt@desrt.ca> +Date: Mon, 12 Mar 2012 16:44:14 -0400 +Subject: gio-types.defs: change some enums to flags + +These flags types were originally incorrectly handled in glib as being +enums. That bug was fixed, but they're still enums here, leading to +warnings about the mismatch. + +Change them to flags. + +https://bugzilla.gnome.org/show_bug.cgi?id=668522 +--- + gio/gio-types.defs | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/gio/gio-types.defs b/gio/gio-types.defs +index 331e0bc..7eee5c8 100644 +--- a/gio/gio-types.defs ++++ b/gio/gio-types.defs +@@ -526,7 +526,7 @@ + ) + ) + +-(define-enum MountMountFlags ++(define-flags MountMountFlags + (in-module "gio") + (c-name "GMountMountFlags") + (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS") +@@ -545,7 +545,7 @@ + ) + ) + +-(define-enum DriveStartFlags ++(define-flags DriveStartFlags + (in-module "gio") + (c-name "GDriveStartFlags") + (gtype-id "G_TYPE_DRIVE_START_FLAGS") +@@ -770,7 +770,7 @@ + ) + ) + +-(define-enum SocketMsgFlags ++(define-flags SocketMsgFlags + (in-module "gio") + (c-name "GSocketMsgFlags") + (gtype-id "G_TYPE_SOCKET_MSG_FLAGS") +-- +1.7.9.1 + |