File grsync-appdata.patch of Package grsync
Index: grsync-1.2.6/grsync.appdata.xml.in
===================================================================
--- /dev/null
+++ grsync-1.2.6/grsync.appdata.xml.in
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<component>
+ <id type="desktop">grsync.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <_name>Grsync</_name>
+ <project_license>GPL-2.0</project_license>
+ <_summary>Synchronize files and folders (a GTK GUI for rsync)</_summary>
+ <url type="homepage">http://www.opbyte.it/grsync/</url>
+ <description>
+ <_p>Grsync is a GUI (Graphical User Interface) for rsync, the commandline directory
+and file synchronization tool. It can be effectively used to synchronize local
+directories and it supports remote targets as well (even though it doesn't
+support browsing the remote folder). Sample uses of grsync include: synchronize
+a music collection with removable devices, backup personal files to a networked
+drive, replication of a partition to another one, mirroring of files, etc.</_p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image height="463" width="455">http://www.opbyte.it/grsync/grsync-1.0.0.png</image>
+ <caption>Grsync in action</caption>
+ </screenshot>
+ </screenshots>
+ <update_contact>info@opbyte.it</update_contact>
+ <translation type="gettext">grsync</translation>
+</component>
Index: grsync-1.2.6/Makefile.am
===================================================================
--- grsync-1.2.6.orig/Makefile.am
+++ grsync-1.2.6/Makefile.am
@@ -52,6 +52,12 @@ icon_scalable_DATA = maemo-icons/scalabl
else
Applicationsdir = $(datadir)/applications
Applications_DATA = grsync.desktop
+
+Appdatadir = $(datadir)/appdata
+Appdata_in_files = grsync.appdata.xml.in
+Appdata_DATA = $(Appdata_in_files:.appdata.xml.in=.appdata.xml)
+@INTLTOOL_XML_RULE@
+EXTRA_DIST += $(Appdata_in_files)
endif
Gladedir = $(datadir)/grsync
Index: grsync-1.2.6/po/POTFILES.in
===================================================================
--- grsync-1.2.6.orig/po/POTFILES.in
+++ grsync-1.2.6/po/POTFILES.in
@@ -1,6 +1,7 @@
# List of source files containing translatable strings.
[type: gettext/glade]grsync.glade
+grsync.appdata.xml.in
src/main.c
src/callbacks.c