[gnome-build-meta] elements/core-deps/babl.bst: Make it possible to compile with python3 only systems



commit db8bbecc83c3f0dd9f57769ee57c6a7af203ee4c
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Jul 30 14:47:57 2019 +0100

    elements/core-deps/babl.bst: Make it possible to compile with python3 only systems

 elements/core-deps/babl.bst                        |  2 ++
 files/babl/0001-babl-meson.build-Use-python3.patch | 25 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)
---
diff --git a/elements/core-deps/babl.bst b/elements/core-deps/babl.bst
index 9d875f68..cd3e3945 100644
--- a/elements/core-deps/babl.bst
+++ b/elements/core-deps/babl.bst
@@ -3,6 +3,8 @@ sources:
 - kind: git_tag
   url: gitlab_gnome_org:GNOME/babl.git
   track: master
+- kind: patch
+  path: files/babl/0001-babl-meson.build-Use-python3.patch
 depends:
 - filename: components/git-minimal.bst
   junction: freedesktop-sdk.bst
diff --git a/files/babl/0001-babl-meson.build-Use-python3.patch 
b/files/babl/0001-babl-meson.build-Use-python3.patch
new file mode 100644
index 00000000..ef4b2f8d
--- /dev/null
+++ b/files/babl/0001-babl-meson.build-Use-python3.patch
@@ -0,0 +1,25 @@
+From 8296a767bbb7a63090b9866e57197b752058dd1f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Javier=20Jard=C3=B3n?= <jjardon gnome org>
+Date: Tue, 30 Jul 2019 14:38:05 +0100
+Subject: [PATCH] babl/meson.build: Use python3
+
+---
+ babl/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/babl/meson.build b/babl/meson.build
+index 72b0e9b..54258e3 100644
+--- a/babl/meson.build
++++ b/babl/meson.build
+@@ -7,7 +7,7 @@ version_script_target = custom_target(version_script,
+   input : [ export_symbols, ] ,
+   output: [ version_script ] ,
+   command: [
+-  'python',
++  'python3',
+   join_paths(meson.source_root(), 'gen_babl_map.py'),
+   export_symbols,
+   version_script,
+-- 
+2.22.0
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]