This is simply a follow upon bug #206653 The patch attached modifies the Makefile to add the content of `pkg-config --cflags libnotify gtk+-2.0` if target is kerneloops-applet, and the content of `pkg-config --cflags glib-2.0 dbus-glib-1` if target is kerneloops. Tested and works for me.
Created attachment 165550 [details, diff] pkg-config should only get for what is needed for the target
# ChangeLog for sys-kernel/kerneloops # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/kerneloops/ChangeLog,v 1.12 2008/09/15 22:38:48 gregkh Exp $ *kerneloops-0.12 (15 Sep 2008) 15 Sep 2008; Greg Kroah-Hartman <gregkh@gentoo.org> metadata.xml, +kerneloops-0.12.ebuild: 0.12 release. Removed -gtk option, too much of a pain to try to build without applet portion, so am giving up.
Created attachment 165568 [details] ebuild That ebuild works for me w/o using gtk.
@gregkh Is it clear what my patch does, or is there something apparently wrong with it? I run this thing on a headless server, so for me it is somewhat important to not need libnotify and gtk+ as it for the deamon is not necessary and just "bloats" my install. So if there is anything that needs clarification, just shout at me.:-) And why not use "all"/"install" and "noui"/"install-noui" when invoking make, instead of the kerneloops* targets?
There appears to be a new kerneloops-0.12 ebuild with a -gtk USE flag, but attempting to build it on an X-less system triggers an unsatisfiable dependency on pango...
(In reply to comment #5) > There appears to be a new kerneloops-0.12 ebuild with a -gtk USE flag, but > attempting to build it on an X-less system triggers an unsatisfiable dependency > on pango... > What is that version from? According to http://sources.gentoo.org there ain't a 0.12 ebuild with any optional gtk support at all.
@gregkh If you do not have the time to look at this, will you please direct me to the current upstream maintainer or bugtracker/mailinglist so I may annoy them with patches?;)
upstream is at kerneloops.org
Sorry but I can not see any link to a bug-reporting facility or a mailinglist or anything.
(In reply to comment #9) > Sorry but I can not see any link to a bug-reporting facility or a mailinglist > or anything. > It's my understanding that Arjan van de Ven <arjan@infradead.org> has to do with kerneloops.org. Correct me if I'm wrong.
(In reply to comment #10) > (In reply to comment #9) > > Sorry but I can not see any link to a bug-reporting facility or a mailinglist > > or anything. > > > It's my understanding that Arjan van de Ven <arjan@infradead.org> has to do > with kerneloops.org. Correct me if I'm wrong. > I got that impresssion too. Sent him an email with the patch. Never got an answear.
Got no answears, have sent mail two times. Will wait for a new release before trying anything again.
Ok, thanks for letting us know. I'm going to close this out for now.