-MD5 1fc2bba937ae23394e1454a444e091b4 ChangeLog 66238
MD5 ac1137a20503dcb8f9ba2939a2a766f6 metadata.xml 230
-MD5 29b2a67c2b664ace155cc6dc7a4e0201 xorg-x11-6.7.0-r3.ebuild 38112
-MD5 d548e768ef760adbe7776ac667dbda13 xorg-x11-6.8.0-r1.ebuild 41337
MD5 6c24c8a3aa69cebf79e8633555073c36 xorg-x11-6.7.0-r2.ebuild 38088
+MD5 d548e768ef760adbe7776ac667dbda13 xorg-x11-6.8.0-r1.ebuild 41337
+MD5 5ec90e644b5339c8b5945864189bb75c ChangeLog 66398
+MD5 5df2f2a61410cd228a397ed34616d841 xorg-x11-6.8.0-r4.ebuild 52326
+MD5 29b2a67c2b664ace155cc6dc7a4e0201 xorg-x11-6.7.0-r3.ebuild 38112
MD5 b5246b2b24218270b216447c2b3875a0 xorg-x11-6.8.0-r3.ebuild 40076
-MD5 9785ea782f5701f3eacca79e986a0e90 xorg-x11-6.8.0-r4.ebuild 51063
MD5 d0e53da57200ac6fabea15cfb566899f xorg-x11-6.8.1.901.ebuild 51071
MD5 c72c5ecb890d53668d41fa8a29d61f76 xorg-x11-6.8.1.901-r1.ebuild 52336
MD5 610898dcad4638d382a55bfeeae3b317 xorg-x11-6.8.1.902.ebuild 52315
MD5 a3314fbdc270d7d84ea14fd477b8d048 files/digest-xorg-x11-6.7.0-r2 904
MD5 70facbdb85b7ef2bc9b9b702442eda7e files/digest-xorg-x11-6.8.0-r1 908
-MD5 70facbdb85b7ef2bc9b9b702442eda7e files/digest-xorg-x11-6.8.0-r3 908
+MD5 f14e22fa0891e99c1000c0d61d7e8a0c files/xpm-secfix-thomas.diff 55674
MD5 a3314fbdc270d7d84ea14fd477b8d048 files/digest-xorg-x11-6.7.0-r3 904
+MD5 70facbdb85b7ef2bc9b9b702442eda7e files/digest-xorg-x11-6.8.0-r3 908
MD5 e5419ff1c0cff3236fb5673ef2263bea files/digest-xorg-x11-6.8.0-r4 911
MD5 9a74da809b31adcfd00fd65af29ee55e files/digest-xorg-x11-6.8.1.901 517
-MD5 f14e22fa0891e99c1000c0d61d7e8a0c files/xpm-secfix-thomas.diff 55674
MD5 31a8fa39480a7053afd4ebd7493c09c4 files/digest-xorg-x11-6.8.1.901-r1 517
MD5 7cd0dbe13d97bc07036c97eba87c3859 files/digest-xorg-x11-6.8.1.902 517
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild,v 1.44 2005/01/12 07:10:58 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild,v 1.45 2005/01/20 05:11:49 spyderous Exp $
# Set TDFX_RISKY to "yes" to get 16-bit, 1024x768 or higher on low-memory
# voodoo3 cards.
# Requested on #68316
if use xprint; then
setup_xprint_init
+ else
+ # delete xprint stuff
+ rm -f ${D}/etc/{init,profile}.d/xprint*
+ rmdir --ignore-fail-on-non-empty ${D}/etc/{init,profile}.d
fi
# Remove the /etc/rc.d nonsense -- not everyone is RedHat
setup_xprint_init() {
# RH-style init script, we provide a wrapper
exeinto /usr/lib/misc
- doexe ${D}/etc/rc.d/xprint
+ doexe ${D}/etc/init.d/xprint
+ rm -f ${D}/etc/init.d/xprint
# Install the wrapper
- exeinto /etc/init.d
- doexe ${FILES_DIR}/xprint.init
+ newinitd ${FILES_DIR}/xprint.init xprint
+ # patch profile scripts
+ sed -i -e "s:/bin/sh.*get_xpserverlist:/usr/lib/misc/xprint get_xpserverlist:g" ${D}/etc/profile.d/xprint*
}
setup_config_files() {
#################
migrate_usr_x11r6_lib() {
- # We need a symlink from /usr/X11R6/lib -> /usr/lib so all the packages
+ # We need a symlink /usr/X11R6/libdir -> /usr/libdir so all the packages
# whose files we move don't lose track of them. As such, we need
- # _absolutely nothing_ in /usr/X11R6/lib so we can make such a symlink.
+ # _absolutely nothing_ in /usr/X11R6/libdir so we can make such a symlink.
# Donnie Berkholz <spyderous@gentoo.org> 20 October 2004
- einfo "Migrating from /usr/X11R6/lib to /usr/lib..."
+ einfo "Migrating from /usr/X11R6/$(get_libdir) to /usr/$(get_libdir)..."
# Get rid of "standard" symlink from <6.8.0-r2
# We can't overwrite symlink with directory w/ $(mv -f)
[ -L ${ROOT}usr/$(get_libdir)/X11 ] \
&& rm ${ROOT}usr/$(get_libdir)/X11
- # Move everything if it's not a symlink
- [ ! -L ${ROOT}usr/X11R6/$(get_libdir) ] \
- && mv -f ${ROOT}usr/X11R6/$(get_libdir)/* ${ROOT}usr/$(get_libdir)
- # Remove any floating .keep files so we can run rmdir if it's not a symlink
- [ ! -L ${ROOT}usr/X11R6/$(get_libdir) ] \
- && find ${ROOT}usr/X11R6/$(get_libdir) -name '\.keep' -exec rm -f {} \;
- # Get rid of the directory if it's not a symlink
- [ ! -L ${ROOT}usr/X11R6/$(get_libdir) ] \
- && rmdir ${ROOT}usr/X11R6/$(get_libdir)
- # Put a symlink in its place if there's not one there
- [ ! -L ${ROOT}usr/X11R6/$(get_libdir) ] \
- && ln -s ../$(get_libdir) ${ROOT}usr/X11R6/$(get_libdir)
+
+ # If it's not a symlink (in other words, it should be a directory)
+ if [ ! -L ${ROOT}usr/X11R6/$(get_libdir) ]; then
+ einfo " /usr/X11R6/$(get_libdir) isn't a symlink, migrating..."
+ # Move everything
+ mv -f ${ROOT}usr/X11R6/$(get_libdir)/* ${ROOT}usr/$(get_libdir)
+ # Remove any floating .keep files so we can run rmdir
+ find ${ROOT}usr/X11R6/$(get_libdir) -name '\.keep' -exec rm -f {} \;
+ # Get rid of the directory
+ rmdir ${ROOT}usr/X11R6/$(get_libdir)
+ # Put a symlink in its place
+ ln -s ../$(get_libdir) ${ROOT}usr/X11R6/$(get_libdir)
+ else
+ # If ${ROOT}usr/X11R6/$(get_libdir) is a symlink ...
+ einfo " /usr/X11R6/$(get_libdir) is a symlink, continuing..."
+
+ # for amd64 at least, lib64 symlinked to lib in <=6.8.0-r4 (except -r2),
+ # so the migration doesn't work properly with just the above.
+ # (#78074) DO NOT use '-d' because it's true on symlinks to dirs too.
+ if [ ! -L ${ROOT}usr/X11R6/lib ]; then
+ einfo " /usr/X11R6/lib is a directory, migrating..."
+ # Move everything
+ mv -f ${ROOT}usr/X11R6/lib/* ${ROOT}usr/lib
+ # Remove any floating .keep files so we can run rmdir
+ find ${ROOT}usr/X11R6/lib -name '\.keep' -exec rm -f {} \;
+ # Get rid of the directory
+ rmdir ${ROOT}usr/X11R6/lib
+ # Put a symlink in its place
+ ln -s $(get_libdir) ${ROOT}usr/X11R6/lib
+ # Make _sure_ we don't get a circular symlink, even though
+ # we do the symlink again later on
+ rm ${ROOT}usr/X11R6/$(get_libdir)
+ ln -s ../$(get_libdir) ${ROOT}usr/X11R6/$(get_libdir)
+ else
+ einfo " /usr/X11R6/lib isn't a directory, not migrating"
+ fi
+ fi
}
update_config_files() {