libnih: Remove

The main user was upstart, which is no longer provided
by any maintained layer.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Adrian Bunk 2020-01-09 22:33:21 +02:00 committed by Khem Raj
parent dc663933cb
commit 5e4c5ab085
5 changed files with 1 additions and 27980 deletions

View File

@ -239,7 +239,7 @@ RDEPENDS_packagegroup-meta-oe-support ="\
libinih inotify-tools joe lcms lcov libatasmart libbytesize \
libcereal libcyusbserial libee libeigen libestr libftdi libgit2 \
libgpiod libiio libjs-jquery libjs-sizzle liblinebreak libmicrohttpd \
libmxml libnih liboauth libol liboop libp11 libraw1394 libsmi libsoc libssh2 \
libmxml liboauth libol liboop libp11 libraw1394 libsmi libsoc libssh2 \
libssh libtar libteam libtinyxml2 libtinyxml libusbg libusb-compat libutempter \
links lio-utils lockdev log4c log4cpp logwarn libdevmapper lvm2 \
mailcap mbuffer mg minini \

View File

@ -1,28 +0,0 @@
From f1b9992caf9910f9f7afae401045e42572cc84ff Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 1 Apr 2017 08:50:35 -0700
Subject: [PATCH] signal.c: SIGCLD and SIGCHILD are same on sytem V systems
Musl drops the SIGCLD legacy
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
nih/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nih/signal.c b/nih/signal.c
index a241df9..691c8e6 100644
--- a/nih/signal.c
+++ b/nih/signal.c
@@ -87,7 +87,7 @@ static const SignalName signal_names[] = {
{ SIGSTKFLT, "STKFLT" },
#endif
{ SIGCHLD, "CHLD" },
- { SIGCLD, "CLD" },
+ { SIGCHLD, "CLD" },
{ SIGCONT, "CONT" },
{ SIGSTOP, "STOP" },
{ SIGTSTP, "TSTP" },
--
2.12.1

View File

@ -1,48 +0,0 @@
# Copyright (c) 2013 LG Electronics, Inc.
SUMMARY = "libnih library"
HOMEPAGE = "https://launchpad.net/libnih"
DESCRIPTION = "libnih is a small library for C application development \
containing functions that, despite its name, are not implemented \
elsewhere in the standard library set. \
\
libnih is roughly equivalent to other C libraries such as glib, \
except that its focus is on a small size and intended for \
applications that sit very low in the software stack, especially \
outside of /usr. \
\
It expressly does not reimplement functions that already exist in \
libraries ordinarily shipped in /lib such libc6, and does not do \
foolish things like invent arbitrary typedefs for perfectly good C types."
SECTION = "libs"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "dbus expat"
DEPENDS_append_class-target = " libnih-native"
SRC_URI = "https://launchpad.net/${BPN}/1.0/${PV}/+download/${BP}.tar.gz \
file://libnih_1.0.3-4ubuntu16.patch \
file://0001-signal.c-SIGCLD-and-SIGCHILD-are-same-on-sytem-V-sys.patch \
file://0001-Update-autotool-files-also-make-it-work-with-latest-.patch \
"
SRC_URI[md5sum] = "db7990ce55e01daffe19006524a1ccb0"
SRC_URI[sha256sum] = "897572df7565c0a90a81532671e23c63f99b4efde2eecbbf11e7857fbc61f405"
inherit autotools gettext
do_configure_append () {
sed -i -e 's,lib/pkgconfig,${baselib}/pkgconfig,g' ${S}/nih/Makefile.in ${S}/nih-dbus/Makefile.in
}
FILES_${PN}-dev += "${libdir}/pkgconfig/* \
${includedir}/* \
${libdir}/*.so \
${datadir}/* \
"
# target libnih requires native nih-dbus-tool
BBCLASSEXTEND = "native"