Bug 750056 - Package splitting isn't really practical
Summary: Package splitting isn't really practical
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openbox
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christoph Wickert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-30 13:24 UTC by Mario Blättermann
Modified: 2012-06-20 00:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-20 00:33:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mario Blättermann 2011-10-30 13:24:04 UTC
The files in the subpackages of Openbox are actually not on the right places.

Current state:

$ rpm -ql openbox
/etc/xdg/openbox
/etc/xdg/openbox/autostart.sh
/etc/xdg/openbox/menu.xml
/etc/xdg/openbox/rc.xml
/usr/bin/obxprop
/usr/bin/openbox
/usr/bin/openbox-session
/usr/bin/setlayout
/usr/share/applications/openbox.desktop
/usr/share/doc/openbox-3.4.11.2
/usr/share/doc/openbox-3.4.11.2/AUTHORS
/usr/share/doc/openbox-3.4.11.2/CHANGELOG
/usr/share/doc/openbox-3.4.11.2/COMPLIANCE
/usr/share/doc/openbox-3.4.11.2/COPYING
/usr/share/doc/openbox-3.4.11.2/README
/usr/share/doc/openbox-3.4.11.2/menu.xml
/usr/share/doc/openbox-3.4.11.2/menu.xsd
/usr/share/doc/openbox-3.4.11.2/rc-mouse-focus.xml
/usr/share/doc/openbox-3.4.11.2/rc.xsd
... (snipping the l10n ant theme files)
/usr/share/xsessions/openbox.desktop


$ rpm -ql openbox-gnome
/usr/bin/gdm-control
/usr/bin/gnome-panel-control
/usr/bin/openbox-gnome-session
/usr/share/gnome-session/sessions
/usr/share/gnome-session/sessions/gnome-openbox.session
/usr/share/gnome/wm-properties
/usr/share/gnome/wm-properties/openbox.desktop
/usr/share/man/man1/openbox-gnome-session.1.gz
/usr/share/xsessions/openbox-gnome.desktop


The file "/usr/bin/gdm-control" from openbox-gnome should be splitted in another sub package, and it should get a dependency to gdm, of course. It allows Openbox users to use the hibernate/shutdown functions of gdm, but it doesn't need GNOME at all.

The file "/usr/bin/gnome-panel-control" should also go its own package, because it's actually a wrapper to access gnome-panel remotely. Means, some functions such as shortcuts for panel applets or the Alt+F2 dialog can be accessed via this binary. But it doesn't need Openbox at all, although it is part of the source tarball. When I'm using it under Fluxbox, it works fine. See in [1] how the Debian folks has solved it.

[1] http://packages.debian.org/de/wheezy/gnome-panel-control

Comment 1 Christoph Wickert 2011-10-31 23:07:24 UTC
Ok, imagine we have
openbox
openbox-devel
openbox-gdm: requires gdm
openbox-gnome
openbox-libs
gnome-panel-control: requires gnome-panel

Would it be ok it openbox-gnome required both gnome-panel-control and openbox-gdm?

Comment 2 Mario Blättermann 2011-11-01 18:01:02 UTC
(In reply to comment #1)
> Would it be ok it openbox-gnome required both gnome-panel-control and
> openbox-gdm?

Yes, of course. The package openbox-gnome provides just a full-featured GNOME session (through the dependencies), but with Openbox as window manager.

In any case, gnome-panel-control doesn't need GNOME at all and should have its own package. Well, somewhat odd that it is part of the Openbox sources, but I think the upstream developers were looking for a applicable gateway to call the panel appropriately. The better that we have an universal tool which doesn't need a certain window manager.

Comment 3 Christoph Wickert 2011-11-01 18:10:38 UTC
(In reply to comment #2)
> The package openbox-gnome provides just a full-featured GNOME
> session (through the dependencies), but with Openbox as window manager.

+1

> In any case, gnome-panel-control doesn't need GNOME at all and should have its
> own package.

Well, it needs gnome-panel which needs gnome-shell and pretty much everything of GNOME. :(

Or were you trying to say it should not depend on openbox?

Comment 4 Mario Blättermann 2011-11-01 20:18:10 UTC
(In reply to comment #3)
> Or were you trying to say it should not depend on openbox?

Yes, that's what I want to say. It's a tool which is independent from the window manager. It needs gnome-panel only. Well, the gnome-panel package has recursive dependencies to other GNOME stuff, which isn't really needed, actually. But in any case, such a package won't need Openbox at all.

Comment 5 Mario Blättermann 2012-02-12 20:52:51 UTC
Any news about this?

Comment 6 Miroslav Lichvar 2012-03-30 13:14:32 UTC
I'm ok with the suggestions, patches for the spec are welcome.

Comment 7 Fedora Update System 2012-06-03 23:16:22 UTC
openbox-3.5.0-6.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/openbox-3.5.0-6.fc17

Comment 8 Fedora Update System 2012-06-05 23:03:17 UTC
Package openbox-3.5.0-6.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openbox-3.5.0-6.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8857/openbox-3.5.0-6.fc17
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2012-06-20 00:33:52 UTC
openbox-3.5.0-6.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.