diff options
author | wangmy <wangmy@fujitsu.com> | 2022-02-14 22:27:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-16 09:46:29 +0000 |
commit | 72e59137a09782bb0ffc1d33c3931340ada92a53 (patch) | |
tree | 7b5e1e9927718d0c6367959f9cfee364bea65a81 /meta | |
parent | 6bd4825d34caa9f599e24d97384a00c25db738e4 (diff) | |
download | poky-72e59137a09782bb0ffc1d33c3931340ada92a53.tar.gz |
gpgme: upgrade 1.16.0 -> 1.17.0
The following patches refreshed for 1.17.0
0001-pkgconfig.patch
0001-use-closefrom-on-linux-and-glibc-2.34.patch
Changelog:
=========
qt: Fix build for older Qt versions.
(From OE-Core rev: fac45ef439c6156873d2076083d5b3e43015b7e2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch | 25 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/0001-use-closefrom-on-linux-and-glibc-2.34.patch | 10 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme_1.17.0.bb (renamed from meta/recipes-support/gpgme/gpgme_1.16.0.bb) | 2 |
3 files changed, 22 insertions, 15 deletions
diff --git a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch index 827d95a151..35c6b4056c 100644 --- a/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch +++ b/meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch | |||
@@ -12,22 +12,23 @@ RP 2015/4/17 | |||
12 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | 12 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
13 | 13 | ||
14 | Rebase to 1.13.0 | 14 | Rebase to 1.13.0 |
15 | |||
16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 15 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
16 | Rebase to 1.17.0 | ||
17 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | ||
17 | --- | 18 | --- |
18 | configure.ac | 1 + | 19 | configure.ac | 1 + |
19 | src/Makefile.am | 4 +- | 20 | src/Makefile.am | 4 +- |
20 | src/gpgme-pthread.pc.in | 15 +++++++ | 21 | src/gpgme-pthread.pc.in | 15 ++++++ |
21 | src/gpgme.m4 | 114 ++++-------------------------------------------- | 22 | src/gpgme.m4 | 114 +++------------------------------------- |
22 | src/gpgme.pc.in | 4 +- | 23 | src/gpgme.pc.in | 4 +- |
23 | 5 files changed, 28 insertions(+), 110 deletions(-) | 24 | 5 files changed, 28 insertions(+), 110 deletions(-) |
24 | create mode 100644 src/gpgme-pthread.pc.in | 25 | create mode 100644 src/gpgme-pthread.pc.in |
25 | 26 | ||
26 | diff --git a/configure.ac b/configure.ac | 27 | diff --git a/configure.ac b/configure.ac |
27 | index 25184f4..1c0a386 100644 | 28 | index 80ce79c..d7c0ac1 100644 |
28 | --- a/configure.ac | 29 | --- a/configure.ac |
29 | +++ b/configure.ac | 30 | +++ b/configure.ac |
30 | @@ -899,6 +899,7 @@ AC_CONFIG_FILES(Makefile src/Makefile | 31 | @@ -905,6 +905,7 @@ AC_CONFIG_FILES(Makefile src/Makefile |
31 | src/gpgme-glib.pc | 32 | src/gpgme-glib.pc |
32 | src/gpgme.h) | 33 | src/gpgme.h) |
33 | AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config) | 34 | AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config) |
@@ -36,7 +37,7 @@ index 25184f4..1c0a386 100644 | |||
36 | AC_CONFIG_FILES(lang/cpp/tests/Makefile) | 37 | AC_CONFIG_FILES(lang/cpp/tests/Makefile) |
37 | AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig-w32.cmake.in) | 38 | AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig-w32.cmake.in) |
38 | diff --git a/src/Makefile.am b/src/Makefile.am | 39 | diff --git a/src/Makefile.am b/src/Makefile.am |
39 | index d85a85c..d942f3e 100644 | 40 | index 39c341f..3aca716 100644 |
40 | --- a/src/Makefile.am | 41 | --- a/src/Makefile.am |
41 | +++ b/src/Makefile.am | 42 | +++ b/src/Makefile.am |
42 | @@ -20,11 +20,11 @@ | 43 | @@ -20,11 +20,11 @@ |
@@ -75,7 +76,7 @@ index 0000000..074bbf6 | |||
75 | +Cflags: -I${includedir} | 76 | +Cflags: -I${includedir} |
76 | +Requires: libassuan gpg-error | 77 | +Requires: libassuan gpg-error |
77 | diff --git a/src/gpgme.m4 b/src/gpgme.m4 | 78 | diff --git a/src/gpgme.m4 b/src/gpgme.m4 |
78 | index 6c2be44..d8a75cb 100644 | 79 | index 71b0010..30ec151 100644 |
79 | --- a/src/gpgme.m4 | 80 | --- a/src/gpgme.m4 |
80 | +++ b/src/gpgme.m4 | 81 | +++ b/src/gpgme.m4 |
81 | @@ -79,7 +79,7 @@ dnl config script does not match the host specification the script | 82 | @@ -79,7 +79,7 @@ dnl config script does not match the host specification the script |
@@ -274,18 +275,18 @@ index 6c2be44..d8a75cb 100644 | |||
274 | - AC_SUBST(GPGME_GLIB_LIBS) | 275 | - AC_SUBST(GPGME_GLIB_LIBS) |
275 | ]) | 276 | ]) |
276 | diff --git a/src/gpgme.pc.in b/src/gpgme.pc.in | 277 | diff --git a/src/gpgme.pc.in b/src/gpgme.pc.in |
277 | index be288b8..16f56ac 100644 | 278 | index 80d59de..932645b 100644 |
278 | --- a/src/gpgme.pc.in | 279 | --- a/src/gpgme.pc.in |
279 | +++ b/src/gpgme.pc.in | 280 | +++ b/src/gpgme.pc.in |
280 | @@ -9,6 +9,6 @@ Name: gpgme | 281 | @@ -9,6 +9,6 @@ Name: gpgme |
281 | Description: GnuPG Made Easy to access GnuPG | 282 | Description: GnuPG Made Easy to access GnuPG |
282 | Requires: gpg-error, libassuan | 283 | Requires.private: gpg-error, libassuan |
283 | Version: @PACKAGE_VERSION@ | 284 | Version: @PACKAGE_VERSION@ |
284 | -Cflags: @GPGME_CONFIG_CFLAGS@ | 285 | -Cflags: -I${includedir} @GPGME_CONFIG_CFLAGS@ |
285 | -Libs: @GPGME_CONFIG_LIBS@ | 286 | -Libs: -L${libdir} @GPGME_CONFIG_LIBS@ |
286 | +Cflags: -I${includedir} | 287 | +Cflags: -I${includedir} |
287 | +Libs: -L${libdir} -lgpgme | 288 | +Libs: -L${libdir} -lgpgme |
288 | URL: https://www.gnupg.org/software/gpgme/index.html | 289 | URL: https://www.gnupg.org/software/gpgme/index.html |
289 | -- | 290 | -- |
290 | 2.7.4 | 291 | 2.25.1 |
291 | 292 | ||
diff --git a/meta/recipes-support/gpgme/gpgme/0001-use-closefrom-on-linux-and-glibc-2.34.patch b/meta/recipes-support/gpgme/gpgme/0001-use-closefrom-on-linux-and-glibc-2.34.patch index 1c46684c6d..f3de55f7b3 100644 --- a/meta/recipes-support/gpgme/gpgme/0001-use-closefrom-on-linux-and-glibc-2.34.patch +++ b/meta/recipes-support/gpgme/gpgme/0001-use-closefrom-on-linux-and-glibc-2.34.patch | |||
@@ -5,20 +5,26 @@ Subject: [PATCH] use closefrom() on linux and glibc 2.34+ | |||
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
8 | |||
9 | Rebase to 1.17.0 | ||
10 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | ||
8 | --- | 11 | --- |
9 | src/posix-io.c | 2 +- | 12 | src/posix-io.c | 2 +- |
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
11 | 14 | ||
12 | diff --git a/src/posix-io.c b/src/posix-io.c | 15 | diff --git a/src/posix-io.c b/src/posix-io.c |
13 | index e712ef2..ab8ded9 100644 | 16 | index 5c6cf1d..52e513a 100644 |
14 | --- a/src/posix-io.c | 17 | --- a/src/posix-io.c |
15 | +++ b/src/posix-io.c | 18 | +++ b/src/posix-io.c |
16 | @@ -570,7 +570,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags, | 19 | @@ -570,7 +570,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags, |
17 | if (fd_list[i].fd > fd) | 20 | if (fd_list[i].fd > fd) |
18 | fd = fd_list[i].fd; | 21 | fd = fd_list[i].fd; |
19 | fd++; | 22 | fd++; |
20 | -#if defined(__sun) || defined(__FreeBSD__) | 23 | -#if defined(__sun) || defined(__FreeBSD__) || defined(__GLIBC__) |
21 | +#if defined(__sun) || defined(__FreeBSD__) || (defined(__GLIBC__) && __GNUC_PREREQ(2, 34)) | 24 | +#if defined(__sun) || defined(__FreeBSD__) || (defined(__GLIBC__) && __GNUC_PREREQ(2, 34)) |
22 | closefrom (fd); | 25 | closefrom (fd); |
23 | max_fds = fd; | 26 | max_fds = fd; |
24 | #else /*!__sun */ | 27 | #else /*!__sun */ |
28 | -- | ||
29 | 2.25.1 | ||
30 | |||
diff --git a/meta/recipes-support/gpgme/gpgme_1.16.0.bb b/meta/recipes-support/gpgme/gpgme_1.17.0.bb index d31e1b3132..6a201789e1 100644 --- a/meta/recipes-support/gpgme/gpgme_1.16.0.bb +++ b/meta/recipes-support/gpgme/gpgme_1.17.0.bb | |||
@@ -23,7 +23,7 @@ SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \ | |||
23 | file://0001-use-closefrom-on-linux-and-glibc-2.34.patch \ | 23 | file://0001-use-closefrom-on-linux-and-glibc-2.34.patch \ |
24 | " | 24 | " |
25 | 25 | ||
26 | SRC_URI[sha256sum] = "6c8cc4aedb10d5d4c905894ba1d850544619ee765606ac43df7405865de29ed0" | 26 | SRC_URI[sha256sum] = "4ed3f50ceb7be2fce2c291414256b20c9ebf4c03fddb922c88cda99c119a69f5" |
27 | 27 | ||
28 | DEPENDS = "libgpg-error libassuan" | 28 | DEPENDS = "libgpg-error libassuan" |
29 | RDEPENDS:${PN}-cpp += "libstdc++" | 29 | RDEPENDS:${PN}-cpp += "libstdc++" |