Package Details: drawio-desktop-bin 20.2.3-1

Git Clone URL: https://aur.archlinux.org/drawio-desktop-bin.git (read-only, click to copy)
Package Base: drawio-desktop-bin
Description: Diagram drawing application built on web technology
Upstream URL: https://github.com/jgraph/drawio-desktop
Licenses: Apache
Conflicts: drawio-desktop
Provides: drawio-desktop
Submitter: languitar
Maintainer: languitar
Last Packager: languitar
Votes: 54
Popularity: 0.62
First Submitted: 2017-08-15 14:57 (UTC)
Last Updated: 2022-08-05 20:37 (UTC)

Pinned Comments

languitar commented on 2020-05-26 08:43 (UTC)

Please don't flag this package out of date if a new drawio release is published. This package reflects the releases of the drawio-desktop repository at https://github.com/jgraph/drawio-desktop/releases. Release there appear less often than for the main repository.

Latest Comments

languitar commented on 2021-09-30 10:24 (UTC)

Seems upstream also only eventually found out that there was a bug on Linux. My limited test of opening the software also didn't reveal that. It's pretty hard to manually check every release here with the update frequency that is currently used upstream and automated checks for GUI software are not exactly easy and in scope of the typical Arch packaging process.

invidian commented on 2021-09-30 09:17 (UTC)

15.3.8 finally fixes the dialogs showing up. Next time, it would be nice to avoid pushing further updates, which are still broken.

languitar commented on 2021-09-29 15:43 (UTC)

Upstream recommended to go back to an older version until things are fixed in the current releases. But it seems with https://github.com/jgraph/drawio-desktop/releases/tag/v15.3.8 things should work again. I will prepare a new release here soon.

archsoft commented on 2021-09-29 10:35 (UTC) (edited on 2021-09-29 10:37 (UTC) by archsoft)

The "Save" and "Open File" dialog does not appear. It is not possible to open or save newly created diagrams.

yaron commented on 2021-09-29 08:30 (UTC)

There are no deb files since 15.1.3, is there a way to install using the zip file?

JoveYu commented on 2021-09-16 04:26 (UTC)

15.2.7 is released

saverio commented on 2021-04-11 11:08 (UTC)

Many thanks for this package, very useful!

Grelek commented on 2021-03-26 16:11 (UTC)

@languitar no worries, thanks for quick fix.

languitar commented on 2021-03-26 14:52 (UTC)

Yikes, worked for me because I didn't clean the build tree :/

Always nice to see if upstream decides on a changed structure without increasing a major version.

invidian commented on 2021-03-26 13:27 (UTC) (edited on 2021-03-26 13:27 (UTC) by invidian)

If someone wants to rebuild the package locally with latest version, the following patch is required:

diff --git PKGBUILD PKGBUILD
index 47b751e..98a0992 100644
--- PKGBUILD
+++ PKGBUILD
@@ -28,8 +28,8 @@ package() {
     cd "${srcdir}"
     cp -R opt "${pkgdir}/opt"
     cp -R usr "${pkgdir}/usr"
-    chmod 4755 "${pkgdir}/opt/draw.io/chrome-sandbox"
+    chmod 4755 "${pkgdir}/opt/drawio/chrome-sandbox"
     mkdir -p "${pkgdir}/usr/bin"
-    ln -sf "/opt/draw.io/drawio" "${pkgdir}/usr/bin/draw.io"
-    ln -sf "/opt/draw.io/drawio" "${pkgdir}/usr/bin/drawio"
+    ln -sf "/opt/drawio/drawio" "${pkgdir}/usr/bin/drawio"
+    ln -sf "/opt/drawio/drawio" "${pkgdir}/usr/bin/drawio"
 }

student975 commented on 2021-03-26 10:15 (UTC)

for drawio-desktop-bin 14.5.1-1: ... ==> Starting package()... chmod: cannot access '/home/user/.cache/yay/drawio-desktop-bin/pkg/drawio-desktop-bin/opt/draw.io/chrome-sandbox': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... error making: drawio-desktop-bin

Grelek commented on 2021-03-26 09:39 (UTC)

Latest update gives me following error:

==> Starting package()...
chmod: cannot access '/home/grelek/.cache/paru/clone/drawio-desktop-bin/pkg/drawio-desktop-bin/opt/draw.io/chrome-sandbox': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
:: Packages failed to build: drawio-desktop-bin-14.5.1-1

languitar commented on 2021-02-25 12:15 (UTC)

Removing published tags is not a very nice thing to do :/

student975 commented on 2021-02-24 21:45 (UTC)

14.4.3 is out, and 14.4.2 is removed (resulting in 404).

jogai commented on 2020-06-13 10:35 (UTC)

@languitar But now it actually is...

languitar commented on 2020-05-26 08:43 (UTC)

Please don't flag this package out of date if a new drawio release is published. This package reflects the releases of the drawio-desktop repository at https://github.com/jgraph/drawio-desktop/releases. Release there appear less often than for the main repository.

languitar commented on 2020-04-13 10:47 (UTC)

@ali.molaei: thanks, I've cleaned the dependencies

ali.molaei commented on 2020-04-13 08:52 (UTC)

Hey, please remove gconf from dependencies, electron does not need it anymore

hendres commented on 2019-09-05 18:48 (UTC) (edited on 2019-09-05 18:49 (UTC) by hendres)

