wok-4.x diff abiword/receipt @ rev 7481

Removed glibc-locale from abiword depends. Added soft link for /usr/share/pixmaps/abiword.png to /usr/share/icons/abiword_48.png. Fixed error when running abiword on command line.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 02 02:25:29 2010 +0000 (2010-12-02)
parents cc80cd019794
children af8b12d69e94
line diff
     1.1 --- a/abiword/receipt	Thu Sep 09 17:54:19 2010 +0000
     1.2 +++ b/abiword/receipt	Thu Dec 02 02:25:29 2010 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  DEPENDS="gtk+ libgnomeprint libgnomeprintui libgnomecanvas fribidi libglade \
     1.6  popt libxml2 libart_lgpl libgsf libgio enchant wv xorg-libXdamage gcc-lib-base librsvg \
     1.7 -goffice glibc-locale"
     1.8 +goffice"
     1.9  BUILD_DEPENDS="$DEPENDS gtk+-dev libgnomeprint-dev libgnomeprintui-dev \
    1.10  fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev libgsf-dev \
    1.11  enchant-dev wv-dev libgnomecanvas-dev libcroco-dev libboost-dev librsvg-dev"
    1.12 @@ -40,7 +40,7 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins
    1.17 +	mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins $fs/usr/share/icons
    1.18  	
    1.19  	cp -a $_pkg/usr/bin $fs/usr
    1.20  	cp -a $_pkg/usr/lib/*.so $fs/usr/lib
    1.21 @@ -49,6 +49,8 @@
    1.22  	# Non standard pixmap
    1.23  	cp $_pkg/usr/share/icons/abiword_48.png \
    1.24  		$fs/usr/share/pixmaps/abiword.png
    1.25 +	# fix error when abiword is run in command line
    1.26 +	ln -sf /usr/share/pixmaps/abiword.png $fs/usr/share/icons/abiword_48.png
    1.27  	# Non-standard locale use : get english, spanish, french, german
    1.28  	rm $fs/usr/share/abiword-*/strings/*
    1.29  	rm $fs/usr/share/abiword-*/templates/*