Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121063 - wxGTK-2.6.2-r1: false dependency on gtk2
Summary: wxGTK-2.6.2-r1: false dependency on gtk2
Status: RESOLVED DUPLICATE of bug 109515
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 08:38 UTC by Ryan Tandy
Modified: 2006-01-31 08:42 UTC (History)
0 users

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


Attachments
propsed patch to wxGTK-2.6.1-r1.ebuild (wxGTK-2.6.2-r1-no-X.diff,564 bytes, patch)
2006-01-31 08:40 UTC, Ryan Tandy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Tandy 2006-01-31 08:38:08 UTC
Overview:
Despite einfo messages suggesting the contrary, attempting to build wxGTK-2.6.2-r1 with USE="-X" tries to pull in >=gtk+-2.0 as a dependency.

Steps to reproduce:
1) Have a system with no X or GTK+ installed.
2) Install =x11-libs/wxGTK-2.6.2-r1 with USE="-X"

Actual results:
Portage tries to pull in GTK+ and Glib as dependencies.

Expected results:
No GUI libraries should be built with USE="-X".

Workaround:
emerge --oneshot --nodeps '=x11-libs/wxGTK-2.6.2-r1' completes successfully despite the lack of GTK+ on the system.
Comment 1 Ryan Tandy 2006-01-31 08:40:03 UTC
Created attachment 78572 [details, diff]
propsed patch to wxGTK-2.6.1-r1.ebuild

Makes the GTK+, Glib, and TIFF dependencies relative to the X USE flag.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-31 08:42:52 UTC

*** This bug has been marked as a duplicate of 109515 ***