libnih is a light-weight C library developed by ubuntu and used by ureadahead (#303044) The ebuild is borrowed from dev-zero overlay (http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=blob;f=sys-libs/libnih/libnih-1.0.1.ebuild;hb=HEAD) with a patch to remove the dependency on unstable >=sys-apps/dbus-1.2.16 (useless for ureadahead) and install libnih under /lib. The build with USE="+dbus" is completely untested, so, please try it and report. Reproducible: Always
Created attachment 224115 [details] ebuild for libnih
Created attachment 224117 [details, diff] patch to remove dependency on dbus
Small update: fix a bug when compiling others packages (vlc) ------------------------------------------------------------ use static-libs || rm "${D}"/usr/lib*/*.la dodoc AUTHORS ChangeLog HACKING NEWS README TODO + # libnih.m4 overrides AC_COPYRIGHT macro + # which breaks compilation of others projects (vlc) + # https://bugs.launchpad.net/libnih/+bug/519278 + # sould be fixed for 1.0.2 release + rm "${D}"/usr/share/aclocal/libnih.m4 + rmdir "${D}"/usr/share/aclocal }
Created attachment 246679 [details] libnih-1.0.2.ebuild Some minor cleanups and version bump. Replaced eautoconf with eautoreconf (else it won't build with latest libtool). Bruno, little tip: Use repoman for future ebuilds to check for common problems.
should be all set now in the tree; thanks for the report! Commit message: Initial ebuild merging the ChromeOS version, dev-zero, Bruno Tarquini, and my work http://sources.gentoo.org/sys-libs/libnih/files/libnih-1.0.3-optional-dbus.patch?rev=1.1 http://sources.gentoo.org/sys-libs/libnih/files/libnih-1.0.3-pkg-config.patch?rev=1.1 http://sources.gentoo.org/sys-libs/libnih/libnih-1.0.3.ebuild?rev=1.1