[opensuse-factory] wxGTK versus wxWidgets
Some years ago, appeared in the gtk libraries the legend "gtk is widget". But now, if I try to install the amule package from the packman web site (for opensuse 11.1), it requires the wxwidgets package (it's now in the factory Packman repo), and if I install this package, it overwrites the libries files of wxGTK,m and the aplicatiosn compiled with wxGTK (such as audacity), do'nt work anymore, but now works amule. If I reinstall wxGTK, audacity works again, but do'nt work amule. What can I do? Thanks -- USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y TAMPOCO TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES: http://www.opensuse.org/es/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 21/09/09 17:25, Juan Erbes wrote:
Some years ago, appeared in the gtk libraries the legend "gtk is widget". But now, if I try to install the amule package from the packman web site (for opensuse 11.1), it requires the wxwidgets package (it's now in the factory Packman repo), and if I install this package, it overwrites the libries files of wxGTK,m and the aplicatiosn compiled with wxGTK (such as audacity), do'nt work anymore, but now works amule.
Fill bug reports where appropiate. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
2009/9/21 Cristian Rodríguez <crrodriguez@opensuse.org>:
On 21/09/09 17:25, Juan Erbes wrote:
Some years ago, appeared in the gtk libraries the legend "gtk is widget". But now, if I try to install the amule package from the packman web site (for opensuse 11.1), it requires the wxwidgets package (it's now in the factory Packman repo), and if I install this package, it overwrites the libries files of wxGTK,m and the aplicatiosn compiled with wxGTK (such as audacity), do'nt work anymore, but now works amule.
Fill bug reports where appropiate.
Where do you think, I should file a bug report? Thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 21/09/09 17:41, Juan Erbes wrote:
2009/9/21 Cristian Rodríguez <crrodriguez@opensuse.org>:
On 21/09/09 17:25, Juan Erbes wrote:
Some years ago, appeared in the gtk libraries the legend "gtk is widget". But now, if I try to install the amule package from the packman web site (for opensuse 11.1), it requires the wxwidgets package (it's now in the factory Packman repo), and if I install this package, it overwrites the libries files of wxGTK,m and the aplicatiosn compiled with wxGTK (such as audacity), do'nt work anymore, but now works amule.
Fill bug reports where appropiate.
Where do you think, I should file a bug report?
if wxWidgets is now used, it must follow the library packaging policy.. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
2009/9/21 Cristian Rodríguez <crrodriguez@opensuse.org>:
On 21/09/09 17:41, Juan Erbes wrote:
2009/9/21 Cristian Rodríguez <crrodriguez@opensuse.org>:
On 21/09/09 17:25, Juan Erbes wrote:
Some years ago, appeared in the gtk libraries the legend "gtk is widget". But now, if I try to install the amule package from the packman web site (for opensuse 11.1), it requires the wxwidgets package (it's now in the factory Packman repo), and if I install this package, it overwrites the libries files of wxGTK,m and the aplicatiosn compiled with wxGTK (such as audacity), do'nt work anymore, but now works amule.
Fill bug reports where appropiate.
Where do you think, I should file a bug report?
if wxWidgets is now used, it must follow the library packaging policy..
The wxWidgets packages are only in the packman repo. They are not in the official Opensuse repos. Thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Monday 21 Sep 2009 22:54:17 Cristian Rodríguez wrote:
On 21/09/09 17:41, Juan Erbes wrote:
2009/9/21 Cristian Rodríguez <crrodriguez@opensuse.org>:
On 21/09/09 17:25, Juan Erbes wrote:
Some years ago, appeared in the gtk libraries the legend "gtk is widget". But now, if I try to install the amule package from the packman web site (for opensuse 11.1), it requires the wxwidgets package (it's now in the factory Packman repo), and if I install this package, it overwrites the libries files of wxGTK,m and the aplicatiosn compiled with wxGTK (such as audacity), do'nt work anymore, but now works amule.
Fill bug reports where appropiate.
Where do you think, I should file a bug report?
if wxWidgets is now used, it must follow the library packaging policy..
Here we go again Just what is it with this list that makes people give half baked, half cocked, half answers and not even a clue bat in sight it really hacks me off and i dare say a lot of others as well just i got the balls to say it out loud. Pete .
* Juan Erbes (jerbes@gmail.com) [20090921 23:41]:
Where do you think, I should file a bug report?
No bug report will help in this case unless packman also has a bug tracker. Instead you should send an email to whoever builds the amule package and ask him if he could build his package against the system wxGTK package. Otherwise you could dl the amule.src.rpm, unpack it in a place of your choice with unrpm, edit the .spec file to use wxGTK in place of wxwidgets and then build your own amule.rpm. Philipp -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
2009/9/22 Philipp Thomas <pth@suse.de>
* Juan Erbes (jerbes@gmail.com) [20090921 23:41]:
Where do you think, I should file a bug report?
No bug report will help in this case unless packman also has a bug tracker. Instead you should send an email to whoever builds the amule package and ask him if he could build his package against the system wxGTK package. Otherwise you could dl the amule.src.rpm, unpack it in a place of your choice with unrpm, edit the .spec file to use wxGTK in place of wxwidgets and then build your own amule.rpm.
I triyed to build amule from the src.rpm with the command rpmbuild --rebuild amule.src.rpm but I got some errors. I will try to edit the spec file as You said. Thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
* Juan Erbes (jerbes@gmail.com) [20090922 18:45]:
I tried to build amule from the src.rpm with the command rpmbuild --rebuild amule.src.rpm but I got some errors.
That won't do what you want because it will buuild against the wrong library package.
I will try to edit the spec file as You said.
I'd be interested wether that works. Philipp -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
2009/9/22 Philipp Thomas <pth@suse.de>:
* Juan Erbes (jerbes@gmail.com) [20090922 18:45]:
I tried to build amule from the src.rpm with the command rpmbuild --rebuild amule.src.rpm but I got some errors.
That won't do what you want because it will buuild against the wrong library package.
wxWidgets/wxWidgets-devel, from Packman, "provides" wxGTK. So even after editing the spec file both libraries will be accepted.
I will try to edit the spec file as You said.
I'd be interested wether that works.
The problem *this time* is that openSUSE builds wih --enable-stl and Packman doesn't. But all this wxWidgets thing is a problem we have since a long time ago: - Unicode/no Unicode, STL/wx containers... it seems you can create tens of builds of an specific version all ABI incompatible between them. It's really easy to break. - Not sure why Packman builds an specific version. It's supposed to provide extra features, but it's not clear which ones. So users can't make an informed decision about which version they want. - There seems to be zero cooperation between openSUSE and Packman packagers. Perhaps those extra features could be added to the openSUSE package if asked? It's a complex package, from a very quick look the "--enable-rpath='${prefix}/%{_lib}'" from the openSUSE package probably shouldn't be there... couldn't Packman help with the openSUSE package instead of creating a new one (I don't checked deeply, perhaps the Packman package should be used as base...)? I use openSUSE since 10.1 and I think, with this one, I have seen three breaks in Packman's wxWidgets vs openSUSE's wxGTK. Probably there has been more. Just a test: I downloaded wxGTK-2.8.10.1-2.4.x86_64.rpm, from Factory, and wxWidgets-2.8.10.1-1.pm.6.1.x86_64.rpm, from Packman 11.2 repo. I uncpioed them in Packman/openSUSE dirs and run: for FILE in $(find openSUSE/usr/lib64/ -type f); do nm -DC "$FILE" | sed 's/[ 0-9a-f]* //' | sort> "$FILE".log; done for FILE in $(find Packman/usr/lib64/ -type f); do nm -DC "$FILE" | sed 's/[ 0-9a-f]* //' | sort> "$FILE".log; done There are 16 libraries. Well, a diff -u of libwx_baseu-2.8.so.0.6.0.log is 89,642 bytes long, and the one of libwx_gtk2u_core-2.8.so.0.6.0.log is 101,761 bytes long. Not tested the others... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
* Cristian Morales Vega (cmorve69@yahoo.es) [20090922 21:09]:
wxWidgets/wxWidgets-devel, from Packman, "provides" wxGTK. So even after editing the spec file both libraries will be accepted.
Given that Packman's wxWidgets is incompatible with our wxGTK that IMNSHO calls for a cluebat commando.
The problem *this time* is that openSUSE builds wih --enable-stl and Packman doesn't.
The problem here are the wxWidgets developers themselves. They recommend compiling with --enable-stl but don't make it the default. Using STL containers will disable some wxWidget features, which makes it necessary to change code that relies on those features. Again the wxWidgets folks could have made it simpler be making --enable-stl the default and thus increasing the pressure on authors of packages that use wxWidgets to change their code.
- Not sure why Packman builds an specific version. It's supposed to provide extra features, but it's not clear which ones. So users can't make an informed decision about which version they want. - There seems to be zero cooperation between openSUSE and Packman packagers. Perhaps those extra features could be added to the openSUSE package if asked?
I had the same idea and now that factory is open to all there is no need for two wxWidgets packages. So I've sent a mail to both the packman and the openSUSE maintainer to get them to talk to each other. Philipp -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Philipp Thomas wrote:
* Cristian Morales Vega (cmorve69@yahoo.es) [20090922 21:09]:
wxWidgets/wxWidgets-devel, from Packman, "provides" wxGTK. So even after editing the spec file both libraries will be accepted.
Given that Packman's wxWidgets is incompatible with our wxGTK that IMNSHO calls for a cluebat commando.
The problem *this time* is that openSUSE builds wih --enable-stl and Packman doesn't.
The problem here are the wxWidgets developers themselves. They recommend compiling with --enable-stl but don't make it the default. Using STL containers will disable some wxWidget features, which makes it necessary to change code that relies on those features. Again the wxWidgets folks could have made it simpler be making --enable-stl the default and thus increasing the pressure on authors of packages that use wxWidgets to change their code.
What do you recommend for 11.2? Disable STL? We have a bug that proposes the same: https://bugzilla.novell.com/show_bug.cgi?id=530027 I see another wxGTK ABI problem in 11.2: GSocket is defined by as C stricture in GLib inherited from GTK+ GSocket is defined as class by wxGTK I made an ugly work around for 11.2, which probably breaks ABI as well.
- Not sure why Packman builds an specific version. It's supposed to provide extra features, but it's not clear which ones. So users can't make an informed decision about which version they want.
It's even not clear which extra features are wanted. I guess that all of them can be enabled in openSUSE. On the other hand, there is a lot of features that are probably broken and nobody made them working in the Unicode build (e. g. ODBC). -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
2009/9/25 Stanislav Brabec <sbrabec@suse.cz>:
I see another wxGTK ABI problem in 11.2: GSocket is defined by as C stricture in GLib inherited from GTK+ GSocket is defined as class by wxGTK I made an ugly work around for 11.2, which probably breaks ABI as well.
Note there is this patch: http://trac.wxwidgets.org/ticket/10883, Packman uses it. I have to go and have no time to thing this, anyway probably you should ask some of the binutils guys. The patch from trac seems to not break the ABI, but at runtime the resolved symbol would depend of the linking order (a good side effect of now using --as-needed in 11.2 is that probably the linking order will always be correct?). Still, the C vs C++ symbol name mangling should not avoid this problem?? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Cristian Morales Vega wrote:
2009/9/25 Stanislav Brabec <sbrabec@suse.cz>:
I see another wxGTK ABI problem in 11.2: GSocket is defined by as C stricture in GLib inherited from GTK+ GSocket is defined as class by wxGTK I made an ugly work around for 11.2, which probably breaks ABI as well.
Note there is this patch: http://trac.wxwidgets.org/ticket/10883, Packman uses it.
I did exactly the reverse: #define GSocket wxGSocket in wx/gsocket.h includes. Thanks for pointing to it. Submitting the upstream one. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
2009/9/22 Philipp Thomas <pth@suse.de>:
* Juan Erbes (jerbes@gmail.com) [20090921 23:41]:
Where do you think, I should file a bug report?
No bug report will help in this case unless packman also has a bug tracker. Instead you should send an email to whoever builds the amule package and ask him if he could build his package against the system wxGTK package. Otherwise you could dl the amule.src.rpm, unpack it in a place of your choice with unrpm, edit the .spec file to use wxGTK in place of wxwidgets and then build your own amule.rpm.
If I do: unrpm aMule-2.2.5-0.pm.4.src.rpm I get 3 files plus: ls aMule-2.2.5-0.pm.4.src.rpm aMule-2.2.5.tar.bz2 aMule-CVS-wx_utils.h.patch aMule.spec How I do continue the rebuild after modify the aMule.spec? Half hour ago, I made a "zypper dup", and I found this list of packages that will change provider, and the great news, that today appeared the audacity package in the Packman repo (I mean it was build with the wxWdgets libraries): http://packman.unixheads.com/suse/factory/i586/ Los siguientes paquetes van a cambiar de proveedor: audacity openSUSE -> http://packman.links2linux.de enca openSUSE -> openSUSE-Education faad2 VideoLAN Project (http://www.videolan.org) -> Packman GeoIP http://packman.links2linux.de -> openSUSE java-1_5_0-sun openSUSE Build Service -> openSUSE java-1_6_0-sun openSUSE Build Service -> openSUSE java-1_6_0-sun-plugin openSUSE Build Service -> openSUSE lame Packman -> VideoLAN Project (http://www.videolan.org) libfaad2 http://packman.links2linux.de -> Packman libfaad-devel http://packman.links2linux.de -> Packman libGeoIP1 http://packman.links2linux.de -> openSUSE libGeoIP-devel http://packman.links2linux.de -> openSUSE libquicktime-devel openSUSE -> http://packman.links2linux.de libtwolame0 packman.links2linux.de -> http://packman.links2linux.de libtwolame-devel packman.links2linux.de -> http://packman.links2linux.de libvstream-client-devel packman.links2linux.de -> http://packman.links2linux.de libx264-72 VideoLAN Project (http://www.videolan.org) -> Packman libxine1 openSUSE -> http://packman.links2linux.de libxine1-gnome-vfs openSUSE -> http://packman.links2linux.de libxine1-pulse openSUSE -> http://packman.links2linux.de libxine-devel openSUSE -> http://packman.links2linux.de mjpegtools openSUSE -> Packman mjpegtools-devel openSUSE -> Packman twolame packman.links2linux.de -> http://packman.links2linux.de vstream-client packman.links2linux.de -> http://packman.links2linux.de w32codec-all packman.links2linux.de -> http://packman.links2linux.de xmms packman.links2linux.de -> http://packman.links2linux.de xmms-lib packman.links2linux.de -> http://packman.links2linux.de yasm openSUSE -> Packman yasm-devel openSUSE -> Packman Thanks to all, including tha Packman team, and Pascal Bleser. Regards -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
* Juan Erbes (jerbes@gmail.com) [20090923 03:35]:
How I do continue the rebuild after modify the aMule.spec?
rpmbuild aMule.spec Should do the trick.
I mean it was build with the wxWdgets libraries
Keep in mind that these are basically the same libraries but with a different name. Philipp -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
2009/9/23 Philipp Thomas <pth@suse.de>:
* Juan Erbes (jerbes@gmail.com) [20090923 03:35]:
How I do continue the rebuild after modify the aMule.spec?
rpmbuild aMule.spec
Should do the trick.
I mean it was build with the wxWdgets libraries
Keep in mind that these are basically the same libraries but with a different name.
Theoretically the libraries wxWidgets and wxGTK are equal, and even the names of the libraries files in the system also. But in practice are not equal If a application is builded with wxGTK, and in the system is the wxWidgets from the same version, ther application fails. The same applies in reverse. Thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2009-09-21 at 17:27 -0400, Cristian Rodríguez wrote:
On 21/09/09 17:25, Juan Erbes wrote:
Some years ago, appeared in the gtk libraries the legend "gtk is widget". But now, if I try to install the amule package from the packman web site (for opensuse 11.1), it requires the wxwidgets package (it's now in the factory Packman repo), and if I install this package, it overwrites the libries files of wxGTK,m and the aplicatiosn compiled with wxGTK (such as audacity), do'nt work anymore, but now works amule.
Fill bug reports where appropiate.
Which is...? Ie, is it wxGTK's fault, or is it wxwidgets? Or is it perhaps amule's fault? Or all three? Your answer is not very informative... - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkq4ACYACgkQtTMYHG2NR9X8rgCfYY3E87+zHuqMJ0dmdKTQwVqT 4XgAn0bup7CYl5P57XDvgsh6MlIzYCia =BRMP -----END PGP SIGNATURE-----
2009/9/21 Carlos E. R. <robin.listas@telefonica.net>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday, 2009-09-21 at 17:27 -0400, Cristian Rodríguez wrote:
On 21/09/09 17:25, Juan Erbes wrote:
Some years ago, appeared in the gtk libraries the legend "gtk is widget". But now, if I try to install the amule package from the packman web site (for opensuse 11.1), it requires the wxwidgets package (it's now in the factory Packman repo), and if I install this package, it overwrites the libries files of wxGTK,m and the aplicatiosn compiled with wxGTK (such as audacity), do'nt work anymore, but now works amule.
Fill bug reports where appropiate.
Which is...?
Ie, is it wxGTK's fault, or is it wxwidgets? Or is it perhaps amule's fault? Or all three?
Your answer is not very informative...
For more information, see the thread "aMule para Opensuse 11.2" in the opensuse-es list. Thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Your answer is not very informative...
For more information, see the thread "aMule para Opensuse 11.2" in the opensuse-es list.
Sorry, I don't speak spanish Karl -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Tuesday 22 September 2009 00:37:18 Carlos E. R. wrote:
Fill bug reports where appropiate.
Which is...?
Ie, is it wxGTK's fault, or is it wxwidgets? Or is it perhaps amule's fault? Or all three?
Your answer is not very informative...
And the question is not very helpful on opensuse-factory either. As I just talked about high traffic ;( Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2009-09-23 at 11:37 +0200, Stephan Kulow wrote:
On Tuesday 22 September 2009 00:37:18 Carlos E. R. wrote:
Fill bug reports where appropiate.
Which is...?
Ie, is it wxGTK's fault, or is it wxwidgets? Or is it perhaps amule's fault? Or all three?
Your answer is not very informative...
And the question is not very helpful on opensuse-factory either. As I just talked about high traffic ;(
Well, the question has spurred a usefull conversation about how can the issue be solved. We plain users can do little without help from insiders... - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkq7x1QACgkQtTMYHG2NR9W+VwCdFgiyL29NNVjhhnjo56mT2/Ng awoAnirEjm0CMIOQMCgjCuDmeevWUXlg =5ey9 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Op 24-09-09 21:24, Carlos E. R. schreef:
Well, the question has spurred a usefull conversation about how can the issue be solved. We plain users can do little without help from insiders...
- -- Cheers, Carlos E. R.
Unfortunately he is right... If people are under stress because deadlines are approaching, they become unreasonable. This is a natural proces. So is the reaction when it seems that there is no time.. To understand this, takes away the need to put others under stress, and make unnessesary decisions, that eventualy will not lead to the desired goal. Some might see this as 'OT', or rant. But it just makes clear the value of inner peace. If we die, the world stops (for us). Just be cool(o), and everything will be allright... ;) -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.31-8-desktop x86_64 Huidige gebruiker: oddball@AMD64x2-SFN1 Systeem: openSUSE 11.2 Milestone 7 (x86_64) KDE: 4.3.1 (KDE 4.3.1) "release 2" -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Hi Juan, On Mon, 21 Sep 2009 18:25:17 -0300, Juan Erbes <jerbes@gmail.com> wrote: [wxGTK -> wxWidgets] the factory packmanrepo isn't ready, please wait for an announce from packman. Detlef -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (11)
-
Carlos E. R.
-
Cristian Morales Vega
-
Cristian Rodríguez
-
Detlef Reichelt
-
Juan Erbes
-
Karl Sinn
-
Oddball
-
Peter Nikolic
-
Philipp Thomas
-
Stanislav Brabec
-
Stephan Kulow