Package Details: drawio-desktop 12.6.5-1

Git Clone URL: (read-only, click to copy)
Package Base: drawio-desktop
Description: Diagram drawing application built on web technology
Upstream URL:
Licenses: Apache
Submitter: kitsunyan
Maintainer: dvalter
Last Packager: dvalter
Votes: 20
Popularity: 0.77
First Submitted: 2017-12-11 20:40
Last Updated: 2020-02-08 23:08

Latest Comments

1 2 3 Next › Last »

dvalter commented on 2020-01-15 14:40

@zack6849 valid point, I should not use releases, considered unstable by drawio author.

larsrh commented on 2020-01-15 13:53

@dvalter Thanks!

zack6849 commented on 2020-01-15 13:27

Any thoughts on this, @dvalter?


dvalter commented on 2020-01-14 09:45

@larsrh, thank you for pointing out, now it's fixed

larsrh commented on 2020-01-14 08:54

Please remove the gconf dependency, it's unneeded (see also

dvalter commented on 2020-01-02 18:01

@danhyal I disagree because packaging (on top of system-wide Electron) is fairly fast and simple, and usage of distro Electron instead of bundled seems fairly reasonable in GNU/Linux.

danhyal commented on 2020-01-01 21:07

should delete this package since drawio-desktop-bin is a better solution.

dvalter commented on 2019-12-26 19:08

@BrLi pretty much it is. Java's not used in drawio-desktop, it's rather a tool to deploy drawio as web application.

I've failed to fully understand ant targets the last time, so "javac" was a bit too much. src/main/webapp is used as a target directory, and it's affected by "merge" and "app" targets, so calling 'ant app' should be enough.

BrLi commented on 2019-12-24 18:35

@dvalter can you explain more on how drawio desktop works with the java files?

IMO, the .war is very likely the same as drawio/webapp/

dvalter commented on 2019-12-13 15:34

I think using sources rather than prebuilt .war is more correct for a sorce-based packaging. The following patch enables to build drawio from source tarball with only one additional make dependency: ant

diff --git a/PKGBUILD b/PKGBUILD
index 8a1f1d2..b3996cf 100644
@@ -1,41 +1,36 @@
 # Maintainer: Marko Korhonen <>

 pkgdesc='Diagram drawing application built on web technology'
 depends=(electron gconf libnotify)
+makedepends=(npm ant)

-prepare() {
-  rm -rf "$srcdir/drawio-$pkgver"
-  mkdir "$srcdir/drawio-$pkgver"
-  cd "$srcdir/drawio-$pkgver"
+build() {
+  cd "$srcdir/drawio-$pkgver"/etc/build
+  ant javac
+  cd "$srcdir/drawio-$pkgver"/src/main/webapp

-  bsdtar -xf "../drawio-desktop-$" -C .
   rm -rf "META-INF" "WEB-INF"

   # disable updater
   sed -e '/electron-updater/d' -i 'package.json'
   local updater='const autoUpdater = { on: () => {}, setFeedURL: () => {}, checkForUpdates: () => {} }'
   sed -e 's/.*require("electron-updater").*/'"$updater"'/' -e '/checkForUpdates,/d' -i 'electron.js'
-build() {
-  cd "$srcdir/drawio-$pkgver"

   npm install --cache ../npm-cache --only=production
   rm -f 'package-lock.json'

 package() {
-  cd "$srcdir/drawio-$pkgver"
+  cd "$srcdir/drawio-$pkgver"/src/main/webapp

   mkdir -p "$pkgdir/usr/lib"
   cp -rp . "$pkgdir/usr/lib/"