summaryrefslogtreecommitdiff
path: root/source/l
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-11-25 02:29:14 +0000
committerEric Hameleers <alien@slackware.com>2020-11-25 08:59:55 +0100
commitd4f3249a812a440339f94607fa9b69fc981a6f4b (patch)
tree0982d5a6ec3c464d126c2c1a17b473ddfd4daee1 /source/l
parent5657f11afd4c70e059692951a8ff745f84f7e6bd (diff)
downloadcurrent-d4f3249a812a440339f94607fa9b69fc981a6f4b.tar.gz
Wed Nov 25 02:29:14 UTC 202020201125022914
a/kernel-firmware-20201124_b362fd4-noarch-1.txz: Upgraded. a/kernel-generic-5.4.80-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.80-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.80-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.80-x86-1.txz: Upgraded. k/kernel-source-5.4.80-noarch-1.txz: Upgraded. l/djvulibre-3.5.28-x86_64-1.txz: Upgraded. l/imagemagick-7.0.10_43-x86_64-1.txz: Upgraded. l/pulseaudio-14.0-x86_64-1.txz: Upgraded. n/nghttp2-1.42.0-x86_64-1.txz: Upgraded. x/mesa-20.2.3-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. testing/packages/vtown/input-methods/ibus-1.5.23-x86_64-1_vtown_2.txz: Rebuilt. Install ibus-autostart-plasma.desktop. Thanks to Heinz Wiesinger. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l')
-rwxr-xr-xsource/l/djvulibre/djvulibre.SlackBuild33
-rw-r--r--source/l/djvulibre/djvulibre.info8
-rw-r--r--source/l/djvulibre/doinst.sh4
-rwxr-xr-xsource/l/pulseaudio/pulseaudio.SlackBuild9
4 files changed, 16 insertions, 38 deletions
diff --git a/source/l/djvulibre/djvulibre.SlackBuild b/source/l/djvulibre/djvulibre.SlackBuild
index 4bcaa448..fcab81ad 100755
--- a/source/l/djvulibre/djvulibre.SlackBuild
+++ b/source/l/djvulibre/djvulibre.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 2008 Robby Workman, Northport, Alabama, USA
-# Copyright 2009, 2010, 2011, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2010, 2011, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=djvulibre
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+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
@@ -66,8 +66,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP || exit 1
rm -rf $PKGNAM-$VERSION || rm -rf $PKGNAM-$(echo $VERSION | rev | cut -f 2- -d . | rev)
-tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || cd $PKGNAM-$(echo $VERSION | rev | cut -f 2- -d . | rev) || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -75,6 +76,14 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -94,22 +103,8 @@ make install DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-# This plugin *should* work with Mozilla-based browsers
-if [ -d $PKG/usr/lib${LIBDIRSUFFIX}/netscape ]; then
- mv $PKG/usr/lib${LIBDIRSUFFIX}/{netscape,mozilla}
-fi
-
mkdir -p $PKG/usr/share/mime/packages
-cp $PKG/usr/share/djvu/osi/desktop/djvulibre-mime.xml \
- $PKG/usr/share/mime/packages
-
-if [ -x $PKG/usr/bin/djview3 ]; then
- mkdir -p $PKG/usr/share/{applications,pixmaps}
- cp $PKG/usr/share/djvu/djview3/desktop/*.desktop \
- $PKG/usr/share/applications
- cp $PKG/usr/share/djvu/djview3/desktop/hi32-djview3.png \
- $PKG/usr/share/pixmaps/djvulibre-djview3.png
-fi
+cp desktopfiles/djvulibre-mime.xml $PKG/usr/share/mime/packages
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
diff --git a/source/l/djvulibre/djvulibre.info b/source/l/djvulibre/djvulibre.info
deleted file mode 100644
index fe3a1f25..00000000
--- a/source/l/djvulibre/djvulibre.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="djvulibre"
-VERSION="3.5.20"
-HOMEPAGE="http://djvu.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/djvu/djvulibre-3.5.20-5.tar.gz"
-MD5SUM="33cf30382c0408ac29391d7bebf781b0"
-MAINTAINER="Robby Workman"
-EMAIL="rw@rlworkman.net"
-APPROVED=""
diff --git a/source/l/djvulibre/doinst.sh b/source/l/djvulibre/doinst.sh
index de571c45..aab1b9e3 100644
--- a/source/l/djvulibre/doinst.sh
+++ b/source/l/djvulibre/doinst.sh
@@ -1,8 +1,4 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
-fi
-
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1
fi
diff --git a/source/l/pulseaudio/pulseaudio.SlackBuild b/source/l/pulseaudio/pulseaudio.SlackBuild
index cf5a3366..27a9d13b 100755
--- a/source/l/pulseaudio/pulseaudio.SlackBuild
+++ b/source/l/pulseaudio/pulseaudio.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for pulseaudio
# Copyright 2015 Christoph Willing Brisbane, Australia
-# Copyright 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=pulseaudio
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -93,11 +93,6 @@ echo "X-MATE-Autostart-Phase=Initialization" >> src/daemon/pulseaudio.desktop.in
# If autospawn isn't working, start-pulseaudio-x11 should start it manually:
zcat $CWD/pulseaudio-autostart.patch.gz | patch -p1 --verbose || exit 1
-# Disable "flat volumes" to work more like ALSA's mixer. POLA.
-# Have a google for "flat volumes" for more rationale on us not
-# using the upstream default here.
-sed -i 's/; flat-volumes = yes/flat-volumes = no/g' ./src/daemon/daemon.conf.in
-
# Configure, build, and install:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"