Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35444 - aumix doesn't build with gtk1
Summary: aumix doesn't build with gtk1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-09 06:52 UTC by Will Richey
Modified: 2003-12-09 10:11 UTC (History)
0 users

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


Attachments
patch file for aumix-2.8.ebuild (aumix.patch,509 bytes, patch)
2003-12-09 07:24 UTC, Will Richey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Will Richey 2003-12-09 06:52:59 UTC
I tried to compile aumix with USE="gtk -gtk2" because I don't otherwise need gtk2.  gtk1 is properly installed:
 # qpkg -I -v gtk
   x11-libs/gtk+-1.2.10-r10 *


When I tried
 # USE="gtk -gtk2" emerge -pv aumix
I get
   These are the packages that I would merge, in order:

   Calculating dependencies ...done!
   [ebuild  N    ] media-sound/aumix-2.8  +gpm +nls +gtk +gnome -alsa -gtk2 
however, configure fails with
   checking for GTK - version >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.

I looked in aumix-2.8.ebuild where I see the lines 
        if use gtk; then
                use gtk2 && myconf="${myconf} --without-gtk1"
        else
                myconf="${myconf} --without-gtk --without-gtk1";
        fi

I'll try to change this locally, but I haven't tried that before,
so I'm opening this bug report to get help from the experts.
Comment 1 Will Richey 2003-12-09 07:23:02 UTC
OK.  I made it work on my system (gtk1 but no gtk2).  I really don't want to pull in gtk2 to test that it works with gtk2 but no gtk1.  From a reading of the original ebuild and my patch, I think it should.  I'm going to attach my patch and hope that some nice soul can commit it for me.
Comment 2 Will Richey 2003-12-09 07:24:51 UTC
Created attachment 21926 [details, diff]
patch file for aumix-2.8.ebuild

This patch resolve building on my machine.
I did no regression test.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-09 10:11:48 UTC
nice catch, thanks for the fix.