Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586316 - media-libs/xine-lib: invalid dep || ( imagemagick:= graphicsmagick )
Summary: media-libs/xine-lib: invalid dep || ( imagemagick:= graphicsmagick )
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 586238
  Show dependency tree
 
Reported: 2016-06-18 19:02 UTC by Michał Górny
Modified: 2018-02-14 19:14 UTC (History)
1 user (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-18 19:02:44 UTC
imagemagick? ( || ( media-gfx/imagemagick:= media-gfx/graphicsmagick ) )

Use of := inside || () is forbidden and does not work as you expect it to.

Options are:

1. add a USE flag to switch between the two,

2. add a virtual for the two -- if they have compatible ABIs (which I doubt).
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-21 19:43:08 UTC
commit a1493acc4ec62d79348449837e3d0a3aff3f97a6
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Tue Jun 21 21:42:24 2016
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Tue Jun 21 21:42:30 2016

    media-libs/xine-lib: Remove := slot op from ||, #586316


Keeping it open to let you improve the dep.
Comment 2 Pacho Ramos gentoo-dev 2016-09-14 13:22:50 UTC
I guess we will need to use a "graphicsmagic" USE similar to libav one for all this imagemagick vs graphicsmagick RDEPENDs :-/
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-09-14 13:33:52 UTC
(In reply to Pacho Ramos from comment #2)
> I guess we will need to use a "graphicsmagic" USE similar to libav one for
> all this imagemagick vs graphicsmagick RDEPENDs :-/

I think soap originally wanted to work on this but I don't know if he still does.
Comment 4 Pacho Ramos gentoo-dev 2018-02-14 19:14:13 UTC
latest 1.2.9 doesn't need this