Remove the kdeprefix specific notes from xdm config as it is gone.
authorTomas Chvatal <scarabeus@gentoo.org>
Sun, 6 Nov 2011 09:54:40 +0000 (09:54 +0000)
committerTomas Chvatal <scarabeus@gentoo.org>
Sun, 6 Nov 2011 09:54:40 +0000 (09:54 +0000)
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64

x11-base/xorg-server/ChangeLog
x11-base/xorg-server/Manifest
x11-base/xorg-server/files/xdm.confd-4 [new file with mode: 0644]
x11-base/xorg-server/files/xdm.initd [deleted file]
x11-base/xorg-server/xorg-server-1.11.1-r1.ebuild
x11-base/xorg-server/xorg-server-1.11.2.ebuild

index 46123f37fda7a4d7b5d9e55dad91d71f29ed0510..8c7ce15804a24ee07ccdfbfb37f383397555e745 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for x11-base/xorg-server
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.624 2011/11/05 12:50:15 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.625 2011/11/06 09:54:39 scarabeus Exp $
+
+  06 Nov 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+  xorg-server-1.11.1-r1.ebuild, xorg-server-1.11.2.ebuild, +files/xdm.confd-4,
+  -files/xdm.initd:
+  Remove the kdeprefix specific notes from xdm config as it is gone.
 
 *xorg-server-1.11.2 (05 Nov 2011)
 
index b3a5a458b6012ccbd0b839142e4f7c85db709b69..9c7afa69405ee6c4f1a1cedd4bd2e129c54e3792 100644 (file)
@@ -1,6 +1,9 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX xdm-setup.initd-1 346 RMD160 e68512e71adbf15743f789bb6b5587b07a9812a3 SHA1 f25303b8bcef0c5d2eb61517d5347b4b88736cd4 SHA256 942ce5e8d1a0770543b683dcc388bae7619a24eb9741c1cd678ed3df97c01406
 AUX xdm.confd-3 853 RMD160 363cd18f760650923e16579bf55f661e93dad63b SHA1 0027b98f2aeb5c43219fa4f9b7d81a05101bec6f SHA256 00af0d957ff1b4f31c1aa4701d93a54080408548792deafac5414cbfa13b89ec
-AUX xdm.initd 5392 RMD160 eec0b0ccefeee366e891afc73d195240b447421f SHA1 d3ce725e86fa3889f77403354b7f69d8184181ae SHA256 0c087c42d46563fd9d63da655753128aab2a0815efb83f906db3f54ba5c886ce
+AUX xdm.confd-4 562 RMD160 3440e564c5d52ec1d30902c870daf282698f04c4 SHA1 630b8e05706050a6b7260d2a1a19d6d54cba59fa SHA256 9d26b72bb28611a60a6b9f942b8d8cfe47b59f926be89af9709b5912668344d8
 AUX xdm.initd-3 5662 RMD160 c215ee58cf2ab3b336f106d3526256abf98f982e SHA1 67aa7501e61f64c1db5306d72bd3b673c94e36a7 SHA256 633a461f484a993f3edbeca42c724883f1c1de3a201bcefd83ae168492bc9d7e
 AUX xorg-cve-2011-4028+4029.patch 671 RMD160 f9c607b5bfe20259f2adb320b6a1a0819f59f7ab SHA1 84797b66434aa05acc9f6881050d1b46487caf77 SHA256 76b9bb4a928fa7179eb52ab3b2bd2ef6d7db83e0543ba80de37cdab05efa601c
 AUX xorg-server-1.9-nouveau-default.patch 916 RMD160 0ebdf0fb76364b7fd0c520c3a2f7cc2cc1a83446 SHA1 daddde0f4f4276e12b87354d2e6825ed5c74c6eb SHA256 a7ff421dd928e3025194279f9afb7cc033a896b3417abe339741e9c6ed4b54ea
