From 9861bf34012a8c02e95b82cb9f2ea5c521eb4156 Mon Sep 17 00:00:00 2001 From: William Thomson Date: Tue, 2 Jan 2007 19:52:16 +0000 Subject: [PATCH] Unbundled a few jars Package-Manager: portage-2.1.1-r2 --- net-p2p/limewire/ChangeLog | 10 ++- net-p2p/limewire/Manifest | 15 ++-- .../limewire/files/digest-limewire-4.12.6-r1 | 3 + net-p2p/limewire/limewire-4.12.6-r1.ebuild | 71 +++++++++++++++++++ 4 files changed, 93 insertions(+), 6 deletions(-) create mode 100644 net-p2p/limewire/files/digest-limewire-4.12.6-r1 create mode 100644 net-p2p/limewire/limewire-4.12.6-r1.ebuild diff --git a/net-p2p/limewire/ChangeLog b/net-p2p/limewire/ChangeLog index d969abb96eb1..8720c1ddb350 100644 --- a/net-p2p/limewire/ChangeLog +++ b/net-p2p/limewire/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/limewire -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/limewire/ChangeLog,v 1.24 2006/12/24 02:38:41 wltjr Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/limewire/ChangeLog,v 1.25 2007/01/02 19:52:16 wltjr Exp $ + +*limewire-4.12.6-r1 (02 Jan 2007) + + 02 Jan 2007; William L. Thomson Jr. + +limewire-4.12.6-r1.ebuild: + Unbundled a few jars *limewire-4.12.6 (24 Dec 2006) diff --git a/net-p2p/limewire/Manifest b/net-p2p/limewire/Manifest index 0be93db8a2f8..d9c076c9c2af 100644 --- a/net-p2p/limewire/Manifest +++ b/net-p2p/limewire/Manifest @@ -4,6 +4,10 @@ RMD160 872e03be4172861ea3cb17533b11cb1c76443d55 files/main-icon.png 1819 SHA256 27845b251072415511c2cb21a8583e94a63274e298ae5ebc8e009b8b05594cfa files/main-icon.png 1819 DIST LimeWireOther-4.9.37.zip 5974637 RMD160 be8701cb83240e66e167009a26caf2861746ab77 SHA1 36ad62543481400318c07adf0967fe5ea0487821 SHA256 9c5757513bf2c917b8368f18f7f0361b98226587feb52ecc669e419801d2d8ce DIST LimeWireOther.zip 6665140 RMD160 d6acbd13a08b4170d3c88b7f3c864d51516427d1 SHA1 30e43b45067769b72bc113bddc4a7a0c0ddd3c88 SHA256 e72fb5aca3edd580d28772b3985196e2d6dcb5b4b833c90d09c9d7adf69c1237 +EBUILD limewire-4.12.6-r1.ebuild 2038 RMD160 2667e02cb1cfd4c3121b887e244aa585fcaca83e SHA1 b56c74823350f2389beb310ae3fb21a7827761a9 SHA256 828ae3a79f616a2d2eabd8e6d0bf3b9119cef031609ef93b0acefd2b69f1cacf +MD5 7de696ecfbfe4c6efb86f62524e585d6 limewire-4.12.6-r1.ebuild 2038 +RMD160 2667e02cb1cfd4c3121b887e244aa585fcaca83e limewire-4.12.6-r1.ebuild 2038 +SHA256 828ae3a79f616a2d2eabd8e6d0bf3b9119cef031609ef93b0acefd2b69f1cacf limewire-4.12.6-r1.ebuild 2038 EBUILD limewire-4.12.6.ebuild 1348 RMD160 88b0819a3b9798fda5c2935d7000d376b0b2aa03 SHA1 feb7a0a7fdbab749b6ef98543e0ef63f886ed8a9 SHA256 b72dc7edb85ab716fbed00f4275ccdc2305a6913c7c6952443d74767a3a174e0 MD5 3de46610fe9411ee6c087cd086d33209 limewire-4.12.6.ebuild 1348 RMD160 88b0819a3b9798fda5c2935d7000d376b0b2aa03 limewire-4.12.6.ebuild 1348 @@ -12,10 +16,10 @@ EBUILD limewire-4.9.37.ebuild 1378 RMD160 9a13ab4794f9cc8d82643fdda06182a83c3ee1 MD5 f1bfa56e75d300a0dba980f24e8ed8ea limewire-4.9.37.ebuild 1378 RMD160 9a13ab4794f9cc8d82643fdda06182a83c3ee10d limewire-4.9.37.ebuild 1378 SHA256 032855b5387a0cd8e154e575bc0f03c104ca636f790b84a5eee4473d67f3e33e limewire-4.9.37.ebuild 1378 -MISC ChangeLog 4250 RMD160 46a9471bf15256ce42fc1be85a12fda671dfca09 SHA1 1cfa59f7894964a4d85f681bd6687f0ed5398dc1 SHA256 5630f219bfc2cccc0ec01fa037a29e39b70e9a3e9204ed19b217203f3cda1cb4 -MD5 c6dda42d3fd533e84377c3ca523cd254 ChangeLog 4250 -RMD160 46a9471bf15256ce42fc1be85a12fda671dfca09 ChangeLog 4250 -SHA256 5630f219bfc2cccc0ec01fa037a29e39b70e9a3e9204ed19b217203f3cda1cb4 ChangeLog 4250 +MISC ChangeLog 4396 RMD160 9baf4627bfb42886564913f1a7598c5531f8bb94 SHA1 262ada73f6f3f90a302a2cf81e5f9ff8f97f708d SHA256 192d3d19f65f5b85ae3dbec2c177b15ef07fb8128ed9210239a9fc49e4fb0028 +MD5 22734f18963069d3815626df6c92bffe ChangeLog 4396 +RMD160 9baf4627bfb42886564913f1a7598c5531f8bb94 ChangeLog 4396 +SHA256 192d3d19f65f5b85ae3dbec2c177b15ef07fb8128ed9210239a9fc49e4fb0028 ChangeLog 4396 MISC metadata.xml 639 RMD160 7775f2347d89f1a9ae585a93d4212ced92602443 SHA1 e7db6b28745a005be6ca1f6f811c2f5a50b479c6 SHA256 b3852f17c69e04db656d67e8c58c5e1733b29f098a4bbb9937b9e617adf49597 MD5 5fdad971c8e10eda94a76c0ae0b5eb2a metadata.xml 639 RMD160 7775f2347d89f1a9ae585a93d4212ced92602443 metadata.xml 639 @@ -23,6 +27,9 @@ SHA256 b3852f17c69e04db656d67e8c58c5e1733b29f098a4bbb9937b9e617adf49597 metadata MD5 1b75e78283d01959e105676d0c736c11 files/digest-limewire-4.12.6 235 RMD160 7c59ca3717363d58012a21a77c3f2058a4da2a31 files/digest-limewire-4.12.6 235 SHA256 29f551e80b34aca34cb25761b26bcf2745d9d9acee714e4ea0cfcae272efe376 files/digest-limewire-4.12.6 235 +MD5 1b75e78283d01959e105676d0c736c11 files/digest-limewire-4.12.6-r1 235 +RMD160 7c59ca3717363d58012a21a77c3f2058a4da2a31 files/digest-limewire-4.12.6-r1 235 +SHA256 29f551e80b34aca34cb25761b26bcf2745d9d9acee714e4ea0cfcae272efe376 files/digest-limewire-4.12.6-r1 235 MD5 fda1f827b180aa054be20385245d10ea files/digest-limewire-4.9.37 256 RMD160 eb975c80082a5a8e9b9c6231328842f26863f3ac files/digest-limewire-4.9.37 256 SHA256 b61ad21e656ee75c0d47d09579bc2f85437c08cdeebffd45ead5aceabeab1dc6 files/digest-limewire-4.9.37 256 diff --git a/net-p2p/limewire/files/digest-limewire-4.12.6-r1 b/net-p2p/limewire/files/digest-limewire-4.12.6-r1 new file mode 100644 index 000000000000..1e2bb26aa15c --- /dev/null +++ b/net-p2p/limewire/files/digest-limewire-4.12.6-r1 @@ -0,0 +1,3 @@ +MD5 4b2c2f228205f6277170bacfb152305d LimeWireOther.zip 6665140 +RMD160 d6acbd13a08b4170d3c88b7f3c864d51516427d1 LimeWireOther.zip 6665140 +SHA256 e72fb5aca3edd580d28772b3985196e2d6dcb5b4b833c90d09c9d7adf69c1237 LimeWireOther.zip 6665140 diff --git a/net-p2p/limewire/limewire-4.12.6-r1.ebuild b/net-p2p/limewire/limewire-4.12.6-r1.ebuild new file mode 100644 index 000000000000..39108017ae3b --- /dev/null +++ b/net-p2p/limewire/limewire-4.12.6-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/limewire/limewire-4.12.6-r1.ebuild,v 1.1 2007/01/02 19:52:16 wltjr Exp $ + +inherit eutils java-pkg-2 + +IUSE="gtk" +DESCRIPTION="Limewire Java Gnutella client" +HOMEPAGE="http://www.limewire.com" +SRC_URI="http://maverick.limewire.com/download/LimeWireOther.zip" +LICENSE="GPL-2 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +DEPEND="app-arch/unzip + dev-java/commons-logging + dev-java/commons-net + dev-java/icu4j + dev-java/log4j + =dev-java/xerces-1.3* + dev-java/xml-commons-external + gtk? ( >=x11-libs/gtk+-2.4 )" + +RDEPEND="virtual/jre" + +S="${WORKDIR}/LimeWire" +PREFIX="/opt/limewire" + +src_compile() { + ( echo \#!/bin/sh + echo cd ${PREFIX} + echo export J2SE_PREEMPTCLOSE=1 + echo java -cp .:collections.jar:xerces.jar:jl011.jar:MessagesBundles.jar:themes.jar:logicrypto.jar:GURL.jar:LimeWire.jar com.limegroup.gnutella.gui.Main + ) > limewire.gentoo + + echo PATH=${PREFIX} > limewire.envd + + sed -i -e 's:icu4j.jar=2EA7BE7FE723AE4A7BB99850238CE7DE::' \ + -e 's:xerces.jar=F192FC03C1DFEB0C20A26EDF1D5E04DF::' \ + "${S}/hashes" || die "Could not modify hashes file" + +} + +src_install() { + insinto ${PREFIX} + doins *.jar *.war *.properties *.ver hashes *.sh *.txt + + # Replace bundled jars, don't replace commons-httpclient! + cd "${D}/opt/limewire" + java-pkg_jar-from commons-logging commons-logging.jar + java-pkg_jar-from commons-net commons-net.jar + java-pkg_jar-from icu4j icu4j.jar + java-pkg_jar-from log4j log4j.jar + java-pkg_jar-from xerces-1.3 xerces.jar + java-pkg_jar-from xml-commons-external-1.3 xml-apis.jar + + cd "${S}" + exeinto /usr/bin + newexe limewire.gentoo limewire + + newenvd limewire.envd 99limewire + + insinto /usr/share/icons/hicolor/32x32/apps + newins "${FILESDIR}"/main-icon.png limewire.png + + make_desktop_entry limewire LimeWire +} + +pkg_postinst() { + use gtk || ewarn "You will probably not be able to use the gtk frontend." + einfo " Finished installing LimeWire into ${PREFIX}" +} -- 2.26.2