[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#679895: texlive-bin: Port to libpoppler25 API



Package: texlive-bin
Version: 2012.20120530-2
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

Dear Maintainer,

We are using this patch in Ubuntu to handle the changes in libpoppler's
API version 19 to version 25/26.  Please consider for Debian.

  * Track API changes in libpoppler19 to libpoppler25 transition.

Thanks for considering the patch.

-apw
-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-26-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru texlive-bin-2012.20120530/debian/quilt/series texlive-bin-2012.20120530/debian/quilt/series
--- texlive-bin-2012.20120530/debian/quilt/series	2012-05-30 03:01:24.000000000 +0100
+++ texlive-bin-2012.20120530/debian/quilt/series	2012-06-08 18:17:21.000000000 +0100
@@ -18,3 +18,4 @@
 pmpost-20120415-tl11.diff
 pmpost-svg-20120119-tl11.diff
 #xdvi-zoom-with-eps-figures.patch
+track_libpoppler25_api_changes.patch
diff -Nru texlive-bin-2012.20120530/debian/quilt/track_libpoppler25_api_changes.patch texlive-bin-2012.20120530/debian/quilt/track_libpoppler25_api_changes.patch
--- texlive-bin-2012.20120530/debian/quilt/track_libpoppler25_api_changes.patch	1970-01-01 01:00:00.000000000 +0100
+++ texlive-bin-2012.20120530/debian/quilt/track_libpoppler25_api_changes.patch	2012-06-08 18:17:21.000000000 +0100
@@ -0,0 +1,19 @@
+Description: track API changes in poppler libraries
+ The poppler libraries have updated from libpoppler19 to libpoppler25, track
+ API changes.
+Author: Andy Whitcroft <apw@canonical.com>
+Last-Update: 2012-06-08
+
+Index: texlive-bin-2012.20120530/texk/web2c/pdftexdir/pdftosrc.cc
+===================================================================
+--- texlive-bin-2012.20120530.orig/texk/web2c/pdftexdir/pdftosrc.cc	2012-06-08 16:54:37.000000000 +0100
++++ texlive-bin-2012.20120530/texk/web2c/pdftexdir/pdftosrc.cc	2012-06-08 16:54:37.000000000 +0100
+@@ -134,7 +134,7 @@
+         exit(1);
+     }
+     if (extract_xref_table) {
+-        int size = xref->getSize();
++        int size = xref->getNumObjects();
+         int i;
+         for (i = 0; i < size; i++) {
+             if (xref->getEntry(i)->offset == 0xffffffff)

Reply to: