wok rev 14445

coccinella: add desktop file
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 26 17:13:04 2013 +0200 (2013-04-26)
parents 250579210783
children d17fa9057aa4
files coccinella/receipt coccinella/stuff/coccinella coccinella/stuff/coccinella.desktop
line diff
     1.1 --- a/coccinella/receipt	Fri Apr 26 16:54:00 2013 +0200
     1.2 +++ b/coccinella/receipt	Fri Apr 26 17:13:04 2013 +0200
     1.3 @@ -16,18 +16,11 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/bin $fs/usr/share
     1.8 +	mkdir -p $fs/usr/bin $fs/usr/share/applications
     1.9  	cp -a $src $fs/usr/share/coccinella
    1.10  	rm -rf $fs/usr/share/coccinella/bin/macosx
    1.11  	rm -rf $fs/usr/share/coccinella/bin/unix/NetBSD
    1.12  	rm -rf $fs/usr/share/coccinella/bin/windows
    1.13 -	cat > $fs/usr/bin/coccinella << EOT
    1.14 -#!/bin/sh
    1.15 -
    1.16 -cd /usr/share/coccinella && {
    1.17 -	wish8.5 ./Coccinella.tcl "$@"
    1.18 -	cd -
    1.19 +	cp $stuff/coccinella $fs/usr/bin
    1.20 +	cp $stuff/coccinella.desktop $fs/usr/share/applications
    1.21  }
    1.22 -EOT
    1.23 -	chmod +x $fs/usr/bin/coccinella
    1.24 -}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/coccinella/stuff/coccinella	Fri Apr 26 17:13:04 2013 +0200
     2.3 @@ -0,0 +1,6 @@
     2.4 +#!/bin/sh
     2.5 +
     2.6 +cd /usr/share/coccinella && {
     2.7 +	wish8.5 ./Coccinella.tcl "$@"
     2.8 +	cd -
     2.9 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/coccinella/stuff/coccinella.desktop	Fri Apr 26 17:13:04 2013 +0200
     3.3 @@ -0,0 +1,9 @@
     3.4 +[Desktop Entry]
     3.5 +Encoding=UTF-8
     3.6 +Name=Jabber client
     3.7 +Name[fr]=Client Jabber
     3.8 +Exec=coccinella
     3.9 +Icon=/usr/share/coccinella/themes/Oxygen/icons/32x32/coccinella2.png
    3.10 +Terminal=false
    3.11 +Type=Application
    3.12 +Categories=Application;Network;