Package Details: deltachat-desktop-git v1.30.0.r0.gbae63334-2

Git Clone URL: https://aur.archlinux.org/deltachat-desktop-git.git (read-only, click to copy)
Package Base: deltachat-desktop-git
Description: A privacy oriented chat application built on e-mail
Upstream URL: https://github.com/deltachat/deltachat-desktop
Licenses: GPL
Submitter: Jikstra
Maintainer: Jikstra
Last Packager: Jikstra
Votes: 10
Popularity: 0.64
First Submitted: 2018-12-17 18:10 (UTC)
Last Updated: 2022-05-30 11:46 (UTC)

Latest Comments

4le34n commented on 2022-04-04 08:04 (UTC)

ln -s "${pkgdir}/opt/DeltaChat/deltachat" "${pkgdir}/usr/bin/deltachat" => ln -s "/opt/DeltaChat/deltachat" "${pkgdir}/usr/bin/deltachat"

4le34n commented on 2022-04-04 08:03 (UTC)

"deltachat-desktop-git::git+ssh://git@github.com/deltachat/deltachat-desktop.git" => "deltachat-desktop-git::git+https://git@github.com/deltachat/deltachat-desktop.git"

voidl commented on 2022-04-01 11:51 (UTC)

Can you update the remote origin to either https or ssh please? The git:// protocol is not supported any more like statet here: https://github.blog/2021-09-01-improving-git-protocol-security-github/

Jikstra commented on 2022-03-29 14:07 (UTC)

@vasya fixed it :) Thanks for pointing it out :)

vasya commented on 2021-03-26 08:10 (UTC) (edited on 2021-03-26 08:11 (UTC) by vasya)

Thanks for the package! I have a few question on the package (that my aur client, RUA, gives me):

In /dev/stdin line 57:
    find "${pkgdir}/opt/DeltaChat/electron_app/node_modules/" -name *.js.map -exec rm {} \;
                                                                    ^------^ SC2061: Quote the parameter to -name so the shell won't interpret it.
                                                                    ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.


In /dev/stdin line 65:
    ln -s "${pkdir}/opt/DeltaChat/deltachat" "${pkgdir}/usr/bin/deltachat"
           ^------^ SC2154: pkdir is referenced but not assigned (did you mean 'pkgdir'?).

In human words, it seems that there's a typo with "pkdir" instead of "pkgdir" and that quotes are needed to avoid shell globbing. Can we please fix it? Thanks!

elovin commented on 2020-06-03 09:05 (UTC)

@tercean you are right, it works with python now, no python2 is required

tercean commented on 2020-06-03 08:17 (UTC)

This needs 'python' in makedepends and the prepare-stage is actually the build-stage. After both modifications it builds fine in a clean chroot.

elovin commented on 2020-04-20 11:47 (UTC) (edited on 2020-04-22 09:15 (UTC) by elovin)

@Jikstra thanks for the update, I just did a rebuild on my laptop and noticed that python2 is also required

Jikstra commented on 2020-04-19 10:45 (UTC)

@elovin we are currently depending on compiling the rust core from source on the git master. Normally we have prebuilds and people don't need to have a rust compiler around, but currently we do as we do quite some changes on the node bindings. To fix this it should be enough to install rustup, i recently did it with "sudo pacman -S rustup", you can also install it from https://rustup.rs/. It's like rust version tool, automatically installing the right rust version that's needed.

tl;dr: If creating the package fails because the command cargo isn't found or the rust compiler can't compile, try installing rustup and give it another try.

elovin commented on 2020-04-18 15:45 (UTC) (edited on 2020-04-18 16:25 (UTC) by elovin)

@Jikstra currently the build fails because the core rust code requires a rust nightly compiler

