diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-02-01 20:01:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-16 18:05:39 +0000 |
commit | eff20ce4784e1f7de33edda47cbf1d321d2e1fb7 (patch) | |
tree | ee73ec45f177006a41cc3edaf460f287292191da | |
parent | eb3b60d50570081812dc6b6d8b1a11b723e61813 (diff) | |
download | poky-eff20ce4784e1f7de33edda47cbf1d321d2e1fb7.tar.gz |
p11-kit: take source code from official git
The previous tarball URI seems to be gone.
Also, adjust a few things to make it actually build;
handling autotools-based projects from git checkouts is always harder
than taking them from tarballs :-(
(From OE-Core rev: b4542e867d54c56e6ef088fac28ae3d5e6c0d7bc)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/p11-kit/p11-kit/0001-LINGUAS-drop-the-languages-for-which-upstream-does-n.patch | 32 | ||||
-rw-r--r-- | meta/recipes-support/p11-kit/p11-kit_0.22.1.bb | 13 |
2 files changed, 41 insertions, 4 deletions
diff --git a/meta/recipes-support/p11-kit/p11-kit/0001-LINGUAS-drop-the-languages-for-which-upstream-does-n.patch b/meta/recipes-support/p11-kit/p11-kit/0001-LINGUAS-drop-the-languages-for-which-upstream-does-n.patch new file mode 100644 index 0000000000..2fda9dfbb8 --- /dev/null +++ b/meta/recipes-support/p11-kit/p11-kit/0001-LINGUAS-drop-the-languages-for-which-upstream-does-n.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From c3aa4aae5e9f4adafd9e10d9466f1bc481e0aae6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 31 Jan 2018 16:47:44 +0200 | ||
4 | Subject: [PATCH] LINGUAS: drop the languages for which upstream does not | ||
5 | supply .po files | ||
6 | |||
7 | Regenerating them proved to be too painful. | ||
8 | Upstream has been notified: https://github.com/p11-glue/p11-kit/issues/127 | ||
9 | |||
10 | Upstream-Status: Inappropriate [missing upstream distribution files] | ||
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
12 | --- | ||
13 | po/LINGUAS | 2 -- | ||
14 | 1 file changed, 2 deletions(-) | ||
15 | |||
16 | diff --git a/po/LINGUAS b/po/LINGUAS | ||
17 | index 1fc4d53..e9cc5a7 100644 | ||
18 | --- a/po/LINGUAS | ||
19 | +++ b/po/LINGUAS | ||
20 | @@ -11,9 +11,7 @@ cy | ||
21 | da | ||
22 | de | ||
23 | el | ||
24 | -en@boldquot | ||
25 | en_GB | ||
26 | -en@quot | ||
27 | eo | ||
28 | es | ||
29 | es_CL | ||
30 | -- | ||
31 | 2.15.1 | ||
32 | |||
diff --git a/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb b/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb index 38fa09bf9a..57798f4020 100644 --- a/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb +++ b/meta/recipes-support/p11-kit/p11-kit_0.22.1.bb | |||
@@ -2,14 +2,19 @@ SUMMARY = "Provides a way to load and enumerate PKCS#11 modules" | |||
2 | LICENSE = "BSD" | 2 | LICENSE = "BSD" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50" |
4 | 4 | ||
5 | inherit autotools gettext pkgconfig upstream-version-is-even gtk-doc | 5 | inherit autotools gettext pkgconfig gtk-doc |
6 | 6 | ||
7 | DEPENDS = "libtasn1 libffi" | 7 | DEPENDS = "libtasn1 libffi" |
8 | 8 | ||
9 | SRC_URI = "http://p11-glue.freedesktop.org/releases/${BP}.tar.gz" | 9 | SRC_URI = "git://github.com/p11-glue/p11-kit \ |
10 | SRC_URI[md5sum] = "4e9bea1106628ffb820bdad24a819fac" | 10 | file://0001-LINGUAS-drop-the-languages-for-which-upstream-does-n.patch \ |
11 | SRC_URI[sha256sum] = "ef3a339fcf6aa0e32c8c23f79ba7191e57312be2bda8b24e6d121c2670539a5c" | 11 | " |
12 | SRCREV = "bfb3bd47aa48983f5349479bca598403097ff81c" | ||
13 | S = "${WORKDIR}/git" | ||
14 | # exclude odd minor versions, which are development releases | ||
15 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" | ||
12 | 16 | ||
17 | AUTOTOOLS_AUXDIR = "${S}/build/litter" | ||
13 | EXTRA_OECONF = "--without-trust-paths" | 18 | EXTRA_OECONF = "--without-trust-paths" |
14 | 19 | ||
15 | # This recipe does not use the standard gtk-doc m4 macros, and so the ./configure flags | 20 | # This recipe does not use the standard gtk-doc m4 macros, and so the ./configure flags |