Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9693 - Please update wxGTK and wxPython
Summary: Please update wxGTK and wxPython
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-26 02:58 UTC by Olivier Crete (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Crete (RETIRED) gentoo-dev 2002-10-26 02:58:56 UTC
Please update wxgtk and wxpython to their latest versions. PySoulSeek 0.4.7
requires wxpython 3.3.3+ (latest is 3.3.3.1).. an dlatest for wxgtk is 3.3.3

For wxgtk, renaming the .ebuild does the job

WxPython's source file is wxPythonSrc-<version>.tar.gz.. I dont know how to fix
that automatically (otherwise I would have submitted an modified ebuild)...
Comment 1 SpanKY gentoo-dev 2002-10-26 03:06:26 UTC
heh i was already doing that ... 
 
wxGTK was easy, but wxPython has changed a lot :/ 
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2002-10-26 03:11:28 UTC
I get bug 9470 while trying to compile wxgtk tho....
Comment 3 SpanKY gentoo-dev 2002-10-26 03:14:26 UTC
my comment #8 in Bug 9470 points to comment #1 in Bug 9663 ... 
 
its the current 'fix' for making the 2.3.x series of wxGTK compile ... 
Comment 4 SpanKY gentoo-dev 2002-10-26 14:21:14 UTC
wxGTK-2.3.3 has been added (has the fix for #9470)
Comment 5 SpanKY gentoo-dev 2002-10-26 14:32:51 UTC
hey raker, take a look at updating wxPython ?

theyve changed things since the last version ... and you seem to be pretty 
tight with this package ...
Comment 6 SpanKY gentoo-dev 2002-10-29 01:12:27 UTC
wxPython-2.3.3.1 added to cvs ... could you *please* check it out and make sure 
it works ... this ebuild is *drastically* different from the previous ones 
because it has been changed upstream bigtime 
 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/dev-python/wxPython/wxPython-2.3.3.1.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup 
Comment 7 Olivier Crete (RETIRED) gentoo-dev 2002-10-29 11:34:28 UTC
A few problems with the ebuild.. First, wxPython now includes its own wxGTK, it
no longer requires an external one, but it can use the version installed
independantly on the system too.. I dont know what you prefer

The current ebuild only builds the wxgtk part.. You also need to run the
setup.py in the wxPython subdir to install the python part..

Check the README.1st.txt in the wxPython tarball.... I tried emerging it on my
system using a slightly modified version of the 2.3.2.* ebuild (adding a MY_P
and a /wxPython in th eright places), but it complains about tiff stuff.. I dont
really know why...
Comment 8 SpanKY gentoo-dev 2002-10-29 11:38:33 UTC
ok, i assumed that running ./configure;make in the root would do the wxPython 
stuff for me ... 
ill check that out, thanks 
Comment 9 Nick Hadaway 2002-10-29 12:07:14 UTC
regarding tiff... tiff cannot be an optional depend... it is required... the 
configure script gives you the option for disabling support for it but it 
doesn't disable tiff-related code...  hence the error..
Comment 11 SpanKY gentoo-dev 2002-10-29 12:21:36 UTC
with this latest version i was able to get a python package that depended on 
wxGTK-2.3.3 and wxPython-2.3.3.1 to compile/install ... 
 
it hadnt with the earlier versions ... 
Comment 12 Olivier Crete (RETIRED) gentoo-dev 2002-10-29 16:46:26 UTC
It balks on TIFF...
Comment 13 SpanKY gentoo-dev 2002-10-30 01:31:50 UTC
configure or make stage ? 
 
post the error ? 
Comment 14 Olivier Crete (RETIRED) gentoo-dev 2002-10-30 10:27:26 UTC
Here is the error I get while trying to compile  dev-python/wxPython-2.3.3.1-r1
I get the -NDEBUG warning for every file compiled in the wxPython part (not the
built-in wxGTK part of the ebuild)

gcc -NDEBUG -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc
-I/usr/include/python2.2 -c src/gtk/image.cpp -o
build/temp.linux-i686-2.2/src/gtk/image.o -I/usr/lib/wx/include/gtk-2.3
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -UNDEBUG -march=pentium4 -O3 -pipe
gcc: unrecognized option `-NDEBUG'
src/gtk/image.cpp: In function `void* 
   SwigwxTIFFHandlerTowxImageHandler(void*)':
src/gtk/image.cpp:1220: `wxTIFFHandler' undeclared (first use this function)
src/gtk/image.cpp:1220: (Each undeclared identifier is reported only once for 
   each function it appears in.)
src/gtk/image.cpp:1220: `src' undeclared (first use this function)
src/gtk/image.cpp:1222: parse error before `)' token
src/gtk/image.cpp: In function `void* SwigwxTIFFHandlerTowxObject(void*)':
src/gtk/image.cpp:1230: parse error before `)' token
src/gtk/image.cpp: In function `PyObject* _wrap_new_wxTIFFHandler(PyObject*, 
   PyObject*, PyObject*)':
src/gtk/image.cpp:1238: `_result' undeclared (first use this function)
src/gtk/image.cpp:1247: parse error before `)' token
src/gtk/image.cpp:1247: parse error before `(' token
error: command 'gcc' failed with exit status 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -48, Exitcode 1
!!! (no error message)
Comment 15 boruss 2002-10-30 10:37:33 UTC
FOR  SpanKY 

1)

	myconf=""
	if [ `use opengl` ] ; then
		myconf="${myconf} BUILD_GLCANVAS=1"
	else
		myconf="${myconf} BUILD_GLCANVAS=0"
		patch -p1 < ${FILESDIR}/noglcanvas.diff || die "patch failed"
	fi

^^^^^^^^^^^^
This is patch always failed. Original file setup.py changed. Patch not changed.
Change patch please.
2)Why you compiles wxGTK again? When wxPython compiled he use wxGTK library
instaled in system. wxGTK which instaled in system may not compiled with opton
--whith-tiff? when wxPython failed (balcks on TIFF).
FOR  Olivier Crete :
You neded remerge wxGTK with USE=tiff
Comment 16 SpanKY gentoo-dev 2002-10-30 11:11:44 UTC
hmm, so i didnt realize that all the extra stuff was simply wxGTK ...
guess ill just rtfm next time

and ill have an -r2 out that fixes this junk ;)

thx boruss
Comment 18 Olivier Crete (RETIRED) gentoo-dev 2002-10-30 21:15:30 UTC
The last one was a success.. It works great.. One last comment, it would be
great to add a comment in the wxPython ebuild notifying users that wxGTK needs
to be compiled with all the graphics libs (tiff, etc) USE flags on. Maybe on the
"|| die".
Comment 19 SpanKY gentoo-dev 2002-10-30 22:24:35 UTC
good call ...  
ill make it look like:  
die "make failed ... make sure wxGTK was compiled with all graphic libs 
enabled"