Package Details: pycharm-community-jre 2022.3.1-1

Git Clone URL: https://aur.archlinux.org/pycharm-community-jre.git (read-only, click to copy)
Package Base: pycharm-community-jre
Description: PyCharm Community Edition IDE for Python with bundled JRE
Upstream URL: https://www.jetbrains.com/pycharm/
Keywords: development editor ide jetbrains python
Licenses: Apache
Conflicts: pycharm-community-eap, pycharm-community-edition
Submitter: PMay
Maintainer: PMay
Last Packager: PMay
Votes: 14
Popularity: 0.111775
First Submitted: 2020-03-14 20:05 (UTC)
Last Updated: 2022-12-31 12:49 (UTC)

Latest Comments

1 2 Next › Last »

JKAbrams commented on 2022-12-02 12:04 (UTC) (edited on 2022-12-02 12:05 (UTC) by JKAbrams)

Here is a version that works with 2022.3

# Maintainer: Philip May <eniak.info@gmail.com>

pkgbase=pycharm-community
pkgname=pycharm-community-jre
pkgver=2022.3
pkgrel=1
pkgdesc="PyCharm Community Edition IDE for Python with bundled JRE"
arch=(x86_64)
url="https://www.jetbrains.com/pycharm/"
license=('APACHE')
conflicts=(
"pycharm-community-eap"
"pycharm-community-edition"
)
source=(
"https://download.jetbrains.com/python/pycharm/${pkgbase}-${pkgver}.tar.gz"
pycharm.desktop
)
b2sums=(
'f768d88433c2049bf2eb4ec0484619e3d340f16deba9dd168230c8cc37eb653040bf2711aa1debeb57f81e9821a7cd5c879a494391c1451f07cc0712f5fb8b6a'
'84ade6600c4788d5d9a29b48a594727504eaa4b3bf27d9528034305f9d878410ff4a2d87b55d39153534a46c167b4204b4c1b0af41dcc2f18373d6facf0b6152'
)

