aboutsummaryrefslogtreecommitdiff
path: root/network/quassel
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-25 14:21:00 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-29 10:30:53 -0400
commitf775f101fecb3c00db409733dd974a2d8bf4c43d (patch)
treed09736f028bb64e6fec9996c9a44c6082e3a13cc /network/quassel
parent52e91df688783b79ff8689f8a179613e15f86c71 (diff)
network/quassel: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'network/quassel')
-rw-r--r--network/quassel/README2
-rw-r--r--network/quassel/quassel.SlackBuild51
-rw-r--r--network/quassel/quassel.info8
-rw-r--r--network/quassel/slack-desc2
4 files changed, 25 insertions, 38 deletions
diff --git a/network/quassel/README b/network/quassel/README
index 1d76bcd7e2aa0..7700480c6da49 100644
--- a/network/quassel/README
+++ b/network/quassel/README
@@ -1,3 +1,5 @@
+quassel (A modern, cross-platform, distributed IRC client)
+
Quassel IRC is a modern, cross-platform, distributed IRC client, meaning
that one (or multiple) client(s) can attach to and detach from a central
core - much like the popular combination of screen and a text-based IRC
diff --git a/network/quassel/quassel.SlackBuild b/network/quassel/quassel.SlackBuild
index 9470ab2a026f3..86fa02e9587ec 100644
--- a/network/quassel/quassel.SlackBuild
+++ b/network/quassel/quassel.SlackBuild
@@ -4,30 +4,20 @@
# Written by crocket (crockabiscuit@gmail.com)
# Copyright 2017-2019 Donald Cooley South Haven, IN USA
-# 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.
+# Copyright 2022 B. Watson <urchlay@slackware.uk>
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20220425 bkw: BUILD=2
+# - take over maintenance.
+# - remove useless INSTALL from doc dir.
+# - use .tar.xz download.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=quassel
VERSION=${VERSION:-0.14.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +29,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -71,14 +58,17 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
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 \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# 20220425 bkw: note to self: the -DWITH_WEBKIT=ON is for QtWebKit,
+# part of Slackware's qt5 package. It has nothing to do with webkit2gtk.
mkdir -p build
cd build
@@ -90,7 +80,7 @@ cd build
-DWANT_CORE=ON \
-DWANT_MONO=ON \
-DWANT_QTCLIENT=ON \
- -DUSE_QT4=ON \
+ -DUSE_QT4=OFF \
-DWITH_KDE=ON \
-DWITH_BUNDLED_ICONS=ON \
-DWITH_OXYGEN_ICONS=ON \
@@ -100,16 +90,11 @@ cd build
-DEMBED_DATA=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL README* ChangeLog gpl-2.0.txt gpl-3.0.txt \
+cp -a AUTHORS COPYING README* ChangeLog gpl-2.0.txt gpl-3.0.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/quassel/quassel.info b/network/quassel/quassel.info
index d4eee90551cbd..0367f4e6a8d60 100644
--- a/network/quassel/quassel.info
+++ b/network/quassel/quassel.info
@@ -1,10 +1,10 @@
PRGNAM="quassel"
VERSION="0.14.0"
HOMEPAGE="https://quassel-irc.org/"
-DOWNLOAD="https://quassel-irc.org/pub/quassel-0.14.0.tar.bz2"
-MD5SUM="abc3843021840a00d9d83778a2c1211b"
+DOWNLOAD="https://quassel-irc.org/pub/quassel-0.14.0.tar.xz"
+MD5SUM="92b3e9dc27f5d9692445292e83ee728d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/quassel/slack-desc b/network/quassel/slack-desc
index dbb7dda9c197e..659711f1384f2 100644
--- a/network/quassel/slack-desc
+++ b/network/quassel/slack-desc
@@ -13,7 +13,7 @@ quassel: meaning that one (or multiple) client(s) can attach to and detach
quassel: from a central core - much like the popular combination of screen and
quassel: a text-based IRC client such as WeeChat, but graphical.
quassel:
+quassel: https://quassel-irc.org
quassel:
quassel:
-quassel: https://quassel-irc.org
quassel: