Package Details: clion 1:2024.2.2-1

Git Clone URL: https://aur.archlinux.org/clion.git (read-only, click to copy)
Package Base: clion
Description: Cross-platform IDE for C and C++ from JetBrains.
Upstream URL: http://www.jetbrains.com/clion
Keywords: C C++ IDE JetBrains
Licenses: custom
Submitter: rdoursenaud
Maintainer: Zrax
Last Packager: Zrax
Votes: 230
Popularity: 1.92
First Submitted: 2015-04-14 21:23 (UTC)
Last Updated: 2024-09-23 16:25 (UTC)

Dependencies (17)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 10 Next › Last »

MarsSeed commented on 2023-08-16 11:11 (UTC)

Hi,

Please kindly remove biicode from optdepends.

It has been discontinued since 2015, and doesn't work, as it is badly packaged - several of its Python2 deps are not declared.

And if someone installs the required packages, biicode just makes a web call to a nonexistent Heroku PaaS container:

https://biiserverproduction.herokuapp.com/

And then it does not do anything: all it responds every time is:

ERROR: None or bad command. Type "bii --help" for available commands

Ultimately, biicode is dead without its online repository / metadata server. Basically it is like the online functionality of pip without PyPI.org, or pacman -S without any existing repos configured.

DCNick3 commented on 2023-07-31 11:58 (UTC) (edited on 2023-07-31 12:11 (UTC) by DCNick3)

It seems that now intellij provides official builds of CLion for aarch64, here's a URL for 2023.2: https://download-cdn.jetbrains.com/cpp/CLion-2023.2-aarch64.tar.gz

Using it as source URL on aarch64 seems to just work™

god commented on 2023-05-23 13:54 (UTC)

Recently, whenever I start debugging, a box appears at the bottom-left saying: Error during pretty printers setup: Error while executing Python code. Some features and performance optimizations will not be available.

I did some web search, and it seems that the solution is using the "bundled GDB". I used the GDB in the Arch repository. What is the easiest solution to solve this problem? Debugging seems to work normally anyway, so at least I want to suppress that box from appearing.

pizza247 commented on 2023-03-30 00:49 (UTC)

Can confirm Corpswalkers patch works with clion 1:2023.1-1 on 6.2.0-asahi-11-1-edge-ARCH (64-bit)

Corpswalker commented on 2022-08-12 09:46 (UTC) (edited on 2022-08-12 09:53 (UTC) by Corpswalker)

Hi had some troubles starting CLion on my Mac M1 and fixed (more of a workaround since JetBrains is not supporting it officially) the aarch64 build with a compatible jbr build and fsnotifier. Here is my patch:


diff --git a/PKGBUILD b/PKGBUILD
index 387d1fb..1a15fe9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,9 @@ _dlname=CLion
 pkgver=2022.2
 pkgrel=1
 epoch=1
+jbr_ver=17.0.3
+jbr_build=aarch64-b469
+jbr_minor=37
 pkgdesc="C/C++ IDE. Free 30-day trial."
 arch=('x86_64' 'aarch64')
 options=(!strip)
@@ -20,8 +23,12 @@ license=('custom')
 makedepends=('rsync')
 source=("https://download.jetbrains.com/cpp/${_dlname}-${pkgver}.tar.gz"
         "jetbrains-${pkgbase}.desktop")
+source_aarch64=("https://cache-redirector.jetbrains.com/intellij-jbr/jbr-${jbr_ver}-linux-${jbr_build}.${jbr_minor}.tar.gz"
+                "https://github.com/JetBrains/intellij-community/raw/master/bin/linux/aarch64/fsnotifier")
 sha256sums=('94ffbdf82606f2f90618c1fdb89432d627e7f24ae158b36a591da2c303047436'
             '13c9e7c7f6ef57ee573d133bf30a599390a99087a1f578caea62020e0f742587')
+sha256sums_aarch64=('737242bdd6795a14897ff97bb0bb8d99e7a1a5878a6d2f942712147b20312320'
+                    'eb3c61973d34f051dcd3a9ae628a6ee37cd2b24a1394673bb28421a6f39dae29')
 noextract=("${_dlname}-${pkgver}.tar.gz")

 build() {
@@ -29,6 +36,16 @@ build() {
     mkdir -p "${srcdir}/opt/${pkgbase}"
     bsdtar --strip-components 1 -xf "${_dlname}-${pkgver}.tar.gz" \
            -C "${srcdir}/opt/${pkgbase}"
+
+    # https://youtrack.jetbrains.com/articles/IDEA-A-48/JetBrains-IDEs-on-AArch64#linux
+    if [ "${CARCH}" == "aarch64" ]; then
+        cd "${srcdir}"
+        cp -a fsnotifier opt/${pkgbase}/bin/fsnotifier
+        chmod +x opt/${pkgbase}/bin/fsnotifier
+        rm -r opt/${pkgbase}/jbr
+        cp -a jbr-${jbr_ver}-${jbr_build} opt/${pkgbase}/jbr
+        cd ../
+    fi
 }

 package_clion() {

txtsd commented on 2022-08-04 10:19 (UTC)

Since the last update, it works if I launch it via CLI. But it crashes without explanation if I launch it via a launcher/.desktop file, after the splash screen.

tpkee commented on 2022-06-16 10:04 (UTC) (edited on 2022-06-16 10:04 (UTC) by tpkee)

I installed Clion and Clion-jre but it doesn't start (wayland). If I try to run clion by terminal I get just this: 2022-06-16 12:02:54,955 [ 2] WARN - j.u.prefs - Prefs file removed in background /home/acc/.java/.userPrefs/prefs.xml

deltaclock commented on 2022-04-11 15:16 (UTC)

Actually there is a fix to make this package work on JDK 17 but not sure if it will behave weirdly in specific setups.

Add these options to /opt/clion/bin/clion64.vmoptions

--add-opens=java.desktop/java.awt.event=ALL-UNNAMED
--add-opens=java.desktop/sun.font=ALL-UNNAMED
--add-opens=java.desktop/java.awt=ALL-UNNAMED
--add-opens=java.desktop/sun.awt=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.desktop/javax.swing=ALL-UNNAMED
--add-opens=java.desktop/sun.swing=ALL-UNNAMED
--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
--add-opens=java.desktop/java.awt.peer=ALL-UNNAMED
--add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED
--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED
--add-opens=java.desktop/sun.awt.datatransfer=ALL-UNNAMED
--add-exports=java.desktop/sun.font=ALL-UNNAMED

Based on: https://youtrack.jetbrains.com/issue/JBR-745#focus=Comments-27-5917038.0-0

miten commented on 2022-02-14 12:14 (UTC) (edited on 2022-02-14 12:14 (UTC) by miten)

swift in opt dependencies should be renamed to swift-language

recolic commented on 2021-10-29 07:35 (UTC) (edited on 2021-10-29 07:35 (UTC) by recolic)

I think clion should depends on clion-jre. I'm also experiencing the same error.

If one day clion runs on latest jre-openjdk-headless, we can make clion depends on jre-openjdk-headless. It's not a good idea to ask users to manage dependencies by themselves.