From 0b8d61d40d1b0be9aaa0725002d361e479099b1c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 17 Sep 2007 12:51:40 +0000 Subject: move desktop menu entries out of spec and tag them as translatable --- perl-install/standalone/menu/Makefile | 23 ++++++++++++++++++++++ perl-install/standalone/menu/harddrake.desktop.in | 9 +++++++++ .../standalone/menu/localedrake-system.desktop.in | 8 ++++++++ .../standalone/menu/localedrake-user.desktop.in | 8 ++++++++ 4 files changed, 48 insertions(+) create mode 100644 perl-install/standalone/menu/Makefile create mode 100644 perl-install/standalone/menu/harddrake.desktop.in create mode 100644 perl-install/standalone/menu/localedrake-system.desktop.in create mode 100644 perl-install/standalone/menu/localedrake-user.desktop.in (limited to 'perl-install/standalone/menu') diff --git a/perl-install/standalone/menu/Makefile b/perl-install/standalone/menu/Makefile new file mode 100644 index 000000000..3f89602df --- /dev/null +++ b/perl-install/standalone/menu/Makefile @@ -0,0 +1,23 @@ +mcc_dir = $(PREFIX)/usr/share/applications + +DIRECTORY_IN := $(wildcard *.directory.in) +DIRECTORY = $(DIRECTORY_IN:.directory.in=.directory) + +DESKTOP_IN := $(wildcard *.desktop.in) +DESKTOP = $(DESKTOP_IN:.desktop.in=.desktop) + +all: $(DIRECTORY) $(DESKTOP) + +clean: + rm -f $(DIRECTORY) $(DESKTOP) + +install: all + install -d $(mcc_dir)/desktop + install -m644 $(DESKTOP) $(DIRECTORY) $(mcc_dir)/desktop + install -d $(PREFIX)/etc/gnome-vfs-2.0/vfolders + +%.desktop: %.desktop.in + intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache +%.directory: %.directory.in + intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache + diff --git a/perl-install/standalone/menu/harddrake.desktop.in b/perl-install/standalone/menu/harddrake.desktop.in new file mode 100644 index 000000000..fd10786be --- /dev/null +++ b/perl-install/standalone/menu/harddrake.desktop.in @@ -0,0 +1,9 @@ +[Desktop Entry] +_Name=HardDrake +_Comment=Hardware Central Configuration/information tool +Exec=/usr/sbin/harddrake2 +Icon=harddrake +Type=Application +StartupNotify=false +Categories=GTK;X-MandrivaLinux-System-Configuration-Hardware;HardwareSettings; +Hidden=true diff --git a/perl-install/standalone/menu/localedrake-system.desktop.in b/perl-install/standalone/menu/localedrake-system.desktop.in new file mode 100644 index 000000000..ee5961ae0 --- /dev/null +++ b/perl-install/standalone/menu/localedrake-system.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +_Name=LocaleDrake (System) +_Comment=System wide language configurator +Exec=/usr/bin/drakconf --start-with=Localization +Icon=localedrake +Type=Application +StartupNotify=false +Categories=GTK;X-MandrivaLinux-CrossDesktop;Settings; diff --git a/perl-install/standalone/menu/localedrake-user.desktop.in b/perl-install/standalone/menu/localedrake-user.desktop.in new file mode 100644 index 000000000..f4f8e78b6 --- /dev/null +++ b/perl-install/standalone/menu/localedrake-user.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +_Name=LocaleDrake (User) +_Comment=Language configurator +Exec=/usr/bin/localedrake +Icon=localedrake +Type=Application +StartupNotify=false +Categories=GTK;X-MandrivaLinux-CrossDesktop;Settings; -- cgit v1.2.1