Commit Graph

637 Commits

Author SHA1 Message Date
Weijia Wang
8e4f8df601 jetbrains.datagrip: fix build 2023-12-13 14:41:53 +01:00
Dominik Ritter
2768c70084 jetbrains.plugins: update 2023-12-13 08:04:06 +01:00
Dominik Ritter
4d6a2b2522 jetbrains: 2023.3 -> 2023.3.1
jetbrains.clion: 2023.3 -> 2023.3.1
jetbrains.datagrip: 2023.3 -> 2023.3.1
jetbrains.dataspell: 2023.3 -> 2023.3.1
jetbrains.goland: 2023.3 -> 2023.3.1
jetbrains.idea-community: 2023.3 -> 2023.3.1
jetbrains.idea-ultimate: 2023.3 -> 2023.3.1
jetbrains.phpstorm: 2023.3 -> 2023.3.1
jetbrains.pycharm-community: 2023.3 -> 2023.3.1
jetbrains.pycharm-professional: 2023.3 -> 2023.3.1
jetbrains.rider: 2023.3 -> 2023.3.1
jetbrains.ruby-mine: 2023.3 -> 2023.3.1
jetbrains.rust-rover: 2023.3 EAP -> 2023.3 EAP
jetbrains.webstorm: 2023.3 -> 2023.3.1
2023-12-13 08:03:23 +01:00
Daniel S. Lee
9610494818 jetbrains: add libraries needed for patchelf 2023-12-13 02:19:17 +01:00
Daniel S. Lee
571066d3f7 jetbrains.plugins: update 2023-12-09 22:53:15 +09:00
Daniel S. Lee
f7528df7c5 jetbrains: 2023.2.2 -> 2023.3 EAP
jetbrains.clion: 2023.2.2 -> 2023.3
jetbrains.datagrip: 2023.2.3 -> 2023.3
jetbrains.dataspell: 2023.2.5 -> 2023.3
jetbrains.gateway: 2023.2.4 -> 2023.3
jetbrains.goland: 2023.2.5 -> 2023.3
jetbrains.idea-community: 2023.2.5 -> 2023.3
jetbrains.idea-ultimate: 2023.2.5 -> 2023.3
jetbrains.phpstorm: 2023.2.3 -> 2023.3
jetbrains.pycharm-community: 2023.2.5 -> 2023.3
jetbrains.pycharm-professional: 2023.2.5 -> 2023.3
jetbrains.rider: 2023.2.3 -> 2023.3
jetbrains.ruby-mine: 2023.2.5 -> 2023.3
jetbrains.rust-rover: 2023.3 EAP -> 2023.3 EAP
jetbrains.webstorm: 2023.2.5 -> 2023.3
2023-12-09 22:53:15 +09:00
Daniel S. Lee
8dfa8a9147 jetbrains.plugins: update 2023-12-09 22:53:15 +09:00
Daniel S. Lee
897087ecc2 jetbrains: 2023.2.3 -> 2023.3 EAP
jetbrains.dataspell: 2023.2.4 -> 2023.2.5
jetbrains.goland: 2023.2.4 -> 2023.2.5
jetbrains.idea-community: 2023.2.4 -> 2023.2.5
jetbrains.idea-ultimate: 2023.2.4 -> 2023.2.5
jetbrains.pycharm-community: 2023.2.3 -> 2023.2.5
jetbrains.pycharm-professional: 2023.2.3 -> 2023.2.5
jetbrains.ruby-mine: 2023.2.4 -> 2023.2.5
jetbrains.rust-rover: 2023.3 EAP -> 2023.3 EAP
jetbrains.webstorm: 2023.2.4 -> 2023.2.5
2023-12-09 22:53:15 +09:00
Daniel S. Lee
73dbdc2707 jetbrains.plugins: update 2023-12-09 22:53:14 +09:00
Daniel S. Lee
12e26f3cfc jetbrains: 2022.3 -> 2023.3 EAP
jetbrains.datagrip: 2023.2.2 -> 2023.2.3
jetbrains.dataspell: 2023.2.3 -> 2023.2.4
jetbrains.gateway: 2023.2.3 -> 2023.2.4
jetbrains.goland: 2023.2.3 -> 2023.2.4
jetbrains.idea-community: 2023.2.3 -> 2023.2.4
jetbrains.idea-ultimate: 2023.2.3 -> 2023.2.4
jetbrains.mps: 2022.3 -> 2023.2
jetbrains.rider: 2023.2.2 -> 2023.2.3
jetbrains.ruby-mine: 2023.2.3 -> 2023.2.4
jetbrains.rust-rover: 2023.3 EAP -> 2023.3 EAP
jetbrains.webstorm: 2023.2.3 -> 2023.2.4
2023-12-09 22:53:14 +09:00
GenericNerdyUsername
3b53d2b137
jetbrains.*: overhaul, add source builds for pycharm and idea 2023-12-03 19:32:27 +00:00
Peder Bergebakken Sundt
9dfa05ed19
Merge pull request #263667 from hacker1024/patch-6
jetbrains: Append Python to PATH rather than prepend
2023-12-02 16:06:08 +01:00
Jörg Thalheim
4af510c7ae treewide: drop myself from packages that I don't activily maintain 2023-11-05 05:43:35 +01:00
hacker1024
3418c7c1e7 jetbrains: Append Python to PATH rather than prepend 2023-10-27 09:51:18 +11:00
Mikael Fangel
9b4751604b
jetbrains.plugins: update 2023-10-21 02:08:48 +02:00
Mikael Fangel
63a7e4f3e7
jetbrains: 2023.2.2 -> 2023.2.3
jetbrains.phpstorm: 2023.2.2 -> 2023.2.3
jetbrains.pycharm-community: 2023.2.2 -> 2023.2.3
jetbrains.pycharm-professional: 2023.2.2 -> 2023.2.3
2023-10-21 02:08:32 +02:00
Raphael Robatsch
812e28f491 jetbrains.rider: symlink dotnet-sdk again
`lib/ReSharperHost/linux-*/dotnet` does not exist, so that pattern
expands to nothing, and the ln command became just
`ln -s ${dotnet-sdk_7}`.
2023-10-14 17:38:57 +02:00
Weijia Wang
3b6d08dfdd jetbrains: do not hardcode x64 paths 2023-10-14 12:29:08 +02:00
Weijia Wang
db7978c88c
Merge pull request #249659 from NickCao/jetbrains-prep
jetbrains.*: also fetch source for aarch64-linux
2023-10-14 09:20:34 +02:00
Weijia Wang
25bc9673a0
Merge pull request #260965 from dritter/update-jetbrains3
jetbrains: 2023.2 EAP -> 2023.3 EAP
2023-10-14 09:18:39 +02:00
Artturi
10e07e27ef
Merge pull request #246622 from GenericNerdyUsername/jetbrains-allow-vmopts-override 2023-10-14 05:55:42 +03:00
Weijia Wang
e0e9c52167
Merge pull request #260964 from dritter/fix-jetbrains-update-script
jetbrains: make update script robust against if no channels exist
2023-10-14 01:48:12 +02:00
Dominik Ritter
618d0459eb jetbrains: make update script robust against if no channels exist
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-10-14 01:47:16 +02:00
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