aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2016-01-22 03:40:10 +0800
committerkwm <kwm@FreeBSD.org>2016-01-22 03:40:10 +0800
commit26bec61143afe02aa6816c47e28bcec230a59363 (patch)
treedb5d229e8e0767cba906f5eb1c23c22060981bba /x11-toolkits
parent32dcada2c7b9ea2896550a3d13559372e1ac2faa (diff)
downloadfreebsd-ports-graphics-26bec61143afe02aa6816c47e28bcec230a59363.tar.gz
freebsd-ports-graphics-26bec61143afe02aa6816c47e28bcec230a59363.tar.zst
freebsd-ports-graphics-26bec61143afe02aa6816c47e28bcec230a59363.zip
Update poppler to 0.40.0. [1]
Add patches to py-poppler [2] and rubygem-poppler [3] to fix the build of these ports with poppler 0.39+. PR: 206293 [1] Submitted by: olivierd@ [1] Obtained from: ubuntu [2], rubygem-poppler upstream [3]
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/rubygem-poppler/Makefile1
-rw-r--r--x11-toolkits/rubygem-poppler/files/patch-ext_poppler_rbpoppler.c27
2 files changed, 28 insertions, 0 deletions
diff --git a/x11-toolkits/rubygem-poppler/Makefile b/x11-toolkits/rubygem-poppler/Makefile
index db7e8e1210e..4be3dba5a21 100644
--- a/x11-toolkits/rubygem-poppler/Makefile
+++ b/x11-toolkits/rubygem-poppler/Makefile
@@ -2,6 +2,7 @@
PORTNAME= poppler
PORTVERSION= 3.0.7
+PORTREVISION= 1
CATEGORIES= x11-toolkits rubygems
MASTER_SITES= RG
diff --git a/x11-toolkits/rubygem-poppler/files/patch-ext_poppler_rbpoppler.c b/x11-toolkits/rubygem-poppler/files/patch-ext_poppler_rbpoppler.c
new file mode 100644
index 00000000000..fecf82d0f04
--- /dev/null
+++ b/x11-toolkits/rubygem-poppler/files/patch-ext_poppler_rbpoppler.c
@@ -0,0 +1,27 @@
+From 3dda85661515d71101f1028dc7d68d4e53de45b1 Mon Sep 17 00:00:00 2001
+From: Kouhei Sutou <kou@clear-code.com>
+Date: Fri, 25 Dec 2015 23:36:00 +0900
+Subject: [PATCH] poppler: remove needless POPPLER_TYPE_ORIENTATION binding
+
+Poppler 0.39 removed it. And there are no Poppler releases that use
+POPPLER_TYPE_ORIENTATION.
+
+GitHub: fix #653
+
+Reported by Rob Brackett. Thanks!!!
+---
+ poppler/ext/poppler/rbpoppler.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/poppler/ext/poppler/rbpoppler.c b/poppler/ext/poppler/rbpoppler.c
+index 2b28f95..fb3bfed 100644
+--- ext/poppler/rbpoppler.c
++++ ext/poppler/rbpoppler.c
+@@ -56,7 +56,6 @@ Init_poppler(void)
+ INT2FIX(POPPLER_MICRO_VERSION)));
+
+ G_DEF_CLASS(POPPLER_TYPE_ERROR, "Error", RG_TARGET_NAMESPACE);
+- G_DEF_CLASS(POPPLER_TYPE_ORIENTATION, "Orientation", RG_TARGET_NAMESPACE);
+
+ G_DEF_CLASS(POPPLER_TYPE_PAGE_TRANSITION_TYPE,
+ "PageTransitionType", RG_TARGET_NAMESPACE);