wok-4.x rev 195

Add : slitaz-menus 1.0 (Freedesktop menu)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 07 18:05:05 2008 +0100 (2008-02-07)
parents e31553425bd9
children 0ac933d85a5c
files gnome-menus/receipt slitaz-menus/receipt slitaz-menus/stuff/applications/system-doc.desktop slitaz-menus/stuff/desktop-directories/Development.directory slitaz-menus/stuff/desktop-directories/Documentation.directory slitaz-menus/stuff/desktop-directories/Games.directory slitaz-menus/stuff/desktop-directories/Graphics.directory slitaz-menus/stuff/desktop-directories/Internet.directory slitaz-menus/stuff/desktop-directories/Multimedia.directory slitaz-menus/stuff/desktop-directories/Office.directory slitaz-menus/stuff/desktop-directories/System-Tools.directory slitaz-menus/stuff/desktop-directories/Utilities.directory slitaz-menus/stuff/menus/applications.menu tazpkg/stuff/applications/tazpkg-doc.desktop tazpkg/stuff/applications/tazpkg-list.desktop tazpkg/stuff/tazpkg-doc.desktop tazpkg/stuff/tazpkg-list.desktop
line diff
     1.1 --- a/gnome-menus/receipt	Thu Feb 07 13:41:56 2008 +0100
     1.2 +++ b/gnome-menus/receipt	Thu Feb 07 18:05:05 2008 +0100
     1.3 @@ -2,13 +2,14 @@
     1.4  
     1.5  PACKAGE="gnome-menus"
     1.6  VERSION="2.18.3"
     1.7 -CATEGORY="extra"
     1.8 -SHORT_DESC="GNOME menu used by e17."
     1.9 +CATEGORY="x-window"
    1.10 +SHORT_DESC="GNOME menu libs and tools (without desktop files)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  DEPENDS="python"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://www.gnome.org/"
    1.15  WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/2.18/$VERSION/sources/$TARBALL"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -25,21 +26,9 @@
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/applications
    1.25 -	
    1.26 -	# gmenu-simple-editor dep on pyGTK.
    1.27 -	#cp -a $_pkg/usr/bin $fs/usr
    1.28 -	#cp -a $_pkg/usr/share/applications $fs/usr/share
    1.29 -	#cp -a $_pkg/usr/share/gnome-menus $fs/usr/share
    1.30 -	
    1.31 +	mkdir -p $fs/usr/lib
    1.32  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.33  	cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
    1.34  	rm $fs/usr/lib/python2.5/site-packages/*.*a
    1.35 -	
    1.36 -	cp -a $_pkg/usr/share/desktop-directories $fs/usr/share
    1.37 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.38 -	cp -a $_pkg/etc $fs
    1.39 -	
    1.40 -	strip -s $fs/usr/lib/*.so*
    1.41  }
    1.42  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/slitaz-menus/receipt	Thu Feb 07 18:05:05 2008 +0100
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="slitaz-menus"
     2.7 +VERSION="1.0"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="SliTaz Freedesktop menus."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +WEB_SITE="http://www.slitaz.org/"
    2.12 +
    2.13 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.14 +genpkg_rules()
    2.15 +{
    2.16 +	mkdir -p $fs/usr/share $fs/etc/xdg
    2.17 +	cp -a stuff/desktop-directories $fs/usr/share
    2.18 +	cp -a stuff/menus $fs/etc/xdg
    2.19 +}
    2.20 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/slitaz-menus/stuff/applications/system-doc.desktop	Thu Feb 07 18:05:05 2008 +0100
     3.3 @@ -0,0 +1,10 @@
     3.4 +[Desktop Entry]
     3.5 +Name=System Doc
     3.6 +Name[fr]=Doc du système
     3.7 +GenericName=/usr/share/doc
     3.8 +Comment=Browse installed documentation
     3.9 +Comment[fr]=Naviguer dans la documentation installée
    3.10 +Exec=firefox /usr/share/doc
    3.11 +Icon=/usr/share/icons/Tango/jwm/text-x-generic.png
    3.12 +Type=Application
    3.13 +Categories=Documentation;
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/slitaz-menus/stuff/desktop-directories/Development.directory	Thu Feb 07 18:05:05 2008 +0100
     4.3 @@ -0,0 +1,8 @@
     4.4 +[Desktop Entry]
     4.5 +Name=Development
     4.6 +Name[fr]=Développement
     4.7 +Comment=Tools for software development
     4.8 +Comment[fr]=Outils de développement de logiciels
     4.9 +Icon=/usr/share/icons/Tango/jwm/applications-development.png
    4.10 +Type=Directory
    4.11 +Encoding=UTF-8
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/slitaz-menus/stuff/desktop-directories/Documentation.directory	Thu Feb 07 18:05:05 2008 +0100
     5.3 @@ -0,0 +1,8 @@
     5.4 +[Desktop Entry]
     5.5 +Name=Documentation
     5.6 +Name[fr]=Documentation
     5.7 +Comment=System documentation
     5.8 +Comment[fr]=Documentation du système
     5.9 +Icon=/usr/share/icons/Tango/jwm/text-x-generic.png
    5.10 +Type=Directory
    5.11 +Encoding=UTF-8
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/slitaz-menus/stuff/desktop-directories/Games.directory	Thu Feb 07 18:05:05 2008 +0100
     6.3 @@ -0,0 +1,7 @@
     6.4 +[Desktop Entry]
     6.5 +Name=Games
     6.6 +Name[es]=Juegos
     6.7 +Name[fr]=Jeux
     6.8 +Icon=/usr/share/icons/Tango/jwm/applications-games.png
     6.9 +Type=Directory
    6.10 +Encoding=UTF-8
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/slitaz-menus/stuff/desktop-directories/Graphics.directory	Thu Feb 07 18:05:05 2008 +0100
     7.3 @@ -0,0 +1,8 @@
     7.4 +[Desktop Entry]
     7.5 +Name=Graphics
     7.6 +Name[fr]=Graphisme
     7.7 +Comment=Artwork tools
     7.8 +Comment[fr]=Travaux graphiques
     7.9 +Icon=/usr/share/icons/Tango/jwm/applications-graphics.png
    7.10 +Type=Directory
    7.11 +Encoding=UTF-8
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/slitaz-menus/stuff/desktop-directories/Internet.directory	Thu Feb 07 18:05:05 2008 +0100
     8.3 @@ -0,0 +1,5 @@
     8.4 +[Desktop Entry]
     8.5 +Name=Internet
     8.6 +Icon=/usr/share/icons/Tango/jwm/applications-internet.png
     8.7 +Type=Directory
     8.8 +Encoding=UTF-8
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/slitaz-menus/stuff/desktop-directories/Multimedia.directory	Thu Feb 07 18:05:05 2008 +0100
     9.3 @@ -0,0 +1,7 @@
     9.4 +[Desktop Entry]
     9.5 +Name=Multimedia
     9.6 +Comment=Sound & Video
     9.7 +Comment[fr]=Son et Vidéo
     9.8 +Icon=/usr/share/icons/Tango/jwm/applications-multimedia.png
     9.9 +Type=Directory
    9.10 +Encoding=UTF-8
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/slitaz-menus/stuff/desktop-directories/Office.directory	Thu Feb 07 18:05:05 2008 +0100
    10.3 @@ -0,0 +1,7 @@
    10.4 +[Desktop Entry]
    10.5 +Name=Office
    10.6 +Name[es]=Oficina
    10.7 +Name[fr]=Bureautique
    10.8 +Icon=/usr/share/icons/Tango/jwm/applications-office.png
    10.9 +Type=Directory
   10.10 +Encoding=UTF-8
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/slitaz-menus/stuff/desktop-directories/System-Tools.directory	Thu Feb 07 18:05:05 2008 +0100
    11.3 @@ -0,0 +1,7 @@
    11.4 +[Desktop Entry]
    11.5 +Name=System Tools
    11.6 +Name[es]=Herramientas del sistema
    11.7 +Name[fr]=Outils système
    11.8 +Icon=/usr/share/icons/Tango/jwm/applications-system.png
    11.9 +Type=Directory
   11.10 +Encoding=UTF-8
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/slitaz-menus/stuff/desktop-directories/Utilities.directory	Thu Feb 07 18:05:05 2008 +0100
    12.3 @@ -0,0 +1,8 @@
    12.4 +[Desktop Entry]
    12.5 +Name=Utilities
    12.6 +Name[fr]=Utilitaires
    12.7 +Comment=Tiny tools and accessories
    12.8 +Comment[fr]=Petit outils et accessoires
    12.9 +Icon=/usr/share/icons/Tango/jwm/applications-accessories.png
   12.10 +Type=Directory
   12.11 +Encoding=UTF-8
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/slitaz-menus/stuff/menus/applications.menu	Thu Feb 07 18:05:05 2008 +0100
    13.3 @@ -0,0 +1,121 @@
    13.4 +<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
    13.5 + "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
    13.6 +
    13.7 +<Menu>
    13.8 +
    13.9 +  <Name>Applications</Name>
   13.10 +  <Directory>Applications.directory</Directory>
   13.11 +
   13.12 +  <!-- Read standard .directory and .desktop file locations -->
   13.13 +  <DefaultAppDirs/>
   13.14 +  <DefaultDirectoryDirs/>
   13.15 +
   13.16 +  <!-- Read in overrides and child menus from applications-merged/ -->
   13.17 +  <DefaultMergeDirs/>
   13.18 +
   13.19 +  <!-- Utilities submenu -->
   13.20 +  <Menu>
   13.21 +    <Name>Utilities</Name>
   13.22 +    <Directory>Utilities.directory</Directory>
   13.23 +    <Include>
   13.24 +      <And>
   13.25 +        <Category>Utility</Category>
   13.26 +        <Not>
   13.27 +          <Category>System</Category>
   13.28 +        </Not>
   13.29 +      </And>
   13.30 +    </Include>
   13.31 +  </Menu>
   13.32 +
   13.33 +  <!-- Development -->
   13.34 +  <Menu>
   13.35 +    <Name>Development</Name>
   13.36 +    <Directory>Development.directory</Directory>
   13.37 +    <Include>
   13.38 +      <And>
   13.39 +        <Category>Development</Category>
   13.40 +      </And>
   13.41 +    </Include>
   13.42 +  </Menu>
   13.43 +
   13.44 +  <!-- Games -->
   13.45 +  <Menu>
   13.46 +    <Name>Games</Name>
   13.47 +    <Directory>Games.directory</Directory>
   13.48 +    <Include>
   13.49 +      <And>
   13.50 +        <Category>Game</Category>
   13.51 +      </And>
   13.52 +    </Include>
   13.53 +  </Menu> <!-- End Games -->
   13.54 +
   13.55 +  <!-- Graphics -->
   13.56 +  <Menu>
   13.57 +    <Name>Graphics</Name>
   13.58 +    <Directory>Graphics.directory</Directory>
   13.59 +    <Include>
   13.60 +      <And>
   13.61 +        <Category>Graphics</Category>
   13.62 +      </And>
   13.63 +    </Include>
   13.64 +  </Menu>
   13.65 +
   13.66 +  <!-- Internet -->
   13.67 +  <Menu>
   13.68 +    <Name>Internet</Name>
   13.69 +    <Directory>Internet.directory</Directory>
   13.70 +    <Include>
   13.71 +      <And>
   13.72 +        <Category>Network</Category>
   13.73 +      </And>
   13.74 +    </Include>
   13.75 +  </Menu>
   13.76 +
   13.77 +  <!-- Multimedia -->
   13.78 +  <Menu>
   13.79 +    <Name>Multimedia</Name>
   13.80 +    <Directory>Multimedia.directory</Directory>
   13.81 +    <Include>
   13.82 +      <And>
   13.83 +        <Category>AudioVideo</Category>
   13.84 +        <Not><Category>Utility</Category></Not>
   13.85 +      </And>
   13.86 +    </Include>
   13.87 +  </Menu>
   13.88 +
   13.89 +  <!-- Office -->
   13.90 +  <Menu>
   13.91 +    <Name>Office</Name>
   13.92 +    <Directory>Office.directory</Directory>
   13.93 +    <Include>
   13.94 +      <And>
   13.95 +        <Category>Office</Category>
   13.96 +      </And>
   13.97 +    </Include>
   13.98 +  </Menu>
   13.99 +
  13.100 +  <!-- System Tools-->
  13.101 +  <Menu>
  13.102 +    <Name>System</Name>
  13.103 +    <Directory>System-Tools.directory</Directory>
  13.104 +    <Include>
  13.105 +      <And>
  13.106 +        <Category>System</Category>
  13.107 +        <Not><Category>Settings</Category></Not>
  13.108 +      </And>
  13.109 +    </Include>
  13.110 +  </Menu>
  13.111 +  
  13.112 +  <!-- Documentation -->
  13.113 +  <Menu>
  13.114 +    <Name>Documentation</Name>
  13.115 +    <Directory>Documentation.directory</Directory>
  13.116 +    <OnlyUnallocated/>
  13.117 +    <Include>
  13.118 +      <And>
  13.119 +        <Category>Documentation</Category>
  13.120 +      </And>
  13.121 +    </Include>
  13.122 +  </Menu>
  13.123 +
  13.124 +</Menu> <!-- End Applications -->
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/tazpkg/stuff/applications/tazpkg-doc.desktop	Thu Feb 07 18:05:05 2008 +0100
    14.3 @@ -0,0 +1,10 @@
    14.4 +[Desktop Entry]
    14.5 +Name=Tazpkg manual
    14.6 +Name[fr]=Manuel de Tazpkg
    14.7 +GenericName=Packages manager
    14.8 +Comment=Packages manager manual
    14.9 +Comment[fr]=Manuel du gestionnaire de paquets
   14.10 +Exec=firefox /usr/share/doc/tazpkg/tazpkg.html
   14.11 +Icon=tazpkg.png
   14.12 +Type=Application
   14.13 +Categories=Documentation;
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/tazpkg/stuff/applications/tazpkg-list.desktop	Thu Feb 07 18:05:05 2008 +0100
    15.3 @@ -0,0 +1,10 @@
    15.4 +[Desktop Entry]
    15.5 +Encoding=UTF-8
    15.6 +Name=Packages list
    15.7 +GenericName=Installed packages
    15.8 +GenericName[fr]=Paquets installés
    15.9 +Comment=Run commands in a shell
   15.10 +Exec=xterm -bg black -fg white -hold -e 'tazpkg list'
   15.11 +Icon=tazpkg.png
   15.12 +Type=Application
   15.13 +Categories=System;
    16.1 --- a/tazpkg/stuff/tazpkg-doc.desktop	Thu Feb 07 13:41:56 2008 +0100
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,10 +0,0 @@
    16.4 -[Desktop Entry]
    16.5 -Name=Tazpkg manual
    16.6 -Name[fr]=Manuel de Tazpkg
    16.7 -GenericName=Packages manager
    16.8 -Comment=Packages manager manual
    16.9 -Comment[fr]=Manuel du gestionnaire de paquets
   16.10 -Exec=firefox /usr/share/doc/tazpkg/tazpkg.html
   16.11 -Icon=tazpkg.png
   16.12 -Type=Application
   16.13 -Categories=Documentation;
    17.1 --- a/tazpkg/stuff/tazpkg-list.desktop	Thu Feb 07 13:41:56 2008 +0100
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,10 +0,0 @@
    17.4 -[Desktop Entry]
    17.5 -Encoding=UTF-8
    17.6 -Name=Packages list
    17.7 -GenericName=Installed packages
    17.8 -GenericName[fr]=Paquets installés
    17.9 -Comment=Run commands in a shell
   17.10 -Exec=xterm -bg black -fg white -hold -e 'tazpkg list'
   17.11 -Icon=tazpkg.png
   17.12 -Type=Application
   17.13 -Categories=System;