Package Details: drawio-desktop 24.2.5-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: 64
Popularity: 1.58
First Submitted: 2017-12-11 20:40 (UTC)
Last Updated: 2024-04-14 18:34 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

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!

carsme commented on 2023-09-26 09:08 (UTC)

Segfaults for me on Wayland, same for slack-electron:

$ drawio
Segmentation fault (core dumped)

Electron config:

$ cat ~/.config/electron25-flags.conf
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto
--enable-features=WebRTCPipeWireCapturer

Anyone else experiencing this?

jalf commented on 2023-06-21 22:28 (UTC) (edited on 2023-06-21 22:31 (UTC) by jalf)

Construyendo drawio-desktop...
==> Creando el paquete: drawio-desktop 21.4.0-1 (mié 21 jun 2023 17:27:38)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
  -> drawio-21.4.0.tar.gz ha sido encontrado
  -> drawio-desktop-21.4.0.tar.gz ha sido encontrado
  -> drawio.xml ha sido encontrado
==> Validando los archivos source con sha512sums...
    drawio-21.4.0.tar.gz ... Aprobado
    drawio-desktop-21.4.0.tar.gz ... Aprobado
    drawio.xml ... Aprobado
==> Eliminando el directorio $srcdir/...
==> Extrayendo las fuentes...
  -> Extrayendo drawio-21.4.0.tar.gz con bsdtar
  -> Extrayendo drawio-desktop-21.4.0.tar.gz con bsdtar
==> Eliminando el directorio $pkgdir/...
==> Iniciando build()...
Buildfile: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/build.xml

