Re: [opensuse-packaging] GNOME: planned changes (move to /usr, scriptlets)

2007-01-03 Thread Gary Ekker
On Wed, 2007-01-03 at 18:26 +0100, Stanislav Brabec wrote:
 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.
 

Fixing these issues makes it much easier to have cross-distro specfiles,
which is a huge win in my opinion. It also allows us to take advantage
of some of the rpm macros that we can't use currently.

-Gary

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-packaging] GNOME: planned changes (move to /usr, scriptlets)

2007-01-03 Thread Richard Bos
Op woensdag 3 januari 2007 17:40, schreef Andreas Hanke:
  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.

As kde is dependend on e.g. dbus as well, does that mean that in the future 
kde (kde4) will move to /usr as well?

Op woensdag 3 januari 2007 18:26, schreef Stanislav Brabec:
 Additionally installation of distribution packages to /opt:
 - Breaks LSB rules.
Does the LSB forbid to install packages outside /usr.  I thought that the LSB 
allows packages to be installed /opt, under certain conditions.

 - Forces third parties to create many distribution specific RPM
   packages.
The same is valid in think for kde (see above).  Does this mean that kde(4) 
will be located in /usr in the future as well?

-- 
Richard Bos
Without a home the journey is endless
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-packaging] GNOME: planned changes (move to /usr, scriptlets)

2007-01-03 Thread JP Rosevear
On Wed, 2007-01-03 at 21:30 +0100, Richard Bos wrote:
 Op woensdag 3 januari 2007 17:40, schreef Andreas Hanke:
   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.
 
 As kde is dependend on e.g. dbus as well, does that mean that in the future 
 kde (kde4) will move to /usr as well?

I believe that is the plan, the KDE team didn't want to move until KDE 4
though.

-JP
-- 
JP Rosevear [EMAIL PROTECTED]
Novell, Inc.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-packaging] GNOME: planned changes (move to /usr, scriptlets)

2007-01-03 Thread Richard Bos
Op woensdag 3 januari 2007 22:00, schreef Andreas Hanke:
 The current idea seems to be that all distro packages should have /usr
 as prefix, that's why /usr/X11R6 has been killed as well. (Unfortunately
 not complete - it should be killed completely for the next release)

Do you mean with a distro package, a package that is delivered by opensuse 
via the boxed or online version?

-- 
Richard Bos
Without a home the journey is endless
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-packaging] GNOME: planned changes (move to /usr, scriptlets)

2007-01-03 Thread Andreas Hanke
Richard Bos schrieb:
 Do you mean with a distro package, a package that is delivered by opensuse 
 via the boxed or online version?

Yes.

And 3rd party binary packages that have been built specifically for
openSUSE, and are not meant to be used across different distributions or
to comply with LSB packaging rules [1], are included in this definition
as well. (Packman, build service etc.)

[1] Packages that belong to the distribution themselves don't need to
comply with LSB packaging rules, otherwise *everything* would have to
use /opt, be partially statically linked or ship a copy of half of the
basesystem themselves etc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]