Hello community, here is the log from the commit of package pdf2djvu for openSUSE:Factory checked in at Wed Sep 21 17:16:19 CEST 2011.
-------- --- pdf2djvu/pdf2djvu.changes 2011-08-20 23:19:25.000000000 +0200 +++ /mounts/work_src_done/STABLE/pdf2djvu/pdf2djvu.changes 2011-09-20 12:02:22.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Sep 20 10:01:18 UTC 2011 - [email protected] + +- Add pdf2djvu-poppler-0.18.patch: fix build with poppler + 0.17/0.18. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- pdf2djvu-poppler-0.18.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdf2djvu.spec ++++++ --- /var/tmp/diff_new_pack.RhEKR7/_old 2011-09-21 17:16:14.000000000 +0200 +++ /var/tmp/diff_new_pack.RhEKR7/_new 2011-09-21 17:16:14.000000000 +0200 @@ -25,6 +25,8 @@ 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 [email protected] -- 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 @@ graphics, text layer, hyperlinks, document outline (bookmarks) and metadata. - - -Authors: --------- - Jakub Wilk <[email protected]> - %prep %setup -q +%patch0 -p1 %build %configure ++++++ pdf2djvu-poppler-0.18.patch ++++++ 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; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
