office/abiword: Fixed icon installation

I missed an upstream bugfix in how/where they install the
icon and that caused a bug with no icon being displayed
in the menu.

Thanks to G.L.N. and Володимир Ященко for the report.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2014-01-30 15:22:06 -06:00
parent 481db97cc9
commit 4d9d1c2a6f
2 changed files with 7 additions and 4 deletions

View File

@ -29,7 +29,7 @@
PRGNAM=abiword PRGNAM=abiword
VERSION=3.0.0 VERSION=3.0.0
DOCSVER=$VERSION # version of abiword-docs DOCSVER=$VERSION # version of abiword-docs
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -120,9 +120,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \; 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 for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# No need to clutter up the toplevel /usr/share/icons
mv $PKG/usr/share/icons $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
*.txt *.TXT AUTHORS COPYING ChangeLog INSTALL NEWS README \ *.txt *.TXT AUTHORS COPYING ChangeLog INSTALL NEWS README \

View File

@ -6,3 +6,9 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1 /usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1
fi 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