summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorhongxu <hongxu.jia@eng.windriver.com>2024-11-27 15:35:59 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-29 18:26:14 +0000
commit2128fc77bfe53735fd548af303da3309c36f7927 (patch)
tree91e51669af418b2e78e60c86f70fb6f57cde07e1 /meta
parent3fd568f186094a6df28625e710c9ed3c7b66274f (diff)
downloadpoky-2128fc77bfe53735fd548af303da3309c36f7927.tar.gz
gpgme: upgrade 1.23.2 -> 1.24.0
Reabse patches: - 0001-pkgconfig.patch - 0001-autogen.sh-remove-unknown-in-version.patch Drop backport patch: - 0004-python-import.patch Drop obsolete patch: - 0008-do-not-auto-check-var-PYTHON.patch (From OE-Core rev: 181205d5ccb3ba0473813cd62b19d95ba034ab0a) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unknown-in-version.patch17
-rw-r--r--meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch51
-rw-r--r--meta/recipes-support/gpgme/gpgme/0004-python-import.patch34
-rw-r--r--meta/recipes-support/gpgme/gpgme/0008-do-not-auto-check-var-PYTHON.patch35
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.24.0.bb (renamed from meta/recipes-support/gpgme/gpgme_1.23.2.bb)4
5 files changed, 39 insertions, 102 deletions
diff --git a/meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unknown-in-version.patch b/meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unknown-in-version.patch
index 6d67e6d6c9..920df3d4c3 100644
--- a/meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unknown-in-version.patch
+++ b/meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unknown-in-version.patch
@@ -1,6 +1,6 @@
1From acc4750ffa79a5c2ef3c95cf31ef51352a68837b Mon Sep 17 00:00:00 2001 1From 0d76b00111a112032eb8522791b70664100d4e0a Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 28 Feb 2023 13:43:51 +0800 3Date: Tue, 26 Nov 2024 23:23:42 -0800
4Subject: [PATCH] autogen.sh: remove '-unknown' in version 4Subject: [PATCH] autogen.sh: remove '-unknown' in version
5 5
6python setuptools >=66.0.0 treats '-unknown' as an invalid version. 6python setuptools >=66.0.0 treats '-unknown' as an invalid version.
@@ -13,20 +13,25 @@ Upstream-Status: Submitted [https://lists.gnupg.org/pipermail/gnupg-devel/2023-F
13 13
14Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 14Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
15 15
16Rebase to 1.24.0
17Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
16--- 18---
17 autogen.sh | 2 +- 19 autogen.sh | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-) 20 1 file changed, 1 insertion(+), 1 deletion(-)
19 21
20diff --git a/autogen.sh b/autogen.sh 22diff --git a/autogen.sh b/autogen.sh
21index 4e1665b..a55326d 100755 23index 9f912972..9f7559b4 100755
22--- a/autogen.sh 24--- a/autogen.sh
23+++ b/autogen.sh 25+++ b/autogen.sh
24@@ -269,7 +269,7 @@ if [ "$myhost" = "find-version" ]; then 26@@ -271,7 +271,7 @@ if [ "$myhost" = "find-version" ]; then
25 else 27 else
26 ingit=no 28 ingit=no
27 beta=yes 29 beta=yes
28- tmp="-unknown" 30- tmp="-unknown"
29+ tmp="" 31+ tmp=""
32 cid="0000000"
30 rev="0000000" 33 rev="0000000"
31 rvd="0" 34 rvd="0"
32 fi 35--
362.25.1
37
diff --git a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch
index 831771ca2d..2fddf4c553 100644
--- a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch
+++ b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch
@@ -1,6 +1,6 @@
1From 7b3a00cb0fc27c896dd85c9afc474bd9c2aea30d Mon Sep 17 00:00:00 2001 1From e4e75bee348d297bd8288e6fd7e99ab033cbb90c Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 10 May 2019 14:23:55 +0800 3Date: Tue, 26 Nov 2024 23:04:52 -0800
4Subject: [PATCH] pkgconfig 4Subject: [PATCH] pkgconfig
5 5
6Update gpgme to use pkgconfig instead of -config files since its 6Update gpgme to use pkgconfig instead of -config files since its
@@ -15,30 +15,31 @@ Rebase to 1.13.0
15Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 15Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
16Rebase to 1.17.0 16Rebase to 1.17.0
17Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 17Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 18Rebase to 1.24.0
19Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
19--- 20---
20 configure.ac | 1 + 21 configure.ac | 1 +
21 src/Makefile.am | 4 +- 22 src/Makefile.am | 4 +-
22 src/gpgme-pthread.pc.in | 15 +++++ 23 src/gpgme-pthread.pc.in | 15 +++++
23 src/gpgme.m4 | 119 +++------------------------------------- 24 src/gpgme.m4 | 118 +++-------------------------------------
24 src/gpgme.pc.in | 4 +- 25 src/gpgme.pc.in | 4 +-
25 5 files changed, 29 insertions(+), 114 deletions(-) 26 5 files changed, 28 insertions(+), 114 deletions(-)
26 create mode 100644 src/gpgme-pthread.pc.in 27 create mode 100644 src/gpgme-pthread.pc.in
27 28
28diff --git a/configure.ac b/configure.ac 29diff --git a/configure.ac b/configure.ac
29index ae4c7da..df892c9 100644 30index 933fb150..08589a6b 100644
30--- a/configure.ac 31--- a/configure.ac
31+++ b/configure.ac 32+++ b/configure.ac
32@@ -1112,6 +1112,7 @@ AC_CONFIG_FILES(Makefile src/Makefile 33@@ -1160,6 +1160,7 @@ AC_CONFIG_FILES(Makefile src/Makefile
33 src/gpgme-glib.pc 34 src/gpgme-glib.pc
34 src/gpgme.h) 35 src/gpgme.h)
35 AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config) 36 AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config)
36+AC_CONFIG_FILES(src/gpgme-pthread.pc) 37+AC_CONFIG_FILES(src/gpgme-pthread.pc)
37 AC_CONFIG_FILES(lang/cpp/Makefile lang/cpp/src/Makefile) 38 AC_CONFIG_FILES(lang/cpp/Makefile lang/cpp/src/Makefile)
38 AC_CONFIG_FILES(lang/cpp/tests/Makefile) 39 AC_CONFIG_FILES(lang/cpp/tests/Makefile)
39 AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig-w32.cmake.in) 40 AC_CONFIG_FILES(lang/cpp/src/gpgmepp.pc)
40diff --git a/src/Makefile.am b/src/Makefile.am 41diff --git a/src/Makefile.am b/src/Makefile.am
41index ca70950..bda5498 100644 42index 03708620..e716ce4d 100644
42--- a/src/Makefile.am 43--- a/src/Makefile.am
43+++ b/src/Makefile.am 44+++ b/src/Makefile.am
44@@ -20,11 +20,11 @@ 45@@ -20,11 +20,11 @@
@@ -57,7 +58,7 @@ index ca70950..bda5498 100644
57 noinst_SCRIPTS = gpgme-config 58 noinst_SCRIPTS = gpgme-config
58diff --git a/src/gpgme-pthread.pc.in b/src/gpgme-pthread.pc.in 59diff --git a/src/gpgme-pthread.pc.in b/src/gpgme-pthread.pc.in
59new file mode 100644 60new file mode 100644
60index 0000000..074bbf6 61index 00000000..074bbf6e
61--- /dev/null 62--- /dev/null
62+++ b/src/gpgme-pthread.pc.in 63+++ b/src/gpgme-pthread.pc.in
63@@ -0,0 +1,15 @@ 64@@ -0,0 +1,15 @@
@@ -77,19 +78,18 @@ index 0000000..074bbf6
77+Cflags: -I${includedir} 78+Cflags: -I${includedir}
78+Requires: libassuan gpg-error 79+Requires: libassuan gpg-error
79diff --git a/src/gpgme.m4 b/src/gpgme.m4 80diff --git a/src/gpgme.m4 b/src/gpgme.m4
80index 8cc2898..0ff550e 100644 81index 5f689e18..249e8c98 100644
81--- a/src/gpgme.m4 82--- a/src/gpgme.m4
82+++ b/src/gpgme.m4 83+++ b/src/gpgme.m4
83@@ -168,7 +168,7 @@ dnl config script does not match the host specification the script 84@@ -166,7 +166,6 @@ dnl is added to the gpg_config_script_warn variable.
84 dnl is added to the gpg_config_script_warn variable.
85 dnl 85 dnl
86 AC_DEFUN([AM_PATH_GPGME], 86 AC_DEFUN([AM_PATH_GPGME],
87-[ AC_REQUIRE([_AM_PATH_GPGME_CONFIG])dnl 87 [ AC_REQUIRE([AC_CANONICAL_HOST])dnl
88+[ 88- AC_REQUIRE([_AM_PATH_GPGME_CONFIG])dnl
89 tmp=ifelse([$1], ,1:0.4.2,$1) 89 tmp=ifelse([$1], ,1:0.4.2,$1)
90 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then 90 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
91 req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` 91 req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
92@@ -178,36 +178,12 @@ AC_DEFUN([AM_PATH_GPGME], 92@@ -176,36 +175,12 @@ AC_DEFUN([AM_PATH_GPGME],
93 min_gpgme_version="$tmp" 93 min_gpgme_version="$tmp"
94 fi 94 fi
95 95
@@ -128,7 +128,7 @@ index 8cc2898..0ff550e 100644
128 if test "$tmp" -gt 0 ; then 128 if test "$tmp" -gt 0 ; then
129 if test "$req_gpgme_api" -ne "$tmp" ; then 129 if test "$req_gpgme_api" -ne "$tmp" ; then
130 ok=no 130 ok=no
131@@ -216,19 +192,11 @@ AC_DEFUN([AM_PATH_GPGME], 131@@ -214,19 +189,11 @@ AC_DEFUN([AM_PATH_GPGME],
132 fi 132 fi
133 fi 133 fi
134 if test $ok = yes; then 134 if test $ok = yes; then
@@ -148,7 +148,7 @@ index 8cc2898..0ff550e 100644
148 ]) 148 ])
149 149
150 dnl AM_PATH_GPGME_PTHREAD([MINIMUM-VERSION, 150 dnl AM_PATH_GPGME_PTHREAD([MINIMUM-VERSION,
151@@ -236,9 +204,8 @@ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) 151@@ -234,9 +201,8 @@ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
152 dnl Test for libgpgme and define GPGME_PTHREAD_CFLAGS 152 dnl Test for libgpgme and define GPGME_PTHREAD_CFLAGS
153 dnl and GPGME_PTHREAD_LIBS. 153 dnl and GPGME_PTHREAD_LIBS.
154 dnl 154 dnl
@@ -160,7 +160,7 @@ index 8cc2898..0ff550e 100644
160 tmp=ifelse([$1], ,1:0.4.2,$1) 160 tmp=ifelse([$1], ,1:0.4.2,$1)
161 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then 161 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
162 req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` 162 req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
163@@ -248,40 +215,12 @@ AC_DEFUN([AM_PATH_GPGME_PTHREAD],[ 163@@ -246,40 +212,12 @@ AC_DEFUN([AM_PATH_GPGME_PTHREAD],[
164 min_gpgme_version="$tmp" 164 min_gpgme_version="$tmp"
165 fi 165 fi
166 166
@@ -203,7 +203,7 @@ index 8cc2898..0ff550e 100644
203 if test "$tmp" -gt 0 ; then 203 if test "$tmp" -gt 0 ; then
204 if test "$req_gpgme_api" -ne "$tmp" ; then 204 if test "$req_gpgme_api" -ne "$tmp" ; then
205 ok=no 205 ok=no
206@@ -290,19 +229,11 @@ AC_DEFUN([AM_PATH_GPGME_PTHREAD],[ 206@@ -288,19 +226,11 @@ AC_DEFUN([AM_PATH_GPGME_PTHREAD],[
207 fi 207 fi
208 fi 208 fi
209 if test $ok = yes; then 209 if test $ok = yes; then
@@ -223,7 +223,7 @@ index 8cc2898..0ff550e 100644
223 ]) 223 ])
224 224
225 225
226@@ -321,36 +252,12 @@ AC_DEFUN([AM_PATH_GPGME_GLIB], 226@@ -319,36 +249,12 @@ AC_DEFUN([AM_PATH_GPGME_GLIB],
227 min_gpgme_version="$tmp" 227 min_gpgme_version="$tmp"
228 fi 228 fi
229 229
@@ -262,7 +262,7 @@ index 8cc2898..0ff550e 100644
262 if test "$tmp" -gt 0 ; then 262 if test "$tmp" -gt 0 ; then
263 if test "$req_gpgme_api" -ne "$tmp" ; then 263 if test "$req_gpgme_api" -ne "$tmp" ; then
264 ok=no 264 ok=no
265@@ -359,17 +266,9 @@ AC_DEFUN([AM_PATH_GPGME_GLIB], 265@@ -357,17 +263,9 @@ AC_DEFUN([AM_PATH_GPGME_GLIB],
266 fi 266 fi
267 fi 267 fi
268 if test $ok = yes; then 268 if test $ok = yes; then
@@ -281,7 +281,7 @@ index 8cc2898..0ff550e 100644
281- AC_SUBST(GPGME_GLIB_LIBS) 281- AC_SUBST(GPGME_GLIB_LIBS)
282 ]) 282 ])
283diff --git a/src/gpgme.pc.in b/src/gpgme.pc.in 283diff --git a/src/gpgme.pc.in b/src/gpgme.pc.in
284index 9ddef5c..932645b 100644 284index 9ddef5cd..932645be 100644
285--- a/src/gpgme.pc.in 285--- a/src/gpgme.pc.in
286+++ b/src/gpgme.pc.in 286+++ b/src/gpgme.pc.in
287@@ -9,6 +9,6 @@ Name: gpgme 287@@ -9,6 +9,6 @@ Name: gpgme
@@ -293,3 +293,6 @@ index 9ddef5c..932645b 100644
293+Cflags: -I${includedir} 293+Cflags: -I${includedir}
294+Libs: -L${libdir} -lgpgme 294+Libs: -L${libdir} -lgpgme
295 URL: https://www.gnupg.org/software/gpgme/index.html 295 URL: https://www.gnupg.org/software/gpgme/index.html
296--
2972.25.1
298
diff --git a/meta/recipes-support/gpgme/gpgme/0004-python-import.patch b/meta/recipes-support/gpgme/gpgme/0004-python-import.patch
deleted file mode 100644
index fa0eccfce3..0000000000
--- a/meta/recipes-support/gpgme/gpgme/0004-python-import.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From f51bf1114bee6d56a950dcc6ebb46d6138b3faed Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com>
3Date: Wed, 16 Aug 2017 02:06:45 -0400
4Subject: [PATCH 4/7] python import
5
6Don't check for output on stderr to know if an import worked, host inputrc and
7sysroot readline can cause warnings on stderr.
8
9Upstream-Status: Backport (from autoconf-archive 883a2abd)
10Signed-off-by: Ross Burton <ross.burton@intel.com>
11
12Rebase to 1.9.0
13
14Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
15---
16 m4/ax_python_devel.m4 | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
20index b990d5b..318b089 100644
21--- a/m4/ax_python_devel.m4
22+++ b/m4/ax_python_devel.m4
23@@ -137,7 +137,7 @@ variable to configure. See ``configure --help'' for reference.
24 #
25 AC_MSG_CHECKING([for the distutils Python package])
26 ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
27- if test -z "$ac_distutils_result"; then
28+ if test $? -eq 0; then
29 AC_MSG_RESULT([yes])
30 else
31 AC_MSG_RESULT([no])
32--
332.7.4
34
diff --git a/meta/recipes-support/gpgme/gpgme/0008-do-not-auto-check-var-PYTHON.patch b/meta/recipes-support/gpgme/gpgme/0008-do-not-auto-check-var-PYTHON.patch
deleted file mode 100644
index a11621ed64..0000000000
--- a/meta/recipes-support/gpgme/gpgme/0008-do-not-auto-check-var-PYTHON.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From 84c389705e7742d2b68e144a5733e618441d293e Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 10 May 2019 16:19:54 +0800
4Subject: [PATCH] do not auto check var-PYTHON
5
6Upstream auto check the version of python rather than specify option
7[ff6ff61 python: Auto-check for all installed python versions.]
8
9In oe-core, don't check var-PYTHON, use the setting from recipe,
10only check specific python 2.7 and 3.7
11
12Upstream-Status: Inappropriate [oe-core specific]
13
14Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
15
16---
17 configure.ac | 5 ++---
18 1 file changed, 2 insertions(+), 3 deletions(-)
19
20diff --git a/configure.ac b/configure.ac
21index df892c9..8c6194e 100644
22--- a/configure.ac
23+++ b/configure.ac
24@@ -590,9 +590,8 @@ if test "$found_py" = "1"; then
25 if test "$found_py" = "1" -o "$found_py3" = "1"; then
26 # Reset everything, so that we can look for another Python.
27 m4_foreach([mym4pythonver],
28- [[2.7],[3.4],[3.5],[3.6],[3.7],[3.8],[3.9],[3.10],
29- [3.11],[3.12],[all]],
30- [unset PYTHON
31+ [[2.7],[3.7]],
32+ [
33 unset PYTHON_VERSION
34 unset PYTHON_CPPFLAGS
35 unset PYTHON_LDFLAGS
diff --git a/meta/recipes-support/gpgme/gpgme_1.23.2.bb b/meta/recipes-support/gpgme/gpgme_1.24.0.bb
index 55f164e4a9..d717c0cbb7 100644
--- a/meta/recipes-support/gpgme/gpgme_1.23.2.bb
+++ b/meta/recipes-support/gpgme/gpgme_1.24.0.bb
@@ -22,16 +22,14 @@ SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \
22 file://0001-pkgconfig.patch \ 22 file://0001-pkgconfig.patch \
23 file://0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch \ 23 file://0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch \
24 file://0003-Correctly-install-python-modules.patch \ 24 file://0003-Correctly-install-python-modules.patch \
25 file://0004-python-import.patch \
26 file://0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch \ 25 file://0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch \
27 file://0006-fix-build-path-issue.patch \ 26 file://0006-fix-build-path-issue.patch \
28 file://0008-do-not-auto-check-var-PYTHON.patch \
29 file://0001-use-closefrom-on-linux-and-glibc-2.34.patch \ 27 file://0001-use-closefrom-on-linux-and-glibc-2.34.patch \
30 file://0001-posix-io.c-Use-off_t-instead-of-off64_t.patch \ 28 file://0001-posix-io.c-Use-off_t-instead-of-off64_t.patch \
31 file://0001-autogen.sh-remove-unknown-in-version.patch \ 29 file://0001-autogen.sh-remove-unknown-in-version.patch \
32 " 30 "
33 31
34SRC_URI[sha256sum] = "9499e8b1f33cccb6815527a1bc16049d35a6198a6c5fae0185f2bd561bce5224" 32SRC_URI[sha256sum] = "61e3a6ad89323fecfaff176bc1728fb8c3312f2faa83424d9d5077ba20f5f7da"
35 33
36PYTHON_DEPS = "${@bb.utils.contains('LANGUAGES', 'python', 'swig-native', '', d)}" 34PYTHON_DEPS = "${@bb.utils.contains('LANGUAGES', 'python', 'swig-native', '', d)}"
37 35