Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609222 - app-text/ghostscript-gpl: make media-libs/openjpeg optional
Summary: app-text/ghostscript-gpl: make media-libs/openjpeg optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Codec Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 08:38 UTC by LABBE Corentin
Modified: 2021-01-27 18:45 UTC (History)
2 users (show)

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


Attachments
Add jpx USE flag for made openjpeg optional (0001-app-text-ghostscript-gpl-add-jpx-USE-flag.patch,3.77 KB, patch)
2017-02-27 07:56 UTC, LABBE Corentin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description LABBE Corentin 2017-02-13 08:38:07 UTC
emerging app-text/ghostscript-gpl pull media-libs/openjpeg (direct dependency).
But in fact media-libs/openjpeg is not necessary since ghostscript-gpl already have virtual/jpeg dependency.
Furthermore app-text/ghostscript-gpl compile fine without media-libs/openjpeg.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-02-17 11:13:26 UTC
Just regarding virtual/jpeg, media-libs/openjpeg cannot satisfy it - they're different libraries (jpg vs jpg2k).
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-02-20 22:21:37 UTC
(In reply to LABBE Corentin from comment #0)
> emerging app-text/ghostscript-gpl pull media-libs/openjpeg (direct
> dependency).
> But in fact media-libs/openjpeg is not necessary since ghostscript-gpl
> already have virtual/jpeg dependency.
> Furthermore app-text/ghostscript-gpl compile fine without
> media-libs/openjpeg.

It used to compile fine since it had a bundled copy.

That's gone now for security reasons.

And as Michael says, the two libraries have different purposes.
Comment 3 LABBE Corentin 2017-02-22 07:29:09 UTC
It compile also fine without it as I said. So it is an optional dependency, please add an USE for it or remove it
Comment 4 LABBE Corentin 2017-02-27 07:56:06 UTC
Created attachment 465356 [details, diff]
Add jpx USE flag for made openjpeg optional
Comment 5 Larry the Git Cow gentoo-dev 2021-01-27 15:10:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e913efa0dde9674b465f7741b6e00f0212649cd

commit 4e913efa0dde9674b465f7741b6e00f0212649cd
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-01-27 14:47:17 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-01-27 15:10:48 +0000

    app-text/ghostscript-gpl: allow building without media-libs/openjpeg
    
    Closes: https://bugs.gentoo.org/609222
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)