[Bug 438031] [NEW] texlive-bin won't compile against libpoppler 0.12

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at users.sourceforge.net
Mon Sep 28 09:30:14 UTC 2009


Public bug reported:

When compiling texlive-bin against libpoppler 0.12 I got this error:


../../../../texk/web2c/pdftexdir/pdftoepdf.cc: In function 'integer read_pdf_info(char*, char*, integer, integer, integer, integer)':
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:691: error: 'class PDFDoc' has no member named 'getPDFVersion'
../../../../texk/web2c/pdftexdir/pdftoepdf.cc: In function 'void write_epdf()':

By googling this error, I found this info on gentoo:
http://bugs.gentoo.org/show_bug.cgi?id=282833 , that getPDFMajorVersion
& getPDFMinorVersion should be used instead.

I suggest the following change in pdftoepdf.cc:

-    pdf_version_found = pdf_doc->doc->getPDFVersion();
-    pdf_version_wanted = 1 + (minor_pdf_version_wanted * 0.1);
-    if (pdf_version_found > pdf_version_wanted) {
+    pdf_version_found = pdf_doc->doc->getPDFMinorVersion();
+    if (pdf_version_found > minor_pdf_version_wanted) {

** Affects: texlive-bin (Ubuntu)
     Importance: Undecided
         Status: New

-- 
texlive-bin won't compile against libpoppler 0.12
https://bugs.launchpad.net/bugs/438031
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list