Giter VIP home page Giter VIP logo

com.jetbrains.intellij-idea-community's Introduction

JetBrains IntelliJ IDEA Community

IntelliJ IDEA Community is a fully-fledged commercial IDE for the JVM platform.

IntelliJ IDEA provides all the tools you need for productive enterprise, Web, and mobile development. The IDE supports Java, Groovy, Kotlin, Scala, Android, JavaScript, SQL and lots of other languages and frameworks. It offers instant and clever code completion, on-the-fly code analysis and reliable refactoring tools.

Build, Install and Run Flatpak (locally)

Assuming flatpak, flatpak-builder, and git are installed, then execute the following commands:

$ git clone https://github.com/flathub/com.jetbrains.IntelliJ-IDEA-Community.git
$ cd com.jetbrains.IntelliJ-IDEA-Community/
$ flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak-builder build --force-clean --install-deps-from=flathub --install --user com.jetbrains.IntelliJ-IDEA-Community.yaml

# ...to uninstall the artifact
$ flatpak uninstall --delete-data --user com.jetbrains.IntelliJ-IDEA-Community

# ...and to clean-up everything
$ rm --force --recursive .flatpak-builder/ build/
$ flatpak uninstall --unused --user
$ flatpak remote-delete --user flathub

Permissions

This application requests the following permissions:

  • device=all because there are plugins that use the camera, people develop for certain controllers, etc.

  • filesystems=host because you can have anything installed in your system and would like to be able to use it as before

  • sockets=ssh-auth because (ideally) most developers use git using the Secure Shell Protocol

The rest are hopefully innocent or obvious enough to not require explanation!

Restricting the default permissions

When using Flatseal or flatpak override to restrict the default filesystem access, it is recommended to add .java as persistent (--persist) to avoid accepting the license for each launch.

com.jetbrains.intellij-idea-community's People

Contributors

binaryfields avatar dapigguy avatar dave-kennedy avatar flathubbot avatar lctrs avatar lyze237 avatar marcelovbcfilho avatar newbytee avatar prodrigestivill avatar rszibele avatar x80486 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

com.jetbrains.intellij-idea-community's Issues

How to configure JDK in Intellij on Fedora Silverblue?

Hello,

I'm trying out Fedora Silverblue, and I don't get IntelliJ configured with an 'sdk' (in IntelliJ terms, so the openjdk dev environment).

  • What I did is: Install openjdk-dev via rpm-ostree
    • rpm-ostree install java-11-openjdk-devel
  • Install IntelliJ using flatpak install flathub com.jetbrains.IntelliJ-IDEA-Community

Open jdk is available in /usr/lib/jvm/java-openjdk/bin/

$ ls /usr/lib/jvm/java-openjdk/bin/
jaotc      javac    ....

Still, when I start IntelliJ, and try to create a new project, I can't configure this JDK. I don't find the jvm dir in /usr/lib. I guess this is due to how flatpak works, but I'm not sure if I understand that well enough.

Can some one explain what I need to do, and how flatpak and rpm-ostree integrate?

No access to /bin makes the integrated terminal useless

Hello,
I hope this is the right place to ask.

It would be useful to have access to /bin to execute commands from the integrated terminal.
Since /bin is blacklisted I'm not sure if this is even possible.
flatpak override does not seem to work for me.

Is this by design or can this be changed?

Android emulator is not working

Fedora Silverblue 39
Flatpak 1.15.6
IntelliJ IDEA: 2023.3

Only happens with Flatpak, with snap and .tar.gz it works fine.

