[packages/ruby-gnome2] - POPPLER_TYPE_ORIENTATION no longer exists
baggins
baggins at pld-linux.org
Mon Mar 28 16:48:21 CEST 2016
commit 13f620b858671e60b900da054fc400fad4b2d404
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Mar 28 23:48:03 2016 +0900
- POPPLER_TYPE_ORIENTATION no longer exists
poppler-0.39.patch | 10 ++++++++++
ruby-gnome2.spec | 2 ++
2 files changed, 12 insertions(+)
---
diff --git a/ruby-gnome2.spec b/ruby-gnome2.spec
index 8c2d1c2..cd7113a 100644
--- a/ruby-gnome2.spec
+++ b/ruby-gnome2.spec
@@ -17,6 +17,7 @@ License: LGPL v2.1
Group: Development/Languages
Source0: http://downloads.sourceforge.net/ruby-gnome2/%{name}-all-%{version}.tar.gz
# Source0-md5: f714b70ebb1093a540ff4bfe6c105c66
+Patch0: poppler-0.39.patch
URL: http://ruby-gnome2.sourceforge.jp/
BuildRequires: atk-devel >= 1:1.12.0
BuildRequires: cairo-devel >= 1.10.0
@@ -600,6 +601,7 @@ Przykłady do Ruby-GNOME2.
%prep
%setup -q -n %{name}-all-%{version}
+%patch0 -p1
find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,'
cp -p glib2/README.md README.glib2.md
diff --git a/poppler-0.39.patch b/poppler-0.39.patch
new file mode 100644
index 0000000..c761b08
--- /dev/null
+++ b/poppler-0.39.patch
@@ -0,0 +1,10 @@
+--- ruby-gnome2-all-3.0.7/poppler/ext/poppler/rbpoppler.c~ 2013-12-28 22:39:04.000000000 +0900
++++ ruby-gnome2-all-3.0.7/poppler/ext/poppler/rbpoppler.c 2016-03-28 23:46:43.495559476 +0900
+@@ -56,7 +56,6 @@
+ 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);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-gnome2.git/commitdiff/13f620b858671e60b900da054fc400fad4b2d404
More information about the pld-cvs-commit
mailing list