Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609222 - app-text/ghostscript-gpl wrongly depend both on virtual/jpeg and media-libs/openjpeg
Summary: app-text/ghostscript-gpl wrongly depend both on virtual/jpeg and media-libs/o...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 08:38 UTC by LABBE Corentin
Modified: 2017-02-27 07:56 UTC (History)
1 user (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 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