@@ -12,8 +15,25 @@ DIST xorg-server-1.11.1.tar.bz2 4933664 RMD160 a26efea8fae4f52d0eae22a18b392f5ea
 DIST xorg-server-1.11.2.tar.bz2 4945939 RMD160 cc69cfd86a5a870d1433262dd1445a8603a9266a SHA1 b4de5c599c90bd08d3122866ba68152cd59a880e SHA256 fa415decf02027ca278b06254ccfbcceba2a83c2741405257ebf749da4a73cf2
 DIST xorg-server-1.9.5.tar.bz2 5172054 RMD160 6383b126ed313943fc5cb0939fdae4a737aabb70 SHA1 03be24d6906f3ed3237057a5a7df2b02723c9749 SHA256 3fc775097c4f0e8f731447d0183ee709ae37c44c0c286ba00a4b028274e029dc
 EBUILD xorg-server-1.10.4-r1.ebuild 7127 RMD160 8175211bb28ac4559c8f229c947ffbf0a716e886 SHA1 dec56fcce06846cd3eeb1836a0bc0d4f90810380 SHA256 f3e3e1e78106b8f9f2333d74e5e531b9c6a2daaf8ee8634644f8088d5b7f5957
-EBUILD xorg-server-1.11.1-r1.ebuild 6769 RMD160 fe1d31a37742ecd6d354d8318492cbef3f5eb5f2 SHA1 5dd87a9d1717435bbd2252a043078372dfbf6ccb SHA256 52b4276ee9615abc44b7fe93fc43a7daf13f7a916ca75b4e0020273f9d725de3
-EBUILD xorg-server-1.11.2.ebuild 6721 RMD160 f491789a4e81229480d5dfe35a6fecae0321f37b SHA1 663cdb46e4b613606e99fb520b0f5a92ee7a6a07 SHA256 24023a01bb224d85d3eb34d7e690d12a16ba8bb75f3a5edd7a195c301c82104e
+EBUILD xorg-server-1.11.1-r1.ebuild 6770 RMD160 7e9d0c031766c7fd12994260f759a8e3980ca569 SHA1 092a325ee51bcf8f6fde382c1443b67536ae552d SHA256 e60eb4532335a30eabed6678bbdf9afc1a8ec690085f7009355320e6adae4e2e
+EBUILD xorg-server-1.11.2.ebuild 6722 RMD160 274716a8bdefe00b1cd4eed1a8af550f042a1469 SHA1 aa01223efd259061fd01d91fd6bc7503e9b08d91 SHA256 de1ed078ec358ed4806a8beba18b32fb23680736084bb555d5441f4c0ef85e08
 EBUILD xorg-server-1.9.5-r1.ebuild 7850 RMD160 e2c14bf529edbafa9452855ca893a45e510d8625 SHA1 c52c0d51c61452fb83ea92cf20978cc2374ab23e SHA256 270f6563b0cf3b96b86e94a5d428ebf1b20be22bfe2a33b76a4463c79c6120c3
-MISC ChangeLog 132464 RMD160 ae18b6d53fc4b8346319593450df00e903c3f9ce SHA1 b577979e60384e7b62d6bdbbbba2dc9e66b25e03 SHA256 97bca2bd3f2525c20ad07f9183f24e34c6a82fd90d08901cbafea6a41cadb26b
+MISC ChangeLog 132689 RMD160 00402230b5f80615b9ad56759d543edd84c66d24 SHA1 74fde6d5bc52faa019a3fb4e60c5693aa5489840 SHA256 a9e6350730c5ce4f5e0171edf371e6e65e21c210792e804aaf0a9a81c3aacd2e
 MISC metadata.xml 537 RMD160 36f5ed1e9869e06c50c882193aad04d9553fbab9 SHA1 505782abd459abe3ba35969cc190675e00c65408 SHA256 38cd6ed34cf5447cbc3e0a9c4a9e24d5af12e2a12b80b106821bb19e69d2281f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQIcBAEBAgAGBQJOtllQAAoJEOSiRoyO7jvolCwP/3cRSRYXEoK859ZM2PPEnrrs
