added my Recipes
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From 73dc0c2cd942e30f5f7cb40cb5828895b96f0fb1 Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Wed, 26 Apr 2017 03:47:58 -0400
|
||||
Subject: [PATCH] Makefile.am: remove doc and apidoc
|
||||
|
||||
There was a failure at do_install time, so remove doc to workaround.
|
||||
|
||||
Upstream-Status: Inappropriate [workaround]
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
|
||||
Context modified to apply to v2.17.8.
|
||||
|
||||
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 4ff2f5c5..d4e30bc2 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
-SUBDIRS = data po src tests doc apidoc
|
||||
+SUBDIRS = data po src tests
|
||||
|
||||
EXTRA_DIST = \
|
||||
libreport.pc.in \
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
From 276c45d0663124c9ccab0ddc8b97fb5cdc8b3867 Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Tue, 31 Jul 2018 16:53:04 +0800
|
||||
Subject: [PATCH] configure.ac: remove prog test of xmlto and asciidoc
|
||||
|
||||
The prog of xmlto and asciidoc were used to generate documents,
|
||||
and since the doc module has already been disabled, so we should
|
||||
remove the prog test.
|
||||
|
||||
Upstream-Status: Inappropriate [workaround]
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
|
||||
Modify to apply to v 2.17.8.
|
||||
|
||||
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
||||
---
|
||||
configure.ac | 18 ------------------
|
||||
1 file changed, 18 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index da8cf898..17ece200 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -57,24 +57,6 @@ IT_PROG_INTLTOOL([0.35.0])
|
||||
|
||||
dnl ****** END ****************************************
|
||||
|
||||
-AC_PATH_PROG([ASCIIDOC], [asciidoc], [no])
|
||||
-[if test "$ASCIIDOC" = "no"]
|
||||
-[then]
|
||||
- [echo "The asciidoc program was not found in the search path. Please ensure"]
|
||||
- [echo "that it is installed and its directory is included in the search path."]
|
||||
- [echo "Then run configure again before attempting to build libreport."]
|
||||
- [exit 1]
|
||||
-[fi]
|
||||
-
|
||||
-AC_PATH_PROG([XMLTO], [xmlto], [no])
|
||||
-[if test "$XMLTO" = "no"]
|
||||
-[then]
|
||||
- [echo "The xmlto program was not found in the search path. Please ensure"]
|
||||
- [echo "that it is installed and its directory is included in the search path."]
|
||||
- [echo "Then run configure again before attempting to build libreport."]
|
||||
- [exit 1]
|
||||
-[fi]
|
||||
-
|
||||
AC_ARG_WITH(bugzilla,
|
||||
AS_HELP_STRING([--with-bugzilla],[use Bugzilla plugin (default is YES)]),
|
||||
LIBREPORT_PARSE_WITH([bugzilla]),
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From f46610901dbac56d9631df012374c600db08453e Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Wed, 26 Apr 2017 03:51:03 -0400
|
||||
Subject: [PATCH] without build plugins
|
||||
|
||||
Upstream-Status: Inappropriate [workaround]
|
||||
|
||||
Rebase to 2.9.1
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
|
||||
Modify to apply to v2.17.8.
|
||||
|
||||
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
||||
---
|
||||
src/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 410bfcb0..bac02b16 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -8,4 +8,4 @@ if BUILD_NEWT
|
||||
sub_dirs += report-newt
|
||||
endif
|
||||
|
||||
-SUBDIRS = include lib report-python cli client-python plugins workflows $(sub_dirs)
|
||||
+SUBDIRS = include lib report-python cli client-python workflows $(sub_dirs)
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From 62c922f43b54585d25ba89be36c10612b479270b Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Thu, 27 Apr 2017 02:15:02 -0400
|
||||
Subject: [PATCH] configure.ac: remove prog test of augparse
|
||||
|
||||
The build time does not require it.
|
||||
|
||||
Upstream-Status: Inappropriate [workaround]
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
|
||||
Modify to apply to v2.17.8.
|
||||
|
||||
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
||||
---
|
||||
configure.ac | 9 ---------
|
||||
1 file changed, 9 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 17ece200..89b463a4 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -287,15 +287,6 @@ AC_ARG_WITH(largedatatmpdir,
|
||||
[], [with_largedatatmpdir="/var/tmp"])
|
||||
AC_SUBST([LARGE_DATA_TMP_DIR], [$with_largedatatmpdir])
|
||||
|
||||
-AC_PATH_PROG(AUGPARSE, augparse, no)
|
||||
-[if test "$AUGPARSE" = "no"]
|
||||
-[then]
|
||||
- [echo "The augparse program was not found in the search path. Please ensure"]
|
||||
- [echo "that it is installed and its directory is included in the search path."]
|
||||
- [echo "Then run configure again before attempting to build libreport."]
|
||||
- [exit 1]
|
||||
-[fi]
|
||||
-
|
||||
AC_ARG_WITH([defaultdumpdirmode],
|
||||
AS_HELP_STRING([--with-defaultdumpdirmode=OCTAL-MODE],
|
||||
[Default dump dir mode (default: 0x1A0 (0640))]),
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
DESCRIPTION = "Libraries providing API for reporting different problems in applications \
|
||||
to different bug targets like Bugzilla, ftp, trac, etc..."
|
||||
SUMMARY = "Generic library for reporting various problems"
|
||||
HOMEPAGE = "https://abrt.readthedocs.org/"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
DEPENDS = "xmlrpc-c xmlrpc-c-native intltool-native \
|
||||
json-c libarchive libtar libnewt libproxy rpm \
|
||||
augeas satyr systemd \
|
||||
"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
|
||||
SRC_URI = "git://github.com/abrt/libreport.git;protocol=https;branch=master"
|
||||
SRC_URI += "file://0001-Makefile.am-remove-doc-and-apidoc.patch \
|
||||
file://0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch \
|
||||
file://0003-without-build-plugins.patch \
|
||||
file://0004-configure.ac-remove-prog-test-of-augparse.patch \
|
||||
"
|
||||
|
||||
# 2.17.8
|
||||
SRCREV = "46a99a14adba7276e5697b7c613d918796792345"
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "systemd"
|
||||
|
||||
inherit gettext autotools python3native python3targetconfig pkgconfig
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}"
|
||||
PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3,"
|
||||
|
||||
EXTRA_OECONF += "--with-python3"
|
||||
|
||||
RDEPENDS:python3-libreport += "${PN}"
|
||||
|
||||
do_patch[prefuncs] += "do_gen_version"
|
||||
do_gen_version() {
|
||||
cd ${S}
|
||||
./gen-version
|
||||
}
|
||||
|
||||
PACKAGES += "python3-libreport"
|
||||
|
||||
FILES:${PN} += "${datadir}/*"
|
||||
FILES:${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*/.debug"
|
||||
FILES:python3-libreport = "${PYTHON_SITEPACKAGES_DIR}/*"
|
||||
|
||||
Reference in New Issue
Block a user