Accepting request 213276 from home:lnussel:branches:X11:Utilities

- drop the obsolete wmlist command. No longer needed as
  xinitrc.common does the detection itself.

OBS-URL: https://build.opensuse.org/request/show/213276
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/x11-tools?expand=0&rev=22
This commit is contained in:
Stefan Dirsch 2014-01-09 10:53:41 +00:00 committed by Git OBS Bridge
parent eda789e141
commit b188fd0d1c
3 changed files with 7 additions and 54 deletions

50
wmlist
View File

@ -1,50 +0,0 @@
#!/bin/bash
# wmlist
# SuSE wmlist 2001, last updated Nov 20
#
# check for installed window managers
#
WMs="
kde
gnome
windowmaker
sawfish
enlightenment
blackbox
openbox
fluxbox
DyDe
9wm
afterstep
amiwm
bowman
cdesim
ctwm
dtwm
fvwm1
fvwm2
fvwm95
icewm-session
mlvwm
mwm
olvwm
olwm
piewm
qvwm
scwm
wm2
XFce
kde1
twm
xsplash
"
newWM=""
for wm in $WMs ; do
type -p $wm &> /dev/null && newWM="$newWM ${wm##*/}"
done
test -z "$newWM" && exit 1
echo $newWM
exit 0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 9 08:07:07 UTC 2014 - lnussel@suse.de
- drop the obsolete wmlist command. No longer needed as
xinitrc.common does the detection itself.
-------------------------------------------------------------------
Sun Dec 15 09:56:07 UTC 2013 - swyear@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package x11-tools
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -28,7 +28,6 @@ Summary: Tools for the X Window System
License: GPL-2.0+ and MIT
Group: System/X11/Utilities
Source2: xf86debug
Source6: wmlist
Source31: xim
Source32: xim.template
Source33: none
@ -55,7 +54,6 @@ Authors:
%install
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
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
@ -77,7 +75,6 @@ install -m 755 $RPM_SOURCE_DIR/nvidia-post-uninstall \
%dir /etc/X11/xim.d
%dir /usr/lib/nvidia
/usr/bin/xf86debug
/usr/bin/wmlist
/usr/lib/nvidia/pre-install
/usr/lib/nvidia/post-uninstall
/etc/X11/xim