network/riot-web: Removed at maintainer's request (mailing list).
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
@ -1,33 +0,0 @@
|
|||
riot-web (Riot.im for web)
|
||||
|
||||
Riot (formerly known as Vector) is a Matrix web client built using the
|
||||
Matrix protocol.
|
||||
|
||||
Riot gathers all your conversations and app integrations (e.g. GitHub,
|
||||
Slack) into one single app.
|
||||
|
||||
Built around group chatrooms, Riot lets you share messages, images,
|
||||
videos and files - interact with your tools and access all your
|
||||
different communities under one roof.
|
||||
|
||||
Another great feature of Riot/Matrix is the federated or decentralised
|
||||
structure. Everyone can set up a Matrix server to serve rooms and
|
||||
users can communicate with other users on other Matrix servers around
|
||||
the World.
|
||||
|
||||
Now with end-to-end encryption using the Olm and Megolm cryptographic
|
||||
ratchets, and ensuring that only explicitly authorized devices can
|
||||
participate in a conversation.
|
||||
|
||||
This is a packaging of the pre-built released version of Riot (on
|
||||
Github).
|
||||
|
||||
Riot-web now is needed to run under a web server(e.g. NGINX). After
|
||||
building, a start script (in /usr/bin) is set to invoke a simple web
|
||||
server (a Python built-in module) listening at port 8000, and then
|
||||
start a web browser to access it at localhost:8000. Feel free to
|
||||
change these settings.
|
||||
|
||||
Type your favourite browser name before running this script, e.g.
|
||||
|
||||
BROWSER=firefox ./riot-web.Slackbuild
|
|
@ -1,12 +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
|
||||
|
||||
# Riot-web should have a real config to work.
|
||||
ln -sf /opt/riot-web/config.sample.json /opt/riot-web/config.json
|
|
@ -1,115 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Slackware build script for riot-web
|
||||
|
||||
# Copyright 2018 David O'Shaughnessy
|
||||
# Copyright 2018-2019 MDrights <psychi2009@gmail.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.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=riot-web
|
||||
PKGNAM=riot
|
||||
VERSION=${VERSION:-1.6.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
# which browser to launch the app. default as Firefox if not defined.
|
||||
BROWSER=${BROWSER:-firefox}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Upstream has binary support for i386 and x86_64.
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
DEBARCH="amd64"
|
||||
elif [ "$ARCH" = "i586" ]; then
|
||||
DEBARCH="i386"
|
||||
else
|
||||
echo "Sorry, the riot-web binary is currently available for i386/x86_64 only."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $PKG
|
||||
tar xzvf $CWD/${PKGNAM}-v${VERSION}.tar.gz
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Move it.
|
||||
mkdir -p $PKG/opt
|
||||
mv ${PKGNAM}-v${VERSION} $PKG/opt/${PRGNAM}
|
||||
|
||||
# Create a script to let the browser to launch the app.
|
||||
mkdir -p $PKG/usr/bin
|
||||
echo -e "#!/bin/sh
|
||||
cd /opt/riot-web && python3 -m http.server 8000 --bind 127.0.0.1 &
|
||||
sleep 5
|
||||
$BROWSER http://localhost:8000" \
|
||||
> $PKG/usr/bin/riot-web
|
||||
|
||||
chmod a+x $PKG/usr/bin/riot-web
|
||||
|
||||
# Distribute its desktop file and its icon pics to icon dirs.
|
||||
mkdir -p $PKG/usr/share/applications/
|
||||
cp $CWD/riot-web.desktop ${PKG}/usr/share/applications/
|
||||
|
||||
for dpi in 128 16 24 256 48 64 96 512; do
|
||||
PNG="$PKG/usr/share/icons/hicolor/${dpi}x${dpi}/apps/"
|
||||
mkdir -p $PNG
|
||||
cp $CWD/riot-web.png.${dpi} ${PNG}/riot-web.png
|
||||
done
|
||||
|
||||
|
||||
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
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
|
@ -1,15 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Riot.im
|
||||
Name[zh_CN]=Riot.im 加密聊天室
|
||||
Name[zh_HK]=Riot.im 加密聊天室
|
||||
Name[zh_TW]=Riot.im 加密聊天室
|
||||
Comment=A feature-rich client for Matrix.org
|
||||
Comment[zh_CN]=一个基于 Matrix.org (邦联化)的端对端加密群聊工具
|
||||
Comment[zh_HK]=一个基于 Matrix.org (邦联化)的端对端加密群聊工具
|
||||
Comment[zh_TW]=一个基于 Matrix.org (邦联化)的端对端加密群聊工具
|
||||
Exec=/usr/bin/riot-web
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=riot-web
|
||||
StartupWMClass=riot
|
||||
Categories=Network;X-Antigfw
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="riot-web"
|
||||
VERSION="1.6.0"
|
||||
HOMEPAGE="https://riot.im/"
|
||||
DOWNLOAD="https://github.com/vector-im/riot-web/releases/download/v1.6.0/riot-v1.6.0.tar.gz"
|
||||
MD5SUM="6261bc00b53d68eea81d3db55952bf8d"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="MDrights"
|
||||
EMAIL="psychi2009@gmail.com"
|
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 673 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 5.5 KiB |
|
@ -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------------------------------------------------------|
|
||||
riot-web: riot-web (Riot for Desktop)
|
||||
riot-web:
|
||||
riot-web: Built around group chatrooms, Riot lets you share messages, images,
|
||||
riot-web: videos and files - interact with your tools and access all your
|
||||
riot-web: different communities under one roof. One single identity and place
|
||||
riot-web: for all your teams: no need to switch accounts, work and chat with
|
||||
riot-web: people from different organisations in public or private rooms:
|
||||
riot-web: from professional projects to school trips, Riot will become the
|
||||
riot-web: center of all your discussions!
|
||||
riot-web:
|
||||
riot-web: This is a repackaging of the pre-built released version of Riot.
|