summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2021-09-08 20:01:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-11 18:41:37 +0100
commitc9690cc3c4743ca661b0b2b9d0e98c7745b476b0 (patch)
tree8c73cf5ac553a8a1303763afe011bb3e375b89ce
parent623a73cefd798da886aad6595a755d9b3282f030 (diff)
downloadpoky-c9690cc3c4743ca661b0b2b9d0e98c7745b476b0.tar.gz
pinentry: update 1.1.1 -> 1.2.0
Rebase patches. (From OE-Core rev: dbb0e50375a5720d38c966fc4c5810eea1ec0203) Signed-off-by: Alexander Kanavin <alex@linutronix.de> 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.2.0/gpg-error_pkconf.patch (renamed from meta/recipes-support/pinentry/pinentry-1.1.1/gpg-error_pkconf.patch)126
-rw-r--r--meta/recipes-support/pinentry/pinentry-1.2.0/libassuan_pkgconf.patch (renamed from meta/recipes-support/pinentry/pinentry-1.1.1/libassuan_pkgconf.patch)0
-rw-r--r--meta/recipes-support/pinentry/pinentry_1.2.0.bb (renamed from meta/recipes-support/pinentry/pinentry_1.1.1.bb)2
4 files changed, 74 insertions, 56 deletions
diff --git a/meta/lib/oeqa/selftest/cases/oescripts.py b/meta/lib/oeqa/selftest/cases/oescripts.py
index 1decce39e9..91abf9654a 100644
--- a/meta/lib/oeqa/selftest/cases/oescripts.py
+++ b/meta/lib/oeqa/selftest/cases/oescripts.py
@@ -167,7 +167,7 @@ class OEListPackageconfigTests(OEScriptTests):
167 def test_packageconfig_flags_option_all(self): 167 def test_packageconfig_flags_option_all(self):
168 results = runCmd('%s/contrib/list-packageconfig-flags.py -a' % self.scripts_dir) 168 results = runCmd('%s/contrib/list-packageconfig-flags.py -a' % self.scripts_dir)
169 expected_endlines = [] 169 expected_endlines = []
170 expected_endlines.append("pinentry-1.1.1") 170 expected_endlines.append("pinentry-1.2.0")
171 expected_endlines.append("PACKAGECONFIG ncurses libcap") 171 expected_endlines.append("PACKAGECONFIG ncurses libcap")
172 expected_endlines.append("PACKAGECONFIG[qt] --enable-pinentry-qt, --disable-pinentry-qt, qtbase-native qtbase") 172 expected_endlines.append("PACKAGECONFIG[qt] --enable-pinentry-qt, --disable-pinentry-qt, qtbase-native qtbase")
173 expected_endlines.append("PACKAGECONFIG[gtk2] --enable-pinentry-gtk2, --disable-pinentry-gtk2, gtk+ glib-2.0") 173 expected_endlines.append("PACKAGECONFIG[gtk2] --enable-pinentry-gtk2, --disable-pinentry-gtk2, gtk+ glib-2.0")
diff --git a/meta/recipes-support/pinentry/pinentry-1.1.1/gpg-error_pkconf.patch b/meta/recipes-support/pinentry/pinentry-1.2.0/gpg-error_pkconf.patch
index 537735dba8..507c0c3917 100644
--- a/meta/recipes-support/pinentry/pinentry-1.1.1/gpg-error_pkconf.patch
+++ b/meta/recipes-support/pinentry/pinentry-1.2.0/gpg-error_pkconf.patch
@@ -1,4 +1,4 @@
1From 7b60f1563ecdb7020c145de8a96cae1c0a66c595 Mon Sep 17 00:00:00 2001 1From 54a4c9d3e5f1897ed4b978d5cdee646ca7a4f637 Mon Sep 17 00:00:00 2001
2From: Armin Kuster <akuster@mvista.com> 2From: Armin Kuster <akuster@mvista.com>
3Date: Fri, 2 Sep 2005 11:50:01 +0000 3Date: Fri, 2 Sep 2005 11:50:01 +0000
4Subject: [PATCH] Add gtk+, avahi, dbus-0.34 (.36 coming soon) and 4Subject: [PATCH] Add gtk+, avahi, dbus-0.34 (.36 coming soon) and
@@ -11,14 +11,14 @@ Upstream-Status: Inappropriate [OE specific]
11Signed-off-by: Armin Kuster <akuster@mvista.com> 11Signed-off-by: Armin Kuster <akuster@mvista.com>
12 12
13--- 13---
14 m4/gpg-error.m4 | 141 ++---------------------------------------------- 14 m4/gpg-error.m4 | 159 ++----------------------------------------------
15 1 file changed, 4 insertions(+), 137 deletions(-) 15 1 file changed, 4 insertions(+), 155 deletions(-)
16 16
17diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4 17diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4
18index c9b235f..a4fd41c 100644 18index 56a5d07..c0bec1f 100644
19--- a/m4/gpg-error.m4 19--- a/m4/gpg-error.m4
20+++ b/m4/gpg-error.m4 20+++ b/m4/gpg-error.m4
21@@ -25,141 +25,12 @@ dnl config script does not match the host specification the script 21@@ -26,159 +26,12 @@ dnl config script does not match the host specification the script
22 dnl is added to the gpg_config_script_warn variable. 22 dnl is added to the gpg_config_script_warn variable.
23 dnl 23 dnl
24 AC_DEFUN([AM_PATH_GPG_ERROR], 24 AC_DEFUN([AM_PATH_GPG_ERROR],
@@ -61,45 +61,79 @@ index c9b235f..a4fd41c 100644
61- min_gpg_error_version=ifelse([$1], ,1.33,$1) 61- min_gpg_error_version=ifelse([$1], ,1.33,$1)
62- ok=no 62- ok=no
63- 63-
64- if test "$prefix" = NONE ; then 64- AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no, [$prefix/bin:$PATH])
65- prefix_option_expanded=/usr/local 65- if test "$GPGRT_CONFIG" != "no"; then
66- else 66- # Determine gpgrt_libdir
67- prefix_option_expanded="$prefix" 67- #
68- fi 68- # Get the prefix of gpgrt-config assuming it's something like:
69- if test "$exec_prefix" = NONE ; then 69- # <PREFIX>/bin/gpgrt-config
70- exec_prefix_option_expanded=$prefix_option_expanded 70- gpgrt_prefix=${GPGRT_CONFIG%/*/*}
71- else 71- possible_libdir1=${gpgrt_prefix}/lib
72- exec_prefix_option_expanded=$(prefix=$prefix_option_expanded eval echo $exec_prefix) 72- # Determine by using system libdir-format with CC, it's like:
73- fi 73- # Normal style: /usr/lib
74- libdir_option_expanded=$(prefix=$prefix_option_expanded exec_prefix=$exec_prefix_option_expanded eval echo $libdir) 74- # GNU cross style: /usr/<triplet>/lib
75- # Debian style: /usr/lib/<multiarch-name>
76- # Fedora/openSUSE style: /usr/lib, /usr/lib32 or /usr/lib64
77- # It is assumed that CC is specified to the one of host on cross build.
78- if libdir_candidates=$(${CC:-cc} -print-search-dirs | \
79- sed -n -e "/^libraries/{s/libraries: =//;s/:/\\
80-/g;p;}"); then
81- # From the output of -print-search-dirs, select valid pkgconfig dirs.
82- libdir_candidates=$(for dir in $libdir_candidates; do
83- if p=$(cd $dir 2>/dev/null && pwd); then
84- test -d "$p/pkgconfig" && echo $p;
85- fi
86- done)
75- 87-
76- if test -f $libdir_option_expanded/pkgconfig/gpg-error.pc; then 88- for possible_libdir0 in $libdir_candidates; do
77- gpgrt_libdir=$libdir_option_expanded 89- # possible_libdir0:
78- else 90- # Fallback candidate, the one of system-installed (by $CC)
79- if crt1_path=$(${CC:-cc} -print-file-name=crt1.o 2>/dev/null); then 91- # (/usr/<triplet>/lib, /usr/lib/<multiarch-name> or /usr/lib32)
80- if possible_libdir=$(cd ${crt1_path%/*} && pwd 2>/dev/null); then 92- # possible_libdir1:
81- if test -f $possible_libdir/pkgconfig/gpg-error.pc; then 93- # Another candidate, user-locally-installed
82- gpgrt_libdir=$possible_libdir 94- # (<gpgrt_prefix>/lib)
95- # possible_libdir2
96- # Most preferred
97- # (<gpgrt_prefix>/<triplet>/lib,
98- # <gpgrt_prefix>/lib/<multiarch-name> or <gpgrt_prefix>/lib32)
99- if test "${possible_libdir0##*/}" = "lib"; then
100- possible_prefix0=${possible_libdir0%/lib}
101- possible_prefix0_triplet=${possible_prefix0##*/}
102- if test -z "$possible_prefix0_triplet"; then
103- continue
104- fi
105- possible_libdir2=${gpgrt_prefix}/$possible_prefix0_triplet/lib
106- else
107- possible_prefix0=${possible_libdir0%%/lib*}
108- possible_libdir2=${gpgrt_prefix}${possible_libdir0#$possible_prefix0}
109- fi
110- if test -f ${possible_libdir2}/pkgconfig/gpg-error.pc; then
111- gpgrt_libdir=${possible_libdir2}
112- elif test -f ${possible_libdir1}/pkgconfig/gpg-error.pc; then
113- gpgrt_libdir=${possible_libdir1}
114- elif test -f ${possible_libdir0}/pkgconfig/gpg-error.pc; then
115- gpgrt_libdir=${possible_libdir0}
83- fi 116- fi
84- fi 117- if test -n "$gpgrt_libdir"; then break; fi
118- done
119- else
120- # When we cannot determine system libdir-format, use this:
121- gpgrt_libdir=${possible_libdir1}
85- fi 122- fi
123- else
124- unset GPGRT_CONFIG
86- fi 125- fi
87- 126-
88- if test "$GPG_ERROR_CONFIG" = "no" -a -n "$gpgrt_libdir"; then 127- if test -n "$gpgrt_libdir"; then
89- AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no) 128- GPGRT_CONFIG="$GPGRT_CONFIG --libdir=$gpgrt_libdir"
90- if test "$GPGRT_CONFIG" = "no"; then 129- if $GPGRT_CONFIG gpg-error >/dev/null 2>&1; then
91- unset GPGRT_CONFIG 130- GPG_ERROR_CONFIG="$GPGRT_CONFIG gpg-error"
131- AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config])
132- gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion`
92- else 133- else
93- GPGRT_CONFIG="$GPGRT_CONFIG --libdir=$gpgrt_libdir" 134- unset GPGRT_CONFIG
94- if $GPGRT_CONFIG gpg-error >/dev/null 2>&1; then
95- GPG_ERROR_CONFIG="$GPGRT_CONFIG gpg-error"
96- AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config])
97- gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion`
98- else
99- unset GPGRT_CONFIG
100- fi
101- fi 135- fi
102- else 136- elif test "$GPG_ERROR_CONFIG" != "no"; then
103- gpg_error_config_version=`$GPG_ERROR_CONFIG --version` 137- gpg_error_config_version=`$GPG_ERROR_CONFIG --version`
104- fi 138- fi
105- if test "$GPG_ERROR_CONFIG" != "no"; then 139- if test "$GPG_ERROR_CONFIG" != "no"; then
@@ -120,22 +154,6 @@ index c9b235f..a4fd41c 100644
120- fi 154- fi
121- fi 155- fi
122- fi 156- fi
123- if test -z "$GPGRT_CONFIG" -a -n "$gpgrt_libdir"; then
124- if test "$major" -gt 1 -o "$major" -eq 1 -a "$minor" -ge 33; then
125- AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no)
126- if test "$GPGRT_CONFIG" = "no"; then
127- unset GPGRT_CONFIG
128- else
129- GPGRT_CONFIG="$GPGRT_CONFIG --libdir=$gpgrt_libdir"
130- if $GPGRT_CONFIG gpg-error >/dev/null 2>&1; then
131- GPG_ERROR_CONFIG="$GPGRT_CONFIG gpg-error"
132- AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config])
133- else
134- unset GPGRT_CONFIG
135- fi
136- fi
137- fi
138- fi
139- fi 157- fi
140- AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version) 158- AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version)
141+[ 159+[
@@ -164,7 +182,7 @@ index c9b235f..a4fd41c 100644
164 if test x"$gpg_error_config_host" != xnone ; then 182 if test x"$gpg_error_config_host" != xnone ; then
165 if test x"$gpg_error_config_host" != x"$host" ; then 183 if test x"$gpg_error_config_host" != x"$host" ; then
166 AC_MSG_WARN([[ 184 AC_MSG_WARN([[
167@@ -174,10 +45,6 @@ AC_DEFUN([AM_PATH_GPG_ERROR], 185@@ -193,10 +46,6 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
168 fi 186 fi
169 fi 187 fi
170 else 188 else
diff --git a/meta/recipes-support/pinentry/pinentry-1.1.1/libassuan_pkgconf.patch b/meta/recipes-support/pinentry/pinentry-1.2.0/libassuan_pkgconf.patch
index f4aec2d1c3..f4aec2d1c3 100644
--- a/meta/recipes-support/pinentry/pinentry-1.1.1/libassuan_pkgconf.patch
+++ b/meta/recipes-support/pinentry/pinentry-1.2.0/libassuan_pkgconf.patch
diff --git a/meta/recipes-support/pinentry/pinentry_1.1.1.bb b/meta/recipes-support/pinentry/pinentry_1.2.0.bb
index 98577fe3ef..504ba3b5cc 100644
--- a/meta/recipes-support/pinentry/pinentry_1.1.1.bb
+++ b/meta/recipes-support/pinentry/pinentry_1.2.0.bb
@@ -16,7 +16,7 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
16 file://gpg-error_pkconf.patch \ 16 file://gpg-error_pkconf.patch \
17" 17"
18 18
19SRC_URI[sha256sum] = "cd12a064013ed18e2ee8475e669b9f58db1b225a0144debdb85a68cecddba57f" 19SRC_URI[sha256sum] = "10072045a3e043d0581f91cd5676fcac7ffee957a16636adedaa4f583a616470"
20 20
21inherit autotools pkgconfig 21inherit autotools pkgconfig
22 22