Accepting request 83804 from home:vuntz:branches:Publishing
Fix build with new poppler OBS-URL: https://build.opensuse.org/request/show/83804 OBS-URL: https://build.opensuse.org/package/show/Publishing/pdf2djvu?expand=0&rev=8
This commit is contained in:
parent
3ee81a61e6
commit
462c9f67c8
16
pdf2djvu-poppler-0.18.patch
Normal file
16
pdf2djvu-poppler-0.18.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Index: pdf2djvu-0.7.10/pdf-backend.hh
|
||||
===================================================================
|
||||
--- pdf2djvu-0.7.10.orig/pdf-backend.hh
|
||||
+++ pdf2djvu-0.7.10/pdf-backend.hh
|
||||
@@ -77,7 +77,11 @@ namespace pdf
|
||||
|
||||
namespace link
|
||||
{
|
||||
+#if POPPLER_VERSION < 1700
|
||||
typedef ::Link Link;
|
||||
+#else
|
||||
+ typedef ::AnnotLink Link;
|
||||
+#endif
|
||||
typedef ::LinkAction Action;
|
||||
typedef ::LinkDest Destination;
|
||||
typedef ::LinkGoTo GoTo;
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 20 10:01:18 UTC 2011 - vuntz@opensuse.org
|
||||
|
||||
- Add pdf2djvu-poppler-0.18.patch: fix build with poppler
|
||||
0.17/0.18.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 20 21:17:16 UTC 2011 - lazy.kent@opensuse.org
|
||||
|
||||
|
@ -25,6 +25,8 @@ Summary: PDF to DjVu Converter
|
||||
Url: http://pdf2djvu.googlecode.com/
|
||||
Group: Productivity/Publishing/PDF
|
||||
Source0: http://pdf2djvu.googlecode.com/files/%{name}_%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM pdf2djvu-poppler-0.18.patch vuntz@opensuse.org -- Fix build with poppler 0.17/0.18. Sent upstream: http://code.google.com/p/pdf2djvu/issues/detail?id=61
|
||||
Patch0: pdf2djvu-poppler-0.18.patch
|
||||
BuildRequires: djvulibre
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libdjvulibre-devel
|
||||
@ -41,14 +43,9 @@ pdf2djvu creates DjVu files from PDF files. It's able to extract:
|
||||
graphics, text layer, hyperlinks, document outline (bookmarks) and
|
||||
metadata.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jakub Wilk <ubanus@users.sf.net>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
Loading…
x
Reference in New Issue
Block a user