File: 0003-Move-appdata-to-appropriate-location.patch

package info (click to toggle)
scap-workbench 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,292 kB
  • sloc: cpp: 7,519; sh: 205; xml: 38; ansic: 15; makefile: 13
file content (23 lines) | stat: -rw-r--r-- 841 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Hideki Yamane <henrich@debian.org>
Date: Sun, 8 Aug 2021 23:59:57 +0900
Subject: Move appdata to appropriate location

/usr/share/appdata is obsolete, now it's /usr/share/metainfo.
Thanks to lintian.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 57d6c5c..e008317 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -284,7 +284,7 @@ install(FILES "share/pixmaps/scap-workbench.png"
 install(FILES "share/pixmaps/scap-workbench.svg"
     DESTINATION "${CMAKE_INSTALL_DATADIR}/pixmaps")
 install(FILES "scap-workbench.appdata.xml"
-    DESTINATION "${CMAKE_INSTALL_DATADIR}/appdata")
+    DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo")
 
 if (ASCIIDOC_EXECUTABLE)
     file(GLOB USER_MANUAL_SCREENSHOTS "${CMAKE_CURRENT_SOURCE_DIR}/doc/user_manual/*.png")