Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45855 - aMule 2.0.0 rc3 released
Summary: aMule 2.0.0 rc3 released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 49034
Blocks:
  Show dependency tree
 
Reported: 2004-03-26 18:02 UTC by Giacomo Perale
Modified: 2004-05-25 17:13 UTC (History)
4 users (show)

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


Attachments
ebuild for amule 2.0.0 rc1 (amule-2.0.0_rc1.ebuild,46 bytes, text/plain)
2004-03-26 18:03 UTC, Giacomo Perale
Details
ebuild for amule 2.0.0 rc1 (amule-2.0.0_rc1.ebuild,705 bytes, text/plain)
2004-03-26 18:08 UTC, Giacomo Perale
Details
amule 2.0.0rc1 ebuild (more complete) (amule-2.0.0_rc1.ebuild,1.14 KB, text/plain)
2004-03-27 13:25 UTC, Paulo Fidalgo
Details
Improved ebuild to detect wxgtk2 and patch a crash bug. (amule-2.0.0_rc1.ebuild,1.58 KB, text/plain)
2004-03-27 19:49 UTC, Alo Sarv
Details
From official developer: Fixes networking-related crashes. (amule-2.0.0_rc1-crashfix.patch,3.02 KB, patch)
2004-03-27 19:51 UTC, Alo Sarv
Details | Diff
Patch to fix a bug in amule-2.0.0_rc2 which would deny uploads to emule 4.2 (amule-2.0.0_rc2-emule42.patch,3.91 KB, patch)
2004-04-16 08:47 UTC, Christian Trefzer
Details | Diff
ebuild for amule-2.0.0_rc2 with emule-4.2 compatibility patch (amule-2.0.0_rc2.ebuild,1.58 KB, text/plain)
2004-04-16 08:48 UTC, Christian Trefzer
Details
Updated ebuild with optimization disabled, resulting in higher stability. (amule-2.0.0_rc2.ebuild,1.61 KB, text/plain)
2004-04-16 12:15 UTC, Christian Trefzer
Details
ebuild without patch as it is now already applied in the tarball (amule-2.0.0_rc2.ebuild,1.46 KB, text/plain)
2004-04-27 13:21 UTC, Adrian Gygax
Details
ebuild for aMule 2.0.0 rc3 (amule-2.0.0_rc3.ebuild,2.03 KB, text/plain)
2004-05-02 06:20 UTC, Giacomo Perale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Perale 2004-03-26 18:02:29 UTC
new program release, still testing but should be stable enough
attached ebuild (project changed homepage and sourceforge mirror are no more updated)
Comment 1 Giacomo Perale 2004-03-26 18:03:05 UTC
Created attachment 28129 [details]
ebuild for amule 2.0.0 rc1
Comment 2 Giacomo Perale 2004-03-26 18:08:05 UTC
Created attachment 28130 [details]
ebuild for amule 2.0.0 rc1

sorry, don't know why previous attach didn't work
Comment 3 Paulo Fidalgo 2004-03-27 13:22:05 UTC
Hi!
I have created one ebuild that seems to be more complete.
I've used the 1.2.6 ebuild as base, and made the necessary changes...
If you want test it, and post the results... I have my amule runnning built by this ebuild.
Comment 4 Paulo Fidalgo 2004-03-27 13:25:29 UTC
Created attachment 28165 [details]
amule 2.0.0rc1 ebuild (more complete)
Comment 5 Alo Sarv 2004-03-27 15:10:24 UTC
This eBuild doesn't work at all here, crashes on startup upon cryptkey.dat creation. The crash accours inside cryptopp library. Few ideas:
* Comments in Crypto++ makefile warn about not optimizing with -O2 because it can cause problems.
* aMule doesn't like being heavily optimised either (I used -O3 -march=pentium4 -fomit-frame-pointer right now).

Solution:
* Disable user-specified optimizations for both Crypto++ and aMule, because neither seem to like heavy optimizations.

Another thing: Please do _NOT_ build aMule against wxGTK2! GTK2 support in wxWidgets is EXPERIMENTAL (see wxGTK './configure --help | grep gtk2'), and causes heavy memory/cpu leaking even in most trivial apps (minimal wxWidgets app has ~50 leaked objects already). Moreover, linking against wxGTK2 has never been supported by aMule developers either.
Comment 6 Paulo Fidalgo 2004-03-27 16:54:56 UTC
sorry I forgot one thing:
I'm using this ebuild (http://bugs.gentoo.org/show_bug.cgi?id=45821) for crypo++.

"Please do _NOT_ build aMule against wxGTK2!"
I'm not building amule agains GTK2, the stuff in pkg_setup() is to prevent using wxwindows linked with gtk2.

