Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46737 - Patch for wxGTK ebuild to support GTK+-2.4.
Summary: Patch for wxGTK ebuild to support GTK+-2.4.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
: 47081 72939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-03 19:27 UTC by Lawrence Gold
Modified: 2005-01-15 11:08 UTC (History)
4 users (show)

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


Attachments
This is a patch for wxGTK-2.4.2 based on the 20040331 CVS snapshot of wxWidgets. (wxGTK-2.4.2-private.patch,2.19 KB, patch)
2004-04-03 19:28 UTC, Lawrence Gold
Details | Diff
This is the modified ebuild that makes use of the attached patch file. (wxGTK-2.4.2.ebuild,2.50 KB, application/octet-stream)
2004-04-03 19:29 UTC, Lawrence Gold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lawrence Gold 2004-04-03 19:27:31 UTC
When wxGTK-2.4.2 is built with the "gtk2" USE flag enabled, building wxGTK-based programs such as aMule and audacity results in errors because wxGTK is making use of three private GTK+ functions.

Reproducible: Always
Steps to Reproduce:
1. Emerge GTK+-2.4.
2. Emerge wxGTK-2.4.2 with USE="gtk2"
3. Emerge a wxGTK app, such as aMule or audacity.

Actual Results:  
Step 3 results in build errors.  (I'm afraid I don't have the exact error
messages handy.)

Expected Results:  
It should build without errors, since theoretically GTK+-2.4 is
binary-compatible with 2.2 and 2.0.

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4)
=================================================================
System uname: 2.6.4 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/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 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com
http://mirrors.tds.net/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X accessibility aim alsa apm avi berkdb bidi cdr chroot cjk crypt
cups dga dvd dvdr encode evo fam fbcon flac foomaticdb gdbm gif gnome gpm
gstreamer gtk gtk2 icq imap imlib jabber java joystick jpeg lesstif libg++
libwww mad mikmod mmx motif mozilla mpeg msn ncurses nls oggvorbis opengl oscar
oss pam pda pdflib perl png ppds python qt quicktime readline samba scanner sdl
slang speex spell sse ssl svga tcpd tetex tiff truetype unicode usb wmf
wxwindows x86 xml xml2 xmms xv yahoo zlib"
Comment 1 Lawrence Gold 2004-04-03 19:28:31 UTC
Created attachment 28656 [details, diff]
This is a patch for wxGTK-2.4.2 based on the 20040331 CVS snapshot of wxWidgets.
Comment 2 Lawrence Gold 2004-04-03 19:29:21 UTC
Created attachment 28657 [details]
This is the modified ebuild that makes use of the attached patch file.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-04-04 03:26:31 UTC
please do not directly assign bugs
Comment 4 Dominik Stadler (RETIRED) gentoo-dev 2004-11-16 13:38:35 UTC
*** Bug 47081 has been marked as a duplicate of this bug. ***
Comment 5 Rob Cakebread (RETIRED) gentoo-dev 2004-12-03 14:55:01 UTC
*** Bug 72939 has been marked as a duplicate of this bug. ***
Comment 6 Rob Cakebread (RETIRED) gentoo-dev 2004-12-05 12:55:56 UTC
Committed patch to CVS, thanks Lawrence.
Comment 7 Vaclav Slavik 2005-01-15 11:08:09 UTC
Could the wxGTK ebuild's release version be increased to -r4, please? It's not obvious that re-emerging wxGTK-2.4.2-r3 fixes this problem (see e.g. bug #78082, where not even the person who closed the bug knew it's wxGTK bug). OTOH, if Portage offered wxGTK upgrade, one would try to upgrade wxGTK first to see if it fixes the bug.