summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lermytte <gentoo@lermytte.be>2022-01-24 22:06:18 +0100
committerSam James <sam@gentoo.org>2022-01-25 00:49:02 +0000
commit0cbd505fd408e3f45dddde818ad69105ccce662e (patch)
tree7a2507fbac7c939f4e01751543c6d6745f549b3f /gnome-extra/gnome-boxes
parentmedia-sound/gnome-music: fix build with meson-0.61 (diff)
downloadgentoo-0cbd505fd408e3f45dddde818ad69105ccce662e.tar.gz
gentoo-0cbd505fd408e3f45dddde818ad69105ccce662e.tar.bz2
gentoo-0cbd505fd408e3f45dddde818ad69105ccce662e.zip
gnome-extra/gnome-boxes: fix build with meson-0.61
Closes: https://bugs.gentoo.org/831934 Signed-off-by: Christophe Lermytte <gentoo@lermytte.be> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-boxes')
-rw-r--r--gnome-extra/gnome-boxes/files/41.3-fix-build-with-meson-0.61.1.patch38
-rw-r--r--gnome-extra/gnome-boxes/gnome-boxes-41.3.ebuild4
2 files changed, 42 insertions, 0 deletions
diff --git a/gnome-extra/gnome-boxes/files/41.3-fix-build-with-meson-0.61.1.patch b/gnome-extra/gnome-boxes/files/41.3-fix-build-with-meson-0.61.1.patch
new file mode 100644
index 000000000000..d777e414f9f7
--- /dev/null
+++ b/gnome-extra/gnome-boxes/files/41.3-fix-build-with-meson-0.61.1.patch
@@ -0,0 +1,38 @@
+https://gitlab.gnome.org/GNOME/gnome-boxes/-/commit/fd0acfbe79444687c73dea182c2d1a5fa1c77324
+https://bugs.gentoo.org/831934
+
+From: Michal Vasilek <michal@vasilek.cz>
+Date: Sat, 15 Jan 2022 00:07:31 +0100
+Subject: [PATCH] build: remove positional i18n.merge_file arguments
+
+otherwise building with meson 0.61+ fails:
+
+ ERROR: Function does not take positional arguments.
+---
+ data/meson.build | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/data/meson.build b/data/meson.build
+index d32638a8..2dc1798b 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -20,7 +20,6 @@ resources = gnome.compile_resources ('org.gnome.Boxes',
+ desktop_conf = configuration_data ()
+ desktop_conf.set ('icon', application_id)
+ desktop = i18n.merge_file (
+- 'desktop',
+ input: configure_file (
+ input: files ('org.gnome.Boxes.desktop.in'),
+ output: 'org.gnome.Boxes.desktop.in',
+@@ -65,7 +64,7 @@ configure_file (
+
+ appdata_conf = configuration_data()
+ appdata_conf.set('appid', application_id)
+-appdata_file = i18n.merge_file ('appdata-file',
++appdata_file = i18n.merge_file (
+ input: configure_file (
+ input: files ('org.gnome.Boxes.appdata.xml.in'),
+ output: 'org.gnome.Boxes.appdata.xml.in',
+--
+GitLab
+
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-41.3.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-41.3.ebuild
index a2108ec7a02c..1c25fa6b9c26 100644
--- a/gnome-extra/gnome-boxes/gnome-boxes-41.3.ebuild
+++ b/gnome-extra/gnome-boxes/gnome-boxes-41.3.ebuild
@@ -76,6 +76,10 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}/${PV}"-fix-build-with-meson-0.61.1.patch
+)
+
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="Before running gnome-boxes for local VMs, you will need to load the KVM modules.
If you have an Intel Processor, run: