summaryrefslogtreecommitdiffstats
path: root/gnome3-libs
diff options
context:
space:
mode:
authorFlorian Franzmann2018-11-12 22:10:47 +0100
committerFlorian Franzmann2018-11-12 22:16:21 +0100
commit4c1e846668594ea0474a361334693637d7d04def (patch)
treecc8a9a103ac4edfa4ad823645c47f12c255243b9 /gnome3-libs
parent5e5bcc228c59382bb0a5b5cb40dc5963b447e01c (diff)
gnome3-libs/pygobject3: version 3.30.2
Diffstat (limited to 'gnome3-libs')
-rw-r--r--gnome3-libs/pygobject3/0001-fix-pycairo.h-include.patch25
-rwxr-xr-xgnome3-libs/pygobject3/DETAILS4
-rw-r--r--gnome3-libs/pygobject3/HISTORY4
-rwxr-xr-xgnome3-libs/pygobject3/PRE_BUILD5
4 files changed, 36 insertions, 2 deletions
diff --git a/gnome3-libs/pygobject3/0001-fix-pycairo.h-include.patch b/gnome3-libs/pygobject3/0001-fix-pycairo.h-include.patch
new file mode 100644
index 0000000000..9dc69b3a3c
--- /dev/null
+++ b/gnome3-libs/pygobject3/0001-fix-pycairo.h-include.patch
@@ -0,0 +1,25 @@
+From dc3c01a438029d13e5ed98db0af78a86a9db4e7e Mon Sep 17 00:00:00 2001
+From: Florian Franzmann <bwlf@bandrate.org>
+Date: Mon, 12 Nov 2018 22:08:43 +0100
+Subject: [PATCH] fix pycairo.h include
+
+---
+ gi/pygi-foreign-cairo.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gi/pygi-foreign-cairo.c b/gi/pygi-foreign-cairo.c
+index 718f9a0..a0153a1 100644
+--- a/gi/pygi-foreign-cairo.c
++++ b/gi/pygi-foreign-cairo.c
+@@ -25,7 +25,7 @@
+ #include <cairo.h>
+
+ #if PY_VERSION_HEX < 0x03000000
+-#include <pycairo.h>
++#include <pycairo/pycairo.h>
+ static Pycairo_CAPI_t *Pycairo_CAPI;
+ #else
+ #include <py3cairo.h>
+--
+2.19.1
+
diff --git a/gnome3-libs/pygobject3/DETAILS b/gnome3-libs/pygobject3/DETAILS
index c84278d2a7..dd7173defc 100755
--- a/gnome3-libs/pygobject3/DETAILS
+++ b/gnome3-libs/pygobject3/DETAILS
@@ -4,8 +4,8 @@ if [[ $PYGOBJECT3_BRANCH == devel ]]; then
VERSION=3.21.0
SOURCE_HASH=sha512:68ce77da051fbc71696bbf271f3693679912e0ba352f1e107b508c0b3eb347498be52745dbf962ed424e133540f77f0f2420948c0fe65d1462fd5797b70650d8
else
- VERSION=3.30.1
- SOURCE_HASH=sha512:e1b37bc7936796d650f1231ecb50edef66ba95b75ec00ebed6bbfe279440691a733b4578fa2e91ed1e0828c6dde84a6148b58b61da4e72a8e80d7730fbd1c3f6
+ VERSION=3.30.2
+ SOURCE_HASH=sha512:c12cb0150476684f2a514b304d99c4b3915a8ec5f212b49e2c4044a4d8cbb5ccda0b1af760afd8db80e8cad805dd98f9329c4a00f4761a6b770af086971bd2c7
fi
SOURCE=pygobject-$VERSION.tar.xz
SOURCE_URL[0]=$GNOME_URL/sources/pygobject/${VERSION%.*}/$SOURCE
diff --git a/gnome3-libs/pygobject3/HISTORY b/gnome3-libs/pygobject3/HISTORY
index 162d73679c..9f46bf5a66 100644
--- a/gnome3-libs/pygobject3/HISTORY
+++ b/gnome3-libs/pygobject3/HISTORY
@@ -1,3 +1,7 @@
+2018-11-12 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * DETAILS: stable version 3.30.2
+ * PRE_BUILD, 0001-fix-pycairo.h-include.patch: fix pycairo.h include
+
2018-11-01 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: stable version 3.30.1
diff --git a/gnome3-libs/pygobject3/PRE_BUILD b/gnome3-libs/pygobject3/PRE_BUILD
new file mode 100755
index 0000000000..6367db5f8b
--- /dev/null
+++ b/gnome3-libs/pygobject3/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p1 < "$SPELL_DIRECTORY/0001-fix-pycairo.h-include.patch"
+