diff options
author | Matteo Bernardini | 2021-04-17 10:05:00 +0200 |
---|---|---|
committer | Matteo Bernardini | 2021-04-17 10:05:00 +0200 |
commit | 20fb061f1312ac6aefb5663e46229597af90ed81 (patch) | |
tree | eaa49dbb70840d12297c21fc72aef3f86851d836 /accessibility | |
parent | f2c7a6761baaac4e0420472a527021891e4c0fc1 (diff) | |
download | slackbuilds-current-20210417.1.tar.gz |
20210417.1 global branch merge.current-20210417.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/easystroke/easystroke.SlackBuild | 1 | ||||
-rw-r--r-- | accessibility/easystroke/gcc7-build-fix.patch | 40 | ||||
-rw-r--r-- | accessibility/flite/flite.info | 2 | ||||
-rw-r--r-- | accessibility/jpilot/jpilot.SlackBuild | 23 | ||||
-rw-r--r-- | accessibility/jpilot/jpilot.info | 6 | ||||
-rw-r--r-- | accessibility/speech-dispatcher/README | 9 | ||||
-rw-r--r-- | accessibility/speech-dispatcher/doinst.sh | 9 | ||||
-rw-r--r-- | accessibility/speech-dispatcher/slack-desc | 19 | ||||
-rw-r--r-- | accessibility/speech-dispatcher/speech-dispatcher.SlackBuild | 116 | ||||
-rw-r--r-- | accessibility/speech-dispatcher/speech-dispatcher.info | 10 | ||||
-rw-r--r-- | accessibility/xsel/xsel.SlackBuild | 2 |
11 files changed, 57 insertions, 180 deletions
diff --git a/accessibility/easystroke/easystroke.SlackBuild b/accessibility/easystroke/easystroke.SlackBuild index 29b04e812b..3e2f2fedcc 100644 --- a/accessibility/easystroke/easystroke.SlackBuild +++ b/accessibility/easystroke/easystroke.SlackBuild @@ -59,6 +59,7 @@ sed -i 's|-lboost_serialization-mt|-lboost_serialization|' Makefile # Thanks to ARCH Linux patch -p1 < $CWD/lambda.patch +patch -p1 < $CWD/gcc7-build-fix.patch make CXX="g++ $SLKCFLAGS" CC="gcc -std=c99 $SLKCFLAGS" PREFIX=/usr diff --git a/accessibility/easystroke/gcc7-build-fix.patch b/accessibility/easystroke/gcc7-build-fix.patch new file mode 100644 index 0000000000..b66bcb4edf --- /dev/null +++ b/accessibility/easystroke/gcc7-build-fix.patch @@ -0,0 +1,40 @@ +From 9e2c32390c5c253aade3bb703e51841748d2c37e Mon Sep 17 00:00:00 2001 +From: Jonathan Wakely <jwakely@redhat.com> +Date: Sat, 28 Jan 2017 01:26:00 +0000 +Subject: [PATCH] Remove abs(float) function that clashes with std::abs(float) + +Depending on which C++ standard library headers have been included there +might an abs(float) function already declared in the global namespace, +so the definition in this file conflicts with it. This cause a build +failure with GCC 7, which conforms more closely to the C++ standard with +respect to overloads of abs. + +Including <cmath> and adding a using-declaration for std::abs ensures +that the standard std::abs(float) function is available. This solution +should be portable to all compilers. +--- + handler.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/handler.cc b/handler.cc +index 8830ea2..685b1ff 100644 +--- a/handler.cc ++++ b/handler.cc +@@ -23,6 +23,8 @@ + #include <X11/extensions/XTest.h> + #include <X11/XKBlib.h> + #include <X11/Xproto.h> ++#include <cmath> // std::abs(float) ++using std::abs; + + XState *xstate = nullptr; + +@@ -533,8 +535,6 @@ class WaitForPongHandler : public Handler, protected Timeout { + virtual Grabber::State grab_mode() { return parent->grab_mode(); } + }; + +-static inline float abs(float x) { return x > 0 ? x : -x; } +- + class AbstractScrollHandler : public Handler { + bool have_x, have_y; + float last_x, last_y; diff --git a/accessibility/flite/flite.info b/accessibility/flite/flite.info index 4b6c62b261..05d4e52227 100644 --- a/accessibility/flite/flite.info +++ b/accessibility/flite/flite.info @@ -5,6 +5,6 @@ DOWNLOAD="http://festvox.org/flite/packed/flite-2.1/flite-2.1-release.tar.bz2" MD5SUM="915ac91068fc962f4a0e8aa26164cc8a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="texi2html" MAINTAINER="B. Watson" EMAIL="yalhcru@gmail.com" diff --git a/accessibility/jpilot/jpilot.SlackBuild b/accessibility/jpilot/jpilot.SlackBuild index 78eeb3f868..e2dd848145 100644 --- a/accessibility/jpilot/jpilot.SlackBuild +++ b/accessibility/jpilot/jpilot.SlackBuild @@ -25,13 +25,13 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=jpilot -VERSION=${VERSION:-1.8.1} +VERSION=${VERSION:-1.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -60,15 +60,16 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP rm -rf $PRGNAM-$VERSION +cd $TMP +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 \ + \( -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS -std=gnu89" \ CXXFLAGS="$SLKCFLAGS -std=gnu89" \ @@ -84,10 +85,8 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \ make make install-strip DESTDIR=$PKG -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mv $PKG/usr/share/doc $PKG/usr mv $PKG/usr/doc/jpilot $PKG/usr/doc/jpilot-$VERSION diff --git a/accessibility/jpilot/jpilot.info b/accessibility/jpilot/jpilot.info index 4030813d5e..9d14b884f0 100644 --- a/accessibility/jpilot/jpilot.info +++ b/accessibility/jpilot/jpilot.info @@ -1,8 +1,8 @@ PRGNAM="jpilot" -VERSION="1.8.1" +VERSION="1.8.2" HOMEPAGE="http://www.jpilot.org" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/jpilot-1.8.1.tar.gz" -MD5SUM="ac59a5708f37e30d39e85b1fcedd266f" +DOWNLOAD="http://jpilot.org/tarballs/jpilot-1.8.2.tar.gz" +MD5SUM="8b539d8943ac75c7890fc5c071e89adb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/accessibility/speech-dispatcher/README b/accessibility/speech-dispatcher/README deleted file mode 100644 index c0074427a8..0000000000 --- a/accessibility/speech-dispatcher/README +++ /dev/null @@ -1,9 +0,0 @@ -Speech Dispatcher is a device independent layer for speech synthesis -that provides a common easy to use interface for both client -applications (programs that want to speak) and for software -synthesizers (programs actually able to convert text to speech). To -use Speech Dispatcher, you will also need a Software synthesizer, such -as espeak, flite (available on Slackbuilds.org), or festival (not -available on Slackbuilds.org). - -festival-freebsoft-utils is an optional dependency. diff --git a/accessibility/speech-dispatcher/doinst.sh b/accessibility/speech-dispatcher/doinst.sh deleted file mode 100644 index d99dba1aac..0000000000 --- a/accessibility/speech-dispatcher/doinst.sh +++ /dev/null @@ -1,9 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - rm $NEW - fi -} diff --git a/accessibility/speech-dispatcher/slack-desc b/accessibility/speech-dispatcher/slack-desc deleted file mode 100644 index 8f2d065439..0000000000 --- a/accessibility/speech-dispatcher/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------------------------------------------------------| -speech-dispatcher: speech-dispatcher (device independent speech synthesizer) -speech-dispatcher: -speech-dispatcher: Speech Dispatcher is a device independent layer for speech synthesis -speech-dispatcher: that provides a common easy to use interface for both client -speech-dispatcher: applications (programs that want to speak) and for software -speech-dispatcher: synthesizers (programs actually able to convert text to speech). -speech-dispatcher: -speech-dispatcher: Homepage: https://devel.freebsoft.org/speechd/ -speech-dispatcher: -speech-dispatcher: -speech-dispatcher: diff --git a/accessibility/speech-dispatcher/speech-dispatcher.SlackBuild b/accessibility/speech-dispatcher/speech-dispatcher.SlackBuild deleted file mode 100644 index 53ae6c4e76..0000000000 --- a/accessibility/speech-dispatcher/speech-dispatcher.SlackBuild +++ /dev/null @@ -1,116 +0,0 @@ -#!/bin/sh - -# Slackware build script for speech-dispatcher - -# Copyright 2016-2020 Edward W. Koenig, Vancouver, WA <kingbeowulf@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. - -PRGNAM=speech-dispatcher -VERSION=${VERSION:-0.10.1} -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} - -DOC_LIST="ANNOUNCE AUTHORS BUGS COPYING.* FAQ INSTALL NEWS README.* TODO" - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -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 \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -./build.sh - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --infodir=/usr/info \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-shared \ - --disable-static \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -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 - -rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/*.info* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOC_LIST $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 - echo "" >> $PKG/install/doinst.sh - - find etc/$PRGNAM -name '*.conf' -print \ - -exec sh -c "echo 'config {}.new' >> $PKG/install/doinst.sh" \; \ - -exec mv {} {}.new \; - - echo "" >> $PKG/install/doinst.sh -cd - - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/accessibility/speech-dispatcher/speech-dispatcher.info b/accessibility/speech-dispatcher/speech-dispatcher.info deleted file mode 100644 index deaa4708b5..0000000000 --- a/accessibility/speech-dispatcher/speech-dispatcher.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="speech-dispatcher" -VERSION="0.10.1" -HOMEPAGE="https://devel.freebsoft.org/speechd/" -DOWNLOAD="https://github.com/brailcom/speechd/releases/download/0.10.1/speech-dispatcher-0.10.1.tar.gz" -MD5SUM="49bc64d8517762d9c9818f5ef3d3bc42" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="dotconf python3 pyxdg" -MAINTAINER="Edward W. Koenig" -EMAIL="kingbeowulf@gmail.com" diff --git a/accessibility/xsel/xsel.SlackBuild b/accessibility/xsel/xsel.SlackBuild index 583fc8ea29..8aa2d58e55 100644 --- a/accessibility/xsel/xsel.SlackBuild +++ b/accessibility/xsel/xsel.SlackBuild @@ -56,7 +56,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ # anyone else's compiler but the specific version they use. Grr. sed -i 's,-Werror,,g' configure -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -Wno-error=stringop-truncation" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |