diff options
Diffstat (limited to 'dev-java')
21 files changed, 0 insertions, 517 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 27270e93937e..932f927088a2 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/bnd-junit/Manifest b/dev-java/bnd-junit/Manifest deleted file mode 100644 index aa6ca7ff1fe9..000000000000 --- a/dev-java/bnd-junit/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST bndlib-2.1.0.tar.gz 123217291 BLAKE2B ab8e6876b13db538746f77aa1fe7800e5a3b5e539e1980da78f69c64344f4964bf0a21f2329f7684b055d0de39a10c8df36e030922e9933b29fccb9a35aa669a SHA512 6965143ced45c15fc2316716de32e80506cc411d52309b24313fff37e0713a45ad200d5b3701f0d47a131a3163ec266ed8acb4544884cd1c59c9716c7a2b285e -EBUILD bnd-junit-2.1.0-r2.ebuild 955 BLAKE2B af87f54f96f02dfa7f038a2f01fa49c98c221e7e543e6da62603a7f430815efaab02a33cd5fd9d54b3985909068e5df762d040409d4863ac19e3dbeb1223b4d0 SHA512 1887c9f82c01d5eda2b730bccbb860e3f40556cc5623c10250eb453e2700bf92a0e9d2e01daf9d9cbd34f070dbf800cde79c8699fe8096728d9089df9bac1a60 -MISC metadata.xml 324 BLAKE2B 4abc17608a568a12af96dc0ddb7b82d55341ad891537e120633fd8517e09a339d805325988f3208050cde9b20aeb0a4dcab95e55ba13c66854a0d90b0e54551c SHA512 e9e23c794433024b0888c2d5859120c0ef39cd6b55df99035c3ea1761280bd4287fdeb4aaf8ff067bab1bea80dcdcc9060f74b43b1a6a004bad87eb69a9bd3c3 diff --git a/dev-java/bnd-junit/bnd-junit-2.1.0-r2.ebuild b/dev-java/bnd-junit/bnd-junit-2.1.0-r2.ebuild deleted file mode 100644 index 3c659d744e29..000000000000 --- a/dev-java/bnd-junit/bnd-junit-2.1.0-r2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Junit plugin for bndlib, a swiss army knife for OSGi" -HOMEPAGE="http://www.aqute.biz/Bnd/Bnd" -SRC_URI="https://github.com/bndtools/bnd/archive/${PV}.REL.tar.gz -> bndlib-${PV}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -CDEPEND=" - dev-java/osgi-core-api:0 - dev-java/bndlib:0" - -DEPEND=" - ${CDEPEND} - virtual/jdk:1.8 - test? ( dev-java/junit:4 )" - -RDEPEND=" - ${CDEPEND} - virtual/jre:1.8" - -S="${WORKDIR}/bnd-${PV}.REL/biz.aQute.junit" - -EANT_BUILD_TARGET="build" -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="bndlib,junit-4,osgi-core-api" - -# Tests appear broken and cause a circular dependency. -RESTRICT="test" - -src_prepare() { - default - java-pkg_clean - cp ../cnf/build.xml . || die -} - -src_install() { - java-pkg_newjar generated/biz.aQute.junit.jar -} diff --git a/dev-java/bnd-junit/metadata.xml b/dev-java/bnd-junit/metadata.xml deleted file mode 100644 index 94feb65b0b18..000000000000 --- a/dev-java/bnd-junit/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - <upstream> - <remote-id type="github">bndtools/bnd</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/glassfish-persistence/Manifest b/dev-java/glassfish-persistence/Manifest deleted file mode 100644 index 0a3f72426e5c..000000000000 --- a/dev-java/glassfish-persistence/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX glassfish-persistence-1.0-python2.7-sax-parser.patch 286 BLAKE2B 49667ba4e41eadfea73fc8b53cf61f5fafd4654292ecd1b2e2b653411d252b1ff8bc40e6c9e0cd8fdd1375ba86a358495415a68ff1466f857d96cfd90ce5605a SHA512 ba7c32d86991407d45a86d640d95007cc47dcd28c74f441e38840206093653dc31e4824d4986cd9cd60d44fba0c1f4365f9348a9362529531fa9410e9fd5cad1 -DIST glassfish-9_0-b48-src.zip 35162972 BLAKE2B ff96f2135c6bbdc60eadab6a6bd60b623ac1a3635e4465591ee75f6c1229e83f9f6424b46e42eb333eb6edd3ba1aba51897ab80ca5bd5c754e516a27a03381d9 SHA512 512ccd1c89a1bbd88ca1e45b1e60693bd3c4a6c6ffa19376febb786eb73556f27bc0ce4f0e760d6d80b0711206f6701e7c7da70ef3a5e0084ad0482246506a48 -EBUILD glassfish-persistence-1.0-r2.ebuild 833 BLAKE2B ca274775fecc50ec5d13e7f3212e5e69cef48ef06144514502a4f902d92980ed24a0a5d1fa93164a7f82fbf6d7713d07c809ad9003129cf47d769232516f657d SHA512 f8344595a246db5c3fc74b357bb578d5a4940da4a5e9a146272c4337e33f5e94d1d0611e7a9b56d6c43df5428d64f9ead6289b7016714ac462a255a7ca324114 -MISC metadata.xml 215 BLAKE2B 869610e21e1baac019fc79b7072721c201f4e3f0c6a65712d93e69131505f6ee0aab3ed48890073238645280b22edf2078b56dd4ba7edb593952f9ee2b2ff1e0 SHA512 aa3da8e5bf0b257d555c610b3dee82560e6fce192024e99eb63932511f25aceb24e3541f01c495771f3f54c299286c35672c8658cd5e577d6ae5927486a125a2 diff --git a/dev-java/glassfish-persistence/files/glassfish-persistence-1.0-python2.7-sax-parser.patch b/dev-java/glassfish-persistence/files/glassfish-persistence-1.0-python2.7-sax-parser.patch deleted file mode 100644 index 51b1e8af9429..000000000000 --- a/dev-java/glassfish-persistence/files/glassfish-persistence-1.0-python2.7-sax-parser.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- glassfish/bootstrap/build.xml -+++ glassfish/bootstrap/build.xml -@@ -23,7 +23,7 @@ - --> - - <!DOCTYPE project [ -- <!ENTITY glassfish SYSTEM "file:./glassfish.xml"> -+ <!ENTITY glassfish SYSTEM "file:glassfish.xml"> - ]> - - <project name="Top Level Build" default="all" basedir="."> diff --git a/dev-java/glassfish-persistence/glassfish-persistence-1.0-r2.ebuild b/dev-java/glassfish-persistence/glassfish-persistence-1.0-r2.ebuild deleted file mode 100644 index 9bfaadee8841..000000000000 --- a/dev-java/glassfish-persistence/glassfish-persistence-1.0-r2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Glassfish implementation of persistence API" -HOMEPAGE="https://javaee.github.io/glassfish/" -SRC_URI="https://download.java.net/javaee5/fcs_branch/promoted/source/glassfish-9_0-b48-src.zip" - -LICENSE="CDDL" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -BDEPEND="app-arch/unzip" -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" - -S="${WORKDIR}/glassfish" - -EANT_BUILD_XML="persistence-api/build.xml" -EANT_BUILD_TARGET="all" - -PATCHES=( - "${FILESDIR}"/${P}-python2.7-sax-parser.patch -) - -src_prepare() { - default -} - -src_install() { - cd "${WORKDIR}"/publish/glassfish || die - java-pkg_newjar lib/javaee.jar - - insinto /usr/share/${PN}/lib/schemas - doins lib/schemas/*.xsd -} diff --git a/dev-java/glassfish-persistence/metadata.xml b/dev-java/glassfish-persistence/metadata.xml deleted file mode 100644 index 851b900d2361..000000000000 --- a/dev-java/glassfish-persistence/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>java@gentoo.org</email> -</maintainer> -</pkgmetadata> diff --git a/dev-java/osgi-compendium/Manifest b/dev-java/osgi-compendium/Manifest deleted file mode 100644 index 664e1aea37df..000000000000 --- a/dev-java/osgi-compendium/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST osgi.cmpn-4.3.1.jar 741615 BLAKE2B 6f6058c07fd7744f0369d05cdf607b4d4fe51bbdf567c6a6c951413b0627eb1dbb6e56f65641a8472198d0aedca378da4715c26ebe05aa4e7ef80adb1020175f SHA512 803e929b4b7cfee13a3ffa2c60ad03775afd8409c972bf26e3f79abc590466c2d885bdc339d9af2a3e8fda9cdf082d23a298362ac37935b0ede0719dee27e9f9 -EBUILD osgi-compendium-4.3.1-r4.ebuild 738 BLAKE2B fae9944832e40f166a51ef2b645cf6fe5165c23350ddbdd74efad4c069139ab50958c7bfac03f7b6753a374c2d4f345633c5112a615775ee09b664bb8bc0012e SHA512 544fb1a8544799400aeb411a4dd6636d37627feb315b87367220e2be97ce5c07b832d4aa1c687e556ef870245d9483f7682cb901eacb9c3e3494f3f84a969198 -MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559 diff --git a/dev-java/osgi-compendium/metadata.xml b/dev-java/osgi-compendium/metadata.xml deleted file mode 100644 index 4221e170cbc0..000000000000 --- a/dev-java/osgi-compendium/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> -</pkgmetadata> diff --git a/dev-java/osgi-compendium/osgi-compendium-4.3.1-r4.ebuild b/dev-java/osgi-compendium/osgi-compendium-4.3.1-r4.ebuild deleted file mode 100644 index 0ca616b9fb7c..000000000000 --- a/dev-java/osgi-compendium/osgi-compendium-4.3.1-r4.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="OSGi Service Platform Compendium API (Companion Code)" -HOMEPAGE="https://docs.osgi.org" -SRC_URI="https://docs.osgi.org/download/r4v43/osgi.cmpn-${PV}.jar" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -CP_DEPEND=" - dev-java/glassfish-persistence:0 - dev-java/osgi-core-api:0 - dev-java/osgi-foundation:0 - dev-java/jakarta-servlet-api:4" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:*" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -BDEPEND="app-arch/unzip" - -JAVA_SRC_DIR="OSGI-OPT/src" - -src_prepare() { - default - rm -r org || die -} diff --git a/dev-java/osgi-core-api/Manifest b/dev-java/osgi-core-api/Manifest deleted file mode 100644 index 039b4834f020..000000000000 --- a/dev-java/osgi-core-api/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST osgi.core-5.0.0.jar 418232 BLAKE2B d7cfb8b2c6ff955ffc8252f248eb7bec562d16598e1a56fb50f12c099adae8b5268bc26003e166794eaee8fa6cb116ce388eb1981ef5a09394c05b7ea8655f0d SHA512 de7c5aa327a4361b81d953951488b84071e525cfd3e50f0334450b8c1b25733248de9459239ee7091f8961ac8b047a0492d692fb7cd408a0ec07df090ea9e2c3 -EBUILD osgi-core-api-5.0.0-r2.ebuild 641 BLAKE2B cffca2e2ca874159cf9446b4b2d2614435a27731f6c49fbaae3faadbe07b6a7982c95c369953e98690543c8a7acb1d99cdbc58870ce2d1d3deaf2cb743124fdd SHA512 e315a783580c253591d83253109390880fb469af2a2144e6445a0d2d99f1c4bb28a79282a67327e968a7621f1d87301b8054299b86a5a6db6d489a40ac12531a -MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f diff --git a/dev-java/osgi-core-api/metadata.xml b/dev-java/osgi-core-api/metadata.xml deleted file mode 100644 index 6021501589e0..000000000000 --- a/dev-java/osgi-core-api/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> -</maintainer> -</pkgmetadata> diff --git a/dev-java/osgi-core-api/osgi-core-api-5.0.0-r2.ebuild b/dev-java/osgi-core-api/osgi-core-api-5.0.0-r2.ebuild deleted file mode 100644 index 36af959c037c..000000000000 --- a/dev-java/osgi-core-api/osgi-core-api-5.0.0-r2.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="org.osgi:org.osgi.core:5.0.0" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="OSGi Service Platform Core API (Companion Code)" -HOMEPAGE="http://www.osgi.org/Specifications/HomePage" -SRC_URI="http://www.osgi.org/download/r5/osgi.core-${PV}.jar" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x64-macos" - -RDEPEND=">=virtual/jre-1.8:*" - -DEPEND=">=virtual/jdk-1.8:* - app-arch/unzip" - -JAVA_SRC_DIR="OSGI-OPT/src" - -src_prepare() { - default - rm -r org || die -} diff --git a/dev-java/osgi-enterprise-api/Manifest b/dev-java/osgi-enterprise-api/Manifest deleted file mode 100644 index 70a814fc557b..000000000000 --- a/dev-java/osgi-enterprise-api/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST osgi.enterprise-5.0.0.jar 479506 BLAKE2B 2bd53b50e469388d132a6d3ebd78d4040093f8c1d79299fd87412853d959f7559f04287567eeea47635fe287a3e9d3812ac9303a5d39ec35135ab3c58bd0b010 SHA512 0404c05afd8cb3ef8b826b0f08deeb03b0027ca99e091953d39ef69674809c5b899e0f2c8efb685df5fce070c2aafcf813e470fbb538d4ec3b480a8060351144 -EBUILD osgi-enterprise-api-5.0.0-r3.ebuild 730 BLAKE2B f6ed2a4cd12a88f042b0df66c03609c9ca8a446d87a5bfa6b36d6cbfffcf59c2e4a866b4e5b775793da103e42c6f3842355e9cbbe2e8c35a57e911db28979c50 SHA512 9634a3e8a06b67c88113804572fd8e5eedb71290e4a7c1fdd963e2506553051f2afe0fdd07e8c2f71aef63f778c79f80e6256f67a45c18793e8db64456fc080b -MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f diff --git a/dev-java/osgi-enterprise-api/metadata.xml b/dev-java/osgi-enterprise-api/metadata.xml deleted file mode 100644 index 6021501589e0..000000000000 --- a/dev-java/osgi-enterprise-api/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> -</maintainer> -</pkgmetadata> diff --git a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r3.ebuild b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r3.ebuild deleted file mode 100644 index bf8943b5ed02..000000000000 --- a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0-r3.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="OSGi Enterprise Release 5 Companion Code" -HOMEPAGE="http://www.osgi.org/Main/HomePage" -SRC_URI="https://docs.osgi.org/download/r5/osgi.enterprise-${PV}.jar" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -RESTRICT="bindist" - -CP_DEPEND="dev-java/glassfish-persistence:0 - dev-java/osgi-core-api:0 - dev-java/javax-servlet-api:2.5" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:*" - -BDEPEND="app-arch/unzip" - -JAVA_SRC_DIR="OSGI-OPT/src" - -src_prepare() { - default - rm -r org || die -} diff --git a/dev-java/osgi-foundation/Manifest b/dev-java/osgi-foundation/Manifest deleted file mode 100644 index 0be11e1fdd0f..000000000000 --- a/dev-java/osgi-foundation/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX osgi-foundation-1.2.0-build.xml 9886 BLAKE2B aacff8e000b02c742ee7e5d03d2c057b6baf56bce9cc1b9cd0031c39550e9ef07bcf85a7d89dd265cc523d638063e425b1553f146b5ce6af107440b1e0d61d43 SHA512 5f106bd612a65033e35beb4fb635d07199e10b69e692db5949424ecf7a8baf2bd6af0f35898bd465334356333d82d5c4941ef6ce7ce16c3939f425f4e58c6fcc -DIST osgi-foundation-1.2.0.tar.xz 45176 BLAKE2B 4b5432dfaad9134f402b5f448a8d7ba5f626a7b160bbc953914352a28f745725da851b6c5f2122f820b52f2fd8ad463c2df5c8ae3e2b46ef8bb9d56d89d90f1b SHA512 6523dd6b4cd8205aa3359fae4640ff6b17a1944aec6bf23acf0d6e4eb33839a9b9049e8df0c55a4f35013b40b1df2391a53ed68df682a317c35dca504e9b996b -EBUILD osgi-foundation-1.2.0-r2.ebuild 658 BLAKE2B 9602a7a08c48b83e91ab142961e475969e5e7266f15689773937762e28e9db5e7194d0c6e446d031876f0f126c96da2c9f9213c981be2176eaa5c1c07847bda2 SHA512 aad271450c88225d522a840b1fcd051f920f28cb1707562d85470bd31fc83d9ab3d9807f72774d476195ca56b4be4836f4577dab98b414a1a3144ccfa03b89a7 -MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559 diff --git a/dev-java/osgi-foundation/files/osgi-foundation-1.2.0-build.xml b/dev-java/osgi-foundation/files/osgi-foundation-1.2.0-build.xml deleted file mode 100644 index a33f09709ada..000000000000 --- a/dev-java/osgi-foundation/files/osgi-foundation-1.2.0-build.xml +++ /dev/null @@ -1,218 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- ====================================================================== --> -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> -<!-- ====================================================================== --> - -<!-- ====================================================================== --> -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> -<!-- ====================================================================== --> -<!-- --> -<!-- Any modifications will be overwritten. --> -<!-- --> -<!-- Generated by Maven Ant Plugin on 5/11/13 9:36 AM --> -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> -<!-- --> -<!-- ====================================================================== --> - -<project name="org.osgi.foundation-from-maven" default="package" basedir="."> - - <!-- ====================================================================== --> - <!-- Build environment properties --> - <!-- ====================================================================== --> - - <property file="${user.home}/.m2/maven.properties"/> - <property file="maven-build.properties"/> - - <property name="maven.build.finalName" value="org.osgi.foundation-1.2.0"/> - <property name="maven.build.dir" value="target"/> - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> - <property name="maven.build.srcDir.0" value="src/main/java"/> - <property name="maven.build.resourceDir.0" value="src/main/resources"/> - <property name="maven.build.resourceDir.1" value="."/> - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> - <property name="maven.build.testDir.0" value="src/test/java"/> - <property name="maven.build.testResourceDir.0" value="src/test/resources"/> - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> - - <property name="maven.repo.local" value="${user.home}/.m2/repository"/> - <property name="maven.settings.offline" value="false"/> - <property name="maven.settings.interactiveMode" value="true"/> - - <!-- ====================================================================== --> - <!-- Defining classpaths --> - <!-- ====================================================================== --> - - <path id="build.classpath"/> - <path id="build.test.classpath"> - <pathelement location="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"/> - <pathelement location="${maven.repo.local}/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar"/> - </path> - - <!-- ====================================================================== --> - <!-- Cleaning up target --> - <!-- ====================================================================== --> - - <target name="clean" description="Clean the output directory"> - <delete dir="${maven.build.dir}"/> - </target> - - <!-- ====================================================================== --> - <!-- Compilation target --> - <!-- ====================================================================== --> - - <target name="compile" depends="get-deps" description="Compile the code"> - <mkdir dir="${maven.build.outputDir}"/> - <javac destdir="${maven.build.outputDir}" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.3" - verbose="false" - fork="false" - source="1.3"> - <src> - <pathelement location="${maven.build.srcDir.0}"/> - </src> - <classpath refid="build.classpath"/> - </javac> - <mkdir dir="${maven.build.outputDir}/META-INF"/> - <copy todir="${maven.build.outputDir}/META-INF"> - <fileset dir="${maven.build.resourceDir.1}"> - <include name="LICENSE*"/> - <include name="NOTICE*"/> - </fileset> - </copy> - </target> - - <!-- ====================================================================== --> - <!-- Test-compilation target --> - <!-- ====================================================================== --> - - <target name="compile-tests" - depends="compile" - description="Compile the test code" - unless="maven.test.skip"> - <mkdir dir="${maven.build.testOutputDir}"/> - </target> - - <!-- ====================================================================== --> - <!-- Run all tests --> - <!-- ====================================================================== --> - - <target name="test" - depends="compile-tests, junit-missing" - unless="junit.skipped" - description="Run the test cases"/> - - <target name="test-junit-present"> - <available classname="junit.framework.Test" property="junit.present"/> - </target> - - <target name="test-junit-status" - depends="test-junit-present"> - <condition property="junit.missing"> - <and> - <isfalse value="${junit.present}"/> - <isfalse value="${maven.test.skip}"/> - </and> - </condition> - <condition property="junit.skipped"> - <or> - <isfalse value="${junit.present}"/> - <istrue value="${maven.test.skip}"/> - </or> - </condition> - </target> - - <target name="junit-missing" - depends="test-junit-status" - if="junit.missing"> - <echo>=================================== WARNING ===================================</echo> - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> - <echo>===============================================================================</echo> - </target> - - <!-- ====================================================================== --> - <!-- Javadoc target --> - <!-- ====================================================================== --> - - <target name="javadoc" description="Generates the Javadoc of the application"> - <javadoc sourcepath="${maven.build.srcDir.0}" - packagenames="*" - destdir="${maven.reporting.outputDirectory}/apidocs" - access="protected" - old="false" - verbose="false" - version="true" - use="true" - author="true" - splitindex="false" - nodeprecated="false" - nodeprecatedlist="false" - notree="false" - noindex="false" - nohelp="false" - nonavbar="false" - serialwarn="false" - charset="ISO-8859-1" - linksource="false" - breakiterator="false"/> - </target> - - <!-- ====================================================================== --> - <!-- Package target --> - <!-- ====================================================================== --> - - <target name="package" depends="compile,test" description="Package the application"> - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" - compress="true" - index="false" - basedir="${maven.build.outputDir}" - excludes="**/package.html"/> - </target> - - <!-- ====================================================================== --> - <!-- A dummy target for the package named after the type it creates --> - <!-- ====================================================================== --> - - <target name="jar" depends="package" description="Builds the jar for the application"/> - - <!-- ====================================================================== --> - <!-- Download dependencies target --> - <!-- ====================================================================== --> - - <target name="test-offline"> - <condition property="maven.mode.offline"> - <equals arg1="${maven.settings.offline}" arg2="true"/> - </condition> - </target> - - <target name="get-deps" - depends="test-offline" - description="Download all dependencies" - unless="maven.mode.offline"> - <mkdir dir="${maven.repo.local}"/> - <mkdir dir="${maven.repo.local}/junit/junit/3.8.1"/> - <get src="http://people.apache.org/repo/m2-snapshot-repository/junit/junit/3.8.1/junit-3.8.1.jar" - dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar" - dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/easymock/easymock/1.2_Java1.3"/> - <get src="http://people.apache.org/repo/m2-snapshot-repository/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar" - dest="${maven.repo.local}/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar" - dest="${maven.repo.local}/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar" - usetimestamp="false" - ignoreerrors="true"/> - </target> - -</project> diff --git a/dev-java/osgi-foundation/metadata.xml b/dev-java/osgi-foundation/metadata.xml deleted file mode 100644 index 4221e170cbc0..000000000000 --- a/dev-java/osgi-foundation/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> -</pkgmetadata> diff --git a/dev-java/osgi-foundation/osgi-foundation-1.2.0-r2.ebuild b/dev-java/osgi-foundation/osgi-foundation-1.2.0-r2.ebuild deleted file mode 100644 index 7adbb2f51fdd..000000000000 --- a/dev-java/osgi-foundation/osgi-foundation-1.2.0-r2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="OSGi R4 Foundation EE by Apache Felix" -HOMEPAGE="http://felix.apache.org/" -SRC_URI="https://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz" - -LICENSE="Apache-2.0 OSGi-Specification-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" - -src_prepare() { - default - cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die -} - -src_install() { - java-pkg_newjar target/org.osgi.foundation-${PV}.jar org.osgi.foundation.jar -} |