diff options
author | hongxu <hongxu.jia@eng.windriver.com> | 2024-08-23 09:47:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-23 22:43:27 +0100 |
commit | 3983ddabef8c9cf2956fb6bf20d600d4a646fd2c (patch) | |
tree | 705bb7a8c395e65227f376b9390e8b70297b462c | |
parent | 0a0caacfa54dd086b87e31f5e806e5f21d5ffc3f (diff) | |
download | poky-3983ddabef8c9cf2956fb6bf20d600d4a646fd2c.tar.gz |
libgpg-error: 1.49 -> 1.50
* Rebase pkgconfig.patch
* No license change, just update copyright years:
2001-2023 -> 2001-2024
(From OE-Core rev: 58576504cf178faf4d18f782f5636e298e4f4175)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch | 58 | ||||
-rw-r--r-- | meta/recipes-support/libgpg-error/libgpg-error_1.50.bb (renamed from meta/recipes-support/libgpg-error/libgpg-error_1.49.bb) | 4 |
2 files changed, 38 insertions, 24 deletions
diff --git a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch index 3d886bcaa4..794a3993e7 100644 --- a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch +++ b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From b0df1cb468264a9bb9113524f0e1318c456b2348 Mon Sep 17 00:00:00 2001 | 1 | From ba5ec5615d76dfa4afb429a4e11f3e7e3bc9de76 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: Thu, 29 Mar 2018 15:12:17 +0800 | 3 | Date: Wed, 21 Aug 2024 20:03:29 -0700 |
4 | Subject: [PATCH] support pkgconfig | 4 | Subject: [PATCH 1/2] support pkgconfig |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [gnupg upstream will not take this, it has been tried with other components] | 6 | Upstream-Status: Inappropriate [gnupg upstream will not take this, it has been tried with other components] |
7 | 7 | ||
@@ -13,15 +13,17 @@ Refactored for 1.33 | |||
13 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | 13 | Signed-off-by: Armin Kuster <akuster808@gmail.com> |
14 | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 14 | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> |
15 | 15 | ||
16 | Rebase to 1.50 | ||
17 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
16 | --- | 18 | --- |
17 | src/gpg-error.m4 | 192 ++--------------------------------------------- | 19 | src/gpg-error.m4 | 200 ++--------------------------------------------- |
18 | 1 file changed, 5 insertions(+), 187 deletions(-) | 20 | 1 file changed, 5 insertions(+), 195 deletions(-) |
19 | 21 | ||
20 | diff --git a/src/gpg-error.m4 b/src/gpg-error.m4 | 22 | diff --git a/src/gpg-error.m4 b/src/gpg-error.m4 |
21 | index 7fa52b1..15a0859 100644 | 23 | index 2d24071..c561725 100644 |
22 | --- a/src/gpg-error.m4 | 24 | --- a/src/gpg-error.m4 |
23 | +++ b/src/gpg-error.m4 | 25 | +++ b/src/gpg-error.m4 |
24 | @@ -15,187 +15,14 @@ | 26 | @@ -15,196 +15,14 @@ |
25 | dnl | 27 | dnl |
26 | dnl Find gpg-error-config, for backward compatibility | 28 | dnl Find gpg-error-config, for backward compatibility |
27 | dnl | 29 | dnl |
@@ -135,17 +137,16 @@ index 7fa52b1..15a0859 100644 | |||
135 | - fi | 137 | - fi |
136 | - | 138 | - |
137 | - if test -n "$gpgrt_libdir"; then | 139 | - if test -n "$gpgrt_libdir"; then |
140 | - # Add the --libdir option to GPGRT_CONFIG | ||
138 | - GPGRT_CONFIG="$GPGRT_CONFIG --libdir=$gpgrt_libdir" | 141 | - GPGRT_CONFIG="$GPGRT_CONFIG --libdir=$gpgrt_libdir" |
139 | - if $GPGRT_CONFIG gpg-error >/dev/null 2>&1; then | 142 | - # Make sure if gpgrt-config really works, by testing config gpg-error |
140 | - GPG_ERROR_CONFIG="$GPGRT_CONFIG gpg-error" | 143 | - if ! $GPGRT_CONFIG gpg-error --exists; then |
141 | - AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config]) | 144 | - # If it doesn't work, clear the GPGRT_CONFIG variable. |
142 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion` | ||
143 | - else | ||
144 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --version` | ||
145 | - unset GPGRT_CONFIG | 145 | - unset GPGRT_CONFIG |
146 | - fi | 146 | - fi |
147 | - elif test "$GPG_ERROR_CONFIG" != "no"; then | 147 | - else |
148 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --version` | 148 | - # GPGRT_CONFIG found but no suitable dir for --libdir found. |
149 | - # This is a failure. Clear the GPGRT_CONFIG variable. | ||
149 | - unset GPGRT_CONFIG | 150 | - unset GPGRT_CONFIG |
150 | - fi | 151 | - fi |
151 | -]) | 152 | -]) |
@@ -155,17 +156,27 @@ index 7fa52b1..15a0859 100644 | |||
155 | -dnl | 156 | -dnl |
156 | -dnl Test for libgpg-error and define GPG_ERROR_CFLAGS, GPG_ERROR_LIBS, | 157 | -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 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 used for programs requiring real multi thread support. |
159 | -dnl | 160 | -dnl |
160 | -dnl If a prefix option is not used, the config script is first | 161 | -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 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 config script does not match the host specification the script |
163 | -dnl is added to the gpg_config_script_warn variable. | 164 | -dnl is added to the gpg_config_script_warn variable. |
164 | -dnl | 165 | -dnl |
165 | -AC_DEFUN([AM_PATH_GPG_ERROR],[dnl | 166 | AC_DEFUN([AM_PATH_GPG_ERROR], |
166 | -AC_REQUIRE([AC_CANONICAL_HOST])dnl | 167 | -[ AC_REQUIRE([AC_CANONICAL_HOST])dnl |
167 | -AC_REQUIRE([_AM_PATH_POSSIBLE_GPG_ERROR_CONFIG])dnl | 168 | - AC_REQUIRE([_AM_PATH_POSSIBLE_GPG_ERROR_CONFIG])dnl |
168 | -AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl | 169 | - AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl |
170 | - if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then | ||
171 | - GPG_ERROR_CONFIG="$GPGRT_CONFIG gpg-error" | ||
172 | - AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config]) | ||
173 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion` | ||
174 | - elif test x"$GPG_ERROR_CONFIG" != x -a "$GPG_ERROR_CONFIG" != "no"; then | ||
175 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --version` | ||
176 | - else | ||
177 | - gpg_error_config_version="0.0" | ||
178 | - fi | ||
179 | - | ||
169 | - min_gpg_error_version=ifelse([$1], ,1.33,$1) | 180 | - min_gpg_error_version=ifelse([$1], ,1.33,$1) |
170 | - ok=no | 181 | - ok=no |
171 | - if test "$GPG_ERROR_CONFIG" != "no"; then | 182 | - if test "$GPG_ERROR_CONFIG" != "no"; then |
@@ -188,7 +199,6 @@ index 7fa52b1..15a0859 100644 | |||
188 | - fi | 199 | - fi |
189 | - fi | 200 | - fi |
190 | - AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version) | 201 | - AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version) |
191 | +AC_DEFUN([AM_PATH_GPG_ERROR], | ||
192 | +[ AC_REQUIRE([AC_CANONICAL_HOST]) | 202 | +[ AC_REQUIRE([AC_CANONICAL_HOST]) |
193 | + min_gpg_error_version=ifelse([$1], ,0.0,$1) | 203 | + min_gpg_error_version=ifelse([$1], ,0.0,$1) |
194 | + PKG_CHECK_MODULES(GPG_ERROR, [gpg-error >= $min_gpg_error_version], [ok=yes], [ok=no]) | 204 | + PKG_CHECK_MODULES(GPG_ERROR, [gpg-error >= $min_gpg_error_version], [ok=yes], [ok=no]) |
@@ -214,7 +224,7 @@ index 7fa52b1..15a0859 100644 | |||
214 | fi | 224 | fi |
215 | if test x"$gpg_error_config_host" != xnone ; then | 225 | if test x"$gpg_error_config_host" != xnone ; then |
216 | if test x"$gpg_error_config_host" != x"$host" ; then | 226 | if test x"$gpg_error_config_host" != x"$host" ; then |
217 | @@ -211,15 +38,6 @@ AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl | 227 | @@ -220,15 +38,7 @@ AC_DEFUN([AM_PATH_GPG_ERROR], |
218 | fi | 228 | fi |
219 | fi | 229 | fi |
220 | else | 230 | else |
@@ -230,3 +240,7 @@ index 7fa52b1..15a0859 100644 | |||
230 | - AC_SUBST(GPG_ERROR_MT_CFLAGS) | 240 | - AC_SUBST(GPG_ERROR_MT_CFLAGS) |
231 | - AC_SUBST(GPG_ERROR_MT_LIBS) | 241 | - AC_SUBST(GPG_ERROR_MT_LIBS) |
232 | ]) | 242 | ]) |
243 | + | ||
244 | -- | ||
245 | 2.25.1 | ||
246 | |||
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.49.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.50.bb index b7d41ab489..02cdf7707d 100644 --- a/meta/recipes-support/libgpg-error/libgpg-error_1.49.bb +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.50.bb | |||
@@ -6,7 +6,7 @@ BUGTRACKER = "https://bugs.g10code.com/gnupg/index" | |||
6 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" | 6 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | 7 | LIC_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=20f4cf5d81ea2fad18f6297500018654 \ | 9 | file://src/gpg-error.h.in;beginline=2;endline=18;md5=badc79a9308e1cbd2657b2441c7cf017 \ |
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 | ||
23 | SRC_URI[sha256sum] = "8b79d54639dbf4abc08b5406fb2f37e669a2dec091dd024fb87dd367131c63a9" | 23 | SRC_URI[sha256sum] = "69405349e0a633e444a28c5b35ce8f14484684518a508dc48a089992fe93e20a" |
24 | 24 | ||
25 | BINCONFIG = "${bindir}/gpg-error-config" | 25 | BINCONFIG = "${bindir}/gpg-error-config" |
26 | 26 | ||