[gnome-boxes/backport-to-the-future: 5/7] flatpak: Fix spice-gtk build against latest sdk
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/backport-to-the-future: 5/7] flatpak: Fix spice-gtk build against latest sdk
- Date: Mon, 8 Jun 2020 10:59:42 +0000 (UTC)
commit d869f59d0f58ab3b2d9ed258ee033653a3f1bbfc
Author: Felipe Borges <felipeborges gnome org>
Date: Wed Jun 3 15:42:30 2020 +0200
flatpak: Fix spice-gtk build against latest sdk
build-aux/flatpak/org.gnome.Boxes.json | 4 ++++
build-aux/flatpak/spice-include-math.patch | 25 +++++++++++++++++++++++++
2 files changed, 29 insertions(+)
---
diff --git a/build-aux/flatpak/org.gnome.Boxes.json b/build-aux/flatpak/org.gnome.Boxes.json
index 6f8a8fa7..5a68f052 100644
--- a/build-aux/flatpak/org.gnome.Boxes.json
+++ b/build-aux/flatpak/org.gnome.Boxes.json
@@ -292,6 +292,10 @@
"type" : "archive",
"url" : "https://www.spice-space.org/download/gtk/spice-gtk-0.37.tar.bz2",
"sha256" : "1f28b706472ad391cda79a93fd7b4c7a03e84b88fc46ddb35dddbe323c923bb7"
+ },
+ {
+ "type" : "patch",
+ "path" : "spice-include-math.patch"
}
]
},
diff --git a/build-aux/flatpak/spice-include-math.patch b/build-aux/flatpak/spice-include-math.patch
new file mode 100644
index 00000000..3bf80ad5
--- /dev/null
+++ b/build-aux/flatpak/spice-include-math.patch
@@ -0,0 +1,25 @@
+From ba558294d9d0c8f003737134a195d2e059b3e3db Mon Sep 17 00:00:00 2001
+From: Felipe Borges <felipeborges gnome org>
+Date: Wed, 3 Jun 2020 15:32:01 +0200
+Subject: [PATCH] WIP
+
+---
+ meson.build | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/meson.build b/meson.build
+index 405c589..5725b7a 100644
+--- a/meson.build
++++ b/meson.build
+@@ -346,6 +346,8 @@ if d.found()
+ spice_gtk_config_data.set('USE_SMARTCARD', '1')
+ endif
+
++spice_glib_deps += compiler.find_library('m', required: false)
++
+ #
+ # global C defines
+ #
+--
+2.26.2
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]