wxWidgets/wxGTK packaging proposal

Toshio Kuratomi a.badger at gmail.com
Wed Mar 9 10:47:35 PST 2011

On Wed, Mar 09, 2011 at 04:59:53PM +0100, Stanislav Brabec wrote:
> Hallo.
> wxWidgets has many configuration options. Changing some of them results
> a different package with different features and different library sets.
> Changing others breaks ABI, but SONAME and file name of libraries
> remains the same (at least --enable-stl was identified as ABI breaker).
> Our openSUSE Build Service allows to build custom packages. Also third
> party projects like Packman package wxWidgets. Many people rebuilt
> wxWidgets with different options and/or different file name.
> As a result, we got rpm conflict or strange crashes.
> That is why I completely changed the way wxWidgets are packaged in
> openSUSE - each variant installs libraries to a dedicated directory, and
> applications use RPATH. Only miminal patch was required in wx-config,
> most applications work without any source modification.
> I also created "compat" packages. They contain just a ld.so.conf.d
> extension - one of variant can be enabled for third party packages that
> don't use RPATH.
> If you are interested in compatible packaging of wxWidgets, please look
> at https://build.opensuse.org/project/show?project=X11%3AwxWidgets
> Note: rpm autoreqprov has problems with several instances of the same
> library in different directories. That is why all spec files have to
> contain %wx_provides macro. See README.SUSE:
> https://build.opensuse.org/package/view_file?file=README.SUSE&package=wxWidgets&project=X11%3AwxWidgets
If we supported variants like this, we'd very likely use environment-modules
(for end-users) and wrapper scripts to manage the paths (for binaries
shipped in Fedora).  Otherwise, the outline looks like something reasonable
from our side.  It would be more work for the wxwidgets maintainer, though
so unless the Fedora packagers were having problems caused by this we likely
wouldn't implement something like it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/distributions/attachments/20110309/f5c903d7/attachment.pgp>

More information about the Distributions mailing list