package_pycharm-community-jre() {
optdepends=('gnome-keyring: save login/deployment credentials safely')

# workaround FS#40934
# see https://bugs.archlinux.org/task/40934
sed -i 's/lcd/on/' "${srcdir}"/${pkgbase}-${pkgver}/bin/*.vmoptions

rm -rf "${srcdir}"/${pkgbase}-${pkgver}/bin/fsnotifier-arm

install -dm755 "${pkgdir}"/opt/
install -dm755 "${pkgdir}"/usr/bin/
install -dm755 "${pkgdir}"/usr/share/applications/
install -dm755 "${pkgdir}"/usr/share/pixmaps/

cp -a "${srcdir}"/${pkgbase}-${pkgver} "${pkgdir}"/opt/${pkgbase}

rm -rf "${pkgdir}"/opt/${pkgbase}/jbr

ln -s /opt/${pkgbase}/bin/pycharm.sh "${pkgdir}"/usr/bin/pycharm
install -m644 "${srcdir}"/pycharm.desktop "${pkgdir}"/usr/share/applications/
install -m644 "${pkgdir}"/opt/${pkgbase}/bin/pycharm.svg "${pkgdir}"/usr/share/pixmaps/

# Install bundled JRE
install -dm755 "${pkgdir}"/opt/${pkgbase}
cp -a "${srcdir}"/${pkgbase}-${pkgver}/jbr "${pkgdir}"/opt/${pkgbase}
}

schard commented on 2022-09-16 00:46 (UTC)

Patch for 2022.2.2

diff --git a/PKGBUILD b/PKGBUILD
index 91af5e0..3d92bd1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Philip May <eniak.info@gmail.com>
 pkgname=pycharm-community-jre
 _appname=pycharm-community
-pkgver=2022.2.1
+pkgver=2022.2.2
 pkgrel=1
 pkgdesc="PyCharm Community Edition IDE for Python with bundled JRE"
 arch=(x86_64)
@@ -17,11 +17,9 @@ source=(
   pycharm.sh
 )
 noextract=()
-sha256sums=(
-  'fc91b134b6899a09ce8cbdc1ebdbdcfe1c1ffb6dbe756b30b24d7ad131bf27c8'
-  'f727119ec7c8b96820e80712b1ee342de6a94ff72402e8f2d390cbff702f9b21'
-  'b6f0518e59c4744ded38de63efba91205bcba406fa74944a1f3a8937566d8acc'
-)
+sha256sums=('2f361c5f59c685c9f8d1385029ed753eabe5b688a82acef6e83a50f0d2b9d7a8'
+            'f727119ec7c8b96820e80712b1ee342de6a94ff72402e8f2d390cbff702f9b21'
+            'b6f0518e59c4744ded38de63efba91205bcba406fa74944a1f3a8937566d8acc')

 package() {
   cd "${_appname}-${pkgver}"

schard commented on 2022-09-05 08:00 (UTC)

Patch for 2022.2.1

diff --git a/PKGBUILD b/PKGBUILD
index b3be5bb..87f86c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Philip May <eniak.info@gmail.com>
 pkgname=pycharm-community-jre
 _appname=pycharm-community
-pkgver=2022.2
+pkgver=2022.2.1
 pkgrel=1
 pkgdesc="PyCharm Community Edition IDE for Python with bundled JRE"
 arch=(x86_64)
@@ -17,11 +17,9 @@ source=(
   pycharm.sh
 )
 noextract=()
-sha256sums=(
-  '07023b299ed317cbcf34ba89f1e9385281ff971e85407c6f8a0d17447ca74fce'
-  'f727119ec7c8b96820e80712b1ee342de6a94ff72402e8f2d390cbff702f9b21'
-  'b6f0518e59c4744ded38de63efba91205bcba406fa74944a1f3a8937566d8acc'
-)
+sha256sums=('fc91b134b6899a09ce8cbdc1ebdbdcfe1c1ffb6dbe756b30b24d7ad131bf27c8'
+            'f727119ec7c8b96820e80712b1ee342de6a94ff72402e8f2d390cbff702f9b21'
+            'b6f0518e59c4744ded38de63efba91205bcba406fa74944a1f3a8937566d8acc')

 package() {
   cd "${_appname}-${pkgver}"

PMay commented on 2022-01-02 15:10 (UTC)

Is it possible to merge our work? Or would you prefer that I create a separate package?

@vleon1: IMO it would be better to create a separate package. Thanks for letting me know and good luck.

vleon1 commented on 2022-01-01 19:33 (UTC)

@PMay hey, I made an updated version that also supports aarch64. Is it possible to merge our work? Or would you prefer that I create a separate package?

Here is the updated PKGBUILD if you want to use it: https://gist.github.com/vleon1/90873f3311295392fa4506e3b845092a I did remove the "_appname" parameter to make the package more similar to pycharm-community-edition. of course I won't complain if you undo this change :P

It also needs the file fsnotifier-aarch64 from this link: https://youtrack.jetbrains.com/articles/IDEA-A-48/JetBrains-IDEs-on-AArch64#linux Unfortunately, I didn't find a way to get a proper download link for that file, so I was planning to add it to the package.

marcs commented on 2021-12-13 07:05 (UTC)

+1

cgarz commented on 2021-09-27 11:04 (UTC)

@PMay: Excellent, looks good. Can't do a full test till I get home but the diff looks exactly like what I did, minus the pkgrel bump, so it should be good.
Thanks a bunch =)

PMay commented on 2021-09-27 09:30 (UTC)

@cgarz: Ok. Cool! I fixed it in a new release. Could you maybe check it.

cgarz commented on 2021-09-26 19:24 (UTC) (edited on 2021-09-26 19:25 (UTC) by cgarz)

@PMay: I've tested it unedited again just there to refresh my memory.
The message appears at startup as pycharm's "sticky balloon" type down the bottom right for me. It seems it doesn't mention fsnotifier specifically, instead complaining about a missing file watcher. It reads:

External file changes sync may be slow
Native file watcher executable not found

If it doesn't show its possible the message has been disabled in Settings > Appearance & Behavior > Notifications > File Watcher Messages

When I searched Google about the message it said it means fsnotifier is missing, and indeed /usr/share/pycharm/bin/fsnotifier is missing without that change.

PMay commented on 2021-09-26 13:24 (UTC)

@cgarz: Thanks for reportig. Where and when exactly does it complain? At startup? I do not see the error on my side.