Blob Blame Raw
Index: mount-archive.desktop.in.in
===================================================================
--- mount-archive.desktop.in.in	(revision 0)
+++ mount-archive.desktop.in.in	(revision 0)
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Encoding=UTF-8
+_Name=Archive Mounter
+Exec=@libexecdir@/gvfsd-archive file=%u
+X-Gnome-Vfs-System=gio
+MimeType=application/x-cd-image;application/x-bzip-compressed-tar;application/x-compressed-tar;application/x-tar;application/x-cpio;application/x-zip;application/zip;application/x-lzma-compressed-tar;
+Terminal=false
+StartupNotify=false
+Type=Application
+NoDisplay=true
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gvfs
+X-GNOME-Bugzilla-Component=archive-backend
+X-GNOME-Bugzilla-Version=@VERSION@
Index: Makefile.am
===================================================================
--- Makefile.am.orig	2008-07-22 15:35:49.000000000 +0200
+++ Makefile.am	2008-07-22 17:56:59.417180064 +0200
@@ -1,5 +1,20 @@
 NULL =
 
+@INTLTOOL_DESKTOP_RULE@
+
+desktop_in_files = mount-archive.desktop.in
+
+mount-archive.desktop.in: mount-archive.desktop.in.in
+	sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
+desktopdir       = $(datadir)/applications
+if HAVE_ARCHIVE
+desktop_DATA     = mount-archive.desktop
+else
+desktop_DATA     = 
+endif	
+
+
 SUBDIRS = \
 	common \
 	client \
@@ -18,6 +33,8 @@ EXTRA_DIST = \
 	gvfs.doap		\
 	README.commits		\
 	MAINTAINERS		\
+	mount-archive.desktop.in.in \
+	$(desktop_in_files)     \
 	$(NULL)
 
 DISTCLEANFILES = \