File xournal-appdata.patch of Package xournal

Index: xournal-0.4.8.2016/xournal.appdata.xml.in
===================================================================
--- /dev/null
+++ xournal-0.4.8.2016/xournal.appdata.xml.in
@@ -0,0 +1,24 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<component>
+  <id type="desktop">xournal.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <_name>Xournal</_name>
+  <project_license>GPL-2.0+</project_license>
+  <_summary>Application for notetaking, sketching, and keeping a journal using a stylus</_summary>
+  <url type="homepage">http://xournal.sourceforge.net</url>
+  <description>
+    <_p>Xournal is an application for notetaking, sketching, keeping a journal
+using a stylus. It is free software (GNU GPL) and runs on Linux (recent
+distributions) and other GTK+/Gnome platforms. It is similar to
+Microsoft Windows Journal or to other alternatives such as Jarnal and
+Gournal.</_p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image height="351" width="640">https://a.fsdn.com/con/app/proj/xournal/screenshots/64904.jpg</image>
+      <caption>Xournal interface</caption>
+    </screenshot>
+  </screenshots>
+  <update_contact>xournal-devel@lists.sourceforge.net</update_contact>
+  <translation type="gettext">xournal</translation>
+</component>
Index: xournal-0.4.8.2016/Makefile.am
===================================================================
--- xournal-0.4.8.2016.orig/Makefile.am
+++ xournal-0.4.8.2016/Makefile.am
@@ -2,10 +2,16 @@
 
 SUBDIRS = src po
 
+appdatadir = $(datadir)/appdata
+appdata_in_files = xournal.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
+@INTLTOOL_XML_RULE@
+
 EXTRA_DIST = \
 	autogen.sh \
 	xournal.glade xournal.gladep \
-	xournal.xml x-xoj.desktop xournal.desktop
+	xournal.xml x-xoj.desktop xournal.desktop \
+	$(appdata_in_files)
 
 install-data-local:
 	@$(NORMAL_INSTALL)
Index: xournal-0.4.8.2016/po/POTFILES.in
===================================================================
--- xournal-0.4.8.2016.orig/po/POTFILES.in
+++ xournal-0.4.8.2016/po/POTFILES.in
@@ -1,5 +1,6 @@
 # List of source files containing translatable strings.
 
+xournal.appdata.xml.in
 src/main.c
 src/xo-interface.c
 src/xo-callbacks.c
Index: xournal-0.4.8.2016/configure.in
===================================================================
--- xournal-0.4.8.2016.orig/configure.in
+++ xournal-0.4.8.2016/configure.in
@@ -4,6 +4,7 @@ AC_INIT(configure.in)
 AM_INIT_AUTOMAKE(xournal, 0.4.8.2016)
 AC_CONFIG_HEADERS(config.h)
 AM_MAINTAINER_MODE
+IT_PROG_INTLTOOL([0.35.0])
 
 AC_ISC_POSIX
 AC_PROG_CC
openSUSE Build Service is sponsored by