rustc --explain E0554` tells me:

"Feature attributes are only allowed on the nightly release channel. Stable or beta compilers will not comply"

Installing the rustup package (which replaces rust) was however enough for the build to pass.

Tio commented on 2020-03-15 18:14 (UTC)

Weird as it works now....I am using Pacman. Thanks for teh quick reply and testing! I did nothing....I simply tried again. Who knows why the error....

elovin commented on 2020-03-15 15:03 (UTC)

@Tio npm ist listed in the pkgbuild as a dependency so this should not happen, I tried to reproduce this error by first removing npm and then running makepkg -si but as expected it pulled in npm as a build dependency. I then tried to reproduce your error by running makepkg -si inside a clean archlinux docker container but again as expected it pulled in npm as a build dependency.

What command and/or aur helper did you use ?

Tio commented on 2020-03-13 22:23 (UTC)

Error:

Building deltachat-desktop-git...
==> Making package: deltachat-desktop-git v0.999.1.r83.g4fbb8a79-1 (Fri 13 Mar 2020 11:23:06 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> npm
==> ERROR: Could not resolve all dependencies.

elovin commented on 2020-03-11 13:46 (UTC)

@Jikstra thank you for the fast response. So the .SRCINFO file was the problem, good to know :)

Jikstra commented on 2020-03-11 13:42 (UTC)

@elovin done :)

elovin commented on 2020-03-11 13:22 (UTC)

@Jikstra Can you update the pkgver variable to a newer version ? The pkgbuild works fine but when using yay it constantly wants to rebuild it because the pkgver variable and method mismatch:

'aur/deltachat-desktop-git r1.1.0.r1.g8602c727-1 -> v0.999.1.r83.g4fbb8a79-1'

Jikstra commented on 2020-02-12 17:13 (UTC)

@elovin thanks for reporting, just updated the AUR package, should be fixed now. Electron4 is not needed, we upgraded to electron6 but i forgot to change it in the deltachat-desktop.sh script.

elovin commented on 2020-02-10 15:31 (UTC) (edited on 2020-02-12 16:56 (UTC) by elovin)

I had to install electron4, is the dependency (electron6) incorrect ?

emulti commented on 2020-01-01 16:31 (UTC) (edited on 2020-01-01 16:32 (UTC) by emulti)

deltachat-desktop-git 0.901.0.r12.g12878073-1 crashed on startup for me when attempting to create an account. However the issue was quickly fixed and merged by jikstra on 1/1/2020. This PKGBUILD is actually git master branch, new build deltachat-desktop-git-0.901.0.r61.gb079c2e8-1 and newer should not have this issue (pkgver in the PKGBUILD has not been updated yet but builds fine).

Jikstra commented on 2019-04-14 15:56 (UTC)

Hey @ciadonia, the master branch of deltachat-desktop was broken, should be fixed by now. We are currently using a git repository for one core dependencies and that branch was deleted. Should be fixed by now. Thanks for reporting this issue!

cladonia commented on 2019-04-13 23:45 (UTC) (edited on 2019-04-13 23:52 (UTC) by cladonia)

Hello!

I have a problem that I don't understand. I searched, but there is few informations.

npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated core-js@1.2.7: core-js@<2.6.5 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
npm ERR! code 1
npm ERR! Command failed: git checkout location-streaming
npm ERR! error: le spécificateur de chemin 'location-streaming' ne correspond à aucun fichier connu de git
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/paarthurnax/.npm/_logs/2019-04-13T23_45_19_815Z-debug.log
==> ERREUR : Une erreur s’est produite dans prepare().
    Abandon…
Error making: deltachat-desktop-git

Jikstra commented on 2019-02-22 15:09 (UTC)

@sweisgerber.dev it seems like the prebuilts for deltachat-core failed so it tries to build deltachat-core manually. For this additional dependencies are needed, the ones listed in https://aur.archlinux.org/packages/libdeltachat-core-git/%3E plus maybe ninja. So as a quick fix installing all the failing dependencies manually should make it build, i will try to include them in the pkgbuild. An easy way is maybe to install the libdeltachat-core package and you should have all the missing dependencies.

sweisgerber.dev commented on 2019-02-22 12:56 (UTC)

AUR installation fails with

==> Starting prepare()...
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.

> electron-chromedriver@3.0.0 install /home/weisgerber/.cache/yay/deltachat-desktop-git/src/deltachat-desktop-git/node_modules/electron-chromedriver
> node ./download-chromedriver.js


> deltachat-node@0.40.2 install /home/weisgerber/.cache/yay/deltachat-desktop-git/src/deltachat-desktop-git/node_modules/deltachat-node
> node-gyp-build scripts/rebuild-core.js

Could not find meson
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! deltachat-node@0.40.2 install: `node-gyp-build scripts/rebuild-core.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the deltachat-node@0.40.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/weisgerber/.npm/_logs/2019-02-22T12_54_22_172Z-debug.log
==> ERROR: A failure occurred in prepare().
    Aborting...
Error making: deltachat-desktop-git