Registered Member
|
Hi guys,
I've made a little SVN ebuild for KTorrent, available for download here: http://www.eikehein.com/kde/ktorrent-svn.tar.bz2 In contrast to the ebuild available in the Portage tree, it will retrieve KTorrent's up-to-date sources from the KDE Subversion repository and compile those. Just extract it into your overlay, and add ktorrent-svn to your ~arch keywords. It's based on Jord Swart's popular amarok-svn ebuild: http://www.jordswart.org/archives/35 If it works well and you want to mirror it on the KTorrent website, please do.
Last edited by Sho on Fri Jul 28, 2006 2:59 pm, edited 1 time in total.
|
Registered Member
|
|
Registered Member
|
Excellent work Sho.
I tested on Gentoo and it works. I test it on an amd64 and x86 hosts, also the bug related to 64 bit users wanting to upgrade to SVN versions >= 510300 seems fixed. Its better if the ebuild requiere kdelibs.. i mean:
About the "need-kde 3.3" beware, i dont know if ktorrent will work on 3.3 maybe 3.4 its a better option (remember its a svn everytime-up-to-date version) (the web says that you have KDE 3.4 or later) Also it will be better if you add the GNU MP library (libgmp) (dev-libs/gmp). BTW as a gentoo user i only provide the ktorrent-svn-2.0.ebuild (IMO everybody who will use an ebuild from a svn version, will prefer that way) Sho, well here is the ebuild with some modifications: EDITED: I remove my ebuild, to avoid confusions, now the Sho ebuild, is great!
Last edited by KarMax on Mon Jun 12, 2006 8:23 pm, edited 1 time in total.
Gonzalo Martinez
Jabber: KarMax@jabber.org |
Registered Member
|
I have updated the tarball with a new version of the ebuild, adopting KarMax' suggestions as well as other minor changes.
Changelog: - Bumped minimum required KDE version to 3.4. - Brought architecture keywords in line with the 2.0_beta1 ebuild (added ~sparc). - Removed KDE from DEPEND entirely, as "need-kde 3.4" takes care of that. - Added dependency on dev-libs/gmp. - Added --enable-knetwork configure flag, in line with the tree ebuild. - Removed references to amaroK from the CVS header (no functional change). - Added IUSE as required by the Gentoo Development Guide. Download including directory structure, Manifest and digest: http://www.eikehein.com/ktorrent-svn.tar.bz2 The ebuild alone:
|
Registered Member
|
Hi,
compiled and works like a charm. Here is a little about my box:
If someone know, how to add "LINGUAS variable" (localisation) to this ebuild, it would be wonderful. Thanks for you work. |
Registered Member
|
I dont want to generate confusion...
To use Linguas you need to add ( before inherit the kde eclass ) First the langs variables (just an example)
Second set:
Now the kde eclass will pass the LANGS and LANGS_DOC and do the linguas_${lang}. (for each one of the langs.) This will be used in the src_unpack but this ebuild is an svn and AFAIK this will not work, maybe Sho or somebody can afirm that.
Gonzalo Martinez
Jabber: KarMax@jabber.org |
Registered Member
|
|
Registered Member
|
the ebuild works fine and so does the program.
when will 2.0 be released? |
Moderator
|
Soon, 2.0rc1 is only a few bug fixes away and 2 weeks after that, 2.0 final. |
Registered Member
|
I am running a Turion 64 X2 (256k x 2 cache) and used the latest MASKED ebuild
WHen i initially installed it my cflags were like: CFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer" and it crashed quite frequently and randomly. Without a good stack trace theres no point me even showing it. I had tried many times to recompile and use 2.0 as well, with no luck. Then, however, I stripped down cflags to just: CFLAGS="-march=k8 -pipe" and recompiled and it (2.0.1) has not crashed since recompiling. (the euild added -02) I a not sure what -O level was last on the compile line, but I will assume -Os, hence the difference. Dont know why it made a difference, but I hope this may help any other x64 users. |
Registered Member
|
|
Registered Member
|
does this still work for people? This is what it installs for me:
and I need a bit more to run ktorrent |
Registered Member
|
for anyone else that needs this, change src_install to:
and it will install properly. |
Registered Member
|
|
Registered Member
|
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]