Package: pdftoipe Version: 20110916-3 Severity: normal Tags: patch User: ubuntu-de...@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 changes to libpoppler25 API. 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 pdftoipe-20110916/debian/changelog pdftoipe-20110916/debian/changelog diff -Nru pdftoipe-20110916/debian/control pdftoipe-20110916/debian/control --- pdftoipe-20110916/debian/control 2012-02-24 03:20:35.000000000 +0000 +++ pdftoipe-20110916/debian/control 2012-06-15 10:34:47.000000000 +0100 @@ -2,7 +2,8 @@ Homepage: http://ipe7.sourceforge.net/ Section: graphics Priority: optional -Maintainer: Steve M. Robbins <s...@debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> +XSBC-Original-Maintainer: Steve M. Robbins <s...@debian.org> Build-Depends: debhelper (>= 8), pkg-config, libpoppler-private-dev Standards-Version: 3.9.2 diff -Nru pdftoipe-20110916/debian/patches/series pdftoipe-20110916/debian/patches/series --- pdftoipe-20110916/debian/patches/series 2011-12-11 15:17:48.000000000 +0000 +++ pdftoipe-20110916/debian/patches/series 2012-06-15 10:28:21.000000000 +0100 @@ -1 +1,2 @@ poppler.patch +track_libpoppler25_api.patch diff -Nru pdftoipe-20110916/debian/patches/track_libpoppler25_api.patch pdftoipe-20110916/debian/patches/track_libpoppler25_api.patch --- pdftoipe-20110916/debian/patches/track_libpoppler25_api.patch 1970-01-01 01:00:00.000000000 +0100 +++ pdftoipe-20110916/debian/patches/track_libpoppler25_api.patch 2012-06-15 10:38:17.000000000 +0100 @@ -0,0 +1,19 @@ +Description: Track libpoppler25 API changes + Track changes to the libpoppler25 API: + . + error() now takes an additional ErrorCategory argument. +Author: Andy Whitcroft <a...@ubuntu.com> +Last-Update: 2012-06-15 +Index: pdftoipe-20110916/xmloutputdev.cpp +=================================================================== +--- pdftoipe-20110916.orig/xmloutputdev.cpp 2012-06-15 10:12:14.000000000 +0100 ++++ pdftoipe-20110916/xmloutputdev.cpp 2012-06-15 10:31:49.752795033 +0100 +@@ -30,7 +30,7 @@ + FILE *f; + + if (!(f = fopen(fileName, "wb"))) { +- error(-1, "Couldn't open output file '%s'", fileName); ++ error(errCommandLine, -1, "Couldn't open output file '%s'", fileName); + ok = gFalse; + return; + }