Github messages for voidlinux
 help / color / mirror / Atom feed
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: Fri, 25 Oct 2019 04:29:30 +0200	[thread overview]
Message-ID: <20191025022930.HMADN4sIU6YtHxrR63EDzxhHbuNInoh9wK8p7KBdCoo@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: 2161 bytes --]

From 7b1347679a805ea69cd8f965938487960956d831 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-bin-11.0.4b546.9

---
 srcpkgs/jetbrains-jdk-11-bin/template | 36 +++++++++++++++++++++++++++
 srcpkgs/jetbrains-jdk-11-bin/update   |  2 ++
 2 files changed, 38 insertions(+)
 create mode 100644 srcpkgs/jetbrains-jdk-11-bin/template
 create mode 100644 srcpkgs/jetbrains-jdk-11-bin/update

diff --git a/srcpkgs/jetbrains-jdk-11-bin/template b/srcpkgs/jetbrains-jdk-11-bin/template
new file mode 100644
index 00000000000..f3e6283dc25
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11-bin/template
@@ -0,0 +1,36 @@
+# Template file for 'jetbrains-jdk-11-bin'
+
+pkgname=jetbrains-jdk-11-bin
+version="11.0.4b546.9"
+_jbr_sdk_ver=${version%b*}
+_jbr_sdk_ver=${_jbr_sdk_ver//\./_}
+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-only, Classpath-exception-2.0"
+homepage="https://github.com/JetBrains/JetBrainsRuntime"
+distfiles="https://dl.bintray.com/jetbrains/intellij-jbr/jbrsdk-${_jbr_sdk_ver}-linux-x64-b${version#*b}.tar.gz"
+checksum=f30e9f8cb8fc861c71a41cafb5e394eeebd96f11eeb43433b1510b30c0a55f2c
+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-bin/update b/srcpkgs/jetbrains-jdk-11-bin/update
new file mode 100644
index 00000000000..38f51220234
--- /dev/null
+++ b/srcpkgs/jetbrains-jdk-11-bin/update
@@ -0,0 +1,2 @@
+version=b${version#*b}
+pattern="jbrsdk-\d+_\d+_\d+-(?:linux-x64-)\Kb\d+\.\d+(?=\.tar\.gz</a>)"

  parent reply	other threads:[~2019-10-25  2:29 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
2019-10-25  2:29 ` voidlinux-github
2019-10-25  2:29 ` voidlinux-github [this message]
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=20191025022930.HMADN4sIU6YtHxrR63EDzxhHbuNInoh9wK8p7KBdCoo@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).