From 4668c84c32bf26588dc2fba1ecd02d88abb296c9 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 07:30:28 -0400 Subject: desktop/q4wine: Fixed (Handle icon files) Signed-off-by: dsomero --- desktop/q4wine/doinst.sh | 7 +++++++ desktop/q4wine/q4wine.SlackBuild | 8 +++----- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'desktop') diff --git a/desktop/q4wine/doinst.sh b/desktop/q4wine/doinst.sh index 65fd352418..ee51833f41 100644 --- a/desktop/q4wine/doinst.sh +++ b/desktop/q4wine/doinst.sh @@ -2,3 +2,10 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + + diff --git a/desktop/q4wine/q4wine.SlackBuild b/desktop/q4wine/q4wine.SlackBuild index fe5f8ec21a..98771e8c59 100644 --- a/desktop/q4wine/q4wine.SlackBuild +++ b/desktop/q4wine/q4wine.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for qt4wine -# Copyright 2009-2010 David Somero Athens,TN USA +# Copyright 2009-2012 David Somero Athens,TN USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,15 +24,13 @@ PRGNAM=q4wine VERSION=${VERSION:-0.999_rc8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -90,7 +88,7 @@ mkdir build find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Move man pages in in the correct place and compress them +# Move man pages in to the correct place and compress them. mv $PKG/usr/share/man $PKG/usr/man find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -- cgit v1.2.3