diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | data/Makefile.am | 27 | ||||
-rw-r--r-- | data/spice-mime.xml.in | 8 | ||||
-rw-r--r-- | data/spicy.desktop.in.in | 10 |
5 files changed, 48 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index d64b9ac..59b5079 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ ACLOCAL_AMFLAGS = -I m4 NULL = -SUBDIRS = common gtk po python_modules doc +SUBDIRS = common gtk po python_modules doc data pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = spice-client-glib.pc spice-client-gtk.pc diff --git a/configure.ac b/configure.ac index ee01556..866fa99 100644 --- a/configure.ac +++ b/configure.ac @@ -438,6 +438,8 @@ spice-client-gtk.pc common/Makefile common/win/Makefile common/win/my_getopt-1.5/Makefile +data/Makefile +data/spicy.desktop.in po/Makefile.in python_modules/Makefile gtk/Makefile diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..210ce69 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,27 @@ +NULL= + +# TODO: not sure if we want to do that +#desktopdir = $(datadir)/applications +#desktop_in_files = spicy.desktop.in +#desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +#@INTLTOOL_DESKTOP_RULE@ +# +#MIMEFILES = spice-mime.xml.in +#mimedir = $(datadir)/mime/packages +#mime_DATA = spice-mime.xml +#@INTLTOOL_XML_RULE@ + +EXTRA_DIST = \ + spicy-for-windows.nsis \ + $(desktop_in_files) \ + $(NULL) + +CLEANFILES = \ + $(desktop_DATA) \ + $(NULL) + +DISTCLEANFILES = \ + $(desktop_DATA) \ + $(NULL) + +-include $(top_srcdir)/git.mk diff --git a/data/spice-mime.xml.in b/data/spice-mime.xml.in new file mode 100644 index 0000000..3bfd575 --- /dev/null +++ b/data/spice-mime.xml.in @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-spice"> + <sub-class-of type="text/plain"/> + <_comment>Remote Desktop (SPICE) file</_comment> + <glob pattern="*.spice"/> + </mime-type> +</mime-info> diff --git a/data/spicy.desktop.in.in b/data/spicy.desktop.in.in new file mode 100644 index 0000000..b2e5b30 --- /dev/null +++ b/data/spicy.desktop.in.in @@ -0,0 +1,10 @@ +[Desktop Entry] +_Name=SPICE Remote Desktop Viewer +_Comment=Access remote SPICE desktops +Exec=spicy +#Icon=spice +Terminal=false +MimeType=x-scheme-handler/spice +Type=Application +StartupNotify=true +Categories=GNOME;GTK;Network;RemoteAccess; |