From a5c41e08a807a014c2549060851bd16b78757a001771d38cbe2fdf686834bc89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Thu, 3 Feb 2022 21:48:13 +0000 Subject: [PATCH] Accepting request 950421 from GNOME:Next Forward, as this is a stable rel, and no new unstable in sight so far OBS-URL: https://build.opensuse.org/request/show/950421 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/polari?expand=0&rev=116 --- ...4b54142d8b424969f0b6ace6fc8b53b1d05d.patch | 43 +++++++++++++++++++ polari.changes | 6 +++ polari.spec | 4 +- 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 0f0a4b54142d8b424969f0b6ace6fc8b53b1d05d.patch diff --git a/0f0a4b54142d8b424969f0b6ace6fc8b53b1d05d.patch b/0f0a4b54142d8b424969f0b6ace6fc8b53b1d05d.patch new file mode 100644 index 0000000..ffe9235 --- /dev/null +++ b/0f0a4b54142d8b424969f0b6ace6fc8b53b1d05d.patch @@ -0,0 +1,43 @@ +From 0f0a4b54142d8b424969f0b6ace6fc8b53b1d05d Mon Sep 17 00:00:00 2001 +From: Jan Beich +Date: Mon, 24 Jan 2022 12:32:00 +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/appdata/meson.build:2:0: ERROR: Function does not take positional arguments. +data/meson.build:5:0: ERROR: Function does not take positional arguments. + +Part-of: +--- + data/appdata/meson.build | 2 +- + data/meson.build | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/data/appdata/meson.build b/data/appdata/meson.build +index 88b4a0be..781ba22f 100644 +--- a/data/appdata/meson.build ++++ b/data/appdata/meson.build +@@ -1,5 +1,5 @@ + appdata_name = app_id + '.appdata.xml' +-appdata = i18n.merge_file(appdata_name, ++appdata = i18n.merge_file( + input: appdata_name + '.in', + output: appdata_name, + po_dir: '../../po', +diff --git a/data/meson.build b/data/meson.build +index cedfd57b..655ae700 100644 +--- a/data/meson.build ++++ b/data/meson.build +@@ -2,7 +2,7 @@ subdir('appdata') + subdir('icons') + + desktop_filename = app_id + '.desktop' +-desktop_file = i18n.merge_file(desktop_filename, ++desktop_file = i18n.merge_file( + input: desktop_filename + '.in', + output: desktop_filename, + po_dir: '../po', +-- +GitLab + diff --git a/polari.changes b/polari.changes index b617ab3..f370956 100644 --- a/polari.changes +++ b/polari.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 1 12:31:32 UTC 2022 - Bjørn Lie + +- Add 0f0a4b54142d8b424969f0b6ace6fc8b53b1d05d.patch: Fix build + with meson 0.61.0 and newer. + ------------------------------------------------------------------- Tue Sep 21 10:54:20 UTC 2021 - Bjørn Lie diff --git a/polari.spec b/polari.spec index ef3d37f..9b0cc56 100644 --- a/polari.spec +++ b/polari.spec @@ -1,7 +1,7 @@ # # spec file for package polari # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -28,6 +28,8 @@ Source0: https://download.gnome.org/sources/polari/41/%{name}-%{version}. Source99: polari-rpmlintrc # PATCH-FIX-UPSTREAM polari-fix-nb-translation.patch glgo#GNOME/polari!145 -- Fix Norwegian bokmål translation Patch0: polari-fix-nb-translation.patch +# PATCH-FIX-UPSTREAM 0f0a4b54142d8b424969f0b6ace6fc8b53b1d05d.patch -- Fix build with meson 0.61.0 and newer +Patch1: https://gitlab.gnome.org/GNOME/polari/-/commit/0f0a4b54142d8b424969f0b6ace6fc8b53b1d05d.patch BuildRequires: gjs >= 1.57.3 BuildRequires: meson >= 0.53.0