diff options
| author | Joe Slater <joe.slater@windriver.com> | 2023-03-14 12:53:18 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-03-14 13:16:00 -0700 |
| commit | 1e774dfc31141a9ed3c31f9f4c1bde45b624dc8e (patch) | |
| tree | 7ad7e3e4264b44c99b66972b0a561c205e63fd5c /meta-oe/recipes-extended/libreport | |
| parent | 545c524c11e36a016dc3414ed5351b3b0111709e (diff) | |
| download | meta-openembedded-1e774dfc31141a9ed3c31f9f4c1bde45b624dc8e.tar.gz | |
libreport: update to version 2.17.8
Update SRC_REV and change recipe name.
Modify patches to apply and remove unrecognized configure
option --without-python2. Retain --with-python3 even
though it is the default.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/libreport')
| -rw-r--r-- | meta-oe/recipes-extended/libreport/files/0001-Makefile.am-remove-doc-and-apidoc.patch | 16 | ||||
| -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 | 14 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/libreport/files/0004-configure.ac-remove-prog-test-of-augparse.patch | 27 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/libreport/libreport_2.17.8.bb (renamed from meta-oe/recipes-extended/libreport/libreport_2.10.0.bb) | 6 |
5 files changed, 49 insertions, 30 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 1ee0dd2f55..934dd1778a 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,28 +1,32 @@ | |||
| 1 | From 1f7d106c7d982fe055addc8d883b161202233175 Mon Sep 17 00:00:00 2001 | 1 | From 73dc0c2cd942e30f5f7cb40cb5828895b96f0fb1 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/4] Makefile.am: remove doc and apidoc | 4 | Subject: [PATCH] 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 | ||
| 8 | Upstream-Status: Inappropriate [workaround] | 8 | Upstream-Status: Inappropriate [workaround] |
| 9 | 9 | ||
| 10 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 10 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 11 | |||
| 12 | Context modified to apply to v2.17.8. | ||
| 13 | |||
| 14 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | ||
| 11 | --- | 15 | --- |
| 12 | Makefile.am | 2 +- | 16 | Makefile.am | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | 18 | ||
| 15 | diff --git a/Makefile.am b/Makefile.am | 19 | diff --git a/Makefile.am b/Makefile.am |
| 16 | index 9ad827c..34364a8 100644 | 20 | index 4ff2f5c5..d4e30bc2 100644 |
| 17 | --- a/Makefile.am | 21 | --- a/Makefile.am |
| 18 | +++ b/Makefile.am | 22 | +++ b/Makefile.am |
| 19 | @@ -1,5 +1,5 @@ | 23 | @@ -1,5 +1,5 @@ |
| 20 | ACLOCAL_AMFLAGS = -I m4 | 24 | ACLOCAL_AMFLAGS = -I m4 |
| 21 | -SUBDIRS = po src tests doc apidoc | 25 | -SUBDIRS = data po src tests doc apidoc |
| 22 | +SUBDIRS = po src tests | 26 | +SUBDIRS = data po src tests |
| 23 | 27 | ||
| 24 | EXTRA_DIST = \ | 28 | EXTRA_DIST = \ |
| 25 | libreport.pc.in \ | 29 | libreport.pc.in \ |
| 26 | -- | 30 | -- |
| 27 | 2.7.4 | 31 | 2.25.1 |
| 28 | 32 | ||
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 2e691e95fe..4fdf69c73a 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 9beadcdfca9198548f06bf18f3f26e1d11542e53 Mon Sep 17 00:00:00 2001 | 1 | From 276c45d0663124c9ccab0ddc8b97fb5cdc8b3867 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: Tue, 31 Jul 2018 16:53:04 +0800 | 3 | Date: Tue, 31 Jul 2018 16:53:04 +0800 |
| 4 | Subject: [PATCH 2/4] configure.ac: remove prog test of xmlto and asciidoc | 4 | Subject: [PATCH] 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 |
| @@ -10,15 +10,19 @@ remove the prog test. | |||
| 10 | Upstream-Status: Inappropriate [workaround] | 10 | Upstream-Status: Inappropriate [workaround] |
| 11 | 11 | ||
| 12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 13 | |||
| 14 | Modify to apply to v 2.17.8. | ||
| 15 | |||
| 16 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | ||
| 13 | --- | 17 | --- |
| 14 | configure.ac | 18 ------------------ | 18 | configure.ac | 18 ------------------ |
| 15 | 1 file changed, 18 deletions(-) | 19 | 1 file changed, 18 deletions(-) |
| 16 | 20 | ||
| 17 | diff --git a/configure.ac b/configure.ac | 21 | diff --git a/configure.ac b/configure.ac |
| 18 | index feafc28..aceccf4 100644 | 22 | index da8cf898..17ece200 100644 |
| 19 | --- a/configure.ac | 23 | --- a/configure.ac |
| 20 | +++ b/configure.ac | 24 | +++ b/configure.ac |
| 21 | @@ -56,24 +56,6 @@ IT_PROG_INTLTOOL([0.35.0]) | 25 | @@ -57,24 +57,6 @@ IT_PROG_INTLTOOL([0.35.0]) |
| 22 | 26 | ||
| 23 | dnl ****** END **************************************** | 27 | dnl ****** END **************************************** |
| 24 | 28 | ||
| @@ -42,7 +46,7 @@ index feafc28..aceccf4 100644 | |||
| 42 | - | 46 | - |
| 43 | AC_ARG_WITH(bugzilla, | 47 | AC_ARG_WITH(bugzilla, |
| 44 | AS_HELP_STRING([--with-bugzilla],[use Bugzilla plugin (default is YES)]), | 48 | AS_HELP_STRING([--with-bugzilla],[use Bugzilla plugin (default is YES)]), |
| 45 | LIBREPORT_PARSE_WITH([bugzilla])) | 49 | LIBREPORT_PARSE_WITH([bugzilla]), |
| 46 | -- | 50 | -- |
| 47 | 2.7.4 | 51 | 2.25.1 |
| 48 | 52 | ||
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 c331677d8d..f6ff860408 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,26 +1,30 @@ | |||
| 1 | From 41bce1de2fd2a0f79c266f245ae3e3720ccaf46a Mon Sep 17 00:00:00 2001 | 1 | From f46610901dbac56d9631df012374c600db08453e 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/4] without build plugins | 4 | Subject: [PATCH] without build plugins |
| 5 | 5 | ||
| 6 | Upstream-Status: Inappropriate [workaround] | 6 | Upstream-Status: Inappropriate [workaround] |
| 7 | 7 | ||
| 8 | Rebase to 2.9.1 | 8 | Rebase to 2.9.1 |
| 9 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 9 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 10 | |||
| 11 | Modify to apply to v2.17.8. | ||
| 12 | |||
| 13 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | ||
| 10 | --- | 14 | --- |
| 11 | src/Makefile.am | 2 +- | 15 | src/Makefile.am | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | 17 | ||
| 14 | diff --git a/src/Makefile.am b/src/Makefile.am | 18 | diff --git a/src/Makefile.am b/src/Makefile.am |
| 15 | index c15928c..bac02b1 100644 | 19 | index 410bfcb0..bac02b16 100644 |
| 16 | --- a/src/Makefile.am | 20 | --- a/src/Makefile.am |
| 17 | +++ b/src/Makefile.am | 21 | +++ b/src/Makefile.am |
| 18 | @@ -8,4 +8,4 @@ if BUILD_NEWT | 22 | @@ -8,4 +8,4 @@ if BUILD_NEWT |
| 19 | sub_dirs += report-newt | 23 | sub_dirs += report-newt |
| 20 | endif | 24 | endif |
| 21 | 25 | ||
| 22 | -SUBDIRS = include lib plugins report-python cli client-python workflows $(sub_dirs) | 26 | -SUBDIRS = include lib report-python cli client-python plugins workflows $(sub_dirs) |
| 23 | +SUBDIRS = include lib report-python cli client-python workflows $(sub_dirs) | 27 | +SUBDIRS = include lib report-python cli client-python workflows $(sub_dirs) |
| 24 | -- | 28 | -- |
| 25 | 2.7.4 | 29 | 2.25.1 |
| 26 | 30 | ||
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 986e7ec419..998ae6b50e 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,25 +1,29 @@ | |||
| 1 | From c1c301502a8f69b9889197744b301a136082f09d Mon Sep 17 00:00:00 2001 | 1 | From 62c922f43b54585d25ba89be36c10612b479270b 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 4/4] configure.ac: remove prog test of augparse | 4 | Subject: [PATCH] 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 | ||
| 8 | Upstream-Status: Inappropriate [workaround] | 8 | Upstream-Status: Inappropriate [workaround] |
| 9 | 9 | ||
| 10 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 10 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 11 | |||
| 12 | Modify to apply to v2.17.8. | ||
| 13 | |||
| 14 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | ||
| 11 | --- | 15 | --- |
| 12 | configure.ac | 8 -------- | 16 | configure.ac | 9 --------- |
| 13 | 1 file changed, 8 deletions(-) | 17 | 1 file changed, 9 deletions(-) |
| 14 | 18 | ||
| 15 | diff --git a/configure.ac b/configure.ac | 19 | diff --git a/configure.ac b/configure.ac |
| 16 | index aceccf4..83c101b 100644 | 20 | index 17ece200..89b463a4 100644 |
| 17 | --- a/configure.ac | 21 | --- a/configure.ac |
| 18 | +++ b/configure.ac | 22 | +++ b/configure.ac |
| 19 | @@ -350,14 +350,6 @@ AC_ARG_WITH(augeaslenslibdir, | 23 | @@ -287,15 +287,6 @@ AC_ARG_WITH(largedatatmpdir, |
| 20 | [Directory for librepor lens (default: /usr/share/augeas/lenses)])], | 24 | [], [with_largedatatmpdir="/var/tmp"]) |
| 21 | [], [with_augeaslenslibdir="/usr/share/augeas/lenses"]) | 25 | AC_SUBST([LARGE_DATA_TMP_DIR], [$with_largedatatmpdir]) |
| 22 | AC_SUBST([AUGEAS_LENS_LIB_DIR], [$with_augeaslenslibdir]) | 26 | |
| 23 | -AC_PATH_PROG(AUGPARSE, augparse, no) | 27 | -AC_PATH_PROG(AUGPARSE, augparse, no) |
| 24 | -[if test "$AUGPARSE" = "no"] | 28 | -[if test "$AUGPARSE" = "no"] |
| 25 | -[then] | 29 | -[then] |
| @@ -28,9 +32,10 @@ index aceccf4..83c101b 100644 | |||
| 28 | - [echo "Then run configure again before attempting to build libreport."] | 32 | - [echo "Then run configure again before attempting to build libreport."] |
| 29 | - [exit 1] | 33 | - [exit 1] |
| 30 | -[fi] | 34 | -[fi] |
| 31 | 35 | - | |
| 32 | AC_ARG_WITH([defaultdumpdirmode], | 36 | AC_ARG_WITH([defaultdumpdirmode], |
| 33 | AS_HELP_STRING([--with-defaultdumpdirmode=OCTAL-MODE], | 37 | AS_HELP_STRING([--with-defaultdumpdirmode=OCTAL-MODE], |
| 38 | [Default dump dir mode (default: 0x1A0 (0640))]), | ||
| 34 | -- | 39 | -- |
| 35 | 2.7.4 | 40 | 2.25.1 |
| 36 | 41 | ||
diff --git a/meta-oe/recipes-extended/libreport/libreport_2.10.0.bb b/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb index 35ef692617..a8d1db65bf 100644 --- a/meta-oe/recipes-extended/libreport/libreport_2.10.0.bb +++ b/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb | |||
| @@ -17,7 +17,9 @@ SRC_URI += "file://0001-Makefile.am-remove-doc-and-apidoc.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 | " | 19 | " |
| 20 | SRCREV = "eaff08f38d771d9362923765bb404b1514c5ca0a" | 20 | |
| 21 | # 2.17.8 | ||
| 22 | SRCREV = "46a99a14adba7276e5697b7c613d918796792345" | ||
| 21 | 23 | ||
| 22 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | 24 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" |
| 23 | 25 | ||
| @@ -31,7 +33,7 @@ inherit gettext autotools python3native python3targetconfig pkgconfig | |||
| 31 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}" | 33 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}" |
| 32 | PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3," | 34 | PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3," |
| 33 | 35 | ||
| 34 | EXTRA_OECONF += "--without-python2 --with-python3" | 36 | EXTRA_OECONF += "--with-python3" |
| 35 | 37 | ||
| 36 | RDEPENDS:python3-libreport += "${PN}" | 38 | RDEPENDS:python3-libreport += "${PN}" |
| 37 | 39 | ||
