From 65a36438d5b824f80023c282dadc3fcd5736b526 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Sep 2024 12:30:55 +0100 Subject: gentoo auto-resync : 11:09:2024 - 12:30:54 --- net-p2p/Manifest.gz | Bin 6761 -> 6757 bytes net-p2p/biglybt/Manifest | 2 +- net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild | 109 ------------------------------ net-p2p/biglybt/biglybt-3.6.0.0-r2.ebuild | 109 ++++++++++++++++++++++++++++++ 4 files changed, 110 insertions(+), 110 deletions(-) delete mode 100644 net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild create mode 100644 net-p2p/biglybt/biglybt-3.6.0.0-r2.ebuild (limited to 'net-p2p') diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz index 497df9c01ef5..8026aec9ed7e 100644 Binary files a/net-p2p/Manifest.gz and b/net-p2p/Manifest.gz differ diff --git a/net-p2p/biglybt/Manifest b/net-p2p/biglybt/Manifest index a5fb61e74212..d10bf6509f8b 100644 --- a/net-p2p/biglybt/Manifest +++ b/net-p2p/biglybt/Manifest @@ -3,5 +3,5 @@ AUX biglybt-3.2.0.0-disable-shared-plugins.patch 553 BLAKE2B b4844e817c76ddb03ac AUX biglybt-3.5.0.0-Entities.javadoc.patch 1378 BLAKE2B 0984fcc6d342a3b54129b0196611a9b76d3aad4e7fa0b8cba7d43ac8bb7102a92072e9e288a979f7a92cf1ac496868be863b51e9a1fb3b3d83aad7ae25a1d5eb SHA512 c7987683558224f7752dbdc91d10147c5a4fbe4c0a7db47a2dd495e728d3f8b2aa4c7ec5712163160a60431e5d043f86e4018becc63fe61f8909dcdd7201f41d AUX biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch 1374 BLAKE2B 9f2e72b24e20db59ba57df5591e3a722b114b697f6bd4c872c5a2b41eae1310d03489c03c353748cb877735a698e3ee5bced62809ab2bf30f8bf7609be9e07a2 SHA512 dd4dc70157685acdcd0e4c4e61058367489ef4081fc027c858a31af85e5b84432d2146c7a4742ff644ae6bf79a60e2c08d5a68590829c66c008a490c9cb04247 DIST biglybt-3.6.0.0.tar.gz 43972902 BLAKE2B 76995d3d5f24f054690e609d2be7bd822f6c8573b6627bcf380c3a93be86265f4ca827c2991db65ef39c9f3f79b0cd8e0aebce492571a36bf237c95fc3d6cc54 SHA512 b56beb006ab813efa2ab2aff8563a04675e677ea70fe6ef72062e2d38ec753749b36740ae87f851739cb1389948a916273cb6ffb65758e651d0701a7f6237afd -EBUILD biglybt-3.6.0.0-r1.ebuild 3021 BLAKE2B 975d224f4da9fd6210809e84154652c82d099c8215a59aa6f85cc0b4a218d987383c21dd60b1bc7d5dc8754fcb05481615894c5401cc602a1818e99a9526b62e SHA512 1ab89f50dc267a9cd57a6b4dfc16015866255a5012065c01a4a7ce1e2e23632d29b11dc943310d13f2f956eb2dd61603abf406d6b01f2e148dc66d2546cfb9fc +EBUILD biglybt-3.6.0.0-r2.ebuild 3021 BLAKE2B f17f56bc8a7c0bcda184dea93aaaad862fc0a2f9f968469b6022fa21a25cf352ca06b978a1cc8aed89e1fc2ef38733fca7242ab7d5ab7e1babda652239bbfe47 SHA512 ed2fbb0115ff90934f3f32172567f8565a1f1260e8209009ba7032edf554e8bbf808de3deb55f66e71be51999bfea1a46075b2a581279418cc5abd1e99eba3db MISC metadata.xml 904 BLAKE2B fd6313faad9aa5140a1110c0fbb53fb5b220e33cdf8c0c59d8a96ed6b424d67cb1922537543b0c7bfdf6fdced2d9273b963db5e7126b0f9d9c61404d4774ea60 SHA512 5106049f93d633214a67dfa9bc52d721911bd7c7c08f36dc8dd2cc052121929c0d95483138685877a6cbbe152be58ec8165320b06a3f1bd78f9f625af2d55c1b diff --git a/net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild b/net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild deleted file mode 100644 index afbc9f0b3c8f..000000000000 --- a/net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2024 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.${PN}:${PN}-core:${PV} com.${PN}:${PN}-ui:${PV}" - -inherit desktop java-pkg-2 java-pkg-simple optfeature xdg - -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[cairo] -" - -# 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 -) - -JAVADOC_SRC_DIRS=( {core,uis}/src ) - -PATCHES=( - "${FILESDIR}/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch" - "${FILESDIR}/biglybt-3.2.0.0-disable-shared-plugins.patch" - "${FILESDIR}/biglybt-3.5.0.0-Entities.javadoc.patch" - "${FILESDIR}/biglybt-3.6.0.0-disable-PluginUpdatePlugin.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 - - 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_JAR_FILENAME="${PN}-core.jar" - JAVA_RESOURCE_DIRS="core/resources" - JAVA_SRC_DIR="core/src" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA="${PN}-core.jar" - - einfo "Compiling module \"uis\"" - JAVA_JAR_FILENAME="BiglyBT.jar" - JAVA_LAUNCHER_FILENAME="${PN}" - JAVA_MAIN_CLASS="com.${PN}.ui.Main" - JAVA_RESOURCE_DIRS="uis/resources" - JAVA_SRC_DIR="uis/src" - java-pkg-simple_src_compile - - if use doc; then - einfo "Creating javadoc" - JAVADOC_CLASSPATH="${JAVA_GENTOO_CLASSPATH}" - ejavadoc - fi -} - -src_install() { - java-pkg-simple_src_install - - make_desktop_entry "${PN}" BiglyBT "${PN}" "Network;FileTransfer" - - if use source; then - java-pkg_dosrc "core/src/*" - java-pkg_dosrc "uis/src/*" - fi - default -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature_header "If you are using plugin proxies you might want to swap them for these native packages:" - optfeature "I2P SOCKS proxy" net-vpn/i2p net-vpn/i2pd - optfeature "TOR SOCKS proxy" net-vpn/tor -} diff --git a/net-p2p/biglybt/biglybt-3.6.0.0-r2.ebuild b/net-p2p/biglybt/biglybt-3.6.0.0-r2.ebuild new file mode 100644 index 000000000000..3bd27ae401f8 --- /dev/null +++ b/net-p2p/biglybt/biglybt-3.6.0.0-r2.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2024 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.${PN}:${PN}-core:${PV} com.${PN}:${PN}-ui:${PV}" + +inherit desktop java-pkg-2 java-pkg-simple optfeature xdg + +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:0 + dev-java/swt:4.27[cairo] +" + +# 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 +) + +JAVADOC_SRC_DIRS=( {core,uis}/src ) + +PATCHES=( + "${FILESDIR}/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch" + "${FILESDIR}/biglybt-3.2.0.0-disable-shared-plugins.patch" + "${FILESDIR}/biglybt-3.5.0.0-Entities.javadoc.patch" + "${FILESDIR}/biglybt-3.6.0.0-disable-PluginUpdatePlugin.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 + + 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_JAR_FILENAME="${PN}-core.jar" + JAVA_RESOURCE_DIRS="core/resources" + JAVA_SRC_DIR="core/src" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA="${PN}-core.jar" + + einfo "Compiling module \"uis\"" + JAVA_JAR_FILENAME="BiglyBT.jar" + JAVA_LAUNCHER_FILENAME="${PN}" + JAVA_MAIN_CLASS="com.${PN}.ui.Main" + JAVA_RESOURCE_DIRS="uis/resources" + JAVA_SRC_DIR="uis/src" + java-pkg-simple_src_compile + + if use doc; then + einfo "Creating javadoc" + JAVADOC_CLASSPATH="${JAVA_GENTOO_CLASSPATH}" + ejavadoc + fi +} + +src_install() { + java-pkg-simple_src_install + + make_desktop_entry "${PN}" BiglyBT "${PN}" "Network;FileTransfer" + + if use source; then + java-pkg_dosrc "core/src/*" + java-pkg_dosrc "uis/src/*" + fi + default +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature_header "If you are using plugin proxies you might want to swap them for these native packages:" + optfeature "I2P SOCKS proxy" net-vpn/i2p net-vpn/i2pd + optfeature "TOR SOCKS proxy" net-vpn/tor +} -- cgit v1.2.3