Package Details: rustrover-jre 2024.1.2-1

Git Clone URL: https://aur.archlinux.org/rustrover.git (read-only, click to copy)
Package Base: rustrover
Description: JBR (JetBrains Runtime) for RustRover - a patched JRE
Upstream URL: https://github.com/JetBrains/JetBrainsRuntime
Licenses: custom:jetbrains
Submitter: freswa
Maintainer: freswa
Last Packager: freswa
Votes: 17
Popularity: 4.00
First Submitted: 2023-09-14 11:50 (UTC)
Last Updated: 2024-06-12 13:34 (UTC)

Pinned Comments

freswa commented on 2023-09-14 11:52 (UTC)

This will track EAP releases until the first stable release is available.

Latest Comments

1 2 Next › Last »

handsomexdd1024 commented on 2024-05-31 13:51 (UTC) (edited on 2024-05-31 13:51 (UTC) by handsomexdd1024)

Generated download link points to x86_64 version. Maybe we need to distinguish x86_64 and arm64?

Ramazottii commented on 2024-03-12 00:28 (UTC) (edited on 2024-03-12 00:36 (UTC) by Ramazottii)

Cant start rustrover. "No JRE found. Please make sure $RUSTROVER_JDK, $JDK_HOME, or $JAVA_HOME point to valid JRE installation." UPD: fixed by sudo pacman -S jdk-openjdk

jkl commented on 2024-01-23 20:51 (UTC)

Why does this depend on rust-src? It will run fine without it. Doesn't seem sensible policy to depend on a system wide rust artifact, rustup or not.

muhaha commented on 2023-12-27 23:40 (UTC)

Hey freswa, JetBrains provides a tarball for x86 and arm64 and when using the x86 tarball on a arm64 system I get the following error

2023-12-27 23:55:25,107 [     41]   WARN - #c.i.p.i.b.AppStarter - Unable to load JNA library (os=Linux 6.5.0-asahi-15-1-edge-arch, jna.boot.library.path=/opt/rustrover/lib/jna/amd64)
java.lang.UnsatisfiedLinkError: Unable to locate JNA native support library
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:1018)
        at com.sun.jna.Native.<clinit>(Native.java:221)
        at com.intellij.jna.JnaLoader.load(JnaLoader.java:19)
        at com.intellij.platform.ide.bootstrap.StartupUtil$scheduleLoadSystemLibsAndLogInfoAndInitMacApp$1$2.invokeSuspend(main.kt:446)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
        at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
        at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

so I have made a patch that should work for both x86 and arm64 I hope you can use.

diff --git a/PKGBUILD b/PKGBUILD
index cb60110..631812a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,16 +6,21 @@ pkgname=(rustrover rustrover-jre)
 pkgver=233.11799.306
 pkgrel=1
 pkgdesc='JetBrains IDE for Rust Developers'
-arch=('any')
+arch=('x86_64' 'aarch64')
 url='https://www.jetbrains.com/rust/'
 license=('custom:jetbrains')
 depends=('glib2' 'rust-src')
 options=('!strip')
-source=("https://download.jetbrains.com/${pkgbase}/RustRover-${pkgver}.tar.gz"
-        jetbrains-rustrover.desktop
+
+source_x86_64=("https://download.jetbrains.com/${pkgbase}/RustRover-${pkgver}.tar.gz")
+b2sums_x86_64=('a53f56877fc6907572b32eb95c85eafb8acc3bc22264dce33e2beb4ee14e74596a645e48784b7b59b5a34d30895c6a9e02cc519579d8ec5e40a22995c3eeb565')
+
+source_aarch64=("https://download.jetbrains.com/${pkgbase}/RustRover-${pkgver}-aarch64.tar.gz")
+b2sums_aarch64=('da033ea451317fdeed3cf8339b174bf0343bd1745e7258b4680fd2df95f6a72dec6c1fd4dffff52ee3e3ca7aded41b40e9ac9c032c000d81b8527a4ac4065614')
+
+source=(jetbrains-rustrover.desktop
         LICENSE)
-b2sums=('a53f56877fc6907572b32eb95c85eafb8acc3bc22264dce33e2beb4ee14e74596a645e48784b7b59b5a34d30895c6a9e02cc519579d8ec5e40a22995c3eeb565'
-        '2ff312ed00796449ba37ff2b449c1cea8ed9edcb7d5e1cbce8a36c41184e04a38f1b8c56c913c26834d09e5f990063aed6a55f9b5ccbf79bda86f5b2552e60c5'
+b2sums=('2ff312ed00796449ba37ff2b449c1cea8ed9edcb7d5e1cbce8a36c41184e04a38f1b8c56c913c26834d09e5f990063aed6a55f9b5ccbf79bda86f5b2552e60c5'
         'dadaf0e67b598aa7a7a4bf8644943a7ee8ebf4412abb17cd307f5989e36caf9d0db529a0e717a9df5d9537b10c4b13e814b955ada6f0d445913c812b63804e77')

 package_rustrover() {

freswa commented on 2023-11-18 16:24 (UTC)

rustup provides rust-src

jontyshaw commented on 2023-11-18 08:42 (UTC)

Please remove the dependence of rust-src, because the most choose rustup to install rust.

orium commented on 2023-09-18 20:21 (UTC)

rustup provides rust-src - just replace it.

I also have rustup installed independently, not through an arch linux package. This is a very common setup. rust{,-src} could be an optional dependency.

freswa commented on 2023-09-15 17:51 (UTC)

rustup provides rust-src - just replace it.

orium commented on 2023-09-15 17:46 (UTC)

Is it possible to not depend on rust and rust-src? I install rust through rustup and I think many (most?) people do the same.