diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-08-01 15:21:36 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-02 11:23:03 -0700 |
commit | 2f04ee22e136f013d4938d82d93bab0183dce8b9 (patch) | |
tree | caa8697ca78722d0745753afed6cd5f83175a3b6 /meta-oe | |
parent | da13357948c08ce5adde9057d15aff9c738a4a65 (diff) | |
download | meta-openembedded-2f04ee22e136f013d4938d82d93bab0183dce8b9.tar.gz |
libreport: 2.9.2 -> 2.9.5
Drop 0005-remove-python2-support.patch and use option
`--with-python2/3' to replace.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-extended/libreport/files/0001-Makefile.am-remove-doc-and-apidoc.patch | 8 | ||||
-rw-r--r-- | meta-oe/recipes-extended/libreport/files/0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch | 16 | ||||
-rw-r--r-- | meta-oe/recipes-extended/libreport/files/0003-without-build-plugins.patch | 6 | ||||
-rw-r--r-- | meta-oe/recipes-extended/libreport/files/0004-configure.ac-remove-prog-test-of-augparse.patch | 10 | ||||
-rw-r--r-- | meta-oe/recipes-extended/libreport/files/0005-remove-python2-support.patch | 142 | ||||
-rw-r--r-- | meta-oe/recipes-extended/libreport/libreport_2.9.5.bb (renamed from meta-oe/recipes-extended/libreport/libreport_2.9.2.bb) | 5 |
6 files changed, 23 insertions, 164 deletions
diff --git a/meta-oe/recipes-extended/libreport/files/0001-Makefile.am-remove-doc-and-apidoc.patch b/meta-oe/recipes-extended/libreport/files/0001-Makefile.am-remove-doc-and-apidoc.patch index 9b328a10a..97fb097fe 100644 --- a/meta-oe/recipes-extended/libreport/files/0001-Makefile.am-remove-doc-and-apidoc.patch +++ b/meta-oe/recipes-extended/libreport/files/0001-Makefile.am-remove-doc-and-apidoc.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From db32ba60ca75d288d3ac08b54256cb74d9e1581a Mon Sep 17 00:00:00 2001 | 1 | From 1f7d106c7d982fe055addc8d883b161202233175 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Wed, 26 Apr 2017 03:47:58 -0400 | 3 | Date: Wed, 26 Apr 2017 03:47:58 -0400 |
4 | Subject: [PATCH 1/3] Makefile.am: remove doc and apidoc | 4 | Subject: [PATCH 1/4] Makefile.am: remove doc and apidoc |
5 | 5 | ||
6 | There was a failure at do_install time, so remove doc to workaround. | 6 | There was a failure at do_install time, so remove doc to workaround. |
7 | 7 | ||
@@ -13,7 +13,7 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/Makefile.am b/Makefile.am | 15 | diff --git a/Makefile.am b/Makefile.am |
16 | index c6ab640..fb09fc1 100644 | 16 | index 9ad827c..34364a8 100644 |
17 | --- a/Makefile.am | 17 | --- a/Makefile.am |
18 | +++ b/Makefile.am | 18 | +++ b/Makefile.am |
19 | @@ -1,5 +1,5 @@ | 19 | @@ -1,5 +1,5 @@ |
@@ -24,5 +24,5 @@ index c6ab640..fb09fc1 100644 | |||
24 | EXTRA_DIST = \ | 24 | EXTRA_DIST = \ |
25 | libreport.pc.in \ | 25 | libreport.pc.in \ |
26 | -- | 26 | -- |
27 | 2.8.1 | 27 | 2.7.4 |
28 | 28 | ||
diff --git a/meta-oe/recipes-extended/libreport/files/0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch b/meta-oe/recipes-extended/libreport/files/0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch index 146510e3c..7f5895ea1 100644 --- a/meta-oe/recipes-extended/libreport/files/0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch +++ b/meta-oe/recipes-extended/libreport/files/0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d8c49e6a15ab28f4ca94e03b2a53ed8df63346cd Mon Sep 17 00:00:00 2001 | 1 | From 9beadcdfca9198548f06bf18f3f26e1d11542e53 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Wed, 26 Apr 2017 03:49:45 -0400 | 3 | Date: Tue, 31 Jul 2018 16:53:04 +0800 |
4 | Subject: [PATCH 2/3] configure.ac: remove prog test of xmlto and asciidoc | 4 | Subject: [PATCH 2/4] configure.ac: remove prog test of xmlto and asciidoc |
5 | 5 | ||
6 | The prog of xmlto and asciidoc were used to generate documents, | 6 | The prog of xmlto and asciidoc were used to generate documents, |
7 | and since the doc module has already been disabled, so we should | 7 | and since the doc module has already been disabled, so we should |
@@ -15,12 +15,12 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
15 | 1 file changed, 18 deletions(-) | 15 | 1 file changed, 18 deletions(-) |
16 | 16 | ||
17 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
18 | index ccefe50..ed48c88 100644 | 18 | index feafc28..aceccf4 100644 |
19 | --- a/configure.ac | 19 | --- a/configure.ac |
20 | +++ b/configure.ac | 20 | +++ b/configure.ac |
21 | @@ -68,24 +68,6 @@ if test -z "$PYTHON3"; then | 21 | @@ -56,24 +56,6 @@ IT_PROG_INTLTOOL([0.35.0]) |
22 | exit 1 | 22 | |
23 | fi | 23 | dnl ****** END **************************************** |
24 | 24 | ||
25 | -AC_PATH_PROG([ASCIIDOC], [asciidoc], [no]) | 25 | -AC_PATH_PROG([ASCIIDOC], [asciidoc], [no]) |
26 | -[if test "$ASCIIDOC" = "no"] | 26 | -[if test "$ASCIIDOC" = "no"] |
@@ -44,5 +44,5 @@ index ccefe50..ed48c88 100644 | |||
44 | AS_HELP_STRING([--with-bugzilla],[use Bugzilla plugin (default is YES)]), | 44 | AS_HELP_STRING([--with-bugzilla],[use Bugzilla plugin (default is YES)]), |
45 | LIBREPORT_PARSE_WITH([bugzilla])) | 45 | LIBREPORT_PARSE_WITH([bugzilla])) |
46 | -- | 46 | -- |
47 | 2.8.1 | 47 | 2.7.4 |
48 | 48 | ||
diff --git a/meta-oe/recipes-extended/libreport/files/0003-without-build-plugins.patch b/meta-oe/recipes-extended/libreport/files/0003-without-build-plugins.patch index 3ad777464..2ff1731be 100644 --- a/meta-oe/recipes-extended/libreport/files/0003-without-build-plugins.patch +++ b/meta-oe/recipes-extended/libreport/files/0003-without-build-plugins.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 0e96d9f23b2b166e7444e7c8e0a6d4b83c2eccd7 Mon Sep 17 00:00:00 2001 | 1 | From 41bce1de2fd2a0f79c266f245ae3e3720ccaf46a Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Wed, 26 Apr 2017 03:51:03 -0400 | 3 | Date: Wed, 26 Apr 2017 03:51:03 -0400 |
4 | Subject: [PATCH 3/3] without build plugins | 4 | Subject: [PATCH 3/4] without build plugins |
5 | 5 | ||
6 | Upstream-Status: Inappropriate workaround | 6 | Upstream-Status: Inappropriate workaround |
7 | 7 | ||
@@ -22,5 +22,5 @@ index c15928c..bac02b1 100644 | |||
22 | -SUBDIRS = include lib plugins report-python cli client-python workflows $(sub_dirs) | 22 | -SUBDIRS = include lib plugins report-python cli client-python workflows $(sub_dirs) |
23 | +SUBDIRS = include lib report-python cli client-python workflows $(sub_dirs) | 23 | +SUBDIRS = include lib report-python cli client-python workflows $(sub_dirs) |
24 | -- | 24 | -- |
25 | 2.8.1 | 25 | 2.7.4 |
26 | 26 | ||
diff --git a/meta-oe/recipes-extended/libreport/files/0004-configure.ac-remove-prog-test-of-augparse.patch b/meta-oe/recipes-extended/libreport/files/0004-configure.ac-remove-prog-test-of-augparse.patch index 9839e5a9f..4ba69c793 100644 --- a/meta-oe/recipes-extended/libreport/files/0004-configure.ac-remove-prog-test-of-augparse.patch +++ b/meta-oe/recipes-extended/libreport/files/0004-configure.ac-remove-prog-test-of-augparse.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From cf3b646facc19078ed29f828e36dd2e552283518 Mon Sep 17 00:00:00 2001 | 1 | From c1c301502a8f69b9889197744b301a136082f09d Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Thu, 27 Apr 2017 02:15:02 -0400 | 3 | Date: Thu, 27 Apr 2017 02:15:02 -0400 |
4 | Subject: [PATCH] configure.ac: remove prog test of augparse | 4 | Subject: [PATCH 4/4] configure.ac: remove prog test of augparse |
5 | 5 | ||
6 | The build time does not require it. | 6 | The build time does not require it. |
7 | 7 | ||
@@ -13,10 +13,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
13 | 1 file changed, 8 deletions(-) | 13 | 1 file changed, 8 deletions(-) |
14 | 14 | ||
15 | diff --git a/configure.ac b/configure.ac | 15 | diff --git a/configure.ac b/configure.ac |
16 | index c06af2d..b90f49e 100644 | 16 | index aceccf4..83c101b 100644 |
17 | --- a/configure.ac | 17 | --- a/configure.ac |
18 | +++ b/configure.ac | 18 | +++ b/configure.ac |
19 | @@ -288,14 +288,6 @@ AC_ARG_WITH(augeaslenslibdir, | 19 | @@ -350,14 +350,6 @@ AC_ARG_WITH(augeaslenslibdir, |
20 | [Directory for librepor lens (default: /usr/share/augeas/lenses)])], | 20 | [Directory for librepor lens (default: /usr/share/augeas/lenses)])], |
21 | [], [with_augeaslenslibdir="/usr/share/augeas/lenses"]) | 21 | [], [with_augeaslenslibdir="/usr/share/augeas/lenses"]) |
22 | AC_SUBST([AUGEAS_LENS_LIB_DIR], [$with_augeaslenslibdir]) | 22 | AC_SUBST([AUGEAS_LENS_LIB_DIR], [$with_augeaslenslibdir]) |
@@ -32,5 +32,5 @@ index c06af2d..b90f49e 100644 | |||
32 | AC_ARG_WITH([defaultdumpdirmode], | 32 | AC_ARG_WITH([defaultdumpdirmode], |
33 | AS_HELP_STRING([--with-defaultdumpdirmode=OCTAL-MODE], | 33 | AS_HELP_STRING([--with-defaultdumpdirmode=OCTAL-MODE], |
34 | -- | 34 | -- |
35 | 2.8.1 | 35 | 2.7.4 |
36 | 36 | ||
diff --git a/meta-oe/recipes-extended/libreport/files/0005-remove-python2-support.patch b/meta-oe/recipes-extended/libreport/files/0005-remove-python2-support.patch deleted file mode 100644 index 9770f077c..000000000 --- a/meta-oe/recipes-extended/libreport/files/0005-remove-python2-support.patch +++ /dev/null | |||
@@ -1,142 +0,0 @@ | |||
1 | From 06710ab89fc7d7a82a378289aa3fcd92d33074f2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Thu, 27 Apr 2017 03:31:00 -0400 | ||
4 | Subject: [PATCH] remove python2 support | ||
5 | |||
6 | We do not require python2, so remove it. | ||
7 | |||
8 | Upstream-Status: Inappropriate workaround | ||
9 | |||
10 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
11 | --- | ||
12 | configure.ac | 15 --------------- | ||
13 | src/client-python/reportclient/Makefile.am | 9 --------- | ||
14 | src/report-python/Makefile.am | 19 ------------------- | ||
15 | 3 files changed, 43 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index eb50382..826d0fe 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -166,15 +166,6 @@ do | ||
22 | done | ||
23 | fi dnl end NO_MANTISBT | ||
24 | |||
25 | -AC_PATH_PROG([PYTHON_CONFIG], [python-config], [no]) | ||
26 | -[if test "$PYTHON_CONFIG" = "no"] | ||
27 | -[then] | ||
28 | - [echo "The python-config program was not found in the search path. Please ensure"] | ||
29 | - [echo "that it is installed and its directory is included in the search path."] | ||
30 | - [echo "Then run configure again before attempting to build libreport."] | ||
31 | - [exit 1] | ||
32 | -[fi] | ||
33 | - | ||
34 | AC_PATH_PROG([PYTHON3_CONFIG], [python3-config], [no]) | ||
35 | [if test "$PYTHON3_CONFIG" = "no"] | ||
36 | [then] | ||
37 | @@ -184,9 +175,6 @@ AC_PATH_PROG([PYTHON3_CONFIG], [python3-config], [no]) | ||
38 | [exit 1] | ||
39 | [fi] | ||
40 | |||
41 | -PYTHON_CFLAGS=`python-config --cflags 2> /dev/null` | ||
42 | -PYTHON_LIBS=`python-config --libs 2> /dev/null` | ||
43 | - | ||
44 | PYTHON3_CFLAGS=`python3-config --cflags 2> /dev/null` | ||
45 | PYTHON3_LIBS=`python3-config --libs 2> /dev/null` | ||
46 | |||
47 | @@ -198,9 +186,6 @@ PYTHON3_DIR=`$PYTHON3 -c "import distutils.sysconfig; \ | ||
48 | PYTHON3_EXECDIR=`$PYTHON3 -c "import distutils.sysconfig; \ | ||
49 | print(distutils.sysconfig.get_python_lib(1,0,prefix='$PYTHON3_EXEC_PREFIX'))"` | ||
50 | |||
51 | -AC_SUBST(PYTHON_CFLAGS) | ||
52 | -AC_SUBST(PYTHON_LIBS) | ||
53 | - | ||
54 | AC_SUBST(PYTHON3_CFLAGS) | ||
55 | AC_SUBST(PYTHON3_LIBS) | ||
56 | AC_SUBST(python3dir, $PYTHON3_DIR) | ||
57 | diff --git a/src/client-python/reportclient/Makefile.am b/src/client-python/reportclient/Makefile.am | ||
58 | index 46ac42f..fb5216a 100644 | ||
59 | --- a/src/client-python/reportclient/Makefile.am | ||
60 | +++ b/src/client-python/reportclient/Makefile.am | ||
61 | @@ -4,13 +4,10 @@ PYFILES = \ | ||
62 | dnfdebuginfo.py \ | ||
63 | yumdebuginfo.py | ||
64 | |||
65 | -py2clientdir = $(pyexecdir)/reportclient | ||
66 | py3clientdir = $(py3execdir)/reportclient | ||
67 | |||
68 | -py2client_PYTHON = $(PYFILES) | ||
69 | py3client_PYTHON = $(PYFILES) | ||
70 | |||
71 | -py2client_LTLIBRARIES = _reportclient.la | ||
72 | py3client_LTLIBRARIES = _reportclient3.la | ||
73 | |||
74 | PYEXTFILES = \ | ||
75 | @@ -33,12 +30,6 @@ PYEXTLDFLAGS = \ | ||
76 | -avoid-version \ | ||
77 | -Wl,-z,relro -Wl,-z,now | ||
78 | |||
79 | -_reportclient_la_SOURCES = $(PYEXTFILES) | ||
80 | -_reportclient_la_CPPFLAGS = $(PYEXTCPPFLAGS) $(PYTHON_CFLAGS) | ||
81 | -_reportclient_la_LDFLAGS = $(PYEXTLDFLAGS) \ | ||
82 | - -export-symbols-regex init_reportclient | ||
83 | -_reportclient_la_LIBADD = ../../lib/libreport.la | ||
84 | - | ||
85 | _reportclient3_la_SOURCES = $(PYEXTFILES) | ||
86 | _reportclient3_la_CPPFLAGS = $(PYEXTCPPFLAGS) $(PYTHON3_CFLAGS) | ||
87 | _reportclient3_la_LDFLAGS = $(PYEXTLDFLAGS) \ | ||
88 | diff --git a/src/report-python/Makefile.am b/src/report-python/Makefile.am | ||
89 | index 793cebd..241dcb7 100644 | ||
90 | --- a/src/report-python/Makefile.am | ||
91 | +++ b/src/report-python/Makefile.am | ||
92 | @@ -1,12 +1,9 @@ | ||
93 | PYFILES = __init__.py accountmanager.py | ||
94 | |||
95 | -pyreportexecdir = $(pyexecdir)/report | ||
96 | py3reportexecdir = $(py3execdir)/report | ||
97 | |||
98 | -pyreportexec_PYTHON = $(PYFILES) | ||
99 | py3reportexec_PYTHON = $(PYFILES) | ||
100 | |||
101 | -pyreportexec_LTLIBRARIES = _pyreport.la | ||
102 | py3reportexec_LTLIBRARIES = _py3report.la | ||
103 | |||
104 | PYEXTFILES = \ | ||
105 | @@ -34,20 +31,6 @@ PYEXTLDFLAGS = \ | ||
106 | -avoid-version \ | ||
107 | -Wl,-z,relro -Wl,-z,now | ||
108 | |||
109 | -_pyreport_la_SOURCES = $(PYEXTFILES) | ||
110 | - | ||
111 | -_pyreport_la_CPPFLAGS = \ | ||
112 | - $(PYEXTCPPFLAGS) \ | ||
113 | - $(PYTHON_CFLAGS) | ||
114 | - | ||
115 | -_pyreport_la_LDFLAGS = \ | ||
116 | - $(PYEXTLDFLAGS) \ | ||
117 | - -export-symbols-regex init_pyreport | ||
118 | - | ||
119 | -_pyreport_la_LIBADD = \ | ||
120 | - ../lib/libreport.la \ | ||
121 | - $(PYTHON2_LIBS) | ||
122 | - | ||
123 | _py3report_la_SOURCES = $(PYEXTFILES) | ||
124 | |||
125 | _py3report_la_CPPFLAGS = \ | ||
126 | @@ -64,7 +47,6 @@ _py3report_la_LIBADD = \ | ||
127 | |||
128 | # report compat: | ||
129 | |||
130 | -pyreportioexecdir = $(pyexecdir)/report/io | ||
131 | py3reportioexecdir = $(py3execdir)/report/io | ||
132 | |||
133 | PYIOFILES = \ | ||
134 | @@ -73,5 +55,4 @@ PYIOFILES = \ | ||
135 | io/NewtIO.py \ | ||
136 | io/TextIO.py | ||
137 | |||
138 | -pyreportioexec_PYTHON = $(PYIOFILES) | ||
139 | py3reportioexec_PYTHON = $(PYIOFILES) | ||
140 | -- | ||
141 | 2.8.1 | ||
142 | |||
diff --git a/meta-oe/recipes-extended/libreport/libreport_2.9.2.bb b/meta-oe/recipes-extended/libreport/libreport_2.9.5.bb index edcccd141..542956cf6 100644 --- a/meta-oe/recipes-extended/libreport/libreport_2.9.2.bb +++ b/meta-oe/recipes-extended/libreport/libreport_2.9.5.bb | |||
@@ -16,9 +16,8 @@ SRC_URI += "file://0001-Makefile.am-remove-doc-and-apidoc.patch \ | |||
16 | file://0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch \ | 16 | file://0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch \ |
17 | file://0003-without-build-plugins.patch \ | 17 | file://0003-without-build-plugins.patch \ |
18 | file://0004-configure.ac-remove-prog-test-of-augparse.patch \ | 18 | file://0004-configure.ac-remove-prog-test-of-augparse.patch \ |
19 | file://0005-remove-python2-support.patch \ | ||
20 | " | 19 | " |
21 | SRCREV = "cfff49f06d9d17e269d463ee71b3d94c8bfb0c58" | 20 | SRCREV = "15f92bcaf73e5eb8958fbde655a57dcd111757a7" |
22 | 21 | ||
23 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | 22 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" |
24 | 23 | ||
@@ -32,6 +31,8 @@ inherit gettext autotools python3native pkgconfig | |||
32 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}" | 31 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}" |
33 | PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3," | 32 | PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3," |
34 | 33 | ||
34 | EXTRA_OECONF += "--without-python2 --with-python3" | ||
35 | |||
35 | RDEPENDS_python3-libreport += "${PN}" | 36 | RDEPENDS_python3-libreport += "${PN}" |
36 | 37 | ||
37 | do_patch[prefuncs] += "do_gen_version" | 38 | do_patch[prefuncs] += "do_gen_version" |