Package Details: drawio-desktop 24.5.3-1

Git Clone URL: https://aur.archlinux.org/drawio-desktop.git (read-only, click to copy)
Package Base: drawio-desktop
Description: Diagram drawing application built on web technology
Upstream URL: https://github.com/jgraph/drawio-desktop
Licenses: Apache-2.0
Submitter: kitsunyan
Maintainer: dvalter
Last Packager: dvalter
Votes: 70
Popularity: 3.54
First Submitted: 2017-12-11 20:40 (UTC)
Last Updated: 2024-06-11 16:55 (UTC)

Latest Comments

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

dvalter commented on 2024-05-29 18:46 (UTC)

@jrossel, thanks for noticing. It should be fixed in 24.4.8-3.

It was caused by upstream using private drawio-dev repo for their builds, whereas OSS drawio repo contained outdated min.js.

I have once again forced rebuild of these files, so hopefully upstream won't screw this rebuild up again in the same way.

jrossel commented on 2024-05-29 14:42 (UTC) (edited on 2024-05-29 14:43 (UTC) by jrossel)

It appears that this particular build has problems regarding cropping in PDFs via the CLI, though I'm not sure why.

I initially reported to drawio directly (thinking it was a general issue) https://github.com/jgraph/drawio-desktop/issues/1759, but nobody apart from people on this package could reproduce. (I also tested the AppImage on my Arch machine, where the behavior is correct as well.)

Maybe @dvalter has an idea what could cause this? Can other people using this package reproduce?

fengch commented on 2024-05-28 05:53 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 778f3ca..17c8da9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ url='https://github.com/jgraph/drawio-desktop'
 license=('Apache-2.0')
 _electronver=30
 depends=("electron$_electronver" libnotify shared-mime-info)
-makedepends=(yarn 'nodejs>=12')
+makedepends=(yarn 'nodejs>=20')
 options=('!strip')
 source=("drawio-$pkgver.tar.gz::https://github.com/jgraph/drawio/archive/v$pkgver.tar.gz"
         "drawio-desktop-$pkgver.tar.gz::https://github.com/jgraph/drawio-desktop/archive/v$pkgver.tar.gz"

landaro commented on 2024-05-27 11:35 (UTC)

The latest build does appear to not install properly:

[1/5] Validating package.json...
error draw.io@24.4.8: The engine "node" is incompatible with this module. Expected version ">=20". Got "18.20.3"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: drawio-desktop-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
drawio-desktop - exit status 4

AquilaIrreale commented on 2024-03-25 11:51 (UTC)

@dvalter this does not build on node 14 (nodejs-lts-fermium), I think the make dependency nodejs>=12 should be updated

dvalter commented on 2024-01-06 00:41 (UTC)

@carsme unfortunately newer versions of electron may break some features (and at least once it did), so I prefer sticking with the same major as upstream packaging unless it's broken or not available in Arch.

dr-br commented on 2024-01-05 12:23 (UTC) (edited on 2024-01-08 12:11 (UTC) by dr-br)

drawio-desktop (22.1.16-1) does not respect any ~/.config/electron*-flags.conf

$ strace drawio &> logfile
$ cat logfile | grep newfstatat |grep config

does not show any flag read

EDIT: electron26 is electron26-bin and does not feature

flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/${name}-flags.conf"

So my issue is related to the electron26 package.

EDIT2: With electron28 (not -bin version) flags are respected as required. Issue resolved.

politas commented on 2024-01-03 21:52 (UTC)

Getting a failure to build

node: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

carsme commented on 2024-01-03 20:38 (UTC)

Thanks for the quick update, unfortunately the official electron meta-package was just now updated again to v27. I don't think it's necessary to lock this package to a specific major version of Electron unless the official one is incompatible.

I think it would be OK to just depend on the meta-package electron to follow the latest available Electron in the official repositories. Thanks!

carsme commented on 2024-01-03 15:44 (UTC)

Electron v26 has been published to the official repositories, please consider depending on that instead of v25. I've confirmed that v26 fixes my previously reported issue. Thanks!