This patch is based on texlive-2009-pdftexdir-libpoppler-0.12.patch. 

Fix FTBFS with poppler again, they will never be able to keep APIs

Thanks to Ubuntu people for that patch

===================================================================
diff -up texlive-20091107-source/texk/web2c/luatexdir/image/pdftoepdf.cc.xpdf texlive-20091107-source/texk/web2c/luatexdir/image/pdftoepdf.cc
--- texlive-20091107-source/texk/web2c/luatexdir/image/pdftoepdf.cc.xpdf	2009-06-25 22:05:10.000000000 +0900
+++ texlive-20091107-source/texk/web2c/luatexdir/image/pdftoepdf.cc	2010-10-01 00:34:22.405000028 +0900
@@ -666,7 +666,7 @@ static void writeEncodings()
     }
     for (r = encodingList; r != NULL; r = n) {
         n = r->next;
-        delete r->font;
+//        delete r->font;
         delete r;
     }
 }
@@ -705,6 +705,7 @@ read_pdf_info(image_dict * idict, intege
     Page *page;
     int rotate;
     PDFRectangle *pagebox;
+    int minor_pdf_version_found, major_pdf_version_found;
     float pdf_version_found, pdf_version_wanted, xsize, ysize, xorig, yorig;
     assert(idict != NULL);
     assert(img_type(idict) == IMG_TYPE_PDF);
@@ -720,8 +721,11 @@ read_pdf_info(image_dict * idict, intege
     // 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();
+    minor_pdf_version_found = pdf_doc->doc->getPDFMinorVersion();
+    major_pdf_version_found = pdf_doc->doc->getPDFMajorVersion();
+    pdf_version_found = major_pdf_version_found + (minor_pdf_version_found * 0.1);
     pdf_version_wanted = 1 + (minor_pdf_version_wanted * 0.1);
+
     if (pdf_version_found > pdf_version_wanted + 0.01) {
         char msg[] =
             "PDF inclusion: found PDF version <%.1f>, but at most version <%.1f> allowed";

Diff finished.  Fri Oct  1 00:35:08 2010