Summary: | net-p2p/azureus-2.5.0.0 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Triffid Hunter <triffid_hunter> |
Component: | New packages | Assignee: | Petteri Räty (RETIRED) <betelgeuse> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | java, jrmalaq |
Priority: | High | Keywords: | InOverlay |
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://azureus.sourceforge.net | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 145338 | ||
Attachments: |
net-p2p/azureus-2.5.0.0.ebuild
Ebuild together with fixed patches Ebuild with fixed patches (2) |
Description
Triffid Hunter
2006-08-22 08:23:12 UTC
Created attachment 94863 [details]
net-p2p/azureus-2.5.0.0.ebuild
I had to remove fedora/azureus-no-restart.patch, fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch, and files/azureus-2.4.0.2-popup-hide-debian.patch (fixed in 2.5) for this to build successfully. Azureus errors on startup about some win32 stuff, but seems to work fine otherwise.
Fix/update that win32 patch and this ebuild should be good to go.
Created attachment 94865 [details]
Ebuild together with fixed patches
Here's the ebuild based on last 2.4.0.2-r2, removed the popup patch as it's fixed in this version. Some fedora patches needed to be slightly updated, so I'm attaching whole tarball from my overlay (they need to preserve their dos newlines).
with Caster's ebuild: * Done with patching >>> Source unpacked. Rewriting ./build.xml >>> Compiling source in /var/tmp/portage/azureus-2.5.0.0/work/azureus ... Buildfile: build.xml init: [echo] Building Azureus2.jar... [mkdir] Created dir: /var/tmp/portage/azureus-2.5.0.0/work/azureus/dist compile: [javac] Compiling 1956 source files to /var/tmp/portage/azureus-2.5.0.0/work/azureus [javac] The system is out of resources. BUILD FAILED /var/tmp/portage/azureus-2.5.0.0/work/azureus/build.xml:30: Error starting modern compiler Total time: 47 seconds !!! ERROR: net-p2p/azureus-2.5.0.0 failed. there's already a fix for this in the ebuild, but it's only enabled for amd64. My system is x86 (athlon-xp). patch to fix: --- azureus-2.5.0.0.ebuild~ 2006-08-23 01:45:21.000000000 +1000 +++ azureus-2.5.0.0.ebuild 2006-08-23 02:59:37.000000000 +1000 @@ -27,7 +27,7 @@ >=virtual/jdk-1.4 dev-util/desktop-file-utils >=dev-java/ant-core-1.6.2 - amd64? ( =dev-java/eclipse-ecj-3.1* ) + =dev-java/eclipse-ecj-3.1* source? ( app-arch/zip ) >=app-arch/unzip-5.0" @@ -68,8 +68,8 @@ ant_extra_opts="-Dbootclasspath=$(java-config --jdk-home)/jre/lib/core.jar:$(java-config --jdk-home)/jre/lib/xml.jar:$(java-config --jdk-home)/jre/lib/graphics.jar" fi - # amd64 runs out of memory with javac... use ecj instead - use amd64 && java-pkg_force-compiler ecj-3.1 + # runs out of memory with javac... use ecj instead + java-pkg_force-compiler ecj-3.1 eant ${ant_extra_opts} jar } azureus installs and runs perfectly for me with this minor change. Created attachment 94872 [details]
Ebuild with fixed patches (2)
won't let me obsolete first tar.bz2 for reasons unknown
(In reply to comment #3) > azureus installs and runs perfectly for me with this minor change. You didn't say you implemented this change already in your first ebuild... and it is hard to spot if you post full ebuild and not a diff. (In reply to comment #4) > won't let me obsolete first tar.bz2 for reasons unknown The reason is simple, it wasn't your attachment and you don't have developer's rights on bugzilla :) Anyway, the ebuild (forced to compile with eclipse-ecj unconditionally) is now in migrated-java-experimental-overlay at overlays.gentoo.org. Just a note that the ebuild on migrated-java-experimental-overlay fom overlays.gentoo.org builds correctly, and built code is working as expected Moved from the migrated-java to official. |