Control: tags 767659 + patch On Tue, 11 Nov 2014 at 10:33:42 +0000, Simon McVittie wrote: > If the new symbol is public API that (in principle) other packages could > use, which AFAICS it is, then I think the only solution that doesn't > involve bumping shlibs for everyone is a symbols file.
The attached seems to work as desired: libpoppler-glib8 ends up with a dependency on libpoppler46 (>= 0.26.5-2~), but libpoppler-qt4-4 (which presumably doesn't use GfxFont::getAlternateName) still depends on libpoppler46 (>= 0.26.5). Regards, S
diffstat for poppler-0.26.5 poppler-0.26.5 changelog | 9 +++++++++ libpoppler46.symbols.in | 4 ++++ 2 files changed, 13 insertions(+) diff -Nru poppler-0.26.5/debian/changelog poppler-0.26.5/debian/changelog --- poppler-0.26.5/debian/changelog 2014-10-19 17:24:18.000000000 +0100 +++ poppler-0.26.5/debian/changelog 2014-11-15 21:28:15.000000000 +0000 @@ -1,3 +1,12 @@ +poppler (0.26.5-2.1) UNRELEASED; urgency=medium + + * 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) + + -- Simon McVittie <s...@debian.org> Sat, 15 Nov 2014 21:07:14 +0000 + poppler (0.26.5-2) unstable; urgency=medium * Backport upstream commit 01723aa17e836e818158dbdc56df642a290be300 to map diff -Nru poppler-0.26.5/debian/libpoppler46.symbols.in poppler-0.26.5/debian/libpoppler46.symbols.in --- poppler-0.26.5/debian/libpoppler46.symbols.in 1970-01-01 01:00:00.000000000 +0100 +++ poppler-0.26.5/debian/libpoppler46.symbols.in 2014-11-15 21:28:15.000000000 +0000 @@ -0,0 +1,4 @@ +libpoppler.so.46 libpoppler46 #MINVER# +* Build-Depends-Package: libpoppler-dev + (c++)"GfxFont::getAlternateName(char const*)@Base" 0.26.5-2~ + (regex)".*" #CURVER#