summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-05-09 19:23:40 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-22 10:53:47 +0100
commit14261b3f744e3849b817192fa1f6dfe9f7abc37d (patch)
treec8486f7ac91ada45233a68fec5f412cb726d4df4
parentee552b2829d1ea2e60d8512438fcc604f6d82d73 (diff)
downloadpoky-14261b3f744e3849b817192fa1f6dfe9f7abc37d.tar.gz
libgpg-error: update 1.46 -> 1.47
License-Update: copyright years (From OE-Core rev: 6f0c3844e3ced175416daac645179a3044df6bcf) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch59
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.47.bb (renamed from meta/recipes-support/libgpg-error/libgpg-error_1.46.bb)4
2 files changed, 45 insertions, 18 deletions
diff --git a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
index 75c1febc10..3d886bcaa4 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
+++ b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
@@ -1,4 +1,4 @@
1From e10f93167c76c477a7b97286cfac603795bf28d8 Mon Sep 17 00:00:00 2001 1From b0df1cb468264a9bb9113524f0e1318c456b2348 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 29 Mar 2018 15:12:17 +0800 3Date: Thu, 29 Mar 2018 15:12:17 +0800
4Subject: [PATCH] support pkgconfig 4Subject: [PATCH] support pkgconfig
@@ -14,17 +14,19 @@ Signed-off-by: Armin Kuster <akuster808@gmail.com>
14Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> 14Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
15 15
16--- 16---
17 src/gpg-error.m4 | 165 +---------------------------------------------- 17 src/gpg-error.m4 | 192 ++---------------------------------------------
18 1 file changed, 3 insertions(+), 162 deletions(-) 18 1 file changed, 5 insertions(+), 187 deletions(-)
19 19
20diff --git a/src/gpg-error.m4 b/src/gpg-error.m4 20diff --git a/src/gpg-error.m4 b/src/gpg-error.m4
21index a975e53..af4bf2f 100644 21index 7fa52b1..15a0859 100644
22--- a/src/gpg-error.m4 22--- a/src/gpg-error.m4
23+++ b/src/gpg-error.m4 23+++ b/src/gpg-error.m4
24@@ -27,162 +27,12 @@ dnl is added to the gpg_config_script_warn variable. 24@@ -15,187 +15,14 @@
25 dnl 25 dnl
26 AC_DEFUN([AM_PATH_GPG_ERROR], 26 dnl Find gpg-error-config, for backward compatibility
27 [ AC_REQUIRE([AC_CANONICAL_HOST]) 27 dnl
28-dnl _AM_PATH_POSSIBLE_GPG_ERROR_CONFIG
29-AC_DEFUN([_AM_PATH_POSSIBLE_GPG_ERROR_CONFIG],[dnl
28- gpg_error_config_prefix="" 30- gpg_error_config_prefix=""
29- dnl --with-libgpg-error-prefix=PFX is the preferred name for this option, 31- dnl --with-libgpg-error-prefix=PFX is the preferred name for this option,
30- dnl since that is consistent with how our three siblings use the directory/ 32- dnl since that is consistent with how our three siblings use the directory/
@@ -60,9 +62,14 @@ index a975e53..af4bf2f 100644
60- fi 62- fi
61- 63-
62- AC_PATH_PROG(GPG_ERROR_CONFIG, gpg-error-config, no) 64- AC_PATH_PROG(GPG_ERROR_CONFIG, gpg-error-config, no)
63- min_gpg_error_version=ifelse([$1], ,1.33,$1) 65-])
64- ok=no
65- 66-
67-dnl
68-dnl Find gpgrt-config, which uses .pc file
69-dnl (minimum pkg-config functionality, supporting cross build)
70-dnl
71-dnl _AM_PATH_GPGRT_CONFIG
72-AC_DEFUN([_AM_PATH_GPGRT_CONFIG],[dnl
66- AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no, [$prefix/bin:$PATH]) 73- AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no, [$prefix/bin:$PATH])
67- if test "$GPGRT_CONFIG" != "no"; then 74- if test "$GPGRT_CONFIG" != "no"; then
68- # Determine gpgrt_libdir 75- # Determine gpgrt_libdir
@@ -118,12 +125,9 @@ index a975e53..af4bf2f 100644
118- fi 125- fi
119- if test -n "$gpgrt_libdir"; then break; fi 126- if test -n "$gpgrt_libdir"; then break; fi
120- done 127- done
121- if test -z "$libdir_candidates"; then 128- fi
122- # No valid pkgconfig dir in any of the system directories, fallback 129- if test -z "$gpgrt_libdir"; then
123- gpgrt_libdir=${possible_libdir1} 130- # No valid pkgconfig dir in any of the system directories, fallback
124- fi
125- else
126- # When we cannot determine system libdir-format, use this:
127- gpgrt_libdir=${possible_libdir1} 131- gpgrt_libdir=${possible_libdir1}
128- fi 132- fi
129- else 133- else
@@ -137,12 +141,33 @@ index a975e53..af4bf2f 100644
137- AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config]) 141- AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config])
138- gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion` 142- gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion`
139- else 143- else
144- gpg_error_config_version=`$GPG_ERROR_CONFIG --version`
140- unset GPGRT_CONFIG 145- unset GPGRT_CONFIG
141- fi 146- fi
142- elif test "$GPG_ERROR_CONFIG" != "no"; then 147- elif test "$GPG_ERROR_CONFIG" != "no"; then
143- gpg_error_config_version=`$GPG_ERROR_CONFIG --version` 148- gpg_error_config_version=`$GPG_ERROR_CONFIG --version`
144- unset GPGRT_CONFIG 149- unset GPGRT_CONFIG
145- fi 150- fi
151-])
152-
153-dnl AM_PATH_GPG_ERROR([MINIMUM-VERSION,
154-dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
155-dnl
156-dnl Test for libgpg-error and define GPG_ERROR_CFLAGS, GPG_ERROR_LIBS,
157-dnl GPG_ERROR_MT_CFLAGS, and GPG_ERROR_MT_LIBS. The _MT_ variants are
158-dnl used for programs requireing real multi thread support.
159-dnl
160-dnl If a prefix option is not used, the config script is first
161-dnl searched in $SYSROOT/bin and then along $PATH. If the used
162-dnl config script does not match the host specification the script
163-dnl is added to the gpg_config_script_warn variable.
164-dnl
165-AC_DEFUN([AM_PATH_GPG_ERROR],[dnl
166-AC_REQUIRE([AC_CANONICAL_HOST])dnl
167-AC_REQUIRE([_AM_PATH_POSSIBLE_GPG_ERROR_CONFIG])dnl
168-AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl
169- min_gpg_error_version=ifelse([$1], ,1.33,$1)
170- ok=no
146- if test "$GPG_ERROR_CONFIG" != "no"; then 171- if test "$GPG_ERROR_CONFIG" != "no"; then
147- req_major=`echo $min_gpg_error_version | \ 172- req_major=`echo $min_gpg_error_version | \
148- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` 173- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
@@ -163,6 +188,8 @@ index a975e53..af4bf2f 100644
163- fi 188- fi
164- fi 189- fi
165- AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version) 190- AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version)
191+AC_DEFUN([AM_PATH_GPG_ERROR],
192+[ AC_REQUIRE([AC_CANONICAL_HOST])
166+ min_gpg_error_version=ifelse([$1], ,0.0,$1) 193+ min_gpg_error_version=ifelse([$1], ,0.0,$1)
167+ PKG_CHECK_MODULES(GPG_ERROR, [gpg-error >= $min_gpg_error_version], [ok=yes], [ok=no]) 194+ PKG_CHECK_MODULES(GPG_ERROR, [gpg-error >= $min_gpg_error_version], [ok=yes], [ok=no])
168 if test $ok = yes; then 195 if test $ok = yes; then
@@ -187,7 +214,7 @@ index a975e53..af4bf2f 100644
187 fi 214 fi
188 if test x"$gpg_error_config_host" != xnone ; then 215 if test x"$gpg_error_config_host" != xnone ; then
189 if test x"$gpg_error_config_host" != x"$host" ; then 216 if test x"$gpg_error_config_host" != x"$host" ; then
190@@ -198,15 +48,6 @@ AC_DEFUN([AM_PATH_GPG_ERROR], 217@@ -211,15 +38,6 @@ AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl
191 fi 218 fi
192 fi 219 fi
193 else 220 else
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.46.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.47.bb
index e0f2d86303..0f35fd95b2 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.46.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.47.bb
@@ -6,7 +6,7 @@ BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
6LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" 6LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
8 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ 8 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
9 file://src/gpg-error.h.in;beginline=2;endline=18;md5=d82591bc81561f617da71e00ff4a9d79 \ 9 file://src/gpg-error.h.in;beginline=2;endline=18;md5=20f4cf5d81ea2fad18f6297500018654 \
10 file://src/init.c;beginline=2;endline=17;md5=f01cdfcf747af5380590cfd9bbfeaaf7 \ 10 file://src/init.c;beginline=2;endline=17;md5=f01cdfcf747af5380590cfd9bbfeaaf7 \
11 " 11 "
12 12
@@ -20,7 +20,7 @@ SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
20 file://run-ptest \ 20 file://run-ptest \
21 " 21 "
22 22
23SRC_URI[sha256sum] = "b7e11a64246bbe5ef37748de43b245abd72cfcd53c9ae5e7fc5ca59f1c81268d" 23SRC_URI[sha256sum] = "9e3c670966b96ecc746c28c2c419541e3bcb787d1a73930f5e5f5e1bcbbb9bdb"
24 24
25BINCONFIG = "${bindir}/gpg-error-config" 25BINCONFIG = "${bindir}/gpg-error-config"
26 26