2023-12-11 14:41:50,251 [   7562]   WARN - #com.android.ddmlib - * daemon not running; starting now at tcp:5037
2023-12-11 14:41:50,294 [   7605]   WARN - #com.android.ddmlib - * daemon started successfully
2023-12-11 14:41:54,882 [  12193]   WARN - #c.i.s.ComponentManagerImpl - com.android.tools.idea.res.ResourceUpdateTracer initializer requests com.android.tools.idea.res.ResourceUpdateTraceSettings instance
2023-12-11 14:42:01,137 [  18448]   WARN - #c.i.s.ComponentManagerImpl - com.android.tools.idea.devicemanagerv2.OverflowButton initializer requests org.jetbrains.android.AndroidPluginDisposable instance
2023-12-11 14:42:03,696 [  21007]   WARN - Emulator: Pixel 7 API 34 - File System is not ext4, disable QuickbootFileBacked feature
2023-12-11 14:42:03,937 [  21248]   WARN - Emulator: Pixel 7 API 34 - Your GPU drivers may have a bug. Switching to software rendering.
2023-12-11 14:42:04,129 [  21440]   WARN - Emulator: Pixel 7 API 34 - *** Basic token auth should only be used by android-studio ***
2023-12-11 14:42:04,183 [  21494]   WARN - Emulator: Pixel 7 API 34 - Device 'cache' does not have the requested snapshot 'default_boot'
2023-12-11 14:42:04,184 [  21495]   WARN - Emulator: Pixel 7 API 34 - Failed to load snapshot 'default_boot'
2023-12-11 14:42:04,184 [  21495]   WARN - Emulator: Pixel 7 API 34 - Failed to process .ini file /var/home/chardinson/.android/emu-update-last-check.ini for reading.
2023-12-11 14:42:04,819 [  22130]   WARN - Emulator: Pixel 7 API 34 - Failed to process .ini file /var/home/chardinson/.android/emu-update-last-check.ini for reading.
2023-12-11 14:42:04,939 [  22250] SEVERE - Emulator: Pixel 7 API 34 - Received bad foldable posture when trying to send gRPC notification, posture value: 0
2023-12-11 14:42:04,940 [  22251] SEVERE - Emulator: Pixel 7 API 34 - IntelliJ IDEA 2023.3  Build #IC-233.11799.241
2023-12-11 14:42:04,940 [  22251] SEVERE - Emulator: Pixel 7 API 34 - JDK: 17.0.9; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2023-12-11 14:42:04,940 [  22251] SEVERE - Emulator: Pixel 7 API 34 - OS: Linux
2023-12-11 14:42:06,356 [  23667]   WARN - #c.i.s.ComponentManagerImpl - com.android.tools.idea.file.explorer.toolwindow.options.DeviceFileExplorerSettings PluginClassLoader(plugin=PluginDescriptor(name=Android, id=org.jetbrains.android, descriptorPath=plugin.xml, path=~/.var/app/com.jetbrains.IntelliJ-IDEA-Community/data/JetBrains/IdeaIC2023.3/android, version=233.11799.272, package=null, isBundled=false), packagePrefix=null, state=active)
java.lang.ClassNotFoundException: com.android.tools.idea.file.explorer.toolwindow.options.DeviceFileExplorerSettings PluginClassLoader(plugin=PluginDescriptor(name=Android, id=org.jetbrains.android, descriptorPath=plugin.xml, path=~/.var/app/com.jetbrains.IntelliJ-IDEA-Community/data/JetBrains/IdeaIC2023.3/android, version=233.11799.272, package=null, isBundled=false), packagePrefix=null, state=active)
	at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass(ComponentManagerImpl.kt:2255)
	at com.intellij.serviceContainer.ServiceDescriptorInstanceInitializer.loadInstanceClass(ServiceInstanceInitializer.kt:62)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.instanceClass(LazyInstanceHolder.kt:54)
	at com.intellij.serviceContainer.ComponentManagerImpl.processAllImplementationClasses2$process(ComponentManagerImpl.kt:1882)
	at com.intellij.serviceContainer.ComponentManagerImpl.processAllImplementationClasses2(ComponentManagerImpl.kt:1901)
	at com.intellij.serviceContainer.ComponentManagerImpl.processAllImplementationClasses(ComponentManagerImpl.kt:1831)
	at com.intellij.settingsSync.SettingsSyncFilteringKt.findComponentClasses(SettingsSyncFiltering.kt:77)
	at com.intellij.settingsSync.SettingsSyncFilteringKt.isSyncEnabled(SettingsSyncFiltering.kt:17)
	at com.intellij.settingsSync.SettingsSyncIdeMediatorImpl.write(SettingsSyncIdeMediatorImpl.kt:155)
	at com.intellij.configurationStore.CompoundStreamProvider.write(CompoundStreamProvider.kt:34)
	at com.intellij.configurationStore.XmlElementStorage$XmlElementStorageSaveSessionProducer$SaveExecutor.save(XmlElementStorage.kt:163)
	at com.intellij.configurationStore.SaveExecutorKt.executeSave(SaveExecutor.kt:86)
	at com.intellij.configurationStore.SaveExecutorKt.saveSessions(SaveExecutor.kt:80)
	at com.intellij.configurationStore.SaveSessionProducerManager.save$suspendImpl(SaveExecutor.kt:72)
	at com.intellij.configurationStore.SaveSessionProducerManager.save(SaveExecutor.kt)
	at com.intellij.configurationStore.ApplicationStoreImpl$doSave$3$1.invokeSuspend(ApplicationStoreImpl.kt:64)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
2023-12-11 14:42:06,359 [  23670]   WARN - #c.i.s.ComponentManagerImpl - com.android.tools.idea.device.explorer.files.options.DeviceFileExplorerSettings PluginClassLoader(plugin=PluginDescriptor(name=Android, id=org.jetbrains.android, descriptorPath=plugin.xml, path=~/.var/app/com.jetbrains.IntelliJ-IDEA-Community/data/JetBrains/IdeaIC2023.3/android, version=233.11799.272, package=null, isBundled=false), packagePrefix=null, state=active)
java.lang.ClassNotFoundException: com.android.tools.idea.device.explorer.files.options.DeviceFileExplorerSettings PluginClassLoader(plugin=PluginDescriptor(name=Android, id=org.jetbrains.android, descriptorPath=plugin.xml, path=~/.var/app/com.jetbrains.IntelliJ-IDEA-Community/data/JetBrains/IdeaIC2023.3/android, version=233.11799.272, package=null, isBundled=false), packagePrefix=null, state=active)
	at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass(ComponentManagerImpl.kt:2255)
	at com.intellij.serviceContainer.ServiceDescriptorInstanceInitializer.loadInstanceClass(ServiceInstanceInitializer.kt:62)
	at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.instanceClass(LazyInstanceHolder.kt:54)
	at com.intellij.serviceContainer.ComponentManagerImpl.processAllImplementationClasses2$process(ComponentManagerImpl.kt:1882)
	at com.intellij.serviceContainer.ComponentManagerImpl.processAllImplementationClasses2(ComponentManagerImpl.kt:1901)
	at com.intellij.serviceContainer.ComponentManagerImpl.processAllImplementationClasses(ComponentManagerImpl.kt:1831)
	at com.intellij.settingsSync.SettingsSyncFilteringKt.findComponentClasses(SettingsSyncFiltering.kt:77)
	at com.intellij.settingsSync.SettingsSyncFilteringKt.isSyncEnabled(SettingsSyncFiltering.kt:17)
	at com.intellij.settingsSync.SettingsSyncIdeMediatorImpl.write(SettingsSyncIdeMediatorImpl.kt:155)
	at com.intellij.configurationStore.CompoundStreamProvider.write(CompoundStreamProvider.kt:34)
	at com.intellij.configurationStore.XmlElementStorage$XmlElementStorageSaveSessionProducer$SaveExecutor.save(XmlElementStorage.kt:163)
	at com.intellij.configurationStore.SaveExecutorKt.executeSave(SaveExecutor.kt:86)
	at com.intellij.configurationStore.SaveExecutorKt.saveSessions(SaveExecutor.kt:80)
	at com.intellij.configurationStore.SaveSessionProducerManager.save$suspendImpl(SaveExecutor.kt:72)
	at com.intellij.configurationStore.SaveSessionProducerManager.save(SaveExecutor.kt)
	at com.intellij.configurationStore.ApplicationStoreImpl$doSave$3$1.invokeSuspend(ApplicationStoreImpl.kt:64)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
2023-12-11 14:42:30,556 [  47867]   WARN - #com.android.tools.idea.streaming.emulator.EmulatorController - android.emulation.control.EmulatorController/streamClipboard call failed - UNAVAILABLE: io exception
2023-12-11 14:42:30,556 [  47867]   WARN - #com.android.tools.idea.streaming.emulator.EmulatorController - android.emulation.control.EmulatorController/sendKey call failed - UNAVAILABLE: io exception
2023-12-11 14:42:30,555 [  47866]   WARN - #com.android.tools.idea.streaming.emulator.EmulatorController - android.emulation.control.EmulatorController/setClipboard call failed - UNAVAILABLE: io exception
2023-12-11 14:42:30,555 [  47866]   WARN - #com.android.tools.idea.streaming.emulator.EmulatorController - android.emulation.control.EmulatorController/streamScreenshot call failed - UNAVAILABLE: io exception
2023-12-11 14:42:30,555 [  47866]   WARN - #com.android.tools.idea.streaming.emulator.EmulatorController - android.emulation.control.EmulatorController/streamNotification call failed - UNAVAILABLE: io exception
2023-12-11 14:42:30,721 [  48032] SEVERE - Emulator: Pixel 7 API 34 - Emulator terminated with exit code 139
java.lang.Throwable: Emulator terminated with exit code 139
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
	at com.android.tools.idea.avdmanager.EmulatorProcessHandler$ConsoleListener.onTextAvailable(EmulatorProcessHandler.kt:89)
	at com.intellij.execution.process.ProcessHandler$2.onTextAvailable(ProcessHandler.java:289)
	at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(ProcessHandler.java:220)
	at com.intellij.execution.process.ProcessTerminatedListener.processTerminated(ProcessTerminatedListener.java:57)
	at com.intellij.execution.process.ProcessHandler$2.processTerminated(ProcessHandler.java:259)
	at com.intellij.execution.process.ProcessHandler.lambda$notifyTerminated$2(ProcessHandler.java:204)
	at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:322)
	at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:187)
	at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:183)
	at com.intellij.execution.process.BaseProcessHandler.onOSProcessTerminated(BaseProcessHandler.java:59)
	at com.intellij.execution.process.BaseOSProcessHandler$1.lambda$startNotified$0(BaseOSProcessHandler.java:82)
	at com.intellij.execution.process.ProcessWaitFor.lambda$new$0(ProcessWaitFor.java:45)
	at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:218)
	at com.intellij.execution.process.ProcessWaitFor.lambda$new$1(ProcessWaitFor.java:23)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)
