diff options
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/jboss-jms-api/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/jboss-jms-api/jboss-jms-api-1.0.1.ebuild | 32 | ||||
| -rw-r--r-- | dev-java/jboss-jms-api/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-java/jctools-core/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/jctools-core/jctools-core-2.0.2.ebuild | 57 | ||||
| -rw-r--r-- | dev-java/jctools-core/metadata.xml | 11 | ||||
| -rw-r--r-- | dev-java/lz4-java/files/lz4-java-1.8.0-r1-Makefile (renamed from dev-java/lz4-java/files/lz4-java-1.8.0-Makefile) | 6 | ||||
| -rw-r--r-- | dev-java/lz4-java/lz4-java-1.8.0-r1.ebuild (renamed from dev-java/lz4-java/lz4-java-1.8.0.ebuild) | 10 | ||||
| -rw-r--r-- | dev-java/sjsxp/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/sjsxp/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-java/sjsxp/sjsxp-1.0.2.ebuild | 38 |
11 files changed, 167 insertions, 8 deletions
diff --git a/dev-java/jboss-jms-api/Manifest b/dev-java/jboss-jms-api/Manifest new file mode 100644 index 000000000000..7e4550815e6a --- /dev/null +++ b/dev-java/jboss-jms-api/Manifest @@ -0,0 +1 @@ +DIST jboss-jms-api-1.0.1.tar.gz 63730 BLAKE2B d97bea2fe9a61bed91552479f6ec37646afcade7a723d10bccd78d6f8e38f1dde11619a1543d00589065df5e5a9e4896a66abb4a9cb1d34406b153456966f137 SHA512 0cbf656fc450983730f2e168da9558eefdff696426caf4bfa61ec5db1051573635aa32bfa87b705f675e61df5d787771ed1d884e6713e1eb454969de92e98902 diff --git a/dev-java/jboss-jms-api/jboss-jms-api-1.0.1.ebuild b/dev-java/jboss-jms-api/jboss-jms-api-1.0.1.ebuild new file mode 100644 index 000000000000..9945be8bdbeb --- /dev/null +++ b/dev-java/jboss-jms-api/jboss-jms-api-1.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jboss/jboss-jms-api_spec/archive/jboss-jms-api_1.1_spec-1.0.1.Final.tar.gz --slot 1.1 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jboss-jms-api-1.0.1.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec:1.0.1.Final" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JSR-000914: Java(TM) Message Service (JMS) 1.1 API" +HOMEPAGE="https://github.com/jboss/jboss-jms-api_spec" +SRC_URI="https://github.com/jboss/${PN}_spec/archive/${PN}_1.1_spec-${PV}.Final.tar.gz -> ${P}.tar.gz" + +LICENSE="CDDL GPL-2-with-classpath-exception" +SLOT="1.1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( LICENSE README ) + +S="${WORKDIR}/${PN}_spec-${PN}_1.1_spec-${PV}.Final" + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} diff --git a/dev-java/jboss-jms-api/metadata.xml b/dev-java/jboss-jms-api/metadata.xml new file mode 100644 index 000000000000..a63267abaf71 --- /dev/null +++ b/dev-java/jboss-jms-api/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/jctools-core/Manifest b/dev-java/jctools-core/Manifest new file mode 100644 index 000000000000..ee8ea275b3b6 --- /dev/null +++ b/dev-java/jctools-core/Manifest @@ -0,0 +1 @@ +DIST jctools-core-2.0.2.tar.gz 4136573 BLAKE2B 6ca4c276422b24b18256b35606b6e59e8be53b77fe0b757e4f46dc4e0bdab0ea8fbb8c58e84794c689aa1df29a80aa847b6baf7cda430f2657720ecb5d60e99f SHA512 734905d6847664a08557fa9807766bfe2cd57e9562f1dc0d908c9fffc627c1cb7576ac079715004da9a1f2ee958c8373caf60c110ef3de8f7da5bb04775f6f7f diff --git a/dev-java/jctools-core/jctools-core-2.0.2.ebuild b/dev-java/jctools-core/jctools-core-2.0.2.ebuild new file mode 100644 index 000000000000..1551483cea07 --- /dev/null +++ b/dev-java/jctools-core/jctools-core-2.0.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/JCTools/JCTools/archive/refs/tags/v2.0.2.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jctools-core-2.0.2.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.jctools:jctools-core:2.0.2" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java Concurrency Tools Core Library" +HOMEPAGE="https://jctools.github.io/JCTools/" +SRC_URI="https://github.com/JCTools/JCTools/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# Compile dependencies +# POM: pom.xml +# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 +# test? org.hamcrest:hamcrest-all:1.3 -> !!!artifactId-not-found!!! + +DEPEND=">=virtual/jdk-1.8:* + test? ( dev-java/hamcrest-library:1.3 )" + +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( + ../{LICENSE,{README,RELEASE-NOTES}.md} + ../resources/'1977 - Lamport - Concurrent Reading and Writing.pdf' + ../resources/'2010 - Pisa - SPSC Queues on Shared Cache Multi-Core Systems.pdf' + ../resources/'2011 - Dice - MultiLane - A Concurrent Blocking Multiset.pdf' + ../resources/'2011 - Technion - CAFE - Scalable Task Pools with Adjustable Fairness and Contention.pdf' + ../resources/'2012 - Junchang- BQueue- Efficient and Practical Queuing.pdf' + ../resources/'2012 - Salzburg - Fast and Scalable k-FIFO Queues.pdf' + ../resources/'2012 - Technion - SALSA - NUMA-aware Algorithm for Producer-Consumer Pools.pdf' + ../resources/'2013 - Afek - Fast Concurrent Queues for x86 Processors.pdf' + ../resources/'2013 - Salzburg - Distributed Queues in Shared Memory.pdf' + ../resources/'2014 - Afek - Fence-Free Work Stealing on Bounded TSO Processors.pdf' +) + +S="${WORKDIR}/JCTools-${PV}/jctools-core" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4,hamcrest-library-1.3" +JAVA_TEST_SRC_DIR="src/test/java" + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} diff --git a/dev-java/jctools-core/metadata.xml b/dev-java/jctools-core/metadata.xml new file mode 100644 index 000000000000..6d2c403c297a --- /dev/null +++ b/dev-java/jctools-core/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/JCTools/JCTools/issues</bugs-to> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/lz4-java/files/lz4-java-1.8.0-Makefile b/dev-java/lz4-java/files/lz4-java-1.8.0-r1-Makefile index 8d59aa8df84a..4a766552c65e 100644 --- a/dev-java/lz4-java/files/lz4-java-1.8.0-Makefile +++ b/dev-java/lz4-java/files/lz4-java-1.8.0-r1-Makefile @@ -27,11 +27,11 @@ SONAME = liblz4-java.so # C compiler arguments may be obtained by running 'ant -v compile-jni', # as long as dev-java/cpptasks is in the classpath CFLAGS := -fPIC $(CFLAGS) -# '--as-needed' causes test failure -LDFLAGS := $(LDFLAGS) -Wl,--no-as-needed $(OUT_DIR)/$(SONAME): $(OBJS) | $(OUT_DIR) - $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,$(SONAME) -o $@ -llz4 $^ + # '-llz4' must be listed after this package's objects + # https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed#Importance_of_linking_order + $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,$(SONAME) -o $@ $^ -llz4 $(OBJS_DIR_PREFIX)/%.o: %.c | $(OBJS_DIR) $(CC) $(CFLAGS) -c -o $@ \ diff --git a/dev-java/lz4-java/lz4-java-1.8.0.ebuild b/dev-java/lz4-java/lz4-java-1.8.0-r1.ebuild index 15c53d947049..dcaf10bc45d5 100644 --- a/dev-java/lz4-java/lz4-java-1.8.0.ebuild +++ b/dev-java/lz4-java/lz4-java-1.8.0-r1.ebuild @@ -20,12 +20,12 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" # be packaged. Some extra steps are required before running the tests: # 1. Download junit4-ant 2.7.x from https://mvnrepository.com/artifact/com.carrotsearch.randomizedtesting/junit4-ant # 2. Set EANT_GENTOO_CLASSPATH_EXTRA to the path to junit4-ant-2.7.*.jar -# 3. arm, arm64 and ppc64 only: Install test dependencies that are unkeyworded +# 3. ppc64 only: Install test dependencies that are unkeyworded # 4. Set ALLOW_TEST="all" RESTRICT="test" CDEPEND=" - app-arch/lz4 + app-arch/lz4:= " # The version requirement on mvel is strict; mvel-2.4.* generates source files @@ -36,9 +36,9 @@ DEPEND=" dev-libs/xxhash test? ( dev-java/junit:4 - !arm? ( !arm64? ( !ppc64? ( + !ppc64? ( dev-java/randomized-runner:0 - ) ) ) + ) ) ${CDEPEND} " @@ -68,7 +68,7 @@ pkg_setup() { src_prepare() { eapply "${FILESDIR}/${P}-print-os-props.patch" eapply "${FILESDIR}/${P}-skip-ivy.patch" - cp "${FILESDIR}/${P}-Makefile" Makefile || die "Failed to copy Makefile" + cp "${FILESDIR}/${P}-r1-Makefile" Makefile || die "Failed to copy Makefile" cp "${FILESDIR}/${P}-gentoo-classpath.xml" gentoo-classpath.xml || die "Failed to copy Gentoo classpath injection XML" java-pkg-2_src_prepare diff --git a/dev-java/sjsxp/Manifest b/dev-java/sjsxp/Manifest new file mode 100644 index 000000000000..57ebf6627671 --- /dev/null +++ b/dev-java/sjsxp/Manifest @@ -0,0 +1 @@ +DIST sjsxp-1.0.2-sources.jar 531127 BLAKE2B d3088b89537027d8b6b5dd2a07af7713ada83fad36ffa0dee5a882db67ff20389d72185376a3da491258e5d76743ff2efcfa7f76a032b849f7f74e31ecdc4ac6 SHA512 bc6f051e72b9785d7f1352464ed620282c8e4e190f66c9825e92b9409f21f5dc046a6fa678808dbffa2f8dfdb47d622dce7699c811a2afd60e57007a7b43f17a diff --git a/dev-java/sjsxp/metadata.xml b/dev-java/sjsxp/metadata.xml new file mode 100644 index 000000000000..a63267abaf71 --- /dev/null +++ b/dev-java/sjsxp/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/sjsxp/sjsxp-1.0.2.ebuild b/dev-java/sjsxp/sjsxp-1.0.2.ebuild new file mode 100644 index 000000000000..59f743b97939 --- /dev/null +++ b/dev-java/sjsxp/sjsxp-1.0.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom sjsxp-1.0.2.pom --download-uri https://repo1.maven.org/maven2/com/sun/xml/stream/sjsxp/1.0.2/sjsxp-1.0.2.jar --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild sjsxp-1.0.2.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.sun.xml.stream:sjsxp:1.0.2" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Sun Java Streaming XML Parser (SJSXP) is the implementation of JSR 173" +HOMEPAGE="https://sjsxp.java.net/" +SRC_URI="https://repo1.maven.org/maven2/com/sun/xml/stream/${PN}/${PV}/${P}-sources.jar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# Common dependencies +# POM: ${P}.pom +# javax.xml.stream:stax-api:1.0 -> !!!groupId-not-found!!! + +CP_DEPEND="dev-java/xpp3:0" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +BDEPEND="app-arch/unzip" + +S="${WORKDIR}" + +# JAVA_SRC_DIR="src/main/java" |
