wok-4.x rev 2577
inkscape: Fix build (sed sp-xmlview-attr-list.h)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 06 23:19:01 2009 +0200 (2009-04-06) |
parents | d4cf86e94f5c |
children | bfa8ab3f9688 |
files | inkscape/receipt inkscape/stuff/inkscape.desktop |
line diff
1.1 --- a/inkscape/receipt Mon Apr 06 18:58:40 2009 +0200 1.2 +++ b/inkscape/receipt Mon Apr 06 23:19:01 2009 +0200 1.3 @@ -5,9 +5,10 @@ 1.4 CATEGORY="graphics" 1.5 SHORT_DESC="Vector drawing application." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt PyXML \ 1.8 -xorg-libXdamage" 1.9 -BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev popt-dev" 1.10 +DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt \ 1.11 +xorg-libXdamage libgiomm" 1.12 +BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev \ 1.13 +popt-dev libgiomm-dev" 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WEB_SITE="http://www.inkscape.org/" 1.16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.17 @@ -20,10 +21,13 @@ 1.18 echo "Patching $file..." 1.19 sed -i 's|glib/gmessages|glib|' $file 1.20 done 1.21 + # gtk-clist fix 1.22 + sed -i s/gtkclist.h/gtk.h/ src/widgets/sp-xmlview-attr-list.h 1.23 ./configure \ 1.24 --prefix=/usr \ 1.25 --mandir=/usr/share/man \ 1.26 --disable-lcms \ 1.27 + --disable-inkboard \ 1.28 $CONFIGURE_ARGS && 1.29 make && 1.30 make DESTDIR=$PWD/_pkg install 1.31 @@ -32,19 +36,15 @@ 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - mkdir -p $fs/usr/share/locale 1.36 + mkdir -p $fs/usr/share 1.37 cp -a $_pkg/usr/bin $fs/usr 1.38 - cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.39 - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.40 - 1.41 - # Copy all Inkscape files and remove tutorials (19,2 Mb), 1.42 - # examples + screens 1.43 + 1.44 + # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files 1.45 cp -a $_pkg/usr/share/inkscape $fs/usr/share 1.46 + rm -rf $fs/usr/share/inkscape/extensions 1.47 + rm -rf $fs/usr/share/inkscape/clipart 1.48 rm -rf $fs/usr/share/inkscape/tutorials 1.49 rm -rf $fs/usr/share/inkscape/examples 1.50 - rm -rf $fs/usr/share/inkscape/screens/keys.de.svg 1.51 - rm -rf $fs/usr/share/inkscape/screens/keys.sl.svg 1.52 - 1.53 - strip -s $fs/usr/bin/* 2>/dev/null 1.54 + rm -rf $fs/usr/share/inkscape/screens/keys* 1.55 } 1.56
2.1 --- a/inkscape/stuff/inkscape.desktop Mon Apr 06 18:58:40 2009 +0200 2.2 +++ b/inkscape/stuff/inkscape.desktop Mon Apr 06 23:19:01 2009 +0200 2.3 @@ -1,9 +1,7 @@ 2.4 [Desktop Entry] 2.5 Encoding=UTF-8 2.6 -Name=Inkscape 2.7 -GenericName=Inkscape 2.8 -GenericName[fr]=Edition de graphismes vectoriels 2.9 -Comment=Vector Graphics Editor 2.10 +Name=Inkscape Vector Graphics Editor 2.11 +Name[fr]=Dessins vectoriel Inkscape 2.12 Exec=inkscape 2.13 Icon=inkscape.png 2.14 Type=Application