2023-12-11 14:42:30,729 [  48040] SEVERE - Emulator: Pixel 7 API 34 - IntelliJ IDEA 2023.3  Build #IC-233.11799.241
2023-12-11 14:42:30,729 [  48040] SEVERE - Emulator: Pixel 7 API 34 - JDK: 17.0.9; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2023-12-11 14:42:30,730 [  48041] SEVERE - Emulator: Pixel 7 API 34 - OS: Linux
2023-12-11 14:42:30,730 [  48041] SEVERE - Emulator: Pixel 7 API 34 - Plugin to blame: Android version: 233.11799.272

Can't install Scala SDK within Flatpak

I discovered that it's currently impossible to install Scala SDKs when you're running in Flatpak...

Cannot run program "java" (in directory "/home/kevin/.var/app/com.jetbrains.IntelliJ-IDEA-Community/cache/tmp/sbt-project"): error=2, No such file or directory

But, you can select already installed Scala SDKs. Glass half full I would say.

Tab order

with the last update of IntelliJ, I have noticed that I am unable to change the editor file tab order. I use this functionality to keep my related code beside each other to allow jumping back and forth, this doesn't work in the current version of IntelliJ 2022.1 (Ultimate) build 221.5080.210 April 11, 2022

Integration with external tools not working

I'm brand new to flatpak so I don't know how hard or easy this would be to fix on my own. I find that the flatpak packaging doesn't allow me to integrate with external tools (e.g. browsers like Chrome/Firefox, or diff/merge tools like Beyond Compare). I'm using the snap package instead in the meantime, which allows me to use those tools with Intellij Idea.

Sandboxing (and some other) Improvement(s)

The main purpose of this enhancement is the improvement of sandboxing.

  • Removing host access. IntelliJ will have default access to persist information only to ~/IdeaProjects (and the default location used for the plugins, if they write outside the xdg-* sub-directories)
  • Provide latest OpenJDK LTS (as Flatpak extension) for the IDE and embedded shell
  • Removing wayland socket because IntelliJ doesn't support it yet — when running the Flatpak on wayland it will fallback to x-wayland)

New version of jetbrains-flatpak-wrapper broke the build, needs a rebuild

The new version that was released depends on a version of jetbrains-flatpak-wrapper that started using zypack, which was then reverted about an hour ago. Now, when I try to launch IntelliJ I get:

 britt  ~  flatpak run com.jetbrains.IntelliJ-IDEA-Community
idea-wrapper: Setting up NPM packages
idea-wrapper: Setting up Cargo packages
idea-wrapper: Setting up Python packages
idea-wrapper: Setting up Ruby packages
env: ‘zypak-wrapper’: No such file or directory

Can we get a rebuild and re-deploy? Thanks

Can't use Android Gradle Plugin 7.1+

Hello, first of all thanks for this flatpak! It's really useful, however, I encountered an issue with my Android projects. I'm using the bundled android plugin which is shipped in the default IDE. However, if I try to sync the gradle project, I get the following error:

This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2021.1.1 or newer.

The project is on AGP 7.1.2 and gradle wrapper 7.4.1.

I use the latest IDE version available:

IntelliJ IDEA 2021.3.3 (Community Edition)
Build #IC-213.7172.25, built on March 15, 2022
Runtime version: 11.0.14.1+1-b1751.46 amd64

The information of the plugin says bundled 2020.3.1 Final.213.7172.25, which is not the version I'm using. Maybe the IDE "forgot" to update the android plugin, or is there another reason? (The build number 213.7172.25 is the same on other bundled plugins)

fails desk top set-up cannot resolve (installed) xdg-utils

Once installed the current/latest com.jetbrains.IntelliJ-IDEA-Community version's start-up wizard offers to create a desktop icon for the IDE. This fails because it reports that it cannot use xdg-utils on my Ubuntu 18.10 system.

However xdg-utils are installed, as shown:

 $ sudo apt install    xdg-utils
 [sudo] password: 
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 xdg-utils is already the newest version (1.1.3-1ubuntu2).
 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade

Evidently something is missing in the flatpak to provide or resolve this dependency.

Review the possibility of adding aditional documentation about permissions

Situation

Whej one installs IntelliJ IDEA Community from flathub there's a section requiring the following permission:

com.jetbrains.IntelliJ-IDEA-Community permissions:
    ipc       network       ssh-auth              wayland
    x11       dri           file access [1]       dbus access [2]

    [1] host, xdg-run/gnupg:ro, xdg-run/keyring
    [2] org.freedesktop.Flatpak, org.freedesktop.Notifications,
        org.freedesktop.secrets, org.gnome.keyring.SystemPrompter

Problem
I'd like to understand why such permissions are asked, but after going through the code, searching for it on forums, etc. I've not been able to find any explanation as to why does it require access to gnome-keyring o ssh-auth, for instance.

Request
It would be very helpful if there was a paragraph or a link to another resource in which one could find such information.

P.S: Thank you for putting the work into maintaining this flatpak.

Error while updating to latest

flatpak version: 1.12.7

After downloading the update, flatpak gives this error:

Error: While pulling app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub: URI
https://dl.flathub.org/repo/deltas/hv/KajdCfFMGZEUBkZ2WtWKpO5Gs1UFe_09u7x5XM+vA-0_YJs8VP3PGCdjYnjk0ntr5eP4qCMCoQYZPFwPlmiNo/4 
exceeded maximum size of 2693773 bytes

Cannot connect to already running IDE instance. Exception: Process 2 is still running

Error

Start Failed
Cannot connect to already running IDE instance.
Exception: Process 2 is still running

I double-checked, and I can confirm that the flatpak is not already running.

System

System:
  Host: fedora Kernel: 6.4.15-200.fc38.x86_64 arch: x86_64 bits: 64
    Desktop: GNOME v: 44.5 Distro: Fedora release 38 (Thirty Eight)
Machine:
  Type: Laptop System: Notebook product: NH55RGQ v: N/A
    serial: <superuser required>
  Mobo: Notebook model: NH55RGQ serial: <superuser required> UEFI: INSYDE
    v: 1.07.01 date: 05/29/2019
Battery:
  ID-1: BAT0 charge: 44.1 Wh (100.0%) condition: 44.1/48.0 Wh (91.9%)
CPU:
  Info: 6-core model: Intel Core i7-9750H bits: 64 type: MT MCP cache:
    L2: 1.5 MiB
  Speed (MHz): avg: 2758 min/max: 800/4500 cores: 1: 2600 2: 2600 3: 4501
    4: 2600 5: 2600 6: 2600 7: 2600 8: 2600 9: 2600 10: 2600 11: 2600 12: 2600
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA GP108M [GeForce MX250] driver: nouveau v: kernel
  Device-3: Chicony USB2.0 Camera driver: uvcvideo type: USB
  Display: wayland server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9
    compositor: gnome-shell driver: dri: iris gpu: i915 resolution:
    1: 2560x1440~60Hz 2: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.7 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2)
