Debian Codegraph @

debian/patches/debian-hacks/Install-appdata.xml-into-propriate-folder.patch

raw
1 From: Carsten Schoenert <[email protected]>
2 Date: Fri, 8 Jan 2021 00:40:23 +0100
3 Subject: Install appdata.xml into propriate folder
4
5 Forwarded: not-needed
6
7 The installation of the appdata.xml file into the lib/ folder isn't
8 useful as the file needs to get into /u/s/metainfo finally. Let's
9 install the file renamed to the correct file name into
10
11 build/linux/work/usr/share/metainfo.
12
13 From there we can grab the file by the install sequencer.
14
15 Forwarded: no
16 ---
17 build/build.xml | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/build/build.xml b/build/build.xml
21 index 4bd6b1f..2d96e6e 100644
22 --- a/build/build.xml
23 +++ b/build/build.xml
24 @@ -652,7 +652,7 @@
25
26 <copy tofile="linux/work/lib/arduino-arduinoide.xml" file="linux/dist/mime.xml" />
27 <copy todir="linux/work/lib" file="linux/dist/desktop.template" />
28 - <copy todir="linux/work/lib" file="linux/dist/appdata.xml" />
29 + <copy tofile="linux/work/usr/share/metainfo/cc.arduino.arduinoide.appdata.xml" file="linux/dist/appdata.xml" />
30
31 <copy todir="linux/work" file="linux/dist/arduino" />
32 <copy todir="linux/work" file="linux/dist/install.sh" />