desktop/tango-icon-theme: Updated for version 0.8.1

This commit is contained in:
Michael Wagner 2010-05-11 19:44:05 +02:00 committed by Robby Workman
parent bb084a69e3
commit e5a8d74313
4 changed files with 28 additions and 41 deletions

View file

@ -1,17 +1,18 @@
The Tango Icon Theme is a desktop environment independent set of icons
following the new icon name specification.
In order to build the package you need the XML::Simple perl module
In order to build the package, you need the XML::Simple perl module
and icon-naming-utils, both of which are available from SlackBuilds.org
Also, be sure you have all of the latest packages from /patches on
the Slackware mirror installed, especially gnome-icon-theme.
For XFce, it should work as is: (Settings Manager -> User Interface).
Note that Xfce's Rodent icon theme inherits Tango icons by default, so some
of your icons (the ones that are currently falling back to the hicolor theme)
will change to the Tango theme simply by installing it.
GNOME and KDE users need to do some changes.
KDE users will get slightly better looking icons if they add the option
--enable-png-creation
to the configure part of the SlackBuild. They can select the icon theme from
within the control center.
To change the default GNOME icon theme execute:
@ -19,23 +20,10 @@ To change the default GNOME icon theme execute:
xml:readwrite:/etc/gconf/gconf.xml.defaults --type string \
--set /desktop/gnome/interface/icon_theme Tango
To change a user specific GNOME icon theme execute:
To change a user-specific GNOME icon theme execute:
gconftool-2 --type string --set /desktop/gnome/interface/icon_theme Tango
KDE users need to perform further steps.
First, edit /usr/share/icons/Tango/index.theme:
sed -i "s/Context=\w*/Context=FileSystems/g" index.theme
and place a symlink to Tango either in your user specific or KDE's default
location (see /opt/kde/bin/kde-config --path icon). You should then be able
to select the icon theme from within the control center.
KDE users will get slightly better looking icons if they add the option
--enable-png-creation
to the configure part of the SlackBuild.
If you are not using any settings manager (fluxbox,blackbox...), you can add
the following to your .gtkrc-2.0 (create it if it does not exist).

View file

@ -1,4 +1,3 @@
if [ -x usr/bin/gtk-update-icon-cache ]; then
find usr/share/icons -maxdepth 1 -type d -exec \
./usr/bin/gtk-update-icon-cache -f -q {} \; &> /dev/null
usr/bin/gtk-update-icon-cache -f -q usr/share/icons/Tango &> /dev/null
fi

View file

@ -1,27 +1,28 @@
#!/bin/sh
#
# Slackware Build Script for Tango Icon Theme
#
# Slackware build script for tango-icon-theme
# (C) 2007 Michael Wagner <lapinours@web.de>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
# All rights reserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# Modified by the SlackBuilds.org project
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tango-icon-theme
VERSION=0.8.0
VERSION=0.8.1
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -43,7 +44,6 @@ chmod -R a-s,u+rw,go-w .
./configure \
--prefix=/usr \
--program-prefix="" \
|| exit 1
make || exit 1

View file

@ -1,8 +1,8 @@
PRGNAM="tango-icon-theme"
VERSION="0.8.0"
VERSION="0.8.1"
HOMEPAGE="http://tango.freedesktop.org"
DOWNLOAD="http://tango-project.org/releases/tango-icon-theme-0.8.0.tar.gz"
MD5SUM="feb1870e84b99ea41db9b51a448c59f8"
DOWNLOAD="http://tango-project.org/releases/tango-icon-theme-0.8.1.tar.gz"
MD5SUM="32d5258f448b5982af9cfa4364f31d41"
MAINTAINER="Michael Wagner"
EMAIL="lapinours@web.de"
APPROVED="rworkman"