[Gpe-list] gpe-dm and xserver-common

Angelo Arrifano miknix at gentoo.org
Mon May 4 03:29:27 CEST 2009


> Hi!

Sorry, I missed your reply. Copy-pasting from the linuxtogo archives.
> 
> Angelo Arrifano schrieb:
>> Given the gpe-dm startup sequence:
>> http://gpe.handhelds.org/projects/GPE-login.shtml
> 
> *cough* This link is evil ;)

Sorry :)
However it is good info, setting up a similar page at linuxtogo would be
nice.
> 
>> "gpe-dm runs /etc/X11/Xinit as root, and waits for it to finish. The
>> default script will execute everything from /etc/X11/Xinit.d in order"
>> 
>> /etc/X11/Xinit is provided by xserver-common, wouldn't it make sense to
>> be packaged in gpe-dm instead?
> 
> I'm not really sure about this. The idea of xserver-common is to distinguish
> between the GPE bits and the independent files to bring up an X session.
> On the other hand some distribution might want to provide a different script to
> replace ours.

Yes, but having a device independent /etc/X11/Xinit bundled with gpe-dm
 for executing /etc/X11/Xinit.d/* scripts, wouldn't distribution
maintainers still have the ability to put platform dependent files in
/etc/X11/Xinit.d/? As far as I understand, there is no need to pollute
/etc/X11/Xinit if we have the whole /etc/X11/Xinit.d/ dir to fill in.

> 
>> Then, IMHO the scripts in xserver-common should also be distro and
>> device independent.
> 
> Yes as much as possible. I wonder what might be the best way to handle both both
> device independence and device awareness. Currently xserver-common tries to
> solve both. If a known device is detected then set the known to be good
> parameters and if not proceed with some defaults.
> 
>> Since we at gentoo are in the process of moving GPE into the main
>> portage tree, we would like to know what is upstream's opinion about
>> this subject so that we can patch these files correctly and share our work.
> 
> What would be the gentoo-way to deal with all these Kdrive servers and multiple
> devices?

I cannot speak for the others. However I believe the gentoo way would be
making the ebuild/installed files device independent. Device
configurations etc.. are left to the user or the embedded system maintainer.
> 
> Greetings
> 
> Florian

Greetings,



More information about the Gpe-list mailing list