diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-04-04 01:34:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-04-04 01:34:29 +0100 |
commit | 74dcbf5a63cafe2678e2a397e1002dd691425200 (patch) | |
tree | 5e08b1abdce069a7da83f1ca4cbe2ae4af56b161 /dev-java | |
parent | 476528d7a16cfe2435b30ebd74783eea6925db5f (diff) |
gentoo auto-resync : 04:04:2025 - 01:34:28edge
Diffstat (limited to 'dev-java')
26 files changed, 414 insertions, 5 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 71ab583ccfa4..f83e4f7b2678 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index 528f4b2c4390..cfe37763f665 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -5,7 +5,7 @@ DIST gradle-bin-8.4.zip 212870963 BLAKE2B da32c1010e85f6cded0c1b539b243db6d41fcd DIST gradle-bin-8.5.zip 218636663 BLAKE2B 0360f240f6183abec540f7755a966767a8dc175ca0ea047273e05c4b2219fd80cb92e62e9b961481d646157418cc91ea211eb83530cc6ec815ea790f6ad8380a SHA512 37a1c2989c46dad0f843565d05fd29010df10ac199d81f0ccddf56ffd490642039046d43a320ba04d1f87cbbc6d4cebf20ff66ce45ec005931cfc85aee2e0180 DIST gradle-bin-8.7.zip 224435312 BLAKE2B 1926765aea8931b25a9f0b7b9a224dd70756cfd337eecb364c6d288486187dd6311f888c7e1c36b1fc81b454c3514d2807884343e7782f1be45fce03e611496b SHA512 fc18863654cbe8dd2357f388c0fc5f699ca2d40ffd32c283f00cfd5bda94e1711ab7b7a3b154e7da66c17468f00c3c72fe6b6603c4a29617b33b0f292cbac3de EBUILD gradle-bin-8.10.2.ebuild 1090 BLAKE2B ca546f31c768bcccb4a186d006a2a1b7810a25099829758a3de45b45af697299e1cf9564aaefd37821bf569ef5ddb28ed0507e09a65a6ea0f63116bbdb5070de SHA512 48ce25fd203a21269c9d028ad9d1d94aa600c47cbfd6dbacc56abfb2c7ee62eb4c6bf820aa63c0971aaf7ebb80fd41528026784d95d0fceddf5315b988457844 -EBUILD gradle-bin-8.12.1.ebuild 1091 BLAKE2B b7c340ef0c5dffe50a20e9802ae2cc30fb8334788d2188be062e4d6ab546bc1e4679b62289c9bb4fc30212800a38150095efecd020dd6a16e5fa930a8503e0e0 SHA512 525855e0400f260b63a74dfc033d41c29ce532381354b773f6b6f170dd1b44b2c1e527590def1623d0748d3c2b8627749166fd469cd49fb4fce2301e756a6c47 +EBUILD gradle-bin-8.12.1.ebuild 1090 BLAKE2B df80de74cc10852664302aab8538f6feb41597b62365f2a7434939695ec0783818cb67c75ceec4ae9119e9d840f166a0b9bdb0defcdbd98f896e3670167bb735 SHA512 db20561ae3011ab59bb3512d04e8ced4a14588dc286d433e61e7c18dea04b7a137065f8a8a3d58c7767e2c2486a1513314303c2e5bedd2a194c4af0a802dc83a EBUILD gradle-bin-8.12.ebuild 1090 BLAKE2B df80de74cc10852664302aab8538f6feb41597b62365f2a7434939695ec0783818cb67c75ceec4ae9119e9d840f166a0b9bdb0defcdbd98f896e3670167bb735 SHA512 db20561ae3011ab59bb3512d04e8ced4a14588dc286d433e61e7c18dea04b7a137065f8a8a3d58c7767e2c2486a1513314303c2e5bedd2a194c4af0a802dc83a EBUILD gradle-bin-8.4.ebuild 1103 BLAKE2B cc65b54d1c64900a60a64e029f41758b6a56b80b554668bf4ed0765609ed7a3b4714c97eac52a4770eb24ee3132d7b24853b816d3affd97c566743957cbb88ce SHA512 13040bc4f8b6a6e0c0bbec7e4c77c635b12a546a04024082e1fd1729356b0b9c6b8180460c996fd21ab805bd4a3ec4e70bd02c4e0ad3c6caade3786e8aca931e EBUILD gradle-bin-8.5.ebuild 1103 BLAKE2B cc65b54d1c64900a60a64e029f41758b6a56b80b554668bf4ed0765609ed7a3b4714c97eac52a4770eb24ee3132d7b24853b816d3affd97c566743957cbb88ce SHA512 13040bc4f8b6a6e0c0bbec7e4c77c635b12a546a04024082e1fd1729356b0b9c6b8180460c996fd21ab805bd4a3ec4e70bd02c4e0ad3c6caade3786e8aca931e diff --git a/dev-java/gradle-bin/gradle-bin-8.12.1.ebuild b/dev-java/gradle-bin/gradle-bin-8.12.1.ebuild index ec8906f55248..6239e1afc0ca 100644 --- a/dev-java/gradle-bin/gradle-bin-8.12.1.ebuild +++ b/dev-java/gradle-bin/gradle-bin-8.12.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://services.gradle.org/distributions/${MY_P}-all.zip -> ${P}.zip" S="${WORKDIR}/${MY_P}" LICENSE="Apache-2.0" SLOT="${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64" DEPEND="app-eselect/eselect-gradle" BDEPEND="app-arch/unzip" diff --git a/dev-java/jettison/Manifest b/dev-java/jettison/Manifest new file mode 100644 index 000000000000..8b7151373928 --- /dev/null +++ b/dev-java/jettison/Manifest @@ -0,0 +1,3 @@ +DIST jettison-1.5.4.tar.gz 72967 BLAKE2B 8ac11cef918c21eab7de38bf4f6f9066c1d71ddc92ab09cc072774e888be78196ba21c340912698e76b4f635c22966907882d7bd9137399eca5c188eb8f55573 SHA512 8d46dd059df2a3dafddd0c305f63cddf9e247df1d4face7fb201e1ebc9a11ea739c4cbff645fe6c31a70b76d64f1fe7cdbcf25ab45565bc5097d792949f80558 +EBUILD jettison-1.5.4.ebuild 854 BLAKE2B 9fcd01d9ea5977a6e7ced7afb5c2effc2a05919b7674787cff432e5aa6dd9f5b28cbe6a4771d80776b076a452b1905c74088100206417ba3fe58cc5229caad8c SHA512 650e5a378a5c9d5f0d528acd3f4de67e38d9c2a56fae2bd7d85a5723a82c187b7a1d3b67620d9e7eddffc9a7d1cb60e713cc4f6373a77a3e7d167742e4ffeda9 +MISC metadata.xml 304 BLAKE2B 90381806cbd4dedab6144d1e5f7fdbe1ce72ec46037fdd3f267f2b0020992f5fa9880f8ef0a474caaa6723fe4fe0eab3ffa1e3ebef1431c7e018eecb3c84f341 SHA512 bc3f2bbd450ad8363f86e4a67d6044763d02ea9fc34693fa17e137cad78b6c78e773f6d5e6b85b48f9fb07c6b7b4fcab2b6d8b28ef00066335c95af08adb563e diff --git a/dev-java/jettison/jettison-1.5.4.ebuild b/dev-java/jettison/jettison-1.5.4.ebuild new file mode 100644 index 000000000000..7067b8f8bbf3 --- /dev/null +++ b/dev-java/jettison/jettison-1.5.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.codehaus.jettison:jettison:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A StAX implementation for JSON" +HOMEPAGE="https://github.com/jettison-json/jettison" +SRC_URI="https://github.com/jettison-json/jettison/archive/${P}.tar.gz" +S="${WORKDIR}/jettison-${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( dev-java/woodstox-core:0 ) +" + +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_SRC_DIR="src/main/java" +JAVA_TEST_EXCLUDES="org.codehaus.jettison.DOMTest" # "No tests found", not run by maven-bin +JAVA_TEST_GENTOO_CLASSPATH="junit-4,woodstox-core" +JAVA_TEST_SRC_DIR="src/test/java" diff --git a/dev-java/jettison/metadata.xml b/dev-java/jettison/metadata.xml new file mode 100644 index 000000000000..64c9abb184fa --- /dev/null +++ b/dev-java/jettison/metadata.xml @@ -0,0 +1,10 @@ +<?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> + <upstream> + <remote-id type="github">jettison-json/jettison</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/json-path/Manifest b/dev-java/json-path/Manifest new file mode 100644 index 000000000000..0616ba4dab10 --- /dev/null +++ b/dev-java/json-path/Manifest @@ -0,0 +1,3 @@ +DIST json-path-2.9.0.tar.gz 290532 BLAKE2B 22a377acfd7b29e8bf950f2b328431223acae66a90ca7b0671f469416ad40801b99aeef3609ecff8a5e0e0d57834581c7ba00f8d705b431f8d93a71d21036c75 SHA512 ad5aafd9836898ec4064389d32665089d6ee310be86f9673f7fcbae93836f1737ab5900b4e0b16f315cda04167ac6c65c2e5a021c9374873467bb3807537200a +EBUILD json-path-2.9.0.ebuild 854 BLAKE2B deefe77df3f2662afefde541dea7761e503903c7f327a2d59c9862e7098ea570d4c4a27a0794a429551b76b10f40117c9f3200d693f6df9942af833940823e40 SHA512 504caed88074c3db12be5d372d2cf3df4429d2c86ee45f79d9ad24587b9284e872082e40b2882455abf2de14cf44202a377cfae9f4e34357b0d92a5532f83e56 +MISC metadata.xml 320 BLAKE2B b40410ea5b120084c8db7d004030e09b7505de42de8bcd9255e52afb2b80f19e6147f0ce8e6bece0f66327e43fa73318c2db3d0a67e702f00725826bc904aab2 SHA512 2255777cf9b29b3990408e6cec360ff48b06d0341866f22c1bc064e1ceec8ed8dac4eefc0134400796bcd3adae09dc2162a3cb591ac66228806740f92e93e594 diff --git a/dev-java/json-path/json-path-2.9.0.ebuild b/dev-java/json-path/json-path-2.9.0.ebuild new file mode 100644 index 000000000000..0cf3fa50595c --- /dev/null +++ b/dev-java/json-path/json-path-2.9.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.jayway.jsonpath:json-path:${PV}" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java JsonPath implementation " +HOMEPAGE="https://github.com/json-path/JsonPath" +SRC_URI="https://github.com/json-path/JsonPath/archive/${P}.tar.gz" +S="${WORKDIR}/JsonPath-${P}/json-path" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +CP_DEPEND=" + dev-java/tapestry-json:0 + dev-java/gson:0 + dev-java/jackson-databind:0 + dev-java/jettison:0 + dev-java/json:0 + dev-java/jsonb-api:0 + dev-java/jsonp-api:0 + >=dev-java/json-smart-2.5.2:0 + dev-java/slf4j-api:0 +" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:* +" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" + +JAVA_AUTOMATIC_MODULE_NAME="json.path" +JAVA_SRC_DIR="src/main/java" diff --git a/dev-java/json-path/metadata.xml b/dev-java/json-path/metadata.xml new file mode 100644 index 000000000000..d66c782e2835 --- /dev/null +++ b/dev-java/json-path/metadata.xml @@ -0,0 +1,11 @@ +<?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">json-path/JsonPath</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/json-smart/Manifest b/dev-java/json-smart/Manifest index 607978d75d56..51851a5a07be 100644 --- a/dev-java/json-smart/Manifest +++ b/dev-java/json-smart/Manifest @@ -1,5 +1,7 @@ DIST json-smart-1.3.3.tar.gz 49430 BLAKE2B 805e16e0de5321a2e8164468757e9b722849f0fe90fd6822cc99f7afffd9f4e480fc4e14c2bbd12b325a27abc8ca7e93b4a17ce56ac352117cef336e1ebb3fe9 SHA512 c6006c6a00a085ea8810e18889450d11240dc3671351f20602214db418107808df1f413fe67c199d6529e4c0087f2533601826666ac4fa493bcaf72d2c18ed83 DIST json-smart-2.5.1.tar.gz 91171 BLAKE2B 21e83eadb15dbaa43ebe1fc9a5fd9500d4d233571dc4b65f417d7179630fde8a47e44cb652b2f598a2a6f46569876e8cac4769752dd4db179dc01b274514ef02 SHA512 00454e1debcebe009300a8f5d53b24b5c1917d173c9f3b98278236b52584631ab0e8bbf18c193f181e77537fb335b5bb31c1978918dc4f6e0ca82c44adb6797b +DIST json-smart-2.5.2.tar.gz 91767 BLAKE2B a5088792ffaf45b07c6256827f1327383a9b8e1f823a70ef07d70ecedd521f534aef3b832b81e069e409fd4ee6da6e783e05d72f746b31d4e811bd4cf5df0566 SHA512 b718eaf83c43856d215294cf30a6bdfad5e345cec1001a9865d9771c7e60f17148cad69f8c18bc609a094ff9de38baa1bf7c9e24412d6326ed35c0bc69a19b9f EBUILD json-smart-1.3.3.ebuild 667 BLAKE2B 7c6299b11320c7095c955411b7c1264c88ccfec04a58e0c44d4ece8b149cbc847d7713214b5b91da27c102d8246d3be447b75f11588f61368bf725756f2b554d SHA512 c9667f022d0fa9d2164a9f5823763e84e412d200f09ca075f63ae0038cdf4726d4f0e1b6f3e6b62677d4f0a27e0ea3f1fc921b13c51fedbfb5dd8f80fa6cbdfd EBUILD json-smart-2.5.1.ebuild 1547 BLAKE2B 8e876225cf74902d8f6ff6b331c249912eb72dd0806bdea09561fb64fe83ad76d6d3d46f1f6fd34938fcee64d5545b363b184d5e05ebb04c6d978af8c8f96c23 SHA512 2473b362fcd8e952a075516c8f1bf38279b94a26d56f80557b659671089c39c36b6b1de11f4372352851866393118baeb09516b7eec19343e5aaa43047f3d873 +EBUILD json-smart-2.5.2.ebuild 1548 BLAKE2B 60cce578411f8f7398d4ecabad360aa6d9754309dc938f8d6d68a90b6e88c0b47a33f4feeda7bd756221390f8f425caba7f7448442260107314ecbb421d03aaf SHA512 6cfa9b27cad7c0f018171524bf9f5921b258842c0c7c50facc957f9400de0c1d207dda9297013005bee2343eec7fa4971cf7862ef4bd07e8bd8e7812528e0cc1 MISC metadata.xml 642 BLAKE2B c365803a643b02f870ff0658d1184c227a243f1d9801ddfa9f5c487412f390a4714b75f461ad5b4acf589da5f0201df19e10126c5ccd2a2685c77edd5c774765 SHA512 f28271bf046bdcec40f7c8fa824d8eaf0d222c082412c08f9e9f3a766769d8c5c29e32cb4136f0722ae4400ce9fbf28776880c0d10903ccabe2a1d6953cee3ac diff --git a/dev-java/json-smart/json-smart-2.5.2.ebuild b/dev-java/json-smart/json-smart-2.5.2.ebuild new file mode 100644 index 000000000000..cb994b59522c --- /dev/null +++ b/dev-java/json-smart/json-smart-2.5.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_PROVIDES=" + net.minidev:accessors-smart:${PV} + net.minidev:json-smart:${PV} +" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JSON Small and Fast Parser" +HOMEPAGE="https://urielch.github.io" +SRC_URI="https://github.com/netplex/json-smart-v2/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-v2-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +RESTRICT="test" #839681 + +DEPEND=" + dev-java/asm:0 + >=virtual/jdk-1.8:* +" + +RDEPEND=">=virtual/jre-1.8:*" + +JAVADOC_CLASSPATH="asm" +JAVADOC_SRC_DIRS=( + accessors-smart/src/main/java + json-smart/src/main/java +) + +src_compile() { + einfo "Compiling accessors-smart.jar" + JAVA_CLASSPATH_EXTRA="asm" + JAVA_JAR_FILENAME="accessors-smart.jar" + JAVA_SRC_DIR="accessors-smart/src/main/java" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":accessors-smart.jar" + rm -r target || die + + einfo "Compiling json-smart.jar" + JAVA_JAR_FILENAME="json-smart.jar" + JAVA_SRC_DIR="json-smart/src/main/java" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":json-smart.jar" + rm -r target || die + + use doc && ejavadoc +} + +src_install() { + einstalldocs + java-pkg_dojar "accessors-smart.jar" + java-pkg_dojar "json-smart.jar" + + if use doc; then + java-pkg_dojavadoc target/api + fi + + if use source; then + java-pkg_dosrc "accessors-smart/src/main/java/*" + java-pkg_dosrc "json-smart/src/main/java/*" + fi +} diff --git a/dev-java/json/Manifest b/dev-java/json/Manifest index 86460aa67e88..2e6f0d4c7ce8 100644 --- a/dev-java/json/Manifest +++ b/dev-java/json/Manifest @@ -1,4 +1,6 @@ DIST json-20241224.tar.gz 260438 BLAKE2B a531f8009cada5bbb9cd7207ce20ed1b1d358bc6533b9678a7845c31714351bac3406fd85663bf7e3fcc9cf4249221a6a5599b1d841a82e924f594ae6a46e848 SHA512 d487201c20c4c36714a944297fd0a175006ddc742e077bbb2a0e541c8b52fafc0169bc984e5a5f085e580e5a770fa30f0588c2f15ad761f6afae22134b544797 +DIST json-20250107.tar.gz 260468 BLAKE2B 830c43e242204cfa1cd544b05ca99664c6401665d7937fade4435c502061a76809828ee70bb3375d2b81a224c5051837f603f895fcd6ebeaf3313cd8402043af SHA512 8b56c0c3e03377a25c5f4ac0a30e0ff050c71f282b123236a699af7905d7fd2d809f9fa85276fd22f744763a72a2709a8999f900a269e0e3b1373423ed2bab19 DIST json-path-2.9.0.jar 276633 BLAKE2B bb83d6c6d972ea05dce3ef9878c0db0b93d6168cb796b63365a4615434c24edaad86bf021d6bf8736d67504ed8803c423efe01a323e094a59854cd9e73eb6862 SHA512 9a9dbb2cd36662c8049419ed891290602baeca2549eb7df62122cb20c91e66bc8c2c0e5e13199c4a70bf0b6e62ea4c2601f84e4c79d2af25ff1704481c86740a EBUILD json-20241224.ebuild 1787 BLAKE2B cf107a0c7380f0f12056736804cf697588ded75b2b71825b2e23048255a56064d5a87eb1c30fd5cd900eeb00d536ca1e282cd8bb2f67a84ceeab1d231578f497 SHA512 7d47ca69a3b642ae75c1f083f1c5f18ef255d88d26a0e0d216411afffbc04f3a650804af28a1e42733f8e342f25b249f0cf61b60136908d8f7675aa4c0c2154c +EBUILD json-20250107.ebuild 1632 BLAKE2B cc68f35a329976adb29115f2878bd71b4998e656073402e9b0005d884ebf902592a691f1b85fc57b0188ab55d27a78c0d9089cb8106dbedb1eda0adc25d09e09 SHA512 c4d6a134254902259a4cf587804807032effb53a0c1d0b22542331c776ee57a5c2143750754373ce8de6a6c29dcd155221fbe0d12dd2b32c357bcacd1bc856ac MISC metadata.xml 1083 BLAKE2B 9dfa3392b02d2bb6ae3198a884c154a52926de81aead27309fd0bbe25011a1b0ea89c0c7fa3694c56fee4cb339c2fd161384c9d7c780369cc3da4464d3abd40a SHA512 3d0f231f0e67e178f838474e6aa07e88dffc26e26261a49515124c3e68120d323cc1a790be017b082af8f27dd051121750c1e1829e7a2fc2714821caf9a8802b diff --git a/dev-java/json/json-20250107.ebuild b/dev-java/json/json-20250107.ebuild new file mode 100644 index 000000000000..e090e84eaedd --- /dev/null +++ b/dev-java/json/json-20250107.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.json:json:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple check-reqs + +DESCRIPTION="A reference implementation of a JSON package in Java" +HOMEPAGE="https://github.com/stleary/JSON-java" +SRC_URI="https://github.com/stleary/JSON-java/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/JSON-java-${PV}" + +LICENSE="JSON" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + >=dev-java/asm-9.8:0 + dev-java/json-path:0 + >=dev-java/json-smart-2.5.2:0 + dev-java/mockito:4 + dev-java/slf4j-api:0 + ) +" + +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( {CONTRIBUTING,README,SECURITY}.md ) + +JAVA_AUTOMATIC_MODULE_NAME="org.json" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH=" + asm + json-path + json-smart + junit-4 + mockito-4 + slf4j-api +" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_SRC_DIR="src/test/java" + +check_env() { + if use test; then + # this is needed only for tests + CHECKREQS_MEMORY="2048M" + check-reqs_pkg_pretend + fi +} + +pkg_pretend() { + check_env +} + +pkg_setup() { + check_env + java-pkg-2_pkg_setup +} + +src_test() { + # setting Xms for bug #930723 + # gradlew: DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m" + JAVA_TEST_EXTRA_ARGS=" -Xmx${CHECKREQS_MEMORY}" + + local vm_version="$(java-config -g PROVIDES_VERSION)" + if ver_test "${vm_version}" -ge 17; then + JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.lang=ALL-UNNAMED ) + JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.io=ALL-UNNAMED ) + fi + java-pkg-simple_src_test +} diff --git a/dev-java/jsonb-api/Manifest b/dev-java/jsonb-api/Manifest new file mode 100644 index 000000000000..ab87887d5371 --- /dev/null +++ b/dev-java/jsonb-api/Manifest @@ -0,0 +1,3 @@ +DIST jsonb-api-2.0.0-RELEASE.tar.gz 172006 BLAKE2B 5187d2018e1835ffbbe5333f59bba05cd1e36b0c3e44ed8bc27618a03bdc940a19b525e206919e7fec1dc27523124bff668286e23fbb1c7fd36c61cfcd1a553e SHA512 405cae75b3c3aab03d14d62d8a6b317280103abe96f5227760a8c77891a48a8e845d46db7f7a265410cbb6ee0722dcd4fe5a505434a708d949d9a1fa44975487 +EBUILD jsonb-api-2.0.0.ebuild 659 BLAKE2B a5a0ce8a0c37751f05b3cf60bf4ac7f609a7e1129a9b1441b332044de372c5e154fbfb6fc2614c7a8d6c55199dc13344fb9daebace47b3617cdbf33c42e0e903 SHA512 d1e60757655000b38634e0f0b82f95d9ed4c06d4fd67bae237a53265520be1cea25e39ffdd7995fb2298e9ce20bf90ff19730b298c9afe9166ca4cbddc21fb53 +MISC metadata.xml 357 BLAKE2B d884dddd0a4c79876e21b742757c468f6c2a3e2630e50e204d22d0d6787fdc62c1ddfcf3983f7c95576676e0113f5b8f5db322c19a7b68c660590e5b44fcf8d6 SHA512 87224ef39afae716f260dba1ee5cb848c89cbae1ebd1a7aa2b8244d01aac9cebb020178116020333e7286ea9a431fdf0a37b7c3a1c798fe18479998670a48584 diff --git a/dev-java/jsonb-api/jsonb-api-2.0.0.ebuild b/dev-java/jsonb-api/jsonb-api-2.0.0.ebuild new file mode 100644 index 000000000000..683e706de906 --- /dev/null +++ b/dev-java/jsonb-api/jsonb-api-2.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="jakarta.json.bind:jakarta.json.bind-api:${PV}" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Jakarta JSON Binding" +HOMEPAGE="https://github.com/jakartaee/jsonb-api" +SRC_URI="https://github.com/jakartaee/jsonb-api/archive/${PV}-RELEASE.tar.gz -> ${P}-RELEASE.tar.gz" +S="${WORKDIR}/${P}-RELEASE" + +LICENSE="EPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +CP_DEPEND="~dev-java/jsonp-api-2.0.2:0" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:* +" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" + +JAVA_SRC_DIR="api/src/main/java" diff --git a/dev-java/jsonb-api/metadata.xml b/dev-java/jsonb-api/metadata.xml new file mode 100644 index 000000000000..c7d4baca450c --- /dev/null +++ b/dev-java/jsonb-api/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <doc>https://jakarta.ee/specifications/jsonb/</doc> + <remote-id type="github">jakartaee/jsonb-api</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/jsonp-api/Manifest b/dev-java/jsonp-api/Manifest new file mode 100644 index 000000000000..5e655463c521 --- /dev/null +++ b/dev-java/jsonp-api/Manifest @@ -0,0 +1,3 @@ +DIST jsonp-api-2.0.2-RELEASE.tar.gz 343716 BLAKE2B 8c6492c69c47aa08bc1d1cb5aaa51dbff15696474b0dc570ab4d2a4d9aa69fd1ae0f2d2cf1b36ab29d05bf4ead71213412b6b74e7688cd62b680993cb4bc3393 SHA512 ee878512ee913034003c52c1f4d22809dbaa69058ce54964a0d0a28d9a09d83c45da5d4c244f951cb9c8c118ac78c181dccf79f22ca34d7be43707cadb39eac5 +EBUILD jsonp-api-2.0.2.ebuild 590 BLAKE2B 5589e80275918083e1c2697bfea5b8ed42a62175d1bd646d58f45085cfa1577266587dcb0712fb57afe55556d0d45e90eb8a0dfdcdb09929ea27e159f3d59b33 SHA512 73ce6a95a6dbc60e3af6299f97ae6047fd5e5aa4fd71321ef6c0e6729938469ec739a05ccd86fd4776591b088338cd7270834cc357e59f41735cc15c782b1f03 +MISC metadata.xml 357 BLAKE2B 171f23ab67c9b927558391b283d69034f78d26c4753c4e6d8bd5dac1e3ef8f1bb1f1c68e256e2c2a6d33653fbad68d41713317b60cca97702d3f527d3b32daab SHA512 3c609d47e9eea6d04540aaf12c0b48076687a6fc4bcefea2258cbb844e67038b1588f843fc993eaec778cd02e8694b40e7651375e72c54626291368f90ab032c diff --git a/dev-java/jsonp-api/jsonp-api-2.0.2.ebuild b/dev-java/jsonp-api/jsonp-api-2.0.2.ebuild new file mode 100644 index 000000000000..75db75db4ee9 --- /dev/null +++ b/dev-java/jsonp-api/jsonp-api-2.0.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="jakarta.json:jakarta.json-api:${PV}" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Jakarta JSON Processing API" +HOMEPAGE="https://projects.eclipse.org/projects/ee4j.jsonp" +SRC_URI="https://github.com/jakartaee/jsonp-api/archive/${PV}-RELEASE.tar.gz -> ${P}-RELEASE.tar.gz" +S="${WORKDIR}/${P}-RELEASE" + +LICENSE="EPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_SRC_DIR="api/src/main/java" diff --git a/dev-java/jsonp-api/metadata.xml b/dev-java/jsonp-api/metadata.xml new file mode 100644 index 000000000000..1d981921666f --- /dev/null +++ b/dev-java/jsonp-api/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <doc>https://jakarta.ee/specifications/jsonp/</doc> + <remote-id type="github">jakartaee/jsonp-api</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/openjdk/Manifest b/dev-java/openjdk/Manifest index 0b81308f84df..62bc7c22f8b7 100644 --- a/dev-java/openjdk/Manifest +++ b/dev-java/openjdk/Manifest @@ -26,5 +26,5 @@ EBUILD openjdk-11.0.26_p4.ebuild 9003 BLAKE2B 0c87b9a541af2b00783130dc50ea677d5b EBUILD openjdk-17.0.14_p7.ebuild 9423 BLAKE2B 9d13f32fda92958be0f1216d286db971cb9e75a7b5b73f080e8f98139a65ddcabea885143707bbc400ddddb776c50a77485300efeaf7155ae9e260808d86783e SHA512 af4ecb092f74d9c16235bd3023f859338217f793ac91ddc51938be016306ec9a7d2de1ec5c9a003d44abb43d708a6c61bbc7a4b995dcba3b8a6c883e3f1f5838 EBUILD openjdk-21.0.6_p7.ebuild 9558 BLAKE2B 98c1c9f207ba3d94cb007035246f9b2ad4ce22b4a61ce30cc65a1dc373ebb6be79d2b3f6dad7fc5af276d9990a2e2eab321c2c14b98977695664ca5e9a52454a SHA512 e54f31b10a028b6e3a0f669d6d0d75f3e5f3916ea20cd3927f061cfff7f8f10ddc9e687845e24f1e86f4c8262a1e0e74ce9537135a57187b54bd0fc994cf81e5 EBUILD openjdk-25_p13.ebuild 9442 BLAKE2B 9a0e8ee1d523bfbc2243ac4625ded98b953a4e5fcba241e2d66db1397c01e093a500268d48d8a97f1c5d5c4ab838466f70bcd7ba614d39ea13a4a645716f7aec SHA512 7f3f6c90ffbfadd66879e0e35187842f7479d965036bce66205b9d01176cd97dcfaa44905a0724c4c86c0c7efd5d85ee7f2d1b19925f4ac463fe1176b3548514 -EBUILD openjdk-8.442_p06.ebuild 7819 BLAKE2B a4956dbe705709e25463bf87595cb76db4e8ab800d514e3786b469d893fb2017c4b42080ec74ad8d6a1ef9207d2e06f70f11a6b42761bb135e3fc5a661b7fa6b SHA512 7e5591ec8e539eb4bc9c9bec9e10aae1a9c54de9a1a25a8e1e55aa8288e0fb3e583357d8c34bd9097a93c09d0f1a4f691afefb7a7a523e13a084d9a232260332 +EBUILD openjdk-8.442_p06.ebuild 8146 BLAKE2B 013345cb16361dde5377292c2078a9aac3344680265432fb60045a37daf94b65bbf064d76446bf2d6f659f77e5a2d1a5ba9685d8b8e66aab319e23be6157ea6e SHA512 0a3b454c70fa87a625676b861276d3317d69fab24ba266bce54bb5008dd9738daeda13298ccc1e7bbe5ccd224c648c0fe7aa522ca165e3e4027e37e2f4a58216 MISC metadata.xml 1593 BLAKE2B 89674213fcbe29a938a4f0812445a42013c467ec3c1ffae7168438abe9214125d0db15f796b34252ca4b83d5aa31ae5949730bfa60a948cac0619cee9cec7941 SHA512 8355c2dc2e23922861989171b6168799074d518c5e5c7f54c8f8b09a1b94c971d90002753fe1b2981345d3bcae5928ea049b8af71279cb6e3d573a25a7b7fb49 diff --git a/dev-java/openjdk/openjdk-8.442_p06.ebuild b/dev-java/openjdk/openjdk-8.442_p06.ebuild index a7cad0a4da65..2311722c03b2 100644 --- a/dev-java/openjdk/openjdk-8.442_p06.ebuild +++ b/dev-java/openjdk/openjdk-8.442_p06.ebuild @@ -96,6 +96,7 @@ DEPEND=" BDEPEND=" virtual/pkgconfig + sys-devel/gcc:* " PDEPEND="javafx? ( dev-java/openjfx:${SLOT} )" @@ -156,6 +157,15 @@ src_prepare() { hotspot/make/linux/makefiles/gcc.make || die chmod +x configure || die + + # Force gcc because build failed with modern clang, #918655 + if ! tc-is-gcc; then + ewarn "openjdk/8 can be built with gcc only." + ewarn "Ignoring CC=$(tc-getCC) and forcing ${CHOST}-gcc" + export CC=${CHOST}-gcc + export CXX=${CHOST}-g++ + tc-is-gcc || die "tc-is-gcc failed in spite of CC=${CC}" + fi } src_configure() { diff --git a/dev-java/tapestry-json/Manifest b/dev-java/tapestry-json/Manifest new file mode 100644 index 000000000000..a1f236d05c4a --- /dev/null +++ b/dev-java/tapestry-json/Manifest @@ -0,0 +1,3 @@ +DIST apache-tapestry-5.8.7-sources.zip 12050565 BLAKE2B 5f44d9d37ce0702148da4b8e38f8dacdecacaa4cccdf025a145f521aa2a120d7d2f2d8939987e06717edf3db8e467e456e2feeb96a712229a777d7e1da87558d SHA512 d397bfffa56fa8f7ad3687d0e0ec919cd278b8d9c8aa0cd6f59f98377de367e93d3672e876d24ccc1b8bef55db71fe8a8aa7ae7f089356a30bc2cae588d940c1 +EBUILD tapestry-json-5.8.7.ebuild 1147 BLAKE2B 0994036773c06bc8c5172e34a1d4b70987ab086b5acbf4d09f71a085a232b3c0fea2ec83258a020d3d75b0fa20b0eaf8987ea78cd132aace4d156d9438743eef SHA512 3dd0c46015f87c4468a59c516ba2662086d799390cfb89dc0dc91dabdddfff1373ab9425b35f868ab9a541fe2c9d80a05ab64d57eb4a9643467dd578baae2bc7 +MISC metadata.xml 301 BLAKE2B 3ae7ebd0384d5572178b4bc58ce8c965f380bdecb6809741ffe46bd023988d7ebae7267785886e0b9288a9e9a5a0e8253fd4e25784b5fd1676da89c283763522 SHA512 059a9b12c05438aeaaba52ac57d478ed440521b6f3bdde222951640c4502fe46ec25592d8e1b2f929d7c82de0ec56c3986c2e086fbe845bc6db27f350419eeab diff --git a/dev-java/tapestry-json/metadata.xml b/dev-java/tapestry-json/metadata.xml new file mode 100644 index 000000000000..a1f3f05cedd3 --- /dev/null +++ b/dev-java/tapestry-json/metadata.xml @@ -0,0 +1,10 @@ +<?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> + <upstream> + <remote-id type="github">apache/tapestry-5</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/tapestry-json/tapestry-json-5.8.7.ebuild b/dev-java/tapestry-json/tapestry-json-5.8.7.ebuild new file mode 100644 index 000000000000..933ec78d9f20 --- /dev/null +++ b/dev-java/tapestry-json/tapestry-json-5.8.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.tapestry:tapestry-json:${PV}" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Tapestry JSON" +HOMEPAGE="https://tapestry.apache.org/" +SRC_URI="https://downloads.apache.org/tapestry/apache-tapestry-${PV}-sources.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="app-arch/unzip" + +# dev-java/asm:0 # seems bundled in plastic/src/external/ + +DEPEND=" + dev-java/slf4j-api:0 + >=virtual/jdk-1.8:* +" + +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_AUTOMATIC_MODULE_NAME="org.apache.tapestry.json" +JAVA_CLASSPATH_EXTRA="slf4j-api" +JAVA_GENTOO_CLASSPATH_EXTRA="target/deps" +JAVA_SRC_DIR="tapestry-json/src/main/java" + +src_compile() { + # build classes needed for compilation + ejavac -d target/deps \ + -cp "$(java-pkg_getjars slf4j-api)" \ + $(find \ + commons/src/main/java \ + plastic-asm/src/main/java \ + plastic/src/external/java \ + plastic/src/main/java \ + tapestry5-annotations/src/main/java \ + tapestry-func/src/main/java \ + -name "*.java") || die + + java-pkg-simple_src_compile +} diff --git a/dev-java/velocity/Manifest b/dev-java/velocity/Manifest index dcfa5b4b4251..d2b1b6825701 100644 --- a/dev-java/velocity/Manifest +++ b/dev-java/velocity/Manifest @@ -1,5 +1,5 @@ DIST velocity-2.3_p20240314.tar.gz 440967 BLAKE2B c5fcea7af49d6c46d5c0943efe82f3c04d921afc2c53201b97842ae71714e7035d075c147b3bea71e959db12dd970b7879ade73bbc23bab09a1fd262e21f2fc6 SHA512 9055e780d2a3c798bfe30e5c7859a7311c4984b551d7b2ffa68c57c076549326d0ddae31eabff8009ea021c749331d34c71eee8cab55599dea5f3c8dba841a02 DIST velocity-2.4.1.tar.gz 445671 BLAKE2B 3a142303bd7bb1a6e012b9d33f96078fa925249bd62287e166e45faca7ad605b1b57f8f72b4829d009e4c11f54780727d919a96bcc081d83c26adf0a61eaecaa SHA512 3e821eaeb705e6ede8a51a8d3bff00d26909c20738bed92f5ef9600f3736709324807f7bbb93f5d431e60380b9a4f757f47cca6ec64e8e774c7ec1e4708d25f1 EBUILD velocity-2.3_p20240314.ebuild 3515 BLAKE2B 70e49bb066ff4f032216c0bf85a03507f7913ac9a86a585b802189495966cb55eb8c2ef9dce688f98c5631798980559d0b67db9b4f89ce0314da4ad5779830b8 SHA512 d020abf77e73a8ed6a1b08245904779506110f65f0256a59769f328683c3686432a246b6edc690a6a016c4eeb2023a312dbb1ac02d27ff2db9917e0c0e8dd9b0 -EBUILD velocity-2.4.1.ebuild 3609 BLAKE2B 6bd561039404364b8afa1567b93ea423e4d945222904bbd3897cd8c825255a35fafc392ba7257d61b6230a6606eba046ce104370b448343598d371438a11f2c3 SHA512 76eef83090a33220df52b687ff4630f6e53f44ffb48b706ecce52f5035c9d4d7bb45f3c39c10a40fca96fa35033c61dfcd53bb8e2e8ba2119926f8fa7b914902 +EBUILD velocity-2.4.1.ebuild 3608 BLAKE2B 67d584d40385451f5903ccf21805af2d9d33f546b3da5765249a415209064e96977952662a75e88da785bddf789a000988c535f8a747128f157ae98be2f7e785 SHA512 af4dfae90dd3912a76b2db446110f5834b61f79de9cfeba50e558251ee9770cd70ffbe5dbad792d6003becb2a97a4a979107aeccc59dd133671742adf204c7bb MISC metadata.xml 401 BLAKE2B b11e2740816123dd6a2e4c19958be0309b72bce734f677acac45570597adaaf7b1b21b240612fe7f0a31165d81bc8d70c258f0ff2ab41922acd74acd1e731b54 SHA512 1ebed6a12dd89d632574519db9e266fbf434d11ae28221813499a96a926fe33db2e52af6e36f5854b49df7b1898d166eece550a67c5e6bab4b4439e8b6289c36 diff --git a/dev-java/velocity/velocity-2.4.1.ebuild b/dev-java/velocity/velocity-2.4.1.ebuild index a867861989ad..9f43e4bf6f50 100644 --- a/dev-java/velocity/velocity-2.4.1.ebuild +++ b/dev-java/velocity/velocity-2.4.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-engine-${PV}/${PN}-engine-core" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64" +KEYWORDS="amd64 arm64 ~ppc64" CP_DEPEND=" dev-java/commons-lang:3.6 |