Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74224 - Audacity / wxGTK ebuild inconsistency
Summary: Audacity / wxGTK ebuild inconsistency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-12 11:34 UTC by Ben Anderson
Modified: 2005-04-15 10:47 UTC (History)
1 user (show)

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


Attachments
1.2.2 diff (wxgtk.patch,732 bytes, patch)
2005-03-03 13:28 UTC, Rob Cakebread (RETIRED)
Details | Diff
Updated patch for 1.2.3 (audacity-1.2.3.patch,2.96 KB, patch)
2005-03-20 09:22 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Anderson 2004-12-12 11:34:48 UTC
During a recent upgrade, I noticed a message generated by this:

        einfo "New in >=wxGTK-2.4.2-r2:"
        einfo "------------------------"
        einfo "You can now have gtk, gtk2(ansi) and gtk2(unicode) versions installed"
        einfo "simultaneously. gtk is installed by default because it is"
        einfo "more stable than gtk2. Use no_wxgtk1 if you don't want it."
        einfo "Put gtk2 and unicode in your USE flags to get those"
        einfo "additional versions if desired."
        einfo "NOTE:"
        einfo "You can also get debug versions of any of those, but not debug"
        einfo "and normal installed at the same time."

However, I also ran into problems with merging Audacity; specifically, this error:
                einfo "Audacity will not build if wxGTK was compiled"
                einfo "with unicode support.  If you are using a version of"
                einfo "wxGTK <= 2.4.2, you must set USE=-gtk2.  In newer versions,"
                einfo "you must set USE=-unicode."
                die "wxGTK must be re-emerged without unicode suport"

I'm assuming since I compiled wxGTK with +gtk +gtk2 +unicode, I'd have all three versions. Shouldn't Audacity just use the gtk2(ansi) version instead of forcing me to do without unicode support in my wx applications?

For reference:
prodigy /home/roothorick # equery list audacity
[ Searching for package 'audacity' in all categories among: ]
 * installed packages
[I--] [  ] media-sound/audacity-1.2.2 (0)
prodigy /home/roothorick # equery list wxGTK
[ Searching for package 'wxGTK' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/wxGTK-2.4.2-r3 (2.4)
prodigy /home/roothorick # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  8 2004, 21:54:09)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.3, 1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS=" -O2 -pipe -march=athlon-tbird -fweb -frename-registers -ftracer -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=" -O2 -pipe -march=athlon-tbird -fweb -frename-registers -ftracer -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy distlocks sandbox sfperms"
GENTOO_MIRRORS=" ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.llarian.net/ http://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://angel.ghettocluster/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acpi alsa audiofile avi bitmap-fonts cdr cjk crypt dga dvd flac gif gmp gphoto2 gtk gtk2 imagemagick jack jpeg ladcca ladspa live mad mmx mmx2 mng mozilla mpeg ncurses nethack network nls no-old-linux noreiserfs nptl nvidia offensive oggvorbis openal opengl oss pam pcre perl png python quicktime readline real rtc sdl spell ssl svg tga tiff truetype unicode usb wmf xml xml2 xmms xv zlib"
Comment 1 Nick Hadaway 2005-01-04 00:07:00 UTC
Please see bug #60151.  It addresses this issue.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2005-03-03 13:28:36 UTC
Created attachment 52572 [details, diff]
1.2.2 diff

This will change the deps to only work with =wxGTK-2.4* and only use either gtk
or gtk2 without unicode.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-20 09:22:36 UTC
Created attachment 53952 [details, diff]
Updated patch for 1.2.3

This fixes the same problem, but also fixes bug #83301, and adds a few cleanups
at the ebuild.

HTH
Comment 4 Peter Hüwe 2005-04-15 10:25:17 UTC
why doesn't anybody add it to the portage tree?
Or at least do an downgrade in the portage tree?(i.e. masking the 1.2.3 ebuild)
(I'm sorry but I have no developer account)

would be quite nice
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-15 10:47:17 UTC
patch applied, thanks again to diego for another patch. =)