Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667150 - =app-text/poppler-0.71.0 version bump
Summary: =app-text/poppler-0.71.0 version bump
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
Depends on:
Reported: 2018-09-27 11:45 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-11-03 21:46 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-09-27 11:45:40 UTC
Release 0.69.0
         * Add annotation font color
         * Splash: Some speed improvements
         * PSOutputDev: add native support for type 7 shadings when using level 3
         * Add support for PDF subtype property
         * Link: Fix memory leak regarding next actions
         * Fix handling of Signature Info Location and Reason
         * Fix errors in computation of type3 glyphs transformation matrix
         * Reimplement Dict class in a more modern way
         * Fix security issues found by oss-fuzz
         * Fix memory issues in GfxImageColorMap copy ctor
         * Don't abort if the SampleFunction has too many samples. Issue #634
         * Document the OutputDev::clip and OutputDev::oeClip methods
         * fix macOS compilation due to boolean define in jpeglib
         * Split GDir and GDirEntry out of gfile.h. Issue #370

         * Add annotation font color


         * pdfinfo: Show PDF subtype
         * pdftotext: Fix only outputs first page content with -bbox-layout option. Issue #88
         * pdftotext: Fix memory leak in printLine

        build system:
         * Require C++14

Release 0.68.0
         * Add Reason and Location to SignatureInfo. Bug #107299
         * Fix memory misuse on signature handling
         * Fix security issues found by oss-fuzz
         * Don't give a warning when Marked value is false. Bug #107430

         * Add Reason and Location to SignatureInfo. Bug #107299

         * Add rotation() to text_box. Bug #106562
         * Fix build with MSVC

         * pdftoppm: Add -jpegopt optimize option support
         * pdftocairo: Add -jpegopt optimize option support
         * pdftohtml: Add option to not round coordinates
         * pdftohtml: Fix possible crash. Bug #107316

        build system:
         * Use OpenJpeg cmake config file instead of pkgconfig
         * Remove wchar_t- on MSVC
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-09-27 11:49:02 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.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2018-09-29 23:56:30 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #1)

That commit in Poppler was:

'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:


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 library is linked against library.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-10-22 19:09:29 UTC
Release 0.70.0
         * 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

         * Add Page::index() method
         * Improve method to get the page from a label string

         * Fix crash on missing embedded file
         * Add support for PDF subtype property
         * Only export symbols in the public API

         * pdftohtml: Improve font handling
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-10-23 08:58:25 UTC
Release 0.70.1
 * Install missing file
Comment 5 Andreas Sturmlechner gentoo-dev 2018-11-01 10:50:21 UTC
0.71.0 was released with some qt5 fixes. openjpeg cmake paths should be fixed first re comment #2.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-11-02 14:17:56 UTC
Release 0.71.0:
         * 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)

         * Fix crash when adding Highlight Annotations
         * Default to hidden symbols
         * Fix two leaks in a test

         * demo: Fix build on Windows
         * demo: Align property labels to top of cell

         * Fix typos in documentation

        build system:
         * Enable searching for GTK on Windows
         * Remove unused files
         * Add fuzzer target from oss-fuzz project
Comment 7 Andreas Sturmlechner gentoo-dev 2018-11-02 18:06:23 UTC
Fix for openjpeg-2.3.0:
Comment 8 Larry the Git Cow gentoo-dev 2018-11-03 21:46:11 UTC
The bug has been closed via the following commit(s):

commit ae5512fe38ddc0dc9ea3571e4a11ce5e92c2e4bb
Author:     Andreas Sturmlechner <>
AuthorDate: 2018-11-03 21:40:42 +0000
Commit:     Andreas Sturmlechner <>
CommitDate: 2018-11-03 21:45:44 +0000

    app-text/poppler: 0.71.0 version bump
    Signed-off-by: Andreas Sturmlechner <>
    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):

commit d1f0d027ec3be50b66a9ce69aed19cb795c23460
Author:     Andreas Sturmlechner <>
AuthorDate: 2018-11-03 21:10:38 +0000
Commit:     Andreas Sturmlechner <>
CommitDate: 2018-11-03 21:30:52 +0000

    media-libs/openjpeg: Use GNUInstallDirs
    Patches pending upstream:
    Signed-off-by: Andreas Sturmlechner <>
    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(-)