Matrix chat client element-desktop: help needed for further availability in openSUSE
Hi, element-desktop in an electron application. Building javascript applications in a defined and offline build environment is a nightmare as not only package managers like yarn or npm but also the install scripts of some packages as well as the build scripts itself try to download stuff from the internet. Therefore the element-web and element-desktop (which depends on element-web) were "built" locally and the resulting files were packaged. Of course this is no ideal solution which is why there is currently a delete request pending for that package. It is possible to bundle the yarn dependencies and workaround some other issues, but my knowledge of tools like electron-builder is limited. I managed to bundle the dependencies of element-web and get it actually building inside OBS, but it seems to be harder to do the same for element-desktop as it is using electron-builder which behaves as if it was deliberately written to make the life of a packager miserable. For some reason it tries to download a prebuilt electron zip from github during build, and I wasn't able to fix this so far. https://build.opensuse.org/package/live_build_log/home:dheidler:branches:dev... My current state of work can be found in [1] and any help with getting this fixed would be appreciated. Regards, Dominik [1] https://build.opensuse.org/package/show/home:dheidler:branches:devel:languag...
participants (4)
-
Andrei Dziahel
-
Bruno Pitrus
-
Dominik Heidler
-
Konstantin Voinov