+a1MEwueQAv1fdIambq8IzgFXt446miADi14ebkmRk1LugmmptGnPFCehdCL/i7b/
+9i+SrOD1oL6jFzqVzt6hCN2jZV9/NjPdiUfuW0yggwcJ4cu0oJHMvLQDg5FFEP7N
+Gb+Yuy9mCgst9LEfcWJBb80p1DPNT1CZvPE9rsGwokOzlHVEbl82SRelAs2Cz0GG
+pBq4vsf4MOBYuka08DO8/V6HVY/fFKkkfWMRojA6dz1jJCmkvJycW7hpkaeZRmU0
++A0eGitIb4sjnak4AZmFjpFUJ8JJaDIJRSocu7SUoCdO53hEOUq1QLomK8Y15jh/
+pROC5ptyCuPmE1TJAqcTmW4jC33stNIOlgZR6eW8H3yJ3dv/1e14YEN2VFtjyXUK
+sAtg5QeA/0JGFgmYHwy4aRGziktjMUPXbDxf6D+st58LhHO8NQIuFCdGFUjQKORi
+LyHK0isN8AyPyGSgd/GZOQ8frzIWrDvIQPsT54qkzA3twSly/0z954ogaxHlvlvE
+HBAXwjg8oPuKYhKXb+8v6YyoV7VeH5wFeMlbxUCoYcpyYUXUMyYDygYjhQyC6Qjj
+04n7TXLXaNiFRcTLgydEo4U9XJtJ3rIrequiW6e7/RMsHXYRxFAYS/waOVybN1Xu
+4eoLQJtPDbIw37+pwLM9
+=sKtY
+-----END PGP SIGNATURE-----
diff --git a/x11-base/xorg-server/files/xdm.confd-4 b/x11-base/xorg-server/files/xdm.confd-4
new file mode 100644 (file)
index 0000000..c82fece
--- /dev/null
@@ -0,0 +1,10 @@
+# We always try and start X on a static VT. The various DMs normally default
+# to using VT7. If you wish to use the xdm init script, then you should ensure
+# that the VT checked is the same VT your DM wants to use. We do this check to
+# ensure that you haven't accidentally configured something to run on the VT
+# in your /etc/inittab file so that you don't get a dead keyboard.
+CHECKVT=7
+
+# What display manager do you use ?  [ xdm | gdm | kdm | gpe | entrance ]
+# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
+DISPLAYMANAGER="xdm"
diff --git a/x11-base/xorg-server/files/xdm.initd b/x11-base/xorg-server/files/xdm.initd
deleted file mode 100644 (file)
index 6d10e1f..0000000
+++ /dev/null
@@ -1,203 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/files/xdm.initd,v 1.1 2010/04/13 10:07:39 scarabeus Exp $
-
-# This is here to serve as a note to myself, and future developers.
-#
-# Any Display manager (gdm,kdm,xdm) has the following problem:  if
-# it is started before any getty, and no vt is specified, it will
-# usually run on vt2.  When the getty on vt2 then starts, and the
-# DM is already started, the getty will take control of the keyboard,
-# leaving us with a "dead" keyboard.
-#
-# Resolution: add the following line to /etc/inittab
-#
-#  x:a:once:/etc/X11/startDM.sh
-#
-# and have /etc/X11/startDM.sh start the DM in daemon mode if
-# a lock is present (with the info of what DM should be started),
-# else just fall through.
-#
-# How this basically works, is the "a" runlevel is a additional
-# runlevel that you can use to fork processes with init, but the
-# runlevel never gets changed to this runlevel.  Along with the "a"
-# runlevel, the "once" key word means that startDM.sh will only be
-# run when we specify it to run, thus eliminating respawning
-# startDM.sh when "xdm" is not added to the default runlevel, as was
-# done previously.
-#
-# This script then just calls "telinit a", and init will run
-# /etc/X11/startDM.sh after the current runlevel completes (this
-# script should only be added to the actual runlevel the user is
-# using).
-#
-# Martin Schlemmer
-# aka Azarah
-# 04 March 2002
-
-depend() {
-       need localmount xdm-setup
-
-       # this should start as early as possible
-       # we can't do 'before *' as that breaks it
-       # (#139824) Start after ypbind and autofs for network authentication
-       # (#145219 #180163) Could use lirc mouse as input device
-       # (#70689 comment #92) Start after consolefont to avoid display corruption
-       # (#291269) Start after quota, since some dm need readable home
-       after bootmisc consolefont modules netmount
-       after readahead-list ypbind autofs openvpn gpm lircmd
-       after quota
-       before alsasound
-
-       # Start before X
-       use consolekit xfs
-       @HALD_DEPEND@
-}
-
-setup_dm() {
-       local MY_XDM="$(echo "${DISPLAYMANAGER}" | tr '[:upper:]' '[:lower:]')"
-
-       # Load our root path from profile.env
-       # Needed for kdm
-       PATH="${PATH}:$(. /etc/profile.env; echo "${ROOTPATH}")"
-
-       case "${MY_XDM}" in
-               kdm|kde)
-                       EXE="$(which kdm)"
-                       PIDFILE=/var/run/kdm.pid
-                       ;;
-               kdm-*)
-                       EXE="/usr/kde/${MY_XDM#kdm-}/bin/kdm"
-                       PIDFILE=/var/run/kdm.pid
-                       ;;
-               entrance*)
-                       EXE=/usr/sbin/entranced
-                       PIDFILE=/var/lib/entranced.pid
-                       ;;
-               gdm|gnome)
-                       EXE=/usr/bin/gdm
-                       [ "${RC_UNAME}" != "Linux" ] && NAME=gdm-binary
-                       PIDFILE=/var/run/gdm.pid
-                       ;;
-               wdm)
-                       EXE=/usr/bin/wdm
-                       PIDFILE=
-                       ;;
-               gpe)
-                       EXE=/usr/bin/gpe-dm
-                       PIDFILE=/var/run/gpe-dm.pid
-                       ;;
-               *)
-                       # first find out if there is such executable
-                       EXE="$(which ${MY_XDM} 2>/dev/null)"
-                       PIDFILE="/var/run/${MY_XDM}.pid"
-
-                       # warn user that he is doing sick things if the exe was not found
-                       if [ "${EXE}" = "" ]; then
-                               echo "ERROR: Your XDM value is invalid."
-                               echo "  No ${MY_XDM} executable could be found on your system."
-                       fi
-                       ;;
-       esac
-
-       if ! [ -x "${EXE}" ]; then
-               EXE=/usr/bin/xdm
-               PIDFILE=/var/run/xdm.pid
-               if ! [ -x "/usr/bin/xdm" ]; then
-                       echo "ERROR: Please set your DISPLAYMANAGER variable in /etc/conf.d/xdm,"
-                       echo "  or install x11-apps/xdm package"
-                       eend 255
-               fi
-       fi
-}
-
-# Check to see if something is defined on our VT
-vtstatic() {
-       if [ -e /etc/inittab ] ; then
-               grep -Eq "^[^#]+.*\<tty$1\>" /etc/inittab
-       elif [ -e /etc/ttys ] ; then
-               grep -q "^ttyv$(($1 - 1))" /etc/ttys
-       else
-               return 1
-       fi
-}
-
-start() {
-       local EXE= NAME= PIDFILE=
-       setup_dm
-
-       if [ -f /etc/.noxdm ] ; then
-               einfo "Skipping ${EXE}, /etc/.noxdm found"
-               rm /etc/.noxdm
-               return 0
-       fi
-
-       ebegin "Setting up ${EXE##*/}"
-
-       # save the prefered DM
-       save_options "service" "${EXE}"
-       save_options "name"    "${NAME}"
-       save_options "pidfile" "${PIDFILE}"
-
-       if [ -n "${CHECKVT-y}" ] ; then
-               if vtstatic "${CHECKVT:-7}" ; then
-                       if [ -x /sbin/telinit ] && [ "${SOFTLEVEL}" != "BOOT" ] && [ "${RC_SOFTLEVEL}" != "BOOT" ] ; then
-                               ewarn "Something is already defined on VT ${CHECKVT:-7}, will start X later"
-                               telinit a >/dev/null 2>/dev/null
-                               return 0
-                       else
-                               eerror "Something is already defined on VT ${CHECKVT:-7}, not starting"
-                               return 1
-                       fi
-               fi
-       fi
-
-       /etc/X11/startDM.sh
-       eend 0
-}
-
-stop() {
-       local retval=0
-       local curvt=
-       if [ -t 0 ] ; then
-               if type fgconsole >/dev/null 2>/dev/null ; then
-                       curvt="$(fgconsole 2>/dev/null)"
-               else
-                       curvt="$(tty)"
-                       case "${curvt}" in
-                               /dev/ttyv[0-9]*) curvt="${curvt#/dev/ttyv*}" ;;
-                               *) curvt= ;;
-                       esac
-               fi
-       fi
-       local myexe="$(get_options "service")"
-       local myname="$(get_options "name")"
-       local mypidfile="$(get_options "pidfile")"
-       local myservice=${myexe##*/}
-
-       [ -z "${myexe}" ] && return 0
-
-       ebegin "Stopping ${myservice}"
-
-       if start-stop-daemon --quiet --test --stop --exec "${myexe}" ; then
-               start-stop-daemon --stop --exec "${myexe}" --retry TERM/5/TERM/5 \
-                       ${mypidfile:+--pidfile} ${mypidfile} \
-                       ${myname:+--name} ${myname}
-               retval=$?
-       fi
-
-       # switch back to original vt
-       if [ -n "${curvt}" ] ; then
-               if type chvt >/dev/null 2>/dev/null ; then
-                       chvt "${curvt}"
-               else
-                       vidcontrol -s "$((${curvt} + 1))"
-               fi
-       fi
-
-       eend ${retval} "Error stopping ${myservice}"
-       return ${retval}
-}
-
-# vim: set ts=4 :
\ No newline at end of file
index b9cc5be362b73b0569c2366157060e0f1ddbbcc2..762dd725934dcd02132d6945c5172612c684a1a1 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.11.1-r1.ebuild,v 1.1 2011/10/18 16:26:04 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.11.1-r1.ebuild,v 1.2 2011/11/06 09:54:40 scarabeus Exp $
 
 EAPI=4
 
@@ -186,7 +186,7 @@ src_install() {
 
        newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
        newinitd "${FILESDIR}"/xdm.initd-3 xdm
-       newconfd "${FILESDIR}"/xdm.confd-3 xdm
+       newconfd "${FILESDIR}"/xdm.confd-4 xdm
 
        # install the @x11-module-rebuild set for Portage
        insinto /usr/share/portage/config/sets
index 7f25e53949fd46c291068ffcc44a5d83d901d169..eaf050e30cb7771668103f22833a6104bba9975c 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.11.2.ebuild,v 1.1 2011/11/05 12:50:15 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.11.2.ebuild,v 1.2 2011/11/06 09:54:40 scarabeus Exp $
 
 EAPI=4
 
@@ -185,7 +185,7 @@ src_install() {
 
        newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
        newinitd "${FILESDIR}"/xdm.initd-3 xdm
-       newconfd "${FILESDIR}"/xdm.confd-3 xdm
+       newconfd "${FILESDIR}"/xdm.confd-4 xdm
 
        # install the @x11-module-rebuild set for Portage
        insinto /usr/share/portage/config/sets