From 918a75aacfca787c9cf4de89a954a96eb673d0aa Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 22 Aug 2002 15:17:02 +0000 Subject: Add suppport for system-settings: for gnome2 --- data/.cvsignore | 2 ++ data/Makefile | 27 +++++++++++++++++++++++++++ data/SoftwareManagement.directory.in | 4 ++++ data/rpmdrake-remove.desktop.in | 8 ++++++++ data/rpmdrake-sources.desktop.in | 8 ++++++++ data/rpmdrake.desktop.in | 8 ++++++++ 6 files changed, 57 insertions(+) create mode 100644 data/.cvsignore create mode 100644 data/Makefile create mode 100644 data/SoftwareManagement.directory.in create mode 100644 data/rpmdrake-remove.desktop.in create mode 100644 data/rpmdrake-sources.desktop.in create mode 100644 data/rpmdrake.desktop.in (limited to 'data') diff --git a/data/.cvsignore b/data/.cvsignore new file mode 100644 index 00000000..844c9abf --- /dev/null +++ b/data/.cvsignore @@ -0,0 +1,2 @@ +*.directory +*.desktop \ No newline at end of file diff --git a/data/Makefile b/data/Makefile new file mode 100644 index 00000000..d2987f02 --- /dev/null +++ b/data/Makefile @@ -0,0 +1,27 @@ +PREFIX = /usr/local +DATADIR = $(PREFIX)/share +BINDIR = $(PREFIX)/bin + +rpmdrake_dir = $(DATADIR)/rpmdrake + +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 $(rpmdrake_dir)/desktop + install -m644 $(DESKTOP) $(DIRECTORY) $(rpmdrake_dir)/desktop + + +%.desktop: %.desktop.in + ../po/intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache +%.directory: %.directory.in + ../po/intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache + diff --git a/data/SoftwareManagement.directory.in b/data/SoftwareManagement.directory.in new file mode 100644 index 00000000..7b2fd53f --- /dev/null +++ b/data/SoftwareManagement.directory.in @@ -0,0 +1,4 @@ +[Desktop Entry] +_Name=Software Management +Icon=/usr/share/mcc/default/software.png +Type=Directory \ No newline at end of file diff --git a/data/rpmdrake-remove.desktop.in b/data/rpmdrake-remove.desktop.in new file mode 100644 index 00000000..a9418c9f --- /dev/null +++ b/data/rpmdrake-remove.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +_Name=Remove Software +Icon=/usr/share/mcc/default/rpmdrake-remove.png +Exec=/usr/sbin/rpmdrake-remove +TryExec=/usr/sbin/rpmdrake-remove +Terminal=0 +Type=Application +Categories=System;SystemSetup;X-Mandrake-SoftwareManagement \ No newline at end of file diff --git a/data/rpmdrake-sources.desktop.in b/data/rpmdrake-sources.desktop.in new file mode 100644 index 00000000..cff473ad --- /dev/null +++ b/data/rpmdrake-sources.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +_Name=Software Sources Manager +Icon=/usr/share/mcc/default/source-manager.png +Exec=/usr/sbin/edit-urpm-sources.pl +TryExec=/usr/sbin/edit-urpm-sources.pl +Terminal=0 +Type=Application +Categories=System;SystemSetup;X-Mandrake-SoftwareManagement \ No newline at end of file diff --git a/data/rpmdrake.desktop.in b/data/rpmdrake.desktop.in new file mode 100644 index 00000000..443b0310 --- /dev/null +++ b/data/rpmdrake.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +_Name=Install Software +Icon=/usr/share/mcc/default/rpmdrake.png +Exec=/usr/sbin/rpmdrake +Terminal=0 +Type=Application +Categories=System;SystemSetup;X-Mandrake-SoftwareManagement \ No newline at end of file -- cgit v1.2.1