Currently we have the package pkg:/x11/server/xorg which contains
the X servers Xorg, Xephyr & Xvfb, plus all the input device drivers
for Xorg.
My refactoring plan splits this into:
pkg:/x11/server/xserver-common
pkg:/x11/server/xorg
pkg:/x11/server/xephyr
pkg:/x11/server/xvfb
pkg:/x11/server/xorg/driver/xorg-input-acecad
pkg:/x11/server/xorg/driver/xorg-input-hotkey
pkg:/x11/server/xorg/driver/xorg-input-keyboard
pkg:/x11/server/xorg/driver/xorg-input-mouse
pkg:/x11/server/xorg/driver/xorg-input-synaptics
pkg:/x11/server/xorg/driver/xorg-input-vmmouse
pkg:/x11/server/xorg/driver/xorg-input-void
The xserver-common contains common bits that all xservers depend
on so xorg, xephyr & xvfb will all list dependencies on it. The
xorg driver packages should all depend on xorg, but it shouldn't
depend on them, since Xorg can be used with any subset of those
input drivers (including running fine with no input driver at all
if you want a display kiosk sort of setup).
If I was renaming the xorg package as part of the refactoring,
then this would be easy, as pkg:/x11/server/xorg would just be
marked renamed and depend on all the new packages.
Since I'm not though, it appears I have to choose between allowing
minimization or ensuring that upgrades preserve the existing bits.
Is there anything I'm missing? Is a new form of depend going to
be needed to allow this sort of usage when other consolidations
refactor as well?
For now, the compromise plan I'm planning on is:
- pkg:/x11/server/xorg will list dependencies on:
pkg:/x11/server/xorg/driver/xorg-input-keyboard
pkg:/x11/server/xorg/driver/xorg-input-mouse
While these aren't strictly required, they're used by the
majority of Xorg users and it's very difficult to recover
if all your input device drivers disappear during upgrade.
- A release note will inform users that if they need Xephyr,
Xvfb, or one of the lesser used input drivers, they may need
to pkg install them after upgrade. The mouse & keyboard
drivers should provide workable input to allow them to do so.
(Touchpad users will lose some configuration options until they
reinstall synaptics, but mouse will let them move the cursor
and click buttons. VMWare users will lose the smooth mouse
integration, much like VirtualBox before you install it's
guest additions mouse driver, but mouse will work. I don't
know if anyone actually uses Acecad tablets. The void driver
is useless since Xorg acquired (and now defaults to) the option
to run without input devices. Toshiba laptop users will not
have their display switch hotkey work until they reinstall the
hotkey driver, but users of all other computers won't miss it.)
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss