Github messages for voidlinux
 help / color / mirror / Atom feed
From: 2asoft <2asoft@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] jetbrains-jdk-bin: update to 11.0.11b1504.13.
Date: Tue, 10 Aug 2021 06:31:05 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32435@inbox.vuxu.org> (raw)

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

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

https://github.com/2asoft/void-packages 2asoft/jb_update_jdk
https://github.com/void-linux/void-packages/pull/32435

jetbrains-jdk-bin: update to 11.0.11b1504.13.
#### General

This also enables the port for `aarch64`, seeing that (at least some of) JetBrains' IDEs support that arch.

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-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/32435.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-2asoft/jb_update_jdk-32435.patch --]
[-- Type: text/x-diff, Size: 2657 bytes --]

From e05f90540cade07de7574ae2207c030d2e3887a3 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <1157248+2asoft@users.noreply.github.com>
Date: Sun, 8 Aug 2021 00:24:20 -0700
Subject: [PATCH] jetbrains-jdk-bin: update to 11.0.11b1504.13.

---
 srcpkgs/jetbrains-jdk-bin/template | 13 +++++++++----
 srcpkgs/jetbrains-jdk-bin/update   |  7 +++++--
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/jetbrains-jdk-bin/template b/srcpkgs/jetbrains-jdk-bin/template
index f1fb9fc2340c..5b08a29f7387 100644
--- a/srcpkgs/jetbrains-jdk-bin/template
+++ b/srcpkgs/jetbrains-jdk-bin/template
@@ -1,8 +1,8 @@
 # Template file for 'jetbrains-jdk-bin'
 pkgname=jetbrains-jdk-bin
-version=11.0.11b1504.12
+version=11.0.11b1504.13
 revision=1
-archs="x86_64"
+archs="x86_64 aarch64"
 wrksrc="jbr"
 short_desc="JetBrains Java 11 JDK"
 maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
@@ -10,8 +10,13 @@ license="GPL-2.0-only, Classpath-exception-2.0"
 homepage="https://github.com/JetBrains/JetBrainsRuntime"
 _jdk_ver=${version%b*}
 _jdk_build=${version#*b}
-distfiles="https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-${_jdk_ver//\./_}-linux-x64-b${_jdk_build}.tar.gz"
-checksum=1bef2d18ee6eb84de1cce9aceddfb8f2b8938f1c14a291960625c8c3e2331871
+case "$XBPS_TARGET_MACHINE" in
+	aarch64) _relarch=aarch64;;
+	x86_64) _relarch=x64;;
+	*) broken="Not supported on this architecture";;
+esac
+distfiles="https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-${_jdk_ver//\./_}-linux-${_relarch}-b${_jdk_build}.tar.gz"
+checksum=bed2152b9364d801ef25d6837779827e7a665ee6bb7497da26de017fcf027e60
 # This JDK appears to link to libs that do not exist, but functions well even in their absence.
 # Best guess is that they are optional. ¯\_(ツ)_/¯
 noverifyrdeps=yes
diff --git a/srcpkgs/jetbrains-jdk-bin/update b/srcpkgs/jetbrains-jdk-bin/update
index a055a2380e9e..396accac50fb 100644
--- a/srcpkgs/jetbrains-jdk-bin/update
+++ b/srcpkgs/jetbrains-jdk-bin/update
@@ -1,6 +1,9 @@
 # NOTE: This does not check the jdk_ver part of the version (eg 11.0.4)
 # If it changes, this update check will not detect it, it will only detect the build number change.
 # It will be up to the maintainer to go hunt down the correct jdk version and update the template.
+_jdk_ver=${version%b*}
 _jdk_build=${version#*b}
-version=b${_jdk_build}
-pattern="jbrsdk-\d+_\d+_\d+(?:_\d+)?-(?:linux-x64-)\Kb\d+\.\d+(?=\.tar\.gz</a>)"
+version=${_jdk_ver}-b${_jdk_build}
+echo "Template is for version $version"
+pattern="/releases/tag/jb\K11_\d+_\d+-b\d+(\.\d+)?(?=\">)"
+site="https://github.com/JetBrains/JetBrainsRuntime"
\ No newline at end of file

             reply	other threads:[~2021-08-10  4:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10  4:31 2asoft [this message]
2021-08-11 23:18 ` Chocimier
2021-08-30 18:10 ` Chocimier
2021-08-31  2:28 ` 2asoft
2021-08-31  2:31 ` [PR PATCH] [Updated] " 2asoft
2021-08-31 18:51 ` [PR PATCH] [Updated] jetbrains-jdk-bin: update to 11.0.11b1504.16 Chocimier
2021-08-31 18:53 ` Chocimier
2021-08-31 18:53 ` [PR PATCH] [Merged]: " Chocimier

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-32435@inbox.vuxu.org \
    --to=2asoft@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).