Github messages for voidlinux
 help / color / mirror / Atom feed
From: dexgs <dexgs@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] intellij-idea-community-edition: use jetbrains jdk
Date: Tue, 04 Oct 2022 01:27:50 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39683@inbox.vuxu.org> (raw)

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

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

https://github.com/dexgs/void-packages intellij
https://github.com/void-linux/void-packages/pull/39683

intellij-idea-community-edition: use jetbrains jdk
<!-- Uncomment relevant sections and delete options which are not applicable -->

Trying to run intellij with an openjdk will error on startup complaining about missing AWT modules which aren't in that distribution. Instead of depending on any java environment, depend explicitly on the jetbrains jdk and modify the desktop entry to launch intellij with that jdk.

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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/39683.patch is attached

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

From 708f67a43ac60a28cdd5a0a6ebef154438f2e76e Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 3 Oct 2022 19:23:34 -0400
Subject: [PATCH] intellij-idea-community-edition: use jetbrains jdk

---
 srcpkgs/intellij-idea-community-edition/files/idea.desktop | 4 ++--
 srcpkgs/intellij-idea-community-edition/template           | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/intellij-idea-community-edition/files/idea.desktop b/srcpkgs/intellij-idea-community-edition/files/idea.desktop
index 5d32e21b0193..939cd0bd9738 100644
--- a/srcpkgs/intellij-idea-community-edition/files/idea.desktop
+++ b/srcpkgs/intellij-idea-community-edition/files/idea.desktop
@@ -1,8 +1,8 @@
 [Desktop Entry]
 Name=IntelliJ IDEA Community Edition
 Comment=Java integrated development environment by JetBrains
-Exec=/usr/bin/idea %f
+Exec=env IDEA_JDK=/usr/lib/jvm/jbrsdk /usr/bin/idea %f
 Icon=idea
 Terminal=false
 Type=Application
-Categories=Development;
\ No newline at end of file
+Categories=Development;
diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 5da32aa243a4..62ea87394b40 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -1,9 +1,9 @@
 # Template file for 'intellij-idea-community-edition'
 pkgname=intellij-idea-community-edition
 version=2021.3.3
-revision=1
+revision=3
 archs="i686 x86_64"
-depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
+depends="jetbrains-jdk-bin giflib libXtst hicolor-icon-theme"
 short_desc="Java integrated development environment by JetBrains"
 maintainer="John <me@johnnynator.dev>"
 license="Apache-2.0"

             reply	other threads:[~2022-10-03 23:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-03 23:27 dexgs [this message]
2022-10-03 23:29 ` [PR PATCH] [Updated] " dexgs
2022-10-03 23:47 ` dexgs
2022-10-04 18:45 ` [PR PATCH] [Merged]: " classabbyamp
2022-10-04 18:58 ` Chocimier
2022-10-04 19:00 ` dexgs
2022-10-04 19:03 ` classabbyamp
2022-10-04 19:04 ` dexgs
2022-10-04 19:10 ` 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-39683@inbox.vuxu.org \
    --to=dexgs@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).