Richard Guenther wrote:
On Thu, 25 Mar 2010, Marcus Rueckert wrote:
On 2010-03-25 15:33:50 +0100, Petr Gajdos wrote:
The last pair of packages form libpng12-compat-devel and libpng14-compat-devel containing the common files, like /usr/bin/libpng-config, /usr/include/png.h, etc. symlinks and man-pages (maybe we should have -doc package here?). These packages will require libpng12-devel and libpng14-devel respectively. BOTH will obsolete and provide libpng-devel symbol and BOTH will conflict with otherproviders(libpng-devel).
update-alternatives might be worth a look here. then the main devel packages could be installed in parallel and you wouldnt need the additional packages.
Using update-alternatives would require either uninstallation of the newer devel package or configuration change to compile package that links against unversioned libpng and requires libpng12. Imagine an application that links against unversioned libpng12 abd requires a library linked with libpng14. You would need libpng14 present, but unversioned files linked to libpng12. Will it work in OBS? Can you modify alternatives configuration before build start?
The easier solution is to not allow parallel installation of the devel packages. Either by dropping the older devel package completely (and thus only having one libpng-devel package in the repo for the newest libpng) or by adding proper conflicts (I'd really like to be able to do Provides: libpng-devel Conflicts: libpng-devel, but that doesn't work ...).
There is a lot packages that need porting. We can expect a longer period before all of them will be ported and even longer period for proprietary binaries support. Introducing full conflict does not look as a smart solution. Many projects link against properly versioned libpng files and both instances can co-exist in parallel. Only compatibility unversioned symlinks conflict.
All the non-standard (read: non-upstream) symlinking doesn't sound appealing to me.
This is a standard upstream symlinking. -- 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-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org