Andreas Hanke wrote:
Richard Bos schrieb:
is it possible to explain, why this is done? What is the advantage of /usr or the disadvantage of /opt?
The /opt/gnome <-> /usr separation simply doesn't work. It worked reasonably in the past when GNOME was sort of self-contained, but today GNOME packages install a lot of files (mono libraries, python modules, dbus services, message catalogs...) that *must* live in /usr.
This means that the packages and spec files became uglier and worse all the time because packagers had to move parts of the stuff back from /opt/gnome to /usr. Of course it's very easy to forget that, resulting in completely broken packages. There were tons of such bugs in the openSUSE 10.2 preparation period and there are still some of those floating around, affecting both SUSE and especially 3rd party packages because some people are not always aware of where stuff has to go.
(That's my main point against /opt/gnome, there are others as well)
That's the exact technical explanation. Look at Bugzilla and package changelogs for keyword "prefix clash" or look at extra "mv" commands in spec files to get a proof. Additionally installation of distribution packages to /opt: - Breaks LSB rules. - Forces third parties to create many distribution specific RPM packages. -- 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 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