First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 141645
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Saleem Abdulrasool (RETIRED) <compnerd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jose Marino <braket@hotmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 141645 depends on: Show dependency tree
Bug 141645 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-24 16:26 0000
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"
 }

------- Comment #1 From Saleem Abdulrasool (RETIRED) 2006-08-27 11:53:28 0000 -------
made libnotify optional with 2.14.3-r1 (now in ~arch)

First Last Prev Next    No search results available      Search page      Enter new bug