Audio:
  Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
  API: ALSA v: k6.4.15-200.fc38.x86_64 status: kernel-api
  Server-1: PipeWire v: 0.3.80 status: active
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi
  IF: wlp7s0 state: up mac: 50:e0:85:f4:bb:b3
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp8s0f1 state: down mac: 80:fa:5b:6d:51:6b
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address: 50:E0:85:F4:BB:B7 bt-v: 5.2
Drives:
  Local Storage: total: 1.36 TiB used: 1.36 TiB (99.9%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 500GB
    size: 465.76 GiB
  ID-2: /dev/sda vendor: Seagate model: ST1000LM048-2E7172 size: 931.51 GiB
Partition:
  ID-1: / size: 464.16 GiB used: 113.16 GiB (24.4%) fs: btrfs dev: /dev/dm-0
  ID-2: /boot size: 973.4 MiB used: 297.2 MiB (30.5%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 464.16 GiB used: 113.16 GiB (24.4%) fs: btrfs
    dev: /dev/dm-0
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 66.0 C pch: 76.0 C mobo: N/A gpu: nouveau
    temp: 47.0 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 481 Uptime: 35m Memory: total: 32 GiB note: est.
  available: 31.05 GiB used: 7.06 GiB (22.8%) Shell: Bash inxi: 3.3.29

It used to work, until I updated my machine so perhaps it's related to one of these updated packages:

[kevin@fedora ~]$ dnf history info 331
Transaction ID : 331
Begin time     : Fri 22 Sep 2023 13:30:48 CEST
Begin rpmdb    : a5ea45a03a57e3ffd4c424f2bd8b3849491655bca4c6bcae28336d26d38d72de
End time       : Fri 22 Sep 2023 13:30:57 CEST (9 seconds)
End rpmdb      : fb516b43ce0d99126ed0dd0dc290367e1a47a40dca376ca98c879ed3184572ad
User           : root <root>
Return-Code    : Success
Releasever     : 
Command Line   : 
Comment        : 
Packages Altered:
    Upgrade  container-selinux-2:2.222.0-1.fc38.noarch @updates
    Upgrade  gstreamer1-1.22.6-1.fc38.x86_64           @updates
    Upgrade  python3-gstreamer1-1.22.6-1.fc38.x86_64   @updates
    Upgrade  traceroute-3:2.1.3-1.fc38.x86_64          @updates
    Upgrade  zip-3.0-37.fc38.x86_64                    @updates
    Upgraded container-selinux-2:2.221.1-1.fc38.noarch @@System
    Upgraded gstreamer1-1.22.5-1.fc38.x86_64           @@System
    Upgraded python3-gstreamer1-1.22.5-1.fc38.x86_64   @@System
    Upgraded traceroute-3:2.1.2-1.fc38.x86_64          @@System
    Upgraded zip-3.0-36.fc38.x86_64                    @@System

Screenshot

Screenshot from 2023-09-22 14-04-14

Unable to install

Getting this error

flatpak install flathub com.jetbrains.IntelliJ-IDEA-Community
Looking for matches…

com.jetbrains.IntelliJ-IDEA-Community permissions:
ipc network ssh-auth wayland x11 dri file access [1] dbus access [2]

[1] host, xdg-run/keyring
[2] org.freedesktop.Flatpak, org.freedesktop.Notifications, org.freedesktop.secrets


    ID                                               Branch            Op            Remote            Download
  1. [✗] com.jetbrains.IntelliJ-IDEA-Community stable i flathub 1.0 kB / 671.2 MB

Error: While trying to checkout a31f5f42e8ddea472acb6433792e511760ed9cd8dbdbc204f71cc9a2e7da4b6b into /home/mukul/.local/share/flatpak/app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable/.a31f5f42e8ddea472acb6433792e511760ed9cd8dbdbc204f71cc9a2e7da4b6b-1A02G0: Opening content object 09cd50e6d0fd258795368ef20cddcddaf5a3667ddb86238245588571c5b1680e: Couldn't find file object '09cd50e6d0fd258795368ef20cddcddaf5a3667ddb86238245588571c5b1680e'
error: Failed to install com.jetbrains.IntelliJ-IDEA-Community: While trying to checkout a31f5f42e8ddea472acb6433792e511760ed9cd8dbdbc204f71cc9a2e7da4b6b into /home/mukul/.local/share/flatpak/app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable/.a31f5f42e8ddea472acb6433792e511760ed9cd8dbdbc204f71cc9a2e7da4b6b-1A02G0: Opening content object 09cd50e6d0fd258795368ef20cddcddaf5a3667ddb86238245588571c5b1680e: Couldn't find file object '09cd50e6d0fd258795368ef20cddcddaf5a3667ddb86238245588571c5b1680e'

Tighten permissions

Similar to #66, I think it would be nice to have some explanation about the permissions.

Specifically I'm wondering about the need for host access. It was removed in #45 but it appears that never made it into the master branch.

I'm also wondering about device=all. Seems a bit excessive.

This seems to work fine for my purposes:

[Context]
sockets=!ssh-auth
devices=!all
filesystems=!host;!xdg-run/app/com.discordapp.Discord;!xdg-run/gnupg;!xdg-run/keyring;home/.aws;home/.gradle;home/.java;home/.m2;home/.sdkman;home/src

Included JRE does not include JavaFX which breaks some plugins

Some IDEA plugin, e.g. the ReDoc plugin require JavaFX to run. The JRE bundled in this flatpak does not include JavaFX so those plugins die with a NoClassDefFoundError as shown below. The bundled JRE should include all modules that were included in Java 8, including JavaFX.

java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
	at com.phpinnacle.redoc.RedocPanel.<init>(RedocPanel.java:26)
	at com.phpinnacle.redoc.RedocEditor.<init>(RedocEditor.java:24)
	at com.phpinnacle.redoc.RedocApplication.createEditor(RedocApplication.java:55)
	at com.phpinnacle.redoc.RedocEditorProvider.createEditor(RedocEditorProvider.java:22)
	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.dumbModeFinished(FileEditorManagerImpl.java:213)
	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.access$300(FileEditorManagerImpl.java:106)
	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$2.lambda$exitDumbMode$0(FileEditorManagerImpl.java:159)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:201)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:322)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:132)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:188)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:971)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:841)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:452)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:744)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:451)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:499)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel PluginClassLoader[PluginDescriptor(name=Redoc, id=com.phpinnacle.redoc, path=/home/ward/.var/app/com.jetbrains.IntelliJ-IDEA-Community/data/JetBrains/IdeaIC2020.2/redoc, version=0.3)] com.intellij.ide.plugins.cl.PluginClassLoader@551f6cb4
	at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:95)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 34 more

'Show in File Manager' stopped working

Think that with one of the later updates, the right-click menu option 'Show in Files Manager' stopped working. It doesn't give any console output, else I would have provided you some basic logging.

Notifications after completion of tests

When I run tests, I don't get notifications of the test being completed in the flatpak version. The native version does (atleast Android Studio does, so I assume IntelliJ also does have this feature).

When using FlatSeal, I see that the checkbox for Notification permission is disabled (greyed out). That is, I am not able to enable / disable the Notification permission.

Could this be a flatpak packaging issue?

Java's built-in javax.sound.sampled.AudioSystem does not work as it cannot communicate with ALSA

Right now, the javax.sound.sampled.AudioSystem class is dysfunctional when used in Java applications run via this IntelliJ Flatpak. The problem is that AudioSystem only supports ALSA[1], and for ALSA to work, the Flatpak needs to have --device=all access.

You can reproduce this yourself by running this application:

import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Clip;
import javax.sound.sampled.LineUnavailableException;

public class AudioTest {
   public static void main(String[] args) throws LineUnavailableException {
       final Clip clip = AudioSystem.getClip();
   }
}

With all devices allowed, it will just run. With that option disabled, it will crash with LineUnavailableException.

Another way to test this is to look at the return value of AudioSystem.getMixerInfo() which will give you an empty array if ALSA is inaccessible.

[1] https://docs.oracle.com/en/java/javase/17/troubleshoot/java-sound.html#GUID-A2CD7669-9CF4-4002-B4F3-67525BE075B2