merge:
   [jscomp] Compiling 1 file(s) with 112 extern(s)
   [jscomp] 0 error(s), 0 warning(s)
   [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1687386457
   [delete] Deleting directory /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/build

app:
     [copy] Copying 1 file to /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build
     [copy] Copying 1 file to /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build
   [jscomp] Compiling 10 file(s) with 112 extern(s)
   [jscomp] 0 error(s), 0 warning(s)
   [jscomp] Compiling 58 file(s) with 112 extern(s)
   [jscomp] 0 error(s), 0 warning(s)
   [jscomp] Compiling 5 file(s) with 112 extern(s)
   [jscomp] ../../src/main/webapp/js/jscolor/jscolor.js:434:3: WARNING - [JSC_SUSPICIOUS_LEFT_OPERAND_OF_LOGICAL_OPERATOR] Left operand of || operator is always falsy.
   [jscomp]   434|          h<0 && (h=0) || h>6 && (h=6);
   [jscomp]                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] 
   [jscomp] ../../src/main/webapp/js/jscolor/jscolor.js:435:3: WARNING - [JSC_SUSPICIOUS_LEFT_OPERAND_OF_LOGICAL_OPERATOR] Left operand of || operator is always falsy.
   [jscomp]   435|          s<0 && (s=0) || s>1 && (s=1);
   [jscomp]                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] 
   [jscomp] ../../src/main/webapp/js/jscolor/jscolor.js:436:3: WARNING - [JSC_SUSPICIOUS_LEFT_OPERAND_OF_LOGICAL_OPERATOR] Left operand of || operator is always falsy.
   [jscomp]   436|          v<0 && (v=0) || v>1 && (v=1);
   [jscomp]                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] 
   [jscomp] ../../src/main/webapp/js/jscolor/jscolor.js:447:3: WARNING - [JSC_SUSPICIOUS_LEFT_OPERAND_OF_LOGICAL_OPERATOR] Left operand of || operator is always falsy.
   [jscomp]   447|          r<0 && (r=0) || r>1 && (r=1);
   [jscomp]                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] 
   [jscomp] ../../src/main/webapp/js/jscolor/jscolor.js:448:3: WARNING - [JSC_SUSPICIOUS_LEFT_OPERAND_OF_LOGICAL_OPERATOR] Left operand of || operator is always falsy.
   [jscomp]   448|          g<0 && (g=0) || g>1 && (g=1);
   [jscomp]                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] 
   [jscomp] ../../src/main/webapp/js/jscolor/jscolor.js:449:3: WARNING - [JSC_SUSPICIOUS_LEFT_OPERAND_OF_LOGICAL_OPERATOR] Left operand of || operator is always falsy.
   [jscomp]   449|          b<0 && (b=0) || b>1 && (b=1);
   [jscomp]                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] 
   [jscomp] 0 error(s), 6 warning(s)
   [jscomp] Compiling 1 file(s) with 112 extern(s)
   [jscomp] 0 error(s), 0 warning(s)
   [jscomp] Compiling 17 file(s) with 112 extern(s)
   [jscomp] ../../src/main/webapp/js/diagramly/Editor.js:6546:2: WARNING - [JSC_UNREACHABLE_CODE] unreachable code
   [jscomp]   6546|         {
   [jscomp]                 ^
   [jscomp]   6547|             var svgDoc = result.ownerDocument;
   [jscomp]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] ...
   [jscomp]   6553|             result.getElementsByTagName('defs')[0].appendChild(style);
   [jscomp]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp]   6554|         }
   [jscomp]         ^^^
   [jscomp] 
   [jscomp] 0 error(s), 1 warning(s)
   [jscomp] Compiling 1 file(s) with 112 extern(s)
   [jscomp] 0 error(s), 0 warning(s)
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/src/main/webapp/js/extensions.min.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp0.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp0.min.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp1.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp2.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp2.min.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp3.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp1.xml
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp2.xml
   [jscomp] Compiling 27 file(s) with 112 extern(s)
   [jscomp] ../../src/main/webapp/js/diagramly/Editor.js:6546:2: WARNING - [JSC_UNREACHABLE_CODE] unreachable code
   [jscomp]   6546|         {
   [jscomp]                 ^
   [jscomp]   6547|             var svgDoc = result.ownerDocument;
   [jscomp]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] ...
   [jscomp]   6553|             result.getElementsByTagName('defs')[0].appendChild(style);
   [jscomp]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp]   6554|         }
   [jscomp]         ^^^
   [jscomp] 
   [jscomp] 0 error(s), 1 warning(s)
   [jscomp] Compiling 6 file(s) with 112 extern(s)
   [jscomp] ../../src/main/webapp/js/diagramly/vsdx/importer.js:682:24: WARNING - [JSC_USELESS_CODE] Suspicious code. This code lacks side-effects. Is there a bug?
   [jscomp]   682|                         if (layer.Lock == 1)
   [jscomp]                                ^^^^^^^^^^^^^^^^^^^^
   [jscomp]   683|                         {
   [jscomp]        ^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp]   684|                             //layerCell.setStyle("locked=1;");
   [jscomp]        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp]   685|                         }
   [jscomp]        ^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] 
   [jscomp] ../../src/main/webapp/js/diagramly/vsdx/importer.js:1233:7: WARNING - [JSC_USELESS_CODE] Suspicious code. This code lacks side-effects. Is there a bug?
   [jscomp]   1233|                             if (rows[i] instanceof com.mxgraph.io.vsdx.geometry.NURBSTo)
   [jscomp]                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp]   1234|                             {
   [jscomp]         ^^^^^^^^
   [jscomp] ...
   [jscomp]   1236|                                 //var str = rows[i].handle({}, edgeShape);
   [jscomp]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp]   1237|                             }
   [jscomp]         ^^^^^^^^
   [jscomp] 
   [jscomp] 0 error(s), 2 warning(s)
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/src/main/webapp/js/orgchart.min.js
   [jscomp] Compiling 1 file(s) with 112 extern(s)
   [jscomp] 0 error(s), 0 warning(s)
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp3.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp1.js
   [jscomp] Compiling 51 file(s) with 112 extern(s)
   [jscomp] ../../src/main/webapp/js/diagramly/Editor.js:6546:2: WARNING - [JSC_UNREACHABLE_CODE] unreachable code
   [jscomp]   6546|         {
   [jscomp]                 ^
   [jscomp]   6547|             var svgDoc = result.ownerDocument;
   [jscomp]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp] ...
   [jscomp]   6553|             result.getElementsByTagName('defs')[0].appendChild(style);
   [jscomp]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [jscomp]   6554|         }
   [jscomp]         ^^^
   [jscomp] 
   [jscomp] 0 error(s), 1 warning(s)
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/Graph-Stylesheet.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/Graph-Resources.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/grapheditor.min.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/sidebar.min.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/client.min.js
   [delete] Deleting: /var/tmp/pamac-build-jalf/drawio-desktop/src/drawio-desktop-21.4.0/drawio/etc/build/.tmp1.js

BUILD SUCCESSFUL
Total time: 18 seconds
/var/tmp/pamac-build-jalf/drawio-desktop/PKGBUILD: línea 46: yarn: orden no encontrada
==> ERROR: Se produjo un fallo en build().
    Cancelando...

kb8doa commented on 2023-06-16 15:21 (UTC)

yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... error An unexpected error occurred: "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz: ". info If you think this is a bug, please open a bug report with the information provided in "/var/tmp/pamac-build-ljenkins/drawio-desktop/src/drawio-desktop-21.4.0/yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. ==> ERROR: A failure occurred in build(). Aborting...

dvalter commented on 2022-12-30 22:10 (UTC)

@SR-G I've messed up dependencies, the way it would have accepted electron22+ but it would work only with 21. Fixed in -2 revision