[springlobby] 05/05: Add appdata-metainfo.patch and use the canonical directory for
Markus Koschany
apo at moszumanska.debian.org
Sun Oct 1 18:37:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository springlobby.
commit d3a3239131f44d7e3e2a440a516ad5716af57a6b
Author: Markus Koschany <apo at debian.org>
Date: Sun Oct 1 19:48:33 2017 +0200
Add appdata-metainfo.patch and use the canonical directory for
appdata files.
---
debian/changelog | 2 ++
debian/patches/appdata-metainfo.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 27 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1d72ed7..f7cba6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ springlobby (0.257+dfsg-1) unstable; urgency=medium
* New upstream version 0.257+dfsg.
* Declare compliance with Debian Policy 4.1.1.
+ * Add appdata-metainfo.patch and use the canonical directory for
+ appdata files.
-- Markus Koschany <apo at debian.org> Sun, 01 Oct 2017 19:27:10 +0200
diff --git a/debian/patches/appdata-metainfo.patch b/debian/patches/appdata-metainfo.patch
new file mode 100644
index 0000000..f8797cc
--- /dev/null
+++ b/debian/patches/appdata-metainfo.patch
@@ -0,0 +1,24 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sun, 1 Oct 2017 19:47:39 +0200
+Subject: appdata metainfo
+
+Use the new canonical directory for appdata files.
+
+Forwarded: yes
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a65ff01..71bee1b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -137,7 +137,7 @@ ELSE (WIN32)
+ install(FILES AUTHORS COPYING README THANKS NEWS DESTINATION "${CMAKE_INSTALL_PREFIX}${SHARE_INSTALL_DIR}/doc/springlobby")
+ install(FILES src/images/springlobby.svg DESTINATION "${CMAKE_INSTALL_PREFIX}${SHARE_INSTALL_DIR}/icons/hicolor/scalable/apps")
+ install(FILES src/springlobby.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}${SHARE_INSTALL_DIR}/applications")
+- install(FILES share/freedesktop.org/springlobby.appdata.xml DESTINATION "${CMAKE_INSTALL_PREFIX}${SHARE_INSTALL_DIR}/appdata")
++ install(FILES share/freedesktop.org/springlobby.appdata.xml DESTINATION "${CMAKE_INSTALL_PREFIX}${SHARE_INSTALL_DIR}/metainfo")
+ ENDIF (WIN32)
+
+ add_custom_target(pack ${CMAKE_MAKE_PROGRAM} package
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9c68bf6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+appdata-metainfo.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/springlobby.git
More information about the Pkg-games-commits
mailing list