Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310093 - New package: sys-libs/libnih
Summary: New package: sys-libs/libnih
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://launchpad.net/libnih
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 303044
  Show dependency tree
 
Reported: 2010-03-18 14:26 UTC by Bruno 'brubru' Tarquini
Modified: 2011-10-19 17:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for libnih (libnih-1.0.1.ebuild,1.08 KB, text/plain)
2010-03-18 14:27 UTC, Bruno 'brubru' Tarquini
Details
patch to remove dependency on dbus (optional-dbus.patch,1.41 KB, patch)
2010-03-18 14:28 UTC, Bruno 'brubru' Tarquini
Details | Diff
libnih-1.0.2.ebuild (libnih-1.0.2.ebuild,1.02 KB, text/plain)
2010-09-10 10:32 UTC, Hanno Böck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 'brubru' Tarquini 2010-03-18 14:26:26 UTC
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
Comment 1 Bruno 'brubru' Tarquini 2010-03-18 14:27:49 UTC
Created attachment 224115 [details]
ebuild for libnih
Comment 2 Bruno 'brubru' Tarquini 2010-03-18 14:28:44 UTC
Created attachment 224117 [details, diff]
patch to remove dependency on dbus
Comment 3 Bruno 'brubru' Tarquini 2010-04-17 09:45:42 UTC
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
}
Comment 4 Hanno Böck gentoo-dev 2010-09-10 10:32:21 UTC
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.
Comment 5 SpanKY gentoo-dev 2011-10-19 17:18:14 UTC
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
Comment 6 SpanKY gentoo-dev 2011-10-19 17:27:14 UTC
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