commit:     6056e84c2a009fc2d40edf91db4b3f8ce3c5183f
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 19:28:01 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 19:28:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6056e84c

dev-util/glade: fix build with meson-0.61

Closes: https://bugs.gentoo.org/831453
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-util/glade/files/glade-3.38.2-meson-0.61.patch | 57 ++++++++++++++++++++++
 dev-util/glade/glade-3.38.2.ebuild                 |  5 +-
 2 files changed, 61 insertions(+), 1 deletion(-)

diff --git a/dev-util/glade/files/glade-3.38.2-meson-0.61.patch 
b/dev-util/glade/files/glade-3.38.2-meson-0.61.patch
new file mode 100644
index 000000000000..72f9c0e509ba
--- /dev/null
+++ b/dev-util/glade/files/glade-3.38.2-meson-0.61.patch
@@ -0,0 +1,57 @@
+From 61304b2e8bac8ded76643cb7c3e781f73881dd2b Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <[email protected]>
+Date: Thu, 20 Jan 2022 14:18:09 -0500
+Subject: [PATCH 1/2] meson: i18n.merge_file() does not take a positional
+ argument
+
+---
+ data/meson.build | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/data/meson.build b/data/meson.build
+index 9f244566..bfbc514c 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -2,7 +2,6 @@ desktop_conf = configuration_data()
+ desktop_conf.set('VERSION', glade_version)
+ 
+ i18n.merge_file(
+-  'desktop',
+   type: 'desktop',
+   input: configure_file(
+     input: 'org.gnome.Glade.desktop.in.in',
+@@ -18,7 +17,6 @@ i18n.merge_file(
+ appdata = glade_name + '.appdata.xml'
+ 
+ i18n.merge_file(
+-  'appdata',
+   input: 'org.gnome.Glade.appdata.xml.in',
+   output: '@BASENAME@',
+   po_dir: po_dir,
+-- 
+GitLab
+
+
+From 04ba6f969f716fbfe3c7feb7e4bab8678cc1e9eb Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <[email protected]>
+Date: Thu, 20 Jan 2022 14:19:03 -0500
+Subject: [PATCH 2/2] Remove duplicate entry for 'da' from help/LINGUAS
+
+---
+ help/LINGUAS | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/help/LINGUAS b/help/LINGUAS
+index fc3cd4c3..d67e42c8 100644
+--- a/help/LINGUAS
++++ b/help/LINGUAS
+@@ -1,6 +1,5 @@
+ # please keep this list sorted alphabetically
+ #
+-da
+ bg
+ ca
+ cs
+-- 
+GitLab
+

diff --git a/dev-util/glade/glade-3.38.2.ebuild 
b/dev-util/glade/glade-3.38.2.ebuild
index b904db0e2b54..5844cf0a192c 100644
--- a/dev-util/glade/glade-3.38.2.ebuild
+++ b/dev-util/glade/glade-3.38.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -50,6 +50,9 @@ PATCHES=(
        # To avoid file collison with other slots, rename help module.
        # Prevent the UI from loading glade:3's gladeui devhelp documentation.
        "${FILESDIR}"/${PN}-3.14.1-doc-version.patch
+
+       # https://bugs.gentoo.org/831453
+       "${FILESDIR}"/glade-3.38.2-meson-0.61.patch
 )
 
 pkg_setup() {

Reply via email to