diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2020-09-28 07:30:17 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-03 09:01:41 +0700 |
commit | bde4c2f2336c475ab7f5e4364814e7218214961b (patch) | |
tree | 671233c2b561a62fbbb2842889cf985175e30d6d | |
parent | cc1ce3fb26897125e4a847d9f919f6798bece962 (diff) | |
download | slackbuilds-bde4c2f2336c475ab7f5e4364814e7218214961b.tar.gz |
network/Signal-Desktop: Removed.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/Signal-Desktop/README | 13 | ||||
-rw-r--r-- | network/Signal-Desktop/Signal-Desktop.SlackBuild | 84 | ||||
-rw-r--r-- | network/Signal-Desktop/Signal-Desktop.desktop | 10 | ||||
-rw-r--r-- | network/Signal-Desktop/Signal-Desktop.info | 10 | ||||
-rw-r--r-- | network/Signal-Desktop/doinst.sh | 9 | ||||
-rw-r--r-- | network/Signal-Desktop/expirejs.patch | 17 | ||||
-rw-r--r-- | network/Signal-Desktop/slack-desc | 19 |
7 files changed, 0 insertions, 162 deletions
diff --git a/network/Signal-Desktop/README b/network/Signal-Desktop/README deleted file mode 100644 index 738d21f711..0000000000 --- a/network/Signal-Desktop/README +++ /dev/null @@ -1,13 +0,0 @@ -Signal Desktop is a chrome packaged app that links with your -Signal Android or Signal iOS app. - -Signal is an encrypted instant messaging and voice calling -application for Android and iOS. It uses the Internet to -send one-to-one and group messages, which can include images -and video messages, and make one-to-one voice calls. - -Please be sure to run the SlackBuild with a real root shell -using 'su -l'. If the build fails with an access error, remove -the npm cache: - - rm -rf ~/.npm/ diff --git a/network/Signal-Desktop/Signal-Desktop.SlackBuild b/network/Signal-Desktop/Signal-Desktop.SlackBuild deleted file mode 100644 index 5682b12be7..0000000000 --- a/network/Signal-Desktop/Signal-Desktop.SlackBuild +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh - -# Slackware build script for Signal-Desktop - -# Copyright 2017 Rodrigo Gimenez <estrod[at]zoho[dot]com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=Signal-Desktop -VERSION=${VERSION:-0.42.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $TMP/$PRGNAM-$VERSION -chown -R root:root . - -patch -Np1 < $CWD/expirejs.patch -npm install -node_modules/grunt-cli/bin/grunt - -cd dist - -install -Ddm755 "$PKG/opt/$PRGNAM" -cp -r * "$PKG/opt/$PRGNAM" - -install -Ddm755 "$PKG/usr/bin" -echo -e "#!/bin/bash\n/usr/bin/nw /opt/$PRGNAM" > "$PKG/usr/bin/signal" -chmod +x "$PKG/usr/bin/signal" - -install -Ddm755 "$PKG/usr/share/applications" -cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -for icon_size in 16 32 48 128 250 256; do - icon_dir="$PKG/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps" - install -d "$icon_dir" - install -m644 "../images/icon_${icon_size}.png" "$icon_dir/$PRGNAM.png" -done - -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/Signal-Desktop/Signal-Desktop.desktop b/network/Signal-Desktop/Signal-Desktop.desktop deleted file mode 100644 index 5274855218..0000000000 --- a/network/Signal-Desktop/Signal-Desktop.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=Signal Desktop -Comment=Signal Private Messenger for the Desktop -Exec=/usr/bin/signal -StartupWMClass=Signal-Desktop -Icon=Signal-Desktop -Terminal=false -Type=Application -Categories=Network; diff --git a/network/Signal-Desktop/Signal-Desktop.info b/network/Signal-Desktop/Signal-Desktop.info deleted file mode 100644 index d0366d1b40..0000000000 --- a/network/Signal-Desktop/Signal-Desktop.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="Signal-Desktop" -VERSION="0.42.2" -HOMEPAGE="https://github.com/WhisperSystems/Signal-Desktop" -DOWNLOAD="https://github.com/WhisperSystems/Signal-Desktop/archive/v0.42.2/Signal-Desktop-0.42.2.tar.gz" -MD5SUM="97a093a38f7b8d837e40fbc0e84e3585" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="nodejs nwjs rubygem-sass" -MAINTAINER="Rodrigo Gimenez" -EMAIL="estrod[at]zoho[dot]com" diff --git a/network/Signal-Desktop/doinst.sh b/network/Signal-Desktop/doinst.sh deleted file mode 100644 index 65c7e2eeb9..0000000000 --- a/network/Signal-Desktop/doinst.sh +++ /dev/null @@ -1,9 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi diff --git a/network/Signal-Desktop/expirejs.patch b/network/Signal-Desktop/expirejs.patch deleted file mode 100644 index 02f2ffc2dc..0000000000 --- a/network/Signal-Desktop/expirejs.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -bur Signal-Desktop-0.42.2/Gruntfile.js Signal-Desktop-0.42.2-fix/Gruntfile.js ---- Signal-Desktop-0.42.2/Gruntfile.js 2017-03-30 19:12:25.000000000 -0300 -+++ Signal-Desktop-0.42.2-fix/Gruntfile.js 2017-04-01 08:58:49.662938344 -0300 -@@ -127,9 +127,10 @@ - /textsecure-service-staging.whispersystems.org/g, - 'textsecure-service-ca.whispersystems.org'); - } else if (srcpath.match('expire.js')) { -- var gitinfo = grunt.config.get('gitinfo'); -- var commited = gitinfo.local.branch.current.lastCommitTime; -- var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90; -+ //var gitinfo = grunt.config.get('gitinfo'); -+ //var commited = gitinfo.local.branch.current.lastCommitTime; -+ //var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90; -+ var time = NaN; - return content.replace( - /var BUILD_EXPIRATION = 0/, - "var BUILD_EXPIRATION = " + time diff --git a/network/Signal-Desktop/slack-desc b/network/Signal-Desktop/slack-desc deleted file mode 100644 index ee7eca4ab6..0000000000 --- a/network/Signal-Desktop/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -Signal-Desktop: Signal-Desktop (Signal Private Messenger for the Desktop) -Signal-Desktop: -Signal-Desktop: Signal is an encrypted instant messaging and voice calling -Signal-Desktop: application for Android and iOS. It uses the Internet to send -Signal-Desktop: one-to-one and group messages, which can include images and -Signal-Desktop: video messages, and make one-to-one voice calls. -Signal-Desktop: -Signal-Desktop: -Signal-Desktop: -Signal-Desktop: -Signal-Desktop: |