Package Details: slack-desktop-dark 4.0.2-2

Git Clone URL: https://aur.archlinux.org/slack-desktop-dark.git (read-only)
Package Base: slack-desktop-dark
Description: Slack Desktop (Beta) for Linux, with dark theme patch
Upstream URL: https://slack.com/downloads
Licenses: custom
Conflicts: slack-desktop
Submitter: mushrewm
Maintainer: bisen2
Last Packager: bisen2
Votes: 23
Popularity: 3.348686
First Submitted: 2018-12-18 20:00
Last Updated: 2019-09-11 17:02

Latest Comments

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

bisen2 commented on 2019-08-23 22:02

@Felixoid thanks for the input, I have switched to the latest commit of upstream. Also, code snippets should now be working thanks to upstream css updates.

Felixoid commented on 2019-08-23 15:53

If somebody wants to fix the white snippets, here is a diff to do it

diff --git a/PKGBUILD b/PKGBUILD
index af213f4..3365b7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,12 +17,12 @@ makedepends=('asar')
 optdepends=('gnome-keyring')
 conflicts=('slack-desktop')
 source=("https://downloads.slack-edge.com/linux_releases/${pkgname%-dark}-${pkgver}-amd64.deb"
-        "https://raw.githubusercontent.com/bisen2/slack-raw/master/slack-4"
+        "https://raw.githubusercontent.com/caiceA/slack-raw/3c94b5db/slack-4"
         "darkify_slack.js"
         "${pkgname}.patch")
 noextract=("${pkgname%-dark}-${pkgver}-amd64.deb")
 sha256sums=('6277a6c3d9c1c55813ad4fe1e56702a486ab8ff36ecbef345d1794a3a644ecbc'
-            'ba3e3d593af694c1de039a77d4b3e96fee2b00bd8919667e1e2ba4dc575fc692'
+            '0e77c77d1ab9ed5e37ef6e458907e60f1b165d404bc3df5f9bbb7e10c0867f3a'
             '13fc4ea2c9bfd113e123a7f74375f17c17a7256d7481f9acacb466088b913418'
             'c952eb32dd59beff9fc5374853b04acde4a60ed8c39934fcd0b66829455d594d')

Felixoid commented on 2019-08-23 15:50

@bisen2 Hey. Why do you use your fork of slack-raw instead of https://github.com/caiceA/slack-raw? Is it because of the static master state? If so, it's possible to use sha1 of the commit to having the same result, but from the upstream https://raw.githubusercontent.com/caiceA/slack-raw/3c94b5db/slack-4

BTW, the issue with the white snippet is already solved in the upstream.

Clerius commented on 2019-08-22 09:37

The code snippet is not useful at the moment. It has a white background and highlighting is also in white. I've done a cleanBuild just yesterday.

bisen2 commented on 2019-08-20 17:10

Just fyi I have forked the css repo and am now pulling from my fork. I will still pull changes from caiceA in, but now will know when changes are being made. Hopefully this will be the end of our sha sums troubles.

mcstayinskool commented on 2019-08-19 14:35

Confirmed this morning, works with a cleanBuild.

bisen2 commented on 2019-08-19 02:04

Hey everyone, just pushed an updated pkgbuild with a fix after upstream changed the css url. Thank you @madnight for making the patch and @mhicklen for spreading the word. Sorry it took so long to get the fix out, I was away last week and just got back.

mhicklen commented on 2019-08-15 17:05

If you're broken today, open up a terminal and run:

git clone https://aur.archlinux.org/slack-desktop-dark.git
cd slack-desktop-dark

Then run git apply and paste this in then press Ctrl-D:

diff --git a/PKGBUILD b/PKGBUILD
index e6fb8b0..e058e3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,12 +17,12 @@ makedepends=('asar')
 optdepends=('gnome-keyring')
 conflicts=('slack-desktop')
 source=("https://downloads.slack-edge.com/linux_releases/${pkgname%-dark}-${pkgver}-amd64.deb"
-        "https://raw.githubusercontent.com/caiceA/slack-black-theme/master/slack-dark-mode.css"
+        "https://raw.githubusercontent.com/caiceA/slack-raw/master/slack-4"
         "darkify_slack.js"
         "${pkgname}.patch")
 noextract=("${pkgname%-dark}-${pkgver}-amd64.deb")
 sha256sums=('6277a6c3d9c1c55813ad4fe1e56702a486ab8ff36ecbef345d1794a3a644ecbc'
-            '1fef7eb3d9225b319fb9cc3e983cde532cd434beb7a68492f3c03addd7bc6029'
+            '2261adab3109f7c203b0d72fd9a5d98d60139ceb916f6f2423dc3ac7773075ba'
             '13fc4ea2c9bfd113e123a7f74375f17c17a7256d7481f9acacb466088b913418'
             'c952eb32dd59beff9fc5374853b04acde4a60ed8c39934fcd0b66829455d594d')

@@ -53,8 +53,8 @@ package() {
     # of our function from being commented out
     echo "" >> $file
     head -n $((lineno - 1)) darkify_slack.js >> $file
-   sed -i -e '/\\E/d' -e 's/939393/ffffff/' slack-dark-mode.css # temporary fix for 'Add Reaction' icon
-    cat slack-dark-mode.css >> $file
+   sed -i -e '/\\E/d' -e 's/939393/ffffff/' slack-4 # temporary fix for 'Add Reaction' icon
+    cat slack-4 >> $file
     tail -n +$((lineno + 1)) darkify_slack.js >> $file

     # Repack with the theme change

Then run makepkg -s, let it build, and finally, run sudo pacman -U slack-desktop-dark-4.0.1-4-x86_64.pkg.tar

madnight commented on 2019-08-15 12:15

https://github.com/caiceA/slack-black-theme/issues/100#issuecomment-521620447

bisen2 commented on 2019-08-09 12:57

If you are having issues with the validity checks, remove slack-dark-mode.css before rebuilding to force makepkg to redownload it (or if you are using an AUR helper, use the cleanBuild option). Since the name of the file does not change when changes are made to it, makepkg will keep the old file and check against the new sha sums.