[caribou] Added new desktop file



commit cc4190027528d7ff46dfa70f45610c87cb5b59de
Author: Daniel Baeyens <dbaeyens warp es>
Date:   Mon Jun 21 01:15:56 2010 +0200

    Added new desktop file
    
    automake files are changed for correct build
    .gitignore file is updated
    
    https://bugzilla.gnome.org/show_bug.cgi?id=618292

 .gitignore              |    2 +-
 data/Makefile.am        |   12 ++++++++++--
 data/caribou.desktop.in |   16 ++++++++++++++++
 3 files changed, 27 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5ef5d2b..52bf93b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,4 +22,4 @@ po/stamp-it
 *.gmo
 m4/intltool.m4
 *.tar.gz
-
+data/caribou.desktop
diff --git a/data/Makefile.am b/data/Makefile.am
index bef98f2..764f90f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,14 +2,22 @@ SUBDIRS = keyboards
 
 gtkbuilderdir = $(datadir)/caribou
 gtkbuilder_DATA = caribou-prefs.ui
+
 schemadir = $(GCONF_SCHEMA_FILE_DIR)
 schema_DATA = caribou.schemas
 
-EXTRA_DIST = $(gtkbuilder_DATA) $(schema_DATA)
+desktopdir = $(datadir)/applications
+desktop_in_files = caribou.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ INTLTOOL_DESKTOP_RULE@
+
+EXTRA_DIST = $(gtkbuilder_DATA) \
+             $(schema_DATA) \
+             $(desktop_in_files)
 
 # installation of schemas
 if GCONF_SCHEMAS_INSTALL
 install-data-hook:
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
 		$(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
-endif
\ No newline at end of file
+endif
diff --git a/data/caribou.desktop.in b/data/caribou.desktop.in
new file mode 100644
index 0000000..48f9215
--- /dev/null
+++ b/data/caribou.desktop.in
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Name=Caribou
+GenericName=Virtual on-screen keyboard
+Comment=Enter text with a virtual keyboard
+Exec=caribou
+Icon=caribou
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=GNOME;GTK;Utility;Accessibility;
+Encoding=UTF-8
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=caribou
+X-GNOME-Bugzilla-Component=default
+X-GNOME-Bugzilla-Version= VERSION@
+X-Ubuntu-Gettext-Domain=caribou



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]