I'd guess this also applies to https://github.com/flathub/com.jetbrains.IntelliJ-IDEA-Ultimate

I can't get IDEA to access the APT-installed android-sdk

I can't get IDEA to use the Android SDK installed via apt on /usr/lib/android-sdk/.
I tried using flatpak override, but nothing works:

sudo flatpak override com.jetbrains.IntelliJ-IDEA-Community --filesystem=/usr/lib/android-sdk:ro
sudo flatpak override com.jetbrains.IntelliJ-IDEA-Community --filesystem=/usr/lib/android-sdk
flatpak override --user com.jetbrains.IntelliJ-IDEA-Community --filesystem=/usr/lib/android-sdk

I even tried creating a symlink as ~/.android/android-sdk but IDEA just can't even see the directory.

I don't want to download the Android SDK directly from Google, I want to use the APT version. How can I do this? Why is not even the symlink working?


EDIT: I found out that the override actually makes it available on /var/run/host/usr/lib/android-sdk, but since it contains symlinks, I don't think it will work with just the permission. Is there some workaround?

EDIT2: I ended up just copying the whole folder with cp -rL, but when I set it up and created a project, it just ended up downloading updates from Google anyways... so I guess it can't be done.

After upgrade to 2023.1 IntelliJ crashes at start up

I just received the upgrade to 2023.1 but after upgrading IntelliJ crashes at start up.

When started from console with: /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=idea com.jetbrains.IntelliJ-IDEA-Community I get some logs written in the console.

Last line printed is:

[0329/073500.004250:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /app/idea-IC/jbr/lib/chrome-sandbox is owned by root and has mode 4755.

but it continues another 10-15 secs scanning my open project before it crashes.

I tried to fix the error with

sudo chmod 4755 /var/lib/flatpak/app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable/88eb...0a499/files/idea-IC/jbr/lib/chrome-sandbox

but it neither fixes the error message or the crash.

How do I fix? Or where should I look for the true cause of the crash?

Signing Commits via GPG doesn't work

Hi,

I'm trying to create a consistent setup for GPG signing on CLI and IDE (Intellij Idea Community Edition). So far, I'm able to sign my commits with CLI on host, toolbox containers and the terminal inside the IDE but not the IDE itself. I mean, if I use the built-in git capabilities of the IDE, it will simply fail with the following error:

error: gpg failed to sign the data
fatal: failed to write commit object

I have Fedora Silverblue 37 on my laptop and here are my configs:

.gitconfig

[user]
    signingkey = 476B3D9B8D36FDE6!
[commit]
    gpgsign = true

gpg.conf

use-agent
keyserver hkps://keys.openpgp.org
pinentry-mode loopback

gpg-agent.conf

default-cache-ttl 600
max-cache-ttl 7200
pinentry-program /usr/bin/pinentry

The flatpak Intellij Idea Community includes pinentry-gnome3 bundled and when I type gpgconf in its terminal, I get the following output:

$ gpgconf
gpg:OpenPGP:/usr/bin/gpg
gpgsm:S/MIME:/usr/bin/gpgsm
gpg-agent:Private Keys:/usr/bin/gpg-agent
scdaemon:Smartcards:/usr/libexec/scdaemon
dirmngr:Network:/usr/bin/dirmngr
pinentry:Passphrase Entry:/usr/bin/pinentry

I'm able to use pinentry inside the terminal of the IDE:

$ echo getpin|pinentry
OK Pleased to meet you
D asd
OK

gpg-agent is running on the host and if I let it cache the password of my GPG key, I'm able to sign commits both on the host and inside the IDE without any issues. So the problem seems to be that the IDE is not able to ask for the GPG password.

I tried various configurations like setting pinentry-mode ask, adding no-tty option etc but none of those actually worked. I also gave gpg-agent socket permission to the IDE but that didn't work as well.

What am I missing? Does anyone have an idea about this?

More Information about my system:

gpg inside container

$ gpg --version
gpg (GnuPG) 2.2.39
libgcrypt 1.10.1
Copyright (C) 2022 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /var/home/tunix/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

Cannot attach to a running process

Hi

I've been using IDEA-Community for a while and recently gave a try to the flatpak version: com.jetbrains.IntelliJ-IDEA-Community

I noticed the I cannot attach to a running Tomcat server, the process is not shown in the dialog via "Run" -> "Attach to Process"
I usually run a custom tomcat webserver which is not in a sandbox and attach it from IntelliJ, but maybe the flatpak apps being sandboxed, they cannot access other PID?

I tried to play with permissions using Flatseal but couldn't make it work.
Is there a solution to attach to process not from the sandbox?

Thanks

Ant builds not working

For me, trying to compile a project with Ant results in

Error: could not open `/run/host/usr/lib/jvm/java-8-openjdk/jre/lib/amd64/jvm.cfg'

I'm using the bundled Ant version:

Steps to reproduce

  1. Create a simple Java project that uses a simple Ant script
  2. Try to run an Ant task from the Ant menu on the right.

java.awt.Desktop.browse() not supported

Can't open links from SonarLint plugin:

Error opening browser: https://www.securecoding.cert.org/confluence/x/RoElAQ
java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
	at java.awt.Desktop.checkActionSupport(Desktop.java:225)
	at java.awt.Desktop.browse(Desktop.java:381)
	at org.sonarlint.intellij.ui.SonarLintRulePanel.lambda$createEditor$0(SonarLintRulePanel.java:175
	at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:342)
	at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:875)
	at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:674)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
	at java.awt.Component.processMouseEvent(Component.java:6551)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)
	at java.awt.Component.processEvent(Component.java:6313)
	at java.awt.Container.processEvent(Container.java:2237)
	at java.awt.Component.dispatchEventImpl(Component.java:4903)
	at java.awt.Container.dispatchEventImpl(Container.java:2295)
	at java.awt.Component.dispatchEvent(Component.java:4725)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
	at java.awt.Container.dispatchEventImpl(Container.java:2281)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4725)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:737)
	at java.awt.EventQueue$4.run(EventQueue.java:735)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:719)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:664)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Want to become main maintainer for this repo?

If you are reading this, actively use IntelliJ IDEA Community, and interested on being the main maintainer for this repo, I'll gladly hand it over to you. Let me know via e-mail or just by chiming in.

I will stop using IntelliJ IDEA Community any time soon, that's why I would like to hand this over. In any case, I'll keep maintain it until somebody else is interested.

Upgrade to GCR 3.40 and use Meson instead

Newest GCR version (3.40) uses Meson. When I updated the manifest to use it:

- name: gcr
  buildsystem: meson
  config-opts:
    - -Dgtk_doc=false
    - -Dgtk=false
  sources:
    - type: archive
      sha256: b9d3645a5fd953a54285cc64d4fc046736463dbd4dcc25caf5c7b59bed3027f5
      url: https://download.gnome.org/sources/gcr/3.40/gcr-3.40.0.tar.xz

...the build then fails with something like this:

x80486@ubuntu-vm:~/Workshop/com.jetbrains.IntelliJ-IDEA-Community$ flatpak-builder build --force-clean --install-deps-from=flathub --install --user com.jetbrains.IntelliJ-IDEA-Community.yml 
Dependency Sdk: org.freedesktop.Sdk 20.08
Updating org.freedesktop.Sdk/x86_64/20.08
Nothing to do.
Dependency Runtime: org.freedesktop.Sdk 20.08
Updating org.freedesktop.Sdk/x86_64/20.08
Nothing to do.
Emptying app dir 'build'
Downloading sources
Starting build of com.jetbrains.IntelliJ-IDEA-Community
Cache hit for libsecret, skipping build
Cache miss, checking out last cache hit
========================================================================
Building module gcr in /home/x80486/Workshop/com.jetbrains.IntelliJ-IDEA-Community/.flatpak-builder/build/gcr-8
========================================================================
The Meson build system
Version: 0.57.1
Source dir: /run/build/gcr
Build dir: /run/build/gcr/_flatpak_build
Build type: native build
WARNING: Unknown options: "vapi"
The value of new options can be set with:
meson setup <builddir> --reconfigure -Dnew_option=new_value ...
Project name: gcr
Project version: 3.40.0
C compiler for the host machine: ccache cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.35.2
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency glib-2.0 found: YES 2.64.6
Run-time dependency gmodule-no-export-2.0 found: YES 2.64.6
Run-time dependency gthread-2.0 found: YES 2.64.6
Run-time dependency gobject-2.0 found: YES 2.64.6
Run-time dependency gio-2.0 found: YES 2.64.6
Run-time dependency gio-unix-2.0 found: YES 2.64.6
Program gpg found: YES (/usr/bin/gpg)
Run-time dependency libgcrypt found: YES 1.8.7
Run-time dependency p11-kit-1 found: YES 0.23.21
Has header "locale.h" : YES 
Checking for function "timegm" : YES 
Checking for function "mlock" : YES 
Configuring config.h using configuration
Configuring gck-version.h using configuration
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Program glib-genmarshal found: YES (/usr/bin/glib-genmarshal)
Compiler for C supports link arguments -Wl,--version-script,/run/build/gcr/gck/libgck.map: YES 
Build-time dependency gobject-introspection-1.0 found: YES 1.62.0
Dependency gobject-introspection-1.0 found: YES 1.62.0 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.62.0 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Program vapigen found: NO

../gck/meson.build:145:2: ERROR: Program 'vapigen' not found

A full log can be found at /run/build/gcr/_flatpak_build/meson-logs/meson-log.txt
Error: module gcr: Child process exited with code 1

I couldn't find a way to disable that vapigen dependency/program. I've tried -Dvapi=false but that didn't cut it 😆

I was basically trying to find the corresponding options for:

- --disable-schemas-compile
- --disable-static
- --disable-update-mime
- --disable-vala
- --enable-valgrind=no

...in the (new) Meson system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.