

























Is it possible to have a separate package for JBR, so that all the *-jre packages just symlink to that? Currently, by default, if you install multiple JetBrains IDEs using your wonderful AUR packages, they each bundle the same JBR files again.
After installation i get below error even if I have java-runtime installed.
Cannot start the IDE
Cannot find a runtime<br><br>Caused by:<br> Runtime not found<br><br>Please try to reinstall the IDE.<br>For support, please refer to https://jb.gg/ide/critical-startup-errors
diff --git a/.SRCINFO b/.SRCINFO
index 0e5fbef..9a8e896 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,7 +20,7 @@ pkgbase = clion
pkgname = clion
depends = libdbusmenu-glib
- optdepends = clion-jre: JetBrains custom Java Runtime (Recommended)
+ depends = clion-jre
optdepends = clion-cmake: JetBrains packaged CMake tools
optdepends = clion-gdb: JetBrains packaged GNU debugger
optdepends = clion-lldb: JetBrains packaged LLVM debugger
diff --git a/PKGBUILD b/PKGBUILD
index 36fc936..822480e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -43,9 +43,8 @@ build() {
}
package_clion() {
- depends=('libdbusmenu-glib')
+ depends=('libdbusmenu-glib' 'clion-jre')
optdepends=(
- 'clion-jre: JetBrains custom Java Runtime (Recommended)'
'clion-cmake: JetBrains packaged CMake tools'
'clion-gdb: JetBrains packaged GNU debugger'
'clion-lldb: JetBrains packaged LLVM debugger'
IMO the build() function should be renamed to prepare() and the full path in the .desktop file is unnecessary, since it is the default.
@munir0b0t: AFAIK it should take seconds, or maybe minutes. It's not actually building anything, just repackaging binaries into a pacman pkg.
I have however disabled compression of the packages in makepkg.conf because I don't use that much AUR packages so I'd rather have the speed instead of the disk usage.
Maybe the downloading is taking long?
How long does this package take to build typically? I have a decent enough system (8 cores, 8 GB RAM, 16 GB swap) and the package takes upwards of an hour to build with yay -Syu. Trying to figure out if that is expected or something's wrong with my system. Most of the time is spent compressing the package and in the rsync command.
It seems some of those tools don't handle conditional dependencies very well... I've reverted the change to JRE bundling, and added a comment on the java-runtime dependency to point users to the JetBrains documentation around using an external JRE instead.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
That was reverted. There is a clion-jre package.