/[pkg-kde]/trunk/packages/kdelibs/debian/local/freedesktop-desktop-entry-spec-apps
ViewVC logotype

Contents of /trunk/packages/kdelibs/debian/local/freedesktop-desktop-entry-spec-apps

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65 - (show annotations) (download)
Sun Mar 21 23:47:34 2004 UTC (9 years, 2 months ago) by ccheney
File size: 1015 byte(s)
kdelibs 3.2.1-1 update
1 #!/usr/sbin/install-menu
2 # freedesktop desktop entry spec - applications generation
3 # http://www.freedesktop.org/Standards/desktop-entry-spec
4 # Copyright 2004 - Chris Cheney
5 # Licensed under the GNU General Public License, version 2.
6
7 !include menu.h
8
9 compat="menu-2"
10
11 function AppEntry($terminal) =
12 "[Desktop Entry]\n"
13 "Type=Application\n"
14 "Encoding=UTF-8\n"
15 "Name=" title() "\n"
16 "GenericName=" title() "\n"
17 "Comment=" ifnempty($longtitle,$longtitle) "\n"
18 "Icon=" icon() "\n"
19 "Exec=" $command "\n"
20 "Terminal=" $terminal "\n"
21 "Categories=X-Debian" replacewith($basesection,"/","-") "\n";
22
23 outputencoding="UTF-8";
24
25 supported;
26 x11 = AppEntry("false");
27 text = AppEntry("true");
28 endsupported;
29
30 startmenu = "";
31 endmenu = "";
32 submenutitle = "";
33
34 treewalk = "M";
35
36 genmenu = ifnempty($command,tolower(replacewith($title,"/ ","_") ".desktop"));
37
38 rootsection = "";
39
40 prerun = "rm -rf " prefix() "/*";
41
42 preoutput = "";
43
44 rootprefix = "/var/lib/kde/debian-apps";
45
46 userprefix = ".local/share/applications/kde/debian";

  ViewVC Help
Powered by ViewVC 1.1.5