From the gnome-power-manager home page I find that dependency on libnotify is actually optional. I've tried to compile it without libnotify and it compiles and runs fine. The current ebuild in portage forces the installation of libnotify. I believe the ebuild should use the 'libnotify' USE flag. Here's a patch to "gnome-power-manager-2.14.3.ebuild" that adds a libnotify USE flag: # diff -u gnome-power-manager-2.14.3.ebuild gnome-power-manager-2.14.3.ebuild.new --- gnome-power-manager-2.14.3.ebuild 2006-07-24 17:24:04.000000000 -0600 +++ gnome-power-manager-2.14.3.ebuild.new 2006-07-24 17:21:31.000000000 -0600 @@ -12,7 +12,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="doc" +IUSE="doc libnotify" RDEPEND=">=dev-libs/glib-2.6.0 >=x11-libs/gtk+-2.6.0 @@ -21,9 +21,9 @@ >=sys-apps/dbus-0.61 >=sys-apps/hal-0.5.7-r1 >=gnome-base/libglade-2.5.0 - >=x11-libs/libnotify-0.2.2 + libnotify? ( >=x11-libs/libnotify-0.2.2 ) >=x11-libs/libwnck-2.10.0 - >=x11-misc/notification-daemon-0.2.1 + libnotify? ( >=x11-misc/notification-daemon-0.2.1 ) || ( ( x11-libs/libX11 @@ -41,5 +41,5 @@ DOCS="AUTHORS ChangeLog NEWS README TODO" pkg_setup() { - G2CONF="${G2CONF} --enable-actions-menu --enable-libnotify --with-dpms-ext" + G2CONF="${G2CONF} --enable-actions-menu --with-dpms-ext" }
made libnotify optional with 2.14.3-r1 (now in ~arch)