Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/vuze/
Date: Thu, 04 Jun 2020 07:40:53
Message-Id: 1591256431.98cd25ee621bc70cd383a29869818fbfb3cb9349.fordfrog@gentoo
1 commit: 98cd25ee621bc70cd383a29869818fbfb3cb9349
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 4 07:40:31 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 4 07:40:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98cd25ee
7
8 net-p2p/vuze: removed obsolete 4.8.1.2-r1
9
10 Bug: https://bugs.gentoo.org/700920
11 Package-Manager: Portage-2.3.100, Repoman-2.3.22
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 net-p2p/vuze/Manifest | 2 -
15 net-p2p/vuze/vuze-4.8.1.2-r1.ebuild | 137 ------------------------------------
16 2 files changed, 139 deletions(-)
17
18 diff --git a/net-p2p/vuze/Manifest b/net-p2p/vuze/Manifest
19 index 89f0a6704fb..4756bf87d1b 100644
20 --- a/net-p2p/vuze/Manifest
21 +++ b/net-p2p/vuze/Manifest
22 @@ -1,3 +1 @@
23 -DIST Vuze_4812_source.zip 9530217 BLAKE2B af55951a9d8b86a03483e6e9ebc6f63cd7a7305587d36ef863257b7b86e911f7012e73f532b3b4648000cfff5fa2fd2cd1848f0742791232ceee54f158a9c219 SHA512 7007c91f829c57d0f08b9da4ea3fcc8820efe14aeec7286cf764e5ac2d7d165f3a14abc6b0e92a617e21b45803f7c121fb00ddd8c5e8d9664509eb3337fc65bf
24 DIST Vuze_5760_source.zip 10928786 BLAKE2B df8bbb797f2a1b0c92bc19be122a0da3b6382dc80f51bb652026e3d68503d19ddb3b16e3bc6c333f12c8bfa52b014f85b0812fd5683fe4553040feff39ab77d8 SHA512 c4c1cc84d3c8ce31772bd677f105f6d00e0a6d867d6890b6a834c9e189bb1752e065a64308cdf1315bace1ca4783843553b45fbf3c15240c57584e2926ba92c5
25 -DIST vuze-4.5.0.2-gentoo-patches.tar.bz2 3143 BLAKE2B 4acaf56539798102e498c2678c8f3239ecc141909738dd1a84fca5cb38516fb363da6ff87d65b08fe04b550d8aafc9f33fa2d404b70f5e34a3129a43080794b5 SHA512 aacaeb404d9b7dbb40d89b04f9ad26caf447202b1fcb63d532f5e01dc611152adbc38804563f1a35227a080b2eadec0e2e42d0baa163d1d5489eec65cd28f83d
26
27 diff --git a/net-p2p/vuze/vuze-4.8.1.2-r1.ebuild b/net-p2p/vuze/vuze-4.8.1.2-r1.ebuild
28 deleted file mode 100644
29 index 4f332aa97f4..00000000000
30 --- a/net-p2p/vuze/vuze-4.8.1.2-r1.ebuild
31 +++ /dev/null
32 @@ -1,137 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -JAVA_PKG_IUSE="source"
39 -
40 -inherit eutils java-pkg-2 java-ant-2 versionator xdg-utils
41 -
42 -MY_PV=$(replace_all_version_separators "")
43 -
44 -PATCHSET_VER="4.5.0.2"
45 -PATCHSET_DIR="${PN}-${PATCHSET_VER}-gentoo-patches"
46 -PATCHSET="${PATCHSET_DIR}.tar.bz2"
47 -SRC_TARBALL="Vuze_${MY_PV}_source.zip"
48 -
49 -DESCRIPTION="BitTorrent client in Java, formerly called Azureus"
50 -HOMEPAGE="http://www.vuze.com/"
51 -SRC_URI="mirror://sourceforge/azureus/${PN}/Vuze_${MY_PV}/${SRC_TARBALL}
52 - mirror://gentoo/${PATCHSET}"
53 -LICENSE="GPL-2 BSD"
54 -
55 -SLOT="0"
56 -KEYWORDS="amd64 ppc64 x86"
57 -IUSE=""
58 -
59 -# bundles parts of commons-lang, but modified
60 -# bundles parts of http://www.programmers-friend.org/
61 -RDEPEND="
62 - dev-java/json-simple:0
63 - dev-java/bcprov:1.40
64 - >=dev-java/commons-cli-1.0:1
65 - >=dev-java/log4j-1.2.8:0
66 - >=dev-java/swt-3.7.2-r1:3.7[cairo]
67 - >=virtual/jre-1.5"
68 -
69 -DEPEND="${RDEPEND}
70 - app-arch/unzip
71 - dev-util/desktop-file-utils
72 - >=virtual/jdk-1.5"
73 -
74 -PDEPEND="~net-p2p/vuze-coreplugins-${PV}"
75 -
76 -src_unpack() {
77 - unpack ${PATCHSET}
78 - mkdir "${S}" && cd "${S}" || die
79 - unpack ${SRC_TARBALL}
80 - # this is no longer needed
81 - rm "${WORKDIR}"/${PATCHSET_DIR}/0006-Remove-the-use-of-windows-only-Tree2-widget.patch || die
82 -}
83 -
84 -java_prepare() {
85 - # build.xml disappeared from 4.4.0.0 although it was there in 4.3.1.4
86 - # hopefully that's just a packaging mistake
87 - [[ -f build.xml ]] && die "upstream has build.xml again, don't overwrite"
88 - cp "${FILESDIR}"/build.xml . || die "failed to copy build.xml"
89 -
90 - EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PATCHSET_DIR}/
91 -
92 - ### Removes OS X files and entries.
93 - rm -rf "org/gudy/azureus2/platform/macosx" \
94 - "org/gudy/azureus2/ui/swt/osx" || die
95 -
96 - ### Removes Windows files.
97 - rm -rf ./org/gudy/azureus2/ui/swt/win32/Win32UIEnhancer.java || die
98 -
99 - ### Removes test files.
100 - rm -rf org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die
101 -
102 - ### Removes bouncycastle (we use our own bcprov).
103 - rm -rf "org/bouncycastle" || die
104 -
105 - ### Removes bundled json
106 - rm -rf "org/json" || die
107 -
108 - ### The Tree2 file does not compile against Linux SWT and is used only on Windows.
109 - ### It's runtime-conditional use is thus patched out in the patchset.
110 - rm -rf "org/eclipse" || die
111 -
112 - mkdir -p build/libs || die
113 -}
114 -
115 -JAVA_ANT_REWRITE_CLASSPATH="true"
116 -EANT_GENTOO_CLASSPATH="swt-3.7,bcprov-1.40,json-simple,log4j,commons-cli-1"
117 -
118 -src_compile() {
119 - local mem
120 - use amd64 && mem="320"
121 - use x86 && mem="192"
122 - use ppc && mem="192"
123 - use ppc64 && mem="256"
124 - use sparc && mem="320"
125 - export ANT_OPTS="-Xmx${mem}m"
126 - java-pkg-2_src_compile
127 -
128 - # bug #302058 - build.xml excludes .txt but upstream jar has it...
129 - jar uf dist/Azureus2.jar ChangeLog.txt || die
130 -}
131 -
132 -src_install() {
133 - java-pkg_dojar dist/Azureus2.jar
134 - dodoc ChangeLog.txt
135 -
136 - java-pkg_dolauncher "${PN}" \
137 - --main org.gudy.azureus2.ui.common.Main -pre "${FILESDIR}/${PN}-4.1.0.0-pre" \
138 - --java_args '-Dazureus.install.path=/usr/share/vuze/ ${JAVA_OPTIONS}' \
139 - --pkg_args '--ui=${UI}'
140 - dosym vuze /usr/bin/azureus
141 -
142 - # https://bugs.gentoo.org/show_bug.cgi?id=204132
143 - java-pkg_register-environment-variable MOZ_PLUGIN_PATH /usr/lib/nsbrowser/plugins
144 -
145 - newicon "${S}"/org/gudy/azureus2/ui/icons/a32.png vuze.png
146 - domenu "${FILESDIR}"/${PN}.desktop
147 -
148 - use source && java-pkg_dosrc "${S}"/{com,edu,org}
149 -}
150 -
151 -pkg_postinst() {
152 - ewarn "Running Vuze as root is not supported and may result in untracked"
153 - ewarn "updates to shared components and then collisions on updates via ebuilds"
154 -
155 - elog "Vuze has been formerly called Azureus and many references to the old name remain."
156 - elog
157 - elog "After running Vuze for the first time, configuration"
158 - elog "options will be placed in '~/.azureus/gentoo.config'."
159 - elog "If you need to change some startup options, you should"
160 - elog "modify this file, rather than the startup script."
161 - elog "Using this config file you can start the console UI."
162 - elog
163 -
164 - xdg_desktop_database_update
165 -}
166 -
167 -pkg_postrm() {
168 - xdg_desktop_database_update
169 -}