summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch')
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch
index f21eaca855..45fe27ad61 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch
@@ -1,7 +1,7 @@
1From 704b888d0abfb01067352c40156f49f655691c7c Mon Sep 17 00:00:00 2001 1From 46dbe963aa6435591c87e788cdb54bc0daeac42e Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 19 Oct 2015 18:26:40 +0300 3Date: Mon, 19 Oct 2015 18:26:40 +0300
4Subject: [PATCH 3/5] giscanner: add --use-binary-wrapper option 4Subject: [PATCH] giscanner: add --use-binary-wrapper option
5 5
6With this option, giscanner will use a wrapper executable to run 6With this option, giscanner will use a wrapper executable to run
7binaries it's producing, instead of running them directly. This 7binaries it's producing, instead of running them directly. This
@@ -10,15 +10,16 @@ but they can be run using for example QEMU emulation.
10 10
11Upstream-Status: Pending [review on oe-core list] 11Upstream-Status: Pending [review on oe-core list]
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13
13--- 14---
14 giscanner/scannermain.py | 14 ++++++++++++++ 15 giscanner/scannermain.py | 14 ++++++++++++++
15 1 file changed, 14 insertions(+) 16 1 file changed, 14 insertions(+)
16 17
17diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py 18diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
18index 633496f..d684cd0 100755 19index ccb14e9..061def0 100644
19--- a/giscanner/scannermain.py 20--- a/giscanner/scannermain.py
20+++ b/giscanner/scannermain.py 21+++ b/giscanner/scannermain.py
21@@ -124,6 +124,9 @@ def _get_option_parser(): 22@@ -126,6 +126,9 @@ def _get_option_parser():
22 parser.add_option("", "--program", 23 parser.add_option("", "--program",
23 action="store", dest="program", default=None, 24 action="store", dest="program", default=None,
24 help="program to execute") 25 help="program to execute")
@@ -28,7 +29,7 @@ index 633496f..d684cd0 100755
28 parser.add_option("", "--program-arg", 29 parser.add_option("", "--program-arg",
29 action="append", dest="program_args", default=[], 30 action="append", dest="program_args", default=[],
30 help="extra arguments to program") 31 help="extra arguments to program")
31@@ -419,6 +422,17 @@ def create_binary(transformer, options, args): 32@@ -418,6 +421,17 @@ def create_binary(transformer, options, args):
32 gdump_parser.get_error_quark_functions()) 33 gdump_parser.get_error_quark_functions())
33 34
34 shlibs = resolve_shlibs(options, binary, options.libraries) 35 shlibs = resolve_shlibs(options, binary, options.libraries)
@@ -46,6 +47,3 @@ index 633496f..d684cd0 100755
46 gdump_parser.set_introspection_binary(binary) 47 gdump_parser.set_introspection_binary(binary)
47 gdump_parser.parse() 48 gdump_parser.parse()
48 return shlibs 49 return shlibs
49--
502.7.0
51