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
This commit is contained in:
Stefan Dirsch 2013-10-22 13:42:50 +00:00 committed by Git OBS Bridge
parent 4ac41ad6e9
commit 57c7613bee
3 changed files with 6 additions and 31 deletions

28
kroot
View File

@ -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 <program>"
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

View File

@ -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

View File

@ -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