From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] openjdk17: static-libs subpackage
Date: Wed, 01 Mar 2023 17:14:26 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42526@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages openjdk17-static
https://github.com/void-linux/void-packages/pull/42526
openjdk17: static-libs subpackage
- openjdk11: remove useless nostrep from -static-libs
- openjdk17: static libs subpackage
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
A patch file from https://github.com/void-linux/void-packages/pull/42526.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openjdk17-static-42526.patch --]
[-- Type: text/x-diff, Size: 2409 bytes --]
From 2d66aa1b1618c4ff6ac6328fa8e480bc46ff66e4 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 1 Mar 2023 11:12:36 -0500
Subject: [PATCH 1/2] openjdk11: remove useless nostrep from -static-libs
it wasn't doing anything anyways, it was "notstrip"
---
srcpkgs/openjdk11/template | 1 -
1 file changed, 1 deletion(-)
diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template
index 173aac14b5d5..9039332ad868 100644
--- a/srcpkgs/openjdk11/template
+++ b/srcpkgs/openjdk11/template
@@ -212,7 +212,6 @@ openjdk11-src_package() {
}
openjdk11-static-libs_package() {
- notstrip=yes
short_desc+=" - static libs"
pkg_install() {
vmkdir $_jdk_home
From aafb44b899c62f9a344f4f1a9872bca4c4f55344 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 1 Mar 2023 11:13:09 -0500
Subject: [PATCH 2/2] openjdk17: static libs subpackage
---
srcpkgs/openjdk17/template | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/openjdk17/template b/srcpkgs/openjdk17/template
index e4b6a8a3b5bb..c72606b9311d 100644
--- a/srcpkgs/openjdk17/template
+++ b/srcpkgs/openjdk17/template
@@ -30,7 +30,7 @@ configure_args="--disable-warnings-as-errors
--with-vendor-url=https://voidlinux.org/
--with-vendor-bug-url=https://github.com/void-linux/void-packages/issues
--with-vendor-vm-bug-url=https://github.com/void-linux/void-packages/issues"
-make_build_args="images $(vopt_if docs docs)"
+make_build_args="images static-libs-image $(vopt_if docs docs)"
make_install_args="INSTALL_PREFIX=\"${DESTDIR}/usr/lib\""
make_check_target="test-hotspot-gtest"
hostmakedepends="pkg-config automake autoconf cpio tar unzip zip ca-certificates
@@ -166,7 +166,7 @@ post_install() {
rm -rf ./ca
}
-subpackages="openjdk17-src openjdk17-jre openjdk17-doc openjdk17-jmods"
+subpackages="openjdk17-src openjdk17-jre openjdk17-doc openjdk17-jmods openjdk17-static-libs"
openjdk17-jre_package() {
shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so"
@@ -219,6 +219,14 @@ openjdk17-src_package() {
}
}
+openjdk11-static-libs_package() {
+ short_desc+=" - static libs"
+ pkg_install() {
+ vmkdir $_jdk_home
+ vcopy build/*-normal-*-release/images/static-libs/lib $_jdk_home
+ }
+}
+
openjdk17-jmods_package() {
short_desc+=" - JMODs"
depends="${pkgname}-${version}_${revision}"
next reply other threads:[~2023-03-01 16:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 16:14 classabbyamp [this message]
2023-03-01 17:08 ` icp1994
2023-03-01 18:54 ` classabbyamp
2023-03-01 22:21 ` [PR PATCH] [Updated] " classabbyamp
2023-03-01 23:19 ` classabbyamp
2023-03-05 7:25 ` classabbyamp
2023-03-05 8:26 ` icp1994
2023-03-05 8:28 ` icp1994
2023-03-05 8:30 ` [PR PATCH] [Updated] " classabbyamp
2023-03-05 8:31 ` classabbyamp
2023-03-05 8:32 ` classabbyamp
2023-03-06 18:48 ` classabbyamp
2023-03-16 0:41 ` [PR PATCH] [Updated] " classabbyamp
2023-03-16 0:51 ` classabbyamp
2023-03-16 6:06 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42526@inbox.vuxu.org \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).