Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 34564

Summary: media-sound/gamix
Product: Gentoo Linux Reporter: Spider (RETIRED) <spider>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: krautj
Priority: High    
Version: 1.4   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 34553    
Attachments: gamix-1.99_p14-r1.ebuild
gamix-1.99_p14-r1.ebuild
gamix-1.99_p13-r1.ebuild
gamix-1.99_p14-r1.ebuild
gamix-1.99_p13-r1.ebuild

Description Spider (RETIRED) gentoo-dev 2003-11-27 16:09:13 UTC
DEPEND=">=media-sound/alsa-driver-0.9_rc1
        >=media-libs/alsa-lib-0.9_rc1
        x11-libs/gtk+
        dev-libs/glib
        gtk2? >=x11-libs/gtk+-2.2.1"


use () around gtk2?  statement

Why doesn't it depend on even the -correct- versions of gtk+ ? Will this even build with a gtk+ version below 2.x ?  What happens if I have USE="-gtk2" and emerge gamix from a clean system? which gtk+ version would I get?
Comment 1 Jonathan Kraut 2003-12-02 21:52:03 UTC
Here's a fixed ebuild.
With USE="-gtk2" it builds fine against gtk+-1*, as that is its ./configure default.
Previously you would have gotten gtk-1 as well with -gtk2, but with the revision it won't pull gtk+-1 if you ask for gtk2.  Ooops.
Comment 2 Jonathan Kraut 2003-12-02 21:57:52 UTC
Created attachment 21620 [details]
gamix-1.99_p14-r1.ebuild
Comment 3 Spider (RETIRED) gentoo-dev 2003-12-03 12:14:18 UTC
I suggest that you drop the glib dependency completely, its always depended on by gtk+, and in this case if its not installed it will satisfy the latest, not what you want in -gtk2 scenario. 

Comment 4 Jonathan Kraut 2003-12-03 13:45:36 UTC
Created attachment 21658 [details]
gamix-1.99_p14-r1.ebuild

Done. Also used use_enable for nls in src_install.
Comment 5 Jonathan Kraut 2003-12-03 13:47:51 UTC
Created attachment 21659 [details]
gamix-1.99_p13-r1.ebuild

Also, here's the fix for the stable (non-gtk2) version.
Comment 6 Spider (RETIRED) gentoo-dev 2003-12-04 01:23:30 UTC
Agh, I was blind yesterday.. You have a hard dep on alsa-driver (thats a no-no, there is a virtual to satisfy that, alsa can be directly inside the kernel, then we don't want alsa-driver installed as it conflicts)



And, this one needs a version for the gtk+ dep, or you are back with the same problems

DEPEND=">=media-sound/alsa-driver-0.9_rc1
	>=media-libs/alsa-lib-0.9_rc1
	x11-libs/gtk+"



Bad 
Comment 7 Jonathan Kraut 2003-12-04 08:38:30 UTC
Created attachment 21695 [details]
gamix-1.99_p14-r1.ebuild

ok fixed
Comment 8 Jonathan Kraut 2003-12-04 08:40:55 UTC
Created attachment 21696 [details]
gamix-1.99_p13-r1.ebuild

ok. thanks for your patience spider!
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-04 09:33:59 UTC
thanks jonathan, fixed in portage.