Package Details: mattermost-desktop 4.3.2-1

Git Clone URL: https://aur.archlinux.org/mattermost-desktop.git (read-only, click to copy)
Package Base: mattermost-desktop
Description: Mattermost Desktop application for Linux
Upstream URL: https://github.com/mattermost/desktop
Keywords: chat mattermost messenger networking slack
Licenses: Apache
Submitter: nineinchnick
Maintainer: wget
Last Packager: wget
Votes: 48
Popularity: 1.05
First Submitted: 2016-04-02 09:08
Last Updated: 2019-12-02 15:33

Dependencies (4)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

wget commented on 2019-12-02 15:35

Package updated with latest upstream version.

I'm now relying on the system electron package, I removed a few unneeded files from electron.

I prepared the work to rely on system hunspell dictionaries. I hope to upstream that work soon upstream.

@dreieck I corrected the issue and the build process doesn't require an internet connection during packaging anymore. Only the prepare() step does.

wget commented on 2019-10-19 11:30

Package updated with latest upstream version. Cast y̶o̶u̶r̶ ̶v̶o̶t̶e̶s̶ your comments :)

dreieck commented on 2019-10-01 10:24

Needs internet connetion during build(). Please make sure that build() does not need internet, by dealing with all download in the source-array and in prepare().

==> Starting build()...
[ .................] \ fetchMetadata: sill pacote range manifest for esquery@^1.0.1 fetched in 216ms
[...]

chrissnell commented on 2019-09-16 19:51

Has anybody built this succesfully in the last two months? I cannot get it to build on a current system with a fresh git clone of this package repo.

JohnGood commented on 2019-07-03 13:01

Mattermost-desktop stopped working very recently (around a week ago). I cannot figure what caused the issue, downgrading the electron package did not fix it.

It starts but the webpage stay blank and the electron console shows the following error:

index_bundle.js:1084 Uncaught ReferenceError: require is not defined
    at Object.<anonymous> (index_bundle.js:1084)
    at __webpack_require__ (index_bundle.js:20)
    at Object.<anonymous> (index_bundle.js:99)
    at __webpack_require__ (index_bundle.js:20)
    at index_bundle.js:84
    at index_bundle.js:87

index_bundle.js:1084 :

/***/ }),
/* 16 */
/***/ (function(module, exports) {

module.exports = require("url");

/***/ }),

It looks like some node syntax did not get converted correctly.

Edit: Mattermost is calling electron which is now electron5 on ArchLinux. To fix the issue one should simply edit /usr/bin/mattermost-desktop and replace electron by electron4.

/usr/bin/mattermost-desktop :

#!/bin/bash

exec electron4 /usr/lib/mattermost-desktop/app.asar --disable-dev-mode "$@

Which is exactly what the previous comments said, making mine obsolete. :D

mtorromeo commented on 2019-07-03 07:26

Also please use exec electron4 instead of just electron4 in the mattermost-desktop.sh script so that we don't keep a bash process running for nothing.

mtorromeo commented on 2019-07-03 07:22

This should be updated to depend on electron4 and consequently modify /usr/bin/mattermost-desktop to use the electron4 command.

abk commented on 2019-06-20 08:06

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli   '/usr/bin/npm',
1 verbose cli   'run',
1 verbose cli   'package:linux',
1 verbose cli   '--cache',
1 verbose cli   '/var/tmp/pamac-build-meow/mattermost-desktop/src/npm-cache' ]
2 info using npm@6.9.0
3 info using node@v11.15.0
4 verbose run-script [ 'prepackage:linux', 'package:linux', 'postpackage:linux' ]
5 info lifecycle mattermost-desktop@4.2.1~prepackage:linux: mattermost-desktop@4.2.1
6 info lifecycle mattermost-desktop@4.2.1~package:linux: mattermost-desktop@4.2.1
7 verbose lifecycle mattermost-desktop@4.2.1~package:linux: unsafe-perm in lifecycle true
8 verbose lifecycle mattermost-desktop@4.2.1~package:linux: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/tmp/pamac-build-meow/mattermost-desktop/src/desktop-4.2.1/node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
9 verbose lifecycle mattermost-desktop@4.2.1~package:linux: CWD: /var/tmp/pamac-build-meow/mattermost-desktop/src/desktop-4.2.1
10 silly lifecycle mattermost-desktop@4.2.1~package:linux: Args: [ '-c',
10 silly lifecycle   'cross-env NODE_ENV=production npm-run-all check-build-config build && build --linux --x64  --config.extraMetadata.name=mattermost-desktop --publish=never' ]
11 silly lifecycle mattermost-desktop@4.2.1~package:linux: Returned: code: 1  signal: null
12 info lifecycle mattermost-desktop@4.2.1~package:linux: Failed to exec package:linux script
13 verbose stack Error: mattermost-desktop@4.2.1 package:linux: `cross-env NODE_ENV=production npm-run-all check-build-config build && build --linux --x64  --config.extraMetadata.name=mattermost-desktop --publish=never`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:193:13)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:193:13)
13 verbose stack     at maybeClose (internal/child_process.js:999:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:266:5)
14 verbose pkgid mattermost-desktop@4.2.1
15 verbose cwd /var/tmp/pamac-build-meow/mattermost-desktop/src/desktop-4.2.1
16 verbose Linux 5.1.7-1-MANJARO
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "package:linux" "--cache" "/var/tmp/pamac-build-meow/mattermost-desktop/src/npm-cache"
18 verbose node v11.15.0
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error mattermost-desktop@4.2.1 package:linux: `cross-env NODE_ENV=production npm-run-all check-build-config build && build --linux --x64  --config.extraMetadata.name=mattermost-desktop --publish=never`
22 error Exit status 1
23 error Failed at the mattermost-desktop@4.2.1 package:linux script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

wget commented on 2019-05-04 16:07

@ArchangeGabriel Thanks I'll check this out with upstream as well.

Archange commented on 2019-04-30 10:12

Note that electron 5 is in [staging], you should check whether mattermost-desktop works with it (I currently have no mattermost instance, so can’t say).