Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435586 - net-p2p/transmission-remote-gtk: request USE flag 'libnotify' (and to fix build failure of --without-libnotify)
Summary: net-p2p/transmission-remote-gtk: request USE flag 'libnotify' (and to fix bui...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jeff (JD) Horelick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 04:43 UTC by Clayton Holloway
Modified: 2012-09-24 12:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clayton Holloway 2012-09-20 04:43:55 UTC
libnotify pulls in a lot of dependencies and it is not a requirement of transmission-remote-gtk.

I'm relatively new to gentoo, but I managed to create my own overlay with a modified ebuild of this package.  The only modification I made was removing the libnotify line from the dependency list.  I have been using the application without issue for some time.

In addition, the code at google code suggests options to specifically build with or without libnotify support.

P.S. Sorry for being a noob. :P

Reproducible: Always

Steps to Reproduce:
1. USE="-libnotify" emerge net-p2p/transmission-remote-gtk
Actual Results:  
Portage pulls in libnotify and it's huge dep tree.

Expected Results:  
Package builds properly without libnotify or it's huge dep tree.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-09-20 10:06:30 UTC
With --without-libnotify the package doesn't compile. Did you even try it?
Comment 2 Clayton Holloway 2012-09-20 10:24:04 UTC
(In reply to comment #1)
> With --without-libnotify the package doesn't compile. Did you even try it?
I'm not familiar enough with ebuilds to change compile/configure options.
I did however remove the dependency from the list in the ebuild.  It builds and runs just fine for me.

diff /usr/local/portage/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.0.ebuild /usr/portage/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.0.ebuild 
23a24
> 	x11-libs/libnotify

That's the only thing I changed. Once I actually complete my gentoo install perhaps I can learn more about ebuilds and submit patches. :)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-09-24 12:06:36 UTC
Fixed in Portage:

+  24 Sep 2012; Samuli Suominen <ssuominen@gentoo.org>
+  transmission-remote-gtk-1.1.ebuild,
+  +files/transmission-remote-gtk-1.1-PKG_PROG_PKG_CONFIG.patch:
+  Optionalize x11-libs/libnotify with USE="libnotify" and insert missing call
+  to PKG_PROG_PKG_CONFIG for --without-libnotify to not bail out wrt #435586 by
+  Clayton Holloway

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission-remote-gtk/files/transmission-remote-gtk-1.1-PKG_PROG_PKG_CONFIG.patch?rev=1.1&content-type=text/plain

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild?r1=1.1&r2=1.2
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-09-24 12:09:34 UTC
Reported upstream here:

http://code.google.com/p/transmission-remote-gtk/issues/detail?id=216