diff -u luatex-0.40.5/debian/changelog luatex-0.40.5/debian/changelog --- luatex-0.40.5/debian/changelog +++ luatex-0.40.5/debian/changelog @@ -1,3 +1,11 @@ +luatex (0.40.5-1ubuntu2) karmic; urgency=low + + * debian/patches/ubuntu_libpoppler-0.12: fix FTBFS because of a change + in poppler API. Use getPDF{Major,Minor}Version() instead of + getPDFVersion() (LP: #453929). + + -- Ilya Barygin Sat, 17 Oct 2009 17:23:46 +0400 + luatex (0.40.5-1ubuntu1) karmic; urgency=low * Merge with Debian (LP: #389149), remaining changes: diff -u luatex-0.40.5/debian/control luatex-0.40.5/debian/control --- luatex-0.40.5/debian/control +++ luatex-0.40.5/debian/control @@ -1,7 +1,7 @@ Source: luatex Section: tex Priority: optional -Maintainer: Ubuntu MOTU Developers +Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian TeX Maintainers Uploaders: Frank Küster , Norbert Preining Build-Depends: debhelper (>= 5), tex-common (>= 0.33), flex, bison, zlib1g-dev, quilt, libpoppler-dev (>= 0.6), libpng12-dev, libjpeg62-dev, pkg-config, sharutils diff -u luatex-0.40.5/debian/patches/series luatex-0.40.5/debian/patches/series --- luatex-0.40.5/debian/patches/series +++ luatex-0.40.5/debian/patches/series @@ -16,0 +17 @@ +ubuntu_libpoppler-0.12 only in patch2: unchanged: --- luatex-0.40.5.orig/debian/patches/ubuntu_libpoppler-0.12 +++ luatex-0.40.5/debian/patches/ubuntu_libpoppler-0.12 @@ -0,0 +1,13 @@ +Index: luatex-0.40.5/source/texk/web2c/luatexdir/image/pdftoepdf.cc +=================================================================== +--- luatex-0.40.5.orig/source/texk/web2c/luatexdir/image/pdftoepdf.cc 2009-10-17 16:32:12.000000000 +0400 ++++ luatex-0.40.5/source/texk/web2c/luatexdir/image/pdftoepdf.cc 2009-10-17 16:32:12.000000000 +0400 +@@ -720,7 +720,7 @@ + // this works only for PDF 1.x -- but since any versions of PDF newer + // than 1.x will not be backwards compatible to PDF 1.x, pdfTeX will + // then have to changed drastically anyway. +- pdf_version_found = pdf_doc->doc->getPDFVersion(); ++ pdf_version_found = pdf_doc->doc->getPDFMajorVersion() + 0.1 * pdf_doc->doc->getPDFMinorVersion(); + pdf_version_wanted = 1 + (minor_pdf_version_wanted * 0.1); + if (pdf_version_found > pdf_version_wanted + 0.01) { + char msg[] =