Package Details: rocketchat-desktop 4.3.3-1

Git Clone URL: https://aur.archlinux.org/rocketchat-desktop.git (read-only, click to copy)
Package Base: rocketchat-desktop
Description: Rocket.Chat Native Cross-Platform Desktop Application via Electron
Upstream URL: https://github.com/RocketChat/Rocket.Chat.Electron
Keywords: chat client electron rocket rocketchat
Licenses: MIT
Submitter: sum01
Maintainer: buzo
Last Packager: buzo
Votes: 31
Popularity: 0.40
First Submitted: 2017-10-23 16:52 (UTC)
Last Updated: 2025-04-17 17:33 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 18 Next › Last »

krims0n commented on 2025-04-11 21:18 (UTC)

I'm getting opengl errors again on the latest version, previous version worked fine, the version before that also gave me this error. Using wayland (Hyprland). Any idea what might cause this?

[30820:0411/231444.754243:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser” [30820:0411/231444.754280:ERROR:select_file_dialog_linux_portal.cc(308)] Failed to read portal version property [30889:0411/231444.880383:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009 ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009 [30889:0411/231444.880451:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS [30889:0411/231444.880485:ERROR:native_pixmap_egl_binding.cc(117)] Unable to initialize binding from pixmap [30889:0411/231444.880525:ERROR:ozone_image_backing.cc(307)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation [30889:0411/231444.880547:ERROR:shared_image_manager.cc(256)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking [30889:0411/231444.880595:ERROR:gpu_service_impl.cc(1162)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.

v.prokopyev commented on 2024-11-01 09:28 (UTC)

joshm, looks like you have a outdated node. I had the same error and upgraded node with nvm.

nvm install --lts
nvm use --lts

joshm commented on 2024-10-23 14:21 (UTC)

I'm seeing this during install:

==> Starting build()...
[!] SyntaxError: Unexpected token 'with'
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:298:14)
    at link (node:internal/modules/esm/module_job:67:21)

Anyone have a fix?

attention_horse commented on 2024-08-27 15:57 (UTC)

You're welcome :)

Building against electron31 works, electron30 is untested (but wouldn't recommend since electron32 works perfectly).

Used rocketchat-desktop 4.0.2-1 for a full work day today, no issues.

buzo commented on 2024-08-27 15:29 (UTC) (edited on 2024-08-27 15:29 (UTC) by buzo)

Many thanks attention_horse!

I'm still wondering why it shouldn't work with Electron 30, since package.json and app/main.js refer to that. ¯\(ツ)

brody commented on 2024-08-27 14:43 (UTC)

I can confirm that rocketchat-desktop is now buildable again in a clean chroot environment with electron32. Not tested with an older electron version.

Kudos to @attention_horse. :)

attention_horse commented on 2024-08-26 16:03 (UTC)

Adding python-distutils-extra openjpeg2 to the makedepends array fixes the error for me and I can cleanly build the package using pkgctl build --clean.

diff --git a/PKGBUILD b/PKGBUILD
index a4dd161..9f88fb9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,19 +4,19 @@
 # Contributor: sum01 <sum01@protonmail.com>

 pkgname=rocketchat-desktop
-pkgver=3.9.14
+pkgver=4.0.2
 pkgrel=1
 pkgdesc='Rocket.Chat Native Cross-Platform Desktop Application via Electron'
 arch=(any)
 url=https://github.com/RocketChat/Rocket.Chat.Electron
 license=(MIT)
-_electron=electron22
+_electron=electron32
 depends=("$_electron" nodejs libvips)
-makedepends=(node-gyp yarn asar)
+makedepends=(node-gyp yarn asar python-distutils-extra openjpeg2)
 install=rocketchat-desktop.install
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver/$pkgname-$pkgver.tar.gz"
         rocketchat-desktop.desktop)
-sha256sums=('4edd1355b3fd1d0b9f1f099637b0ec197594d9f8adccf49dad2372cab2178b68'
+sha256sums=('f544a6150e0dc8afd689500a30d6846a97799741128b451e962ebc0048698449'
             '31fae4f98a61a774f84030fd43d2ef92c7633740dc5aa55967a21d0e29ea621a')
 # validpgpkeys=('9EA06BE6FD613A03') # Tasso Evangelista

I found the missing package openjpeg2 by running yarn install --inside-build within the chroot and looking at the output:

sharp@npm:0.29.3 STDERR Package 'libopenjp2', required by 'vips', not found

Please apply the patch and check with your build environment again :)

attention_horse commented on 2024-07-30 11:23 (UTC)

Still no luck in building rocketchat-desktop in a clean build chroot. It's always yarn failing.

I try changing to electron31 next.

attention_horse commented on 2024-06-05 12:16 (UTC)

@brody No, not in a clean environment. Just using my default installation I work with every day. Building in a chroot (following your link) also fails for me. I can check the chroot later.

buzo commented on 2024-06-04 16:49 (UTC)

Neither adding UV_USE_IO_URING=0 helped, nor adding python-distutils-extra glib2 to the makedepends array.

The error seems to be related to libvips:

  CXX(target) Release/obj.target/sharp-linux-x64/src/common.o
In file included from ../src/common.cc:24:
/usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
   35 | #include <glib-object.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.