File: build-Install-appstream-metadata-to-non-deprecated-locati.patch

package info (click to toggle)
nautilus-sendto 3.8.6-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,044 kB
  • sloc: ansic: 449; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Jeremy Bicha <jbicha@ubuntu.com>
Date: Sun, 26 Nov 2017 18:57:11 -0500
Subject: build: Install appstream metadata to non-deprecated location

Contrary to what was mentioned in commit 8ed99c3, $(datadir)/metainfo
is the preferred location, not $(datadir)/appdata.

https://bugzilla.gnome.org/show_bug.cgi?id=790875
(cherry picked from commit 877c930e065e372bfbf3c3bbf752a4b5b598e130)
---
 src/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index 9f599c1..a9638c1 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -11,5 +11,5 @@ i18n.merge_file (
                  input: 'nautilus-sendto.metainfo.xml.in',
                  output: 'nautilus-sendto.metainfo.xml',
                  install: true,
-                 install_dir: join_paths(nst_datadir, 'appdata'),
+                 install_dir: join_paths(nst_datadir, 'metainfo'),
                  po_dir: po_dir,)