OBS User unknown 2008-10-07 09:48:08 +00:00 committed by Git OBS Bridge
parent 0a1f169fdd
commit 2e0bc8a3ae
3 changed files with 62 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Oct 7 00:59:37 CEST 2008 - jw@suse.de
- added /usr/bin/tuxcursors
shell script with some helpful logic and info.
Needed, since I could not find a way to start
KDE Control Center from the SUSE Menu at 11.0
-------------------------------------------------------------------
Tue Feb 12 23:43:24 CET 2008 - seife@suse.de

36
tuxcursors.sh Normal file
View File

@ -0,0 +1,36 @@
#! /bin/sh
# Shell script helper to activate tuxcursors.
#
# Same license as enclosing package.
# 2008-10-07, jw@suse.de
if [ "$1" = "-help" -o "$1" = "-h" -o "$1" = "--help" ]; then
echo $0
echo "Simple wrapper script to help with activating the tuxcursors mouse scheme."
echo "If called without parameters, this script will try to bring up a dialog"
echo "that allows you to change your cursor settings."
echo ""
echo "Improvements welcome."
exit 0;
fi
if [ -n "$KDE_SESSION_UID" ]; then
kcmshell mouse;
else
cat << EOF
No KDE_SESSION_UID -> dialog for mouse cursor change unknown.
Please try to navigate your desktop menues.
KDE menu style:
-> Personal Settings (Configure Desktop)
-> Hardware
-> Mouse
-> Cursor Theme -> tuxcursors
Other menues:
Try the search box with 'mouse'.
EOF
fi
exit

View File

@ -2,9 +2,16 @@
# spec file for package tuxcursors (Version 0.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -18,8 +25,9 @@ Group: System/X11/Icons
AutoReqProv: on
Summary: Tux Cursors!
Version: 0.5
Release: 1
Release: 65
Source: tuxcursors-0.5.tar.bz2
Source1: tuxcursors.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -41,6 +49,7 @@ Authors:
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/icons
cp -a tuxcursors $RPM_BUILD_ROOT/usr/share/icons
install -m 755 -D %{S:1} $RPM_BUILD_ROOT/usr/bin/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@ -48,9 +57,15 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/share/icons/tuxcursors
/usr/bin/tuxcursors
%doc LICENSE COPYING
%changelog
* Tue Oct 07 2008 jw@suse.de
- added /usr/bin/tuxcursors
shell script with some helpful logic and info.
Needed, since I could not find a way to start
KDE Control Center from the SUSE Menu at 11.0
* Wed Feb 13 2008 seife@suse.de
- add libpng to buildrequires, since otherwise 10.2 build fails
* Tue Feb 12 2008 seife@suse.de