Blame SOURCES/gvfs-archive-integration.patch

ebf376
diff -up gvfs-1.29.90/Makefile.am.archive-integration gvfs-1.29.90/Makefile.am
ebf376
--- gvfs-1.29.90/Makefile.am.archive-integration	2016-08-11 14:01:26.000000000 +0200
ebf376
+++ gvfs-1.29.90/Makefile.am	2016-08-13 12:19:21.313402711 +0200
ebf376
@@ -1,5 +1,20 @@
ebf376
 NULL =
ebf376
 
ebf376
+desktop_in_files = mount-archive.desktop.in
ebf376
+
ebf376
+mount-archive.desktop.in: mount-archive.desktop.in.in
ebf376
+	sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
ebf376
+
ebf376
+desktopdir       = $(datadir)/applications
ebf376
+if HAVE_ARCHIVE
ebf376
+desktop_DATA     = $(desktop_in_files:.desktop.in=.desktop)
ebf376
+
ebf376
+$(desktop_DATA): %.desktop: %.desktop.in
ebf376
+	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
ebf376
+else
ebf376
+desktop_DATA     =
ebf376
+endif
ebf376
+
ebf376
 SUBDIRS = \
ebf376
 	common \
ebf376
 	metadata \
ebf376
@@ -24,6 +39,8 @@ EXTRA_DIST = \
ebf376
 	gvfs.doap		\
ebf376
 	README.commits		\
ebf376
 	MAINTAINERS		\
ebf376
+	mount-archive.desktop.in.in	\
ebf376
+	$(desktop_in_files)	\
ebf376
 	m4			\
ebf376
 	gettext/its/polkit.loc	\
ebf376
 	gettext/its/polkit.its	\
ebf376
diff -up gvfs-1.29.90/mount-archive.desktop.in.in.archive-integration gvfs-1.29.90/mount-archive.desktop.in.in
ebf376
--- gvfs-1.29.90/mount-archive.desktop.in.in.archive-integration	2016-08-13 12:19:21.313402711 +0200
ebf376
+++ gvfs-1.29.90/mount-archive.desktop.in.in	2016-08-13 12:19:21.313402711 +0200
ebf376
@@ -0,0 +1,13 @@
ebf376
+[Desktop Entry]
ebf376
+Name=Archive Mounter
ebf376
+Exec=@libexecdir@/gvfsd-archive file=%u
ebf376
+X-Gnome-Vfs-System=gio
ebf376
+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;application/x-xz-compressed-tar;
ebf376
+Terminal=false
ebf376
+StartupNotify=false
ebf376
+Type=Application
ebf376
+NoDisplay=true
ebf376
+X-GNOME-Bugzilla-Bugzilla=GNOME
ebf376
+X-GNOME-Bugzilla-Product=gvfs
ebf376
+X-GNOME-Bugzilla-Component=archive-backend
ebf376
+X-GNOME-Bugzilla-Version=@VERSION@