From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: jetbrains-jdk-11-11.0.4.520.2
Date: Sat, 19 Oct 2019 22:01:00 +0200 [thread overview]
Message-ID: <20191019200100.zuRwCfUnlc4FAczBU5JjBh0poL5yHeHx86ZMEfLqHx4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15629@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]
There is an updated pull request by 2asoft against master on the void-packages repository
https://github.com/2asoft/void-packages 2asoft/jetbrains-jre
https://github.com/void-linux/void-packages/pull/15629
New package: jetbrains-jdk-11-11.0.4.520.2
Package name is `jetbrains-jdk-11`.
Version is `11.0.4 build 520.2`.
The `-11` is part of package name because there is also a JDK 8 by JetBrains.
If there is a way to publish multiple disjoint versions of a package by the same name, (eg a jetbrains-jdk v8 and a v11), I would appreciate a pointer so I could change the template here.
The sources for this are available at the "homepage" location.
Ideally, we should build the sources to JetBrainsd JDK, however, I do not currently have the time to setup that build.
There is such a package in AUR in Arch Linux, it could be used as an example.
Once this is merged, I will also update PR #11736 to depend on this jdk.
A patch file from https://github.com/void-linux/void-packages/pull/15629.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-2asoft/jetbrains-jre-15629.patch --]
[-- Type: text/x-diff, Size: 2207 bytes --]
From e02d4f0f3111bf7d098b86fab4f7f7aa3e3797cb Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 19 Oct 2019 10:36:50 -0700
Subject: [PATCH] New package: jetbrains-jdk-11-11.0.4.520.2
---
srcpkgs/jetbrains-jdk-11/template | 38 +++++++++++++++++++++++++++++++
srcpkgs/jetbrains-jdk-11/update | 3 +++
2 files changed, 41 insertions(+)
create mode 100644 srcpkgs/jetbrains-jdk-11/template
create mode 100644 srcpkgs/jetbrains-jdk-11/update
diff --git a/srcpkgs/jetbrains-jdk-11/template b/srcpkgs/jetbrains-jdk-11/template
new file mode 100644
index 00000000000..a63728ec75f
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11/template
@@ -0,0 +1,38 @@
+# Template file for 'jetbrains-jdk-11'
+
+_jdk_build=520.2
+_jdk_fullver="11.0.4"
+_archive_name="jbrsdk-${_jdk_fullver//\./_}-linux-x64-b${_jdk_build}.tar.gz"
+
+pkgname=jetbrains-jdk-11
+version="${_jdk_fullver}b${_jdk_build}"
+revision=1
+archs="x86_64"
+wrksrc="jbrsdk"
+hostmakedepends="aria2"
+short_desc="JetBrains Java 11 JDK"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="GPL-2.0+CE"
+homepage="https://github.com/JetBrains/JetBrainsRuntime"
+distfiles="https://dl.bintray.com/jetbrains/intellij-jbr/${_archive_name}"
+checksum=690307a7bde2ae6ee11f245d8064bfa928bb6b03240ce75caebcb6002c934472
+nopie=yes
+# This JDK appears to link to libs that do not exist, but still continues to function well even in their absence.
+# Best guess is that they are optional. ¯\_(ツ)_/¯
+noverifyrdeps=yes
+
+fetch_cmd="aria2c -c"
+
+do_install() {
+ TARGET_PATH="usr/lib/jvm/jbrsdk-11"
+
+ vmkdir ${TARGET_PATH}
+
+ vcopy bin ${TARGET_PATH}
+ vcopy conf ${TARGET_PATH}
+ vcopy include ${TARGET_PATH}
+ vcopy jmods ${TARGET_PATH}
+ vcopy legal ${TARGET_PATH}
+ vcopy lib ${TARGET_PATH}
+ vcopy release ${TARGET_PATH}
+}
diff --git a/srcpkgs/jetbrains-jdk-11/update b/srcpkgs/jetbrains-jdk-11/update
new file mode 100644
index 00000000000..251f1bcb8f9
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11/update
@@ -0,0 +1,3 @@
+version=b${version#*b}
+pattern="jbrsdk-\d+_\d+_\d+-(?:linux-x64-)\Kb\d+\.\d+(?=\.tar\.gz</a>)"
+site="https://bintray.com/package/files/jetbrains/intellij-jbr/jbrsdk11-linux-x64"
next prev parent reply other threads:[~2019-10-19 20:01 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-19 19:54 [PR PATCH] " voidlinux-github
2019-10-19 19:58 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-19 19:58 ` voidlinux-github
2019-10-19 20:01 ` voidlinux-github
2019-10-19 20:01 ` voidlinux-github [this message]
2019-10-25 2:29 ` voidlinux-github
2019-10-25 2:29 ` voidlinux-github
2019-10-25 4:16 ` [PR PATCH] [Updated] New package: jetbrains-jdk-11-bin-11.0.4b546.9 voidlinux-github
2019-10-25 4:16 ` voidlinux-github
2019-10-26 14:04 ` voidlinux-github
2019-10-26 14:04 ` voidlinux-github
2019-10-26 14:25 ` New package: jetbrains-jdk-11-bin-11.0.5b562.2 voidlinux-github
2019-10-26 16:31 ` voidlinux-github
2019-10-26 21:10 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-26 21:10 ` voidlinux-github
2019-10-26 21:11 ` New package: jetbrains-jdk-bin-11.0.5b562.2 voidlinux-github
2019-10-26 21:19 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-26 21:19 ` voidlinux-github
2019-10-26 21:32 ` voidlinux-github
2019-10-26 21:32 ` voidlinux-github
2019-10-31 3:32 ` voidlinux-github
2019-10-31 3:32 ` voidlinux-github
2019-11-09 6:05 ` [PR PATCH] [Updated] New package: jetbrains-jdk-bin-11.0.5b569.2 voidlinux-github
2019-11-09 19:58 ` voidlinux-github
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=20191019200100.zuRwCfUnlc4FAczBU5JjBh0poL5yHeHx86ZMEfLqHx4@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).