Enjoy and if you find something that can be improved just do it... because I'm still learning.
Comment 7 Giacomo Perale 2004-03-27 18:28:52 UTC
i've got working amule with my ebuild and these CFLAGS: "-march=athlon-xp -m3dnow -msse -mmmx -O2 -pipe -fforce-addr -fomit-frame-pointer"

wxGTK linked to gtk2 and crypto++ problems are not related to this ebuild

check introduced by paulo fidalgo will be useful, i think
Comment 8 Alo Sarv 2004-03-27 19:49:43 UTC
Created attachment 28186 [details]
Improved ebuild to detect wxgtk2 and patch a crash bug.

Actually, your check only assured it won't get compiled against wxgtk2u, but it
still allows compiling wxgtk2. However, thats strongly not recommended either.
I attached an ebuild with the following modifications:
* Detects wxgtk2 and aborts if found, notifying to emerge wxGTK with USE=-gtk2.
* Removed --disable-amulecmd configure flag. Even as there is no wxBase to link
  against, amulecmd should still be built (it will be linked against wxGTK
then).
* Added patch from official aMule developer that fixes some serious networking-
  related crashes (some new aMule mod popped up and is sending wrong packets).
Comment 9 Alo Sarv 2004-03-27 19:51:26 UTC
Created attachment 28187 [details, diff]
From official developer: Fixes networking-related crashes.

Patch from Kry (main aMule developer). Fixes networking-related crashes due to
some new aMule mod sending incorrect packets.
Comment 10 Giacomo Perale 2004-03-28 09:01:37 UTC
i talked with other gentoo users today
it seems that amule doesn't work if crypto++ isn't compiled with -O2, so crypto++ ebuild should be modified as told in http://bugs.gentoo.org/show_bug.cgi?id=45821
Comment 11 Simon Raffeiner 2004-03-29 02:39:10 UTC
Attachment 28186 [details] depends on >=net-ftp/curl-7.11.0, I did emerge sync 5 minutes ago and now curl is in net-misc. Yesterday it worked with net-ftp/curl.
Comment 12 Yennick Schepers 2004-03-30 03:39:42 UTC
Yes net-ftp/curl moved to net-misc/curl, just change that in the ebuild and it should work.
Comment 13 Christian Trefzer 2004-04-16 08:47:12 UTC
Created attachment 29422 [details, diff]
Patch to fix a bug in amule-2.0.0_rc2 which would deny uploads to emule 4.2

Official patch from the developers at amule.org
Comment 14 Christian Trefzer 2004-04-16 08:48:46 UTC
Created attachment 29423 [details]
ebuild for amule-2.0.0_rc2 with emule-4.2 compatibility patch

Modified 2.0.0-rc1 ebuild for amule-2.0.0_rc2 including the emule 4.2 patch
Comment 15 Christian Trefzer 2004-04-16 12:15:34 UTC
Created attachment 29436 [details]
Updated ebuild with optimization disabled, resulting in higher stability.

Duh. Completely forgot about that. Sorry folks!
Comment 16 Adrian Gygax 2004-04-27 13:21:41 UTC
Created attachment 30176 [details]
ebuild without patch as it is now already applied in the tarball

The patch has already been applied in the tarball which is currently
downloadable. The patch is no longer tried to be applied in this ebuild.
Comment 17 Jon Hood (RETIRED) gentoo-dev 2004-04-27 13:36:50 UTC
src_unpack seems kinda unneeded...

Also, could you edit the ebuild to IUSE="debug" and `use_with debug`, instead of just disabling it, or is there a problem with debugging support being enabled?
Comment 18 Wolf 2004-04-29 15:37:40 UTC
A new aMule version came out, amule-2.0.0-rc3!
Just change the amule-2.0.0-rc2.ebuild file's name to amule-2.0.0-rc3.ebuild, and it should compile just fine.

Use the latest one, the one posted by Adrian Gygax at 2004-04-27.

Good luck!
Comment 19 Giacomo Perale 2004-05-02 06:20:03 UTC
Created attachment 30513 [details]
ebuild for aMule 2.0.0 rc3

upgraded ebuild for new rc3 release

optimizations are now disabled for better stability and this ebuild has 3 new
USEs:

debug: enables or disables debug
noamuleremote: optionally disables remote control utilities (webserver, web
client, amulecmd text client); they're still builded by default
noamulestats: optionally disables amule GUI statistics, that require a new
dependency, libgd; still builded by default too
Comment 20 Jon Hood (RETIRED) gentoo-dev 2004-05-25 16:43:15 UTC
now in portage with some slight alterations (crypto++ isn't yet tested for amd64 users- file a new bug if you get it to compile correctly on that architecture)
Thanks!
Comment 21 Jon Hood (RETIRED) gentoo-dev 2004-05-25 17:13:43 UTC
we'll add it back to ~amd64 as soon as bug #49034 is resolved and someone says 'it works!'