Pino, what is the status of this bug? For the benefit of the bug report, I've tried Simon's patch and I do not get the expected results.
I rebuilt poppler with the second nmudiff [0] and then built evince with that version of poppler installed. neil@sylvester:poppler-0.26.5$ dpkg-parsechangelog Source: poppler Version: 0.26.5-2.1 Distribution: unstable Urgency: medium Maintainer: Neil Williams <codeh...@debian.org> Date: Sun, 18 Jan 2015 12:32:55 +0000 Closes: 767659 Changes: poppler (0.26.5-2.1) unstable; urgency=medium . [ Simon McVittie ] * Non-maintainer upload. * GfxFont::getAlternateName(char const*) was new in 0.26.5-2~; add a symbols file so that anything using that symbol gets the appropriate versioned dependency. (Closes: #767659) neil@sylvester:poppler-0.26.5$ cat debian/libpoppler46.symbols.in libpoppler.so.46 libpoppler46 #MINVER# * Build-Depends-Package: libpoppler-dev (c++)"GfxFont::getAlternateName(char const*)@Base" 0.26.5-2~ (regex)".*" #CURVER# (poppler then built in pbuilder chroot) neil@sylvester:poppler-0.26.5$ dpkg-deb -I /var/cache/pbuilder/result/libpoppler-glib8_0.26.5-2.1_amd64.deb|grep Depends Pre-Depends: multiarch-support Depends: libc6 (>= 2.14), libcairo2 (>= 1.12.0), libfreetype6 (>= 2.2.1), libglib2.0-0 (>= 2.37.3), libpoppler46 (>= 0.26.5-2~), libstdc++6 (>= 4.9) sudo dcmd cp /var/cache/pbuilder/result/poppler_0.26.5-2.1_amd64.changes /var/cache/pbuilder/build/3221/home/ root@sylvester:/home/evince/evince-3.14.1# dpkg -l | grep 0.26.5-2|cut -c -80 ii gir1.2-poppler-0.18 0.26.5-2.1 amd64 GOb ii libpoppler-dev:amd64 0.26.5-2.1 amd64 PDF ii libpoppler-glib-dev 0.26.5-2.1 amd64 PDF ii libpoppler-glib8:amd64 0.26.5-2.1 amd64 PDF ii libpoppler46:amd64 0.26.5-2.1 amd64 PDF root@sylvester:/home/evince/evince-3.14.1# dpkg -l | grep poppler|cut -c -80 ii gir1.2-poppler-0.18 0.26.5-2.1 amd64 GOb ii libpoppler-dev:amd64 0.26.5-2.1 amd64 PDF ii libpoppler-glib-dev 0.26.5-2.1 amd64 PDF ii libpoppler-glib8:amd64 0.26.5-2.1 amd64 PDF ii libpoppler46:amd64 0.26.5-2.1 amd64 PDF ii poppler-data 0.4.7-1 all enc root@sylvester:/home/evince/evince-3.14.1# dpkg-parsechangelog Source: evince Version: 3.14.1-2 Distribution: UNRELEASED Urgency: medium Maintainer: root <root@sylvester.codehelp> Date: Sun, 18 Jan 2015 12:53:41 +0000 Changes: evince (3.14.1-2) UNRELEASED; urgency=medium . * against patched poppler root@sylvester:/home/evince/evince-3.14.1# dpkg-deb -I ../libevdocument3-4_3.14.1-2_amd64.deb |grep Depends Depends: libarchive13, libatk1.0-0 (>= 1.12.4), libc6 (>= 2.14), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.14.0), libdjvulibre21 (>= 3.5.25.4), libgcc1 (>= 1:4.1.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.13), libgxps2 (>= 0.2.1), libkpathsea6, libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpoppler-glib8 (>= 0.24.0), libspectre1 (>= 0.2.3), libstdc++6 (>= 4.1.1), libtiff5 (>= 4.0.3), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4) The important part there is: libpoppler-glib8 (>= 0.24.0) - to fix the bug, I was expecting that to be 0.26.5 The dependency chain is evince -> libevdocument3-4 -> libpoppler-glib8 -> libpoppler46. evince builds libevdocument3-4, poppler builds libpoppler-glib8. Equally, if the bug was fixed as I expected it, this should fail: root@sylvester:/home/evince/evince-3.14.1# apt-get install gir1.2-poppler-0.18=0.26.5-2 libpoppler-dev:amd64=0.26.5-2 libpoppler-glib8:amd64=0.26.5-2 libpoppler46:amd64=0.26.5-2 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libpoppler-glib-dev The following packages will be DOWNGRADED: gir1.2-poppler-0.18 libpoppler-dev libpoppler-glib8 libpoppler46 0 upgraded, 0 newly installed, 4 downgraded, 1 to remove and 0 not upgraded. Need to get 0 B/2127 kB of archives. After this operation, 1444 kB disk space will be freed. root@sylvester:/home/evince/evince-3.14.1# apt-get install gir1.2-poppler-0.18=0.26.5-2 libpoppler-dev:amd64=0.26.5-2 libpoppler-glib8:amd64=0.26.5-2 libpoppler46:amd64=0.26.5-2 libpoppler-glib-dev=0.26.5-2 Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: libpoppler-glib-doc The following packages will be DOWNGRADED: gir1.2-poppler-0.18 libpoppler-dev libpoppler-glib-dev libpoppler-glib8 libpoppler46 0 upgraded, 0 newly installed, 5 downgraded, 0 to remove and 0 not upgraded. Need to get 0 B/2289 kB of archives. After this operation, 219 kB disk space will be freed. Do you want to continue? [Y/n] [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=58;filename=poppler_0.26.5-2.1.diff;att=1;bug=767659 Simon: have I done something wrong in trying to replicate the fix? Sadly, I've been unable to trace through the code to see where CairoFreeTypeFont is exposed in the glib bindings or how to update libpoppler-glib to make libevdocument3-4 depend on libpoppler-glib8 >> 0.25. -- Neil Williams ============= http://www.linux.codehelp.co.uk/
pgpSc5SGVFUct.pgp
Description: OpenPGP digital signature