summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch35
-rw-r--r--meta/recipes-support/libassuan/libassuan_3.0.1.bb (renamed from meta/recipes-support/libassuan/libassuan_2.5.7.bb)2
2 files changed, 22 insertions, 15 deletions
diff --git a/meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch b/meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch
index fe811254d3..d67087f4ac 100644
--- a/meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch
+++ b/meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch
@@ -1,6 +1,7 @@
1Add pkgconfig support to libassuan. 1From 9d28122b7e7ae3f17364e1ab97355cf5eaf14cb8 Mon Sep 17 00:00:00 2001
2This patch is rejected by upstream for the reason below: 2From: Trevor Gamblin <tgamblin@baylibre.com>
3They think pkgconfig adds no portability and maintaining them is not worthwhile. 3Date: Wed, 7 Aug 2024 11:36:26 -0400
4Subject: [PATCH] libassuan: add pkgconfig support
4 5
5Upstream-Status: Denied 6Upstream-Status: Denied
6Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 7Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
@@ -8,18 +9,23 @@ Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
8 9
9forward ported to 2.4.4 10forward ported to 2.4.4
10Signed-off-by: Armin Kuster <akuster@mvista.com> 11Signed-off-by: Armin Kuster <akuster@mvista.com>
12
13Refactor to apply on top of 3.0.1, including reformatting as an mbox for
14easier use.
15
16Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
11--- 17---
12 src/libassuan.m4 | 81 ++---------------------------------------------- 18 src/libassuan.m4 | 82 ++----------------------------------------------
13 1 file changed, 3 insertions(+), 78 deletions(-) 19 1 file changed, 3 insertions(+), 79 deletions(-)
14 20
15diff --git a/src/libassuan.m4 b/src/libassuan.m4 21diff --git a/src/libassuan.m4 b/src/libassuan.m4
16index df50484..380a48a 100644 22index 2e98b39..404796f 100644
17--- a/src/libassuan.m4 23--- a/src/libassuan.m4
18+++ b/src/libassuan.m4 24+++ b/src/libassuan.m4
19@@ -17,27 +17,6 @@ dnl Returns ok set to yes or no. 25@@ -103,27 +103,6 @@ dnl
20 dnl
21 AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], 26 AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON],
22 [ AC_REQUIRE([AC_CANONICAL_HOST]) 27 [ AC_REQUIRE([AC_CANONICAL_HOST])dnl
28 AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl
23- AC_ARG_WITH(libassuan-prefix, 29- AC_ARG_WITH(libassuan-prefix,
24- AS_HELP_STRING([--with-libassuan-prefix=PFX], 30- AS_HELP_STRING([--with-libassuan-prefix=PFX],
25- [prefix where LIBASSUAN is installed (optional)]), 31- [prefix where LIBASSUAN is installed (optional)]),
@@ -31,7 +37,7 @@ index df50484..380a48a 100644
31- fi 37- fi
32- 38-
33- use_gpgrt_config="" 39- use_gpgrt_config=""
34- if test x"${LIBASSUAN_CONFIG}" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then 40- if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then
35- if $GPGRT_CONFIG libassuan --exists; then 41- if $GPGRT_CONFIG libassuan --exists; then
36- LIBASSUAN_CONFIG="$GPGRT_CONFIG libassuan" 42- LIBASSUAN_CONFIG="$GPGRT_CONFIG libassuan"
37- AC_MSG_NOTICE([Use gpgrt-config as libassuan-config]) 43- AC_MSG_NOTICE([Use gpgrt-config as libassuan-config])
@@ -44,7 +50,7 @@ index df50484..380a48a 100644
44 50
45 tmp=ifelse([$1], ,1:0.9.2,$1) 51 tmp=ifelse([$1], ,1:0.9.2,$1)
46 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then 52 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
47@@ -47,59 +26,11 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], 53@@ -133,60 +112,11 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON],
48 req_libassuan_api=0 54 req_libassuan_api=0
49 min_libassuan_version="$tmp" 55 min_libassuan_version="$tmp"
50 fi 56 fi
@@ -90,6 +96,7 @@ index df50484..380a48a 100644
90- 96-
91- if test $ok = yes; then 97- if test $ok = yes; then
92- AC_MSG_RESULT([yes ($libassuan_config_version)]) 98- AC_MSG_RESULT([yes ($libassuan_config_version)])
99- AC_DEFINE(LIBASSUAN_API_REQUESTED, $req_libassuan_api, Requested API version for libassuan)
93- else 100- else
94- AC_MSG_RESULT(no) 101- AC_MSG_RESULT(no)
95- fi 102- fi
@@ -106,7 +113,7 @@ index df50484..380a48a 100644
106 if test "$tmp" -gt 0 ; then 113 if test "$tmp" -gt 0 ; then
107 AC_MSG_CHECKING([LIBASSUAN API version]) 114 AC_MSG_CHECKING([LIBASSUAN API version])
108 if test "$req_libassuan_api" -eq "$tmp" ; then 115 if test "$req_libassuan_api" -eq "$tmp" ; then
109@@ -115,9 +46,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], 116@@ -204,9 +134,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON],
110 if test $ok = yes; then 117 if test $ok = yes; then
111 if test x"$host" != x ; then 118 if test x"$host" != x ; then
112 if test -z "$use_gpgrt_config"; then 119 if test -z "$use_gpgrt_config"; then
@@ -117,7 +124,7 @@ index df50484..380a48a 100644
117 fi 124 fi
118 if test x"$libassuan_config_host" != xnone ; then 125 if test x"$libassuan_config_host" != xnone ; then
119 if test x"$libassuan_config_host" != x"$host" ; then 126 if test x"$libassuan_config_host" != x"$host" ; then
120@@ -159,12 +88,8 @@ dnl 127@@ -248,12 +176,8 @@ dnl
121 AC_DEFUN([AM_PATH_LIBASSUAN], 128 AC_DEFUN([AM_PATH_LIBASSUAN],
122 [ _AM_PATH_LIBASSUAN_COMMON($1) 129 [ _AM_PATH_LIBASSUAN_COMMON($1)
123 if test $ok = yes; then 130 if test $ok = yes; then
@@ -131,5 +138,5 @@ index df50484..380a48a 100644
131 fi 138 fi
132 AC_SUBST(LIBASSUAN_CFLAGS) 139 AC_SUBST(LIBASSUAN_CFLAGS)
133-- 140--
1342.25.1 1412.39.2
135 142
diff --git a/meta/recipes-support/libassuan/libassuan_2.5.7.bb b/meta/recipes-support/libassuan/libassuan_3.0.1.bb
index d1e622635f..0518ed75aa 100644
--- a/meta/recipes-support/libassuan/libassuan_2.5.7.bb
+++ b/meta/recipes-support/libassuan/libassuan_3.0.1.bb
@@ -20,7 +20,7 @@ SRC_URI = "${GNUPG_MIRROR}/libassuan/libassuan-${PV}.tar.bz2 \
20 file://libassuan-add-pkgconfig-support.patch \ 20 file://libassuan-add-pkgconfig-support.patch \
21 " 21 "
22 22
23SRC_URI[sha256sum] = "0103081ffc27838a2e50479153ca105e873d3d65d8a9593282e9c94c7e6afb76" 23SRC_URI[sha256sum] = "c8f0f42e6103dea4b1a6a483cb556654e97302c7465308f58363778f95f194b1"
24 24
25BINCONFIG = "${bindir}/libassuan-config" 25BINCONFIG = "${bindir}/libassuan-config"
26 26