From 57c7613bee8e67ad468627ce9d876835c3ac8981433552cf9bf7a4f4df2b0b92 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 22 Oct 2013 13:42:50 +0000 Subject: [PATCH] Accepting request 204294 from home:sndirsch:branches:X11:Utilities - remove kroot since it apparently no longer works with KDE4, and KDE3 has been dropped long ago (bnc#846953) OBS-URL: https://build.opensuse.org/request/show/204294 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/x11-tools?expand=0&rev=16 --- kroot | 28 ---------------------------- x11-tools.changes | 6 ++++++ x11-tools.spec | 3 --- 3 files changed, 6 insertions(+), 31 deletions(-) delete mode 100644 kroot diff --git a/kroot b/kroot deleted file mode 100644 index bc6cd22..0000000 --- a/kroot +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# kroot -# -# Wrapper for X11 programs which use root window; useful for KDE 3 -# desktops - -if [ $# -lt 1 ]; then - echo "Usage: kroot " - exit 0 -fi - -trap "xrefresh" EXIT SIGHUP SIGINT SIGPIPE SIGTERM SIGIO - -vroot=`/opt/kde3/bin/dcop kdesktop KDesktopIface isVRoot 2> /dev/null` - -if [ "x$vroot" == "xfalse" ]; then - /opt/kde3/bin/dcop kdesktop KDesktopIface setVRoot true &> /dev/null -fi -"$@" & -pid=$! -if [ "x$vroot" == "xfalse" ]; then - /opt/kde3/bin/dcop kdesktop KDesktopIface setVRoot false &> /dev/null -fi - -wait $pid - -exit 0 diff --git a/x11-tools.changes b/x11-tools.changes index 25c1320..d14cafb 100644 --- a/x11-tools.changes +++ b/x11-tools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 22 13:09:22 UTC 2013 - sndirsch@suse.com + +- remove kroot since it apparently no longer works with KDE4, and + KDE3 has been dropped long ago (bnc#846953) + ------------------------------------------------------------------- Fri May 24 12:56:22 UTC 2013 - werner@suse.de diff --git a/x11-tools.spec b/x11-tools.spec index a14a536..a53d557 100644 --- a/x11-tools.spec +++ b/x11-tools.spec @@ -29,7 +29,6 @@ License: GPL-2.0+ and MIT Group: System/X11/Utilities Source2: xf86debug Source6: wmlist -Source8: kroot Source31: xim Source32: xim.template Source33: none @@ -57,7 +56,6 @@ Authors: mkdir -p $RPM_BUILD_ROOT/usr/bin/ install -m 755 $RPM_SOURCE_DIR/xf86debug $RPM_BUILD_ROOT/usr/bin install -m 755 $RPM_SOURCE_DIR/wmlist $RPM_BUILD_ROOT/usr/bin -install -m 755 $RPM_SOURCE_DIR/kroot $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/etc/X11/xim.d install -m 644 $RPM_SOURCE_DIR/xim $RPM_BUILD_ROOT/etc/X11 install -m 644 $RPM_SOURCE_DIR/none $RPM_BUILD_ROOT/etc/X11/xim.d @@ -80,7 +78,6 @@ install -m 755 $RPM_SOURCE_DIR/nvidia-post-uninstall \ %dir /usr/lib/nvidia /usr/bin/xf86debug /usr/bin/wmlist -/usr/bin/kroot /usr/lib/nvidia/pre-install /usr/lib/nvidia/post-uninstall /etc/X11/xim