summaryrefslogtreecommitdiff
path: root/games-board/gnome-mahjongg/files/gnome-mahjongg-3.38.3-meson-0.61.patch
blob: 9b9f26d09f9576f8bf405e57c2bf1f7abec1acaa (plain)
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
https://gitlab.gnome.org/GNOME/gnome-mahjongg/-/merge_requests/26
https://bugs.gentoo.org/831466

From 7604f8c8311f1088293596e639fefafdbeb73235 Mon Sep 17 00:00:00 2001
From: Jan Beich <jbeich@FreeBSD.org>
Date: Mon, 24 Jan 2022 11:22:48 +0000
Subject: [PATCH] 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:24:0: ERROR: Function does not take positional arguments.
data/meson.build:45:0: ERROR: Function does not take positional arguments.
--- a/data/meson.build
+++ b/data/meson.build
@@ -22,7 +22,6 @@ install_data ('smooth.png', install_dir: join_paths (pkgdatadir, 'themes'))
 install_data ('edu_kang_xi.png', install_dir: join_paths (pkgdatadir, 'themes'))
 
 desktop_file = i18n.merge_file (
-  'desktop-file',
   input:       'org.gnome.Mahjongg.desktop.in',
   output:      'org.gnome.Mahjongg.desktop',
   install:     true,
@@ -42,7 +41,7 @@ if desktop_file_validate.found()
   )
 endif
 
-appdata_file = i18n.merge_file ('appdata-file',
+appdata_file = i18n.merge_file (
                  input: 'org.gnome.Mahjongg.appdata.xml.in',
                  output: 'org.gnome.Mahjongg.appdata.xml',
                  install: true,
GitLab