Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

[Cooker] /etc/X11 moved to /usr/share/X11 (was: r207244 - in cooker/x11-server/current:
SOURCES)

Anssi Hannula

2008-05-14

Replies:

Author LoginPost Reply
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.

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