File: appdata.patch

package info (click to toggle)
graphs 1.8.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,160 kB
  • sloc: python: 4,860; xml: 220; makefile: 6
file content (28 lines) | stat: -rw-r--r-- 791 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
24
25
26
27
28
Description: Fix linitian warning appstream-metadata-in-legacy-location
Author: Sven Geuer <sge@debian.org>
Forwarded: not-needed
Last-Update: 2025-10-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/data/meson.build
+++ b/data/meson.build
@@ -30,7 +30,7 @@
        output: application_id + '.appdata.xml',
        po_dir: '../po',
       install: true,
-  install_dir: join_paths(datadir, 'appdata'),
+  install_dir: join_paths(datadir, 'metainfo'),
 )
 
 # Validate Appdata
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -85,7 +85,7 @@
       done
     organize:
       snap/graphs/current/usr: usr
-    parse-info: [usr/share/appdata/se.sjoerd.Graphs.appdata.xml]
+    parse-info: [usr/share/metainfo/se.sjoerd.Graphs.appdata.xml]
     
     
 apps: