summaryrefslogtreecommitdiff
path: root/print/ruby-gnome2-poppler
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2016-01-30 19:04:14 +0000
committertsutsui <tsutsui@pkgsrc.org>2016-01-30 19:04:14 +0000
commit33270b22077d34665f37750e108f8bbe2f3df2e8 (patch)
tree575dbabd64ea0591ad3a03ee0736733d1c928b12 /print/ruby-gnome2-poppler
parent1e8306d75ef3d21f619c9af2e1a3f3e2792c4872 (diff)
downloadpkgsrc-33270b22077d34665f37750e108f8bbe2f3df2e8.tar.gz
Pull upstream change to fix build failure with poppler-0.39 and later.
https://github.com/ruby-gnome2/ruby-gnome2/commit/3dda85661515d71101f1028dc7d68d4e53de45b1 > poppler: remove needless POPPLER_TYPE_ORIENTATION binding > Poppler 0.39 removed it. And there are no Poppler releases that use > POPPLER_TYPE_ORIENTATION. Bump PKGREVISION.
Diffstat (limited to 'print/ruby-gnome2-poppler')
-rw-r--r--print/ruby-gnome2-poppler/Makefile4
-rw-r--r--print/ruby-gnome2-poppler/distinfo3
-rw-r--r--print/ruby-gnome2-poppler/patches/patch-ext_poppler_rbpoppler.c15
3 files changed, 19 insertions, 3 deletions
diff --git a/print/ruby-gnome2-poppler/Makefile b/print/ruby-gnome2-poppler/Makefile
index 4b67800448d..b323d00c6a2 100644
--- a/print/ruby-gnome2-poppler/Makefile
+++ b/print/ruby-gnome2-poppler/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.69 2016/01/27 10:31:31 wiz Exp $
+# $NetBSD: Makefile,v 1.70 2016/01/30 19:04:14 tsutsui Exp $
#
DISTNAME= poppler-${VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-${DISTNAME}
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= Ruby binding of poppler-glib
CATEGORIES= print
diff --git a/print/ruby-gnome2-poppler/distinfo b/print/ruby-gnome2-poppler/distinfo
index 781ec8f84bd..d785f6883ea 100644
--- a/print/ruby-gnome2-poppler/distinfo
+++ b/print/ruby-gnome2-poppler/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2016/01/24 05:03:24 tsutsui Exp $
+$NetBSD: distinfo,v 1.4 2016/01/30 19:04:14 tsutsui Exp $
SHA1 (poppler-3.0.7.gem) = f0a9ef64d50a144e9dee7456d5519dab13972391
RMD160 (poppler-3.0.7.gem) = ce6a6fcc03d67f36a8b1da4e9557cac18b0a62dd
SHA512 (poppler-3.0.7.gem) = d42c91a544918cee796fbd7332b130c0fe6fb63c0963e223477bd1946ecc57fc034bb5e28e5284fc0649db8942a144fd74afec664b967ec3431d15a3642e4585
Size (poppler-3.0.7.gem) = 66048 bytes
+SHA1 (patch-ext_poppler_rbpoppler.c) = 981d5edb0f3c92393571c695300f5fb1bac05b46
diff --git a/print/ruby-gnome2-poppler/patches/patch-ext_poppler_rbpoppler.c b/print/ruby-gnome2-poppler/patches/patch-ext_poppler_rbpoppler.c
new file mode 100644
index 00000000000..d44ece38702
--- /dev/null
+++ b/print/ruby-gnome2-poppler/patches/patch-ext_poppler_rbpoppler.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_poppler_rbpoppler.c,v 1.1 2016/01/30 19:04:14 tsutsui Exp $
+
+Pull upstream fix for poppler-0.39:
+ https://github.com/ruby-gnome2/ruby-gnome2/commit/3dda85661515d71101f1028dc7d68d4e53de45b1
+
+--- ext/poppler/rbpoppler.c.orig 2016-01-30 03:51:30.000000000 +0000
++++ 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);