diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-24 17:29:01 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-24 17:29:01 +0000 |
commit | df2ebb32e77166b25c4298f9348c2a3c616f4b80 (patch) | |
tree | 64809aabaacaf1eace7fc930c91ff57f49530975 /kde-base | |
parent | Fix mirror:/ typo on SRC_URI. Bug #123953. (diff) | |
download | historical-df2ebb32e77166b25c4298f9348c2a3c616f4b80.tar.gz historical-df2ebb32e77166b25c4298f9348c2a3c616f4b80.tar.bz2 historical-df2ebb32e77166b25c4298f9348c2a3c616f4b80.zip |
When detaching a session, drop the connection if 'Send Input to All' is enabled, see KDE bug #119245. Thanks to Malcolm Lashley <malc@gentoo.org> for reporting.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kdebase/ChangeLog | 10 | ||||
-rw-r--r-- | kde-base/kdebase/Manifest | 23 | ||||
-rw-r--r-- | kde-base/kdebase/files/digest-kdebase-3.5.1-r2 | 6 | ||||
-rw-r--r-- | kde-base/kdebase/files/konsole-3.5.1-detach-send2all.patch | 26 | ||||
-rw-r--r-- | kde-base/kdebase/kdebase-3.5.1-r2.ebuild | 172 |
5 files changed, 229 insertions, 8 deletions
diff --git a/kde-base/kdebase/ChangeLog b/kde-base/kdebase/ChangeLog index 1ef77ab04ca2..104b0c1880c6 100644 --- a/kde-base/kdebase/ChangeLog +++ b/kde-base/kdebase/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for kde-base/kdebase # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.259 2006/02/16 20:34:06 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.260 2006/02/24 17:29:00 flameeyes Exp $ + +*kdebase-3.5.1-r2 (24 Feb 2006) + + 24 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/konsole-3.5.1-detach-send2all.patch, +kdebase-3.5.1-r2.ebuild: + When detaching a session, drop the connection if 'Send Input to All' is + enabled, see KDE bug #119245. Thanks to Malcolm Lashley <malc@gentoo.org> + for reporting. 16 Feb 2006; Aron Griffis <agriffis@gentoo.org> kdebase-3.4.3-r1.ebuild: For ia64, depend on linux-headers-2.6.11-r4 to fix joystick.h issue diff --git a/kde-base/kdebase/Manifest b/kde-base/kdebase/Manifest index b2756ea598db..edae91443723 100644 --- a/kde-base/kdebase/Manifest +++ b/kde-base/kdebase/Manifest @@ -1,9 +1,9 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 2ca60cc5fca52a62d4687670b42239ae ChangeLog 44964 -RMD160 5a37cafce9fdbbc00da0f3218148a15bd7bab286 ChangeLog 44964 -SHA256 49bea12de6d373a5d1ac2fd9e6d1a3c8239f58a75f5db62c1d9330800786bedf ChangeLog 44964 +MD5 d9f4f512e6e835ad88a23df5573d09af ChangeLog 45291 +RMD160 48a70f5b667f6c8af0e3b695b7dd2852a696779f ChangeLog 45291 +SHA256 f89ca825e542094ade5665a4aa6adfdb5507cc9f132efea2652ec12df77a658e ChangeLog 45291 MD5 3403677f5c4e44815c5a97c507d4f117 files/3.3.2-r1/Xsetup 758 RMD160 4ecb5417a842a4fb309b975608cbe68484cef22b files/3.3.2-r1/Xsetup 758 SHA256 8c56fca90a98025ecae2364197ad3e07d2b7f86cf7efe86d07ea518d5b63fac9 files/3.3.2-r1/Xsetup 758 @@ -76,6 +76,9 @@ SHA256 55dfdfa182c6a8f9b39a15a5d897313cef65aa4369630e588f8410aab6970627 files/di MD5 340e546ce7b64129122115c8301d915e files/digest-kdebase-3.5.1-r1 142 RMD160 8fcd5454724efcf07804b2296a098343733bc198 files/digest-kdebase-3.5.1-r1 142 SHA256 55dfdfa182c6a8f9b39a15a5d897313cef65aa4369630e588f8410aab6970627 files/digest-kdebase-3.5.1-r1 142 +MD5 4438fa374b4da526bac328d7346a802d files/digest-kdebase-3.5.1-r2 518 +RMD160 780914788cfe9180ceb9cf4494aeb8ff7e86f8df files/digest-kdebase-3.5.1-r2 518 +SHA256 5e2089f73b62efd9f20d7499ff0801b215a8a28d887d7629ca7bfa5764aea14a files/digest-kdebase-3.5.1-r2 518 MD5 2b5419b0b173138e22fe03f4157d5660 files/kde-np.pam 379 RMD160 a7ce9d94fac98f513e0df2b59026c17e0999c33c files/kde-np.pam 379 SHA256 e84fa10df5ec9b81b9a19d373fa60d4ebeaad4cd748a775f3dcc15921c7657e0 files/kde-np.pam 379 @@ -112,6 +115,9 @@ SHA256 f2f9adca33d71f4b27763a07251cf6f2e0be75613e92449a816b7efc9ef3e734 files/kd MD5 f06224b0a38152e5d3435b00a70bcf6c files/konsole-3.3.2.patch 1201 RMD160 b25eaa3561a402620413ba8a2be2db91e564461e files/konsole-3.3.2.patch 1201 SHA256 bab26c70517b86d93423ea2c73e6ba85c14df1e317b0b91d5ed7aef4db736e78 files/konsole-3.3.2.patch 1201 +MD5 568485759876c71e1165233732805315 files/konsole-3.5.1-detach-send2all.patch 951 +RMD160 e299f233a2960feb34ceea378ce80e09bebfbf33 files/konsole-3.5.1-detach-send2all.patch 951 +SHA256 7502f1ff32ccdd0d1570b51cee2c3519e490b10654485f7b4d200d4f41f91962 files/konsole-3.5.1-detach-send2all.patch 951 MD5 42226b3baf60c509e74036e7bb7a7b4e files/kxkb3.5.1.xx_XX_layouts.patch 806 RMD160 9c0f77dd658e01795ad4ec0fa7ed11fcb2218af1 files/kxkb3.5.1.xx_XX_layouts.patch 806 SHA256 fd3010f128ad54327558857135d0ab8f814b2e88cb4fb99086b4ac831c7dc83d files/kxkb3.5.1.xx_XX_layouts.patch 806 @@ -151,6 +157,9 @@ SHA256 95a4752cf7990a31a4ae3ba381b1d01840a7e526c875f3a45475d784bc910da1 kdebase- MD5 44c869f0a4cbebddf5726413985217d9 kdebase-3.5.1-r1.ebuild 5212 RMD160 5bc39a5675a2499ef01c9a3b93d5af423be2ed69 kdebase-3.5.1-r1.ebuild 5212 SHA256 86ac748dccd7b740709cb0cf1af1562f49eb7e1c35ce93a30a0d3c9a240c1c02 kdebase-3.5.1-r1.ebuild 5212 +MD5 d6e6b2323b7bc9ee1450d4448309e2c1 kdebase-3.5.1-r2.ebuild 5261 +RMD160 95bcc498b44b07622323891bcc5b2f1080475f7f kdebase-3.5.1-r2.ebuild 5261 +SHA256 18db3073793203879f530eacdc10f15de58e4836acc5e8e4c5ac088aab207bf0 kdebase-3.5.1-r2.ebuild 5261 MD5 e4b268e5fd737ffd4858993020e915ab kdebase-3.5.1.ebuild 5116 RMD160 29a90af9ace387020879187c1dd7580661e4ea0d kdebase-3.5.1.ebuild 5116 SHA256 18607df8898fa044582cca3d40cb94ba255991b3398183dbe9aaeda5f8eca714 kdebase-3.5.1.ebuild 5116 @@ -158,9 +167,9 @@ MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a metadata.xml 156 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) +Version: GnuPG v1.4.2.1 (GNU/Linux) -iD8DBQFD9OHHJrHF4yAQTrARAh8wAJ0Yo+eKxU90kgSBiI77UpI6A0EsawCglRqX -psyIjK4lKeSzV66oZity81w= -=NM7T +iD8DBQFD/0KBAiZjviIA2XgRAjq4AKDoK9eN143/1Gc9yA/jK1ogu8w9mwCgqWAF +MsksXJEIGG8tWWqvc+/dOvY= +=2mpy -----END PGP SIGNATURE----- diff --git a/kde-base/kdebase/files/digest-kdebase-3.5.1-r2 b/kde-base/kdebase/files/digest-kdebase-3.5.1-r2 new file mode 100644 index 000000000000..5df56523fdfb --- /dev/null +++ b/kde-base/kdebase/files/digest-kdebase-3.5.1-r2 @@ -0,0 +1,6 @@ +MD5 d964df13021d0ffe3045b6b143c3247f kdebase-3.5.0-patches-1.tar.bz2 4654 +RMD160 c7e8356d2f46d2fd3a0e7e25f661843f09ff1296 kdebase-3.5.0-patches-1.tar.bz2 4654 +SHA256 599e92f2c488fef6fcd6f337b952e6ce72b27576df37dcb4b86f0961eb26e617 kdebase-3.5.0-patches-1.tar.bz2 4654 +MD5 484c7b3895ce4f95173f4789571eb1cc kdebase-3.5.1.tar.bz2 23587827 +RMD160 5308bfe188f49815e68392b2f3a48e7def34dee0 kdebase-3.5.1.tar.bz2 23587827 +SHA256 f35169e4d46531f98576522e4e32ff73dc3592083848e73d8d2680838fc3b434 kdebase-3.5.1.tar.bz2 23587827 diff --git a/kde-base/kdebase/files/konsole-3.5.1-detach-send2all.patch b/kde-base/kdebase/files/konsole-3.5.1-detach-send2all.patch new file mode 100644 index 000000000000..d75fd340575f --- /dev/null +++ b/kde-base/kdebase/files/konsole-3.5.1-detach-send2all.patch @@ -0,0 +1,26 @@ +Index: kdebase-3.5.1/konsole/konsole/konsole.cpp +=================================================================== +--- kdebase-3.5.1.orig/konsole/konsole/konsole.cpp ++++ kdebase-3.5.1/konsole/konsole/konsole.cpp +@@ -3619,6 +3619,21 @@ void Konsole::detachSession(TESession* _ + sessions.remove(_se); + delete ra; + ++ if ( _se->isMasterMode() ) { ++ // Disable master mode when detaching master ++ setMasterMode(false); ++ } else { ++ QPtrListIterator<TESession> from_it(sessions); ++ for(; from_it.current(); ++from_it) { ++ TESession *from = from_it.current(); ++ if(from->isMasterMode()) ++ disconnect(from->widget(), SIGNAL(keyPressedSignal(QKeyEvent*)), ++ _se->getEmulation(), SLOT(onKeyPress(QKeyEvent*))); ++ } ++ } ++ ++ disconnect(0, 0, _se->getEmulation(), SLOT(onKeyPress(QKeyEvent*))); ++ + QColor se_tabtextcolor = tabwidget->tabColor( _se->widget() ); + + disconnect( _se,SIGNAL(done(TESession*)), diff --git a/kde-base/kdebase/kdebase-3.5.1-r2.ebuild b/kde-base/kdebase/kdebase-3.5.1-r2.ebuild new file mode 100644 index 000000000000..043ac3beefeb --- /dev/null +++ b/kde-base/kdebase/kdebase-3.5.1-r2.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.5.1-r2.ebuild,v 1.1 2006/02/24 17:29:01 flameeyes Exp $ + +inherit kde-dist eutils flag-o-matic + +SRC_URI="${SRC_URI} + mirror://gentoo/kdebase-3.5.0-patches-1.tar.bz2" + +DESCRIPTION="KDE base packages: the desktop, panel, window manager, konqueror..." + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="arts cups java ldap ieee1394 hal lm_sensors logitech-mouse openexr opengl +pam samba ssl zeroconf xcomposite xscreensaver xinerama" +# hal: enables hal backend for 'media:' ioslave + +DEPEND="arts? ( ~kde-base/arts-${PV} ) + >=media-libs/freetype-2 + media-libs/fontconfig + pam? ( kde-base/kdebase-pam ) + >=dev-libs/cyrus-sasl-2 + ldap? ( >=net-nds/openldap-2 ) + cups? ( net-print/cups ) + ssl? ( dev-libs/openssl ) + opengl? ( virtual/opengl ) + openexr? ( >=media-libs/openexr-1.2 ) + samba? ( >=net-fs/samba-3.0.4 ) + lm_sensors? ( sys-apps/lm_sensors ) + logitech-mouse? ( >=dev-libs/libusb-0.1.10a ) + ieee1394? ( sys-libs/libraw1394 ) + hal? ( >=sys-apps/dbus-0.33 + =sys-apps/hal-0.5* + sys-apps/pmount ) + zeroconf? ( net-misc/mDNSResponder )" + +RDEPEND="${DEPEND} + sys-apps/usbutils + java? ( >=virtual/jre-1.4 ) + virtual/eject + || ( ( + x11-apps/xmessage + x11-apps/xsetroot + x11-apps/xset + x11-apps/xrandr + x11-apps/mkfontdir + || ( x11-misc/xkeyboard-config x11-misc/xkbdata ) + x11-apps/setxkbmap + ) virtual/x11 ) + xcomposite? ( || ( ( + x11-libs/libXcomposite + x11-libs/libXdamage + ) <=x11-base/xorg-x11-6.9 ) + ) + xscreensaver? ( || ( x11-libs/libXScrnSaver virtual/x11 ) ) + xinerama? ( || ( x11-libs/libXinerama virtual/x11 ) )" + +DEPEND="${DEPEND} + xcomposite? ( || ( ( + x11-proto/compositeproto + x11-proto/damageproto + ) <=x11-base/xorg-x11-6.9 ) + ) + xscreensaver? ( || ( x11-proto/scrnsaverproto virtual/x11 ) ) + xinerama? ( || ( x11-proto/xineramaproto virtual/x11 ) ) + dev-util/pkgconfig" + +PATCHES="${FILESDIR}/kxkb3.5.1.xx_XX_layouts.patch + ${FILESDIR}/kdebase-3.5.1-kicker.patch + ${FILESDIR}/konsole-3.5.1-detach-send2all.patch" + +src_unpack() { + kde_src_unpack + + epatch "${WORKDIR}/patches/kdebase-3.5-startkde-gentoo.patch" + + # Avoid using imake (kde bug 114466). + epatch "${WORKDIR}/patches/kdebase-3.5.0_beta2-noimake.patch" + + # For the noimake patch. + make -f admin/Makefile.common || die +} + +src_compile() { + local myconf="--with-dpms + $(use_with arts) $(use_with ldap) + $(use_with opengl gl) $(use_with ssl) + $(use_with samba) $(use_with openexr) + $(use_with lm_sensors sensors) $(use_with logitech-mouse libusb) + $(use_with ieee1394 libraw1394) $(use_with hal) + $(use_enable zeroconf dnssd) + $(use_with xcomposite composite) + $(use_with xscreensaver) + $(use_with xinerama) + --with-usbids=/usr/share/misc/usb.ids" + + if use pam; then + myconf="${myconf} --with-pam=yes" + else + myconf="${myconf} --with-pam=no --with-shadow" + fi + + # the java test is problematic (see kde bug 100729) and + # useless. All that's needed for java applets to work is + # to have the 'java' executable in PATH. + myconf="${myconf} --without-java" + + export BINDNOW_FLAGS="$(bindnow-flags)" + + kde_src_compile +} + +src_install() { + kde_src_install + cd ${S}/kdm && make DESTDIR=${D} GENKDMCONF_FLAGS="--no-old --no-backup --no-in-notice" install + + # startup and shutdown scripts + insinto ${KDEDIR}/env + doins ${FILESDIR}/agent-startup.sh + + exeinto ${KDEDIR}/shutdown + doexe ${FILESDIR}/agent-shutdown.sh + + # freedesktop environment variables + cat <<EOF > ${T}/xdg.sh +export XDG_DATA_DIRS="${KDEDIR}/share:/usr/share" +export XDG_CONFIG_DIRS="${KDEDIR}/etc/xdg" +EOF + insinto ${KDEDIR}/env + doins ${T}/xdg.sh + + # x11 session script + cat <<EOF > ${T}/kde-${SLOT} +#!/bin/sh +exec ${KDEDIR}/bin/startkde +EOF + exeinto /etc/X11/Sessions + doexe ${T}/kde-${SLOT} + + # freedesktop compliant session script + sed -e "s:@KDE_BINDIR@:${KDEDIR}/bin:g;s:Name=KDE:Name=KDE ${SLOT}:" \ + ${S}/kdm/kfrontend/sessions/kde.desktop.in > ${T}/kde-${SLOT}.desktop + insinto /usr/share/xsessions + doins ${T}/kde-${SLOT}.desktop + + # Customize the kdmrc configuration + sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \ + ${D}/${KDEDIR}/share/config/kdm/kdmrc || die + + rmdir ${D}/${KDEDIR}/share/templates/.source/emptydir +} + +pkg_postinst() { + # set the default kdm face icon if it's not already set by the system admin + if [ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" ]; then + mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" + cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/default1.png" \ + "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" + fi + if [ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" ]; then + mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" + cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/root1.png" \ + "${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" + fi + + mkdir -p ${ROOT}${KDEDIR}/share/templates/.source/emptydir + + echo + einfo "To enable gpg-agent and/or ssh-agent in KDE sessions," + einfo "edit ${KDEDIR}/env/agent-startup.sh and" + einfo "${KDEDIR}/shutdown/agent-shutdown.sh" + echo +} |