Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214491 - net-p2p/btg-0.9.7 version bump request
Summary: net-p2p/btg-0.9.7 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-24 09:51 UTC by Tiziano Müller (RETIRED)
Modified: 2008-07-07 21:39 UTC (History)
3 users (show)

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


Attachments
net-p2p/btg/files/btg-0.9.7-broken_bundled_plotmm_sigc.patch (btg-0.9.7-broken_bundled_plotmm_sigc.patch,4.08 KB, patch)
2008-03-25 14:07 UTC, Tiziano Müller (RETIRED)
Details | Diff
net-p2p/btg/files/btg-0.9.7-as_needed.patch (btg-0.9.7-as_needed.patch,4.03 KB, patch)
2008-03-25 14:08 UTC, Tiziano Müller (RETIRED)
Details | Diff
Patch for btg-0.9.6-r1.ebuild -> btg-0.9.7.ebuild (btg-0.9.7.patch,1.95 KB, patch)
2008-03-25 14:09 UTC, Tiziano Müller (RETIRED)
Details | Diff
Patch adding curl USE flag and minors enhancements (btg-0.9.7.patch,1.46 KB, patch)
2008-06-21 16:15 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff
Patch adding curl USE flag and minors enhancements (btg-0.9.7.patch,1.38 KB, patch)
2008-06-21 16:22 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff
Patch adding curl dep/USE flag and move dialog dep for !minimal USE flag (btg-0.9.7.patch,1.60 KB, patch)
2008-06-22 12:28 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2008-03-24 09:51:48 UTC
ChangeLog:
*snip*
Release Name: btg-0.9.7

Notes:
This release contains a large number of bugfixes and some new features which were requested by users. 
Also, 0.9.7 is the first BTG release which has been built for and been tested on OpenWrt (See howto about details).

Notice the selecting files and DHT support will only work if Rasterbar libtorrent 0.13rc1 or later is used. 
Libtorrent 0.12 does not contain the required functionality.



Changes:
The following bugs were fixed:

013359 Compilation error: numinput.h.
013315 btgui, torrent remains after moving to another session.
013306 btgui, executing operations on multiple torrents.
013272 Add support for libtorrent 0.12.1.
013267 btgcli, incorrect seed limit.
013266 btgui, global limit setting.
013265 btgui, limit settings dialog doesn't correctly display limits.
013248 btgncli, add dialog used for entering numbers.
013216 Session saving, add saving of global limits.
013147 Handle octets set to 255 in Address/addressPort.
013146 XML Pasing error (wwwui).
013142 Restore file priorities after restart.
013136 Change of peer id / useragent (feature req).
013007 Show session settings.
012997 Session saving, fix saving of dht/encryption settings.
012975 Externalization, simple, exorcism.
012970 Add moving torrents to another sessions.
012952 Add switch to disable generating btg-config.
012839 DHT + encryption support in wwwbtg.
012814 Daemon segfaults when starting client with DHT (0.9.6).
012784 Remove singleton object used for logging.
012771 Add openwrt packages to SVN.
012762 Embed svn version into release information.
012761 Callback manager: execute calls from a thread.
012685 btgdaemon/btgpassswd segfaulting upon start.
012676 Fix boost iostreams detection.
012616 Remove btgq and btgd.
012598 Write man page for btgvs.
012557 Make fails on FreeBSD 6.2.
012545 Update SDL viewer to AGAR 1.3.1.
012544 BTGWWW, add missing files in bcore/command.
012535 btgncli: show peers/seeds in the list of torrents.
012330 Add another version of contextStatusCommand.
012329 Add "stop autoupdating" button in wwwbtg.
012308 Clean up daemon/limitval.cpp.
012301 Update doxygen.
012241 Use pkglib_LTLIBRARIES instead of lib_LTLIBRARIES.
012226 btgui, files showing as 100%.
012208 Add logging using syslog to wwwui.
012205 torrent files which contain same files but different tracker.
012190 Fix "warning: 'add_torrent' is deprecated".
012125 Update SDL viewer, after refactoring of last files.
012124 Add command line interface(s) unittest.
012120 Update to libtorrent 0.13 aka SVN.
012118 Add session naming.
012108 btgui: buttons OK and Cancel are equivalent when logging-in.
012106 Can't set files to download in btgui.
012055 File checking fails on torrents that contain directories.
012004 Show tracker for each context.
011784 More users can't download same torrent at same time.
011781 FBSD, btgncli does not show the status bar.
011557 Peer_id sent to tracker (feature req).
*snip*
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2008-03-25 12:06:45 UTC
An ebuild for the optional CyberLink library/dependency is in the Sunrise Overlay.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2008-03-25 14:06:51 UTC
ok, you've got a lot to fix for this app:
a) Broken with as-needed (gonna attach a patch for it)
b) Needs the CyberLink Library (http://sourceforge.net/projects/clinkcc/) for uPnP-support
c) Comes bundled with PlotMM (plotmm.sf.net) which: a) needs a lot more than just the deps recorded in the ebuild
d) this plotmm-library uses a deprecated API of libsigc++ which makes it break here
d) Comes bundled with xmlrpc-epi (http://xmlrpc-epi.sourceforge.net/) which in turns includes Yet Another Version Of Expat (tm) ;-)

Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2008-03-25 14:07:38 UTC
Created attachment 147262 [details, diff]
net-p2p/btg/files/btg-0.9.7-broken_bundled_plotmm_sigc.patch

Fixing the broken plotmm
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2008-03-25 14:08:45 UTC
Created attachment 147264 [details, diff]
net-p2p/btg/files/btg-0.9.7-as_needed.patch

I'm sorry, but I've given up. This is the patch as far as I went. It still doesn't build, but it's a lot better already... maybe you can use it.
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2008-03-25 14:09:55 UTC
Created attachment 147266 [details, diff]
Patch for btg-0.9.6-r1.ebuild -> btg-0.9.7.ebuild
Comment 6 Alessandro Calorì 2008-05-18 20:27:19 UTC
Any news?
Comment 7 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-06-01 12:32:54 UTC
(In reply to comment #6)
> Any news?
> 

I've talk with btg devs to make Tiziano's bugs corrected.
Here is the situation :
a) As been corrected in the btg trunk. Should be in 0.9.8 version, I hope.
b) Since rb_libtorrent will implement upnp with 0.14 release, btg should not depend on cyberlink anymore.
c) and d) I have to look at these bugs and open a bug report on btg's tracker.
Comment 8 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-06-07 22:57:49 UTC
I opened a bug about a plotmm ebuild. It will help to fix the issue with bundled plotmm in btg ebuild. In addition, btg has to check if plotmm is already install. I am going to propose a patch to btg team.

