Hello community,

here is the log from the commit of package pdf2djvu for openSUSE:Factory 
checked in at 2012-11-14 09:15:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pdf2djvu (Old)
 and      /work/SRC/openSUSE:Factory/.pdf2djvu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pdf2djvu", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/pdf2djvu/pdf2djvu.changes        2012-10-16 
07:13:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pdf2djvu.new/pdf2djvu.changes   2012-11-14 
09:15:28.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Nov 13 12:44:43 UTC 2012 - idon...@suse.com
+
+- add pdf2djvu-poppler.patch to fix compile with new poppler 
+
+-------------------------------------------------------------------

New:
----
  pdf2djvu-poppler.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pdf2djvu.spec ++++++
--- /var/tmp/diff_new_pack.Di7FG3/_old  2012-11-14 09:15:29.000000000 +0100
+++ /var/tmp/diff_new_pack.Di7FG3/_new  2012-11-14 09:15:29.000000000 +0100
@@ -24,6 +24,7 @@
 Group:          Productivity/Publishing/PDF
 Url:            http://pdf2djvu.googlecode.com/
 Source0:        http://pdf2djvu.googlecode.com/files/%{name}_%{version}.tar.gz
+Patch1:         pdf2djvu-poppler.patch
 BuildRequires:  djvulibre
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig(GraphicsMagick++)
@@ -43,6 +44,9 @@
 
 %prep
 %setup -q
+%if 0%{?suse_version} > 1220
+%patch1 -p1
+%endif
 
 %build
 %configure

++++++ pdf2djvu-poppler.patch ++++++
Index: pdf2djvu-0.7.15/pdf-backend.cc
===================================================================
--- pdf2djvu-0.7.15.orig/pdf-backend.cc
+++ pdf2djvu-0.7.15/pdf-backend.cc
@@ -28,7 +28,7 @@
 #if POPPLER_VERSION < 2100
 #include <UTF8.h>
 #else
-#include <UTF.h>
+#include <UnicodeMap.h>
 #endif
 #include <UnicodeTypeTable.h>
 
@@ -575,7 +575,9 @@ pdf::Object *pdf::dict_lookup(pdf::Dict
 void pdf::write_as_utf8(std::ostream &stream, Unicode unicode_char)
 {
   char buffer[8];
-  int seqlen = mapUTF8(unicode_char, buffer, sizeof buffer);
+  GooString enc("UTF-8");
+  UnicodeMap *utf8Map = globalParams->getUnicodeMap(&enc);
+  int seqlen = utf8Map->mapUnicode(unicode_char, buffer, sizeof buffer);
   stream.write(buffer, seqlen);
 }
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to