diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-11-09 17:07:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-14 11:14:39 +0000 |
commit | f885c4cd7f1be3bad417a4c15b19062e47355922 (patch) | |
tree | ab88d4f34b8cf8c7d450072153fcce2bd23d48ae /meta/recipes-support | |
parent | 13646cc96b1c8cb49b4ecbab9d90b60f8ce1f587 (diff) | |
download | poky-f885c4cd7f1be3bad417a4c15b19062e47355922.tar.gz |
gpgme: 1.11.1 -> 1.12.0
Rebase 0007-qt-python-Add-variables-to-tests.patch
Rework 0007-qt-python-Add-variables-to-tests.patch -> 0007-python-Add-variables-to-tests.patch
Drop newly added option --disable-lang-qt-test which is merged to --disable-gpg-test by
upstream commit [26820ba qt: Respect --disable-gpg-test for tests]
(From OE-Core rev: 9457163b2c4982a64814c6b38c292d7bc61ff643)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch | 8 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch | 30 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0003-Correctly-install-python-modules.patch | 6 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0004-python-import.patch | 2 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch | 2 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0006-fix-build-path-issue.patch | 6 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch | 50 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0007-qt-python-Add-variables-to-tests.patch | 78 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme_1.12.0.bb (renamed from meta/recipes-support/gpgme/gpgme_1.11.1.bb) | 7 |
9 files changed, 81 insertions, 108 deletions
diff --git a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch index ae9a46ed4e..176723cd16 100644 --- a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch +++ b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c452ba58dd2f99d6e624421697417cc018f9a67a Mon Sep 17 00:00:00 2001 | 1 | From 6492c952d61bb93a8bf8200c093d7e491456aa5a Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
3 | Date: Fri, 29 Jun 2018 14:35:41 +0800 | 3 | Date: Fri, 29 Jun 2018 14:35:41 +0800 |
4 | Subject: [PATCH 1/7] pkgconfig | 4 | Subject: [PATCH 1/7] pkgconfig |
@@ -25,10 +25,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
25 | create mode 100644 src/gpgme.pc.in | 25 | create mode 100644 src/gpgme.pc.in |
26 | 26 | ||
27 | diff --git a/configure.ac b/configure.ac | 27 | diff --git a/configure.ac b/configure.ac |
28 | index 2a35404..7485cdf 100644 | 28 | index af569ac..865bd10 100644 |
29 | --- a/configure.ac | 29 | --- a/configure.ac |
30 | +++ b/configure.ac | 30 | +++ b/configure.ac |
31 | @@ -886,6 +886,7 @@ AC_CONFIG_FILES(Makefile src/Makefile | 31 | @@ -895,6 +895,7 @@ AC_CONFIG_FILES(Makefile src/Makefile |
32 | src/versioninfo.rc | 32 | src/versioninfo.rc |
33 | src/gpgme.h) | 33 | src/gpgme.h) |
34 | AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config) | 34 | AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config) |
@@ -37,7 +37,7 @@ index 2a35404..7485cdf 100644 | |||
37 | AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig-w32.cmake.in) | 37 | AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig-w32.cmake.in) |
38 | AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig.cmake.in) | 38 | AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig.cmake.in) |
39 | diff --git a/src/Makefile.am b/src/Makefile.am | 39 | diff --git a/src/Makefile.am b/src/Makefile.am |
40 | index 0a196e0..cecaf8f 100644 | 40 | index 1394c02..8451c3a 100644 |
41 | --- a/src/Makefile.am | 41 | --- a/src/Makefile.am |
42 | +++ b/src/Makefile.am | 42 | +++ b/src/Makefile.am |
43 | @@ -19,12 +19,14 @@ | 43 | @@ -19,12 +19,14 @@ |
diff --git a/meta/recipes-support/gpgme/gpgme/0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch b/meta/recipes-support/gpgme/gpgme/0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch index 4f5cedaca2..0d0d0c67b5 100644 --- a/meta/recipes-support/gpgme/gpgme/0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch +++ b/meta/recipes-support/gpgme/gpgme/0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch | |||
@@ -1,6 +1,6 @@ | |||
1 | From 45d828356efc140a1492befb1e6dc59a9f4e16b5 Mon Sep 17 00:00:00 2001 | 1 | From 03819ad1270a279223219c0e70ba631bfe517714 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Wed, 31 Jan 2018 10:44:19 +0800 | 3 | Date: Wed, 17 Oct 2018 23:32:19 +0800 |
4 | Subject: [PATCH 2/7] gpgme/lang/python: gpg-error-config should not be used | 4 | Subject: [PATCH 2/7] gpgme/lang/python: gpg-error-config should not be used |
5 | 5 | ||
6 | gpg-error-config was modified by OE to always return an error. | 6 | gpg-error-config was modified by OE to always return an error. |
@@ -11,38 +11,40 @@ Upstream-Status: Inappropriate [changes are specific to OE] | |||
11 | 11 | ||
12 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | 12 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> |
13 | 13 | ||
14 | Rework to 1.10.0 | 14 | Rebase to 1.12.0 |
15 | 15 | ||
16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
17 | --- | 17 | --- |
18 | lang/python/setup.py.in | 10 +--------- | 18 | lang/python/setup.py.in | 11 +---------- |
19 | 1 file changed, 1 insertion(+), 9 deletions(-) | 19 | 1 file changed, 1 insertion(+), 10 deletions(-) |
20 | 20 | ||
21 | diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in | 21 | diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in |
22 | index 2595073..60b5257 100755 | 22 | index 65a4be0..11b8413 100755 |
23 | --- a/lang/python/setup.py.in | 23 | --- a/lang/python/setup.py.in |
24 | +++ b/lang/python/setup.py.in | 24 | +++ b/lang/python/setup.py.in |
25 | @@ -26,7 +26,6 @@ import shutil | 25 | @@ -30,7 +30,6 @@ import subprocess |
26 | import subprocess | 26 | import sys |
27 | 27 | ||
28 | # Out-of-tree build of the gpg bindings. | 28 | # Out-of-tree build of the gpg bindings. |
29 | -gpg_error_config = ["gpg-error-config"] | 29 | -gpg_error_config = ["gpg-error-config"] |
30 | gpgme_config_flags = ["--thread=pthread"] | 30 | gpgme_config_flags = ["--thread=pthread"] |
31 | gpgme_config = ["gpgme-config"] + gpgme_config_flags | 31 | gpgme_config = ["gpgme-config"] + gpgme_config_flags |
32 | gpgme_h = "" | 32 | gpgme_h = "" |
33 | @@ -157,14 +156,7 @@ class BuildExtFirstHack(build): | 33 | @@ -181,16 +180,8 @@ class BuildExtFirstHack(build): |
34 | shutil.copy2(source_name, sink_name) | ||
34 | 35 | ||
35 | def _generate_errors_i(self): | 36 | def _generate_errors_i(self): |
36 | 37 | - | |
37 | - try: | 38 | - try: |
38 | - subprocess.check_call(gpg_error_config + ['--version'], | 39 | - subprocess.check_call( |
39 | - stdout=devnull) | 40 | - gpg_error_config + ['--version'], stdout=devnull) |
40 | - except: | 41 | - except: |
41 | - sys.exit("Could not find gpg-error-config. " + | 42 | - sys.exit("Could not find gpg-error-config. " + |
42 | - "Please install the libgpg-error development package.") | 43 | - "Please install the libgpg-error development package.") |
43 | - | 44 | - |
44 | - gpg_error_content = self._read_header("gpg-error.h", getconfig("cflags", config=gpg_error_config)) | 45 | gpg_error_content = self._read_header( |
45 | + gpg_error_content = self._read_header("gpg-error.h", os.environ.get('CFLAGS').split()) | 46 | - "gpg-error.h", getconfig("cflags", config=gpg_error_config)) |
47 | + "gpg-error.h", os.environ.get('CFLAGS').split()) | ||
46 | 48 | ||
47 | filter_re = re.compile(r'GPG_ERR_[^ ]* =') | 49 | filter_re = re.compile(r'GPG_ERR_[^ ]* =') |
48 | rewrite_re = re.compile(r' *(.*) = .*') | 50 | rewrite_re = re.compile(r' *(.*) = .*') |
diff --git a/meta/recipes-support/gpgme/gpgme/0003-Correctly-install-python-modules.patch b/meta/recipes-support/gpgme/gpgme/0003-Correctly-install-python-modules.patch index 330bec659b..de1689ec05 100644 --- a/meta/recipes-support/gpgme/gpgme/0003-Correctly-install-python-modules.patch +++ b/meta/recipes-support/gpgme/gpgme/0003-Correctly-install-python-modules.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 60baf9ebf30bed0e2ee3c7c5a74d5b6d50035862 Mon Sep 17 00:00:00 2001 | 1 | From f632148fcc8757bb9a9601a6dab275e88cd309d2 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Tue, 30 Jan 2018 15:28:49 +0800 | 3 | Date: Tue, 30 Jan 2018 15:28:49 +0800 |
4 | Subject: [PATCH 3/7] Correctly install python modules | 4 | Subject: [PATCH 3/7] Correctly install python modules |
@@ -17,10 +17,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
17 | 1 file changed, 1 insertion(+) | 17 | 1 file changed, 1 insertion(+) |
18 | 18 | ||
19 | diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am | 19 | diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am |
20 | index 8d74cbd..ce4f0a5 100644 | 20 | index 6988faf..36c6f7b 100644 |
21 | --- a/lang/python/Makefile.am | 21 | --- a/lang/python/Makefile.am |
22 | +++ b/lang/python/Makefile.am | 22 | +++ b/lang/python/Makefile.am |
23 | @@ -91,6 +91,7 @@ install-exec-local: | 23 | @@ -93,6 +93,7 @@ install-exec-local: |
24 | --build-base="$$(basename "$${PYTHON}")-gpg" \ | 24 | --build-base="$$(basename "$${PYTHON}")-gpg" \ |
25 | install \ | 25 | install \ |
26 | --prefix "$(DESTDIR)$(prefix)" \ | 26 | --prefix "$(DESTDIR)$(prefix)" \ |
diff --git a/meta/recipes-support/gpgme/gpgme/0004-python-import.patch b/meta/recipes-support/gpgme/gpgme/0004-python-import.patch index 1a60f79b6b..fa0eccfce3 100644 --- a/meta/recipes-support/gpgme/gpgme/0004-python-import.patch +++ b/meta/recipes-support/gpgme/gpgme/0004-python-import.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From fd7dcceeee439eb479edbb418bab635343414ee6 Mon Sep 17 00:00:00 2001 | 1 | From f51bf1114bee6d56a950dcc6ebb46d6138b3faed Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Wed, 16 Aug 2017 02:06:45 -0400 | 3 | Date: Wed, 16 Aug 2017 02:06:45 -0400 |
4 | Subject: [PATCH 4/7] python import | 4 | Subject: [PATCH 4/7] python import |
diff --git a/meta/recipes-support/gpgme/gpgme/0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch b/meta/recipes-support/gpgme/gpgme/0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch index 2da79043dd..50bf21463f 100644 --- a/meta/recipes-support/gpgme/gpgme/0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch +++ b/meta/recipes-support/gpgme/gpgme/0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a58d90632a9907be3e8001800a143ac19075241a Mon Sep 17 00:00:00 2001 | 1 | From 8d9613c34ae495bbcbd725a2e7ac48138ba53c30 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Thu, 13 Apr 2017 16:40:27 +0300 | 3 | Date: Thu, 13 Apr 2017 16:40:27 +0300 |
4 | Subject: [PATCH 5/7] gpgme-config: skip all /lib* or /usr/lib* directories in | 4 | Subject: [PATCH 5/7] gpgme-config: skip all /lib* or /usr/lib* directories in |
diff --git a/meta/recipes-support/gpgme/gpgme/0006-fix-build-path-issue.patch b/meta/recipes-support/gpgme/gpgme/0006-fix-build-path-issue.patch index 26ff472377..1471184d67 100644 --- a/meta/recipes-support/gpgme/gpgme/0006-fix-build-path-issue.patch +++ b/meta/recipes-support/gpgme/gpgme/0006-fix-build-path-issue.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4f83750ce402b65d16cc09f8a0274a7ec76fc634 Mon Sep 17 00:00:00 2001 | 1 | From ef920688bfe1c7328c9e97229d62ccd35304ad84 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Wed, 31 Jan 2018 11:01:09 +0800 | 3 | Date: Wed, 31 Jan 2018 11:01:09 +0800 |
4 | Subject: [PATCH 6/7] fix build path issue | 4 | Subject: [PATCH 6/7] fix build path issue |
@@ -17,10 +17,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
17 | 1 file changed, 3 insertions(+), 2 deletions(-) | 17 | 1 file changed, 3 insertions(+), 2 deletions(-) |
18 | 18 | ||
19 | diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am | 19 | diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am |
20 | index ce4f0a5..5a468f1 100644 | 20 | index 36c6f7b..ce9a108 100644 |
21 | --- a/lang/python/Makefile.am | 21 | --- a/lang/python/Makefile.am |
22 | +++ b/lang/python/Makefile.am | 22 | +++ b/lang/python/Makefile.am |
23 | @@ -90,8 +90,9 @@ install-exec-local: | 23 | @@ -92,8 +92,9 @@ install-exec-local: |
24 | build \ | 24 | build \ |
25 | --build-base="$$(basename "$${PYTHON}")-gpg" \ | 25 | --build-base="$$(basename "$${PYTHON}")-gpg" \ |
26 | install \ | 26 | install \ |
diff --git a/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch b/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch new file mode 100644 index 0000000000..af9ddbf24b --- /dev/null +++ b/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | From 317cdf60165d760572a26db317e3d6edb159b04e Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Wed, 17 Oct 2018 23:41:09 +0800 | ||
4 | Subject: [PATCH 7/7] python: Add variables to tests | ||
5 | |||
6 | * configure.ac, lang/python/Makefile.am: | ||
7 | New variable to `lang/python', set to `lang/python' if RUN_LANG_PYTHON_TESTS | ||
8 | |||
9 | Upstream-Status: Submitted [gnupg-devel@gnupg.org] | ||
10 | |||
11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
12 | --- | ||
13 | configure.ac | 5 +++++ | ||
14 | lang/python/Makefile.am | 3 +++ | ||
15 | 2 files changed, 8 insertions(+) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index 865bd10..035555a 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -535,6 +535,11 @@ AC_ARG_ENABLE(g13-test, | ||
22 | run_g13_test=$enableval) | ||
23 | AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes") | ||
24 | |||
25 | +run_lang_python_test="yes" | ||
26 | +AC_ARG_ENABLE(lang-python-test, | ||
27 | + AC_HELP_STRING([--disable-lang-python-test], [disable Python regression test]), | ||
28 | + run_lang_python_test=$enableval) | ||
29 | +AM_CONDITIONAL(RUN_LANG_PYTHON_TESTS, test "$run_lang_python_test" = "yes") | ||
30 | |||
31 | # Checks for header files. | ||
32 | AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h stdint.h | ||
33 | diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am | ||
34 | index ce9a108..0c8cfdc 100644 | ||
35 | --- a/lang/python/Makefile.am | ||
36 | +++ b/lang/python/Makefile.am | ||
37 | @@ -25,7 +25,10 @@ EXTRA_DIST = \ | ||
38 | doc \ | ||
39 | src | ||
40 | |||
41 | +if RUN_LANG_PYTHON_TESTS | ||
42 | SUBDIRS = . tests | ||
43 | +endif | ||
44 | + | ||
45 | |||
46 | .PHONY: prepare | ||
47 | prepare: copystamp | ||
48 | -- | ||
49 | 2.7.4 | ||
50 | |||
diff --git a/meta/recipes-support/gpgme/gpgme/0007-qt-python-Add-variables-to-tests.patch b/meta/recipes-support/gpgme/gpgme/0007-qt-python-Add-variables-to-tests.patch deleted file mode 100644 index 63eeacf300..0000000000 --- a/meta/recipes-support/gpgme/gpgme/0007-qt-python-Add-variables-to-tests.patch +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | From d3087348348b4a7fcfb05bf2a75b4a63453e1c77 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Thu, 1 Feb 2018 10:14:30 +0800 | ||
4 | Subject: [PATCH 7/7] qt/python: Add variables to tests | ||
5 | |||
6 | * configure.ac, lang/python/Makefile.am: | ||
7 | New variable to `lang/python', set to `lang/python' if RUN_LANG_PYTHON_TESTS | ||
8 | |||
9 | * configure.ac, lang/qt/Makefile.am: | ||
10 | New variable to `lang/qt', set to `lang/qt' if RUN_LANG_QT_TESTS | ||
11 | |||
12 | Upstream-Status: Submitted [gnupg-devel@gnupg.org] | ||
13 | |||
14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
15 | --- | ||
16 | configure.ac | 11 +++++++++++ | ||
17 | lang/python/Makefile.am | 3 +++ | ||
18 | lang/qt/Makefile.am | 8 +++++++- | ||
19 | 3 files changed, 21 insertions(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/configure.ac b/configure.ac | ||
22 | index 7485cdf..4aa216d 100644 | ||
23 | --- a/configure.ac | ||
24 | +++ b/configure.ac | ||
25 | @@ -535,6 +535,17 @@ AC_ARG_ENABLE(g13-test, | ||
26 | run_g13_test=$enableval) | ||
27 | AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes") | ||
28 | |||
29 | +run_lang_python_test="yes" | ||
30 | +AC_ARG_ENABLE(lang-python-test, | ||
31 | + AC_HELP_STRING([--disable-lang-python-test], [disable Python regression test]), | ||
32 | + run_lang_python_test=$enableval) | ||
33 | +AM_CONDITIONAL(RUN_LANG_PYTHON_TESTS, test "$run_lang_python_test" = "yes") | ||
34 | + | ||
35 | +run_lang_qt_test="yes" | ||
36 | +AC_ARG_ENABLE(lang-qt-test, | ||
37 | + AC_HELP_STRING([--disable-lang-qt-test], [disable Qt regression test]), | ||
38 | + run_lang_qt_test=$enableval) | ||
39 | +AM_CONDITIONAL(RUN_LANG_QT_TESTS, test "$run_lang_qt_test" = "yes") | ||
40 | |||
41 | # Checks for header files. | ||
42 | AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h | ||
43 | diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am | ||
44 | index 5a468f1..43b9788 100644 | ||
45 | --- a/lang/python/Makefile.am | ||
46 | +++ b/lang/python/Makefile.am | ||
47 | @@ -24,7 +24,10 @@ EXTRA_DIST = \ | ||
48 | examples \ | ||
49 | src | ||
50 | |||
51 | +if RUN_LANG_PYTHON_TESTS | ||
52 | SUBDIRS = . tests | ||
53 | +endif | ||
54 | + | ||
55 | |||
56 | .PHONY: prepare | ||
57 | prepare: copystamp | ||
58 | diff --git a/lang/qt/Makefile.am b/lang/qt/Makefile.am | ||
59 | index ab85960..a244ede 100644 | ||
60 | --- a/lang/qt/Makefile.am | ||
61 | +++ b/lang/qt/Makefile.am | ||
62 | @@ -19,6 +19,12 @@ | ||
63 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
64 | # 02111-1307, USA | ||
65 | |||
66 | -SUBDIRS = src tests doc | ||
67 | +if RUN_LANG_QT_TESTS | ||
68 | +qttests = tests | ||
69 | +else | ||
70 | +qttests = | ||
71 | +endif | ||
72 | + | ||
73 | +SUBDIRS = src ${qttests} doc | ||
74 | |||
75 | EXTRA_DIST = README | ||
76 | -- | ||
77 | 2.7.4 | ||
78 | |||
diff --git a/meta/recipes-support/gpgme/gpgme_1.11.1.bb b/meta/recipes-support/gpgme/gpgme_1.12.0.bb index 86fae94609..b46c5fc271 100644 --- a/meta/recipes-support/gpgme/gpgme_1.11.1.bb +++ b/meta/recipes-support/gpgme/gpgme_1.12.0.bb | |||
@@ -17,11 +17,11 @@ SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \ | |||
17 | file://0004-python-import.patch \ | 17 | file://0004-python-import.patch \ |
18 | file://0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch \ | 18 | file://0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch \ |
19 | file://0006-fix-build-path-issue.patch \ | 19 | file://0006-fix-build-path-issue.patch \ |
20 | file://0007-qt-python-Add-variables-to-tests.patch \ | 20 | file://0007-python-Add-variables-to-tests.patch \ |
21 | " | 21 | " |
22 | 22 | ||
23 | SRC_URI[md5sum] = "129c46fb85a7ffa41e43345e48aee884" | 23 | SRC_URI[md5sum] = "902fca3a94907efe4e929b2ade545a7c" |
24 | SRC_URI[sha256sum] = "2d1b111774d2e3dd26dcd7c251819ce4ef774ec5e566251eb9308fa7542fbd6f" | 24 | SRC_URI[sha256sum] = "b4dc951c3743a60e2e120a77892e9e864fb936b2e58e7c77e8581f4d050e8cd8" |
25 | 25 | ||
26 | DEPENDS = "libgpg-error libassuan" | 26 | DEPENDS = "libgpg-error libassuan" |
27 | RDEPENDS_${PN}-cpp += "libstdc++" | 27 | RDEPENDS_${PN}-cpp += "libstdc++" |
@@ -56,7 +56,6 @@ EXTRA_OECONF += '--enable-languages="${LANGUAGES}" \ | |||
56 | --disable-gpg-test \ | 56 | --disable-gpg-test \ |
57 | --disable-gpgsm-test \ | 57 | --disable-gpgsm-test \ |
58 | --disable-g13-test \ | 58 | --disable-g13-test \ |
59 | --disable-lang-qt-test \ | ||
60 | --disable-lang-python-test \ | 59 | --disable-lang-python-test \ |
61 | ' | 60 | ' |
62 | 61 | ||