Package Details: mattermost-desktop 4.6.2-1

Git Clone URL: (read-only, click to copy)
Package Base: mattermost-desktop
Description: Mattermost Desktop application for Linux
Upstream URL:
Keywords: chat mattermost messenger networking slack
Licenses: Apache
Submitter: nineinchnick
Maintainer: caleb (wget)
Last Packager: caleb
Votes: 57
Popularity: 0.55
First Submitted: 2016-04-02 09:08
Last Updated: 2021-01-25 17:25

Dependencies (4)

Required by (0)

Sources (3)

Pinned Comments

caleb commented on 2021-05-25 18:03

PSA: Like all the PKGBUILDs that I (co-)maintain, I host prebuilt x86_64s packages for this in my user repository for those who wish to install it using pacman without messing around with building from the AUR.

Latest Comments

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

caleb commented on 2021-05-25 18:07

P.S. It does look like the next release v4.7.0 will use Electron 12.

caleb commented on 2021-05-25 18:03

PSA: Like all the PKGBUILDs that I (co-)maintain, I host prebuilt x86_64s packages for this in my user repository for those who wish to install it using pacman without messing around with building from the AUR.

caleb commented on 2021-05-25 18:02

@conne802 You can see from the links above what packages provide electron7; in this case since the official Arch repos dropped the package you'll need electron7-bin form the AUR. Until the upstream project releases a version that works with a newer Electron version we're kind of stuck with that.

conne802 commented on 2021-05-25 17:41

Unfortunately, I can't do anything with it. I have for selection:

community/electron 12.0.7-1

community/electron11 11.4.6-1

community/electron10 10.4.5-1

community/electron9 9.4.4-1

but not electron7 !

How can I create a working version?

jonathon commented on 2021-03-18 17:27

It might be worth bumping this to the commit [MM-23067] Browser View (technically 4.7.0pre) as it introduces support for Electron 11 (i.e. it works fine with electron from the repo). I've tested locally and it works absolutely fine.

For example:

index 8bac9df..51c1dc7 100644
@@ -6,23 +6,25 @@

 pkgdesc='Mattermost Desktop application for Linux'
 arch=('x86_64' 'i686')
 makedepends=('git' 'jq' 'npm')
 #optdepends=('hunspell: spell checking')
-            '0f18f87764465f1fc5a9fdfb6ef2834af4623c13bc95fce58da6cb0d8d39a75e'
+            '2b42741faf1938d0eb0418b1e6ba9104fe5ed5c4368bdf62908c84089074164d'

 prepare() {
-    cd "desktop-$pkgver"
+    cd "desktop-$_commit"

     # Depending on the architecture, in order to accelerate the build process,
     # removes the compilation of ia32 or x64 build.
@@ -39,7 +41,7 @@ prepare() {
     mv electron-builder-new.json electron-builder.json

     # Prepend to system electron in order to avoid an unneeded download.
-    local electronDist="/usr/lib/electron7"
+    local electronDist="/usr/lib/electron"
     local electronVersion="$(<"$electronDist"/version)"
     jq '{"electronDist": $electronDist, "electronVersion": $electronVersion} + .' \
         --arg electronDist "$electronDist" \
@@ -69,7 +71,7 @@ prepare() {

 package() {
-    cd "desktop-$pkgver"
+    cd "desktop-$_commit"
     npm run package:linux --cache "$srcdir/npm-cache"

     install -d "$pkgdir/usr/lib"
diff --git i/ w/
index 32009a8..46ff187 100644
--- i/
+++ w/
@@ -1,2 +1,2 @@
-exec electron7 /usr/lib/mattermost-desktop/app.asar --disable-dev-mode "$@"
+exec electron /usr/lib/mattermost-desktop/app.asar --disable-dev-mode "$@"

jdsnape commented on 2021-03-15 10:03

I think electron7 has now been removed from the community repo, so this package now fails to install:

makepkg -si
==> Making package: mattermost-desktop 4.6.2-1 (Mon 15 Mar 2021 10:00:47 GMT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: electron7
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> electron7
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

I guess this is the same issue as others have had below?

jonathon commented on 2021-03-09 01:59

Just for info, this will build against electron8 and electron9 which will remove the dep on the EOL electron7. With 8 it seems stable, with 9 it will occasionally crash on certain menu operations but otherwise mostly works. It does not work well with 6 (missing menus, ...).

Archange commented on 2021-01-12 13:32

@obi12341 No, that’s a pikaur issue if this AUR helper is unable to find electron7-bin as filling the dependency on electron7.

@caleb said, some people might still have electron7 from [community] and this would break it for them, and anyone could push an electron7 source package.

So the mattermost-desktop PKGBUILD is technically correct, the issue is AUR helper not able to find packages that provides another one.

obi12341 commented on 2021-01-12 10:53

@caleb you are doing it wrong imho. There is no package electron7 anymore in AUR or [community]. Still specifying a dependency which is not around is breaking the UX to install the package. If the user is using pikaur -S mattermost-desktop (pikaur is widley used, >500 stars on github) it fails and for a lot of people out there it is just pain in the ass to get to know why.

Log: $ pikaur -S mattermost-desktop Reading repository package databases... Reading local package database... Resolving AUR dependencies... :: error: Can't resolve dependencies for AUR package 'mattermost-desktop': :: error: Dependencies missing for mattermost-desktop :: warning: Following package cannot be found in AUR: electron7
:: Try recovering? [e] edit PKGBUILD [s] skip this package [A] abort


caleb commented on 2021-01-08 08:44

@LMBernardo Any AUR helper worth its salt will already handle this. The electron7-bin package provides electron7, which is the proper way of handling this and helpers that use the API are able to discover them. Meanwhile even though there is currently no source build package posted if someone were to push an electron7 package (or some other variant, such as a Git build or fork) this method of specifying dependencies would allow people to use that package as an alternative to provide Electron.

Another reason is because some people may have kept the electron7 package from [community] around or have base systems that are not updated. This arrangement would allow them to use what they have most flexibly.