diff options
Diffstat (limited to 'libraries')
176 files changed, 1387 insertions, 2315 deletions
diff --git a/libraries/DirectFB/DirectFB.SlackBuild b/libraries/DirectFB/DirectFB.SlackBuild index 2d871bdbd3..3c89a09e60 100644 --- a/libraries/DirectFB/DirectFB.SlackBuild +++ b/libraries/DirectFB/DirectFB.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for DirectFB-1.6.2 +# Slackware build script for DirectFB # Copyright 2012 Erik Falor <ewfalor@gmail.com> USA # All rights reserved. @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=DirectFB -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-1.7.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,10 +64,10 @@ 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/DirectFB/DirectFB.info b/libraries/DirectFB/DirectFB.info index ea7aff285e..7de364b99d 100644 --- a/libraries/DirectFB/DirectFB.info +++ b/libraries/DirectFB/DirectFB.info @@ -1,8 +1,8 @@ PRGNAM="DirectFB" -VERSION="1.6.2" +VERSION="1.7.7" HOMEPAGE="http://www.directfb.org/" -DOWNLOAD="http://www.directfb.org/downloads/Core/DirectFB-1.6/DirectFB-1.6.2.tar.gz" -MD5SUM="6bebdbf26f03f7114ae17ab86d4d1d27" +DOWNLOAD="http://www.directfb.org/downloads/Core/DirectFB-1.7/DirectFB-1.7.7.tar.gz" +MD5SUM="152cf1863b1a3a28aa1370e9053440bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/LibRaw/LibRaw.SlackBuild b/libraries/LibRaw/LibRaw.SlackBuild deleted file mode 100644 index b29899686e..0000000000 --- a/libraries/LibRaw/LibRaw.SlackBuild +++ /dev/null @@ -1,133 +0,0 @@ -#!/bin/sh - -# Slackware build script for LibRaw - -# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K. -# 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=LibRaw -VERSION=${VERSION:-0.16.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 \ - LibRaw-$VERSION \ - LibRaw-demosaic-pack-GPL2-$VERSION \ - LibRaw-demosaic-pack-GPL3-$VERSION - -tar xvf $CWD/LibRaw-$VERSION.tar.gz -tar xvf $CWD/LibRaw-demosaic-pack-GPL2-$VERSION.tar.gz -tar xvf $CWD/LibRaw-demosaic-pack-GPL3-$VERSION.tar.gz - -chown -R root:root \ - LibRaw-$VERSION \ - LibRaw-demosaic-pack-GPL2-$VERSION \ - LibRaw-demosaic-pack-GPL3-$VERSION - -find \ - LibRaw-$VERSION \ - LibRaw-demosaic-pack-GPL2-$VERSION \ - LibRaw-demosaic-pack-GPL3-$VERSION \ - \( -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -cd $PRGNAM-$VERSION - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ - --enable-demosaic-pack-gpl2=$TMP/LibRaw-demosaic-pack-GPL2-$VERSION \ - --enable-demosaic-pack-gpl3=$TMP/LibRaw-demosaic-pack-GPL3-$VERSION \ - --disable-examples \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYRIGHT Changelog.txt INSTALL \ - LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf \ - README README.demosaic-packs doc/* \ - $PKG/usr/doc/$PRGNAM-$VERSION -for docfile in COPYRIGHT Changelog LICENSE.txt README; do - cp -a \ - $TMP/LibRaw-demosaic-pack-GPL2-$VERSION/$docfile \ - $PKG/usr/doc/$PRGNAM-$VERSION/demosaic-pack-GPL2-$docfile -done -for docfile in COPYRIGHT Changelog LICENSE.txt README; do - cp -a \ - $TMP/LibRaw-demosaic-pack-GPL3-$VERSION/$docfile \ - $PKG/usr/doc/$PRGNAM-$VERSION/demosaic-pack-GPL3-$docfile -done -find $PKG/usr/doc -type f -exec chmod 0644 {} \; - -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/LibRaw/LibRaw.info b/libraries/LibRaw/LibRaw.info deleted file mode 100644 index a9efdd95d0..0000000000 --- a/libraries/LibRaw/LibRaw.info +++ /dev/null @@ -1,14 +0,0 @@ -PRGNAM="LibRaw" -VERSION="0.16.0" -HOMEPAGE="http://www.libraw.org/" -DOWNLOAD="http://www.libraw.org/data/LibRaw-0.16.0.tar.gz \ - http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-0.16.0.tar.gz \ - http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-0.16.0.tar.gz" -MD5SUM="21f569be043057b754d87e3062e2345a \ - d0059998e5ab29f652b12093f5feff45 \ - b30018c313e10c96521378efc8d492ff" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/libraries/LibRaw/README b/libraries/LibRaw/README deleted file mode 100644 index 449cb37daf..0000000000 --- a/libraries/LibRaw/README +++ /dev/null @@ -1,3 +0,0 @@ -LibRaw is a library for reading RAW files obtained from digital cameras -(CRW/CR2, NEF, RAF, DNG, and others). It is based on the source code of -the dcraw utility. diff --git a/libraries/LibRaw/slack-desc b/libraries/LibRaw/slack-desc deleted file mode 100644 index 28f09f6a5d..0000000000 --- a/libraries/LibRaw/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------------------------------------------------------| -LibRaw: LibRaw (library for decoding raw digital photos) -LibRaw: -LibRaw: LibRaw is a library for reading RAW files obtained from digital -LibRaw: cameras (CRW/CR2, NEF, RAF, DNG, and others). It is based on the -LibRaw: source code of the dcraw utility. -LibRaw: -LibRaw: Homepage: http://www.libraw.org/ -LibRaw: -LibRaw: -LibRaw: -LibRaw: diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild index 4720604deb..bd24ea73e2 100644 --- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild +++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild @@ -54,7 +54,10 @@ find -L . \ sed -i 's|#include <curl/types.h>||' src/osgPlugins/curl/ReaderWriterCURL.cpp -# Our ffmpeg is incompatible ATM +# Fix building with giflib-5.1.1 -- thanks to Arch Linux +# https://projects.archlinux.org/svntogit/community.git/plain/trunk/giflib.patch?h=packages/openscenegraph +patch -p1 < $CWD/giflib.patch + cmake \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS -D__STDC_CONSTANT_MACROS" \ diff --git a/libraries/OpenSceneGraph/giflib.patch b/libraries/OpenSceneGraph/giflib.patch new file mode 100644 index 0000000000..8bb72a8d3b --- /dev/null +++ b/libraries/OpenSceneGraph/giflib.patch @@ -0,0 +1,12 @@ +diff -wbBur OpenSceneGraph-3.2.0/src/osgPlugins/gif/ReaderWriterGIF.cpp OpenSceneGraph-3.2.0.q/src/osgPlugins/gif/ReaderWriterGIF.cpp +--- OpenSceneGraph-3.2.0/src/osgPlugins/gif/ReaderWriterGIF.cpp 2013-06-03 18:04:02.000000000 +0400 ++++ OpenSceneGraph-3.2.0.q/src/osgPlugins/gif/ReaderWriterGIF.cpp 2014-05-29 19:00:40.163985068 +0400 +@@ -561,7 +561,7 @@ + *width_ret = giffile->SWidth; + *height_ret = giffile->SHeight; + *numComponents_ret = 4; +- DGifCloseFile(giffile); ++ DGifCloseFile(giffile, NULL); + return buffer; + } + diff --git a/libraries/QtGStreamer/QtGStreamer.info b/libraries/QtGStreamer/QtGStreamer.info deleted file mode 100644 index 79ad67aa0d..0000000000 --- a/libraries/QtGStreamer/QtGStreamer.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="QtGStreamer" -VERSION="0.10.3" -HOMEPAGE="http://gstreamer.freedesktop.org" -DOWNLOAD="http://gstreamer.freedesktop.org/src/qt-gstreamer/qt-gstreamer-0.10.3.tar.gz" -MD5SUM="a5f73dfa50270a23a0b07af32304e162" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/libraries/QtGStreamer/README b/libraries/QtGStreamer/README deleted file mode 100644 index 71344bab63..0000000000 --- a/libraries/QtGStreamer/README +++ /dev/null @@ -1,3 +0,0 @@ -QtGStreamer provides C++ bindings for GStreamer with a Qt-style API, -plus some helper classes for integrating GStreamer better in -Qt applications. diff --git a/libraries/SDL_Pango/SDL_Pango.SlackBuild b/libraries/SDL_Pango/SDL_Pango.SlackBuild index 093e35fd71..6f320d400b 100644 --- a/libraries/SDL_Pango/SDL_Pango.SlackBuild +++ b/libraries/SDL_Pango/SDL_Pango.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=SDL_Pango VERSION=0.1.2 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,8 +71,9 @@ patch -p1 < $CWD/SDL_Pango-0.1.2-suppress-warning.patch || exit 1 patch -p0 < $CWD/SDL_Pango-0.1.2-API-adds.patch || exit 1 patch -p1 < $CWD/SDL_Pango-0.1.2-matrix_declarations.patch || exit 1 -autoreconf +autoreconf -i libtoolize --copy --force +automake -a CFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/belle-sip/belle-sip.SlackBuild b/libraries/belle-sip/belle-sip.SlackBuild index 8c162b628f..c836986a8c 100644 --- a/libraries/belle-sip/belle-sip.SlackBuild +++ b/libraries/belle-sip/belle-sip.SlackBuild @@ -85,6 +85,9 @@ sed -i \ configure.ac autoreconf -ivf +# Kill the accursed -Werror (fix for -current) +SLKCFLAGS="$SLKCFLAGS -Wno-error" + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ CPPFLAGS="${CPPFLAGS} -I/usr/include/antlr3" \ diff --git a/libraries/cairomm/cairomm.SlackBuild b/libraries/cairomm/cairomm.SlackBuild index e4b0228c47..12805e288a 100644 --- a/libraries/cairomm/cairomm.SlackBuild +++ b/libraries/cairomm/cairomm.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cairomm -VERSION=${VERSION:-1.10.0} +VERSION=${VERSION:-1.11.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/cairomm/cairomm.info b/libraries/cairomm/cairomm.info index e0ebd6286a..538f2fa7d3 100644 --- a/libraries/cairomm/cairomm.info +++ b/libraries/cairomm/cairomm.info @@ -1,8 +1,8 @@ PRGNAM="cairomm" -VERSION="1.10.0" +VERSION="1.11.2" HOMEPAGE="http://cairographics.org/cairomm/" -DOWNLOAD="http://cairographics.org/releases/cairomm-1.10.0.tar.gz" -MD5SUM="9c63fb1c04c8ecd3c5e6473075b8c39f" +DOWNLOAD="http://cairographics.org/releases/cairomm-1.11.2.tar.gz" +MD5SUM="732a3ff5b57401eb5dfeef795a2a0c52" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="glibmm" diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild index 179c2df479..8e93f42813 100644 --- a/libraries/cryptopp/cryptopp.SlackBuild +++ b/libraries/cryptopp/cryptopp.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=cryptopp VERSION=${VERSION:-5.6.2} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -57,11 +57,21 @@ sed -i "s%(PREFIX)/lib%(PREFIX)/lib${LIBDIRSUFFIX}%g" GNUmakefile make dynamic CFLAGS="$SLKCFLAGS" CXXFLAGS="-DNDEBUG $SLKCFLAGS" make install PREFIX=$PKG/usr -ln -s libcryptopp.so $PKG/usr/lib${LIBDIRSUFFIX}/libcryptopp-${VERSION}.so.0 +( cd $PKG/usr/lib${LIBDIRSUFFIX} + mv libcryptopp.so libcryptopp-${VERSION}.so.0 + ln -s libcryptopp-${VERSION}.so.0 libcryptopp.so ) + +# This is empty +rmdir $PKG/usr/bin 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 +# Install a pkgconfig file +mkdir $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig +sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/$PRGNAM.pc \ + > $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/cryptopp/cryptopp.pc b/libraries/cryptopp/cryptopp.pc new file mode 100644 index 0000000000..45d65d071b --- /dev/null +++ b/libraries/cryptopp/cryptopp.pc @@ -0,0 +1,13 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${prefix}/lib@LIBDIRSUFFIX@ +includedir=${prefix}/include/cryptopp + +Name: Crypto++ +Description: A free C++ class library of cryptographic schemes +Version: 5.6.2 +URL: http://www.cryptopp.com +Requires: +Conflicts: +Libs: -L${libdir} -lcryptopp +Cflags: -I${includedir} diff --git a/libraries/eet/eet.SlackBuild b/libraries/eet/eet.SlackBuild index c0ee116bdd..3c0ec8c4e2 100644 --- a/libraries/eet/eet.SlackBuild +++ b/libraries/eet/eet.SlackBuild @@ -23,7 +23,7 @@ PRGNAM=eet VERSION=${VERSION:-1.7.10} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -78,6 +78,10 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ + --enable-cipher \ + --enable-signature \ + --enable-openssl \ + --disable-gnutls \ --disable-static make diff --git a/libraries/eigen3/README b/libraries/eigen3/README deleted file mode 100644 index 151c65ee83..0000000000 --- a/libraries/eigen3/README +++ /dev/null @@ -1,4 +0,0 @@ -Eigen is a C++ template library for linear algebra: matrices, vectors, -numerical solvers, and related algorithms. - -Eigen3 can coexist without problems with Eigen2 included in Slackware. diff --git a/libraries/eigen3/eigen3.SlackBuild b/libraries/eigen3/eigen3.SlackBuild deleted file mode 100644 index 265a4e1f93..0000000000 --- a/libraries/eigen3/eigen3.SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh - -# Copyright 2007, 2008 Robby Workman, Northport, Alabama, USA -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA -# Copyright 2012-2013 Niels Horn, Rio de Janeiro, RJ, Brazil -# 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. -# -# Maintained by David Spencer <baildon.research@googlemail.com> - -PRGNAM=eigen3 -VERSION=${VERSION:-3.2.4} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -TARVERSION=${TARVERSION:-eigen-10219c95fe65} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i486 ;; - arm*) export ARCH=arm ;; - *) export ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf eigen-$TARVERSION -tar xvf $CWD/$VERSION.tar.bz2 || tar xvf $CWD/eigen-$TARVERSION.tar.bz2 -cd eigen-$TARVERSION -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 {} \; - -mkdir -p build -cd build - QTDIR=/usr/lib${LIBDIRSUFFIX}/qt \ - PATH=$QTDIR/bin:$PATH \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - .. - make - make install DESTDIR=$PKG -cd .. - -find $PKG | xargs file | grep -e "executable" -e "shared object" \ - | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING* $PKG/usr/doc/$PRGNAM-$VERSION - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/eigen3/eigen3.info b/libraries/eigen3/eigen3.info deleted file mode 100644 index 9a92984fb0..0000000000 --- a/libraries/eigen3/eigen3.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="eigen3" -VERSION="3.2.4" -HOMEPAGE="http://eigen.tuxfamily.org" -DOWNLOAD="http://bitbucket.org/eigen/eigen/get/3.2.4.tar.bz2" -MD5SUM="4c4b5ed9a388a1e475166d575af25477" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/libraries/eigen3/slack-desc b/libraries/eigen3/slack-desc deleted file mode 100644 index 50e1446adf..0000000000 --- a/libraries/eigen3/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------------------------------------------------------| -eigen3: Eigen3 (c++ math library) -eigen3: -eigen3: Eigen is a C++ template library for linear algebra: matrices, vectors, -eigen3: numerical solvers, and related algorithms. -eigen3: -eigen3: Homepage: http://eigen.tuxfamily.org -eigen3: -eigen3: -eigen3: -eigen3: -eigen3: diff --git a/libraries/evas/evas.SlackBuild b/libraries/evas/evas.SlackBuild index bbd562cccc..19fca5dd9a 100644 --- a/libraries/evas/evas.SlackBuild +++ b/libraries/evas/evas.SlackBuild @@ -68,6 +68,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# disable the gif module as upstream seems to have labeled this as won't fix +# http://lists.enlightenment.fr/enlightenment-bugs/2012/08/4637.html CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ @@ -79,6 +81,7 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ + --disable-image-loader-gif \ --disable-static make diff --git a/libraries/fcgi/fcgi.SlackBuild b/libraries/fcgi/fcgi.SlackBuild index 7be7439aa7..7eaed0e162 100644 --- a/libraries/fcgi/fcgi.SlackBuild +++ b/libraries/fcgi/fcgi.SlackBuild @@ -75,10 +75,9 @@ cat $CWD/fcgi-2.4.0-clientdata-pointer.patch | patch -p1 # Fix image paths in html docs (thanks to Gentoo) cat $CWD/fcgi-2.4.0-html-updates.patch | patch -p1 -libtoolize --copy --force # Create some empty files to make autoreconf happy touch INSTALL NEWS AUTHORS ChangeLog COPYING -autoreconf -vf +autoreconf -vif CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/fltk/fltk-1.1.10_libpng.patch b/libraries/fltk/fltk-1.1.10_libpng.patch new file mode 100644 index 0000000000..1b6d91ed7e --- /dev/null +++ b/libraries/fltk/fltk-1.1.10_libpng.patch @@ -0,0 +1,61 @@ +--- fltk1.1-1.1.10.orig/src/Fl_PNG_Image.cxx ++++ fltk1.1-1.1.10/src/Fl_PNG_Image.cxx +@@ -66,6 +66,8 @@ Fl_PNG_Image::Fl_PNG_Image(const char *p + png_structp pp; // PNG read pointer + png_infop info; // PNG info pointers + png_bytep *rows; // PNG row pointers ++ png_uint_32 width, height; ++ int bit_depth, color_type, num_trans = 0; + + + // Open the PNG file... +@@ -75,7 +77,7 @@ Fl_PNG_Image::Fl_PNG_Image(const char *p + pp = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); + info = png_create_info_struct(pp); + +- if (setjmp(pp->jmpbuf)) ++ if (setjmp(png_jmpbuf(pp))) + { + Fl::warning("PNG file \"%s\" contains errors!\n", png); + return; +@@ -87,27 +89,33 @@ Fl_PNG_Image::Fl_PNG_Image(const char *p + // Get the image dimensions and convert to grayscale or RGB... + png_read_info(pp, info); + +- if (info->color_type == PNG_COLOR_TYPE_PALETTE) ++ png_get_IHDR(pp, info, &width, &height, &bit_depth, &color_type, ++ NULL /* interlace */, NULL /* compress */, NULL /* filter */); ++#ifdef PNG_tRNS_SUPPORTED ++ png_get_tRNS(pp, info, NULL /* trans */, &num_trans, NULL /* values */); ++#endif ++ ++ if (color_type == PNG_COLOR_TYPE_PALETTE) + png_set_expand(pp); + +- if (info->color_type & PNG_COLOR_MASK_COLOR) ++ if (color_type & PNG_COLOR_MASK_COLOR) + channels = 3; + else + channels = 1; + +- if ((info->color_type & PNG_COLOR_MASK_ALPHA) || info->num_trans) ++ if ((color_type & PNG_COLOR_MASK_ALPHA) || num_trans) + channels ++; + +- w((int)(info->width)); +- h((int)(info->height)); ++ w((int)(width)); ++ h((int)(height)); + d(channels); + +- if (info->bit_depth < 8) ++ if (bit_depth < 8) + { + png_set_packing(pp); + png_set_expand(pp); + } +- else if (info->bit_depth == 16) ++ else if (bit_depth == 16) + png_set_strip_16(pp); + + # if defined(HAVE_PNG_GET_VALID) && defined(HAVE_PNG_SET_TRNS_TO_ALPHA) diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild index ba899ee152..3216b7a0bb 100644 --- a/libraries/fltk/fltk.SlackBuild +++ b/libraries/fltk/fltk.SlackBuild @@ -80,6 +80,9 @@ sed -i \ -e '/RANLIB/s:$(libdir)/\(.*LIBNAME)\):$(libdir)/`basename \1`:g' \ src/Makefile || exit +# Fix for libpng16 (-current) snarfed from Debian ;-) +patch -p1 < $CWD/fltk-1.1.10_libpng.patch + # --docdir seems to be ignored CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/gdl/gdl.SlackBuild b/libraries/gdl/gdl.SlackBuild index 7554aa3ec7..3b6422534b 100644 --- a/libraries/gdl/gdl.SlackBuild +++ b/libraries/gdl/gdl.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gdl -VERSION=${VERSION:-3.12.0} +VERSION=${VERSION:-3.16.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,7 +65,7 @@ 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 {} \; diff --git a/libraries/gdl/gdl.info b/libraries/gdl/gdl.info index ee4f5d1d66..1306f644db 100644 --- a/libraries/gdl/gdl.info +++ b/libraries/gdl/gdl.info @@ -1,8 +1,8 @@ PRGNAM="gdl" -VERSION="3.12.0" +VERSION="3.16.0" HOMEPAGE="http://www.gnome.org/" -DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/gdl/3.12/gdl-3.12.0.tar.xz" -MD5SUM="e36701e5f0f2eeac2504375fe46aa478" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gdl/3.16/gdl-3.16.0.tar.xz" +MD5SUM="e4f976256b4e059033b82cf1fc866054" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/glibmm/glibmm.SlackBuild b/libraries/glibmm/glibmm.SlackBuild index a2c56b7602..238588330c 100644 --- a/libraries/glibmm/glibmm.SlackBuild +++ b/libraries/glibmm/glibmm.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=glibmm -VERSION=2.36.2 +VERSION=${VERSION:-2.44.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,7 +65,7 @@ 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 {} \; diff --git a/libraries/glibmm/glibmm.info b/libraries/glibmm/glibmm.info index 4878ebf9b0..0cebf6a38a 100644 --- a/libraries/glibmm/glibmm.info +++ b/libraries/glibmm/glibmm.info @@ -1,8 +1,8 @@ PRGNAM="glibmm" -VERSION="2.36.2" +VERSION="2.44.0" HOMEPAGE="http://www.gtkmm.org/" -DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/glibmm/2.36/glibmm-2.36.2.tar.xz" -MD5SUM="5c96d566c22c209d7b9cbf2344c469e9" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.44/glibmm-2.44.0.tar.xz" +MD5SUM="32ee4150b436d097fe2506d0b0b13a75" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libsigc++" diff --git a/libraries/gssdp/gssdp.SlackBuild b/libraries/gssdp/gssdp.SlackBuild index 742c65db1c..d4e05be1b4 100644 --- a/libraries/gssdp/gssdp.SlackBuild +++ b/libraries/gssdp/gssdp.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gssdp -VERSION=${VERSION:-0.12.2.1} +VERSION=${VERSION:-0.14.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,6 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ --build=$ARCH-slackware-linux make diff --git a/libraries/gssdp/gssdp.info b/libraries/gssdp/gssdp.info index 135cd847a9..488e9e1db8 100644 --- a/libraries/gssdp/gssdp.info +++ b/libraries/gssdp/gssdp.info @@ -1,8 +1,8 @@ PRGNAM="gssdp" -VERSION="0.12.2.1" +VERSION="0.14.11" HOMEPAGE="http://gupnp.org/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gssdp/0.12/gssdp-0.12.2.1.tar.xz" -MD5SUM="8ac3a544ef0dcf8caaf7c249d2a50dc2" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gssdp/0.14/gssdp-0.14.11.tar.xz" +MD5SUM="43907464a6090b1d7e736c6b3b822983" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/gst1-plugins-base/README b/libraries/gst1-plugins-base/README deleted file mode 100644 index b94e4d587d..0000000000 --- a/libraries/gst1-plugins-base/README +++ /dev/null @@ -1,7 +0,0 @@ -This is a well-groomed and well-maintained collection of GStreamer -plug-ins and elements, spanning the range of possible types of -elements one would want to write for GStreamer. - -gst1-plugins-base is for gstreamer1 (GStreamer 1.x). - -orc is an optional (but recommended) dependency. diff --git a/libraries/gst1-plugins-base/gst1-plugins-base.SlackBuild b/libraries/gst1-plugins-base/gst1-plugins-base.SlackBuild deleted file mode 100644 index 3310dcdcf5..0000000000 --- a/libraries/gst1-plugins-base/gst1-plugins-base.SlackBuild +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/sh - -# Slackware build script for gst1-plugins-base - -# Copyright 2013-2015 Robby Workman, Tuscaloosa, Alabama, 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. - -PRGNAM=gst1-plugins-base -VERSION=${VERSION:-1.4.5} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=gst-plugins-base - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.xz -cd $SRCNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --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 - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING* ChangeLog INSTALL NEWS RE* \ - $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/gst1-plugins-base/gst1-plugins-base.info b/libraries/gst1-plugins-base/gst1-plugins-base.info deleted file mode 100644 index 722d0676de..0000000000 --- a/libraries/gst1-plugins-base/gst1-plugins-base.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="gst1-plugins-base" -VERSION="1.4.5" -HOMEPAGE="http://gstreamer.freedesktop.org/" -DOWNLOAD="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.4.5.tar.xz" -MD5SUM="357165af625c0ca353ab47c5d843920e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="gstreamer1" -MAINTAINER="Robby Workman" -EMAIL="rworkman@slackbuilds.org" diff --git a/libraries/gst1-plugins-base/slack-desc b/libraries/gst1-plugins-base/slack-desc deleted file mode 100644 index cfc288a2bf..0000000000 --- a/libraries/gst1-plugins-base/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------------------------------------------------------| -gst1-plugins-base: gst1-plugins-base (base set of GStreamer1 plugins) -gst1-plugins-base: -gst1-plugins-base: GStreamer Base Plug-ins is a well-groomed and well-maintained -gst1-plugins-base: collection of GStreamer plug-ins and elements, spanning the -gst1-plugins-base: range of possible types of elements one would want to write -gst1-plugins-base: for GStreamer. It also contains helper libraries and base -gst1-plugins-base: classes useful for writing elements. A wide range of video -gst1-plugins-base: and audio decoders, encoders, and filters are included. -gst1-plugins-base: -gst1-plugins-base: -gst1-plugins-base: diff --git a/libraries/gst1-plugins-good/README b/libraries/gst1-plugins-good/README deleted file mode 100644 index f73427f25b..0000000000 --- a/libraries/gst1-plugins-good/README +++ /dev/null @@ -1,8 +0,0 @@ -This is a well-groomed and well-maintained collection of GStreamer -plug-ins and elements, spanning the range of possible types of -elements one would want to write for GStreamer. - -gst1-plugins-good is for gstreamer1 (GStreamer 1.x). - -Optional dependencies are libdv, libshout, libvpx, libiec61883, -jack-audio-connection-kit, pulseaudio, and speex. diff --git a/libraries/gst1-plugins-good/gst1-plugins-good.info b/libraries/gst1-plugins-good/gst1-plugins-good.info deleted file mode 100644 index 4128347edd..0000000000 --- a/libraries/gst1-plugins-good/gst1-plugins-good.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="gst1-plugins-good" -VERSION="1.4.5" -HOMEPAGE="http://gstreamer.freedesktop.org/" -DOWNLOAD="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.4.5.tar.xz" -MD5SUM="eaf1a6daf73749bc423feac301d60038" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="gst1-plugins-base" -MAINTAINER="Robby Workman" -EMAIL="rworkman@slackbuilds.org" diff --git a/libraries/gst1-plugins-good/slack-desc b/libraries/gst1-plugins-good/slack-desc deleted file mode 100644 index e8ea5f9726..0000000000 --- a/libraries/gst1-plugins-good/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------------------------------------------------------| -gst1-plugins-good: gst1-plugins-good (good set of GStreamer 1.x plugins) -gst1-plugins-good: -gst1-plugins-good: GStreamer Good Plug-ins is a set of plug-ins that have good -gst1-plugins-good: quality code, correct functionality, and a good license -gst1-plugins-good: (LGPL for the plug-in code, LGPL or LGPL-compatible for the -gst1-plugins-good: supporting library). -gst1-plugins-good: -gst1-plugins-good: -gst1-plugins-good: -gst1-plugins-good: -gst1-plugins-good: diff --git a/libraries/gstreamer1/README b/libraries/gstreamer1/README deleted file mode 100644 index e9cf0059e3..0000000000 --- a/libraries/gstreamer1/README +++ /dev/null @@ -1,8 +0,0 @@ -This is GStreamer, a framework for streaming media. -This builds gstreamer-1.x, which can be installed alongside -the stock gstreamer package included with Slackware. -DO NOT replace the Slackware-provide gstreamer package with -this gstreamer1 package from here! - -You'll probably want gst1-plugins-base, gst1-plugins-good, -and gst1-plugins-ugly for the best user experience. diff --git a/libraries/gstreamer1/gstreamer1.info b/libraries/gstreamer1/gstreamer1.info deleted file mode 100644 index 52119da780..0000000000 --- a/libraries/gstreamer1/gstreamer1.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="gstreamer1" -VERSION="1.4.5" -HOMEPAGE="http://gstreamer.freedesktop.org/" -DOWNLOAD="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.4.5.tar.xz" -MD5SUM="88a9289c64a4950ebb4f544980234289" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="orc" -MAINTAINER="Robby Workman" -EMAIL="rworkman@slackbuilds.org" diff --git a/libraries/gstreamer1/slack-desc b/libraries/gstreamer1/slack-desc deleted file mode 100644 index 0303e82534..0000000000 --- a/libraries/gstreamer1/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------------------------------------------------------| -gstreamer1: GStreamer v1.x (streaming multimedia framework) -gstreamer1: -gstreamer1: GStreamer is a library that allows the construction of graphs of a -gstreamer1: media-handling components, ranging from simple Ogg/Vorbis playback -gstreamer1: to complex audio (mixing) and video (non-linear editing) processing. -gstreamer1: Applications can take advantage of advances in codec and filter -gstreamer1: technology transparently. Developers can add new codecs and filters -gstreamer1: by writing a simple plugin with a clean, generic interface. -gstreamer1: -gstreamer1: GStreamer is released under the LGPL. -gstreamer1: diff --git a/libraries/gstreamermm/gstreamermm.SlackBuild b/libraries/gstreamermm/gstreamermm.SlackBuild index aececa4f0d..1e6a8092f8 100644 --- a/libraries/gstreamermm/gstreamermm.SlackBuild +++ b/libraries/gstreamermm/gstreamermm.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gstreamermm -VERSION=0.10.10.2 +VERSION=${VERSION:-1.4.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/gstreamermm/gstreamermm.info b/libraries/gstreamermm/gstreamermm.info index f6d51599df..473cb5ebc5 100644 --- a/libraries/gstreamermm/gstreamermm.info +++ b/libraries/gstreamermm/gstreamermm.info @@ -1,8 +1,8 @@ PRGNAM="gstreamermm" -VERSION="0.10.10.2" +VERSION="1.4.3" HOMEPAGE="http://www.gnome.org/" -DOWNLOAD="ftp://ftp.gnome.org/pub/GNOME/sources/gstreamermm/0.10/gstreamermm-0.10.10.2.tar.xz" -MD5SUM="2563bde3ffa785eac64c4d443da88360" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/1.4/gstreamermm-1.4.3.tar.xz" +MD5SUM="8f6c4b85083308def933eab1433a1865" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtkmm libxml++" diff --git a/libraries/gtkimageview/disable_Werror_for_gdk_pixbuf.patch b/libraries/gtkimageview/disable_Werror_for_gdk_pixbuf.patch new file mode 100644 index 0000000000..68c8aa0467 --- /dev/null +++ b/libraries/gtkimageview/disable_Werror_for_gdk_pixbuf.patch @@ -0,0 +1,21 @@ +diff -Naur gtkimageview-1.6.4.orig/configure.in gtkimageview-1.6.4/configure.in +--- gtkimageview-1.6.4.orig/configure.in 2009-04-05 22:02:43.000000000 +0200 ++++ gtkimageview-1.6.4/configure.in 2015-09-02 10:43:04.455960995 +0200 +@@ -20,7 +20,7 @@ + # Initialize GNOME environment + GNOME_COMMON_INIT + GNOME_COMPILE_WARNINGS(error) +-DEPRECATED_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" ++DEPRECATED_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" + AC_SUBST(DEPRECATED_FLAGS) + + PKG_CHECK_MODULES(DEP, +@@ -39,7 +39,7 @@ + ###################################################################### + ##### Twiddle CFLAGS ################################################# + ###################################################################### +-CFLAGS="${CFLAGS} -Wall -Werror -std=c99 -Wmissing-prototypes" ++CFLAGS="${CFLAGS} -Wall -std=c99 -Wmissing-prototypes" + + + ###################################################################### diff --git a/libraries/gtkimageview/gtkimageview.SlackBuild b/libraries/gtkimageview/gtkimageview.SlackBuild index 6650aea4da..35f1e89ac5 100644 --- a/libraries/gtkimageview/gtkimageview.SlackBuild +++ b/libraries/gtkimageview/gtkimageview.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=gtkimageview VERSION=${VERSION:-1.6.4} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,6 +51,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Build breaks because functions in gdk-pixbuf are now deprecated +patch -p1 < $CWD/disable_Werror_for_gdk_pixbuf.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/gtkmm3/gtkmm3.SlackBuild b/libraries/gtkmm3/gtkmm3.SlackBuild index 4f39fb353d..ed4f3c809d 100644 --- a/libraries/gtkmm3/gtkmm3.SlackBuild +++ b/libraries/gtkmm3/gtkmm3.SlackBuild @@ -27,7 +27,7 @@ PRGNAM=gtkmm3 SRCNAM=gtkmm -VERSION=${VERSION:-3.8.1} +VERSION=${VERSION:-3.16.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,7 +69,7 @@ cd $SRCNAM-$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 {} \; diff --git a/libraries/gtkmm3/gtkmm3.info b/libraries/gtkmm3/gtkmm3.info index 108bbe99c8..1206e6050e 100644 --- a/libraries/gtkmm3/gtkmm3.info +++ b/libraries/gtkmm3/gtkmm3.info @@ -1,8 +1,8 @@ PRGNAM="gtkmm3" -VERSION="3.8.1" +VERSION="3.16.0" HOMEPAGE="http://www.gtkmm.org/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.8/gtkmm-3.8.1.tar.xz" -MD5SUM="15211fab12ea2ce955369dcc320baf5c" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.16/gtkmm-3.16.0.tar.xz" +MD5SUM="daa0c2407e50ff0602236c334c775717" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="atkmm mm-common" diff --git a/libraries/gtksourceview3/allow-deprecated-glib-symbols.patch b/libraries/gtksourceview3/allow-deprecated-glib-symbols.patch deleted file mode 100644 index 6191aadd17..0000000000 --- a/libraries/gtksourceview3/allow-deprecated-glib-symbols.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.orig 2012-09-11 11:07:07.750998010 +0300 -+++ configure 2012-09-11 11:07:25.848998458 +0300 -@@ -10955,7 +10955,6 @@ - - if test "$enable_deprecations" = "yes"; then - DISABLE_DEPRECATED_CFLAGS="\ ---DG_DISABLE_DEPRECATED \ - -DGDK_DISABLE_DEPRECATED \ - -DGTK_DISABLE_DEPRECATED \ - -DGDK_PIXBUF_DISABLE_DEPRECATED \ diff --git a/libraries/gtksourceview3/gtksourceview3.SlackBuild b/libraries/gtksourceview3/gtksourceview3.SlackBuild index 919e1b9c83..a015bcc175 100644 --- a/libraries/gtksourceview3/gtksourceview3.SlackBuild +++ b/libraries/gtksourceview3/gtksourceview3.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=gtksourceview3 SRCNAM=gtksourceview -VERSION=${VERSION:-3.8.2} +VERSION=${VERSION:-3.16.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,11 +72,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Code is still using G_CONST_RETURN which is deprecated in the -# version of glib shipping with Slackware 14.0. Let's remove the -# G_DISABLE_DEPRECATED from C preprocessor flags. -patch -p0 <$CWD/allow-deprecated-glib-symbols.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -98,7 +93,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING* ChangeLog* HACKING INSTALL MAINTAINERS NEWS README \ +cp -a AUTHORS COPYING* HACKING MAINTAINERS NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/gtksourceview3/gtksourceview3.info b/libraries/gtksourceview3/gtksourceview3.info index 22896d7b53..4a26bca031 100644 --- a/libraries/gtksourceview3/gtksourceview3.info +++ b/libraries/gtksourceview3/gtksourceview3.info @@ -1,10 +1,10 @@ PRGNAM="gtksourceview3" -VERSION="3.8.2" +VERSION="3.16.1" HOMEPAGE="http://projects.gnome.org/gtksourceview/" -DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/gtksourceview/3.8/gtksourceview-3.8.2.tar.xz" -MD5SUM="fa8a252f811b6042cfc2eb47e580609f" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.16/gtksourceview-3.16.1.tar.xz" +MD5SUM="e727db8202d23a54b54b69ebc66f5331" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="glade" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/libraries/irrlicht/irrlicht-1.8.1-mesa-10.x.patch b/libraries/irrlicht/irrlicht-1.8.1-mesa-10.x.patch new file mode 100644 index 0000000000..e90ff36443 --- /dev/null +++ b/libraries/irrlicht/irrlicht-1.8.1-mesa-10.x.patch @@ -0,0 +1,40 @@ +From 244d00280c1b082ca164f92337773e9e4e1a3898 Mon Sep 17 00:00:00 2001 +From: hiker <henrichsjoerg@mgail.com> +Date: Wed, 26 Feb 2014 11:13:03 +1100 +Subject: [PATCH] Applied patch from jpirie for fixing mesa 10 compilation + problems. + +--- irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h ++++ irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h +@@ -21,6 +21,7 @@ + #endif
+ #include <GL/gl.h>
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+ #include "glext.h"
+ #endif
+ #include "wglext.h"
+@@ -35,6 +36,7 @@ + #endif
+ #include <OpenGL/gl.h>
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+ #include "glext.h"
+ #endif
+ #elif defined(_IRR_COMPILE_WITH_SDL_DEVICE_) && !defined(_IRR_COMPILE_WITH_X11_DEVICE_)
+@@ -48,6 +50,7 @@ + #define NO_SDL_GLEXT
+ #include <SDL/SDL_video.h>
+ #include <SDL/SDL_opengl.h>
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+ #include "glext.h"
+ #else
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
+@@ -60,6 +63,7 @@ + #include <GL/gl.h>
+ #include <GL/glx.h>
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+ #include "glext.h"
+ #undef GLX_ARB_get_proc_address // avoid problems with local glxext.h
+ #include "glxext.h"
diff --git a/libraries/irrlicht/irrlicht.SlackBuild b/libraries/irrlicht/irrlicht.SlackBuild index c40a3de712..39cc91e666 100644 --- a/libraries/irrlicht/irrlicht.SlackBuild +++ b/libraries/irrlicht/irrlicht.SlackBuild @@ -72,6 +72,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Patch for mesa-10.x, thanks gentoo +patch -p1 < $CWD/irrlicht-1.8.1-mesa-10.x.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ NDEBUG=1 \ diff --git a/libraries/jemalloc/README b/libraries/jemalloc/README deleted file mode 100644 index 8b18ffb632..0000000000 --- a/libraries/jemalloc/README +++ /dev/null @@ -1 +0,0 @@ -jemalloc is a general-purpose scalable concurrent malloc(3) implementation. diff --git a/libraries/jemalloc/jemalloc.SlackBuild b/libraries/jemalloc/jemalloc.SlackBuild deleted file mode 100644 index f6bd6a9b37..0000000000 --- a/libraries/jemalloc/jemalloc.SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh - -# Slackware build script for jemalloc - -# Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands -# 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=jemalloc -VERSION=${VERSION:-3.6.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" - TARGET="x86" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" - TARGET="x86" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" - TARGET="x86-64" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib$LIBDIRSUFFIX \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog COPYING INSTALL README VERSION \ - $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/jemalloc/* $PKG/usr/doc/$PRGNAM-$VERSION/ -rm -rf $PKG/usr/share -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/jemalloc/jemalloc.info b/libraries/jemalloc/jemalloc.info deleted file mode 100644 index b8d9a997ed..0000000000 --- a/libraries/jemalloc/jemalloc.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="jemalloc" -VERSION="3.6.0" -HOMEPAGE="http://www.canonware.com/jemalloc/" -DOWNLOAD="http://www.canonware.com/download/jemalloc/jemalloc-3.6.0.tar.bz2" -MD5SUM="e76665b63a8fddf4c9f26d2fa67afdf2" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" diff --git a/libraries/jemalloc/slack-desc b/libraries/jemalloc/slack-desc deleted file mode 100644 index 5613ba2b80..0000000000 --- a/libraries/jemalloc/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------------------------------------------------------| -jemalloc: jemalloc (A memory allocator) -jemalloc: -jemalloc: jemalloc is a general-purpose scalable concurrent malloc(3) -jemalloc: implementation. -jemalloc: -jemalloc: Homepage: http://www.canonware.com/jemalloc/ -jemalloc: -jemalloc: -jemalloc: -jemalloc: -jemalloc: diff --git a/libraries/lame/lame.SlackBuild b/libraries/lame/lame.SlackBuild index 3b5d60bb07..bf04caabc0 100644 --- a/libraries/lame/lame.SlackBuild +++ b/libraries/lame/lame.SlackBuild @@ -70,6 +70,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix for the newer gcc +# http://www.linuxfromscratch.org/blfs/view/svn/multimedia/lame.html +case $(uname -m) in + i?86) sed -i -e '/xmmintrin\.h/d' configure ;; +esac + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/libAfterImage/libAfterImage.SlackBuild b/libraries/libAfterImage/libAfterImage.SlackBuild index fac306d070..5f3ae72607 100644 --- a/libraries/libAfterImage/libAfterImage.SlackBuild +++ b/libraries/libAfterImage/libAfterImage.SlackBuild @@ -52,6 +52,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Patch for libpng16 (from Gentoo) +patch -p0 < $CWD/libafterimage-libpng15.patch + # Get rid of ldconfig in Makefile find . -name "Makefile*" -exec sed -i '/LDCONFIG/d' {} \; diff --git a/libraries/libAfterImage/libafterimage-libpng15.patch b/libraries/libAfterImage/libafterimage-libpng15.patch new file mode 100644 index 0000000000..44d5b94400 --- /dev/null +++ b/libraries/libAfterImage/libafterimage-libpng15.patch @@ -0,0 +1,31 @@ +--- export.c ++++ export.c +@@ -496,7 +496,7 @@ + png_ptr = png_create_write_struct( PNG_LIBPNG_VER_STRING, NULL, NULL, NULL ); + if ( png_ptr != NULL ) + if( (info_ptr = png_create_info_struct(png_ptr)) != NULL ) +- if( setjmp(png_ptr->jmpbuf) ) ++ if( setjmp(png_jmpbuf(png_ptr)) ) + { + png_destroy_info_struct(png_ptr, (png_infopp) &info_ptr); + info_ptr = NULL ; +--- import.c ++++ import.c +@@ -1251,7 +1251,7 @@ + * the normal method of doing things with libpng). REQUIRED unless you + * set up your own error handlers in the png_create_read_struct() earlier. + */ +- if ( !setjmp (png_ptr->jmpbuf)) ++ if ( !setjmp (png_jmpbuf(png_ptr))) + { + ASFlagType rgb_flags = ASStorage_RLEDiffCompress|ASStorage_32Bit ; + +@@ -1468,7 +1468,7 @@ + + static void asim_png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) + { +- ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_ptr->io_ptr; ++ ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_get_io_ptr(png_ptr); + memcpy(data, buf->buffer, length); + buf->buffer += length; + } diff --git a/libraries/libaudclient/README b/libraries/libaudclient/README new file mode 100644 index 0000000000..ff836f5e95 --- /dev/null +++ b/libraries/libaudclient/README @@ -0,0 +1,2 @@ +libaudclient is a legacy D-Bus client library that used to be included +with Audacious. diff --git a/libraries/gstreamer1/gstreamer1.SlackBuild b/libraries/libaudclient/libaudclient.SlackBuild index 4025eca73d..2f88f048cd 100644 --- a/libraries/gstreamer1/gstreamer1.SlackBuild +++ b/libraries/libaudclient/libaudclient.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for gstreamer1 +# Slackware build script for libaudclient -# Copyright 2013-2015 Robby Workman, Tuscaloosa, Alabama, USA +# Copyright 2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +22,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=gstreamer1 -VERSION=${VERSION:-1.4.5} +PRGNAM=libaudclient +VERSION=${VERSION:-3.5_rc2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} - -SRCNAM=gstreamer +SRCVER=$(echo $VERSION | tr _ - ) if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -61,13 +60,13 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.xz -cd $SRCNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.?z* +cd $PRGNAM-$SRCVER 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 {} \; @@ -76,24 +75,16 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ --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 - -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 +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL MAINTAINERS NEWS README RELEASE TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libaudclient/libaudclient.info b/libraries/libaudclient/libaudclient.info new file mode 100644 index 0000000000..f8b8ad827b --- /dev/null +++ b/libraries/libaudclient/libaudclient.info @@ -0,0 +1,10 @@ +PRGNAM="libaudclient" +VERSION="3.5_rc2" +HOMEPAGE="http://audacious-media-player.org" +DOWNLOAD="http://distfiles.audacious-media-player.org/libaudclient-3.5-rc2.tar.bz2" +MD5SUM="5c7006c39091226180c320e253270653" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/libaudclient/slack-desc b/libraries/libaudclient/slack-desc new file mode 100644 index 0000000000..3d29171d90 --- /dev/null +++ b/libraries/libaudclient/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------------------------------------------------------| +libaudclient: libaudclient (legacy dbus audacious client library) +libaudclient: +libaudclient: libaudclient is a legacy D-Bus client library that used to be included +libaudclient: with Audacious. +libaudclient: +libaudclient: homepage: http://audacious-media-player.org +libaudclient: +libaudclient: +libaudclient: +libaudclient: +libaudclient: diff --git a/libraries/libbonobo/libbonobo-2.32.1-srcdir-macro.patch b/libraries/libbonobo/libbonobo-2.32.1-srcdir-macro.patch new file mode 100644 index 0000000000..b535196eac --- /dev/null +++ b/libraries/libbonobo/libbonobo-2.32.1-srcdir-macro.patch @@ -0,0 +1,11 @@ +--- tests/Makefile.am~ 2010-08-29 06:56:00.000000000 -0500 ++++ tests/Makefile.am 2013-02-07 13:47:03.187506469 -0600 +@@ -55,7 +55,7 @@ + MODELS_DIR="$(srcdir)/models" + + TESTS = test-moniker$(EXEEXT) test-event-source$(EXEEXT) test-object$(EXEEXT) \ +- test-stream-mem$(EXEEXT) $(srcdir)/test-properties.sh test-storage-mem$(EXEEXT) \ ++ test-stream-mem$(EXEEXT) tests/test-properties.sh test-storage-mem$(EXEEXT) \ + test-main-loop$(EXEEXT) + + # TESTS += test-generic-factory.sh diff --git a/libraries/libbonobo/libbonobo.SlackBuild b/libraries/libbonobo/libbonobo.SlackBuild index 3e0f437100..822af0164b 100644 --- a/libraries/libbonobo/libbonobo.SlackBuild +++ b/libraries/libbonobo/libbonobo.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libbonobo VERSION=${VERSION:-2.32.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,6 +71,8 @@ find -L . \ # Apply patch from upstream to build with the newer glib patch -p1 < $CWD/remove_use_of_G_DISABLE_DEPRECATED.patch +# Patch for autotools +patch -p0 < $CWD/libbonobo-2.32.1-srcdir-macro.patch autoreconf -fi diff --git a/libraries/libcryptui/libcryptui.SlackBuild b/libraries/libcryptui/libcryptui.SlackBuild index d673868791..cdeada12b7 100644 --- a/libraries/libcryptui/libcryptui.SlackBuild +++ b/libraries/libcryptui/libcryptui.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for libcryptui -# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libcryptui -VERSION=${VERSION:-3.8.0} +VERSION=${VERSION:-3.12.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -80,6 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-introspection \ + --disable-static \ --build=$ARCH-slackware-linux make diff --git a/libraries/libcryptui/libcryptui.info b/libraries/libcryptui/libcryptui.info index 3ca903b184..53835718f9 100644 --- a/libraries/libcryptui/libcryptui.info +++ b/libraries/libcryptui/libcryptui.info @@ -1,8 +1,8 @@ PRGNAM="libcryptui" -VERSION="3.8.0" +VERSION="3.12.2" HOMEPAGE="http://gnome.org" -DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/libcryptui/3.8/libcryptui-3.8.0.tar.xz" -MD5SUM="cb76ee124166b120555bb1f836544b00" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libcryptui/3.12/libcryptui-3.12.2.tar.xz" +MD5SUM="da0ca49a8854e33aecce949f62def9d7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libdvdnav/README b/libraries/libdvdnav/README deleted file mode 100644 index 55f8e76c37..0000000000 --- a/libraries/libdvdnav/README +++ /dev/null @@ -1,3 +0,0 @@ -This is mplayer's fork of libdvdnav. libdvdnav is a library that allows easy -use of sophisticated DVD navigation features such as DVD menus, multiangle -playback, and even interactive DVD games. diff --git a/libraries/libdvdnav/libdvdnav.SlackBuild b/libraries/libdvdnav/libdvdnav.SlackBuild deleted file mode 100644 index 4adf5b8ea7..0000000000 --- a/libraries/libdvdnav/libdvdnav.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# Slackware build script for libdvdnav - -# Copyright 2007-2012 Heinz Wiesinger, Amsterdam, The Netherlands -# 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=libdvdnav -VERSION=4.2.0 -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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.bz2 -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 {} \; - -./autogen.sh - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING DEVELOPMENT-POLICY.txt \ - INSTALL NEWS README TODO $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/libdvdnav/libdvdnav.info b/libraries/libdvdnav/libdvdnav.info deleted file mode 100644 index 1fd0f4b622..0000000000 --- a/libraries/libdvdnav/libdvdnav.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libdvdnav" -VERSION="4.2.0" -HOMEPAGE="http://dvdnav.mplayerhq.hu/" -DOWNLOAD="http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.0.tar.bz2" -MD5SUM="53be8903f9802e101929a3451203bbf6" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" diff --git a/libraries/libepoxy/README b/libraries/libepoxy/README deleted file mode 100644 index 5c60683fbe..0000000000 --- a/libraries/libepoxy/README +++ /dev/null @@ -1,18 +0,0 @@ -Epoxy is a library for handling OpenGL function pointer management for you. - -It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(), -eglGetProcAddress(), etc. from the app developer, with very little knowledge -needed on their part. They get to read GL specs and write code using -undecorated function names like glCompileShader(). - -libepoxy can be used during the build process of xorg-server. To enable the use -of libepoxy, edit the x/x11/configure/xorg-server file in the Slackware source -tree, and add this configure flag to the ./configure section: - ---enable-glamor \ - -*Note*: If you have installed the wayland-1.6.0 package from SBo, you can build -Xwayland server for usage with a Wayland capable display compositor. - -This package requires MesaLib be installed prior to building from the Slackware -default package schema. diff --git a/libraries/libepoxy/libepoxy.SlackBuild b/libraries/libepoxy/libepoxy.SlackBuild deleted file mode 100644 index 329456f0ea..0000000000 --- a/libraries/libepoxy/libepoxy.SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh -# Slackware build script for libepoxy - -# Copyright 2015 James Powell james4591@hotmail.com Tulare, CA, 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. - -PRGNAM=libepoxy -VERSION=${VERSION:-1.3.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i486 ;; - arm*) export ARCH=arm ;; - *) export ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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.bz2 -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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -j3 -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYING README.md \ - $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 -[ -f $CWD/doinst.sh ] && cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/libepoxy/libepoxy.info b/libraries/libepoxy/libepoxy.info deleted file mode 100644 index 8da270022c..0000000000 --- a/libraries/libepoxy/libepoxy.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libepoxy" -VERSION="1.3.1" -HOMEPAGE="https://github.com/anholt/libepoxy" -DOWNLOAD="https://github.com/anholt/libepoxy/releases/download/v1.3.1/libepoxy-1.3.1.tar.bz2" -MD5SUM="96f6620a9b005a503e7b44b0b528287d" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="James Powell" -EMAIL="james4591@hotmail.com" diff --git a/libraries/libepoxy/slack-desc b/libraries/libepoxy/slack-desc deleted file mode 100644 index 6f1108a947..0000000000 --- a/libraries/libepoxy/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 ':'. - - |-----handy-ruler------------------------------------------------------| -libepoxy: libepoxy (OpenGL library) -libepoxy: -libepoxy: Epoxy is a library for handling OpenGL function pointer management -libepoxy: for you. It hides the complexity of dlopen(), dlsym(), -libepoxy: glXGetProcAddress(), eglGetProcAddress(), etc. from the app -libepoxy: developer, with very little knowledge needed on their part. They -libepoxy: get to read GL specs and write code using undecorated function -libepoxy: names like glCompileShader(). -libepoxy: -libepoxy: -libepoxy: Home: https://github.com/anholt/libepoxy diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild index 79e7cb1da2..d3dea180a1 100644 --- a/libraries/libgdiplus/libgdiplus.SlackBuild +++ b/libraries/libgdiplus/libgdiplus.SlackBuild @@ -73,7 +73,7 @@ find -L . \ # Patch for latest giflib (current) # from https://github.com/pld-linux/libgdiplus/blob/master/libgdiplus-giflib.patch -# patch -p1 < $CWD/libgdiplus-giflib.patch +patch -p1 < $CWD/libgdiplus-giflib.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/libgee/libgee.SlackBuild b/libraries/libgee/libgee.SlackBuild index 8d22f8e147..5cb601e402 100644 --- a/libraries/libgee/libgee.SlackBuild +++ b/libraries/libgee/libgee.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libgee -VERSION=${VERSION:-0.16.1} +VERSION=${VERSION:-0.18.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libgee/libgee.info b/libraries/libgee/libgee.info index 2d12da6434..f766962462 100644 --- a/libraries/libgee/libgee.info +++ b/libraries/libgee/libgee.info @@ -1,8 +1,8 @@ PRGNAM="libgee" -VERSION="0.16.1" +VERSION="0.18.0" HOMEPAGE="http://live.gnome.org/Libgee" -DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/libgee/0.16/libgee-0.16.1.tar.xz" -MD5SUM="d30cf203784431b0fdc3216b1acd999c" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libgee/0.18/libgee-0.18.0.tar.xz" +MD5SUM="29ea6125e653d7e60b49a9a9544abc96" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="vala" diff --git a/libraries/libgexiv2/libgexiv2.SlackBuild b/libraries/libgexiv2/libgexiv2.SlackBuild index 0e4511fd4d..be7abf73da 100644 --- a/libraries/libgexiv2/libgexiv2.SlackBuild +++ b/libraries/libgexiv2/libgexiv2.SlackBuild @@ -24,8 +24,8 @@ PRGNAM=libgexiv2 SRCNAM=gexiv2 -VERSION=${VERSION:-0.7.0} -BUILD=${BUILD:-3} +VERSION=${VERSION:-0.10.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,28 +70,22 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i "/^libdir/s|/lib$|/lib${LIBDIRSUFFIX}|" gexiv2.m4 - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --build=$ARCH-slackware-linux \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --enable-introspection \ + --build=$ARCH-slackware-linux - -make \ - DESTDIR=$PKG \ - LIB=lib${LIBDIRSUFFIX} -make install \ - DESTDIR=$PKG \ - LIB=lib${LIBDIRSUFFIX} +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALLING MAINTAINERS NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libgexiv2/libgexiv2.info b/libraries/libgexiv2/libgexiv2.info index ee2c6b934c..6942a4f407 100644 --- a/libraries/libgexiv2/libgexiv2.info +++ b/libraries/libgexiv2/libgexiv2.info @@ -1,10 +1,10 @@ PRGNAM="libgexiv2" -VERSION="0.7.0" +VERSION="0.10.3" HOMEPAGE="https://wiki.gnome.org/gexiv2" -DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gexiv2/0.7/gexiv2-0.7.0.tar.xz" -MD5SUM="de3619e5d2b621c19fdcf77b17d25d25" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gexiv2/0.10/gexiv2-0.10.3.tar.xz" +MD5SUM="f255100a009027d4eaa0f075bb79c655" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="vala" MAINTAINER="Soydaner Ulker" EMAIL="soydaner@kahverengi.com" diff --git a/libraries/libgksu/libgksu.SlackBuild b/libraries/libgksu/libgksu.SlackBuild index 6d61b3fa2e..6bdbbe3bb9 100644 --- a/libraries/libgksu/libgksu.SlackBuild +++ b/libraries/libgksu/libgksu.SlackBuild @@ -86,7 +86,7 @@ fi touch NEWS README libtoolize --force --copy --install -autoreconf +autoreconf -vif CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/libglpng/libglpng.SlackBuild b/libraries/libglpng/libglpng.SlackBuild index 2a4a063ee1..7fbc0afac0 100644 --- a/libraries/libglpng/libglpng.SlackBuild +++ b/libraries/libglpng/libglpng.SlackBuild @@ -69,7 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p1 < $CWD/libglpng-1.45-extra_cflags.patch +for i in $CWD/patches/* ; do patch -p1 < $i ; done make EXTRA_CFLAGS="$SLKCFLAGS" make install DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG/usr diff --git a/libraries/libglpng/patches/libglpng-1.45-CVE-2010-1519.patch b/libraries/libglpng/patches/libglpng-1.45-CVE-2010-1519.patch new file mode 100644 index 0000000000..04869bbd99 --- /dev/null +++ b/libraries/libglpng/patches/libglpng-1.45-CVE-2010-1519.patch @@ -0,0 +1,159 @@ +diff -up libglpng-1.45.orig/src/glpng.c.cve libglpng-1.45.orig/src/glpng.c +--- libglpng-1.45.orig/src/glpng.c.cve 2010-09-10 14:13:37.105046660 +0200 ++++ libglpng-1.45.orig/src/glpng.c 2010-09-10 14:14:46.158045715 +0200 +@@ -28,6 +28,7 @@ + #include <GL/glpng.h> + #include <GL/gl.h>
+ #include <stdlib.h> ++#include <stdint.h> + #include <math.h> + #include <png.h> +
+@@ -259,9 +260,9 @@ int APIENTRY pngLoadRawF(FILE *fp, pngRa + png_structp png; + png_infop info; + png_infop endinfo; +- png_bytep data; +- png_bytep *row_p; +- double fileGamma; ++ png_bytep data = NULL; ++ png_bytep *row_p = NULL; ++ double fileGamma; + + png_uint_32 width, height; + int depth, color; +@@ -274,13 +275,19 @@ int APIENTRY pngLoadRawF(FILE *fp, pngRa + if (!png_check_sig(header, 8)) return 0; + + png = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); ++ if (!png) return 0; + info = png_create_info_struct(png); ++ if (!info) return 0; + endinfo = png_create_info_struct(png); ++ if (!endinfo) return 0; + + // DH: added following lines
+ if (setjmp(png->jmpbuf))
+ {
++error: + png_destroy_read_struct(&png, &info, &endinfo);
++ free(data); ++ free(row_p); + return 0;
+ }
+ // ~DH
+@@ -303,8 +310,16 @@ int APIENTRY pngLoadRawF(FILE *fp, pngRa + + png_read_update_info(png, info); + ++ /* HDG: We allocate all the png data in one linear array, thus ++ height * png_get_rowbytes() may not be > PNG_UINT_32_MAX ! ++ This check fixes CVE-2010-1519. */ ++ if ((uint64_t)height * png_get_rowbytes(png, info) > PNG_UINT_32_MAX) ++ goto error; ++ + data = (png_bytep) malloc(png_get_rowbytes(png, info)*height); + row_p = (png_bytep *) malloc(sizeof(png_bytep)*height); ++ if (!data || !row_p) ++ goto error; +
+ for (i = 0; i < height; i++) { + if (StandardOrientation)
+@@ -315,6 +330,7 @@ int APIENTRY pngLoadRawF(FILE *fp, pngRa + + png_read_image(png, row_p); + free(row_p); ++ row_p = NULL; + + if (color == PNG_COLOR_TYPE_PALETTE) { + int cols; +@@ -365,9 +381,10 @@ int APIENTRY pngLoadF(FILE *fp, int mipm + png_structp png; + png_infop info; + png_infop endinfo; +- png_bytep data, data2; +- png_bytep *row_p; +- double fileGamma; ++ png_bytep data = NULL; ++ png_bytep data2 = NULL; ++ png_bytep *row_p = NULL; ++ double fileGamma; + + png_uint_32 width, height, rw, rh; + int depth, color; +@@ -378,13 +395,20 @@ int APIENTRY pngLoadF(FILE *fp, int mipm + if (!png_check_sig(header, 8)) return 0; + + png = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); ++ if (!png) return 0; + info = png_create_info_struct(png); ++ if (!info) return 0; + endinfo = png_create_info_struct(png); ++ if (!endinfo) return 0; + + // DH: added following lines
+ if (setjmp(png->jmpbuf))
+ {
++error: + png_destroy_read_struct(&png, &info, &endinfo);
++ free(data); ++ free(data2); ++ free(row_p); + return 0;
+ }
+ // ~DH
+@@ -442,8 +466,16 @@ int APIENTRY pngLoadF(FILE *fp, int mipm + + png_read_update_info(png, info); + ++ /* HDG: We allocate all the png data in one linear array, thus ++ height * png_get_rowbytes() may not be > PNG_UINT_32_MAX ! ++ This check fixes CVE-2010-1519. */ ++ if ((uint64_t)height * png_get_rowbytes(png, info) > PNG_UINT_32_MAX) ++ goto error; ++ + data = (png_bytep) malloc(png_get_rowbytes(png, info)*height); + row_p = (png_bytep *) malloc(sizeof(png_bytep)*height); ++ if (!data || !row_p) ++ goto error; +
+ for (i = 0; i < height; i++) {
+ if (StandardOrientation) +@@ -454,6 +486,7 @@ int APIENTRY pngLoadF(FILE *fp, int mipm + + png_read_image(png, row_p); + free(row_p); ++ row_p = NULL; + + rw = SafeSize(width), rh = SafeSize(height); + +@@ -461,6 +494,8 @@ int APIENTRY pngLoadF(FILE *fp, int mipm + const int channels = png_get_rowbytes(png, info)/width; + + data2 = (png_bytep) malloc(rw*rh*channels); ++ if (!data2) ++ goto error; + + /* Doesn't work on certain sizes */ + /* if (gluScaleImage(glformat, width, height, GL_UNSIGNED_BYTE, data, rw, rh, GL_UNSIGNED_BYTE, data2) != 0) +@@ -471,6 +506,7 @@ int APIENTRY pngLoadF(FILE *fp, int mipm + width = rw, height = rh; + free(data); + data = data2; ++ data2 = NULL; + } + + { /* OpenGL stuff */
+@@ -540,6 +576,12 @@ int APIENTRY pngLoadF(FILE *fp, int mipm + png_bytep p, endp, q; + int r, g, b, a; + ++ /* HDG another potential 32 bit address overflow, the ++ original png had 3 channels and we are going to ++ 4 channels now! */ ++ if ((uint64_t)width * height > (PNG_UINT_32_MAX >> 2)) ++ goto error; ++ + p = data, endp = p+width*height*3; + q = data2 = (png_bytep) malloc(sizeof(png_byte)*width*height*4); + diff --git a/libraries/libglpng/libglpng-1.45-extra_cflags.patch b/libraries/libglpng/patches/libglpng-1.45-extra_cflags.patch index 16dd4db3fb..16dd4db3fb 100644 --- a/libraries/libglpng/libglpng-1.45-extra_cflags.patch +++ b/libraries/libglpng/patches/libglpng-1.45-extra_cflags.patch diff --git a/libraries/libglpng/patches/libglpng-1.45-libpng15.patch b/libraries/libglpng/patches/libglpng-1.45-libpng15.patch new file mode 100644 index 0000000000..9308633536 --- /dev/null +++ b/libraries/libglpng/patches/libglpng-1.45-libpng15.patch @@ -0,0 +1,48 @@ +diff -up libglpng-1.45.orig/include/GL/glpng.h~ libglpng-1.45.orig/include/GL/glpng.h +--- libglpng-1.45.orig/include/GL/glpng.h~ 2011-12-06 22:14:59.000000000 +0100 ++++ libglpng-1.45.orig/include/GL/glpng.h 2011-12-06 22:15:48.900673919 +0100 +@@ -57,7 +57,7 @@ extern "C" { + #define PNG_SIMPLEMIPMAP PNG_SIMPLEMIPMAPS
+ + /* Transparency parameters */
+-#define PNG_CALLBACK -3 /* Call the callback function to generate alpha */ ++#define PNG_CALLBACK_FUNC -3 /* Call the callback function to generate alpha */ + #define PNG_ALPHA -2 /* Use alpha channel in PNG file, if there is one */ + #define PNG_SOLID -1 /* No transparency */ + #define PNG_STENCIL 0 /* Sets alpha to 0 for r=g=b=0, 1 otherwise */ +diff -up libglpng-1.45.orig/src/glpng.c~ libglpng-1.45.orig/src/glpng.c +--- libglpng-1.45.orig/src/glpng.c~ 2011-12-06 19:38:53.000000000 +0100 ++++ libglpng-1.45.orig/src/glpng.c 2011-12-06 22:13:34.501354149 +0100 +@@ -282,7 +282,11 @@ int APIENTRY pngLoadRawF(FILE *fp, pngRa + if (!endinfo) return 0; + + // DH: added following lines
++#if PNG_LIBPNG_VER >= 10400
++ if (setjmp(png_jmpbuf(png)))
++#else
+ if (setjmp(png->jmpbuf))
++#endif
+ {
+ error: + png_destroy_read_struct(&png, &info, &endinfo);
+@@ -402,7 +406,11 @@ int APIENTRY pngLoadF(FILE *fp, int mipm + if (!endinfo) return 0; + + // DH: added following lines
++#if PNG_LIBPNG_VER >= 10400
++ if (setjmp(png_jmpbuf(png)))
++#else
+ if (setjmp(png->jmpbuf))
++#endif
+ {
+ error: + png_destroy_read_struct(&png, &info, &endinfo);
+@@ -603,7 +611,7 @@ error: + #define ALPHA *q + + switch (trans) { +- case PNG_CALLBACK: ++ case PNG_CALLBACK_FUNC: + FORSTART + ALPHA = AlphaCallback((unsigned char) r, (unsigned char) g, (unsigned char) b); + FOREND diff --git a/libraries/libgnomeprint/libgnomeprint-2.18.8-bison3.patch b/libraries/libgnomeprint/libgnomeprint-2.18.8-bison3.patch new file mode 100644 index 0000000000..d9fbbdd84f --- /dev/null +++ b/libraries/libgnomeprint/libgnomeprint-2.18.8-bison3.patch @@ -0,0 +1,39 @@ +http://git.pld-linux.org/gitweb.cgi?p=packages/libgnomeprint.git;a=blob;f=bison3.patch + +--- libgnomeprint-2.18.8/libgnomeprint/grammar.y.orig 2010-02-09 13:32:51.000000000 +0100 ++++ libgnomeprint-2.18.8/libgnomeprint/grammar.y 2013-11-03 21:44:59.859877696 +0100 +@@ -6,8 +6,6 @@ + #include <libgnomeprint/types.h> + #include <libgnomeprint/gnome-print-filter.h> + +-#define YYPARSE_PARAM graph +- + static void + set_value_from_string (GParamSpec *pspec, GValue *v, const gchar *s) + { +@@ -99,7 +97,7 @@ + } + + static int yylex (void *lvalp); +-static int yyerror (const char *s); ++static int yyerror (graph_t *g, const char *s); + %} + + %union { +@@ -117,6 +115,7 @@ + %type <p> pool + + %pure_parser ++%parse-param { graph_t *graph } + + %start graph + %% +@@ -185,7 +184,7 @@ + %% + + static int +-yyerror (const char *s) ++yyerror (graph_t *g, const char *s) + { + return -1; + } diff --git a/libraries/libgnomeprint/libgnomeprint-2.18.8-cups-config.patch b/libraries/libgnomeprint/libgnomeprint-2.18.8-cups-config.patch new file mode 100644 index 0000000000..999c6f0752 --- /dev/null +++ b/libraries/libgnomeprint/libgnomeprint-2.18.8-cups-config.patch @@ -0,0 +1,39 @@ +From ffbc68cc8518c7e7263a42d4284b749b40c5e871 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 29 Jun 2014 10:47:41 +0200 +Subject: [PATCH] Use AC_PATH_TOOL to find proper cups-config. + +--- + configure.in | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/configure.in b/configure.in +index 729278d..186fabf 100644 +--- a/configure.in ++++ b/configure.in +@@ -223,17 +223,18 @@ AC_ARG_WITH(cups, + ) + if test "x$try_cups" = "xyes"; then + PKG_CHECK_MODULES(CUPS, "gmodule-2.0") ++ AC_PATH_TOOL(CUPS_CONFIG, cups-config) + AC_MSG_CHECKING(for CUPS libraries version >= 1.1.20) +- if cups-config --version --libs > /dev/null 2>&1; then +- verstxt=`cups-config --version` ++ if $CUPS_CONFIG --version --libs > /dev/null 2>&1; then ++ verstxt=`$CUPS_CONFIG --version` + vers=`echo "$verstxt" | \ + awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` + if test "$vers" -lt 1001020; then + AC_MSG_RESULT(Cups found but the version found is less than 1.1.20) + cups_msg="Version requirement not satisfied" + else +- CUPS_LIBS="$CUPS_LIBS `cups-config --ldflags` `cups-config --libs`" +- CUPS_CFLAGS="$CUPS_CFLAGS `cups-config --cflags`" ++ CUPS_LIBS="$CUPS_LIBS `$CUPS_CONFIG --ldflags` `$CUPS_CONFIG --libs`" ++ CUPS_CFLAGS="$CUPS_CFLAGS `$CUPS_CONFIG --cflags`" + AC_MSG_RESULT(Found version $verstxt) + fi + +-- +2.0.0 + diff --git a/libraries/libgnomeprint/libgnomeprint.SlackBuild b/libraries/libgnomeprint/libgnomeprint.SlackBuild index e2e508ec56..9795ed648b 100644 --- a/libraries/libgnomeprint/libgnomeprint.SlackBuild +++ b/libraries/libgnomeprint/libgnomeprint.SlackBuild @@ -71,7 +71,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Thanks to Gentoo for these three patches +# https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/libgnomeprint/files/ patch -p1 -i $CWD/libgnomeprint-2.18.8-stdio-include.patch +patch -p1 -i $CWD/libgnomeprint-2.18.8-bison3.patch +patch -p1 -i $CWD/libgnomeprint-2.18.8-cups-config.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/libgnomeprintui/libgnomeprintui-2.18.6-adwaita-icon-theme.patch b/libraries/libgnomeprintui/libgnomeprintui-2.18.6-adwaita-icon-theme.patch new file mode 100644 index 0000000000..f1fc4541db --- /dev/null +++ b/libraries/libgnomeprintui/libgnomeprintui-2.18.6-adwaita-icon-theme.patch @@ -0,0 +1,12 @@ +diff -up ./configure.in.orig ./configure.in +--- ./configure.in.orig 2014-05-04 11:07:55.308844477 +0300 ++++ ./configure.in 2014-05-04 11:08:26.884571685 +0300 +@@ -64,7 +64,7 @@ PKG_CHECK_MODULES(LIBGNOMEPRINTUI, [ + gtk+-2.0 >= 2.6.0 + libgnomeprint-2.2 >= 2.12.1 + libgnomecanvas-2.0 >= 1.117.0 +- gnome-icon-theme >= 1.1.92 ++ adwaita-icon-theme >= 1.1.92 + ]) + AC_SUBST(LIBGNOMEPRINTUI_CFLAGS) + AC_SUBST(LIBGNOMEPRINTUI_LIBS) diff --git a/libraries/libgnomeprintui/libgnomeprintui-2.18.6-orientation-for-preview.patch b/libraries/libgnomeprintui/libgnomeprintui-2.18.6-orientation-for-preview.patch new file mode 100644 index 0000000000..3a6aa63fe3 --- /dev/null +++ b/libraries/libgnomeprintui/libgnomeprintui-2.18.6-orientation-for-preview.patch @@ -0,0 +1,44 @@ +--- ./libgnomeprintui/gnome-print-job-preview.c.orig 2012-02-23 22:48:42.000000000 +0600 ++++ ./libgnomeprintui/gnome-print-job-preview.c 2012-02-25 00:18:43.000000000 +0600 +@@ -152,6 +152,7 @@ + GtkWidget *last; + GnomeCanvas *canvas; + GnomePrintConfig *config; ++ guchar *paper_orientation_save; + + guint current_page, current_offset; + +@@ -2187,6 +2188,19 @@ + if (jp->config) + g_object_unref (G_OBJECT (jp->config)); + jp->config = config; ++ if( config ) { ++ guchar *txt = gnome_print_config_get( jp->config, (const guchar*)GNOME_PRINT_KEY_PAGE_ORIENTATION ); ++ if( ( g_ascii_strcasecmp(( const gchar* )txt, "R90") == 0 ) || ++ ( g_ascii_strcasecmp(( const gchar* )txt, "R270") == 0 ) ) { ++ jp->paper_orientation_save = ++ gnome_print_config_get( jp->config, (const guchar*)GNOME_PRINT_KEY_PAPER_ORIENTATION ); ++ gnome_print_config_set( jp->config, (const guchar*)GNOME_PRINT_KEY_PAPER_ORIENTATION, txt ); ++ g_free ( txt ); ++ } ++ else { ++ jp->paper_orientation_save = NULL; ++ } ++ } + if (!jp->config) + return; + g_object_ref (G_OBJECT (jp->config)); +@@ -2389,6 +2403,13 @@ + { + GnomePrintJobPreview *jp = GNOME_PRINT_JOB_PREVIEW (object); + ++ if( jp->paper_orientation_save ) { ++ gnome_print_config_set( jp->config, (const guchar*)GNOME_PRINT_KEY_PAPER_ORIENTATION, ++ jp->paper_orientation_save ); ++ g_free ( jp->paper_orientation_save ); ++ jp->paper_orientation_save = NULL; ++ } ++ + gnome_print_job_preview_set_config (jp, NULL); + gnome_print_job_preview_set_job (jp, NULL); + diff --git a/libraries/libgnomeprintui/libgnomeprintui.SlackBuild b/libraries/libgnomeprintui/libgnomeprintui.SlackBuild index 7247bb3065..1372db20a9 100644 --- a/libraries/libgnomeprintui/libgnomeprintui.SlackBuild +++ b/libraries/libgnomeprintui/libgnomeprintui.SlackBuild @@ -71,6 +71,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Thanks to Mageia for these patches: +patch -p1 < $CWD/libgnomeprintui-2.18.6-adwaita-icon-theme.patch +patch -p1 < $CWD/libgnomeprintui-2.18.6-orientation-for-preview.patch +autoconf + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/libimobiledevice/README b/libraries/libimobiledevice/README deleted file mode 100644 index 8726ac3502..0000000000 --- a/libraries/libimobiledevice/README +++ /dev/null @@ -1,2 +0,0 @@ -libimobiledevice is a library for connecting to Apple's iPhone -or iPod touch devices. diff --git a/libraries/libimobiledevice/libimobiledevice.SlackBuild b/libraries/libimobiledevice/libimobiledevice.SlackBuild deleted file mode 100644 index ab74d6466e..0000000000 --- a/libraries/libimobiledevice/libimobiledevice.SlackBuild +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/sh - -# Slackware build script for libimobiledevice - -# Written by David Somero <dsomero@hotmail.com> -# Derived from Slackware's Slackbuilds. -# -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA -# Copyright 2010-2011 David Somero (dsomero@hotmail.com) Athens, TN, 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. - - -PRGNAM=libimobiledevice -VERSION=${VERSION:-1.1.5} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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.bz2 -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYING* README AUTHORS docs/* \ - $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/libimobiledevice/libimobiledevice.info b/libraries/libimobiledevice/libimobiledevice.info deleted file mode 100644 index dcab68ec4d..0000000000 --- a/libraries/libimobiledevice/libimobiledevice.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libimobiledevice" -VERSION="1.1.5" -HOMEPAGE="http://www.libimobiledevice.org//" -DOWNLOAD="http://www.libimobiledevice.org/downloads/libimobiledevice-1.1.5.tar.bz2" -MD5SUM="d9debdcf71508dee2c85b60b28ccddd4" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="usbmuxd" -MAINTAINER="David Somero" -EMAIL="dsomero@hotmail.com" diff --git a/libraries/libimobiledevice/slack-desc b/libraries/libimobiledevice/slack-desc deleted file mode 100644 index 3ea570e23d..0000000000 --- a/libraries/libimobiledevice/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------------------------------------------------------| -libimobiledevice: libimobiledevice (library for connecting to Apple's iPhone or iPod) -libimobiledevice: -libimobiledevice: libimobiledevice is a library for connecting to Apple's iPhone -libimobiledevice: or iPod touch devices -libimobiledevice: -libimobiledevice: -libimobiledevice: -libimobiledevice: -libimobiledevice: -libimobiledevice: -libimobiledevice: diff --git a/libraries/libjpeg-turbo/README b/libraries/libjpeg-turbo/README deleted file mode 100644 index d5e91790e9..0000000000 --- a/libraries/libjpeg-turbo/README +++ /dev/null @@ -1,9 +0,0 @@ -libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 -SIMD instructions to accelerate baseline JPEG compression and -decompression by about 2-4x on x86 and x86-64 platforms. It is based -on libjpeg/SIMD but has numerous enhancements. - -NOTE: -The package installs to /opt/libjpeg-turbo by default. -Pass PREFIX=/usr to the SlackBuild to build it system-wide, but it will -overwrite Slackware's libjpeg package. diff --git a/libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild b/libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild deleted file mode 100644 index f2ed388bde..0000000000 --- a/libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh - -# Slackware build script for libjpeg-turbo - -# Copyright 2010 V'yacheslav Stetskevych <slava18 dont_spam_me gmail com> -# Copyright 2014-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org> -# 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=libjpeg-turbo -VERSION=${VERSION:-1.4.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -# The default is to install the package to /opt/$PRGNAM, but you can override -# it here. Set PREFIX to /usr to overwrite the conventional libjpeg. -PREFIX=${PREFIX:-/opt/$PRGNAM} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --enable-static=no \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt README* $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/libjpeg-turbo/libjpeg-turbo.info b/libraries/libjpeg-turbo/libjpeg-turbo.info deleted file mode 100644 index f8c4b04c87..0000000000 --- a/libraries/libjpeg-turbo/libjpeg-turbo.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libjpeg-turbo" -VERSION="1.4.1" -HOMEPAGE="http://libjpeg-turbo.virtualgl.org" -DOWNLOAD="http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-1.4.1.tar.gz" -MD5SUM="b1f6b84859a16b8ebdcda951fa07c3f2" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/libraries/libjpeg-turbo/slack-desc b/libraries/libjpeg-turbo/slack-desc deleted file mode 100644 index aeaac4e628..0000000000 --- a/libraries/libjpeg-turbo/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------------------------------------------------------| -libjpeg-turbo: libjpeg-turbo (accelerated libjpeg) -libjpeg-turbo: -libjpeg-turbo: libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 -libjpeg-turbo: SIMD instructions to accelerate baseline JPEG compression and -libjpeg-turbo: decompression by about 2-4x on x86 and x86-64 platforms. It is based -libjpeg-turbo: on libjpeg/SIMD but has numerous enhancements. -libjpeg-turbo: See README-turbo.txt in /usr/doc/libjpeg-turbo* for usage hints. -libjpeg-turbo: -libjpeg-turbo: Homepage: http://libjpeg-turbo.virtualgl.org -libjpeg-turbo: -libjpeg-turbo: diff --git a/libraries/libkate/libkate-0.4.1-no-libfl.patch b/libraries/libkate/libkate-0.4.1-no-libfl.patch new file mode 100644 index 0000000000..a5183d2b82 --- /dev/null +++ b/libraries/libkate/libkate-0.4.1-no-libfl.patch @@ -0,0 +1,88 @@ +diff -u -r libkate-0.4.1-orig/Makefile.in libkate-0.4.1/Makefile.in +--- libkate-0.4.1-orig/Makefile.in 2011-08-21 23:46:58.000000000 +0100 ++++ libkate-0.4.1/Makefile.in 2015-05-28 23:52:21.389946971 +0100 +@@ -260,7 +260,6 @@ + LD = @LD@ + LDFLAGS = @LDFLAGS@ + LEX = @LEX@ +-LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ + LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ + LIBOBJS = @LIBOBJS@ +diff -u -r libkate-0.4.1-orig/configure.ac libkate-0.4.1/configure.ac +--- libkate-0.4.1-orig/configure.ac 2011-08-21 23:44:32.000000000 +0100 ++++ libkate-0.4.1/configure.ac 2015-05-30 06:28:33.306682481 +0100 +@@ -7,7 +7,7 @@ + + AC_CANONICAL_TARGET + +-AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) ++AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) + AC_CONFIG_HEADERS([include/config.h]) + + ifdef([AM_SILENT_RULES],[AM_SILENT_RULES]) +diff -u -r libkate-0.4.1-orig/doc/Makefile.in libkate-0.4.1/doc/Makefile.in +--- libkate-0.4.1-orig/doc/Makefile.in 2011-08-21 23:47:10.000000000 +0100 ++++ libkate-0.4.1/doc/Makefile.in 2015-05-28 23:52:49.742054572 +0100 +@@ -125,7 +125,6 @@ + LD = @LD@ + LDFLAGS = @LDFLAGS@ + LEX = @LEX@ +-LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ + LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ + LIBOBJS = @LIBOBJS@ +diff -u -r libkate-0.4.1-orig/tests/Makefile.in libkate-0.4.1/tests/Makefile.in +--- libkate-0.4.1-orig/tests/Makefile.in 2011-08-21 23:46:58.000000000 +0100 ++++ libkate-0.4.1/tests/Makefile.in 2015-05-28 23:52:36.542004463 +0100 +@@ -156,7 +156,6 @@ + LD = @LD@ + LDFLAGS = @LDFLAGS@ + LEX = @LEX@ +-LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ + LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ + LIBOBJS = @LIBOBJS@ +diff -u -r libkate-0.4.1-orig/tools/KateDJ/Makefile.in libkate-0.4.1/tools/KateDJ/Makefile.in +--- libkate-0.4.1-orig/tools/KateDJ/Makefile.in 2011-08-21 23:46:58.000000000 +0100 ++++ libkate-0.4.1/tools/KateDJ/Makefile.in 2015-05-28 23:53:11.981139017 +0100 +@@ -99,7 +99,6 @@ + LD = @LD@ + LDFLAGS = @LDFLAGS@ + LEX = @LEX@ +-LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ + LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ + LIBOBJS = @LIBOBJS@ +diff -u -r libkate-0.4.1-orig/tools/Makefile.am libkate-0.4.1/tools/Makefile.am +--- libkate-0.4.1-orig/tools/Makefile.am 2011-08-21 13:42:10.000000000 +0100 ++++ libkate-0.4.1/tools/Makefile.am 2015-05-28 23:54:03.293333914 +0100 +@@ -20,7 +20,7 @@ + endif + katedec_SOURCES=katedec.c kkate.c ksrt.c klrc.c kutil.c kfuzz.c kstream.c kread.c kstrings.c + katalyzer_SOURCES=katalyzer.c kutil.c kstream.c kread.c kstrings.c kstats.c +-kateenc_LDADD=../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @PNG_LIBS@ @LEXLIB@ ++kateenc_LDADD=../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @PNG_LIBS@ + katedec_LDADD=../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ + katalyzer_LDADD=../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ + kateenc_CFLAGS=@CWARNFLAGS_LIGHT@ @CFLAGS_FORTIFY_SOURCE@ @CFLAGS_DEBUG@ @OGG_CFLAGS@ @PNG_CFLAGS@ +diff -u -r libkate-0.4.1-orig/tools/Makefile.in libkate-0.4.1/tools/Makefile.in +--- libkate-0.4.1-orig/tools/Makefile.in 2011-08-21 23:46:58.000000000 +0100 ++++ libkate-0.4.1/tools/Makefile.in 2015-05-28 23:54:21.805404270 +0100 +@@ -223,7 +223,6 @@ + LD = @LD@ + LDFLAGS = @LDFLAGS@ + LEX = @LEX@ +-LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ + LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ + LIBOBJS = @LIBOBJS@ +@@ -351,7 +350,7 @@ + @HAVE_OGG_TRUE@ $(am__append_1) + @HAVE_OGG_TRUE@katedec_SOURCES = katedec.c kkate.c ksrt.c klrc.c kutil.c kfuzz.c kstream.c kread.c kstrings.c + @HAVE_OGG_TRUE@katalyzer_SOURCES = katalyzer.c kutil.c kstream.c kread.c kstrings.c kstats.c +-@HAVE_OGG_TRUE@kateenc_LDADD = ../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @PNG_LIBS@ @LEXLIB@ ++@HAVE_OGG_TRUE@kateenc_LDADD = ../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @PNG_LIBS@ + @HAVE_OGG_TRUE@katedec_LDADD = ../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ + @HAVE_OGG_TRUE@katalyzer_LDADD = ../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ + @HAVE_OGG_TRUE@kateenc_CFLAGS = @CWARNFLAGS_LIGHT@ @CFLAGS_FORTIFY_SOURCE@ @CFLAGS_DEBUG@ @OGG_CFLAGS@ @PNG_CFLAGS@ diff --git a/libraries/libkate/libkate.SlackBuild b/libraries/libkate/libkate.SlackBuild index c218d25d78..c7e0dc2e16 100644 --- a/libraries/libkate/libkate.SlackBuild +++ b/libraries/libkate/libkate.SlackBuild @@ -72,6 +72,13 @@ find -L . \ \( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \ -exec chmod 755 {} \; +# Don't link against flex (fix for -current) +set -x +patch -p1 < $CWD/libkate-0.4.1-no-libfl.patch +libtoolize --copy --force +aclocal +automake --add-missing --copy --force-missing + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ diff --git a/libraries/libkqueue/libkqueue.SlackBuild b/libraries/libkqueue/libkqueue.SlackBuild index 1b2f6d8fe7..a989d26944 100644 --- a/libraries/libkqueue/libkqueue.SlackBuild +++ b/libraries/libkqueue/libkqueue.SlackBuild @@ -25,7 +25,7 @@ # Modified by the slackbuilds.org project. PRGNAM=libkqueue -VERSION=${VERSION:-1.0.6} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,14 +83,14 @@ CFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var -make +make -j1 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/man -type f -exec gzip -9 {} \; diff --git a/libraries/libkqueue/libkqueue.info b/libraries/libkqueue/libkqueue.info index f69fff7d73..ffabceb48f 100644 --- a/libraries/libkqueue/libkqueue.info +++ b/libraries/libkqueue/libkqueue.info @@ -1,8 +1,8 @@ PRGNAM="libkqueue" -VERSION="1.0.6" +VERSION="2.0.1" HOMEPAGE="http://mark.heily.com/project/libkqueue" -DOWNLOAD="http://sourceforge.net/projects/libkqueue/files/libkqueue-1.0/libkqueue-1.0.6.tar.gz" -MD5SUM="5aed2744982d0c1ed79055fa37560090" +DOWNLOAD="http://sourceforge.net/projects/libkqueue/files/libkqueue-2.0/libkqueue-2.0.1.tar.gz" +MD5SUM="3d939aa5fa83a870aee71f2181b22994" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libmirage/libmirage.SlackBuild b/libraries/libmirage/libmirage.SlackBuild index 0576c2fe56..80fdf71759 100644 --- a/libraries/libmirage/libmirage.SlackBuild +++ b/libraries/libmirage/libmirage.SlackBuild @@ -23,10 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Revision date: 2013/03/31 - PRGNAM=libmirage -VERSION=${VERSION:-2.0.0} +VERSION=${VERSION:-3.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,7 +68,7 @@ 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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build diff --git a/libraries/libmirage/libmirage.info b/libraries/libmirage/libmirage.info index 97b36091a6..1027ea0ccd 100644 --- a/libraries/libmirage/libmirage.info +++ b/libraries/libmirage/libmirage.info @@ -1,8 +1,8 @@ PRGNAM="libmirage" -VERSION="2.0.0" +VERSION="3.0.3" HOMEPAGE="http://cdemu.sourceforge.net/about/libmirage/" -DOWNLOAD="http://downloads.sourceforge.net/cdemu/libmirage-2.0.0.tar.bz2" -MD5SUM="72007f3364cbf3aea782aaa1fdade238" +DOWNLOAD="http://downloads.sourceforge.net/cdemu/libmirage-3.0.3.tar.bz2" +MD5SUM="fd0009ced98ef47c94d2919eafcaa099" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libmpd/libmpd-internal.h.patch b/libraries/libmpd/libmpd-internal.h.patch new file mode 100644 index 0000000000..c9be064075 --- /dev/null +++ b/libraries/libmpd/libmpd-internal.h.patch @@ -0,0 +1,14 @@ +X-Git-Url: http://repo.or.cz/w/libmpd.git/blobdiff_plain/604cbb97b24ea12881adc6c92e2fc14edfdf20da..4f946c01000fd97100e4a534b47f9c7ace0403df:/src/libmpd-internal.h + +diff --git a/src/libmpd-internal.h b/src/libmpd-internal.h +index c84c3a4..30cdc85 100644 +--- a/src/libmpd-internal.h ++++ b/src/libmpd-internal.h +@@ -21,6 +21,7 @@ + #define __MPD_INTERNAL_LIB_ + + #include "libmpdclient.h" ++#include <config.h> + struct _MpdData_real; + + typedef struct _MpdData_real { diff --git a/libraries/libmpd/libmpd.SlackBuild b/libraries/libmpd/libmpd.SlackBuild index 62dcbcfdb5..31a0fba0a2 100644 --- a/libraries/libmpd/libmpd.SlackBuild +++ b/libraries/libmpd/libmpd.SlackBuild @@ -73,6 +73,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix build with gcc-4.9 and glibc-2.21 (Slackware-current) +# http://repo.or.cz/w/libmpd.git/commit/4f946c01000fd97100e4a534b47f9c7ace0403df +patch -p1 < $CWD/libmpd-internal.h.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/libpeas/libpeas.SlackBuild b/libraries/libpeas/libpeas.SlackBuild index 61e862d023..332ea84ed7 100644 --- a/libraries/libpeas/libpeas.SlackBuild +++ b/libraries/libpeas/libpeas.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for libpeas -# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libpeas -VERSION=${VERSION:-1.8.1} +VERSION=${VERSION:-1.14.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libpeas/libpeas.info b/libraries/libpeas/libpeas.info index 72acc877e9..d3b2fdc597 100644 --- a/libraries/libpeas/libpeas.info +++ b/libraries/libpeas/libpeas.info @@ -1,8 +1,8 @@ PRGNAM="libpeas" -VERSION="1.8.1" +VERSION="1.14.0" HOMEPAGE="http://live.gnome.org/Libpeas" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libpeas/1.8/libpeas-1.8.1.tar.xz" -MD5SUM="f63d49ab7f72e1ab9eb398c1f0750790" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libpeas/1.14/libpeas-1.14.0.tar.xz" +MD5SUM="1347653703ba4d50dd746845c35d010a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libsigsegv/README b/libraries/libsigsegv/README deleted file mode 100644 index 83a4a08cd4..0000000000 --- a/libraries/libsigsegv/README +++ /dev/null @@ -1,7 +0,0 @@ -libsigsegv is a library for handling page faults in user mode. A page fault -occurs when a program tries to access to a region of memory that is -currently not available. - -NOTE: -This overwrites /usr/include/sigsegv.h from clisp (included in Slackware), -but that should not cause any problems, as they are exactly the same. diff --git a/libraries/libsigsegv/libsigsegv.SlackBuild b/libraries/libsigsegv/libsigsegv.SlackBuild deleted file mode 100644 index 7a6403cc1e..0000000000 --- a/libraries/libsigsegv/libsigsegv.SlackBuild +++ /dev/null @@ -1,97 +0,0 @@ -#!/bin/sh - -# Slackware build script for libsigsegv - -# Copyright 2011, Niels Horn, Rio de Janeiro, RJ, Brazil -# 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. -# -# Maintained by David Spencer <baildon.research@googlemail.com> - -PRGNAM=libsigsegv -VERSION=${VERSION:-2.10} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 {} \; - -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --enable-shared=yes \ - --build=$ARCH-slackware-linux - -make -make install prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX} - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS PORTING README \ - $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/libsigsegv/libsigsegv.info b/libraries/libsigsegv/libsigsegv.info deleted file mode 100644 index 22029b43b4..0000000000 --- a/libraries/libsigsegv/libsigsegv.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libsigsegv" -VERSION="2.10" -HOMEPAGE="http://www.gnu.org/s/libsigsegv/" -DOWNLOAD="ftp://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.10.tar.gz" -MD5SUM="7f96fb1f65b3b8cbc1582fb7be774f0f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/libraries/libsigsegv/slack-desc b/libraries/libsigsegv/slack-desc deleted file mode 100644 index 889be417fd..0000000000 --- a/libraries/libsigsegv/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------------------------------------------------------| -libsigsegv: libsigsegv (handle page faults in user mode) -libsigsegv: -libsigsegv: libsigsegv is a library for handling page faults in user mode. A page -libsigsegv: fault occurs when a program tries to access to a region of memory that -libsigsegv: is currently not available. -libsigsegv: -libsigsegv: Homepage: http://www.gnu.org/s/libsigsegv/ -libsigsegv: -libsigsegv: -libsigsegv: -libsigsegv: diff --git a/libraries/libvpx/README b/libraries/libvpx/README deleted file mode 100644 index 2a2c085eea..0000000000 --- a/libraries/libvpx/README +++ /dev/null @@ -1,3 +0,0 @@ -VP8 is an open video codec, originally developed by On2 and released -as open source by Google Inc. It is the successor of the VP3 codec, -on which the Theora codec was based. diff --git a/libraries/libvpx/libvpx.info b/libraries/libvpx/libvpx.info deleted file mode 100644 index 085c74999a..0000000000 --- a/libraries/libvpx/libvpx.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libvpx" -VERSION="1.3.0" -HOMEPAGE="http://www.webmproject.org/" -DOWNLOAD="http://webm.googlecode.com/files/libvpx-v1.3.0.tar.bz2" -MD5SUM="14783a148872f2d08629ff7c694eb31f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Matteo Bernardini" -EMAIL="ponce@slackbuilds.org" diff --git a/libraries/libvpx/slack-desc b/libraries/libvpx/slack-desc deleted file mode 100644 index f8c2393246..0000000000 --- a/libraries/libvpx/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------------------------------------------------------| -libvpx: libvpx (VP8 video codec) -libvpx: -libvpx: VP8 is an open video codec, originally developed by On2 and released -libvpx: as open source by Google Inc. It is the successor of the VP3 codec, -libvpx: on which the Theora codec was based. -libvpx: -libvpx: Homepage: http://www.webmproject.org/ -libvpx: -libvpx: -libvpx: -libvpx: diff --git a/libraries/libwpg/libwpg.SlackBuild b/libraries/libwpg/libwpg.SlackBuild index 9ea2158d49..109daa987e 100644 --- a/libraries/libwpg/libwpg.SlackBuild +++ b/libraries/libwpg/libwpg.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libwpg -VERSION=${VERSION:-0.2.2} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libwpg/libwpg.info b/libraries/libwpg/libwpg.info index 1f8390b304..c9eeb12013 100644 --- a/libraries/libwpg/libwpg.info +++ b/libraries/libwpg/libwpg.info @@ -1,8 +1,8 @@ PRGNAM="libwpg" -VERSION="0.2.2" +VERSION="0.3.0" HOMEPAGE="http://libwpg.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/libwpg/libwpg-0.2.2.tar.bz2" -MD5SUM="b85436266b2ac91d351ab5684b181151" +DOWNLOAD="http://downloads.sourceforge.net/libwpg/libwpg-0.3.0.tar.bz2" +MD5SUM="17da9770cb8b317b7633f9807b32b71a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libxml++/libxml++.SlackBuild b/libraries/libxml++/libxml++.SlackBuild index 8658201231..806b20c2eb 100644 --- a/libraries/libxml++/libxml++.SlackBuild +++ b/libraries/libxml++/libxml++.SlackBuild @@ -7,7 +7,7 @@ # Updated by Diogo Leal<diogo@diogoleal.com> PRGNAM=libxml++ -VERSION=2.36.0 +VERSION=${VERSION:-2.38.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libxml++/libxml++.info b/libraries/libxml++/libxml++.info index 0c3eafa410..e162642805 100644 --- a/libraries/libxml++/libxml++.info +++ b/libraries/libxml++/libxml++.info @@ -1,8 +1,8 @@ PRGNAM="libxml++" -VERSION="2.36.0" +VERSION="2.38.1" HOMEPAGE="http://libxmlplusplus.sourceforge.net" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.36/libxml++-2.36.0.tar.xz" -MD5SUM="72838890c773f89ec701ba1a57cf0802" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.38/libxml++-2.38.1.tar.xz" +MD5SUM="6b16aac575725a9bc0e9d96489e9251f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="glibmm mm-common" diff --git a/libraries/lua-curl/README b/libraries/lua-curl/README new file mode 100644 index 0000000000..9a93e32abf --- /dev/null +++ b/libraries/lua-curl/README @@ -0,0 +1,8 @@ +lua-curl (lua curl library) + +The intent of Lua-cURL is to adapt the + * Easy Interface + * Multi Interface + * Shared Interface +of libcurl to the functionality of Lua (for example by using iterators +instead of callbacks when possible). diff --git a/libraries/lua-curl/liblua-curl.pc b/libraries/lua-curl/liblua-curl.pc new file mode 100644 index 0000000000..4b02e4caf7 --- /dev/null +++ b/libraries/lua-curl/liblua-curl.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +includedir=${prefix}/include +libdir=${exec_prefix}/lib/lua/5.1 + +Name: liblua-curl +Description: liblua-curl - libcurl binding to Lua +Version: 0.3.0 +Cflags: -I${includedir} +Libs: -L${libdir} -L/usr/lib -llua-curl -llua -lm + diff --git a/libraries/libvpx/libvpx.SlackBuild b/libraries/lua-curl/lua-curl.SlackBuild index 8a6a0affab..c39e255630 100644 --- a/libraries/libvpx/libvpx.SlackBuild +++ b/libraries/lua-curl/lua-curl.SlackBuild @@ -1,8 +1,7 @@ #!/bin/sh -# Slackware build script for libvpx - -# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Slackware build script for lua-curl +# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012 # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +21,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# based on slackbuilds.org default autotools-template - -# Modified by SlackBuilds.org - -PRGNAM=libvpx -VERSION=${VERSION:-1.3.0} +PRGNAM=lua-curl +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -47,64 +42,59 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" - ARCHOPTS="--target=x86-linux-gcc" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" - ARCHOPTS="--target=x86-linux-gcc" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" - ARCHOPTS="--target=x86_64-linux-gcc --enable-pic" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" - ARCHOPTS="--target=${ARCH}-linux-gcc" fi -set -e +set -e # Exit on most errors rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${PRGNAM}-v${VERSION} -tar xvf $CWD/${PRGNAM}-v${VERSION}.tar.bz2 -cd ${PRGNAM}-v${VERSION} +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/${PRGNAM}_${VERSION}.orig.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 \) \ +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 {} \; -# out of tree build -mkdir build-tmp -cd build-tmp - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - ../configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --disable-debug-libs \ - --disable-debug \ - --enable-postproc \ - --enable-vp8 \ - --enable-shared \ - --enable-runtime-cpu-detect \ - $ARCHOPTS - make - make install DESTDIR=$PKG -cd .. - -# remove the static version -rm $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM.a - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +# This is from Debian, thanks +patch -p1 < $CWD/make.patch + +sed -i \ + -e "s|usr/local/|usr|" \ + -e "s|lua5\.1|lua|" \ + -e "s|-Wall -O2|-Wall|" \ + -e "s|includedir)/lua|includedir)|" \ + -e "s|share/doc/curl|doc/curl-$VERSION|" \ + -e "s|/lib/|/lib$LIBDIRSUFFIX|" \ + -e "s|liblua5.1-curl|liblua-curl|" \ + -e "s|\ \$(shell getconf LFS_CFLAGS)|${SLKCFLAGS}|" \ + Makefile + +make +install -m 0755 -D curl.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/lib$PRGNAM.so +( cd $PKG/usr/lib$LIBDIRSUFFIX ; ln -s lua/5.1/lib$PRGNAM.so lib$PRGNAM.so.0 ) + +install -m 0644 -D $CWD/lib$PRGNAM.pc $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lib$PRGNAM.pc +install -m 0644 -D $PRGNAM.h $PKG/usr/include/$PRGNAM.h +sed -i "s|/lib|/lib$LIBDIRSUFFIX|" $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lib$PRGNAM.pc + +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGELOG LICENSE PATENTS README build-tmp/docs/html \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a doc/curl.html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/lua-curl/lua-curl.info b/libraries/lua-curl/lua-curl.info new file mode 100644 index 0000000000..d441fcff18 --- /dev/null +++ b/libraries/lua-curl/lua-curl.info @@ -0,0 +1,10 @@ +PRGNAM="lua-curl" +VERSION="0.3.0" +HOMEPAGE="http://msva.github.com/lua-curl/" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lua-curl_0.3.0.orig.tar.gz" +MD5SUM="2a174d81bcfa7d663406b633195f2e89" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="lua" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/lua-curl/make.patch b/libraries/lua-curl/make.patch new file mode 100644 index 0000000000..441e62e1cb --- /dev/null +++ b/libraries/lua-curl/make.patch @@ -0,0 +1,17 @@ +Author: Enrico Tassi <gareuselesinge@debian.org> +Description: fix regex to get auth options from curl.h +Index: lua-curl-0.3.0/Makefile +=================================================================== +--- lua-curl-0.3.0.orig/Makefile 2008-10-25 17:26:26.000000000 +0200 ++++ lua-curl-0.3.0/Makefile 2012-05-30 21:57:54.000000000 +0200 +@@ -119,8 +119,8 @@ + > curl_netrcopt.h + + curl_authopt.h:$(HEADER) +- $(H)cat $(HEADER) | grep "CURLAUTH_" | \ +- sed "s/#define *CURL/{\"/" | sed "s/ *\/\*.*\*\///" | \ ++ $(H)cat $(HEADER) | grep "define *CURLAUTH_" | \ ++ sed "s/#define *CURL/{\"/" | sed "s/ *\/\*.*//" | \ + sed "s/ /\",/" | sed "s/$$/},/" > curl_authopt.h + + curl_ftpauthopt.h:$(HEADER) diff --git a/libraries/lua-curl/slack-desc b/libraries/lua-curl/slack-desc new file mode 100644 index 0000000000..8c19468350 --- /dev/null +++ b/libraries/lua-curl/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------------------------------------------------------| +lua-curl: lua-curl (lua curl library) +lua-curl: +lua-curl: The intent of Lua-cURL is to adapt the +lua-curl: * Easy Interface +lua-curl: * Multi Interface +lua-curl: * Shared Interface +lua-curl: of libcurl to the functionality of Lua (for example by using +lua-curl: iterators instead of callbacks when possible). +lua-curl: +lua-curl: homepage: http://msva.github.com/lua-curl/ +lua-curl: diff --git a/libraries/motif/README b/libraries/motif/README deleted file mode 100644 index 994cd2c7da..0000000000 --- a/libraries/motif/README +++ /dev/null @@ -1,13 +0,0 @@ -Motif is the freely available source code distribution for the Motif -user interface component toolkit. Motif is built on top of the standard -X Toolkit(Xt) and X11 libraries. - -This the first motif version that is released under LGPL v2.1. - -Postscript and PDF Documents (users guides and reference manuals) could be -downloaded at: http://www.opengroup.org/openmotif/docs/ - -This conflicts with the lesstif package that comes with Slackware; in other -words, only one should be installed at any given time. You will need to -recompile xpdf and any lesstif-dependent packages if you encounter problems -running them after installing motif. diff --git a/libraries/motif/motif.SlackBuild b/libraries/motif/motif.SlackBuild deleted file mode 100644 index eb65759cd8..0000000000 --- a/libraries/motif/motif.SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -# Slackware build script for motif -# Written by Vincent Batts, vbatts@batts.mine.nu -# Modified by Zhu Qun-Ying, zhu.qunying@gmail.com for motif -# Modified by SlackBuilds.org - -PRGNAM=motif -VERSION=2.3.4 -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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-src.tgz -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; || exit 1 - -./autogen.sh - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --enable-themes \ - --disable-static \ - --build=$ARCH-slackware-linux - -make -j1 -make install DESTDIR=$PKG - -# Let's not conflict with some already installed stuff in other packages -mv $PKG/usr/man/man3/Shell.3 $PKG/usr/man/man3/Shell.motif.3 - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - INSTALL* BUGREPORT ChangeLog COPYING README RELNOTES RELEASE \ - $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/motif/motif.info b/libraries/motif/motif.info deleted file mode 100644 index 12246603ce..0000000000 --- a/libraries/motif/motif.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="motif" -VERSION="2.3.4" -HOMEPAGE="http://motif.ics.com/motif" -DOWNLOAD="http://download.sourceforge.net/motif/motif-2.3.4-src.tgz" -MD5SUM="612bb8127d0d31da6e5474edf8a5c247" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="%README%" -MAINTAINER="Zhu Qun-Ying" -EMAIL="zhu.qunying@gmail.com" diff --git a/libraries/motif/slack-desc b/libraries/motif/slack-desc deleted file mode 100644 index 7cac7dbfbf..0000000000 --- a/libraries/motif/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------------------------------------------------------| -motif: Motif (X libraries) -motif: -motif: Motif is the freely available source code distribution for the -motif: Motif user interface component toolkit. Motif is built on top -motif: of the standard X Toolkit(Xt) and X11 libraries. -motif: -motif: Postscript and PDF Documents (users guides and reference manuals) -motif: could be downloaded at: http://www.opengroup.org/openmotif/docs/ -motif: -motif: Homepage: http://motif.ics.com/motif -motif: diff --git a/libraries/newt/README b/libraries/newt/README deleted file mode 100644 index d8f818fe11..0000000000 --- a/libraries/newt/README +++ /dev/null @@ -1,4 +0,0 @@ -Newt is a programming library for color text mode, widget based user -interfaces. Newt can be used to add stacked windows, entry widgets, -checkboxes, radio buttons, labels, plain text fields, scrollbars, etc., to -text mode user interfaces. Newt is based on the S-Lang library. diff --git a/libraries/newt/newt.SlackBuild b/libraries/newt/newt.SlackBuild deleted file mode 100644 index 3c30ab2e28..0000000000 --- a/libraries/newt/newt.SlackBuild +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh - -# Slackware build script for Newt. -# -# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> -# 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=newt -VERSION=${VERSION:-0.52.16} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -DOCS="CHANGES COPYING" - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Use our CFLAGS also when building the python snackmodule -sed -i "s|PIFLAGS\ \$\$PCFLAGS|PIFLAGS \$\$PCFLAGS ${SLKCFLAGS}|" Makefile.in - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --build=$ARCH-slackware-linux - -make -make install instroot=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/newt/newt.info b/libraries/newt/newt.info deleted file mode 100644 index b0c95526c3..0000000000 --- a/libraries/newt/newt.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="newt" -VERSION="0.52.16" -HOMEPAGE="https://fedorahosted.org/newt/" -DOWNLOAD="https://fedorahosted.org/releases/n/e/newt/newt-0.52.16.tar.gz" -MD5SUM="6ce923015cf87ef2c17779d24692f573" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Marco Bonetti" -EMAIL="sid77@slackware.it" diff --git a/libraries/newt/slack-desc b/libraries/newt/slack-desc deleted file mode 100644 index 58acda21ed..0000000000 --- a/libraries/newt/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------------------------------------------------------| -newt: Newt (graphic library) -newt: -newt: Newt is a programming library for color text mode, widget based user -newt: interfaces. -newt: -newt: -newt: -newt: -newt: -newt: https://fedorahosted.org/newt/ -newt: diff --git a/libraries/openjpeg/README b/libraries/openjpeg1/README index 4ebcb4a5fc..4ebcb4a5fc 100644 --- a/libraries/openjpeg/README +++ b/libraries/openjpeg1/README diff --git a/libraries/openjpeg/openjpeg.SlackBuild b/libraries/openjpeg1/openjpeg1.SlackBuild index 1c0cd23d05..f39bf8a044 100644 --- a/libraries/openjpeg/openjpeg.SlackBuild +++ b/libraries/openjpeg1/openjpeg1.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for openjpeg +# Slackware build script for openjpeg1 # Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. @@ -22,7 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=openjpeg +PRGNAM=openjpeg1 +SRCNAM=openjpeg VERSION=1.5.2 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +60,9 @@ 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 +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -93,9 +94,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mkdir -p $PKG/usr/doc/$SRCNAM-$VERSION +cp -a INSTALL README $PKG/usr/doc/$SRCNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$SRCNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/openjpeg/openjpeg.info b/libraries/openjpeg1/openjpeg1.info index e3d786e152..2dc033fe7a 100644 --- a/libraries/openjpeg/openjpeg.info +++ b/libraries/openjpeg1/openjpeg1.info @@ -1,4 +1,4 @@ -PRGNAM="openjpeg" +PRGNAM="openjpeg1" VERSION="1.5.2" HOMEPAGE="http://www.openjpeg.org" DOWNLOAD="http://downloads.sourceforge.net/openjpeg.mirror/openjpeg-1.5.2.tar.gz" diff --git a/libraries/openjpeg/slack-desc b/libraries/openjpeg1/slack-desc index 6f73ab7929..416bd92506 100644 --- a/libraries/openjpeg/slack-desc +++ b/libraries/openjpeg1/slack-desc @@ -5,15 +5,15 @@ # 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------------------------------------------------------| -openjpeg: openjpeg (JPEG2000 Codec) -openjpeg: -openjpeg: The OpenJPEG library is an open-source JPEG 2000 codec. -openjpeg: -openjpeg: Homepage: http://www.openjpeg.org -openjpeg: -openjpeg: -openjpeg: -openjpeg: -openjpeg: -openjpeg: + |-----handy-ruler------------------------------------------------------| +openjpeg1: openjpeg1 (JPEG2000 Codec) +openjpeg1: +openjpeg1: The OpenJPEG library is an open-source JPEG 2000 codec. +openjpeg1: +openjpeg1: Homepage: http://www.openjpeg.org +openjpeg1: +openjpeg1: +openjpeg1: +openjpeg1: +openjpeg1: +openjpeg1: diff --git a/libraries/openjpeg2/README b/libraries/openjpeg2/README deleted file mode 100644 index b3ec3850c5..0000000000 --- a/libraries/openjpeg2/README +++ /dev/null @@ -1,6 +0,0 @@ -openjpeg2 (open-source JPEG 2000 codec) - -The OpenJPEG library is an open-source JPEG 2000 codec. This is version -2.x of OpenJPEG, which is API-incompatible with the 1.x series. For the -1.x API, install the openjpeg build. Both openjpeg and openjpeg2 can be -installed on the same system with no conflicts. diff --git a/libraries/openjpeg2/openjpeg2.SlackBuild b/libraries/openjpeg2/openjpeg2.SlackBuild deleted file mode 100644 index 6a33d97b70..0000000000 --- a/libraries/openjpeg2/openjpeg2.SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -# Slackware build script for openjpeg2 - -# Written by B. Watson (yalhcru@gmail.com) - -# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. - -PRGNAM=openjpeg2 -VERSION=${VERSION:-2.1.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 - -TARNAM=openjpeg - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $TARNAM-$VERSION -tar xvf $CWD/$TARNAM-$VERSION.tar.gz -cd $TARNAM-$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 {} \; - -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DOPENJPEG_INSTALL_LIB_DIR=lib$LIBDIRSUFFIX \ - -DOPENJPEG_INSTALL_MAN_DIR=man \ - -DOPENJPEG_INSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \ - -DCMAKE_BUILD_TYPE=Release .. - make - make install/strip DESTDIR=$PKG -cd .. - -# 2.0.0 installed the man pages, for some reason 2.1.0 doesn't. -cd doc/man - for dir in man?; do - mkdir -p $PKG/usr/man/$dir - for page in $dir/*.?; do - gzip -9c < $page > $PKG/usr/man/$dir/$( basename $page ).gz - done - done -cd - - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGES LICENSE NEWS README THANKS $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/openjpeg2/openjpeg2.info b/libraries/openjpeg2/openjpeg2.info deleted file mode 100644 index 31dc2d6d33..0000000000 --- a/libraries/openjpeg2/openjpeg2.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="openjpeg2" -VERSION="2.1.0" -HOMEPAGE="http://www.openjpeg.org/" -DOWNLOAD="http://downloads.sourceforge.net/project/openjpeg.mirror/2.1.0/openjpeg-2.1.0.tar.gz" -MD5SUM="f6419fcc233df84f9a81eb36633c6db6" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" diff --git a/libraries/openjpeg2/slack-desc b/libraries/openjpeg2/slack-desc deleted file mode 100644 index dc4f697226..0000000000 --- a/libraries/openjpeg2/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------------------------------------------------------| -openjpeg2: openjpeg2 (open-source JPEG 2000 codec) -openjpeg2: -openjpeg2: The OpenJPEG library is an open-source JPEG 2000 codec. This is -openjpeg2: version 2.x of OpenJPEG, which is API-incompatible with the 1.x -openjpeg2: series. For the 1.x API, install the openjpeg build. Both openjpeg -openjpeg2: and openjpeg2 can be installed on the same system with no conflicts. -openjpeg2: -openjpeg2: -openjpeg2: -openjpeg2: -openjpeg2: diff --git a/libraries/pangomm/pangomm.SlackBuild b/libraries/pangomm/pangomm.SlackBuild index f4a9bd3254..487fca0340 100644 --- a/libraries/pangomm/pangomm.SlackBuild +++ b/libraries/pangomm/pangomm.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pangomm -VERSION=${VERSION:-2.34.0} +VERSION=${VERSION:-2.36.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/pangomm/pangomm.info b/libraries/pangomm/pangomm.info index c4b3152f9d..dfcffbba84 100644 --- a/libraries/pangomm/pangomm.info +++ b/libraries/pangomm/pangomm.info @@ -1,8 +1,8 @@ PRGNAM="pangomm" -VERSION="2.34.0" +VERSION="2.36.0" HOMEPAGE="http://www.gtkmm.org/" -DOWNLOAD="http://ftp.acc.umu.se/pub/gnome/sources/pangomm/2.34/pangomm-2.34.0.tar.xz" -MD5SUM="2c702caede167323c9ed9eed2b933098" +DOWNLOAD="http://ftp.acc.umu.se/pub/gnome/sources/pangomm/2.36/pangomm-2.36.0.tar.xz" +MD5SUM="62910723211d86ab825b666b479871c9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cairomm" diff --git a/libraries/php-pgsql/php-pgsql.SlackBuild b/libraries/php-pgsql/php-pgsql.SlackBuild index da79da23ef..e903190e94 100644 --- a/libraries/php-pgsql/php-pgsql.SlackBuild +++ b/libraries/php-pgsql/php-pgsql.SlackBuild @@ -24,7 +24,7 @@ SRCNAM=php PRGNAM=php-pgsql -VERSION=5.4.34 +VERSION=${VERSION:-5.6.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/php-pgsql/php-pgsql.info b/libraries/php-pgsql/php-pgsql.info index 87b17ec18d..9cf67cadb2 100644 --- a/libraries/php-pgsql/php-pgsql.info +++ b/libraries/php-pgsql/php-pgsql.info @@ -1,8 +1,8 @@ PRGNAM="php-pgsql" -VERSION="5.4.34" +VERSION="5.6.11" HOMEPAGE="http://php.net/manual/en/book.pgsql.php" -DOWNLOAD="https://php.net/distributions/php-5.4.34.tar.bz2" -MD5SUM="1afe3a10cefec9618acb785ef5064bf9" +DOWNLOAD="https://php.net/distributions/php-5.6.11.tar.bz2" +MD5SUM="a0c842c1d30fedbe972e1556ae9cee27" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgresql" diff --git a/libraries/ptlib/ptlib-2.10.10-mga-bison-parameter.patch b/libraries/ptlib/ptlib-2.10.10-mga-bison-parameter.patch new file mode 100644 index 0000000000..fcc8d0d2e7 --- /dev/null +++ b/libraries/ptlib/ptlib-2.10.10-mga-bison-parameter.patch @@ -0,0 +1,39 @@ +--- ptlib-2.10.11/./src/ptlib/common/getdate.y 2013-08-15 01:20:26.000000000 +0200 ++++ /mnt/chroot/cauldron/home/dan/rpm/BUILD/ptlib-2.10.11/src/ptlib/common/getdate.y 2013-12-15 00:24:27.866481490 +0100 +@@ -121,9 +121,9 @@ + static int yylex(); + + #ifdef __GNUC__ +-static int yyerror(char const *msg); ++static int yyerror(void *, char const *msg); + #else +-static void yyerror(char const *msg); ++static void yyerror(void *, char const *msg); + #endif + + +@@ -132,7 +132,8 @@ + + %} + +-%pure_parser ++%pure-parser ++%parse-param {void *parseParam} + + %union { + time_t Number; +@@ -1018,12 +1019,12 @@ + #endif + + #ifdef __GNUC__ +-int yyerror(const char * s) ++int yyerror(void *var, const char * s) + { + return 0; + } + #else +-static void yyerror(const char * s) ++static void yyerror(void *var, const char * s) + { + } + #endif diff --git a/libraries/ptlib/ptlib.SlackBuild b/libraries/ptlib/ptlib.SlackBuild index 4a837a394d..c5ff9be601 100644 --- a/libraries/ptlib/ptlib.SlackBuild +++ b/libraries/ptlib/ptlib.SlackBuild @@ -67,6 +67,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix building with bison-3.0.4 +# thanks to Dan Fandrich / OpalVOIP https://sourceforge.net/p/opalvoip/patches/259/ +patch -p1 < $CWD/ptlib-2.10.10-mga-bison-parameter.patch + # The "LIBS" variable is set to fix OpenLDAP support # # The --disable-avc is here to avoid build problems when both libdv and diff --git a/libraries/qt3/qt3-libpng14.diff b/libraries/qt3/qt3-libpng14.diff deleted file mode 100644 index c568dd0c4d..0000000000 --- a/libraries/qt3/qt3-libpng14.diff +++ /dev/null @@ -1,41 +0,0 @@ -http://groups.google.com/group/lucky.freebsd.ports.bugs/browse_thread/thread/a4a95255567dedfc - -System: FreeBSD elch.exwg.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #8: Sat Feb 20 21:36:50 CET 2010 c...@elch.exwg.net:/usr/obj/usr/src/sys/CMT amd64 - - png-1.4.1 - qt-3.3.8_11 (upgrading to qt-3.3.8_12) - ->Description: - - Build of x11-toolkits/qt33 fails due to the changed struct png_info - in libpng-1.4: - kernel/qpngio.cpp:162: error: 'struct png_info_struct' has no member named 'trans_values' - ->How-To-Repeat: - run portupgrade ->Fix: - - Add x11-toolkits/qt33/files/patch-src-kernel-qpngio.cpp - (also available at http://burggraben.net/hacks/patch-src-kernel-qpngio.cpp ) - ---- src/kernel/qpngio.cpp.orig 2010-03-28 12:55:28.000000000 +0200 -+++ src/kernel/qpngio.cpp 2010-03-28 12:56:44.000000000 +0200 -@@ -159,7 +159,7 @@ - image.setColor( i, qRgba(c,c,c,0xff) ); - } - if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) { -- const int g = info_ptr->trans_values.gray; -+ const int g = info_ptr->trans_color.gray; - if (g < ncols) { - image.setAlphaBuffer(TRUE); - image.setColor(g, image.color(g) & RGB_MASK); -@@ -187,7 +187,7 @@ - info_ptr->palette[i].red, - info_ptr->palette[i].green, - info_ptr->palette[i].blue, -- info_ptr->trans[i] -+ info_ptr->trans_alpha[i] - ) - ); - i++; - diff --git a/libraries/qt3/qt3-png15.patch b/libraries/qt3/qt3-png15.patch new file mode 100644 index 0000000000..e64fea36a4 --- /dev/null +++ b/libraries/qt3/qt3-png15.patch @@ -0,0 +1,212 @@ +$NetBSD: patch-as,v 1.5 2011/03/25 15:28:26 wiz Exp $ + +--- src/kernel/qpngio.cpp.orig 2007-02-02 10:01:15.000000000 -0400 ++++ src/kernel/qpngio.cpp +@@ -43,6 +43,7 @@ + #include "qiodevice.h" + + #include <png.h> ++#include <zlib.h> + + + #ifdef Q_OS_TEMP +@@ -123,9 +124,24 @@ void setup_qt( QImage& image, png_struct + png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, + 0, 0, 0); + ++ png_colorp info_ptr_palette = NULL; ++ int info_ptr_num_palette = 0; ++ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE)) { ++ png_get_PLTE(png_ptr, info_ptr, &info_ptr_palette, &info_ptr_num_palette); ++ } ++ ++ png_bytep info_ptr_trans_alpha = NULL; ++ int info_ptr_num_trans = 0; ++ png_color_16p info_ptr_trans_color = NULL; ++ ++ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) { ++ png_get_tRNS(png_ptr, info_ptr, &info_ptr_trans_alpha, &info_ptr_num_trans, &info_ptr_trans_color); ++ } ++ ++ + if ( color_type == PNG_COLOR_TYPE_GRAY ) { + // Black & White or 8-bit grayscale +- if ( bit_depth == 1 && info_ptr->channels == 1 ) { ++ if ( bit_depth == 1 && png_get_channels(png_ptr, info_ptr) == 1 ) { + png_set_invert_mono( png_ptr ); + png_read_update_info( png_ptr, info_ptr ); + if (!image.create( width, height, 1, 2, QImage::BigEndian )) +@@ -159,7 +175,7 @@ void setup_qt( QImage& image, png_struct + image.setColor( i, qRgba(c,c,c,0xff) ); + } + if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) { +- const int g = info_ptr->trans_values.gray; ++ const int g = info_ptr_trans_color->gray; + if (g < ncols) { + image.setAlphaBuffer(TRUE); + image.setColor(g, image.color(g) & RGB_MASK); +@@ -168,7 +184,7 @@ void setup_qt( QImage& image, png_struct + } + } else if ( color_type == PNG_COLOR_TYPE_PALETTE + && png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE) +- && info_ptr->num_palette <= 256 ) ++ && info_ptr_num_palette <= 256 ) + { + // 1-bit and 8-bit color + if ( bit_depth != 1 ) +@@ -176,28 +192,28 @@ void setup_qt( QImage& image, png_struct + png_read_update_info( png_ptr, info_ptr ); + png_get_IHDR(png_ptr, info_ptr, + &width, &height, &bit_depth, &color_type, 0, 0, 0); +- if (!image.create(width, height, bit_depth, info_ptr->num_palette, ++ if (!image.create(width, height, bit_depth, info_ptr_num_palette, + QImage::BigEndian)) + return; + int i = 0; + if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) { + image.setAlphaBuffer( TRUE ); +- while ( i < info_ptr->num_trans ) { ++ while ( i < info_ptr_num_trans ) { + image.setColor(i, qRgba( +- info_ptr->palette[i].red, +- info_ptr->palette[i].green, +- info_ptr->palette[i].blue, +- info_ptr->trans[i] ++ info_ptr_palette[i].red, ++ info_ptr_palette[i].green, ++ info_ptr_palette[i].blue, ++ info_ptr_trans_alpha[i] + ) + ); + i++; + } + } +- while ( i < info_ptr->num_palette ) { ++ while ( i < info_ptr_num_palette ) { + image.setColor(i, qRgba( +- info_ptr->palette[i].red, +- info_ptr->palette[i].green, +- info_ptr->palette[i].blue, ++ info_ptr_palette[i].red, ++ info_ptr_palette[i].green, ++ info_ptr_palette[i].blue, + 0xff + ) + ); +@@ -284,7 +300,7 @@ void read_png_image(QImageIO* iio) + return; + } + +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); + iio->setStatus(-4); + return; +@@ -469,7 +485,7 @@ bool QPNGImageWriter::writeImage(const Q + return FALSE; + } + +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + png_destroy_write_struct(&png_ptr, &info_ptr); + return FALSE; + } +@@ -491,10 +507,16 @@ bool QPNGImageWriter::writeImage(const Q + + png_set_write_fn(png_ptr, (void*)this, qpiw_write_fn, qpiw_flush_fn); + ++#warning XXXtnn not too sure about this ++/* ++according to png.h, channels is only used on read, not writes, so we ++should be able to comment this out. ++ + info_ptr->channels = + (image.depth() == 32) + ? (image.hasAlphaBuffer() ? 4 : 3) + : 1; ++*/ + + png_set_IHDR(png_ptr, info_ptr, image.width(), image.height(), + image.depth() == 1 ? 1 : 8 /* per channel */, +@@ -504,11 +526,12 @@ bool QPNGImageWriter::writeImage(const Q + : PNG_COLOR_TYPE_RGB + : PNG_COLOR_TYPE_PALETTE, 0, 0, 0); + ++ png_color_8 sig_bit; ++ sig_bit.red = 8; ++ sig_bit.green = 8; ++ sig_bit.blue = 8; ++ png_set_sBIT(png_ptr, info_ptr, &sig_bit); + +- //png_set_sBIT(png_ptr, info_ptr, 8); +- info_ptr->sig_bit.red = 8; +- info_ptr->sig_bit.green = 8; +- info_ptr->sig_bit.blue = 8; + + if (image.depth() == 1 && image.bitOrder() == QImage::LittleEndian) + png_set_packswap(png_ptr); +@@ -522,11 +545,14 @@ bool QPNGImageWriter::writeImage(const Q + png_set_PLTE(png_ptr, info_ptr, palette, num_palette); + int* trans = new int[num_palette]; + int num_trans = 0; ++ png_colorp info_ptr_palette = NULL; ++ int tmp; ++ png_get_PLTE(png_ptr, info_ptr, &info_ptr_palette, &tmp); + for (int i=0; i<num_palette; i++) { + QRgb rgb=image.color(i); +- info_ptr->palette[i].red = qRed(rgb); +- info_ptr->palette[i].green = qGreen(rgb); +- info_ptr->palette[i].blue = qBlue(rgb); ++ info_ptr_palette[i].red = qRed(rgb); ++ info_ptr_palette[i].green = qGreen(rgb); ++ info_ptr_palette[i].blue = qBlue(rgb); + if (image.hasAlphaBuffer()) { + trans[i] = rgb >> 24; + if (trans[i] < 255) { +@@ -534,6 +560,7 @@ bool QPNGImageWriter::writeImage(const Q + } + } + } ++ png_set_PLTE(png_ptr, info_ptr, info_ptr_palette, num_palette); + if (num_trans) { + copy_trans = new png_byte[num_trans]; + for (int i=0; i<num_trans; i++) +@@ -544,7 +571,10 @@ bool QPNGImageWriter::writeImage(const Q + } + + if ( image.hasAlphaBuffer() ) { +- info_ptr->sig_bit.alpha = 8; ++ png_color_8p sig_bit; ++ png_get_sBIT(png_ptr, info_ptr, &sig_bit); ++ sig_bit->alpha = 8; ++ png_set_sBIT(png_ptr, info_ptr, sig_bit); + } + + // Swap ARGB to RGBA (normal PNG format) before saving on +@@ -1030,7 +1060,7 @@ int QPNGFormat::decode(QImage& img, QIma + return -1; + } + +- if (setjmp((png_ptr)->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + png_destroy_read_struct(&png_ptr, &info_ptr, 0); + image = 0; + return -1; +@@ -1057,7 +1087,7 @@ int QPNGFormat::decode(QImage& img, QIma + + if ( !png_ptr ) return 0; + +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + png_destroy_read_struct(&png_ptr, &info_ptr, 0); + image = 0; + state = MovieStart; +@@ -1117,7 +1147,7 @@ void QPNGFormat::end(png_structp png, pn + consumer->frameDone(QPoint(offx,offy),r); + consumer->end(); + state = FrameStart; +- unused_data = (int)png->buffer_size; // Since libpng doesn't tell us ++ unused_data = png_process_data_pause(png, 0); + } + + #ifdef PNG_USER_CHUNKS_SUPPORTED diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild index 403f302353..ef6f5f62f6 100644 --- a/libraries/qt3/qt3.SlackBuild +++ b/libraries/qt3/qt3.SlackBuild @@ -87,8 +87,8 @@ sed -i "/#define QT_BUILTIN_GIF_READER/s|0|1|" src/kernel/qgif.h # Fix location of mysql.h sed -i "s|mysql\.h|mysql/mysql\.h|" src/sql/drivers/mysql/qsql_mysql.h -# Build with libpng 1.4+: -patch -lp0 < $CWD/qt3-libpng14.diff +# Build with libpng 1.5+ (patch from Arch Linux) +patch -lp0 < $CWD/qt3-png15.patch # Patch for gcc-4.7+ (based on info from LFS) patch -p1 < $CWD/qt3_gcc47.patch diff --git a/libraries/qtmimetypes/README b/libraries/qtmimetypes/README new file mode 100644 index 0000000000..af82a375a4 --- /dev/null +++ b/libraries/qtmimetypes/README @@ -0,0 +1 @@ +Mimetype library for Qt4. diff --git a/libraries/QtGStreamer/QtGStreamer.SlackBuild b/libraries/qtmimetypes/qtmimetypes.SlackBuild index 7220576c6a..61ff2502d8 100644 --- a/libraries/QtGStreamer/QtGStreamer.SlackBuild +++ b/libraries/qtmimetypes/qtmimetypes.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for QtGStreamer +# Slackware build script for qtmimetypes -# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,9 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=QtGStreamer -SRCNAM=qt-gstreamer -VERSION=${VERSION:-0.10.3} +PRGNAM=qtmimetypes +SRCNAM=mimetypes +VERSION=${VERSION:-20140903_123e525} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,7 +38,7 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$SRCNAM +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then @@ -55,13 +55,15 @@ else LIBDIRSUFFIX="" fi +DOCS="LICENSE.LGPL TODO.txt" + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -70,22 +72,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release .. - make - make install DESTDIR=$PKG -cd .. +sed -i "s|/lib$|/lib$LIBDIRSUFFIX|" mimetypes-nolibs.pri +export CXXFLAGS="$SLKCFLAGS" +qmake +make +make INSTALL_ROOT=$PKG install 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING HACKING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/qtmimetypes/qtmimetypes.info b/libraries/qtmimetypes/qtmimetypes.info new file mode 100644 index 0000000000..1a31f70f8f --- /dev/null +++ b/libraries/qtmimetypes/qtmimetypes.info @@ -0,0 +1,10 @@ +PRGNAM="qtmimetypes" +VERSION="20140903_123e525" +HOMEPAGE="https://qt.gitorious.org/qtplayground/mimetypes" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/mimetypes-20140903_123e525.tar.xz" +MD5SUM="ddabb754a9af0e293e014f10bfdb0ff5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/QtGStreamer/slack-desc b/libraries/qtmimetypes/slack-desc index 8b713af382..ae20d67c6a 100644 --- a/libraries/QtGStreamer/slack-desc +++ b/libraries/qtmimetypes/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -QtGStreamer: QtGStreamer (C++ Bindings for GStreamer) -QtGStreamer: -QtGStreamer: QtGStreamer provides C++ bindings for GStreamer with a Qt-style API -QtGStreamer: plus some helper classes for integrating GStreamer better in -QtGStreamer: Qt applications. -QtGStreamer: -QtGStreamer: Homepage: http://gstreamer.freedesktop.org -QtGStreamer: -QtGStreamer: -QtGStreamer: -QtGStreamer: +qtmimetypes: qtmimetypes (qt4 mimetypes) +qtmimetypes: +qtmimetypes: Mimetype library for Qt4. +qtmimetypes: +qtmimetypes: homepage: https://qt.gitorious.org/qtplayground/mimetypes +qtmimetypes: +qtmimetypes: +qtmimetypes: +qtmimetypes: +qtmimetypes: +qtmimetypes: diff --git a/libraries/rest/rest.SlackBuild b/libraries/rest/rest.SlackBuild index b3fdccfed0..feb18be0d3 100644 --- a/libraries/rest/rest.SlackBuild +++ b/libraries/rest/rest.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=rest -VERSION=${VERSION:-0.7.91} +VERSION=${VERSION:-0.7.93} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/rest/rest.info b/libraries/rest/rest.info index ccfef591c5..e5151279bd 100644 --- a/libraries/rest/rest.info +++ b/libraries/rest/rest.info @@ -1,8 +1,8 @@ PRGNAM="rest" -VERSION="0.7.91" +VERSION="0.7.93" HOMEPAGE="http://www.gtk.org/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/rest/0.7/rest-0.7.91.tar.xz" -MD5SUM="abd6211788b9b8dac432a26767099a27" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/rest/0.7/rest-0.7.93.tar.xz" +MD5SUM="1c276e7808edf8e2e49ed854f741cd40" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/suil/suil.SlackBuild b/libraries/suil/suil.SlackBuild index 4f0d072fbe..95aa37a684 100644 --- a/libraries/suil/suil.SlackBuild +++ b/libraries/suil/suil.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for suil -# Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2012-2015 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=suil -VERSION=${VERSION:-0.8.0} +VERSION=${VERSION:-0.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,7 +65,7 @@ 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 {} \; diff --git a/libraries/suil/suil.info b/libraries/suil/suil.info index e2ca7d3ec9..e8d45badc4 100644 --- a/libraries/suil/suil.info +++ b/libraries/suil/suil.info @@ -1,8 +1,8 @@ PRGNAM="suil" -VERSION="0.8.0" +VERSION="0.8.2" HOMEPAGE="http://drobilla.net/software/suil/" -DOWNLOAD="http://download.drobilla.net/suil-0.8.0.tar.bz2" -MD5SUM="8b6039593b2b8d6838b3b29e36874c1c" +DOWNLOAD="http://download.drobilla.net/suil-0.8.2.tar.bz2" +MD5SUM="1b06947b1fc028f9ffcbc16d30065aa5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lv2" diff --git a/libraries/t4k_common/libpng.patch b/libraries/t4k_common/libpng.patch new file mode 100644 index 0000000000..c6d66c0877 --- /dev/null +++ b/libraries/t4k_common/libpng.patch @@ -0,0 +1,17 @@ +diff -u -r t4k_common-0.1.1/src/t4k_loaders.c t4k_common-0.1.1-patched/src/t4k_loaders.c +--- t4k_common-0.1.1/src/t4k_loaders.c 2011-04-08 03:46:07.000000000 +0100 ++++ t4k_common-0.1.1-patched/src/t4k_loaders.c 2015-08-04 01:37:04.120998907 +0100 +@@ -1028,12 +1028,7 @@ + { + png_init_io(png_ptr, fi); + +- info_ptr->width = surf->w; +- info_ptr->height = surf->h; +- info_ptr->bit_depth = 8; +- info_ptr->color_type = PNG_COLOR_TYPE_RGB_ALPHA; +- info_ptr->interlace_type = 1; +- info_ptr->valid = 0; /* will be updated by various png_set_FOO() functions */ ++ png_set_IHDR(png_ptr, info_ptr, surf->w, surf->h, 8, PNG_COLOR_TYPE_RGB_ALPHA, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); + + png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr, + PNG_sRGB_INTENT_PERCEPTUAL); diff --git a/libraries/t4k_common/t4k_common.SlackBuild b/libraries/t4k_common/t4k_common.SlackBuild index 2975a8ff48..9fb0cad487 100644 --- a/libraries/t4k_common/t4k_common.SlackBuild +++ b/libraries/t4k_common/t4k_common.SlackBuild @@ -51,6 +51,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Patch for libpng16 (-current) (from Debian) +patch -p1 < $CWD/libpng.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/uriparser/README b/libraries/uriparser/README new file mode 100644 index 0000000000..bf3888be17 --- /dev/null +++ b/libraries/uriparser/README @@ -0,0 +1,3 @@ +uriparser is a strictly RFC 3986 compliant URI parsing and handling +library written in C. uriparser is cross-platform, fast, supports +Unicode and is licensed under the New BSD license. diff --git a/libraries/libdvdnav/slack-desc b/libraries/uriparser/slack-desc index a3ab05694f..eb9277b85f 100644 --- a/libraries/libdvdnav/slack-desc +++ b/libraries/uriparser/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -libdvdnav: libdvdnav (DVD Navigation Library) -libdvdnav: -libdvdnav: This is mplayer's fork of libdvdnav. libdvdnav is a library that -libdvdnav: allows easy use of sophisticated DVD navigation features such as -libdvdnav: DVD menus, multiangle playback, and even interactive DVD games. -libdvdnav: -libdvdnav: Homepage: http://www.mplayerhq.hu/design7/news.html -libdvdnav: -libdvdnav: -libdvdnav: -libdvdnav: +uriparser: uriparser (URI parsing library) +uriparser: +uriparser: uriparser is a strictly RFC 3986 compliant URI parsing and handling +uriparser: library written in C. uriparser is cross-platform, fast, supports +uriparser: Unicode and is licensed under the New BSD license. +uriparser: +uriparser: homepage: http://uriparser.sourceforge.net +uriparser: +uriparser: +uriparser: +uriparser: diff --git a/libraries/gst1-plugins-good/gst1-plugins-good.SlackBuild b/libraries/uriparser/uriparser.SlackBuild index f9410eb3bf..7859fb2c72 100644 --- a/libraries/gst1-plugins-good/gst1-plugins-good.SlackBuild +++ b/libraries/uriparser/uriparser.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for gst1-plugins-good +# Slackware build script for uriparser -# Copyright 2013-2015 Robby Workman, Tuscaloosa, Alabama, USA +# Copyright 2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,13 +22,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=gst1-plugins-good -VERSION=${VERSION:-1.4.5} +PRGNAM=uriparser +VERSION=${VERSION:-0.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=gst-plugins-good - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -56,18 +54,20 @@ else LIBDIRSUFFIX="" fi +DOCS="AUTHORS COPYING ChangeLog THANKS" + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.xz -cd $SRCNAM-$VERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +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 {} \; @@ -78,20 +78,18 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ - --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-test \ --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 +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING* ChangeLog INSTALL NEWS RE* \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/uriparser/uriparser.info b/libraries/uriparser/uriparser.info new file mode 100644 index 0000000000..679a0a3277 --- /dev/null +++ b/libraries/uriparser/uriparser.info @@ -0,0 +1,10 @@ +PRGNAM="uriparser" +VERSION="0.8.2" +HOMEPAGE="http://uriparser.sourceforge.net" +DOWNLOAD="http://downloads.sf.net/uriparser/uriparser-0.8.2.tar.bz2" +MD5SUM="c5cf6b3941d887deb7defc2a86c40f1d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="graphviz" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/vte3/fix_meta_alt_keybinding.patch b/libraries/vte3/fix_meta_alt_keybinding.patch deleted file mode 100644 index bd364be584..0000000000 --- a/libraries/vte3/fix_meta_alt_keybinding.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 180dcc578e13c6096e277fb853e7162db640f207 Mon Sep 17 00:00:00 2001 -From: Alexandre Rostovtsev <tetromino@gentoo.org> -Date: Tue, 15 Nov 2011 03:06:40 -0500 -Subject: [PATCH] Map both gdk's Meta and Alt to vte's Meta for >=gtk+-3.2.2 - compatibility - -Also, since VTE_META_MASK is now a mask with multiple bits set, code that -compares gdk key modifiers to VTE_META_MASK by numerical equality is no -longer guaranteed to work. Therefore, for such comparisons a new function, -vte_keymap_fixup_modifiers, is introduced; it ensures that if any bits -matching matching VTE_META_MASK are set, then all are set. - -https://bugzilla.gnome.org/show_bug.cgi?id=663779 ---- - src/keymap.c | 15 +++++++++++++-- - src/keymap.h | 2 +- - 2 files changed, 14 insertions(+), 3 deletions(-) - -diff --git a/src/keymap.c b/src/keymap.c -index 9a21669..95b4c5b 100644 ---- a/src/keymap.c -+++ b/src/keymap.c -@@ -990,6 +990,17 @@ static const struct _vte_keymap_group { - {GDK_KEY (F35), _vte_keymap_GDK_F35}, - }; - -+/* Restrict modifiers to the specified mask and ensure that VTE_META_MASK, -+ * despite being a compound mask, is treated as indivisible. */ -+GdkModifierType -+_vte_keymap_fixup_modifiers(GdkModifierType modifiers, -+ GdkModifierType mask) -+{ -+ if (modifiers & VTE_META_MASK) -+ modifiers |= VTE_META_MASK; -+ return modifiers & mask; -+} -+ - /* Map the specified keyval/modifier setup, dependent on the mode, to either - * a literal string or a capability name. */ - void -@@ -1104,7 +1115,7 @@ _vte_keymap_map(guint keyval, - } else { - fkey_mode = fkey_default; - } -- modifiers &= (GDK_SHIFT_MASK | GDK_CONTROL_MASK | VTE_META_MASK | VTE_NUMLOCK_MASK); -+ modifiers = _vte_keymap_fixup_modifiers(modifiers, GDK_SHIFT_MASK | GDK_CONTROL_MASK | VTE_META_MASK | VTE_NUMLOCK_MASK); - - /* Search for the conditions. */ - for (i = 0; entries[i].normal_length || entries[i].special[0]; i++) -@@ -1375,7 +1386,7 @@ _vte_keymap_key_add_key_modifiers(guint keyval, - return; - } - -- switch (modifiers & significant_modifiers) { -+ switch (_vte_keymap_fixup_modifiers(modifiers, significant_modifiers)) { - case 0: - modifier = 0; - break; -diff --git a/src/keymap.h b/src/keymap.h -index 243e22e..21d9b8e 100644 ---- a/src/keymap.h -+++ b/src/keymap.h -@@ -27,7 +27,7 @@ - - G_BEGIN_DECLS - --#define VTE_META_MASK GDK_META_MASK -+#define VTE_META_MASK (GDK_META_MASK | GDK_MOD1_MASK) - #define VTE_NUMLOCK_MASK GDK_MOD2_MASK - - /* Map the specified keyval/modifier setup, dependent on the mode, to either --- -1.7.8.rc3 - diff --git a/libraries/vte3/vte3.SlackBuild b/libraries/vte3/vte3.SlackBuild index 27d0d09e63..af46c6a4bb 100644 --- a/libraries/vte3/vte3.SlackBuild +++ b/libraries/vte3/vte3.SlackBuild @@ -24,7 +24,7 @@ SRCNAM=vte PRGNAM=vte3 -VERSION=${VERSION:-0.36.3} +VERSION=${VERSION:-0.40.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,9 +71,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# https://bugzilla.gnome.org/show_bug.cgi?id=663779 -patch -p1 < $CWD/fix_meta_alt_keybinding.patch - # Configure: CFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/vte3/vte3.info b/libraries/vte3/vte3.info index c8bb08d559..d08568c7fd 100644 --- a/libraries/vte3/vte3.info +++ b/libraries/vte3/vte3.info @@ -1,10 +1,10 @@ PRGNAM="vte3" -VERSION="0.36.3" +VERSION="0.40.2" HOMEPAGE="http://www.gnome.org/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/vte/0.36/vte-0.36.3.tar.xz" -MD5SUM="3f9df4c9a67b09bf5c660bf5c3bae109" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/vte/0.40/vte-0.40.2.tar.xz" +MD5SUM="6a7a6af8eb0ebadaf3338e820a7229a3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="vala" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/libraries/webkitgtk3/webkitgtk3.SlackBuild b/libraries/webkitgtk3/webkitgtk3.SlackBuild index a6c3553ba8..6f5892745c 100644 --- a/libraries/webkitgtk3/webkitgtk3.SlackBuild +++ b/libraries/webkitgtk3/webkitgtk3.SlackBuild @@ -90,7 +90,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make clean -make -j1 Programs_DumpRenderTree_LDFLAGS="-no-fast-install -no-install -lfontconfig" +make Programs_DumpRenderTree_LDFLAGS="-no-fast-install -no-install -lfontconfig" make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/xapian-core/README b/libraries/xapian-core/README deleted file mode 100644 index 22a074b49b..0000000000 --- a/libraries/xapian-core/README +++ /dev/null @@ -1,7 +0,0 @@ -Xapian is an Open Source Search Engine Library released under the GPL. -It's written in C++, with bindings to allow use from Perl, Python, PHP, -Java, Tcl, C#, and Ruby (so far!). Xapian is a highly adaptable toolkit -which allows developers to easily add advanced indexing and search -facilities to their own applications. It supports the Probabilistic -Information Retrieval model and also supports a rich set of boolean -query operators. diff --git a/libraries/xapian-core/slack-desc b/libraries/xapian-core/slack-desc deleted file mode 100644 index f6a3611da2..0000000000 --- a/libraries/xapian-core/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------------------------------------------------------| -xapian-core: xapian-core (search engine library) -xapian-core: -xapian-core: Xapian is an Open Source Search Engine Library released under the GPL. -xapian-core: It's written in C++, with bindings to allow use from Perl, Python, -xapian-core: PHP, Java, Tcl, C#, and Ruby (so far!). Xapian is a highly adaptable -xapian-core: toolkit which allows developers to easily add advanced indexing and -xapian-core: search facilities to their own applications. It supports the -xapian-core: Probabilistic Information Retrieval model and also supports a rich -xapian-core: set of boolean query operators. -xapian-core: -xapian-core: http://www.xapian.org/ diff --git a/libraries/xapian-core/xapian-core.SlackBuild b/libraries/xapian-core/xapian-core.SlackBuild deleted file mode 100644 index ac72ccb20d..0000000000 --- a/libraries/xapian-core/xapian-core.SlackBuild +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh - -# Slackware build script for xapian-core - -# Written by titopoquito (titopoquito@gmail.com) - -# Permission to use, copy, modify, and distribute this software for -# any purpose with or without fee is hereby granted, provided that -# the above copyright notice and this permission notice appear in all -# copies. -# -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR -# CONTRIBUTORS 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=xapian-core -VERSION=${VERSION:-1.2.12} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS HACKING PLATFORMS README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# We don't need api docs, I don't think --rworkman -rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/apidoc - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/xapian-core/xapian-core.info b/libraries/xapian-core/xapian-core.info deleted file mode 100644 index 4fbf20f31f..0000000000 --- a/libraries/xapian-core/xapian-core.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="xapian-core" -VERSION="1.2.12" -HOMEPAGE="http://www.xapian.org/" -DOWNLOAD="http://oligarchy.co.uk/xapian/1.2.12/xapian-core-1.2.12.tar.gz" -MD5SUM="faf33a3945edbe4c848627750856cbeb" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="titopoquito" -EMAIL="titopoquito@gmail.com" diff --git a/libraries/xulrunner/gold/gold b/libraries/xulrunner/gold/gold new file mode 100644 index 0000000000..8c86d3b06b --- /dev/null +++ b/libraries/xulrunner/gold/gold @@ -0,0 +1,2 @@ +#!/bin/bash +/usr/bin/ld.gold "$@" diff --git a/libraries/xulrunner/gold/ld b/libraries/xulrunner/gold/ld new file mode 100644 index 0000000000..8c86d3b06b --- /dev/null +++ b/libraries/xulrunner/gold/ld @@ -0,0 +1,2 @@ +#!/bin/bash +/usr/bin/ld.gold "$@" diff --git a/libraries/xulrunner/xulrunner.SlackBuild b/libraries/xulrunner/xulrunner.SlackBuild index 51241b368a..12631ac511 100644 --- a/libraries/xulrunner/xulrunner.SlackBuild +++ b/libraries/xulrunner/xulrunner.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=xulrunner -VERSION=${VERSION:-15.0.1} +VERSION=${VERSION:-40.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,17 +46,29 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="" LIBDIRSUFFIX="" + OPTIMIZE=" --enable-optimize=-O2 " + # On IA32, use gold since GNU ld runs out of memory linking libxul.so: + PATH="$(pwd)/gold:$PATH" + export CC="gcc -B$(pwd)/gold" + export CXX="g++ -B$(pwd)/gold" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="" LIBDIRSUFFIX="" + OPTIMIZE=" --enable-optimize=-O2 " + # On IA32, use gold since GNU ld runs out of memory linking libxul.so: + PATH="$(pwd)/gold:$PATH" + export CC="gcc -B$(pwd)/gold" + export CXX="g++ -B$(pwd)/gold" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" + OPTIMIZE=" --enable-optimize=-O2 " else SLKCFLAGS="-O2" LIBDIRSUFFIX="" + OPTIMIZE=" --enable-optimize=-O2 " fi set -e @@ -76,16 +88,14 @@ find -L . \ # Don't use --enable-system-cairo # https://bugzilla.mozilla.org/show_bug.cgi?id=722975 -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ +OPTIONS="\ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --enable-default-toolkit=cairo-gtk2 \ - --enable-optimize="${CFLAGS}" \ + $OPTIMIZE \ --enable-application=xulrunner \ --enable-javaxpcom \ --enable-libxul \ @@ -94,23 +104,44 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-image-decoders=all \ --enable-system-lcms \ --with-system-zlib \ - --with-system-jpeg \ --with-system-bz2 \ - --with-system-nss \ - --with-system-nspr \ --enable-system-ffi \ --disable-system-sqlite \ --disable-crashreporter \ --disable-debug \ + --disable-pulseaudio \ --disable-mailnews \ --disable-installer \ --disable-updater \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux \ - --target=$ARCH-slackware-linux + --target=$ARCH-slackware-linux" -make -make install DESTDIR=$PKG +export CFLAGS="$SLKCFLAGS" +export CXXFLAGS="$SLKCFLAGS" +export MOZ_MAKE_FLAGS="$MAKEFLAGS" + +unset DBUS_SESSION_BUS_ADDRESS ORBIT_SOCKETDIR SESSION_MANAGER \ + XDG_SESSION_COOKIE XAUTHORITY MAKEFLAGS + +echo ". \$topsrcdir/browser/config/mozconfig" > .mozconfig + +# Mozilla devs enforce using an objdir for building +# https://developer.mozilla.org/en/Configuring_Build_Options#Building_with_an_objdir +mkdir obj +echo "mk_add_options MOZ_OBJDIR=$(pwd)/obj" >> .mozconfig + +if [ "$MOZLOCALIZE" ]; then + echo "mk_add_options MOZ_CO_LOCALES=\"$MOZLOCALIZE\"" >> .mozconfig +fi + +# Write in it the options above +for option in $OPTIONS; do echo "ac_add_options $option" >> .mozconfig; done + +echo "ac_add_options --disable-tests" >> .mozconfig +make -f client.mk build + +make -f client.mk install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/libraries/xulrunner/xulrunner.info b/libraries/xulrunner/xulrunner.info index f254477275..fc985249c2 100644 --- a/libraries/xulrunner/xulrunner.info +++ b/libraries/xulrunner/xulrunner.info @@ -1,8 +1,8 @@ PRGNAM="xulrunner" -VERSION="15.0.1" +VERSION="40.0.2" HOMEPAGE="https://developer.mozilla.org/en/Getting_started_with_XULRunner" -DOWNLOAD="https://ftp.mozilla.org/pub/mozilla.org/mozilla.org/xulrunner/releases/15.0.1/source/xulrunner-15.0.1.source.tar.bz2" -MD5SUM="e06cf648577c16d99f230b3569413e24" +DOWNLOAD="https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/40.0.2/source/xulrunner-40.0.2.source.tar.bz2" +MD5SUM="1de6e7522b494ca3bba5f2e941bc293e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk" |