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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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
        core:
         * 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

        qt5:
         * Add annotation font color

        cpp:

        utils:
         * 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
        core:
         * 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

        qt5:
         * Add Reason and Location to SignatureInfo. Bug #107299

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

        utils:
         * 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:
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.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-10-22 19:09:29 UTC
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
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-10-23 08:58:25 UTC
Release 0.70.1
glib:
 * 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:
        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
Comment 7 Andreas Sturmlechner gentoo-dev 2018-11-02 18:06:23 UTC
Fix for openjpeg-2.3.0: https://github.com/uclouvain/openjpeg/pull/1165
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):

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(-)