Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878153 - media-libs/libmediaart-1.9.6: should not always depend on dev-util/gtk-doc
Summary: media-libs/libmediaart-1.9.6: should not always depend on dev-util/gtk-doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-10-24 10:08 UTC by Jocelyn Mayer
Modified: 2022-10-29 19:18 UTC (History)
1 user (show)

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


Attachments
output from emerge --info =media-libs/libmediaart-1.9.6 (emerge-infos-mediaart,24.26 KB, text/plain)
2022-10-24 10:08 UTC, Jocelyn Mayer
Details
Ebuild patch proposal to make dev-util/gtk-doc depend on gtk-doc USE flags (media-libs_libmediaart_libmediaart-1.9.6.ebuild.patch,358 bytes, patch)
2022-10-24 10:09 UTC, Jocelyn Mayer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jocelyn Mayer 2022-10-24 10:08:12 UTC
media-libs/libmediaart has an dependency on dev-util/gtk-doc.
Has it also has a gtk-doc USE flag, making this dependency conditional to this USE flag allows to build the library without gtk+ / X11 installed

Reproducible: Always

Steps to Reproduce:
1. Use a system without gtk+ / X11 install
2. Try to emerge libmediaart
3. The dev-util/gtk-doc dependency would block the merge
Actual Results:  
Merge is block by the dev-util/gtk-doc dependency

Expected Results:  
when USE="-gtk-doc" is set, the library do not actually requires gtk-doc and thus can build without it and its dependencies.
Comment 1 Jocelyn Mayer 2022-10-24 10:08:57 UTC
Created attachment 825173 [details]
output from emerge --info =media-libs/libmediaart-1.9.6
Comment 2 Jocelyn Mayer 2022-10-24 10:09:54 UTC
Created attachment 825175 [details, diff]
Ebuild patch proposal to make dev-util/gtk-doc depend on gtk-doc USE flags
Comment 3 Larry the Git Cow gentoo-dev 2022-10-29 19:18:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f550157b5ecd3418f0816a1b70a4761b8f5f11b

commit 1f550157b5ecd3418f0816a1b70a4761b8f5f11b
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-10-29 19:12:42 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-10-29 19:17:42 +0000

    media-libs/libmediaart: Use BDEPEND
    
    * and make gtk-doc dependency conditional on USE=gtk-doc.
    
    Closes: https://bugs.gentoo.org/878153
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../{libmediaart-1.9.6.ebuild => libmediaart-1.9.6-r1.ebuild}        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)