I just looked over the last changes. You placed a link to the icon in /usr/share/pixmaps. However, you also hardcoded the icon path in the desktop files now. If you wouldn't do that, the icon theme could provide it's own icon, and the one from pixmaps would be used if it doesn't. Also, I think using the pixmaps directory is deprecated, /usr/share/icons/hicolor/scalable/apps/ is the new location.
PS: I also wouldn't hardcode the executable's path either, because then I can override it by placing my own in /usr/local/bin … (For example, I do that with java applications which still need java8, to set there a different JAVA_HOME and then calling the real binary from there.)
Search Criteria
Package Details: pycharm-professional 2024.3.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pycharm-professional.git (read-only, click to copy) |
---|---|
Package Base: | pycharm-professional |
Description: | Python IDE for Professional Developers. Professional Edition |
Upstream URL: | https://www.jetbrains.com/pycharm/ |
Keywords: | development editor ide jetbrains python |
Licenses: | custom |
Submitter: | hippojazz |
Maintainer: | Xavier (37h4n) |
Last Packager: | Xavier |
Votes: | 293 |
Popularity: | 1.53 |
First Submitted: | 2013-09-25 03:56 (UTC) |
Last Updated: | 2025-01-28 12:53 (UTC) |
Dependencies (19)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- giflib (giflib-gitAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR)
- libdbusmenu-glib
- python (python37AUR, python311AUR, python310AUR)
- sh (dashbinshAUR, bash-devel-static-gitAUR, zshbinshAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR, bash)
- ttf-font (neuropol-ttfAUR, ttf-win7-fontsAUR, ttf-ms-win8AUR, ttf-ms-win8-arabicAUR, ttf-ms-win8-hebrewAUR, ttf-ms-win8-seaAUR, ttf-ms-win8-indicAUR, ttf-ms-win8-japaneseAUR, ttf-ms-win8-koreanAUR, ttf-ms-win8-zh_cnAUR, ttf-ms-win8-zh_twAUR, ttf-ms-win8-thaiAUR, ttf-ms-win8-otherAUR, ttf-kidsAUR, ttf-liberation-sans-narrowAUR, ttf-cavafy-scriptAUR, ttf-ms-fontsAUR, ttf-dejavu-ibAUR, ttf-zeldaAUR, ttf-oxygenAUR, ttf-oxygen-gfAUR, ttf-share-gfAUR, ttf-gostAUR, otf-inconsolata-dzAUR, ttf-d2codingAUR, ttf-agaveAUR, ttf-caracteresAUR, ttf-cuprumAUR, ttf-autour-oneAUR, ttf-impallari-milongaAUR, ttf-impallari-miltonianAUR, ttf-clarity-cityAUR, ttf-ms-win10AUR, ttf-ms-win10-japaneseAUR, ttf-ms-win10-koreanAUR, ttf-ms-win10-seaAUR, ttf-ms-win10-thaiAUR, ttf-ms-win10-zh_cnAUR, ttf-ms-win10-zh_twAUR, ttf-ms-win10-otherAUR, ttf-win10AUR, ttf-bmonoAUR, ttf-pt-astra-factAUR, ttf-weblysleekuiAUR, ttf-pt-astra-sansAUR, ttf-pt-astra-serifAUR, ttf-pt-sansAUR, ttf-pt-serifAUR, ttf-pt-monoAUR, ttf-pt-root_uiAUR, ttf-xo-fontsAUR, ttf-paratypeAUR, ttf-plemoljp-binAUR, ttf-dejavu-emojilessAUR, ttf-lucida-fontsAUR, ttf-plemoljpAUR, ttf-juiseeAUR, ttf-ms-win10-autoAUR, ttf-karlaAUR, ttf-ms-win11-autoAUR, ttf-ms-win10-cdnAUR, noto-fonts-liteAUR, ttf-ibm-plex-sans-scAUR, ttf-ms-win11AUR, ttf-ms-win11-japaneseAUR, ttf-ms-win11-koreanAUR, ttf-ms-win11-seaAUR, ttf-ms-win11-thaiAUR, ttf-ms-win11-zh_cnAUR, ttf-ms-win11-zh_twAUR, ttf-ms-win11-otherAUR, noto-fonts-variable-liteAUR, ttf-shangguAUR, noto-fonts-latin-greek-cyrillicAUR, apple-fontsAUR, ttf-noto-sans-vfAUR, ttf-noto-serif-vfAUR, ttf-noto-sans-mono-vfAUR, gnu-free-fonts, noto-fonts, ttf-bitstream-vera, ttf-croscore, ttf-dejavu, ttf-droid, ttf-ibm-plex, ttf-input, ttf-input-nerd, ttf-liberation)
- cython (cython-gitAUR, cython0AUR) (make)
- python-setuptools (make)
- docker-compose (docker-compose-v1-binAUR, docker-compose-gitAUR, docker-desktopAUR) (optional) – For support docker inside Pycharm
- docker-machine (docker-machine-gitlab-binAUR) (optional) – For support docker inside Pycharm
- ipython (ipython-gitAUR) (optional) – For enhanced interactive Python shell inside Pycharm
- jupyter-server (optional) – For Jupyter notebooks and apps
- openssh (openssh-gitAUR, openssh-dotconfigAUR, openssh-dotconfig-binAUR, openssh-selinuxAUR, openssh-hpn-shimAUR, openssh-gssapiAUR, openssh-dnatAUR) (optional) – For deployment and remote connections
- python-coverage (optional) – For support code coverage measurement
- python-pytest (optional) – For support testing inside Pycharm
- python-setuptools (optional) – Packages manager for Python, for project interpreter
- python-tox (optional) – Python environments for testing tool
- vagrant (vagrant-gitAUR) (optional) – For support virtualized development environments
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 45 Next › Last »
Singularity commented on 2020-12-08 19:24 (UTC)
klaasjanelzinga commented on 2020-12-08 10:19 (UTC)
@donny thanks for the reply. I had cython installed and did a clean build. The problem was that I was working in a virtualenv. In this virtualenv there was no Cython installed.
So I deactivated and it worked, like a charm :)
donny commented on 2020-12-08 09:49 (UTC)
@klaasjanelzinga: Make sure your system is up to date (pacman -Suy) and cython
package is installed (it's in makedepends), it's in the [community] repo. Also if you use yay
or some similar aur helper, do a clean build, don't re-use your old build files.
klaasjanelzinga commented on 2020-12-08 09:36 (UTC) (edited on 2020-12-08 09:37 (UTC) by klaasjanelzinga)
Hi, I am getting an error when updating:
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Traceback (most recent call last):
File "pycharm-2020.3/plugins/python/helpers/pydev/setup_cython.py", line
112, in <module>
build_extension("_pydevd_bundle", extension_name, target_pydevd_name,
force_cython, extension_folder, True)
File "pycharm-2020.3/plugins/python/helpers/pydev/setup_cython.py", line
69, in build_extension
from Cython.Build import cythonize # @UnusedImport
ModuleNotFoundError: No module named 'Cython'
==> ERROR: A failure occurred in build().
Aborting...
error making: pycharm-professional
mqs commented on 2020-12-06 12:43 (UTC)
@XavierCLL thank you for the swift fix :)
Xavier commented on 2020-12-06 01:54 (UTC) (edited on 2020-12-06 02:01 (UTC) by Xavier)
Hi @mqs, thanks for reporting it, I didn't know that some app still uses the pixmaps folder, fixed, (update: small fix but I decided increases the pkgrel)
mqs commented on 2020-12-05 23:17 (UTC)
Hey!
Thanks for the package. Could you please put the icon back into /usr/share/pixmaps
, so other apps can find it via xdg (when only searching for the icon)? A symlink to /opt/pycharm-professional/bin/pycharm.png
(or svg) should be enough.
I noticed that it was gone by pure coincidence (the albert plugin[1] uses it and I was working on it today) :D
Is there a reason it was (re)moved?
[1] Albert Launcher: https://albertlauncher.github.io/ Jetbrains plugin for albert: https://github.com/mqus/jetbrains-albert-plugin
Xavier commented on 2020-12-05 18:48 (UTC)
Thanks guys, updated and fixed
donny commented on 2020-12-05 14:34 (UTC) (edited on 2020-12-05 14:35 (UTC) by donny)
@qft thanks for your tip, it's working again.
- add 'cython' to makedepends, so it looks like this:
makedepends=('python-setuptools' 'cython')
- update the build() function:
build() {
cd "pycharm-$pkgver"
# compile PyDev debugger used by PyCharm to speedup debugging
rm plugins/python/helpers/pydev/_pydevd_frame_eval/*.c
python plugins/python/helpers/pydev/setup_cython.py build_ext --build-temp build --build-lib . --force-cython
rm -r bin/fsnotifier lib/pty4j-native/linux/{x86,ppc64le}
}
qft commented on 2020-12-05 03:57 (UTC)
@XavierCLL The reason for this bug is that the debugger .c files are not synchronized with the .pyx files. This issue can be fixed by regenerating the .c files by passing the --force-cython flag to setup_cython.py. As I have done in the pycharm-eap PKGBUILD https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pycharm-eap
Pinned Comments