[Smartphones-userland] [Debian] Finally, Xglamo into the pkg-fso repository
luca at pca.it
Mon Sep 29 16:40:52 CEST 2008
I finished to work on the Xglamo Debian package , at least to a point
where it's good to be released. Thus, you can now install Xglamo simply
with `apt-get install xserver-xglamo`.
Apart from speed/xrandr improvements, not relying on xserver-xorg means
roughly 18MB freed. However, ATM it's impossible to remove
xserver-xorg, read the point 2) below.
Now something to be aware of:
1) at least two xglamo binary packages were already in the wild, Jan's
 and Arne's : please remove them ASAP and advise any user to
switch to the pkg-fso one. To smooth transitions to the new binary
package name (xserver-xglamo), the pkg-fso repository contains a
dummy xglamo binary package which depends on xserver-xglamo :-)
2) the zhone-session init script (soon to be replaced by ndm ) relies
on the xinit/startx infrastructure, which expects /etc/X11/X (a
symlink to /usr/bin/Xorg created by xserver-xorg's postinst).
To use the same infrastructure, xserver-xglamo's postinst creates a
(dpkg-)diversion of /etc/X11/X to /etc/X11/X.distrib and creates a
new symlink /etc/X11/X pointing to /usr/bin/Xglamo. At package
removal, the (dpkg-)diversion is removed and the old symlink is
restored. This when a /etc/X11/X symlink is already present
(i.e. xserver-xorg is already installed). When no /etc/X11/X symlink
is present, nothing is diverted and the new one is created.
This means that if you install/purge xserver-xorg *after* having
installed xserver-xglamo, the /etc/X11/X symlink is lost and you need
to manually recreate it. As I previously stated , I'll bring up
this issue with the Debian X Strike Force .
During the last test, I just discovered that xinit/startx expects
/usr/bin/X as well: for this reason, xserver-xorg cannot be purged.
I'll work on the issue ASAP.
3) I decided to not modify hw/kdrive/linux/tslib.c WRT the character
devices it expects for the touchscreen and to not declare it via
TSLIB_TSDEVICE . Instead, thanks to udev, a symlink /dev/ts is
created, pointing to /dev/input/event1 (i.e. the real character
device for the touchscreen).
4) since I wanted to fully integrate with the existing XSF 
infrastructure, xserver-xglamo depends on x11-common. This should
also help any other X-depending appplication to not install
5) xrandr now works, even if there are still some small problems .
Which means that you can use mplayer at full screen :-D
Please test the package! As usual, report any Debian-specific problem
(e.g. packaging issues, configuration or installation) to the Debian BTS
with reportbug. For all the other issues, please either send a mail to
this list or use the FSO tracker .
Gismo / Luca
 this seems to me an ugly hack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 314 bytes
Desc: not available
More information about the Smartphones-userland