summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-09-03 21:02:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-08 18:02:39 +0100
commit8bf22b958c20494d5babedfb185fb3af95282145 (patch)
tree2d556d4c8b50feb1261fa5827ee55da2e746bb0d
parent64857a709bcccd0f6738633e313f36d96219de54 (diff)
downloadpoky-8bf22b958c20494d5babedfb185fb3af95282145.tar.gz
pinentry: upgrade 1.3.1 -> 1.3.2
Shortlog: -qt: Replace icons for dark mode with 16x16 icons -qt,qt5: Ensure that input field is large enough for generated password -qt5: Add dark mode icon variants and detection -Make Show/Hide Password functionality accessible -qt5: Make Show/Hide Password functionality accessible -m4: Update libassuan.m4. -build: Remove defining GPG_ERR_ENABLE_ERRNO_MACROS. -build: Fix warning about obsolete pinentry-emacs. -curses: Factor out dialog release to separate function. -qt: Add dark mode icon variants and detection -m4: Update gpg-error.m4 and libassuan.m4. Also: Simplify patch to find gpg-error with pkg-config (From OE-Core rev: afa8d2becc9c53a92d29f413d9eec737d7e12601) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/oescripts.py2
-rw-r--r--meta/recipes-support/pinentry/pinentry-1.3.1/gpg-error_pkconf.patch224
-rw-r--r--meta/recipes-support/pinentry/pinentry/0001-find-gpg-error-with-pkg-config.patch40
-rw-r--r--meta/recipes-support/pinentry/pinentry/libassuan_pkgconf.patch (renamed from meta/recipes-support/pinentry/pinentry-1.3.1/libassuan_pkgconf.patch)30
-rw-r--r--meta/recipes-support/pinentry/pinentry_1.3.2.bb (renamed from meta/recipes-support/pinentry/pinentry_1.3.1.bb)4
5 files changed, 54 insertions, 246 deletions
diff --git a/meta/lib/oeqa/selftest/cases/oescripts.py b/meta/lib/oeqa/selftest/cases/oescripts.py
index 3f9899b289..64fb3f1a1d 100644
--- a/meta/lib/oeqa/selftest/cases/oescripts.py
+++ b/meta/lib/oeqa/selftest/cases/oescripts.py
@@ -151,7 +151,7 @@ class OEListPackageconfigTests(OESelftestTestCase):
151 def test_packageconfig_flags_option_all(self): 151 def test_packageconfig_flags_option_all(self):
152 results = runCmd('%s/contrib/list-packageconfig-flags.py -a' % self.scripts_dir) 152 results = runCmd('%s/contrib/list-packageconfig-flags.py -a' % self.scripts_dir)
153 expected_endlines = [] 153 expected_endlines = []
154 expected_endlines.append("pinentry-1.3.1") 154 expected_endlines.append("pinentry-1.3.2")
155 expected_endlines.append("PACKAGECONFIG ncurses") 155 expected_endlines.append("PACKAGECONFIG ncurses")
156 expected_endlines.append("PACKAGECONFIG[qt] --enable-pinentry-qt, --disable-pinentry-qt, qtbase-native qtbase") 156 expected_endlines.append("PACKAGECONFIG[qt] --enable-pinentry-qt, --disable-pinentry-qt, qtbase-native qtbase")
157 expected_endlines.append("PACKAGECONFIG[gtk2] --enable-pinentry-gtk2, --disable-pinentry-gtk2, gtk+ glib-2.0") 157 expected_endlines.append("PACKAGECONFIG[gtk2] --enable-pinentry-gtk2, --disable-pinentry-gtk2, gtk+ glib-2.0")
diff --git a/meta/recipes-support/pinentry/pinentry-1.3.1/gpg-error_pkconf.patch b/meta/recipes-support/pinentry/pinentry-1.3.1/gpg-error_pkconf.patch
deleted file mode 100644
index 863ba9e34b..0000000000
--- a/meta/recipes-support/pinentry/pinentry-1.3.1/gpg-error_pkconf.patch
+++ /dev/null
@@ -1,224 +0,0 @@
1From ccc3c6a8d469bbfa6717b970cfe70816c1fd545e Mon Sep 17 00:00:00 2001
2From: Armin Kuster <akuster@mvista.com>
3Date: Fri, 2 Sep 2005 11:50:01 +0000
4Subject: [PATCH] Add gtk+, avahi, dbus-0.34 (.36 coming soon) and
5
6Convert to pkg-config support to match changes done to
7the gpg-error recipe for gpg-error.pc generation.
8
9Upstream-Status: Inappropriate [OE specific]
10
11Signed-off-by: Armin Kuster <akuster@mvista.com>
12---
13 m4/gpg-error.m4 | 184 ++----------------------------------------------
14 1 file changed, 5 insertions(+), 179 deletions(-)
15
16diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4
17index 7fa52b1..c0784ed 100644
18--- a/m4/gpg-error.m4
19+++ b/m4/gpg-error.m4
20@@ -15,188 +15,18 @@
21 dnl
22 dnl Find gpg-error-config, for backward compatibility
23 dnl
24-dnl _AM_PATH_POSSIBLE_GPG_ERROR_CONFIG
25-AC_DEFUN([_AM_PATH_POSSIBLE_GPG_ERROR_CONFIG],[dnl
26- gpg_error_config_prefix=""
27- dnl --with-libgpg-error-prefix=PFX is the preferred name for this option,
28- dnl since that is consistent with how our three siblings use the directory/
29- dnl package name in --with-$dir_name-prefix=PFX.
30- AC_ARG_WITH(libgpg-error-prefix,
31- AS_HELP_STRING([--with-libgpg-error-prefix=PFX],
32- [prefix where GPG Error is installed (optional)]),
33- [gpg_error_config_prefix="$withval"])
34-
35- dnl Accept --with-gpg-error-prefix and make it work the same as
36- dnl --with-libgpg-error-prefix above, for backwards compatibility,
37- dnl but do not document this old, inconsistently-named option.
38- AC_ARG_WITH(gpg-error-prefix,,
39- [gpg_error_config_prefix="$withval"])
40-
41- if test x"${GPG_ERROR_CONFIG}" = x ; then
42- if test x"${gpg_error_config_prefix}" != x ; then
43- GPG_ERROR_CONFIG="${gpg_error_config_prefix}/bin/gpg-error-config"
44- else
45- case "${SYSROOT}" in
46- /*)
47- if test -x "${SYSROOT}/bin/gpg-error-config" ; then
48- GPG_ERROR_CONFIG="${SYSROOT}/bin/gpg-error-config"
49- fi
50- ;;
51- '')
52- ;;
53- *)
54- AC_MSG_WARN([Ignoring \$SYSROOT as it is not an absolute path.])
55- ;;
56- esac
57- fi
58- fi
59-
60- AC_PATH_PROG(GPG_ERROR_CONFIG, gpg-error-config, no)
61-])
62-
63-dnl
64-dnl Find gpgrt-config, which uses .pc file
65-dnl (minimum pkg-config functionality, supporting cross build)
66-dnl
67-dnl _AM_PATH_GPGRT_CONFIG
68-AC_DEFUN([_AM_PATH_GPGRT_CONFIG],[dnl
69- AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no, [$prefix/bin:$PATH])
70- if test "$GPGRT_CONFIG" != "no"; then
71- # Determine gpgrt_libdir
72- #
73- # Get the prefix of gpgrt-config assuming it's something like:
74- # <PREFIX>/bin/gpgrt-config
75- gpgrt_prefix=${GPGRT_CONFIG%/*/*}
76- possible_libdir1=${gpgrt_prefix}/lib
77- # Determine by using system libdir-format with CC, it's like:
78- # Normal style: /usr/lib
79- # GNU cross style: /usr/<triplet>/lib
80- # Debian style: /usr/lib/<multiarch-name>
81- # Fedora/openSUSE style: /usr/lib, /usr/lib32 or /usr/lib64
82- # It is assumed that CC is specified to the one of host on cross build.
83- if libdir_candidates=$(${CC:-cc} -print-search-dirs | \
84- sed -n -e "/^libraries/{s/libraries: =//;s/:/\\
85-/g;p;}"); then
86- # From the output of -print-search-dirs, select valid pkgconfig dirs.
87- libdir_candidates=$(for dir in $libdir_candidates; do
88- if p=$(cd $dir 2>/dev/null && pwd); then
89- test -d "$p/pkgconfig" && echo $p;
90- fi
91- done)
92-
93- for possible_libdir0 in $libdir_candidates; do
94- # possible_libdir0:
95- # Fallback candidate, the one of system-installed (by $CC)
96- # (/usr/<triplet>/lib, /usr/lib/<multiarch-name> or /usr/lib32)
97- # possible_libdir1:
98- # Another candidate, user-locally-installed
99- # (<gpgrt_prefix>/lib)
100- # possible_libdir2
101- # Most preferred
102- # (<gpgrt_prefix>/<triplet>/lib,
103- # <gpgrt_prefix>/lib/<multiarch-name> or <gpgrt_prefix>/lib32)
104- if test "${possible_libdir0##*/}" = "lib"; then
105- possible_prefix0=${possible_libdir0%/lib}
106- possible_prefix0_triplet=${possible_prefix0##*/}
107- if test -z "$possible_prefix0_triplet"; then
108- continue
109- fi
110- possible_libdir2=${gpgrt_prefix}/$possible_prefix0_triplet/lib
111- else
112- possible_prefix0=${possible_libdir0%%/lib*}
113- possible_libdir2=${gpgrt_prefix}${possible_libdir0#$possible_prefix0}
114- fi
115- if test -f ${possible_libdir2}/pkgconfig/gpg-error.pc; then
116- gpgrt_libdir=${possible_libdir2}
117- elif test -f ${possible_libdir1}/pkgconfig/gpg-error.pc; then
118- gpgrt_libdir=${possible_libdir1}
119- elif test -f ${possible_libdir0}/pkgconfig/gpg-error.pc; then
120- gpgrt_libdir=${possible_libdir0}
121- fi
122- if test -n "$gpgrt_libdir"; then break; fi
123- done
124- fi
125- if test -z "$gpgrt_libdir"; then
126- # No valid pkgconfig dir in any of the system directories, fallback
127- gpgrt_libdir=${possible_libdir1}
128- fi
129- else
130- unset GPGRT_CONFIG
131- fi
132-
133- if test -n "$gpgrt_libdir"; then
134- GPGRT_CONFIG="$GPGRT_CONFIG --libdir=$gpgrt_libdir"
135- if $GPGRT_CONFIG gpg-error >/dev/null 2>&1; then
136- GPG_ERROR_CONFIG="$GPGRT_CONFIG gpg-error"
137- AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config])
138- gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion`
139- else
140- gpg_error_config_version=`$GPG_ERROR_CONFIG --version`
141- unset GPGRT_CONFIG
142- fi
143- elif test "$GPG_ERROR_CONFIG" != "no"; then
144- gpg_error_config_version=`$GPG_ERROR_CONFIG --version`
145- unset GPGRT_CONFIG
146- fi
147-])
148-
149-dnl AM_PATH_GPG_ERROR([MINIMUM-VERSION,
150-dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
151-dnl
152-dnl Test for libgpg-error and define GPG_ERROR_CFLAGS, GPG_ERROR_LIBS,
153-dnl GPG_ERROR_MT_CFLAGS, and GPG_ERROR_MT_LIBS. The _MT_ variants are
154-dnl used for programs requireing real multi thread support.
155-dnl
156 dnl If a prefix option is not used, the config script is first
157 dnl searched in $SYSROOT/bin and then along $PATH. If the used
158 dnl config script does not match the host specification the script
159 dnl is added to the gpg_config_script_warn variable.
160 dnl
161-AC_DEFUN([AM_PATH_GPG_ERROR],[dnl
162-AC_REQUIRE([AC_CANONICAL_HOST])dnl
163-AC_REQUIRE([_AM_PATH_POSSIBLE_GPG_ERROR_CONFIG])dnl
164-AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl
165- min_gpg_error_version=ifelse([$1], ,1.33,$1)
166- ok=no
167- if test "$GPG_ERROR_CONFIG" != "no"; then
168- req_major=`echo $min_gpg_error_version | \
169- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
170- req_minor=`echo $min_gpg_error_version | \
171- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
172- major=`echo $gpg_error_config_version | \
173- sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
174- minor=`echo $gpg_error_config_version | \
175- sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
176- if test "$major" -gt "$req_major"; then
177- ok=yes
178- else
179- if test "$major" -eq "$req_major"; then
180- if test "$minor" -ge "$req_minor"; then
181- ok=yes
182- fi
183- fi
184- fi
185- fi
186- AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version)
187+AC_DEFUN([AM_PATH_GPG_ERROR],
188+[
189+ min_gpg_error_version=ifelse([$1], ,0.0,$1)
190+ PKG_CHECK_MODULES(GPG_ERROR, [gpg-error >= $min_gpg_error_version gpg-error], [ok=yes], [ok=no])
191 if test $ok = yes; then
192- GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG --cflags`
193- GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG --libs`
194- if test -z "$GPGRT_CONFIG"; then
195- GPG_ERROR_MT_CFLAGS=`$GPG_ERROR_CONFIG --mt --cflags 2>/dev/null`
196- GPG_ERROR_MT_LIBS=`$GPG_ERROR_CONFIG --mt --libs 2>/dev/null`
197- else
198- GPG_ERROR_MT_CFLAGS=`$GPG_ERROR_CONFIG --variable=mtcflags 2>/dev/null`
199- GPG_ERROR_MT_CFLAGS="$GPG_ERROR_CFLAGS${GPG_ERROR_CFLAGS:+ }$GPG_ERROR_MT_CFLAGS"
200- GPG_ERROR_MT_LIBS=`$GPG_ERROR_CONFIG --variable=mtlibs 2>/dev/null`
201- GPG_ERROR_MT_LIBS="$GPG_ERROR_LIBS${GPG_ERROR_LIBS:+ }$GPG_ERROR_MT_LIBS"
202- fi
203- AC_MSG_RESULT([yes ($gpg_error_config_version)])
204 ifelse([$2], , :, [$2])
205- if test -z "$GPGRT_CONFIG"; then
206- gpg_error_config_host=`$GPG_ERROR_CONFIG --host 2>/dev/null || echo none`
207- else
208- gpg_error_config_host=`$GPG_ERROR_CONFIG --variable=host 2>/dev/null || echo none`
209- fi
210+ gpg_error_config_host=`$PKG_CONFIG --host gpg-error 2>/dev/null || echo none`
211 if test x"$gpg_error_config_host" != xnone ; then
212 if test x"$gpg_error_config_host" != x"$host" ; then
213 AC_MSG_WARN([[
214@@ -211,10 +41,6 @@ AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl
215 fi
216 fi
217 else
218- GPG_ERROR_CFLAGS=""
219- GPG_ERROR_LIBS=""
220- GPG_ERROR_MT_CFLAGS=""
221- GPG_ERROR_MT_LIBS=""
222 AC_MSG_RESULT(no)
223 ifelse([$3], , :, [$3])
224 fi
diff --git a/meta/recipes-support/pinentry/pinentry/0001-find-gpg-error-with-pkg-config.patch b/meta/recipes-support/pinentry/pinentry/0001-find-gpg-error-with-pkg-config.patch
new file mode 100644
index 0000000000..54c82350a2
--- /dev/null
+++ b/meta/recipes-support/pinentry/pinentry/0001-find-gpg-error-with-pkg-config.patch
@@ -0,0 +1,40 @@
1From 2e90424eb1518083133a79f2737152c83289bc99 Mon Sep 17 00:00:00 2001
2From: Gyorgy Sarvari <skandigraun@gmail.com>
3Date: Wed, 3 Sep 2025 20:24:01 +0200
4Subject: [PATCH] find gpg-error with pkg-config
5
6This patch is a simplification of a previous patch, which
7added support to find gpg-error with pkg-config, adapted
8to the changes that are made to the gpg-error .pc file
9in its recipe.
10
11Instead of using upstream's custom solution from
12m4/gpg-error.m4 file, use just the standard pkg-config macro
13to see if gpg-error is present.
14
15This patch hasn't been submitted for upstream, due to their
16historical reluctance to accept such patches.[1]
17
18[1]: https://lists.gnupg.org/pipermail/gnupg-devel/2018-October/033985.html (whole thread)
19
20Upstream-Status: Inappropriate [OE specific]
21
22Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
23---
24 configure.ac | 3 +--
25 1 file changed, 1 insertion(+), 2 deletions(-)
26
27diff --git a/configure.ac b/configure.ac
28index ec46162..2b2e16d 100644
29--- a/configure.ac
30+++ b/configure.ac
31@@ -238,8 +238,7 @@ dnl Checks for libgpg-error
32 NEED_GPG_ERROR_VERSION=1.16
33 have_gpg_error=no
34
35-AM_PATH_GPG_ERROR("$NEED_GPG_ERROR_VERSION",
36- have_gpg_error=yes,have_gpg_error=no)
37+PKG_CHECK_MODULES([GPG_ERROR], [gpg-error >= $NEED_GPG_ERROR_VERSION], [have_gpg_error=yes], [have_gpg_error=no])
38 COMMON_CFLAGS="$GPG_ERROR_CFLAGS $COMMON_CFLAGS"
39 COMMON_LIBS="$GPG_ERROR_LIBS $COMMON_LIBS"
40
diff --git a/meta/recipes-support/pinentry/pinentry-1.3.1/libassuan_pkgconf.patch b/meta/recipes-support/pinentry/pinentry/libassuan_pkgconf.patch
index f2d50010c5..fbd370d9fd 100644
--- a/meta/recipes-support/pinentry/pinentry-1.3.1/libassuan_pkgconf.patch
+++ b/meta/recipes-support/pinentry/pinentry/libassuan_pkgconf.patch
@@ -18,7 +18,7 @@ diff --git a/configure.ac b/configure.ac
18index 4944f7c..f03cbb7 100644 18index 4944f7c..f03cbb7 100644
19--- a/configure.ac 19--- a/configure.ac
20+++ b/configure.ac 20+++ b/configure.ac
21@@ -264,8 +264,8 @@ if test "$have_libassuan" = "yes"; then 21@@ -261,8 +261,8 @@ if test "$have_libassuan" = "yes"; then
22 [version of the libassuan library]) 22 [version of the libassuan library])
23 fi 23 fi
24 24
@@ -33,12 +33,13 @@ diff --git a/m4/libassuan.m4 b/m4/libassuan.m4
33index a2eb5d9..897f407 100644 33index a2eb5d9..897f407 100644
34--- a/m4/libassuan.m4 34--- a/m4/libassuan.m4
35+++ b/m4/libassuan.m4 35+++ b/m4/libassuan.m4
36@@ -15,30 +15,8 @@ dnl 36@@ -100,31 +100,8 @@ dnl
37 dnl Common code used for libassuan detection [internal] 37 dnl Common code used for libassuan detection [internal]
38 dnl Returns ok set to yes or no. 38 dnl Returns ok set to yes or no.
39 dnl 39 dnl
40-AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], 40-AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON],
41-[ AC_REQUIRE([AC_CANONICAL_HOST]) 41-[ AC_REQUIRE([AC_CANONICAL_HOST])dnl
42- AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl
42- AC_ARG_WITH(libassuan-prefix, 43- AC_ARG_WITH(libassuan-prefix,
43- AS_HELP_STRING([--with-libassuan-prefix=PFX], 44- AS_HELP_STRING([--with-libassuan-prefix=PFX],
44- [prefix where LIBASSUAN is installed (optional)]), 45- [prefix where LIBASSUAN is installed (optional)]),
@@ -66,7 +67,7 @@ index a2eb5d9..897f407 100644
66 tmp=ifelse([$1], ,1:0.9.2,$1) 67 tmp=ifelse([$1], ,1:0.9.2,$1)
67 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then 68 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
68 req_libassuan_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` 69 req_libassuan_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
69@@ -48,59 +26,11 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], 70@@ -134,59 +111,11 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON],
70 min_libassuan_version="$tmp" 71 min_libassuan_version="$tmp"
71 fi 72 fi
72 73
@@ -111,7 +112,7 @@ index a2eb5d9..897f407 100644
111- 112-
112- if test $ok = yes; then 113- if test $ok = yes; then
113- AC_MSG_RESULT([yes ($libassuan_config_version)]) 114- AC_MSG_RESULT([yes ($libassuan_config_version)])
114- AC_DEFINE(LIBASSUAN_API_REQUESTED, $req_libassuan_api, Requested API version for libassuan) 115- AC_DEFINE_UNQUOTED(LIBASSUAN_API_REQUESTED, $req_libassuan_api, [Requested API version for libassuan])
115- else 116- else
116- AC_MSG_RESULT(no) 117- AC_MSG_RESULT(no)
117- fi 118- fi
@@ -128,7 +129,7 @@ index a2eb5d9..897f407 100644
128 if test "$tmp" -gt 0 ; then 129 if test "$tmp" -gt 0 ; then
129 AC_MSG_CHECKING([LIBASSUAN API version]) 130 AC_MSG_CHECKING([LIBASSUAN API version])
130 if test "$req_libassuan_api" -eq "$tmp" ; then 131 if test "$req_libassuan_api" -eq "$tmp" ; then
131@@ -117,11 +47,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], 132@@ -203,11 +132,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON],
132 133
133 if test $ok = yes; then 134 if test $ok = yes; then
134 if test x"$host" != x ; then 135 if test x"$host" != x ; then
@@ -141,7 +142,7 @@ index a2eb5d9..897f407 100644
141 if test x"$libassuan_config_host" != xnone ; then 142 if test x"$libassuan_config_host" != xnone ; then
142 if test x"$libassuan_config_host" != x"$host" ; then 143 if test x"$libassuan_config_host" != x"$host" ; then
143 AC_MSG_WARN([[ 144 AC_MSG_WARN([[
144@@ -144,7 +70,7 @@ dnl Test whether libassuan has at least MINIMUM-VERSION. This is 145@@ -230,7 +155,7 @@ dnl Test whether libassuan has at least MINIMUM-VERSION. This is
145 dnl used to test for features only available in newer versions. 146 dnl used to test for features only available in newer versions.
146 dnl 147 dnl
147 AC_DEFUN([AM_CHECK_LIBASSUAN], 148 AC_DEFUN([AM_CHECK_LIBASSUAN],
@@ -150,21 +151,12 @@ index a2eb5d9..897f407 100644
150 if test $ok = yes; then 151 if test $ok = yes; then
151 ifelse([$2], , :, [$2]) 152 ifelse([$2], , :, [$2])
152 else 153 else
153@@ -160,16 +86,10 @@ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) 154@@ -246,7 +171,7 @@ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
154 dnl Test for libassuan and define LIBASSUAN_CFLAGS and LIBASSUAN_LIBS 155 dnl Test for libassuan and define LIBASSUAN_CFLAGS and LIBASSUAN_LIBS
155 dnl 156 dnl
156 AC_DEFUN([AM_PATH_LIBASSUAN], 157 AC_DEFUN([AM_PATH_LIBASSUAN],
157-[ _AM_PATH_LIBASSUAN_COMMON($1) 158-[ _AM_PATH_LIBASSUAN_COMMON($1)
158+[ AM_PATH_LIBASSUAN_COMMON($1) 159+[ AM_PATH_LIBASSUAN_COMMON($1)
159 if test $ok = yes; then 160 if test $ok = yes; then
160- LIBASSUAN_CFLAGS=`$LIBASSUAN_CONFIG --cflags` 161 LIBASSUAN_CFLAGS=`$LIBASSUAN_CONFIG --cflags`
161- LIBASSUAN_LIBS=`$LIBASSUAN_CONFIG --libs` 162 LIBASSUAN_LIBS=`$LIBASSUAN_CONFIG --libs`
162 ifelse([$2], , :, [$2])
163 else
164- LIBASSUAN_CFLAGS=""
165- LIBASSUAN_LIBS=""
166 ifelse([$3], , :, [$3])
167 fi
168- AC_SUBST(LIBASSUAN_CFLAGS)
169- AC_SUBST(LIBASSUAN_LIBS)
170 ])
diff --git a/meta/recipes-support/pinentry/pinentry_1.3.1.bb b/meta/recipes-support/pinentry/pinentry_1.3.2.bb
index 0fc652cdba..a5c8d2258a 100644
--- a/meta/recipes-support/pinentry/pinentry_1.3.1.bb
+++ b/meta/recipes-support/pinentry/pinentry_1.3.2.bb
@@ -13,10 +13,10 @@ DEPENDS = "gettext-native libassuan libgpg-error"
13UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" 13UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
14SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ 14SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
15 file://libassuan_pkgconf.patch \ 15 file://libassuan_pkgconf.patch \
16 file://gpg-error_pkconf.patch \ 16 file://0001-find-gpg-error-with-pkg-config.patch \
17" 17"
18 18
19SRC_URI[sha256sum] = "bc72ee27c7239007ab1896c3c2fae53b076e2c9bd2483dc2769a16902bce8c04" 19SRC_URI[sha256sum] = "8e986ed88561b4da6e9efe0c54fa4ca8923035c99264df0b0464497c5fb94e9e"
20 20
21inherit autotools pkgconfig 21inherit autotools pkgconfig
22 22