First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 9693
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Olivier Crete <tester@gentoo.org>
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 9693 depends on: Show dependency tree
Bug 9693 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: 2002-10-26 02:58 0000
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 From SpanKY 2002-10-26 03:06:26 0000 -------
heh i was already doing that ... 
 
wxGTK was easy, but wxPython has changed a lot :/ 

------- Comment #2 From Olivier Crete 2002-10-26 03:11:28 0000 -------
I get bug 9470 while trying to compile wxgtk tho....

------- Comment #3 From SpanKY 2002-10-26 03:14:26 0000 -------
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 From SpanKY 2002-10-26 14:21:14 0000 -------
wxGTK-2.3.3 has been added (has the fix for #9470)

------- Comment #5 From SpanKY 2002-10-26 14:32:51 0000 -------
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 From SpanKY 2002-10-29 01:12:27 0000 -------
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 From Olivier Crete 2002-10-29 11:34:28 0000 -------
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 From SpanKY 2002-10-29 11:38:33 0000 -------
ok, i assumed that running ./configure;make in the root would do the wxPython 
stuff for me ... 
ill check that out, thanks 

------- Comment #9 From Nick Hadaway 2002-10-29 12:07:14 0000 -------
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 #10 From SpanKY 2002-10-29 12:18:37 0000 -------
ok, i added the comments to this version ... test it please :) 
 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/dev-python/wxPython/wxPython-2.3.3.1-r1.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup 

------- Comment #11 From SpanKY 2002-10-29 12:21:36 0000 -------
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 From Olivier Crete 2002-10-29 16:46:26 0000 -------
It balks on TIFF...

------- Comment #13 From SpanKY 2002-10-30 01:31:50 0000 -------
configure or make stage ? 
 
post the error ? 

------- Comment #14 From Olivier Crete 2002-10-30 10:27:26 0000 -------
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 From boruss 2002-10-30 10:37:33 0000 -------
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 From SpanKY 2002-10-30 11:11:44 0000 -------
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 #17 From SpanKY 2002-10-30 12:31:48 0000 -------
try this one:

http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/dev-python/wxPython/wxPython-2.3.3.1-r2.ebuild#rev1.1

------- Comment #18 From Olivier Crete 2002-10-30 21:15:30 0000 -------
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 From SpanKY 2002-10-30 22:24:35 0000 -------
good call ...  
ill make it look like:  
die "make failed ... make sure wxGTK was compiled with all graphic libs 
enabled"  

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