First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 32753
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jeremy Huddleston (RETIRED) <eradicator@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Axel Gneiting <axelgneiting@web.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 32753 depends on: Show dependency tree
Bug 32753 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-11-04 16:20 0000
There is a check in audacity-1.1.3.ebuild:

        if [ `use gtk2` ]; then
                eerror ""
                eerror "Audacity will not build with wxGTK compiled"
                eerror "against gtk2.  Make sure you have set"
                eerror "-gtk2 in use for this program to compile"
                eerror ""
                die "Make sure -gtk2 is in USE"
        fi

After removing it, it compiled without problems and it's working.

Reproducible: Always
Steps to Reproduce:
1. compiled wxGTK with USE="gtk2"
2. remove check from ebuild
3. emerge audacity-1.1.3.ebuild


Actual Results:  
Audacity works.

Expected Results:  
Audacity refuses to compile.

------- Comment #1 From Bartosch Pixa 2003-11-04 20:38:38 0000 -------
that depends if wxGTK is compiled with or without unicode support, with unicode
emabled audacity WILL break

------- Comment #2 From Axel Gneiting 2003-11-05 05:05:21 0000 -------
Hm, why don't you check for unicode and gtk2 then?

------- Comment #3 From Bartosch Pixa 2003-11-05 11:28:53 0000 -------
because due to historical reasons there a a lot of ppl out there who dont
have unicode inUSE but still have wxGTK compiled with unicode enabled

------- Comment #4 From Mart Raudsepp 2003-11-09 07:27:52 0000 -------
Due we have any universal means of checking with what USE flags a installed
package is compiled? As in usually check the contents of /var/db/pkg/<package>/<app>/USE

In that case we could just replace
if [ `use gtk2` ];
with something similar to
if [ `depend-use wxGTK gtk2` ];

I wonder what happens if I wanted to install audacity when I have compiled
wxGTK with USE="gtk2 unicode". I bet I can't without manual interference
due to the odd if [ `use gtk2` ] workaround.

------- Comment #5 From Stewart (RETIRED) 2003-11-27 11:27:07 0000 -------
So is this problem with gtk2, unicode, or unicode+gtk2? If it's centred
around unicode, could we check instead for unicode support? IME, users are
migrating from gtk->gtk2, so to me it makes little sense to make gtk2 inhibit
the use of a (perfectly good) ebuild.

------- Comment #6 From Alastair Tse (RETIRED) 2003-12-11 13:34:29 0000 -------
unicode is a "sub option" of gtk2. so that means :

if you have wxGTK + gtk2 you can choose the unicode flavour, or non-unicode flavour. if you have wxGTK + gtk1, then unicode has no effect.

so it the audacity ebuild should check unicode rather than gtk2. basically check if 'wx-config --libs' has 'gtk2u'.


------- Comment #7 From Jeremy Huddleston (RETIRED) 2004-02-07 02:18:21 0000 -------
*** Bug 40300 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jeremy Huddleston (RETIRED) 2004-02-07 02:28:20 0000 -------
new 1.1.3 and 1.2.0_pre3 ebuilds are now in portage.  They correctly check for
wxGTK compiling without UNICODE rather than relying on the use flag.

------- Comment #9 From Aniruddha Shankar 2004-09-12 20:06:02 0000 -------
Check out bug # 62002 ... test, if you can. 

First Last Prev Next    No search results available      Search page      Enter new bug