Hello community,

here is the log from the commit of package solarus for openSUSE:Factory checked 
in at 2017-02-21 13:50:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/solarus (Old)
 and      /work/SRC/openSUSE:Factory/.solarus.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "solarus"

Changes:
--------
--- /work/SRC/openSUSE:Factory/solarus/solarus.changes  2017-02-07 
11:59:19.620801772 +0100
+++ /work/SRC/openSUSE:Factory/.solarus.new/solarus.changes     2017-02-21 
13:50:24.307891327 +0100
@@ -1,0 +2,5 @@
+Sat Feb 18 08:45:46 UTC 2017 - [email protected]
+
+- Add appdata.patch for https://en.opensuse.org/openSUSE:AppStore
+
+-------------------------------------------------------------------

New:
----
  appdata.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ solarus.spec ++++++
--- /var/tmp/diff_new_pack.RGWOat/_old  2017-02-21 13:50:24.987795637 +0100
+++ /var/tmp/diff_new_pack.RGWOat/_new  2017-02-21 13:50:24.987795637 +0100
@@ -28,6 +28,8 @@
 Patch1:         luajit-5_1-2.1.patch
 # PATCH-FIX-UPSTREAM https://github.com/solarus-games/solarus/pull/1021
 Patch2:         icons-desktop-man.patch
+# PATCH-FEATURE-UPSTREAM https://github.com/solarus-games/solarus/pull/1031
+Patch3:         appdata.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
@@ -67,6 +69,7 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %cmake
@@ -95,6 +98,8 @@
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_datadir}/applications/%{name}.desktop
 %{_mandir}/man6/solarus.*
+%dir %{_datadir}/appdata/
+%{_datadir}/appdata/%{name}.appdata.xml
 
 %files -n libsolarus1
 %defattr(-,root,root)

++++++ appdata.patch ++++++
>From 6c709ed75cec52e5de4aa2851fb975f0e89e57d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
Date: Sat, 18 Feb 2017 09:37:25 +0100
Subject: [PATCH] Add and install an appdata.xml file.

---
 gui/CMakeLists.txt                |  6 ++++++
 gui/resources/solarus.appdata.xml | 20 ++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 gui/resources/solarus.appdata.xml

diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 092bf35..7c1eb12 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -185,6 +185,12 @@ if(UNIX AND NOT APPLE)
     DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
 endif(UNIX AND NOT APPLE)
 
+# AppStream compatible software gallery metadata
+if(UNIX AND NOT APPLE)
+  install (FILES 
${CMAKE_CURRENT_SOURCE_DIR}/../gui/resources/solarus.appdata.xml
+    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/appdata)
+endif(UNIX AND NOT APPLE)
+
 # Linux Manpage
 if(UNIX AND NOT APPLE)
   install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../solarus.6
diff --git a/gui/resources/solarus.appdata.xml 
b/gui/resources/solarus.appdata.xml
new file mode 100644
index 0000000..9c95908
--- /dev/null
+++ b/gui/resources/solarus.appdata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+  <id>solarus.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-3.0</project_license>
+  <name>Solarus</name>
+  <summary>ARPG 2D game engine</summary>
+  <description>
+    <p>
+      Solarus is an open-source Zelda-like 2D game engine.
+    </p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      
<image>http://www.solarus-games.org/wp-content/uploads/2016/07/solarus-launcher.png</image>
+    </screenshot>
+  </screenshots>
+  <url type="homepage">http://www.solarus-games.org/</url>
+  <update_contact>[email protected]</update_contact>
+</component>

Reply via email to