added my Recipes
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From e6bdf74a424652c4f9a38457c7fa93a2051157f5 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Tue, 30 Aug 2022 13:09:07 -0700
|
||||
Subject: [PATCH] docs: Disable building
|
||||
|
||||
It needs linuxdoc-tools which we do not have in OE anymore
|
||||
|
||||
Upstream-Status: Inappropriate [OE-Specific]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
docs/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/docs/Makefile.am b/docs/Makefile.am
|
||||
index daa2288..b355185 100644
|
||||
--- a/docs/Makefile.am
|
||||
+++ b/docs/Makefile.am
|
||||
@@ -8,7 +8,7 @@ CLEANFILES = $(man_MANS) $(SGML_OUTPUTS)
|
||||
EXTRA_DIST = attributes.txt libuser.conf.5.in rfc2307.txt sgml/libuser.sgml \
|
||||
$(SGML_OUTPUTS)
|
||||
|
||||
-all: sgml/libuser.txt sgml/libuser.html
|
||||
+all:
|
||||
|
||||
libuser.conf.5: $(srcdir)/libuser.conf.5.in Makefile
|
||||
sed 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||
--
|
||||
2.37.2
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From 4b2f81f307ffeac12956e5c16e894e5ebb937ea5 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 7 Jan 2016 02:26:00 +0000
|
||||
Subject: [PATCH 2/2] remove unused execinfo.h
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
lib/error.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/lib/error.c b/lib/error.c
|
||||
index a5ec30a..443e601 100644
|
||||
--- a/lib/error.c
|
||||
+++ b/lib/error.c
|
||||
@@ -18,7 +18,6 @@
|
||||
#include <config.h>
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
-#include <execinfo.h>
|
||||
#include <libintl.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
--
|
||||
2.7.0
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
SUMMARY = "user and group account administration library"
|
||||
DESCRIPTION = "The libuser library implements a standardized interface for manipulating and administering user \
|
||||
and group accounts"
|
||||
HOMEPAGE = "https://pagure.io/libuser"
|
||||
BUGTRACKER = "https://pagure.io/libuser/issues"
|
||||
|
||||
LICENSE = "LGPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
|
||||
file://lib/user.h;endline=19;md5=76b301f63c39fa992062395efbdc9558 \
|
||||
file://samples/testuser.c;endline=19;md5=3b87fa660fa3f4a6bb31d624afe30ba1"
|
||||
|
||||
SECTION = "base"
|
||||
|
||||
SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.gz \
|
||||
file://0001-docs-Disable-building.patch \
|
||||
file://0002-remove-unused-execinfo.h.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "ea6094c72cb9e60a42fb53509dc98d124a340f1c9222783b503208adc16a0a8f"
|
||||
|
||||
DEPENDS = "bison-native popt libpam glib-2.0 python3"
|
||||
|
||||
inherit autotools features_check gettext python3native python3-dir pkgconfig gtk-doc
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "pam"
|
||||
|
||||
EXTRA_OEMAKE = "PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"
|
||||
|
||||
GTKDOC_DOCDIR = "${S}/docs/reference"
|
||||
|
||||
# run autopoint since it needs ABOUT-NLS and admin/config.rpath from gettext
|
||||
#EXTRA_AUTORECONF:remove = "--exclude=autopoint"
|
||||
|
||||
do_configure:prepend() {
|
||||
install -d ${S}/admin -d ${S}/m4
|
||||
touch ${S}/ABOUT-NLS ${S}/admin/config.rpath
|
||||
cd ${S}
|
||||
bison lib/getdate.y -o lib/getdate.c
|
||||
cd -
|
||||
}
|
||||
|
||||
PACKAGES += "${PN}-python "
|
||||
|
||||
FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
|
||||
|
||||
Reference in New Issue
Block a user