Commit Graph

664 Commits

Author SHA1 Message Date
Dominik Ritter
81b4180939 jetbrains.plugins: update 2023-10-14 01:25:03 +02:00
Dominik Ritter
9d6808fa2a jetbrains: 2023.2 EAP -> 2023.3 EAP
jetbrains.datagrip: 2023.2.1 -> 2023.2.2
jetbrains.dataspell: 2023.2.2 -> 2023.2.3
jetbrains.gateway: 2023.2.2 -> 2023.2.3
jetbrains.goland: 2023.2.2 -> 2023.2.3
jetbrains.idea-community: 2023.2.2 -> 2023.2.3
jetbrains.idea-ultimate: 2023.2.2 -> 2023.2.3
jetbrains.pycharm-community: 2023.2.1 -> 2023.2.2
jetbrains.pycharm-professional: 2023.2.1 -> 2023.2.2
jetbrains.rider: 2023.2.1 -> 2023.2.2
jetbrains.ruby-mine: 2023.2.2 -> 2023.2.3
jetbrains.webstorm: 2023.2.2 -> 2023.2.3
jetbrains.rust-rover: 2023.2 EAP -> 2023.3 EAP
2023-10-14 01:23:43 +02:00
Weijia Wang
3e5d4f30c5 jetbrains.rust-rover: fix version on aarch64-darwin 2023-10-14 00:31:12 +02:00
Nick Cao
aff903118b jetbrains.*: also fetch source for aarch64-linux 2023-10-13 21:52:43 +02:00
Weijia Wang
af62462a93
Merge pull request #257890 from nixdrin/jetbrains-ld
jetbrains: avoid LD_LIBRARY_PATH leaks
2023-10-13 20:57:45 +02:00
Joe DeVivo
c3844cc520
jetbrains.rust-rover: 2023.2 EAP -> 2023.3 EAP 2023-10-13 06:21:54 -07:00
nixdrin
bcdfa18846 jetbrains.rider: use autoPatchelf
Turns out Rider was previously relying on having libstdc++ in
LD_LIBRARY_PATH, because the binaries were not patched properly.

Rewrite the patching to use autoPatchelf similar to CLion so that the
RPATH of the binaries are adjusted. While at it also patch all the
binaries in the dotCommon and dotTrace plugins. Those seem to need zlib
and fontconfig which were completely missing before (they are probably
only called when using certain functionality of the IDE).

icu doesn't actually seem to be needed (autoPatchelf does not complain
that it's missing) and the IDE starts fine without it, so drop it for
now.
2023-10-09 16:37:42 +02:00
nixdrin
7a8b142607 jetbrains: use -Djna.libary.path instead of LD_LIBRARY_PATH
Most of the libraries listed in the LD_LIBRARY_PATH for the Jetbrains
IDEs are loaded indirectly using JNA in Java code, e.g.

  myLibNotify = Native.load("libnotify.so.4", LibNotify.class); [1]
  private val library = Native.load("secret-1", SecretLibrary::class.java) [2]

In this case the typical patching mechanism with Nix does not work
because JNA does the library lookup at runtime with its own mechanism.

However, to avoid causing ABI conflicts when using Nix in the terminal
of the IDE it's better to avoid using LD_LIBRARY_PATH. JNA also looks
for a "jna.library.path" Java system property when looking for libraries.

Generate that property with the needed paths instead and append it to
the vmopts file so that the property is applied when starting the IDE.
With this the libraries only become available for the IDE and do not
leak into terminals opened within the IDE context.

[1]: c0a703267a/platform/platform-impl/src/com/intellij/ui/LibNotifyWrapper.java (L40)
[2]: c0a703267a/platform/credential-store/src/linuxSecretLibrary.kt (L38)
2023-10-08 17:15:48 +02:00
nixdrin
8ff6850f25 jetbrains: drop libstdc++.so.6 from LD_LIBRARY_PATH
Most of the libraries listed in the LD_LIBRARY_PATH for the Jetbrains
IDEs are loaded indirectly using JNA in Java code, e.g.

  myLibNotify = Native.load("libnotify.so.4", LibNotify.class); [1]
  private val library = Native.load("secret-1", SecretLibrary::class.java) [2]

