Mailinglist Archive: opensuse-factory (594 mails)
| < Previous | Next > |
Re: [opensuse-factory] wxGTK versus wxWidgets
- From: Cristian Morales Vega <cmorve69@xxxxxxxx>
- Date: Tue, 22 Sep 2009 21:09:29 +0200
- Message-id: <8235e6f40909221209w72b6789cwbafa0bbe384192e4@xxxxxxxxxxxxxx>
2009/9/22 Philipp Thomas <pth@xxxxxxx>:
wxWidgets/wxWidgets-devel, from Packman, "provides" wxGTK. So even
after editing the spec file both libraries will be accepted.
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
* Juan Erbes (jerbes@xxxxxxxxx) [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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |