Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

[Cooker] Re: /etc/X11 moved to /usr/share/X11

pcpa

2008-05-14

Replies: Find Java Web Hosting

Author LoginPost Reply
Anssi Hannula wrote:
> pcpa wrote:
>  
>> Log:
>> o Update to latest git "server-1.4-branch".
>> o Update %%pre script to finish moving <basedir>/X11 files to %%{_datadir}/X11.
>>  The script has been updated to a recursive version because moving relative
>>  symlinks may leave broken ones.
>> o Also change /usr/X11R6 from a real directory to a symlink to /usr.
>>
>>  
> [...]
>  
>> Modified: cooker/x11-server/current/SPECS/x11-server.spec
>> ==============================================================================
>> --- cooker/x11-server/current/SPECS/x11-server.spec  (original)
>> +++ cooker/x11-server/current/SPECS/x11-server.spec  Wed May 14 18:48:42 2008
>> +# Move anything that is still being installed in /usr/lib/X11 or /etc/X11
>> +# to /usr/share/X11 and adjust symbolic link
>> +for dir in %{buildroot}{%{_libdir},%{_sysconfdir}}/X11; do
>> +   if [ -d $dir ]; then
>> +  for file in `find $dir -maxdepth 1 -mindepth 1`; do
>> +     mv $file %{buildroot}%{_datadir}/X11/`basename $f`
>> +  done
>> +  rmdir $dir
>> +   fi
>> +   ln -sf %{_datadir}/X11 $dir
>> +done
>>  
>
> I'm strongly against moving configuration files such as xorg.conf into
> /usr/share/X11. This is in a clear violation of FHS and our general policy.
> There should be *no* configuration files under /usr.
>  
I see the reasoning on /etc/X11/xorg.conf and /etc/X11/fs/config.
Everything else, while being a "system wide default configuration
file", is most likely to never be changed, or there is an alternative
for a per user customization file.
Maybe xorg.conf will still be used when we upgrade to X Server 1.5,
but a signficant portion of it will be handled by dbus/hal, and
xfs is obsolete.

Paulo

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.