diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-08-01 15:21:34 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-02 11:23:03 -0700 |
commit | 4c258b784edba40779efc8564dd1413219f1febd (patch) | |
tree | 19b5c64dc149c60a47228fb30d4d13a4d07dc4e2 /meta-oe/recipes-extended | |
parent | 1ffb90072a0fd17ee3be310af52bb32945b53ec3 (diff) | |
download | meta-openembedded-4c258b784edba40779efc8564dd1413219f1febd.tar.gz |
volume-key: 0.3.10 -> 0.3.11
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/volume_key/files/0001-explicitly-support-python3-by-pkg-config.patch | 54 | ||||
-rw-r--r-- | meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb (renamed from meta-oe/recipes-extended/volume_key/volume-key_0.3.10.bb) | 5 |
2 files changed, 2 insertions, 57 deletions
diff --git a/meta-oe/recipes-extended/volume_key/files/0001-explicitly-support-python3-by-pkg-config.patch b/meta-oe/recipes-extended/volume_key/files/0001-explicitly-support-python3-by-pkg-config.patch deleted file mode 100644 index 7fc76ab2f..000000000 --- a/meta-oe/recipes-extended/volume_key/files/0001-explicitly-support-python3-by-pkg-config.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | From 968c7506bea3b8d66e18a562d8b8491172631b37 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Fri, 28 Apr 2017 04:50:30 -0400 | ||
4 | Subject: [PATCH] explicitly support python3 by pkg-config | ||
5 | |||
6 | The PYTHON_CPPFLAGS and -lpython$(PYTHON_VERSION) is hardcoded, | ||
7 | use pkg-config to replace | ||
8 | |||
9 | Upstream-Status: Inappropriate [wr-installer specific] | ||
10 | |||
11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
12 | |||
13 | --- | ||
14 | Makefile.am | 5 ++--- | ||
15 | configure.ac | 2 ++ | ||
16 | 2 files changed, 4 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/Makefile.am b/Makefile.am | ||
19 | index 68560b1..ee2b4dc 100644 | ||
20 | --- a/Makefile.am | ||
21 | +++ b/Makefile.am | ||
22 | @@ -20,7 +20,6 @@ ACLOCAL_AMFLAGS = -I m4 | ||
23 | AM_CPPFLAGS = $(blkid_CFLAGS) $(glib_CFLAGS) $(GPGME_CFLAGS) \ | ||
24 | $(libcryptsetup_CFLAGS) $(nss_CFLAGS) | ||
25 | LOCALEDIR_CPPFLAGS = -DLOCALEDIR='"$(localedir)"' | ||
26 | -PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION) | ||
27 | |||
28 | ## Targets | ||
29 | SUBDIRS = po | ||
30 | @@ -63,9 +62,9 @@ lib_libvolume_key_la_LIBADD = $(blkid_LIBS) $(glib_LIBS) $(GPGME_LIBS) \ | ||
31 | $(LTLIBINTL) $(libcryptsetup_LIBS) $(nss_LIBS) | ||
32 | |||
33 | python__volume_key_la_SOURCES = python/volume_key_wrap.c | ||
34 | -python__volume_key_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS) | ||
35 | +python__volume_key_la_CPPFLAGS = $(AM_CPPFLAGS) $(python3_CFLAGS) | ||
36 | python__volume_key_la_LDFLAGS = -module -avoid-version $(glib_LIBS) | ||
37 | -python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION) \ | ||
38 | +python__volume_key_la_LIBADD = lib/libvolume_key.la $(python3_LIBS) \ | ||
39 | $(glib_LIBS) $(nss_LIBS) | ||
40 | |||
41 | src_volume_key_SOURCES = src/volume_key.c | ||
42 | diff --git a/configure.ac b/configure.ac | ||
43 | index 40c3906..16c067d 100644 | ||
44 | --- a/configure.ac | ||
45 | +++ b/configure.ac | ||
46 | @@ -31,6 +31,8 @@ LT_INIT([disable-static]) | ||
47 | AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2 python, [Python is required]) | ||
48 | AM_PATH_PYTHON([2.6], [], AC_MSG_ERROR([Python 2.6 or 2.7 is required])) | ||
49 | |||
50 | +PKG_CHECK_MODULES(python3, [python3]) | ||
51 | + | ||
52 | AC_PATH_PROG([GPG], [gpg2]) | ||
53 | AC_ARG_VAR([GPG]) | ||
54 | AC_DEFINE_UNQUOTED([GPG_PATH], "$GPG", [Path to the gpg2 executable]) | ||
diff --git a/meta-oe/recipes-extended/volume_key/volume-key_0.3.10.bb b/meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb index e8d20553f..c41b20c45 100644 --- a/meta-oe/recipes-extended/volume_key/volume-key_0.3.10.bb +++ b/meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb | |||
@@ -9,10 +9,9 @@ HOMEPAGE = "https://pagure.io/volume_key" | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
10 | 10 | ||
11 | SRC_URI = "https://releases.pagure.org/volume_key/volume_key-${PV}.tar.xz \ | 11 | SRC_URI = "https://releases.pagure.org/volume_key/volume_key-${PV}.tar.xz \ |
12 | file://0001-explicitly-support-python3-by-pkg-config.patch \ | ||
13 | " | 12 | " |
14 | SRC_URI[md5sum] = "605fd99a6e42916728020562a6edee78" | 13 | SRC_URI[md5sum] = "30df56c7743eb7c965293b3d61194232" |
15 | SRC_URI[sha256sum] = "c5729de7e33e39c8674e9aae2337d2719f9298d6499f1656d0d25a065a7e98a7" | 14 | SRC_URI[sha256sum] = "e6b279c25ae477b555f938db2e41818f90c8cde942b0eec92f70b6c772095f6d" |
16 | 15 | ||
17 | SRCNAME = "volume_key" | 16 | SRCNAME = "volume_key" |
18 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 17 | S = "${WORKDIR}/${SRCNAME}-${PV}" |