Summary: | =app-text/poppler-0.71.0 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | Current packages | Assignee: | Maciej Mrozowski <reavertm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | graphics+disabled, kde, office, printing |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=659828 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Lars Wendler (Polynomial-C) (RETIRED)
2018-09-27 11:45:40 UTC
Due to the following change in version 0.68.0 * Use OpenJpeg cmake config file instead of pkgconfig our poppler-0.62.0-openjpeg2.patch does no longer apply and USE="jpeg2k" is broken like this: CMake Error at CMakeLists.txt:218 (message): Install libopenjpeg2 before trying to build poppler. You can also decide to use the internal unmaintained JPX decoder or none at all. Dunno if we need to fix our openjpeg package or poppler. (In reply to Lars Wendler (Polynomial-C) from comment #1) That commit in Poppler was: https://gitlab.freedesktop.org/poppler/poppler/commit/12bf632489587df9da416ed8303fb8aefc26bdac 'find_package(LIBOPENJPEG2)' was using FindLIBOPENJPEG2.cmake which contained 'pkg_check_modules(LIBOPENJPEG2 libopenjp2)' which is the same as line added by poppler-0.62.0-openjpeg2.patch in Gentoo: - find_package(LIBOPENJPEG2) + pkg_check_modules(LIBOPENJPEG2 libopenjp2) So that patch seems to have been doing effectively nothing at all. media-libs/openjpeg-2.3.0 installs: /usr/lib32/openjpeg-2.3/OpenJPEGConfig.cmake /usr/lib32/openjpeg-2.3/OpenJPEGTargets-gentoo.cmake /usr/lib32/openjpeg-2.3/OpenJPEGTargets.cmake /usr/lib64/openjpeg-2.3/OpenJPEGConfig.cmake /usr/lib64/openjpeg-2.3/OpenJPEGTargets-gentoo.cmake /usr/lib64/openjpeg-2.3/OpenJPEGTargets.cmake It would seem that these files should be in subdirectories of /usr/lib32/cmake and /usr/lib64/cmake (e.g. /usr/lib32/cmake/OpenJPEG and /usr/lib64/cmake/OpenJPEG), but for unknown reason detection of OpenJPEG by 'find_package(OpenJPEG)' in CMakeLists.txt works for me. I.e. app-text/poppler-9999[jpeg2k] detected OpenJPEG and the built libpoppler.so.80.0.0 library is linked against libopenjp2.so.7 library. Release 0.70.0 core: * FreeText annotations: default to font from default appearance string * Splash: Speed improvements * Fix security issues found by oss-fuzz * Improve page lable parsing * Use std some std classes instead of self grown ones * Various internal improvements qt5: * Add Page::index() method * Improve method to get the page from a label string glib: * Fix crash on missing embedded file * Add support for PDF subtype property * Only export symbols in the public API utils: * pdftohtml: Improve font handling Release 0.70.1 glib: * Install missing file 0.71.0 was released with some qt5 fixes. openjpeg cmake paths should be fixed first re comment #2. Release 0.71.0: core: * Replace the implementation of GooString by std::string but keep the exact interface intact. * Replace GBool, gTrue, and gFalse by bool, true, false, resp. * Splash: Fix crash if document is malformed (too wide) qt5: * Fix crash when adding Highlight Annotations * Default to hidden symbols * Fix two leaks in a test glib: * demo: Fix build on Windows * demo: Align property labels to top of cell cpp: * Fix typos in documentation build system: * Enable searching for GTK on Windows * Remove unused files * Add fuzzer target from oss-fuzz project Fix for openjpeg-2.3.0: https://github.com/uclouvain/openjpeg/pull/1165 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae5512fe38ddc0dc9ea3571e4a11ce5e92c2e4bb commit ae5512fe38ddc0dc9ea3571e4a11ce5e92c2e4bb Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-11-03 21:40:42 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-11-03 21:45:44 +0000 app-text/poppler: 0.71.0 version bump Closes: https://bugs.gentoo.org/667150 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-text/poppler/Manifest | 1 + .../files/poppler-0.71.0-respect-cflags.patch | 31 +++++ app-text/poppler/poppler-0.71.0.ebuild | 127 +++++++++++++++++++++ app-text/poppler/poppler-9999.ebuild | 18 +-- 4 files changed, 168 insertions(+), 9 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f0d027ec3be50b66a9ce69aed19cb795c23460 commit d1f0d027ec3be50b66a9ce69aed19cb795c23460 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-11-03 21:10:38 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-11-03 21:30:52 +0000 media-libs/openjpeg: Use GNUInstallDirs Patches pending upstream: https://github.com/uclouvain/openjpeg/pull/1165 Bug: https://bugs.gentoo.org/667150 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../files/openjpeg-2.3.0-gnuinstalldirs.patch | 501 +++++++++++++++++++++ media-libs/openjpeg/openjpeg-2.3.0-r1.ebuild | 8 +- 2 files changed, 502 insertions(+), 7 deletions(-) |