File: meson-drop-unused-argument-for-i18n.merge_file.patch

package info (click to toggle)
gnome-tetravex 1%3A3.38.2-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,336 kB
  • sloc: xml: 85; python: 14; sh: 7; makefile: 6
file content (36 lines) | stat: -rw-r--r-- 1,284 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
25
26
27
28
29
30
31
32
33
34
35
36
From: Jan Beich <jbeich@FreeBSD.org>
Date: Mon, 24 Jan 2022 11:48:22 +0000
Subject: meson: drop unused argument for i18n.merge_file()

Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.

data/meson.build:37:0: ERROR: Function does not take positional arguments.
data/meson.build:59:0: ERROR: Function does not take positional arguments.

https://gitlab.gnome.org/GNOME/gnome-tetravex/-/merge_requests/20
---
 data/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/meson.build b/data/meson.build
index bb77248..b881e8a 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -34,7 +34,7 @@ endif
 
 # Desktop file
 if get_option('build_gui')
-  desktop_file = i18n.merge_file ('desktop-file',
+  desktop_file = i18n.merge_file (
                            input: project_id + '.desktop.in',
                           output: project_id + '.desktop',
                          install: true,
@@ -56,7 +56,7 @@ endif
 
 # AppData file
 if get_option('build_gui')
-  appdata_file = i18n.merge_file ('appdata-file',
+  appdata_file = i18n.merge_file (
                            input: project_id + '.appdata.xml.in',
                           output: project_id + '.appdata.xml',
                          install: true,