summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-07-29 04:46:21 +0000
committerEric Hameleers <alien@slackware.com>2020-07-29 17:59:53 +0200
commit9faa0e110ecf14ad2a82d6c7fd2c72a78a49ea0d (patch)
tree04b5ad5aa57320f5ba81b3f03f18a3e9f697856f /source
parent3df47c8baadd98f1a0572144353c056b5ea7357f (diff)
downloadcurrent-9faa0e110ecf14ad2a82d6c7fd2c72a78a49ea0d.tar.gz
Wed Jul 29 04:46:21 UTC 202020200729044621
d/git-2.28.0-x86_64-1.txz: Upgraded. e/emacspeak-52.0-x86_64-1.txz: Added. l/espeak-ng-1.50-x86_64-1.txz: Added. l/pcaudiolib-1.1-x86_64-1.txz: Added. l/xxHash-0.8.0-x86_64-1.txz: Upgraded. xap/xaos-4.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rwxr-xr-xsource/e/emacspeak/emacspeak.SlackBuild158
-rw-r--r--source/e/emacspeak/emacspeak.url1
-rwxr-xr-xsource/e/emacspeak/prune-unneeded-files.sh46
-rw-r--r--source/e/emacspeak/slack-desc19
-rwxr-xr-xsource/l/espeak-ng/espeak-ng.SlackBuild124
-rw-r--r--source/l/espeak-ng/espeak-ng.url1
-rw-r--r--source/l/espeak-ng/slack-desc19
-rwxr-xr-xsource/l/pcaudiolib/pcaudiolib.SlackBuild124
-rw-r--r--source/l/pcaudiolib/pcaudiolib.url1
-rw-r--r--source/l/pcaudiolib/slack-desc19
-rwxr-xr-xsource/xap/xaos/xaos.SlackBuild109
-rw-r--r--source/xap/xaos/xaos.desktop10
-rw-r--r--source/xap/xaos/xaos.pngbin14980 -> 0 bytes
13 files changed, 536 insertions, 95 deletions
diff --git a/source/e/emacspeak/emacspeak.SlackBuild b/source/e/emacspeak/emacspeak.SlackBuild
new file mode 100755
index 00000000..ab9644b1
--- /dev/null
+++ b/source/e/emacspeak/emacspeak.SlackBuild
@@ -0,0 +1,158 @@
+#!/bin/sh
+# Copyright 2006, 2008, 2010, 2011, 2020 Patrick J. Volkerding, Sebeka, MN, 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.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PKGNAM=emacspeak
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ 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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+if [ "$TMP" = "" ]; then
+ TMP=/tmp
+fi
+
+PKG=$TMP/package-${PKGNAM}
+rm -rf $PKG
+mkdir -p $PKG/usr/info
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+cd $TMP
+rm -rf ${PKGNAM}-${VERSION}
+tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1
+cd ${PKGNAM}-$VERSION || exit 1
+
+# Make sure ownerships and permissions are sane:
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+
+# Remove dangling symlinks:
+find . -xtype l -exec rm -f {} \;
+
+# Compile the main program against Emacs:
+make config
+make emacspeak
+if [ ! -r info/emacspeak.info ]; then
+ makeinfo -o info/ info/emacspeak.texi
+fi
+
+# Build espeak server if espeak or espeak-ng are installed:
+if [ -e /usr/bin/espeak ]; then
+ make espeak || exit 1
+fi
+
+# Install (there is no longer a "make install" feature...):
+mkdir -p $PKG/usr/share/emacs/site-lisp
+cp -a $TMP/${PKGNAM}-${VERSION} $PKG/usr/share/emacs/site-lisp/emacspeak
+mv $PKG/usr/share/emacs/site-lisp/emacspeak/info/*.info* $PKG/usr/info
+rm -rf $PKG/usr/share/emacs/site-lisp/emacspeak/info
+# Create an emacspeak run script:
+mkdir -p $PKG/usr/bin
+cat << EOF > $PKG/usr/bin/emacspeak
+#!/bin/sh
+# Start emacspeak.
+# Default to using espeak unless DTK_PROGRAM is set.
+#
+:\${DTK_PROGRAM} ? "Using \${DTK_PROGRAM}" : export DTK_PROGRAM="espeak"
+if [ ! -e /usr/bin/espeak -a "\$DTK_PROGRAM" = "espeak" ]; then
+ echo "espeak (or espeak-ng) not installed. Please set a supported speech server like this:"
+ echo " export DTK_PROGRAM=<speech engine>"
+ echo "Then re-run this script."
+fi
+if [ -d \$HOME/.emacs.d/init.el ]; then
+ emacs -q -l /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el -l \$HOME/.emacs.d/init.el \$*
+else
+ emacs -q -l /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el \$*
+fi
+EOF
+chown root:root $PKG/usr/bin/emacspeak
+chmod 755 $PKG/usr/bin/emacspeak
+
+# Strip binaries:
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-debug 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-debug 2> /dev/null
+)
+
+# Compress info files, if any:
+if [ -d $PKG/usr/info ]; then
+ ( cd $PKG/usr/info
+ rm -f dir
+ gzip -9 *
+ )
+fi
+
+# Add a documentation directory:
+mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
+( cd $PKG/usr/doc/${PKGNAM}-$VERSION
+ ln -sf /usr/share/emacs/site-lisp/emacspeak/etc .
+ ln -sf etc/COPYRIGHT .
+ ln -sf etc/NEWS .
+ ln -sf /usr/share/emacs/site-lisp/emacspeak/README.md .
+ ln -sf /usr/share/emacs/site-lisp/emacspeak/blog-archive .
+)
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $TMP/package-${PKGNAM}
+makepkg -l y -c n ../${PKGNAM}-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/e/emacspeak/emacspeak.url b/source/e/emacspeak/emacspeak.url
new file mode 100644
index 00000000..c0195a56
--- /dev/null
+++ b/source/e/emacspeak/emacspeak.url
@@ -0,0 +1 @@
+https://github.com/tvraman/emacspeak
diff --git a/source/e/emacspeak/prune-unneeded-files.sh b/source/e/emacspeak/prune-unneeded-files.sh
new file mode 100755
index 00000000..6acef88d
--- /dev/null
+++ b/source/e/emacspeak/prune-unneeded-files.sh
@@ -0,0 +1,46 @@
+#!/bin/sh
+# Repacks the emacspeak tarball to remove some large/unused files.
+
+PKGNAM=emacspeak
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+
+# Unpack original .tar.bz2:
+rm -rf ${PKGNAM}-${VERSION}
+tar xf ${PKGNAM}-${VERSION}.tar.bz2 || exit 1
+
+# I have no idea what these are useful for. They aren't referenced anywhere
+# else. If .json weren't such a bloated format I might keep them just in case,
+# but let's strip them out for now. If it would be better to keep them (perhaps
+# compressed as .gz or .xz), let me know.
+( cd ${PKGNAM}-${VERSION}/etc && rm -f CompSciFact.json TVRaman.json UnixToolTip.json )
+
+# Get rid of support files used to build .html:
+( cd ${PKGNAM}-${VERSION}/etc
+ for file in *.html ; do
+ for supportfile in $(basename $file .html).* ; do
+ if [ ! "$file" = "$supportfile" ]; then
+ rm -f $supportfile
+ fi
+ done
+ done
+)
+
+# Keep the last 6 NEWS files:
+( cd ${PKGNAM}-${VERSION}/etc
+ mkdir news-tmp
+ mv $(ls -t NEWS* | head -n 6) news-tmp
+ rm -f NEWS*
+ mv news-tmp/* .
+ rmdir news-tmp
+)
+
+# Drop the Makefile in etc/:
+rm -f ${PKGNAM}-${VERSION}/etc/Makefile
+
+# Repack as .tar.lz:
+rm -f ${PKGNAM}-${VERSION}.tar
+tar cf ${PKGNAM}-${VERSION}.tar ${PKGNAM}-${VERSION}
+rm -f ${PKGNAM}-${VERSION}.tar.lz
+plzip -9 ${PKGNAM}-${VERSION}.tar
+touch -r ${PKGNAM}-${VERSION}.tar.bz2 ${PKGNAM}-${VERSION}.tar.lz
+rm -r ${PKGNAM}-${VERSION}
diff --git a/source/e/emacspeak/slack-desc b/source/e/emacspeak/slack-desc
new file mode 100644
index 00000000..8cd00c4d
--- /dev/null
+++ b/source/e/emacspeak/slack-desc
@@ -0,0 +1,19 @@
+# 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 ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+emacspeak: emacspeak (Emacs speech interface)
+emacspeak:
+emacspeak: Emacspeak is a speech interface that allows visually impaired users to
+emacspeak: interact independently and efficiently with the computer. By
+emacspeak: seamlessly blending all aspects of the Internet such as Web-surfing
+emacspeak: and messaging, Emacspeak speech-enables local and remote information
+emacspeak: via a consistent and well-integrated user interface. Emacspeak has
+emacspeak: dramatically changed how the author, T. V. Raman, and hundreds of
+emacspeak: blind and visually impaired users around the world interact with the
+emacspeak: personal computer and the Internet.
+emacspeak:
diff --git a/source/l/espeak-ng/espeak-ng.SlackBuild b/source/l/espeak-ng/espeak-ng.SlackBuild
new file mode 100755
index 00000000..daf1b46f
--- /dev/null
+++ b/source/l/espeak-ng/espeak-ng.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Copyright 2019 Eric Hameleers, Eindhoven, NL
+# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PKGNAM=espeak-ng
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$(uname -m)" in
+ i?86) ARCH=i586 ;;
+ arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) ARCH=$(uname -m) ;;
+ esac
+ export ARCH
+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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+NUMJOBS=${NUMJOBS:-" -j $(expr $(nproc) + 1) "}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-$PKGNAM
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+
+cd $TMP
+rm -rf $PKGNAM-$VERSION
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
+cd $PKGNAM-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+
+# Configure, build, and install:
+if [ ! -r configure ]; then
+ NOCONFIGURE=1 ./autogen.sh
+fi
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PKGNAM-$VERSION \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --disable-static \
+ --build=$ARCH-slackware-linux || exit 1
+make $NUMJOBS || make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# Strip binaries:
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+# Add a documentation directory:
+mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
+cp -a \
+ AUTHORS* CHANGELOG* COPYING* NEWS* README* THANKS* TODO* \
+ $PKG/usr/doc/${PKGNAM}-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/l/espeak-ng/espeak-ng.url b/source/l/espeak-ng/espeak-ng.url
new file mode 100644
index 00000000..abef4240
--- /dev/null
+++ b/source/l/espeak-ng/espeak-ng.url
@@ -0,0 +1 @@
+https://github.com/espeak-ng/espeak-ng
diff --git a/source/l/espeak-ng/slack-desc b/source/l/espeak-ng/slack-desc
new file mode 100644
index 00000000..dcdf6d94
--- /dev/null
+++ b/source/l/espeak-ng/slack-desc
@@ -0,0 +1,19 @@
+# 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------------------------------------------------------|
+espeak-ng: espeak-ng (text-to-speech synthesizer)
+espeak-ng:
+espeak-ng: The eSpeak NG (Next Generation) Text-to-Speech program is an open
+espeak-ng: source speech synthesizer that supports many languages and accents. It
+espeak-ng: is based on the eSpeak engine created by Jonathan Duddington. It uses
+espeak-ng: spectral formant synthesis by default which sounds robotic, but can be
+espeak-ng: configured to use Klatt formant synthesis or MBROLA to give it a more
+espeak-ng: natural sound.
+espeak-ng:
+espeak-ng: Homepage: https://github.com/espeak-ng/espeak-ng
+espeak-ng:
diff --git a/source/l/pcaudiolib/pcaudiolib.SlackBuild b/source/l/pcaudiolib/pcaudiolib.SlackBuild
new file mode 100755
index 00000000..3412d843
--- /dev/null
+++ b/source/l/pcaudiolib/pcaudiolib.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Copyright 2019 Eric Hameleers, Eindhoven, NL
+# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PKGNAM=pcaudiolib
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$(uname -m)" in
+ i?86) ARCH=i586 ;;
+ arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) ARCH=$(uname -m) ;;
+ esac
+ export ARCH
+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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-$PKGNAM
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+
+cd $TMP
+rm -rf $PKGNAM-$VERSION
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
+cd $PKGNAM-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+
+# Configure, build, and install:
+if [ ! -r configure ]; then
+ NOCONFIGURE=1 ./autogen.sh
+fi
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PKGNAM-$VERSION \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --disable-static \
+ --build=$ARCH-slackware-linux || exit 1
+make $NUMJOBS || make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# Strip binaries:
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+# Add a documentation directory:
+mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
+cp -a \
+ AUTHORS* CHANGELOG* COPYING* NEWS* README* THANKS* TODO* \
+ $PKG/usr/doc/${PKGNAM}-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/l/pcaudiolib/pcaudiolib.url b/source/l/pcaudiolib/pcaudiolib.url
new file mode 100644
index 00000000..a54fd42f
--- /dev/null
+++ b/source/l/pcaudiolib/pcaudiolib.url
@@ -0,0 +1 @@
+https://github.com/espeak-ng/pcaudiolib
diff --git a/source/l/pcaudiolib/slack-desc b/source/l/pcaudiolib/slack-desc
new file mode 100644
index 00000000..e8901192
--- /dev/null
+++ b/source/l/pcaudiolib/slack-desc
@@ -0,0 +1,19 @@
+# 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------------------------------------------------------|
+pcaudiolib: pcaudiolib (Portable C Audio Library)
+pcaudiolib:
+pcaudiolib: The Portable C Audio Library provides a C API to different audio
+pcaudiolib: systems, such as ALSA, PulseAudio, and OSS. It is primarily used by
+pcaudiolib: the eSpeak NG text-to-speech synthesizer.
+pcaudiolib:
+pcaudiolib: Homepage: https://github.com/espeak-ng/pcaudiolib
+pcaudiolib:
+pcaudiolib:
+pcaudiolib:
+pcaudiolib:
diff --git a/source/xap/xaos/xaos.SlackBuild b/source/xap/xaos/xaos.SlackBuild
index 7f901ed2..62e1c058 100755
--- a/source/xap/xaos/xaos.SlackBuild
+++ b/source/xap/xaos/xaos.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 2010 B. Watson (yalhcru@gmail.com)
-# Copyright 2010, 2015, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2010, 2015, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,43 +21,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Slackware build script for xaos
-
-# Written by B. Watson (yalhcru@gmail.com)
-
-# A few notes:
-#
-# Package really wants to use its own CFLAGS (even checks for them
-# in the configure script). Let it...
-#
-# SFFE is the user formula evaluator, which allows users to define their
-# own fractals. On x86 platforms, an assembly-language implementation of
-# SFFE is used. On non-x86 platforms, SFFE requires a library called GSL
-# (GNU Scientific Library, available from SBo).
-#
-# xaos is still interesting and useful without SFFE support (most users
-# probably don't know/care about the math, so they'll never use the SFFE
-# stuff anyway), so we'll just disable it on non-x86 platforms by default.
-#
-# If you really want to use it, set USE_GSL=yes in the environment before
-# running this script. There's no need to use GSL on x86 platforms, since
-# the asm code is (or should be) faster, but the option is there if you
-# want to use it anyway.
-#
-# Multilib users also have the option of building on a 32-bit Slackware system
-# (or in a chroot) and the resulting package will run just fine on 64-bit.
-#
-# If the preceding didn't make any sense, here's the bottom line:
-#
-# - Regular Slackware (x86) users can just run this script and ignore the junk
-# above.
-#
-# - Everyone else (Slamd64, Bluewhite64, Slackware64, ???) can just
-# run this script and probably never notice the missing functionality.
-#
-# - If you're not on x86, but you want the formula evaluator, install GSL
-# and then run this script with USE_GSL=yes in the environment.
-
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=xaos
@@ -84,23 +47,12 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+NUMJOBS=${NUMJOBS:-" -j $(expr $(nproc) + 1) "}
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
OUTPUT=${OUTPUT:-/tmp}
-USE_GSL=${USE_GSL:-no}
-
-if [ "$USE_GSL" = "yes" ]; then
- GSL_OPT="yes"
- SFFE_OPT="yes"
-elif [ "$ARCH" = "i486" -o "$ARCH" = "i686" ]; then
- GSL_OPT="no"
- SFFE_OPT="yes"
-else
- GSL_OPT="no"
- SFFE_OPT="no"
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -111,50 +63,37 @@ cd $SRCNAM-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
-./configure \
- --prefix=/usr \
- --docdir=/usr/doc/$PKGNAM-$VERSION \
- --infodir=/usr/info \
- --mandir=/usr/man \
- --with-gsl=$GSL_OPT \
- --with-sffe=$SFFE_OPT \
- --with-pthread=yes \
- --build=$ARCH-slackware-linux
+qmake-qt5
+make $NUMJOBS || exit 1
-make || exit 1
-# binary already stripped, yay!
-make install DESTDIR=$PKG || exit 1
+mkdir -p $PKG/usr/bin
+cp -a bin/xaos $PKG/usr/bin/xaos
+chown root:root $PKG/usr/bin/xaos
+chmod 755 $PKG/usr/bin/xaos
-# Replace bogus manpage:
-zcat $CWD/xaos.6.gz > $PKG/usr/man/man6/xaos.6
+mkdir -p $PKG/usr/share/XaoS
+cp -a catalogs tutorial $PKG/usr/share/XaoS
-gzip -9 $PKG/usr/man/man6/xaos.6
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
+mkdir -p $PKG/usr/share/XaoS/examples
+cp -a examples/README $(find examples -name "*.xpf") $(find examples -name "*.xaf") $PKG/usr/share/XaoS/examples
-mkdir -p $PKG/usr/doc
-mv $PKG/usr/share/XaoS/doc $PKG/usr/doc/xaos-$VERSION
-( cd $PKG/usr/share/XaoS ; ln -sf ../../doc/xaos-$VERSION doc )
+mkdir -p $PKG/usr/share/pixmaps
+cp -a xdg/xaos.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/share/applications
-cat $CWD/xaos.desktop > $PKG/usr/share/applications/xaos.desktop
+cp -a xdg/xaos.desktop $PKG/usr/share/applications
-mkdir -p $PKG/usr/share/pixmaps
-cat $CWD/xaos.png > $PKG/usr/share/pixmaps/xaos.png
+# Replace bogus manpage:
+mkdir -p $PKG/usr/man/man6
+zcat $CWD/xaos.6.gz > $PKG/usr/man/man6/xaos.6
+gzip -9 $PKG/usr/man/man6/xaos.6
-chmod 644 $PKG/usr/doc/xaos-$VERSION/*
-rm -f $PKG/usr/doc/xaos-$VERSION/ChangeLog.old
+mkdir -p $PKG/usr/doc/xaos-$VERSION
cp -a \
- AUTHORS COPYING* INSTALL NEWS README* TODO \
+ COPYING* CREDITS* NEWS* README* \
$PKG/usr/doc/xaos-$VERSION
-
-# If there's a ChangeLog, installing at least part of the recent history
-# is useful, but don't let it get totally out of control:
-if [ -r ChangeLog ]; then
- DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
- cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
- touch -r ChangeLog $DOCSDIR/ChangeLog
-fi
+cp -a doc/XaoS.lsm $PKG/usr/doc/xaos-$VERSION
+cp -a doc/README $PKG/usr/doc/xaos-$VERSION/wiki.url
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/xap/xaos/xaos.desktop b/source/xap/xaos/xaos.desktop
deleted file mode 100644
index 5157bf9d..00000000
--- a/source/xap/xaos/xaos.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=XaoS
-GenericName=XaoS Fractal Explorer
-Type=Application
-Exec=xaos
-Icon=xaos
-Terminal=false
-StartupNotify=false
-Categories=Game;
diff --git a/source/xap/xaos/xaos.png b/source/xap/xaos/xaos.png
deleted file mode 100644
index 9aa39b81..00000000
--- a/source/xap/xaos/xaos.png
+++ /dev/null
Binary files differ