Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] openjdk17: update to 17.0.3+7
@ 2022-04-20 23:08 classabbyamp
  2022-04-21  0:55 ` [PR PATCH] [Updated] " classabbyamp
  2022-04-21 10:06 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 2 replies; 3+ messages in thread
From: classabbyamp @ 2022-04-20 23:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1315 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages update/openjdk17-17.0.3+7
https://github.com/void-linux/void-packages/pull/36786

openjdk17: update to 17.0.3+7
- New package: openjdk17-jmods-17.0.3+5
- openjdk17: update to 17.0.3+7.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36786.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/openjdk17-17.0.3+7-36786.patch --]
[-- Type: text/x-diff, Size: 2926 bytes --]

From fe0b703569e0266b932350d16833caad98f1b57e Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Wed, 20 Apr 2022 19:05:43 -0400
Subject: [PATCH 1/2] New package: openjdk17-jmods-17.0.3+5

---
 srcpkgs/openjdk17-jmods    |  1 +
 srcpkgs/openjdk17/template | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/openjdk17-jmods

diff --git a/srcpkgs/openjdk17-jmods b/srcpkgs/openjdk17-jmods
new file mode 120000
index 000000000000..99ab1cb1b0d2
--- /dev/null
+++ b/srcpkgs/openjdk17-jmods
@@ -0,0 +1 @@
+openjdk17
\ No newline at end of file
diff --git a/srcpkgs/openjdk17/template b/srcpkgs/openjdk17/template
index 7e368f9b687e..9dba58b0d0d7 100644
--- a/srcpkgs/openjdk17/template
+++ b/srcpkgs/openjdk17/template
@@ -168,7 +168,7 @@ post_install() {
 	rm -rf ./ca
 }
 
-subpackages="openjdk17-src openjdk17-jre openjdk17-doc"
+subpackages="openjdk17-src openjdk17-jre openjdk17-doc openjdk17-jmods"
 
 openjdk17-jre_package() {
 	shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
@@ -223,3 +223,11 @@ openjdk17-src_package() {
 		vmove "$_jdk_home/lib/src.zip"
 	}
 }
+
+openjdk17-jmods_package() {
+	short_desc+=" - JMODs"
+	depends="${pkgname}-${version}_${revision}"
+	pkg_install() {
+		vmove $_jdk_home/jmods
+	}
+}

From 204986cbd1d14e71e4c43ec8412cccd62ce819bc Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Wed, 20 Apr 2022 19:06:37 -0400
Subject: [PATCH 2/2] openjdk17: update to 17.0.3+7.

---
 srcpkgs/openjdk17/template | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/openjdk17/template b/srcpkgs/openjdk17/template
index 9dba58b0d0d7..9ad2b4ce774f 100644
--- a/srcpkgs/openjdk17/template
+++ b/srcpkgs/openjdk17/template
@@ -1,6 +1,6 @@
 # Template file for 'openjdk17'
 pkgname=openjdk17
-version=17.0.3+5
+version=17.0.3+7
 revision=1
 _gtest_ver=1.8.1
 _java_ver="${version%%.*}"
@@ -44,7 +44,7 @@ license="GPL-2.0-only WITH Classpath-exception-2.0"
 homepage="http://openjdk.java.net/"
 distfiles="https://github.com/openjdk/jdk${_java_ver}u/archive/jdk-${version}.tar.gz
  https://github.com/google/googletest/archive/refs/tags/release-${_gtest_ver}.tar.gz"
-checksum="a557f4d2972bbbbcdc12fa7e167ad60b4ee1461a9bc7ad259a003172c34e6331
+checksum="22575340d080a396442658356583d9c7dc0c44cefa52842fbfcf23eef23c39a0
  9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c"
 provides="java-environment-${version}_1"
 patch_args="-Np1 --directory=$build_wrksrc"
@@ -81,11 +81,6 @@ else
 fi
 
 alternatives="
- java:/usr/bin/java:/${_jdk_home}/bin/java
- java:/usr/bin/jfr:/${_jdk_home}/bin/jfr
- java:/usr/bin/keytool:/${_jdk_home}/bin/keytool
- java:/usr/bin/rmiregistry:/${_jdk_home}/bin/rmiregistry
-
  jdk:/usr/bin/jar:/${_jdk_home}/bin/jar
  jdk:/usr/bin/jarsigner:/${_jdk_home}/bin/jarsigner
  jdk:/usr/bin/java:/${_jdk_home}/bin/java

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] openjdk17: update to 17.0.3+7
  2022-04-20 23:08 [PR PATCH] openjdk17: update to 17.0.3+7 classabbyamp
@ 2022-04-21  0:55 ` classabbyamp
  2022-04-21 10:06 ` [PR PATCH] [Merged]: " leahneukirchen
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-04-21  0:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages update/openjdk17-17.0.3+7
https://github.com/void-linux/void-packages/pull/36786

openjdk17: update to 17.0.3+7
- New package: openjdk17-jmods-17.0.3+5
- openjdk17: update to 17.0.3+7.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36786.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/openjdk17-17.0.3+7-36786.patch --]
[-- Type: text/x-diff, Size: 3317 bytes --]

From fe0b703569e0266b932350d16833caad98f1b57e Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Wed, 20 Apr 2022 19:05:43 -0400
Subject: [PATCH 1/2] New package: openjdk17-jmods-17.0.3+5

---
 srcpkgs/openjdk17-jmods    |  1 +
 srcpkgs/openjdk17/template | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/openjdk17-jmods

diff --git a/srcpkgs/openjdk17-jmods b/srcpkgs/openjdk17-jmods
new file mode 120000
index 000000000000..99ab1cb1b0d2
--- /dev/null
+++ b/srcpkgs/openjdk17-jmods
@@ -0,0 +1 @@
+openjdk17
\ No newline at end of file
diff --git a/srcpkgs/openjdk17/template b/srcpkgs/openjdk17/template
index 7e368f9b687e..9dba58b0d0d7 100644
--- a/srcpkgs/openjdk17/template
+++ b/srcpkgs/openjdk17/template
@@ -168,7 +168,7 @@ post_install() {
 	rm -rf ./ca
 }
 
-subpackages="openjdk17-src openjdk17-jre openjdk17-doc"
+subpackages="openjdk17-src openjdk17-jre openjdk17-doc openjdk17-jmods"
 
 openjdk17-jre_package() {
 	shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
@@ -223,3 +223,11 @@ openjdk17-src_package() {
 		vmove "$_jdk_home/lib/src.zip"
 	}
 }
+
+openjdk17-jmods_package() {
+	short_desc+=" - JMODs"
+	depends="${pkgname}-${version}_${revision}"
+	pkg_install() {
+		vmove $_jdk_home/jmods
+	}
+}

From 8f85fd3f277d8b27ab2569310694c634fbc3af8f Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Wed, 20 Apr 2022 19:06:37 -0400
Subject: [PATCH 2/2] openjdk17: update to 17.0.3+7.

also disable for armv5 and 6, the arch is not supported
---
 srcpkgs/openjdk17/template | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/openjdk17/template b/srcpkgs/openjdk17/template
index 9dba58b0d0d7..2554e49c54ea 100644
--- a/srcpkgs/openjdk17/template
+++ b/srcpkgs/openjdk17/template
@@ -1,6 +1,6 @@
 # Template file for 'openjdk17'
 pkgname=openjdk17
-version=17.0.3+5
+version=17.0.3+7
 revision=1
 _gtest_ver=1.8.1
 _java_ver="${version%%.*}"
@@ -44,7 +44,7 @@ license="GPL-2.0-only WITH Classpath-exception-2.0"
 homepage="http://openjdk.java.net/"
 distfiles="https://github.com/openjdk/jdk${_java_ver}u/archive/jdk-${version}.tar.gz
  https://github.com/google/googletest/archive/refs/tags/release-${_gtest_ver}.tar.gz"
-checksum="a557f4d2972bbbbcdc12fa7e167ad60b4ee1461a9bc7ad259a003172c34e6331
+checksum="22575340d080a396442658356583d9c7dc0c44cefa52842fbfcf23eef23c39a0
  9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c"
 provides="java-environment-${version}_1"
 patch_args="-Np1 --directory=$build_wrksrc"
@@ -53,10 +53,11 @@ patch_args="-Np1 --directory=$build_wrksrc"
 disable_parallel_build=yes
 build_options="docs"
 
-# no hotspot JIT for ppc32
 case "$XBPS_TARGET_MACHINE" in
 	ppc64*) ;;
+	# no hotspot JIT for ppc32
 	ppc*) _use_zero=yes ;;
+	armv[56]*) broken="Unsupported architecture" ;;
 esac
 
 if [ -n "$_use_zero" ]; then
@@ -81,11 +82,6 @@ else
 fi
 
 alternatives="
- java:/usr/bin/java:/${_jdk_home}/bin/java
- java:/usr/bin/jfr:/${_jdk_home}/bin/jfr
- java:/usr/bin/keytool:/${_jdk_home}/bin/keytool
- java:/usr/bin/rmiregistry:/${_jdk_home}/bin/rmiregistry
-
  jdk:/usr/bin/jar:/${_jdk_home}/bin/jar
  jdk:/usr/bin/jarsigner:/${_jdk_home}/bin/jarsigner
  jdk:/usr/bin/java:/${_jdk_home}/bin/java

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: openjdk17: update to 17.0.3+7
  2022-04-20 23:08 [PR PATCH] openjdk17: update to 17.0.3+7 classabbyamp
  2022-04-21  0:55 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-04-21 10:06 ` leahneukirchen
  1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2022-04-21 10:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

There's a merged pull request on the void-packages repository

openjdk17: update to 17.0.3+7
https://github.com/void-linux/void-packages/pull/36786

Description:
- New package: openjdk17-jmods-17.0.3+5
- openjdk17: update to 17.0.3+7.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-21 10:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 23:08 [PR PATCH] openjdk17: update to 17.0.3+7 classabbyamp
2022-04-21  0:55 ` [PR PATCH] [Updated] " classabbyamp
2022-04-21 10:06 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).