diff options
-rw-r--r-- | meta/lib/oeqa/selftest/cases/oescripts.py | 2 | ||||
-rw-r--r-- | meta/recipes-support/pinentry/pinentry-1.3.0/gpg-error_pkconf.patch (renamed from meta/recipes-support/pinentry/pinentry-1.2.1/gpg-error_pkconf.patch) | 56 | ||||
-rw-r--r-- | meta/recipes-support/pinentry/pinentry-1.3.0/libassuan_pkgconf.patch (renamed from meta/recipes-support/pinentry/pinentry-1.2.1/libassuan_pkgconf.patch) | 24 | ||||
-rw-r--r-- | meta/recipes-support/pinentry/pinentry_1.3.0.bb (renamed from meta/recipes-support/pinentry/pinentry_1.2.1.bb) | 4 |
4 files changed, 57 insertions, 29 deletions
diff --git a/meta/lib/oeqa/selftest/cases/oescripts.py b/meta/lib/oeqa/selftest/cases/oescripts.py index f69efccfee..fcfe54af74 100644 --- a/meta/lib/oeqa/selftest/cases/oescripts.py +++ b/meta/lib/oeqa/selftest/cases/oescripts.py | |||
@@ -175,7 +175,7 @@ class OEListPackageconfigTests(OESelftestTestCase): | |||
175 | def test_packageconfig_flags_option_all(self): | 175 | def test_packageconfig_flags_option_all(self): |
176 | results = runCmd('%s/contrib/list-packageconfig-flags.py -a' % self.scripts_dir) | 176 | results = runCmd('%s/contrib/list-packageconfig-flags.py -a' % self.scripts_dir) |
177 | expected_endlines = [] | 177 | expected_endlines = [] |
178 | expected_endlines.append("pinentry-1.2.1") | 178 | expected_endlines.append("pinentry-1.3.0") |
179 | expected_endlines.append("PACKAGECONFIG ncurses") | 179 | expected_endlines.append("PACKAGECONFIG ncurses") |
180 | expected_endlines.append("PACKAGECONFIG[qt] --enable-pinentry-qt, --disable-pinentry-qt, qtbase-native qtbase") | 180 | expected_endlines.append("PACKAGECONFIG[qt] --enable-pinentry-qt, --disable-pinentry-qt, qtbase-native qtbase") |
181 | expected_endlines.append("PACKAGECONFIG[gtk2] --enable-pinentry-gtk2, --disable-pinentry-gtk2, gtk+ glib-2.0") | 181 | expected_endlines.append("PACKAGECONFIG[gtk2] --enable-pinentry-gtk2, --disable-pinentry-gtk2, gtk+ glib-2.0") |
diff --git a/meta/recipes-support/pinentry/pinentry-1.2.1/gpg-error_pkconf.patch b/meta/recipes-support/pinentry/pinentry-1.3.0/gpg-error_pkconf.patch index bb7e43b1e7..863ba9e34b 100644 --- a/meta/recipes-support/pinentry/pinentry-1.2.1/gpg-error_pkconf.patch +++ b/meta/recipes-support/pinentry/pinentry-1.3.0/gpg-error_pkconf.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 785777dc0bc6b69ff68c91547ec6b6634049662f Mon Sep 17 00:00:00 2001 | 1 | From ccc3c6a8d469bbfa6717b970cfe70816c1fd545e Mon Sep 17 00:00:00 2001 |
2 | From: Armin Kuster <akuster@mvista.com> | 2 | From: Armin Kuster <akuster@mvista.com> |
3 | Date: Fri, 2 Sep 2005 11:50:01 +0000 | 3 | Date: Fri, 2 Sep 2005 11:50:01 +0000 |
4 | Subject: [PATCH] Add gtk+, avahi, dbus-0.34 (.36 coming soon) and | 4 | Subject: [PATCH] Add gtk+, avahi, dbus-0.34 (.36 coming soon) and |
@@ -9,20 +9,20 @@ the gpg-error recipe for gpg-error.pc generation. | |||
9 | Upstream-Status: Inappropriate [OE specific] | 9 | Upstream-Status: Inappropriate [OE specific] |
10 | 10 | ||
11 | Signed-off-by: Armin Kuster <akuster@mvista.com> | 11 | Signed-off-by: Armin Kuster <akuster@mvista.com> |
12 | |||
13 | --- | 12 | --- |
14 | m4/gpg-error.m4 | 160 ++---------------------------------------------- | 13 | m4/gpg-error.m4 | 184 ++---------------------------------------------- |
15 | 1 file changed, 4 insertions(+), 156 deletions(-) | 14 | 1 file changed, 5 insertions(+), 179 deletions(-) |
16 | 15 | ||
17 | diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4 | 16 | diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4 |
18 | index 4b5cd40..7dfbb83 100644 | 17 | index 7fa52b1..c0784ed 100644 |
19 | --- a/m4/gpg-error.m4 | 18 | --- a/m4/gpg-error.m4 |
20 | +++ b/m4/gpg-error.m4 | 19 | +++ b/m4/gpg-error.m4 |
21 | @@ -26,160 +26,12 @@ dnl config script does not match the host specification the script | 20 | @@ -15,188 +15,18 @@ |
22 | dnl is added to the gpg_config_script_warn variable. | 21 | dnl |
22 | dnl Find gpg-error-config, for backward compatibility | ||
23 | dnl | 23 | dnl |
24 | AC_DEFUN([AM_PATH_GPG_ERROR], | 24 | -dnl _AM_PATH_POSSIBLE_GPG_ERROR_CONFIG |
25 | -[ AC_REQUIRE([AC_CANONICAL_HOST]) | 25 | -AC_DEFUN([_AM_PATH_POSSIBLE_GPG_ERROR_CONFIG],[dnl |
26 | - gpg_error_config_prefix="" | 26 | - gpg_error_config_prefix="" |
27 | - dnl --with-libgpg-error-prefix=PFX is the preferred name for this option, | 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/ | 28 | - dnl since that is consistent with how our three siblings use the directory/ |
@@ -58,9 +58,14 @@ index 4b5cd40..7dfbb83 100644 | |||
58 | - fi | 58 | - fi |
59 | - | 59 | - |
60 | - AC_PATH_PROG(GPG_ERROR_CONFIG, gpg-error-config, no) | 60 | - AC_PATH_PROG(GPG_ERROR_CONFIG, gpg-error-config, no) |
61 | - min_gpg_error_version=ifelse([$1], ,1.33,$1) | 61 | -]) |
62 | - ok=no | ||
63 | - | 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 | ||
64 | - AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no, [$prefix/bin:$PATH]) | 69 | - AC_PATH_PROG(GPGRT_CONFIG, gpgrt-config, no, [$prefix/bin:$PATH]) |
65 | - if test "$GPGRT_CONFIG" != "no"; then | 70 | - if test "$GPGRT_CONFIG" != "no"; then |
66 | - # Determine gpgrt_libdir | 71 | - # Determine gpgrt_libdir |
@@ -116,8 +121,9 @@ index 4b5cd40..7dfbb83 100644 | |||
116 | - fi | 121 | - fi |
117 | - if test -n "$gpgrt_libdir"; then break; fi | 122 | - if test -n "$gpgrt_libdir"; then break; fi |
118 | - done | 123 | - done |
119 | - else | 124 | - fi |
120 | - # When we cannot determine system libdir-format, use this: | 125 | - if test -z "$gpgrt_libdir"; then |
126 | - # No valid pkgconfig dir in any of the system directories, fallback | ||
121 | - gpgrt_libdir=${possible_libdir1} | 127 | - gpgrt_libdir=${possible_libdir1} |
122 | - fi | 128 | - fi |
123 | - else | 129 | - else |
@@ -131,12 +137,33 @@ index 4b5cd40..7dfbb83 100644 | |||
131 | - AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config]) | 137 | - AC_MSG_NOTICE([Use gpgrt-config with $gpgrt_libdir as gpg-error-config]) |
132 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion` | 138 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --modversion` |
133 | - else | 139 | - else |
140 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --version` | ||
134 | - unset GPGRT_CONFIG | 141 | - unset GPGRT_CONFIG |
135 | - fi | 142 | - fi |
136 | - elif test "$GPG_ERROR_CONFIG" != "no"; then | 143 | - elif test "$GPG_ERROR_CONFIG" != "no"; then |
137 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --version` | 144 | - gpg_error_config_version=`$GPG_ERROR_CONFIG --version` |
138 | - unset GPGRT_CONFIG | 145 | - unset GPGRT_CONFIG |
139 | - fi | 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 | ||
140 | - if test "$GPG_ERROR_CONFIG" != "no"; then | 167 | - if test "$GPG_ERROR_CONFIG" != "no"; then |
141 | - req_major=`echo $min_gpg_error_version | \ | 168 | - req_major=`echo $min_gpg_error_version | \ |
142 | - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` | 169 | - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` |
@@ -157,6 +184,7 @@ index 4b5cd40..7dfbb83 100644 | |||
157 | - fi | 184 | - fi |
158 | - fi | 185 | - fi |
159 | - AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version) | 186 | - AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version) |
187 | +AC_DEFUN([AM_PATH_GPG_ERROR], | ||
160 | +[ | 188 | +[ |
161 | + min_gpg_error_version=ifelse([$1], ,0.0,$1) | 189 | + min_gpg_error_version=ifelse([$1], ,0.0,$1) |
162 | + PKG_CHECK_MODULES(GPG_ERROR, [gpg-error >= $min_gpg_error_version gpg-error], [ok=yes], [ok=no]) | 190 | + PKG_CHECK_MODULES(GPG_ERROR, [gpg-error >= $min_gpg_error_version gpg-error], [ok=yes], [ok=no]) |
@@ -183,7 +211,7 @@ index 4b5cd40..7dfbb83 100644 | |||
183 | if test x"$gpg_error_config_host" != xnone ; then | 211 | if test x"$gpg_error_config_host" != xnone ; then |
184 | if test x"$gpg_error_config_host" != x"$host" ; then | 212 | if test x"$gpg_error_config_host" != x"$host" ; then |
185 | AC_MSG_WARN([[ | 213 | AC_MSG_WARN([[ |
186 | @@ -194,10 +46,6 @@ AC_DEFUN([AM_PATH_GPG_ERROR], | 214 | @@ -211,10 +41,6 @@ AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl |
187 | fi | 215 | fi |
188 | fi | 216 | fi |
189 | else | 217 | else |
diff --git a/meta/recipes-support/pinentry/pinentry-1.2.1/libassuan_pkgconf.patch b/meta/recipes-support/pinentry/pinentry-1.3.0/libassuan_pkgconf.patch index f4aec2d1c3..bee9acd081 100644 --- a/meta/recipes-support/pinentry/pinentry-1.2.1/libassuan_pkgconf.patch +++ b/meta/recipes-support/pinentry/pinentry-1.3.0/libassuan_pkgconf.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 26fb6c3faa27180c8ed9ada1728c3d8683a65f3a Mon Sep 17 00:00:00 2001 | 1 | From fb6179fabb5e793a83cbb0d0d45814d99b97807a Mon Sep 17 00:00:00 2001 |
2 | From: Armin Kuster <akuster@mvista.com> | 2 | From: Armin Kuster <akuster@mvista.com> |
3 | Date: Thu, 22 May 2014 10:50:00 +0100 | 3 | Date: Thu, 22 May 2014 10:50:00 +0100 |
4 | Subject: [PATCH] libassuan: Improve pkgconfig support | 4 | Subject: [PATCH] libassuan: Improve pkgconfig support |
@@ -9,17 +9,16 @@ the libassuan recipe for libassuan.pc generation. | |||
9 | Upstream-Status: Inappropriate [OE specific] | 9 | Upstream-Status: Inappropriate [OE specific] |
10 | 10 | ||
11 | Signed-off-by: Armin Kuster <akuster@mvista.com> | 11 | Signed-off-by: Armin Kuster <akuster@mvista.com> |
12 | |||
13 | --- | 12 | --- |
14 | configure.ac | 4 +-- | 13 | configure.ac | 4 +-- |
15 | m4/libassuan.m4 | 93 ++++--------------------------------------------- | 14 | m4/libassuan.m4 | 94 ++++--------------------------------------------- |
16 | 2 files changed, 9 insertions(+), 88 deletions(-) | 15 | 2 files changed, 9 insertions(+), 89 deletions(-) |
17 | 16 | ||
18 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
19 | index d8dcc0c..ca51766 100644 | 18 | index f04c00d..8e6da5c 100644 |
20 | --- a/configure.ac | 19 | --- a/configure.ac |
21 | +++ b/configure.ac | 20 | +++ b/configure.ac |
22 | @@ -267,8 +267,8 @@ if test "$have_libassuan" = "yes"; then | 21 | @@ -263,8 +263,8 @@ if test "$have_libassuan" = "yes"; then |
23 | [version of the libassuan library]) | 22 | [version of the libassuan library]) |
24 | fi | 23 | fi |
25 | 24 | ||
@@ -31,7 +30,7 @@ index d8dcc0c..ca51766 100644 | |||
31 | 30 | ||
32 | dnl Checks for libsecmem. | 31 | dnl Checks for libsecmem. |
33 | diff --git a/m4/libassuan.m4 b/m4/libassuan.m4 | 32 | diff --git a/m4/libassuan.m4 b/m4/libassuan.m4 |
34 | index df50484..2057412 100644 | 33 | index a2eb5d9..897f407 100644 |
35 | --- a/m4/libassuan.m4 | 34 | --- a/m4/libassuan.m4 |
36 | +++ b/m4/libassuan.m4 | 35 | +++ b/m4/libassuan.m4 |
37 | @@ -15,30 +15,8 @@ dnl | 36 | @@ -15,30 +15,8 @@ dnl |
@@ -51,7 +50,7 @@ index df50484..2057412 100644 | |||
51 | - fi | 50 | - fi |
52 | - | 51 | - |
53 | - use_gpgrt_config="" | 52 | - use_gpgrt_config="" |
54 | - if test x"${LIBASSUAN_CONFIG}" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then | 53 | - if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then |
55 | - if $GPGRT_CONFIG libassuan --exists; then | 54 | - if $GPGRT_CONFIG libassuan --exists; then |
56 | - LIBASSUAN_CONFIG="$GPGRT_CONFIG libassuan" | 55 | - LIBASSUAN_CONFIG="$GPGRT_CONFIG libassuan" |
57 | - AC_MSG_NOTICE([Use gpgrt-config as libassuan-config]) | 56 | - AC_MSG_NOTICE([Use gpgrt-config as libassuan-config]) |
@@ -67,7 +66,7 @@ index df50484..2057412 100644 | |||
67 | tmp=ifelse([$1], ,1:0.9.2,$1) | 66 | tmp=ifelse([$1], ,1:0.9.2,$1) |
68 | if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then | 67 | if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then |
69 | req_libassuan_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` | 68 | req_libassuan_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` |
70 | @@ -48,58 +26,11 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], | 69 | @@ -48,59 +26,11 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], |
71 | min_libassuan_version="$tmp" | 70 | min_libassuan_version="$tmp" |
72 | fi | 71 | fi |
73 | 72 | ||
@@ -112,6 +111,7 @@ index df50484..2057412 100644 | |||
112 | - | 111 | - |
113 | - if test $ok = yes; then | 112 | - if test $ok = yes; then |
114 | - AC_MSG_RESULT([yes ($libassuan_config_version)]) | 113 | - AC_MSG_RESULT([yes ($libassuan_config_version)]) |
114 | - AC_DEFINE(LIBASSUAN_API_REQUESTED, $req_libassuan_api, Requested API version for libassuan) | ||
115 | - else | 115 | - else |
116 | - AC_MSG_RESULT(no) | 116 | - AC_MSG_RESULT(no) |
117 | - fi | 117 | - fi |
@@ -128,7 +128,7 @@ index df50484..2057412 100644 | |||
128 | if test "$tmp" -gt 0 ; then | 128 | if test "$tmp" -gt 0 ; then |
129 | AC_MSG_CHECKING([LIBASSUAN API version]) | 129 | AC_MSG_CHECKING([LIBASSUAN API version]) |
130 | if test "$req_libassuan_api" -eq "$tmp" ; then | 130 | if test "$req_libassuan_api" -eq "$tmp" ; then |
131 | @@ -114,11 +45,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], | 131 | @@ -117,11 +47,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], |
132 | 132 | ||
133 | if test $ok = yes; then | 133 | if test $ok = yes; then |
134 | if test x"$host" != x ; then | 134 | if test x"$host" != x ; then |
@@ -141,7 +141,7 @@ index df50484..2057412 100644 | |||
141 | if test x"$libassuan_config_host" != xnone ; then | 141 | if test x"$libassuan_config_host" != xnone ; then |
142 | if test x"$libassuan_config_host" != x"$host" ; then | 142 | if test x"$libassuan_config_host" != x"$host" ; then |
143 | AC_MSG_WARN([[ | 143 | AC_MSG_WARN([[ |
144 | @@ -141,7 +68,7 @@ dnl Test whether libassuan has at least MINIMUM-VERSION. This is | 144 | @@ -144,7 +70,7 @@ dnl Test whether libassuan has at least MINIMUM-VERSION. This is |
145 | dnl used to test for features only available in newer versions. | 145 | dnl used to test for features only available in newer versions. |
146 | dnl | 146 | dnl |
147 | AC_DEFUN([AM_CHECK_LIBASSUAN], | 147 | AC_DEFUN([AM_CHECK_LIBASSUAN], |
@@ -150,7 +150,7 @@ index df50484..2057412 100644 | |||
150 | if test $ok = yes; then | 150 | if test $ok = yes; then |
151 | ifelse([$2], , :, [$2]) | 151 | ifelse([$2], , :, [$2]) |
152 | else | 152 | else |
153 | @@ -157,16 +84,10 @@ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) | 153 | @@ -160,16 +86,10 @@ dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) |
154 | dnl Test for libassuan and define LIBASSUAN_CFLAGS and LIBASSUAN_LIBS | 154 | dnl Test for libassuan and define LIBASSUAN_CFLAGS and LIBASSUAN_LIBS |
155 | dnl | 155 | dnl |
156 | AC_DEFUN([AM_PATH_LIBASSUAN], | 156 | AC_DEFUN([AM_PATH_LIBASSUAN], |
diff --git a/meta/recipes-support/pinentry/pinentry_1.2.1.bb b/meta/recipes-support/pinentry/pinentry_1.3.0.bb index 7daf80f36e..6ce873871b 100644 --- a/meta/recipes-support/pinentry/pinentry_1.2.1.bb +++ b/meta/recipes-support/pinentry/pinentry_1.3.0.bb | |||
@@ -6,7 +6,7 @@ DESCRIPTION = "\ | |||
6 | 6 | ||
7 | HOMEPAGE = "http://www.gnupg.org/related_software/pinentry/index.en.html" | 7 | HOMEPAGE = "http://www.gnupg.org/related_software/pinentry/index.en.html" |
8 | LICENSE = "GPL-2.0-only" | 8 | LICENSE = "GPL-2.0-only" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=cbbd794e2a0a289b9dfcc9f513d1996e" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
10 | 10 | ||
11 | DEPENDS = "gettext-native libassuan libgpg-error" | 11 | DEPENDS = "gettext-native libassuan libgpg-error" |
12 | 12 | ||
@@ -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 | ||
19 | SRC_URI[sha256sum] = "457a185e5a85238fb945a955dc6352ab962dc8b48720b62fc9fa48c7540a4067" | 19 | SRC_URI[sha256sum] = "9b3cd5226e7597f2fded399a3bc659923351536559e9db0826981bca316494de" |
20 | 20 | ||
21 | inherit autotools pkgconfig | 21 | inherit autotools pkgconfig |
22 | 22 | ||