In this case the typical patching mechanism with Nix does not work
because JNA does the library lookup at runtime with its own mechanism.

However, there is one outlier: stdenv.cc.cc.lib is also added to the
LD_LIBRARY_PATH for libstdc++.so.6 because it is reportedly needed
for some "internals". It does not make sense to access libstdc++
from Java code so it feels like this one was added to work around
some native library or executable that should be patched instead
of using LD_LIBRARY_PATH.

Unfortunately, having libstdc++ in LD_LIBRARY_PATH can also easily
cause ABI conflicts. This is because this variable is inherited into
terminals opened within the IDE. Using a Nix environment there with
different versions of libstdc++ easily causes errors such as

  libstdc++.so.6: version `GLIBCXX_3.4.29' not found

Most of the IDEs work just fine without having libstdc++ in
LD_LIBRARY_PATH. Since it's not really clear why it has to be in
there let's just drop it to avoid the ABI conflicts.

[1]: c0a703267a/platform/platform-impl/src/com/intellij/ui/LibNotifyWrapper.java (L40)
[2]: c0a703267a/platform/credential-store/src/linuxSecretLibrary.kt (L38)
2023-10-08 17:15:47 +02:00
Steven Kou
8b1de6a005
jetbrains.gateway: remove maintainer 2023-10-05 01:30:54 -04:00
Joe DeVivo
3fda5be53f
jetbrains.rust-rover: fix darwin install (#258814)
* jetbrains.rust-rover: fix darwin install

JetBrains doesn't guarantee that the macOS app will be called
`${product}.app` so I modified the installPhase to copy *.app instead
of ${product}.app, which fails on file does not exist for Rust Rover,
which is `RustRover 2023.2 EAP.app`

I've tested with some other JetBrains apps on darwin aarch64 and they
continue to build as expected.
2023-10-04 18:49:31 +02:00
Weijia Wang
2021f6a092
Merge pull request #257842 from nixdrin/jetbrains-rust
jetbrains.plugins: add new Rust plugin
2023-09-28 22:12:03 +02:00
nixdrin
b634ba84f0 jetbrains.plugins: add new Rust plugin
Add the new Rust plugin (https://plugins.jetbrains.com/plugin/22407-rust)
that replaces the old open-source one for clion, idea-ultimate and rust-rover.
2023-09-28 15:59:56 +02:00
Artturi
4919a8cdcc
Merge pull request #249107 from anpin/rider-udev 2023-09-27 10:14:36 +03:00
Dominik Ritter
854e192b34 jetbrains.plugins: update 2023-09-23 13:00:25 +02:00
Dominik Ritter
23dbfcdfba jetbrains: 2023.2 -> 2023.2.2
jetbrains.phpstorm: 2023.2.1 -> 2023.2.2
jetbrains.rust-rover: 2023.2 -> 2023.2 EAP
2023-09-23 12:59:58 +02:00
Weijia Wang
f476203116
Merge pull request #255283 from Followin/jetbrains-rust-rover-init
jetbrains-rust-rover: init at 232.9921.46(EAP)
2023-09-20 23:44:34 +02:00
Weijia Wang
c2027e9dae
Merge pull request #254495 from tnxz/patch-1
jetbrains: fix darwin errors on macOS 13
2023-09-18 22:06:43 +02:00
followin
f6ec82bbf3 jetbrains-rust-rover: patch intellij-rust-native-helper plugin 2023-09-15 23:22:36 +03:00
followin
b9eceb590f jetbrains-rust-rover: fix plugin tests, remove autopatching of plugins shipped with ide 2023-09-15 22:55:24 +03:00
followin
99f7748964 jetbrains.plugins: update 2023-09-15 21:43:47 +03:00
followin
573b47ec6d jetbrains: 2023.2.1 -> 2023.2.2
jetbrains.dataspell: 2023.2.1 -> 2023.2.2
jetbrains.gateway: 2023.2.1 -> 2023.2.2
jetbrains.goland: 2023.2.1 -> 2023.2.2
jetbrains.ruby-mine: 2023.2.1 -> 2023.2.2
jetbrains.webstorm: 2023.2.1 -> 2023.2.2
2023-09-15 21:43:33 +03:00
followin
2dd73a789c jetbrains-rust-rover: fix url template 2023-09-15 21:43:14 +03:00
followin
929c3effe7 jetbrains-rust-rover: add to plugins/tests and to friendly_to_plugin list 2023-09-15 21:30:16 +03:00
followin
72a455b13d jetbrains-rust-rover: init at 232.9921.46(EAP) 2023-09-15 15:09:55 +03:00
Dominik Ritter
72672b9c86 jetbrains.plugins: update 2023-09-13 21:09:35 +02:00
Dominik Ritter
aee5d5dcd3 jetbrains: 2023.2.1 -> 2023.2.2
jetbrains.clion: 2023.2.1 -> 2023.2.2
jetbrains.idea-community: 2023.2.1 -> 2023.2.2
jetbrains.idea-ultimate: 2023.2.1 -> 2023.2.2
2023-09-13 21:08:34 +02:00
run
456ce8dc34 jetbrains: fix darwin errors on macOS 13
As the jetbrains products have notarized binaries no further post processing is required more about this can be found in 3ea22dab7d
2023-09-12 00:25:18 +02:00
Pavel Anpin
bee39a0151 jetbrains added udev to extraLdPath 2023-09-10 20:35:23 +03:00
Dominik Ritter
c269ed0cae jetbrains.plugins: update 2023-08-28 20:46:44 +02:00
Dominik Ritter
91871abbde jetbrains: 2023.2 -> 2023.2.1
jetbrains.clion: 2023.2 -> 2023.2.1
jetbrains.datagrip: 2023.2 -> 2023.2.1
jetbrains.dataspell: 2023.2 -> 2023.2.1
jetbrains.gateway: 2023.2 -> 2023.2.1
jetbrains.goland: 2023.2 -> 2023.2.1
jetbrains.idea-community: 2023.2 -> 2023.2.1
jetbrains.idea-ultimate: 2023.2 -> 2023.2.1
jetbrains.phpstorm: 2023.2 -> 2023.2.1
jetbrains.pycharm-community: 2023.2 -> 2023.2.1
jetbrains.pycharm-professional: 2023.2 -> 2023.2.1
jetbrains.rider: 2023.2 -> 2023.2.1
jetbrains.ruby-mine: 2023.2 -> 2023.2.1
jetbrains.webstorm: 2023.2 -> 2023.2.1
2023-08-28 20:45:17 +02:00
Janik
fe19e3c3b1
Merge pull request #247240 from dritter/jetbrains-autocommit-updates 2023-08-20 21:42:36 +02:00
Dominik Ritter
a56241ed7b jetbrains: Commit in one line
Co-authored-by: Janik <80165193+Janik-Haag@users.noreply.github.com>
2023-08-13 00:33:23 +02:00
Dominik Ritter
50dc54de04 jetbrains.plugins: update 2023-08-12 23:18:04 +02:00
Dominik Ritter
d482e00d61 jetbrains: 2023.1.4 -> 2023.2
jetbrains.phpstorm: 2023.1.4 -> 2023.2
jetbrains.rider: 2023.1.4 -> 2023.2
2023-08-12 23:15:56 +02:00
Dominik Ritter
2837dc7608 jetbrains: autocommit updates 2023-08-05 00:28:59 +02:00
GenericNerdyUsername
1b11184175
jetbrains.*: allow overriding of the vmopts file 2023-08-01 18:40:49 +01:00
Dominik Ritter
abe17e7422 jetbrains.plugins: update 2023-07-28 10:39:02 +02:00
Dominik Ritter
538f593b21 jetbrains: 2023.1.2 -> 2023.2
jetbrains.clion: 2023.1.5 -> 2023.2
jetbrains.datagrip: 2023.1.2 -> 2023.2
jetbrains.dataspell: 2023.1.4 -> 2023.2
jetbrains.gateway: 2023.1.3 -> 2023.2
jetbrains.goland: 2023.1.4 -> 2023.2
jetbrains.idea-community: 2023.1.4 -> 2023.2
jetbrains.idea-ultimate: 2023.1.4 -> 2023.2
jetbrains.pycharm-community: 2023.1.4 -> 2023.2
jetbrains.pycharm-professional: 2023.1.4 -> 2023.2
jetbrains.ruby-mine: 2023.1.4 -> 2023.2
jetbrains.webstorm: 2023.1.4 -> 2023.2
2023-07-27 20:25:11 +02:00
GenericNerdyUsername
151c175a85
jetbrains.goland: fix build with plugins 2023-07-20 15:00:57 +01:00
GenericNerdyUsername
abd6d82002
jetbrains.clion: fix build with plugins 2023-07-20 15:00:57 +01:00
GenericNerdyUsername
c9fbb6fe87
jetbrains.*: fix build for most IDEs with plugins 2023-07-20 15:00:57 +01:00
GenericNerdyUsername
ea023517b7
jetbrains.plugins.tests.default: init 2023-07-20 15:00:56 +01:00
GenericNerdyUsername
24833f08a0
jetbrains.plugins: add vscode keymap 2023-07-20 15:00:56 +01:00
GenericNerdyUsername
cc102eb916
jetbrains.dataspell: format 2023-07-20 15:00:56 +01:00
Pol Dellaiera
c58bd8261f
Merge pull request #244320 from dritter/update-jetbrains4
jetbrains: 2023.1.3 -> 2023.1.5
2023-07-19 19:42:20 +02:00
Sandro
f29de8b52a
Merge pull request #243533 from tymscar/jetbrains-remote-dev-server 2023-07-19 14:14:34 +02:00
Dominik Ritter
3702b1734c jetbrains.plugins: update 2023-07-19 12:55:54 +02:00
Dominik Ritter
7f323a0450 jetbrains: 2023.1.3 -> 2023.1.5
jetbrains.clion: 2023.1.4 -> 2023.1.5
jetbrains.phpstorm: 2023.1.3 -> 2023.1.4
jetbrains.webstorm: 2023.1.3 -> 2023.1.4
2023-07-19 12:55:45 +02:00
Dominik Ritter
7e8fe39bb9 jetbrains.plugins: update 2023-07-18 22:56:54 +02:00
Dominik Ritter
e27ce9a616 jetbrains: 2023.1.3 -> 2023.1.5
jetbrains.clion: 2023.1.4 -> 2023.1.5
jetbrains.phpstorm: 2023.1.3 -> 2023.1.4
jetbrains.rider: 2023.1.3 -> 2023.1.4
jetbrains.webstorm: 2023.1.3 -> 2023.1.4
2023-07-18 22:55:53 +02:00
Oscar Molnar
4d0d2601a6 jetbrains: fix remote dev server for IDEs
Adds the necessary patch to fix the remote dev server in the Jetbrains IDEs ( see #153335 ).
2023-07-16 16:11:47 +01:00
Oscar Molnar
fe3b9fd75f maintainer: added myself (tymscar) as a maintainer to some Jetbrain IDEs 2023-07-16 16:11:47 +01:00
Pol Dellaiera
c11464c662
Merge pull request #242724 from GenericNerdyUsername/jetbrains-replace-jbr
Jetbrains: replace jbr (instead of just removing)
2023-07-14 10:03:07 +02:00
GenericNerdyUsername
dd47be7ec8
jetbrains.*: replace jbr directory instead of removing 2023-07-13 19:44:59 +01:00
GenericNerdyUsername
dd4054b93d
jetbrains.clion: remove redundant wrapper 2023-07-13 19:44:48 +01:00
Santhosh Kannan
bb77dc6715 jetbrains: update IDEs & plugins 2023-07-13 18:32:09 +02:00
Dominik Ritter
6fa9f01dfa jetbrains.plugins: update 2023-07-12 22:52:21 +02:00
Dominik Ritter
05c850e6c3 jetbrains: 2023.1.3 -> 2023.1.4
jetbrains.goland: 2023.1.3 -> 2023.1.4
jetbrains.idea-community: 2023.1.3 -> 2023.1.4
jetbrains.idea-ultimate: 2023.1.3 -> 2023.1.4
2023-07-12 20:21:15 +02:00
Janik
a6e35a0f20
Merge pull request #242931 from dritter/jetbrains-plugin-auto-update 2023-07-12 14:22:44 +02:00
Dominik Ritter
62fc0cb813 jetbrains.plugins: add symfony-support 2023-07-12 00:15:55 +02:00
Dominik Ritter
47d9a0d13d jetbrains.plugins: add php-annotations 2023-07-12 00:15:39 +02:00
Dominik Ritter
b8634ee9cb jetbrains.plugins: Update plugins when IDEs are being updated 2023-07-11 23:25:04 +02:00
Dominik Ritter
4f62577107 jetbrains.plugins: update 2023-07-11 22:17:39 +02:00
Sandro
b94dd42483
Merge pull request #239257 from dritter/update-jetbrains2
jetbrains: 2023.1.2 -> 2023.1.4
2023-07-04 22:38:17 +02:00
Janik
27e754677b
Merge pull request #240521 from GenericNerdyUsername/jetbrains-plugins-overhauled 2023-07-01 09:50:32 +02:00
GenericNerdyUsername
72991ff747
jetbrains.clion: dont replace cmake and gdb, patch gdb instead 2023-06-29 19:19:19 +01:00
Tillerino
89a9b36d69
jetbrains: fix application icon (#239416)
My Desktop doesn't recognize the icon in ~/.local/share/pixmaps which is
how the icon would have to be found when doing a user profile install.

For me, it's hard to find information on this, but it seems like
share/pixmaps is something old and the share/icons location should be
used instead:

https://www.reddit.com/r/linuxquestions/comments/htg6c/comment/c1yfi0a/

https://github.com/spyder-ide/spyder/issues/6188

https://github.com/FreeSpacenav/spnavcfg/issues/9

In this PR we _add_ the icons location so that both are available for
compatibility.
2023-06-26 20:33:58 +02:00
GenericNerdyUsername
f797b35da3
jetbrains: add plugin support 2023-06-26 12:36:29 +01:00
Dominik Ritter
086b323b40 jetbrains: 2023.1.2 -> 2023.1.4
jetbrains.clion: 2023.1.3 -> 2023.1.4
jetbrains.dataspell: 2023.1.2 -> 2023.1.3
jetbrains.gateway: 2023.1.2 -> 2023.1.3
jetbrains.goland: 2023.1.2 -> 2023.1.3
jetbrains.phpstorm: 2023.1.2 -> 2023.1.3
jetbrains.pycharm-community: 2023.1.2 -> 2023.1.3
jetbrains.pycharm-professional: 2023.1.2 -> 2023.1.3
jetbrains.rider: 2023.1.2 -> 2023.1.3
jetbrains.ruby-mine: 2023.1.2 -> 2023.1.3
jetbrains.webstorm: 2023.1.2 -> 2023.1.3
2023-06-24 00:21:08 +02:00
Dominik Ritter
c1f146de50 jetbrains: 2023.1 -> 2023.1.3 2023-06-20 20:21:18 +02:00
Pol Dellaiera
5264d1dc21
Merge pull request #226340 from leona-ya/jetbrains-datagrip-init
jetbrains.dataspell: init at 2023.1
2023-06-02 21:46:48 +02:00
Yaya
e5e1c2311d jetbrains.gateway: 2023.1.1 -> 2023.1.2
https://youtrack.jetbrains.com/articles/GTW-A-40/Remote-Development-2023.1.2-231.9011.34-build-Release-Notes
2023-06-02 09:10:06 +00:00
Yaya
203d337779 Revert "jetbrains.gateway: Always use build number as version"
This reverts commit 2f17f70a9a.
2023-06-02 09:09:41 +00:00
Matthew Penner
a9a080a60b
jetbrains: add python3 to PATH 2023-05-26 11:43:30 -06:00
Fabián Heredia Montiel
48aecaac35 jetbrains: 2023.1.1 → 2023.1.2 2023-05-21 22:22:02 -06:00
Dominik Ritter
1ff12be32f jetbrains: 2022.2 -> 2023.1.1 2023-05-04 00:21:08 +02:00
Dominik Ritter
e24518ef59 jetbrains: 2023.1 -> 2023.1.2 2023-04-28 20:21:13 +02:00
Leona Maroni
13a4d74754
jetbrains.dataspell: init at 2023.1 2023-04-15 22:43:52 +02:00
Dominik Ritter
880d99b259 jetbrains: 2022.3.2 -> 2023.1.1 2023-04-14 20:21:08 +02:00
Dominik Ritter
bcdaf9e9a8 jetbrains: 2022.3 -> 2023.1 2023-04-02 12:32:51 +02:00
xinyangli
58f88f61b3 jetbrains: add libxcrypt-legacy 2023-03-29 12:09:24 +08:00
Edward Tjörnhammar
e1fa54a569 jetbrains: build and minor version updates 2023-03-24 17:32:41 +00:00
Santhosh Kannan
f6aa4144d0 jetbrains: 2022.3.2 -> 2022.3.3 2023-03-24 16:34:11 +00:00
Dominik Ritter
8476f94720 update jetbrains IDEs 2023-02-01 20:21:09 +01:00
Fabián Heredia Montiel
40ef3bb63d jetbrains: update 2023-01-29 13:29:40 +00:00
Edward Tjörnhammar
d1b0bcc047 jetbrains.clion: correct patchelf searchpath 2023-01-29 13:29:31 +00:00
Shawn8901
3866fa44a7 treewide: remove global with lib; in pkgs/{audio,blockchain,editors} 2023-01-21 23:11:12 +01:00
GenericNerdyUsername
b1efcf7886
jetbrains-jdk: add JCEF support 2023-01-14 11:37:38 +00:00
Dominik Ritter
9c0f5849bb
jetbrains.goland: Fix build 2022-12-31 17:17:24 +08:00
Steven Kou
9ac60ccc7e
jetbrains.gateway: Fix product name 2022-12-31 17:17:21 +08:00
Steven Kou
8c46c7ae23
jetbrains.gateway: Switch to release channel 2022-12-31 17:17:17 +08:00
Steven Kou
2f17f70a9a
jetbrains.gateway: Always use build number as version
JetBrains is being inconsistent here, might need to revert if
versioning is fixed upstream.
2022-12-31 17:17:13 +08:00
Dominik Ritter
52ac262ebd
jetbrains.idea-ultimate: Update download link 2022-12-31 17:17:07 +08:00
Steven Kou
26534bf9fd
jetbrains: update to latest release 2022-12-31 17:17:04 +08:00
Steven Kou
1ed91531b6
jetbrains: version file cleanup
With reference from nixpkgs#173759
2022-12-24 18:47:28 +08:00
Artturin
05a2dfd674 lib.replaceChars: warn about being a deprecated alias
replaceStrings has been in nix since 2015(nix 1.10)

so it is safe to remove the fallback

d6d5885c15
2022-12-15 22:25:51 +02:00
Raphael Robatsch
1e260a0683 jetbrains.rider: fix test coverage analysis
JetBrains.Profiler.PdbServer is used by the IDE's test coverage
analyzer. It needs to be patchelf'd.
2022-12-02 21:21:52 +01:00
Sandro
a72b2fd25a
Merge pull request #199219 from dritter/update-jetbrains 2022-11-24 13:33:36 +01:00
Jörg Thalheim
f960103192
Merge pull request #192418 from GenericNerdyUsername/clion-patch-dont-replace
jetbrains.clion: patch lldb instead of replacing
2022-11-14 13:13:12 +01:00