Bug for plotmm is bug #225287 (http://bugs.gentoo.org/show_bug.cgi?id=225287)
Comment 9 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-06-08 00:28:03 UTC
I opened a bug about a xmlrpc-epi ebuild. It will help to fix the issue with
bundled xmlrpc-epi in btg ebuild. In addition, btg has to check if xmlrpc-epi is
already install and has to delete bundled expat. I am going to fill a bug to btg team.

Bug for xmlrpc-epi is bug #225295 (http://bugs.gentoo.org/show_bug.cgi?id=225295)
Comment 10 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-06-08 00:46:21 UTC
(In reply to comment #2)
> d) this plotmm-library uses a deprecated API of libsigc++ which makes it break
> here
> d) Comes bundled with xmlrpc-epi (http://xmlrpc-epi.sourceforge.net/) which in
> turns includes Yet Another Version Of Expat (tm) ;-)

plotmm is working fine with latest libsigc++ from portage.
xmlrpc-epi doesn't include any version of expat : btg team adds it. Actually, I think it is regular libexpat.
Comment 11 Conway S. Smith 2008-06-15 12:33:12 UTC
(In reply to comment #4)
> I'm sorry, but I've given up. This is the patch as far as I went. It still
> doesn't build, but it's a lot better already... maybe you can use it.
> 

It actually did build for me w/ Tiziano's patches.  Just a couple things I noticed: w/ USE flag "test" it should depend on cppunit, but doesn't, and the configure script isn't enabling the btg-config script, which is needed to create daemon.ini and client.ini files mentioned at the end of the emerge.
Comment 12 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-06-21 16:15:39 UTC
Created attachment 157947 [details, diff]
Patch adding curl USE flag and minors enhancements

Since 0.9.7 ebuild is in portage, I've written a patch to add curl USE flag.
Actually, cppunit dependency for test useflag has been added in portage's 0.9.7 ebuild and it also contains all Tiziano's improvements.
Comment 13 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-06-21 16:22:42 UTC
Created attachment 157949 [details, diff]
Patch adding curl USE flag and minors enhancements

Oups, there was a small error in the previous patch...
Comment 14 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-06-22 12:28:15 UTC
Created attachment 157997 [details, diff]
Patch adding curl dep/USE flag and move dialog dep for !minimal USE flag

I've seen dialog is not a dependency of btg package but of btg-config script. So I've added dialog to !minimal USE flag and btg-config is added in the same case.

I've tested it and it's working great.
Comment 15 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-06-26 17:28:45 UTC
About plotmm and xmlrpc-epi, automatic detection and using external builds has been added to svn version of btg. I hope it will be released with 0.9.8 version. Bundled packages will not be removed because xmlrpc-epi and plotmm are not commonly distro's official packages. If they are added into portage, bundled version will not be used anymore.
Comment 16 Christoph Mende (RETIRED) gentoo-dev 2008-07-01 11:39:24 UTC
closing this for now as 0.9.7 is in portage.
mounir, I'll keep your suggestions on my TODO, thanks for that