drawio-desktop-bin E: ELF files outside of a valid path ('opt/').
drawio-desktop-bin W: File (opt/draw.io/chrome-sandbox) is setuid or setgid.
drawio-desktop-bin W: Referenced library 'libasound.so.2' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXcursor.so.1' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXi.so.6' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libnssutil3.so' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libnss3.so' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libpango-1.0.so.0' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXss.so.1' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libxcb.so.1' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXtst.so.6' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libcups.so.2' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libsmime3.so' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libffmpeg.so' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXfixes.so.3' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libatk-bridge-2.0.so.0' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libnspr4.so' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libgdk-3.so.0' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libpangocairo-1.0.so.0' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libgdk_pixbuf-2.0.so.0' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXrender.so.1' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libgtk-3.so.0' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXdamage.so.1' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libatspi.so.0' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXext.so.6' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libX11-xcb.so.1' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libX11.so.6' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXrandr.so.2' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libcairo.so.2' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libatk-1.0.so.0' is an uninstalled dependency
drawio-desktop-bin W: Referenced library 'libXcomposite.so.1' is an uninstalled dependency
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.7/site-packages/namcap.py", line 245, in <module>
    process_realpackage(package, active_modules)
  File "/usr/lib/python3.7/site-packages/namcap.py", line 110, in process_realpackage
    errs, warns, infos = Namcap.depends.analyze_depends(pkginfo)
  File "/usr/lib/python3.7/site-packages/Namcap/depends.py", line 130, in analyze_depends
    reason_strings = [Namcap.tags.format_message(reason) for reason in reasons]
  File "/usr/lib/python3.7/site-packages/Namcap/depends.py", line 130, in <listcomp>
    reason_strings = [Namcap.tags.format_message(reason) for reason in reasons]
  File "/usr/lib/python3.7/site-packages/Namcap/tags.py", line 55, in format_message
    return (tags[tag] % data)
KeyError: 'shared-mime-info-needed'

languitar commented on 2019-08-27 08:57 (UTC)

@noraj any chance to revoke the request? Usually I am actively maintaining the packages. But not when I have no PC on holidays ;-)

noraj commented on 2019-08-27 08:49 (UTC)

Version 11.1.4:

# Maintainer: Johannes Wienke <languitar@semipol.de>

pkgname=drawio-desktop-bin
pkgver=11.1.4
pkgrel=1
pkgdesc="Diagram drawing application built on web technology"
arch=('x86_64')
url="https://github.com/jgraph/drawio-desktop"
license=('Apache')
depends=("gconf" "libnotify" "libxtst" "nss" "libxss")
provides=('drawio-desktop')
conflicts=('drawio-desktop')
optdepends=()
makedepends=()
source=("${pkgname}-${pkgver}.deb::https://github.com/jgraph/drawio-desktop/releases/download/v${pkgver}/draw.io-amd64-${pkgver}.deb")
sha256sums=('e463a150ba2706802f137a6b56f8b741a4d702a1fc4aba04c05959c4c457718c')

prepare() {
    cd "${srcdir}"
    /usr/bin/ar p "${pkgname}-${pkgver}.deb" data.tar.xz | bsdtar xf -
}

package() {
    cd "${srcdir}"
    cp -R opt "${pkgdir}/opt"
    cp -R usr "${pkgdir}/usr"
    chmod 4755 "${pkgdir}/opt/draw.io/chrome-sandbox"
    mkdir -p "${pkgdir}/usr/bin"
    ln -sf "/opt/draw.io/draw.io" "${pkgdir}/usr/bin/draw.io"
}

languitar commented on 2019-08-27 08:44 (UTC)

Sorry for the delay in updating. Sometimes you are on holidays...

languitar commented on 2019-03-06 21:05 (UTC)

Again, there is no new release of drawio desktop. Even if upstream released a lot of new online versions, no new desktop version has been published.

languitar commented on 2019-01-27 17:50 (UTC)

@k0r0ng this is the most recent release of drawio-desktop. Even if the drawio library is already at version 10, they haven't released a 10.x desktop version yet.

kitsunyan commented on 2017-12-28 13:08 (UTC)

@languitar packaging electron applications is not easy. Arch Linux probably is the only distro which provides electron as standalone package and most of electron app developers don't rely on it (they bundle electron within their distribution archive). And packaging electron apps against this package seems like a bit hackish process as well (just look at Atom PKGBUILD).

The building guide for drawio already exists and their building system produces deb package so I think they already did what they wanted. I don't sure they will do an Arch-specific build script.

languitar commented on 2017-12-28 12:59 (UTC)

@kitsunyan alright, will do so. Maybe we could request a real packaging script upstream?

kitsunyan commented on 2017-12-28 12:57 (UTC)

@languitar my package is much more "hackish". I don't think guys in draw.io team expected somebody will try to package their app like I did. Your package is more reliable from this point of view so I'd suggested to keep both.

languitar commented on 2017-12-28 12:08 (UTC)

@kitsunyan thanks for the real package ;) I have added the options. I am actually thinking whether to remove this package. Your's even builds fast because no deb archive needs to be unpacked. What do you think?

kitsunyan commented on 2017-12-28 10:23 (UTC)

Can you add "drawio-desktop" to "provides" and "conflicts" please?

languitar commented on 2017-11-26 20:40 (UTC)

There is no 7.7.5 version for drawio desktop on Github.