Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275130 - Transmission Qt4 client is disabled in 1.72 [patch]
Summary: Transmission Qt4 client is disabled in 1.72 [patch]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 04:59 UTC by Charles Kerr
Modified: 2009-07-12 16:12 UTC (History)
2 users (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 Charles Kerr 2009-06-23 04:59:23 UTC
The Qt4 client is disabled in 1.72 because it links against the bundled version of libevent instead of the system's version.

Fixing this is a one-line change to transmission-1.72/qt/qtr.pro:

      - LIBS += $${TRANSMISSION_TOP}/third-party/libevent/.libs/libevent.a
      + LIBS += -levent
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-06-30 19:35:48 UTC
It's easy, but it should be a configure option of some sort so the patch would be acceptable also for upstream.
Comment 2 Charles Kerr 2009-06-30 21:55:49 UTC
I agree with you that picking up the configure option is the better solution.

Unfortunately that may be awhile in coming.  So far my attempts to get qmake to play nicely with autoconf have been a messy failure.  The two tools seem to actively hate each other. :/
Comment 3 Fabiano Francesconi 2009-07-07 10:04:56 UTC
It has been fixed in svn.

http://trac.transmissionbt.com/changeset/8629

We could provide a patch that does something like did upstream.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-07-12 15:35:36 UTC
(In reply to comment #3)
> It has been fixed in svn.
> 
> http://trac.transmissionbt.com/changeset/8629
> 
> We could provide a patch that does something like did upstream.
> 

No, this is the commit that broke it in the first place.
Comment 5 Fabiano Francesconi 2009-07-12 15:45:33 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > It has been fixed in svn.
> > 
> > http://trac.transmissionbt.com/changeset/8629
> > 
> > We could provide a patch that does something like did upstream.
> > 
> 
> No, this is the commit that broke it in the first place.
> 

I manually have enabled that useflag on my local overlay and it compiles and works like a charm.. 

I don't get how figure out which is the problem you get

Comment 6 Fabiano Francesconi 2009-07-12 15:47:40 UTC
maybe I got it.. you do not want it to compile against a bundled version of a library but automake doesn't provide a way to configure it "at runtime"?
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-07-12 16:12:59 UTC
+  12 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+  transmission-1.72.ebuild:
+  Run intltoolize because tarball was generated with broken 0.40.6 wrt
+  #276053. Restore Qt4 version wrt #275130 and execute make_desktop_entry
+  for it.

Sedding it inside ebuild (it's ugly, I know), thanks for pointing out the line :)