diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-07 17:05:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-07 17:05:41 +0000 |
commit | 265872eddb19fbd0187e486b4abe17a57aeab16b (patch) | |
tree | 4eec48d74c7a857b2026ce63700abc979d55a3ae /net-p2p/biglybt | |
parent | fa9b514c7c3e9ea3c1cee9b729c35ab182d1b247 (diff) |
gentoo auto-resync : 07:12:2023 - 17:05:41
Diffstat (limited to 'net-p2p/biglybt')
-rw-r--r-- | net-p2p/biglybt/Manifest | 3 | ||||
-rw-r--r-- | net-p2p/biglybt/biglybt-3.5.0.0.ebuild | 109 | ||||
-rw-r--r-- | net-p2p/biglybt/files/biglybt-3.5.0.0-Entities.javadoc.patch | 18 |
3 files changed, 130 insertions, 0 deletions
diff --git a/net-p2p/biglybt/Manifest b/net-p2p/biglybt/Manifest index 58dd71f5c7e5..dd82b9c7a3d0 100644 --- a/net-p2p/biglybt/Manifest +++ b/net-p2p/biglybt/Manifest @@ -1,6 +1,9 @@ AUX biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch 316 BLAKE2B 87efcf5b3a0c83da109f51c8cc4829fb96d4940a295f1850de012ee0c3b259226b7150699721ad89b6b14e926527029980301b95ddab00eb2eb6aa5624acae5d SHA512 b1af524f3bf4fbd91c8849732b30ff10b269e07831dec8cb028e16f17cf624000ff5e513f5668d461bdf0cd74c518052719ac93aac790a8feb853a97b6172489 AUX biglybt-3.2.0.0-disable-SWTUpdateChecker.patch 407 BLAKE2B 63b34dfc13d2c3a6002b66da1bf652a7e98b0f4c92d48d1af90001742cebc0ba89c81c72f5c8d81bb29c6f7a5fb412b00dc1a18daf9f5ab6601e446e49b030c0 SHA512 87743e1a437d15e929b51b67bd5fb329ce67fc44f93c3172634056fe52d575db22102d915d9507df9644c4f800e399fed2cb327f0451eb6506c27e5bf776f2f6 AUX biglybt-3.2.0.0-disable-shared-plugins.patch 553 BLAKE2B b4844e817c76ddb03ac1f029d4c3626483d02fc81460e8f028719e9252e4b74765db04e2c0e0561dd9237ecbf6687ef93a5c75fed58342f259839935af5e976e SHA512 5f8eeb6caf6b719b77f3b2d7857723335b0dbe8c5c4e09454471ed10e6ad01a82f566e9a42614b65821d5c33e44eb958d6933ffb1d30025512a75114346a6b45 +AUX biglybt-3.5.0.0-Entities.javadoc.patch 1378 BLAKE2B 0984fcc6d342a3b54129b0196611a9b76d3aad4e7fa0b8cba7d43ac8bb7102a92072e9e288a979f7a92cf1ac496868be863b51e9a1fb3b3d83aad7ae25a1d5eb SHA512 c7987683558224f7752dbdc91d10147c5a4fbe4c0a7db47a2dd495e728d3f8b2aa4c7ec5712163160a60431e5d043f86e4018becc63fe61f8909dcdd7201f41d DIST biglybt-3.4.0.0.tar.gz 41402302 BLAKE2B c10832a62efa517981572b91fb99854ee45743c0a2e9fd30d6548a09aeaa47fbcbdb6f6392285f5bd59eb99d4b50b98ddfce2ecf2092b205ca69901b5668a8d3 SHA512 401d0674f03d0da88d3dd3521c3c67cd3471b9858c326fc3cb908f96bb90b156eedee6dfa909606aade0862fe18cbf987d83cf48295e3ee5dc056c260708e05b +DIST biglybt-3.5.0.0.tar.gz 41499459 BLAKE2B a08bfa560a72297a6ef21aed1bf4dc278e6c1e8b28b7adfb9bd880d8a6bcec1875b2ff8f3c95e9a05a41be5f14ba7ec66d775f53b78ee4a6bb88a295906f75e2 SHA512 1345ca1b49615be6d7e4ffb883ac5a60ed31af1dbf29a45d5d03ab56fb37d3f47d36abdffe990d264bda5fe5d3f90a3e2ad64373f1fe16fa23feb1ba8b70dd15 EBUILD biglybt-3.4.0.0.ebuild 3208 BLAKE2B 3ffc02274aa32ef8ebc817ab2ce09194f147b2e2893eb622165dde3b35df11d27a4e01b99027aac4a93d8a0beffb0ef28cd65a499fdd79819f0d473da48b7ca7 SHA512 1fa436fb58014658de115aad740532e5a69ec0c330f68995cab8ffbe4e4fee97e865e03abaa394780d18277292891db70f388eff00830223da52b971dfdb451f +EBUILD biglybt-3.5.0.0.ebuild 2944 BLAKE2B 02e083da965f715128a2b24f803d6377356a9fdaccd6eafe56cb3dab9e29cc8be97af1073cf0c65f7d0ede27e155ffdc18966b375e6bcf4cb281ca0671e7193d SHA512 30b2472aaed2d63a4dd693bd03792470c2bd9f7ccb215d85f80adbbf3409538e9967ae6669c961b0081415df37fb052b6da194c60066cd8f420ef83a29e21725 MISC metadata.xml 431 BLAKE2B 2d99951c29491ef26da2c83cf34ee292db74fc8a693bda6bea48c846ebffe43f660b962518c2bbc92433839672838497209bbc841ccbd7f514052d70e5c4d74d SHA512 8aded1d9b8f5987d741c041c1374ad849bfffd4a1e70cac9e1daeeda144e91f88183a2cf26527ee9f1c80d1de93bf91840b49eda82d5e1aa833eb6e593bfca88 diff --git a/net-p2p/biglybt/biglybt-3.5.0.0.ebuild b/net-p2p/biglybt/biglybt-3.5.0.0.ebuild new file mode 100644 index 000000000000..4aa34f1c0021 --- /dev/null +++ b/net-p2p/biglybt/biglybt-3.5.0.0.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# No tests, #839681 +JAVA_PKG_IUSE="doc source" +MAVEN_PROVIDES="com.biglybt:biglybt-core:3.5.0.0 com.biglybt:biglybt-ui:3.5.0.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Feature-filled Bittorrent client based on the Azureus open source project" +HOMEPAGE="https://www.biglybt.com" +SRC_URI="https://github.com/BiglySoftware/BiglyBT/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/BiglyBT-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +CP_DEPEND=" + dev-java/commons-cli:1 + dev-java/swt:4.27 +" + +# Due to removal of AENameServiceDescriptor it would fail to start under jdk:1.8 +# StartServer ERROR: unable to bind to 127.0.0.1:6880 listening for passed torrent info: \ +# sun.net.spi.nameservice.NameServiceDescriptor: Provider com.biglybt.core.util.spi.AENameServiceDescriptor not found +# Restricting to jdk:11 for https://bugs.gentoo.org/888859 +DEPEND="${CP_DEPEND} + >=virtual/jdk-11:*" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +DOCS=( + CODING_GUIDELINES.md + CONTRIBUTING.md + ChangeLog.txt + README.md + TRANSLATE.md + issue_template.md +) + +PATCHES=( + "${FILESDIR}/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch" + "${FILESDIR}/biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch" + "${FILESDIR}/biglybt-3.2.0.0-disable-shared-plugins.patch" + "${FILESDIR}/biglybt-3.5.0.0-Entities.javadoc.patch" +) + +src_prepare() { + default #780585 + java-pkg-2_src_prepare + # AENameServiceDescriptor fails to compile with jdk >= 11 + # "error: package sun.net.spi.nameservice does not exist" + # https://github.com/BiglySoftware/BiglyBT/pull/2611 + rm -r core/src/com/biglybt/core/util/spi || die +# rm -r core/src/META-INF || die + + sed \ + -e '/enable.update/s:true:false: ' \ + -i core/src/com/biglybt/pifimpl/update/PluginUpdatePlugin.java || die + + cp -r core/{src,resources} || die + find core/resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed" + + cp -r uis/{src,resources} || die + find uis/resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed" +} + +src_compile() { + einfo "Compiling module \"core\"" + JAVA_ENCODING="8859_1" + JAVA_JAR_FILENAME="biglybt-core.jar" + JAVA_RESOURCE_DIRS="core/resources" + JAVA_SRC_DIR="core/src" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA="biglybt-core.jar" + + einfo "Compiling module \"uis\"" + JAVA_JAR_FILENAME="BiglyBT.jar" + JAVA_LAUNCHER_FILENAME="${PN}" + JAVA_MAIN_CLASS="com.biglybt.ui.Main" + JAVA_RESOURCE_DIRS="uis/resources" + JAVA_SRC_DIR="uis/src" + java-pkg-simple_src_compile + + if use doc; then + JAVADOC_ARGS="-source 8" + einfo "Compiling javadocs" + JAVA_SRC_DIR=( + "core/src" + "uis/src" + ) + JAVA_JAR_FILENAME="ignoreme.jar" + java-pkg-simple_src_compile + fi +} + +src_install() { + java-pkg-simple_src_install + + if use source; then + java-pkg_dosrc "core/src/*" + java-pkg_dosrc "uis/src/*" + fi + default +} diff --git a/net-p2p/biglybt/files/biglybt-3.5.0.0-Entities.javadoc.patch b/net-p2p/biglybt/files/biglybt-3.5.0.0-Entities.javadoc.patch new file mode 100644 index 000000000000..f196530ce156 --- /dev/null +++ b/net-p2p/biglybt/files/biglybt-3.5.0.0-Entities.javadoc.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/888859 +--- a/core/src/org/apache/commons/lang/Entities.java ++++ b/core/src/org/apache/commons/lang/Entities.java +@@ -23,10 +23,10 @@ import java.util.TreeMap; + * <p>Provides HTML and XML entity utilities.</p> + * + * @see <a href="http://hotwired.lycos.com/webmonkey/reference/special_characters/">ISO Entities</a> +- * @see </br><a href="http://www.w3.org/TR/REC-html32#latin1">HTML 3.2 Character Entities for ISO Latin-1</a> +- * @see </br><a href="http://www.w3.org/TR/REC-html40/sgml/entities.html">HTML 4.0 Character entity references</a> +- * @see </br><a href="http://www.w3.org/TR/html401/charset.html#h-5.3">HTML 4.01 Character References</a> +- * @see </br><a href="http://www.w3.org/TR/html401/charset.html#code-position">HTML 4.01 Code positions</a> ++ * @see <br /><a href="http://www.w3.org/TR/REC-html32#latin1">HTML 3.2 Character Entities for ISO Latin-1</a> ++ * @see <br /><a href="http://www.w3.org/TR/REC-html40/sgml/entities.html">HTML 4.0 Character entity references</a> ++ * @see <br /><a href="http://www.w3.org/TR/html401/charset.html#h-5.3">HTML 4.01 Character References</a> ++ * @see <br /><a href="http://www.w3.org/TR/html401/charset.html#code-position">HTML 4.01 Code positions</a> + * + * @author <a href="mailto:alex@purpletech.com">Alexander Day Chaffee</a> + * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a> |