/hg/icedtea-web: add desktop entry for itweb-settings

omajid at icedtea.classpath.org omajid at icedtea.classpath.org
Thu Dec 2 07:23:21 PST 2010


changeset 6c8e9229bded in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=6c8e9229bded
author: Omair Majid <omajid at redhat.com>
date: Thu Dec 02 10:22:44 2010 -0500

	add desktop entry for itweb-settings

	2010-12-02 Omair Majid <omajid at redhat.com>

	 * Makefile.am (EXTRA_DIST): Add itweb-settings.desktop.in.
	(all-local): Add itweb-settings.desktop. (clean-desktop-files):
	Remove itweb-settings.desktop. (itweb-settings.desktop): New
	target.
	    * itweb-settings.desktop.in: New file.


diffstat:

3 files changed, 24 insertions(+), 2 deletions(-)
ChangeLog                 |    8 ++++++++
Makefile.am               |   10 ++++++++--
itweb-settings.desktop.in |    8 ++++++++

diffs (66 lines):

diff -r f44f0d94d282 -r 6c8e9229bded ChangeLog
--- a/ChangeLog	Wed Dec 01 23:57:54 2010 +0000
+++ b/ChangeLog	Thu Dec 02 10:22:44 2010 -0500
@@ -1,3 +1,11 @@ 2010-12-01  Andrew John Hughes  <ahughes
+2010-12-02  Omair Majid  <omajid at redhat.com>
+
+	* Makefile.am (EXTRA_DIST): Add itweb-settings.desktop.in.
+	(all-local): Add itweb-settings.desktop.
+	(clean-desktop-files): Remove itweb-settings.desktop.
+	(itweb-settings.desktop): New target.
+	* itweb-settings.desktop.in: New file.
+
 2010-12-01  Andrew John Hughes  <ahughes at redhat.com>
 
 	* acinclude.m4:
diff -r f44f0d94d282 -r 6c8e9229bded Makefile.am
--- a/Makefile.am	Wed Dec 01 23:57:54 2010 +0000
+++ b/Makefile.am	Thu Dec 02 10:22:44 2010 -0500
@@ -84,13 +84,14 @@ LAUNCHER_LINK = -o $@ -pthread -Xlinker 
 	-Wl,\$$ORIGIN/../jre/lib/$(INSTALL_ARCH_DIR)/jli $(X11_CFLAGS) $(X11_LIBS) -ljli  -ldl -lz
 PLUGIN_VERSION = IcedTea $(PACKAGE_VERSION)$(ICEDTEA_REV)$(ICEDTEA_PKG)
 
-EXTRA_DIST = $(top_srcdir)/netx $(top_srcdir)/plugin javaws.png javaws.desktop.in extra launcher
+EXTRA_DIST = $(top_srcdir)/netx $(top_srcdir)/plugin javaws.png javaws.desktop.in extra launcher \
+ itweb-settings.desktop.in
 
 # Top-Level Targets
 # =================
 
 all-local: stamps/netx-dist.stamp extra-lib/about.jar stamps/plugin.stamp $(NETX_DIR)/launcher/javaws \
- javaws.desktop stamps/docs.stamp $(NETX_DIR)/launcher/controlpanel/itweb-settings
+ javaws.desktop stamps/docs.stamp $(NETX_DIR)/launcher/controlpanel/itweb-settings itweb-settings.desktop
 
 clean-local: clean-netx clean-plugin clean-liveconnect clean-extra clean-bootstrap-directory \
  clean-native-ecj clean-desktop-files clean-docs
@@ -293,6 +294,7 @@ clean-netx:
 
 clean-desktop-files:
 	rm -f javaws.desktop
+	rm -f itweb-settings.desktop
 
 # extras -- used to create about.jar for javaws.
 extra-source-files.txt:
@@ -338,6 +340,10 @@ extra-lib/about.jar: stamps/extra-class-
 
 javaws.desktop: javaws.desktop.in
 	sed "s#PATH_TO_JAVAWS#$(DESTDIR)$(bindir)/javaws#" < $(srcdir)/javaws.desktop.in > javaws.desktop
+
+itweb-settings.desktop: $(srcdir)/itweb-settings.desktop.in
+	sed "s#PATH_TO_ITWEB_SETTINGS#$(DESTDIR)$(bindir)/itweb-settings#" \
+	  < $(srcdir)/itweb-settings.desktop.in > itweb-settings.desktop
 
 # documentation
 
diff -r f44f0d94d282 -r 6c8e9229bded itweb-settings.desktop.in
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/itweb-settings.desktop.in	Thu Dec 02 10:22:44 2010 -0500
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=IcedTea Web Control Panel
+Comment=Configure IcedTea Web (javaws and plugin)
+Exec=PATH_TO_ITWEB_SETTINGS
+Icon=javaws
+Terminal=false
+Type=Application
+Categories=Settings;



More information about the distro-pkg-dev mailing list