--- /dev/null
+#!/bin/sh
+
+# Slackware build script for Popcorn Time
+
+# Copyright 2014 Vladislav Borisov Moscow, Russia
+# 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=Popcorn-Time
+VERSION=${VERSION:-0.3.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-fsleg}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) 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=""
+ BITS="32"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ BITS="32"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ BITS="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+# Exit on most errors
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+
+cd $TMP
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION-Linux-$BITS.tar.gz
+cd $PRGNAM
+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 {} \;
+
+# It's a static build, so we'll just repackage it
+
+# Strip binaries and libraries
+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
+
+# Copy program documentation into the package
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Create .desktop file and icons for it
+mkdir -p $PKG/usr/share/applications
+cat $CWD/popcorn-time.desktop > $PKG/usr/share/applications/popcorn-time.desktop
+for geometry in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 256x256; do
+ mkdir -p $PKG/usr/share/icons/hicolor/$geometry/apps
+ convert -resize $geometry $CWD/popcorntime.png $PKG/usr/share/icons/hicolor/$geometry/apps/popcorn-time.png
+done
+
+# Finally, move binaries
+mkdir -p $PKG/opt/Popcorn-Time
+mv * $PKG/opt/Popcorn-Time/
+
+# Copy the slack-desc into ./install
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
--- /dev/null
+PRGNAM="Popcorn-Time"
+VERSION="0.3.2"
+HOMEPAGE="http://popcorntime.io/"
+DOWNLOAD="http://cdn.popcorntime.io/build/Popcorn-Time-0.3.2-Linux-32.tar.gz"
+MD5SUM="0ce0c6c9204cd1d8dc3e2aae88f30324"
+DOWNLOAD_x86_64="http://cdn.popcorntime.io/build/Popcorn-Time-0.3.2-Linux-64.tar.gz"
+MD5SUM_x86_64="853fb407c9800fcc953e1f21814dbc2e"
+REQUIRES=""
+MAINTAINER="Vladislav Borisov"
+EMAIL="fsleg@t-rg.ws"
--- /dev/null
+Popcorn Time streams movies and TV shows from torrents.
+
+Popcorn Time! is the result of many developers and designers putting a bunch of APIs together to make the experience of watching torrent movies as simple as possible.
+
+Downloading copyrighted material may be illegal in your country. Use at your own risk.
--- /dev/null
+ARCH=$(uname -m)
+if [ "$ARCH" = "i486" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ LIBDIRSUFFIX=""
+fi
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ ! -r /lib${LIBDIRSUFFIX}/libudev.so.1 ]; then
+ ( cd lib${LIBDIRSUFFIX}; rm -rf libudev.so.1 )
+ ( cd lib${LIBDIRSUFFIX}; ln -sf libudev.so.0 libudev.so.1 )
+fi
+( cd usr/bin; rm -rf Popcorn-Time )
+( cd usr/bin; ln -sf /opt/Popcorn-Time/Popcorn-Time Popcorn-Time )
--- /dev/null
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Popcorn Time
+GenericName=Popcorn Time
+Comment=Watch Movies and TV Shows instantly
+Exec=Popcorn-Time
+TryExec=Popcorn-Time
+Icon=popcorn-time
+Terminal=false
+Categories=AudioVideo;Applications;
+StartupNotify=true
--- /dev/null
+Popcorn-Time: Popcorn Time (torrent movie player)
+Popcorn-Time:
+Popcorn-Time: Popcorn Time streams movies and TV shows from torrents.
+Popcorn-Time:
+Popcorn-Time: Popcorn Time is the result of many developers and designers
+Popcorn-Time: putting a bunch of APIs together to make the experience of watching
+Popcorn-Time: torrent movies as simple as possible.
+Popcorn-Time:
+Popcorn-Time: Website: http://popcorntime.io/
+Popcorn-Time:
+Popcorn-Time:
--- /dev/null
+Tomb aims to be an 100% free and open source system for easy encryption and
+backup of personal files, written in code that is easy to review and links
+commonly shared components.
+
+Tomb generates encrypted storage files to be opened and closed using their
+associated keyfiles, which are also protected with a password chosen by the
+user.
+
+steghide, qrencode are optional dependencies.
--- /dev/null
+#!/bin/sh
+
+# Slackware build script for Tomb
+
+# Copyright 2014 Vladislav Borisov Moscow, Russia
+# 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=Tomb
+VERSION=${VERSION:-1.5.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-fsleg}
+
+# Tomb is just a shell script, so there's nothing to build
+ARCH="noarch"
+
+# If you want to run tests, supply TEST=yes
+TEST=${TEST:-no}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e # Exit on most errors
+
+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 {} \;
+
+if [ "${TEST}" == "yes" ]; then
+ sed -i 's/\/usr\/bin\/zsh/\/bin\/zsh/' extras/test/runtests
+ make test
+fi
+
+make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
+
+# Compress man pages
+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
+
+# Copy program documentation into the package
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -aR \
+ doc/*.{pdf,txt,org} \
+ AUTHORS.txt ChangeLog.txt COPYING INSTALL.txt KNOWN_BUGS.txt README.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the slack-desc into ./install
+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:-txz}
--- /dev/null
+PRGNAM="tomb"
+VERSION="1.5.3"
+HOMEPAGE="http://www.dyne.org/software/tomb/"
+DOWNLOAD="https://files.dyne.org/tomb/Tomb-1.5.3.tar.gz"
+MD5SUM="8304a761d3e173844e59ef5df41c6879"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vladislav Borisov"
+EMAIL="fsleg@t-rg.ws"
--- /dev/null
+ |-----handy-ruler------------------------------------------------------|
+Tomb: Tomb (The Crypto Undertaker)
+Tomb:
+Tomb: Tomb aims to be an 100% free and open source system for easy
+Tomb: encryption and backup of personal files, written in code that is easy
+Tomb: to review and links commonly shared components.
+Tomb:
+Tomb: Website: http://www.dyne.org/software/Tomb
+Tomb:
+Tomb:
+Tomb:
--- /dev/null
+Aegisub is a free, cross-platform open source tool for creating and
+modifying subtitles. Aegisub makes it quick and easy to time subtitles
+to audio, and features many powerful tools for styling them, including
+a built-in real-time video preview.
+
+pulseaudio, openal, portaudio are optional dependencies.
+
+If you want bleeding edge Aegisub, get git tree tarball and define
+VERSION variable as "git". Be warned that it might not build.
\ No newline at end of file
--- /dev/null
+#!/bin/sh
+
+# Slackware build script for Aegisub
+
+# Copyright 2013-2014 Vladislav Borisov, Moscow, Russia
+# 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=aegisub
+VERSION=${VERSION:-3.2.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-fsleg}
+
+# Use parallel building if possible
+if [ -z "$NUMJOBS" ]; then
+ NUMJOBS=$( lscpu | egrep '^CPU\(s\):' | tr -s ' ' | cut -d ' ' -f 2 )
+fi
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) 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
+
+# Exit on most errors
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+if [ "$VERSION" == "git" ]; then
+ ./autogen.sh
+fi
+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 \
+ --with-wx-config=$(which wx-config-3.0) \
+ --with-player-audio=alsa
+
+make -j$NUMJOBS
+make install DESTDIR=$PKG
+
+# Get the revision number for git version
+if [ "$VERSION" == "git" ]; then
+ VERSION="r$( grep BUILD_GIT_VERSION_NUMBER $TMP/$PRGNAM-$VERSION/$PRGNAM/build/git_version.h | cut -d " " -f 3 )"
+fi
+
+# Strip binaries and libraries
+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
+
+# Copy program documentation into the package
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -aR \
+ docs* \
+ LICENCE README* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the slack-desc into ./install
+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:-txz}
--- /dev/null
+PRGNAM="aegisub"
+VERSION="3.2.1"
+HOMEPAGE="http://www.aegisub.org/"
+DOWNLOAD="http://ftp.aegisub.org/pub/releases/aegisub-3.2,1.tar.xz"
+MD5SUM="ff50e925eb96c69d928811e93a045a6b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ffms2 libass lua wxWidgets3"
+MAINTAINER="Vladislav Borisov"
+EMAIL="fsleg@t-rg.ws"
--- /dev/null
+aegisub: Aegisub (Advanced Subtitle Editor)
+aegisub:
+aegisub: Aegisub is a free, cross-platform open source tool for creating and
+aegisub: modifying subtitles. Aegisub makes it quick and easy to time subtitles
+aegisub: to audio, and features many powerful tools for styling them, including
+aegisub: a built-in real-time video preview.
+aegisub:
+aegisub: Website: http://www.aegisub.org/
+aegisub:
+aegisub:
+aegisub:
--- /dev/null
+FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform wrapper
+library around libav/FFmpeg, plus some additional components to deal with file
+formats libavformat has (or used to have) problems with.
\ No newline at end of file
--- /dev/null
+#!/bin/sh
+
+# Slackware build script for ffms2
+
+# Copyright 2013-2014 Vladislav Borisov Moscow, Russia
+# 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=ffms2
+VERSION=${VERSION:-2.20}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+# Use parallel building if possible
+if [ -z "$NUMJOBS" ]; then
+ NUMJOBS=$( lscpu | egrep '^CPU\(s\):' | tr -s ' ' | cut -d ' ' -f 2 )
+fi
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) 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 # Exit on most errors
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$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=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux \
+ --disable-static
+make -j$NUMJOBS
+make install DESTDIR=$PKG
+
+# Strip binaries and libraries
+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
+
+# Copy program documentation into the package
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -aR \
+ doc/*.{html,css} \
+ COPYING INSTALL README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install
+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:-txz}
--- /dev/null
+PRGNAM="ffms2"
+VERSION="2.20"
+HOMEPAGE="https://github.com/FFMS/ffms2"
+DOWNLOAD="https://github.com/FFMS/ffms2/archive/2.20.tar.gz"
+MD5SUM="d6f2faa9e0ffed2e2d8d926592a87744"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ffmpeg"
+MAINTAINER="Vladislav Borisov"
+EMAIL="fsleg@t-rg.ws"
--- /dev/null
+ |-----handy-ruler------------------------------------------------------|
+ffms2: ffms2 (FFmpegSource library)
+ffms2:
+ffms2: FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform
+ffms2: wrapper library around libav/FFmpeg, plus some additional
+ffms2: components to deal with file formats libavformat has (or used to
+ffms2: have) problems with.
+ffms2:
+ffms2: Website: https://github.com/FFMS/ffms2
+ffms2:
+ffms2:
\ No newline at end of file
--- /dev/null
+Tomb aims to be an 100% free and open source system for easy encryption and
+backup of personal files, written in code that is easy to review and links
+commonly shared components.
+
+Tomb generates encrypted storage files to be opened and closed using their
+associated keyfiles, which are also protected with a password chosen by the
+user.
+
+steghide, qrencode are optional dependencies.
--- /dev/null
+#!/bin/sh
+
+# Slackware build script for mintstick
+
+# Copyright 2014 Vladislav Borisov Moscow, Russia
+# 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=mintstick
+VERSION=${VERSION:-1.2.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-fsleg}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ LIBDIRSUFFIX=""
+fi
+
+set -e # Exit on most errors
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+rm -rf $PRGNAM-master
+unzip $CWD/master.zip
+cd $PRGNAM-master
+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 {} \;
+
+# mintstick is just a few python scripts, so there's nothing to build
+# The following is taken from install.sh
+LIBFILES="mintstick.py raw_write.py raw_format.py mountutils.py"
+DATAFILES="mintstick.ui"
+
+mkdir -p ${PKG}/usr/share/applications
+mkdir -p ${PKG}/usr/bin
+mkdir -p ${PKG}/usr/share/polkit-1/actions
+mkdir -p ${PKG}/usr/share/kde4/apps/solid/actions
+cp share/applications/mintstick.desktop ${PKG}/usr/share/applications/
+cp share/applications/mintstick-format.desktop ${PKG}/usr/share/applications/
+cp share/applications/mintstick-kde.desktop ${PKG}/usr/share/applications/
+cp share/applications/mintstick-format-kde.desktop ${PKG}/usr/share/applications/
+cp share/polkit/org.linuxmint.im.policy ${PKG}/usr/share/polkit-1/actions
+cp share/kde4/mintstick-format_action.desktop ${PKG}/usr/share/kde4/apps/solid/actions
+cp mintstick ${PKG}/usr/bin/
+mkdir -p ${PKG}/usr/lib${LIBDIRSUFFIX}/mintstick
+mkdir -p ${PKG}/usr/share/mintstick
+
+for item in $LIBFILES; do
+ cp lib/$item ${PKG}/usr/lib${LIBDIRSUFFIX}/mintstick/
+done
+
+for item in $DATAFILES; do
+ cp share/mintstick/$item ${PKG}/usr/share/mintstick/
+done
+
+# Copy a parody to the man page
+mkdir -p ${PKG}/usr/man/man1
+cp debian/mintstick.1 ${PKG}/usr/man/man1/
+
+# Compress man pages
+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
+
+# Copy program documentation into the package
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -aR \
+ debian/{changelog,copyright} \
+ COPYING README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the slack-desc into ./install
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-txz}
--- /dev/null
+PRGNAM="mintstick"
+VERSION="1.2.1"
+HOMEPAGE="https://github.com/linuxmint/mintstick/"
+DOWNLOAD="https://github.com/linuxmint/mintstick/archive/master.zip"
+MD5SUM="03432100c86aa6e4b783888929b602a1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pyparted"
+MAINTAINER="Vladislav Borisov"
+EMAIL="fsleg@t-rg.ws"
--- /dev/null
+ |-----handy-ruler------------------------------------------------------|
+mintstick: mintstick (USB stick formatter)
+mintstick:
+mintstick: Mintstick is a graphical application to write .img and .iso files to
+mintstick: USB keys. It can also format USB Key from a contextual menu in
+mintstick: Cinammon and KDE desktops.
+mintstick:
+mintstick: Website: https://github.com/linuxmint/mintstick
+mintstick:
+mintstick:
+mintstick:
--- /dev/null
+Opera is the fastest and free (as in free beer) alternative browser.
--- /dev/null
+#!/bin/sh
+
+# Slackware build script for Opera Developer
+
+# Copyright 2014 Vladislav Borisov Moscow, Russia
+# 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=opera-developer
+VERSION=${VERSION:-25.0.1614.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-fsleg}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) 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=""
+ BITS="i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ BITS="i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ BITS="amd64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+# Exit on most errors
+set -e
+
+rm -rf $PKG $TMP/$PRGNAM
+mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
+
+cd $TMP/$PRGNAM
+ar p $CWD/${PRGNAM}_${VERSION}_${BITS}.deb data.tar.xz | tar xvJ
+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 {} \;
+
+# Move libs to a more apropriate place
+mkdir -p usr/lib${LIBDIRSUFFIX}
+mv usr/lib/x86_64-linux-gnu/opera-developer usr/lib${LIBDIRSUFFIX}/
+rm -rf usr/lib/x86_64-linux-gnu
+
+# opera_sandbox requires suid
+chmod 4755 usr/lib${LIBDIRSUFFIX}/opera-developer/opera_sandbox
+
+# Fix .desktop file
+sed -i 's/TargetEnvironment/X-TargetEnvironment/g' usr/share/applications/opera-developer.desktop
+
+# Remove unneeded stuff
+rm -rf usr/share/{lintian,menu}
+
+# Add support for the alienBOB's chromium-pepperflash package
+mkdir -p etc/default
+cat $CWD/opera-developer.conf > etc/default/opera-developer
+
+# Add apropriate launcher
+rm -rf usr/bin/opera-developer
+cat $CWD/opera-developer.sh > usr/bin/opera-developer
+chmod 755 usr/bin/opera-developer
+
+# Move everything to $PKG
+mv usr etc $PKG/
+
+# Strip binaries and libraries
+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
+
+# Copy program documentation into the package
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/copyright $PKG/usr/doc/$PRGNAM-$VERSION/
+zcat $PKG/usr/share/doc/$PRGNAM/changelog.gz > $PKG/usr/doc/$PRGNAM-$VERSION/changelog
+rm -rf $PKG/usr/share/doc
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the slack-desc into ./install
+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:-txz}
--- /dev/null
+# Default settings for opera-developer.
+# This file is sourced by /usr/bin/opera-developer
+
+# Options to pass to opera-developer
+OPERA_FLAGS=""
+
+
+# START chromium-pepperflash-plugin
+flashso="/usr/lib64/PepperFlash/libpepflashplayer.so"
+
+if [ -f $flashso ]
+then
+ flashversion=$(strings $flashso|grep ^LNX|sed -e "s/^LNX //"|sed -e "s/,/./g")
+ OPERA_FLAGS="$OPERA_FLAGS --ppapi-flash-path=$flashso --ppapi-flash-version=$flashversion"
+fi
+# END chromium-pepperflash-plugin
+
--- /dev/null
+PRGNAM="opera-developer"
+VERSION="25.0.1614.5"
+HOMEPAGE="http://www.opera.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="http://get.geo.opera.com/pub/opera-developer/25.0.1614.5/linux/opera-developer_25.0.1614.5_amd64.deb"
+MD5SUM_x86_64="b7d3420af60056b69e9295070195ecc9"
+REQUIRES=""
+MAINTAINER="Vladislav Borisov"
+EMAIL="fsleg@t-rg.ws"
--- /dev/null
+#!/bin/bash
+
+# Allow users to override command-line options
+# Based on Gentoo's chromium package (and by extension, Debian's)
+if [[ -f /etc/default/opera-developer ]]; then
+ . /etc/default/opera-developer
+fi
+
+# Prefer user defined OPERA_USER_FLAGS (from env) over system
+# default OPERA_FLAGS (from /etc/default/opera-developer)
+OPERA_FLAGS=${OPERA_USER_FLAGS:-$OPERA_FLAGS}
+
+export CHROME_WRAPPER=$(readlink -f "$0")
+export CHROME_DESKTOP=opera-developer.desktop
+
+exec /usr/lib64/opera-developer/opera-developer $OPERA_FLAGS "$@"
+
--- /dev/null
+opera-developer: Opera Developer (web browser, development version)
+opera-developer:
+opera-developer: Opera is the fastest and free (as in free beer)
+opera-developer: alternative browser.
+opera-developer:
+opera-developer: Website: http://www.opera.com/
+opera-developer:
+opera-developer:
+opera-developer:
+opera-developer:
+opera-developer:
--- /dev/null
+FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform wrapper
+library around libav/FFmpeg, plus some additional components to deal with file
+formats libavformat has (or used to have) problems with.
\ No newline at end of file
--- /dev/null
+#!/bin/sh
+
+# Slackware build script for pyparted
+
+# Copyright 2014 Vladislav Borisov Moscow, Russia
+# 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=pyparted
+VERSION=${VERSION:-3.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-fsleg}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) 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 # Exit on most errors
+
+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 {} \;
+python setup.py build
+python setup.py install --root=$PKG -c -O1
+
+# Strip binaries and libraries
+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
+
+# Copy program documentation into the package
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS BUGS ChangeLog COPYING HACKING NEWS PKG-INFO README RELEASE TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install
+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:-txz}
--- /dev/null
+PRGNAM="pyparted"
+VERSION="3.9"
+HOMEPAGE="https://fedorahosted.org/pyparted/"
+DOWNLOAD="https://fedorahosted.org/releases/p/y/pyparted/pyparted-3.9.tar.gz"
+MD5SUM="f16c7ef7f5fa4a43fcb2a4654b487e39"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vladislav Borisov"
+EMAIL="fsleg@t-rg.ws"
--- /dev/null
+ |-----handy-ruler------------------------------------------------------|
+pyparted: pyparted (python bindings for parted)
+pyparted:
+pyparted: pyparted is a set of Python modules that provide Python programmers
+pyparted: an interface to libparted, the GNU parted library fordisk
+pyparted: partitioning and filesystem manipulation.
+pyparted:
+pyparted: Website: https://fedorahosted.org/pyparted/
+pyparted:
+pyparted:
+pyparted:
--- /dev/null
+Steghide is a steganography program that is able to hide data in various kinds
+of image- and audio-files. The color- respectivly sample-frequencies are not
+changed thus making the embedding resistant against first-order statistical
+tests.
--- /dev/null
+ |-----handy-ruler------------------------------------------------------|
+steghide: steghide (steganography program)
+steghide:
+steghide: Steghide is a steganography program that is able to hide data in
+steghide: various kinds of image- and audio-files.
+steghide:
+steghide: Website: http://steghide.sourceforge.net/
+steghide:
+steghide:
+steghide:
+steghide:
--- /dev/null
+#!/bin/sh
+
+# Slackware build script for steghide
+
+# Copyright 2014 Vladislav Borisov Moscow, Russia
+# 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=steghide
+VERSION=${VERSION:-0.5.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-fsleg}
+
+# Use parallel building if possible
+if [ -z "$NUMJOBS" ]; then
+ NUMJOBS=$( lscpu | egrep '^CPU\(s\):' | tr -s ' ' | cut -d ' ' -f 2 )
+fi
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) 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 # Exit on most errors
+
+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 {} \;
+
+# This is ancient software, so some heavy patching is required
+patch -p1 < ${CWD}/steghide.patch
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
+make -j$NUMJOBS
+make install DESTDIR=$PKG
+
+# Strip binaries and libraries
+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
+
+# Compress man pages
+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
+
+# Copy program documentation into the package
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ BUGS COPYING CREDITS HISTORY INSTALL README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install
+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:-txz}
--- /dev/null
+PRGNAM="steghide"
+VERSION="0.5.1"
+HOMEPAGE="http://steghide.sourceforge.net/"
+DOWNLOAD="http://sourceforge.net/projects/steghide/files/steghide/0.5.1/steghide-0.5.1.tar.bz2"
+MD5SUM="cf37f7ac51d36f66a8d6d155bbc90f17"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vladislav Borisov"
+EMAIL="fsleg@t-rg.ws"
--- /dev/null
+--- a/Makefile.in 2003-10-15 12:01:28.000000000 +0400
++++ b/Makefile.in 2014-08-13 20:46:16.000000000 +0400
+@@ -161,7 +161,7 @@
+ SUBDIRS = m4 intl po doc src tests
+ docdir = $(prefix)/share/doc/$(PACKAGE)
+ EXTRA_DIST = config.rpath mkinstalldirs ABOUT-NLS BUGS CREDITS HISTORY LEAME depcomp
+-doc_DATA = ABOUT-NLS BUGS COPYING CREDITS HISTORY INSTALL LEAME README TODO
++doc_DATA = BUGS CREDITS HISTORY LEAME README TODO
+ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
+ config.sub configure depcomp install-sh missing mkinstalldirs steghide.doxygen steghide.spec
+
+--- a/src/AuData.h 2003-09-28 19:30:29.000000000 +0400
++++ b/src/AuData.h 2014-08-13 20:40:53.000000000 +0400
+@@ -26,22 +26,30 @@
+
+ // AuMuLawAudioData
+ typedef AudioDataImpl<AuMuLaw,BYTE> AuMuLawAudioData ;
++template<>
+ inline BYTE AuMuLawAudioData::readValue (BinaryIO* io) const { return (io->read8()) ; }
++template<>
+ inline void AuMuLawAudioData::writeValue (BinaryIO* io, BYTE v) const { io->write8(v) ; }
+
+ // AuPCM8AudioData
+ typedef AudioDataImpl<AuPCM8,SBYTE> AuPCM8AudioData ;
++template<>
+ inline SBYTE AuPCM8AudioData::readValue (BinaryIO* io) const { return ((SBYTE) io->read8()) ; }
++template<>
+ inline void AuPCM8AudioData::writeValue (BinaryIO* io, SBYTE v) const { io->write8((BYTE) v) ; }
+
+ // AuPCM16AudioData
+ typedef AudioDataImpl<AuPCM16,SWORD16> AuPCM16AudioData ;
++template<>
+ inline SWORD16 AuPCM16AudioData::readValue (BinaryIO* io) const { return ((SWORD16) io->read16_be()) ; }
++template<>
+ inline void AuPCM16AudioData::writeValue (BinaryIO* io, SWORD16 v) const { io->write16_be((UWORD16) v) ; }
+
+ // AuPCM32AudioData
+ typedef AudioDataImpl<AuPCM32,SWORD32> AuPCM32AudioData ;
++template<>
+ inline SWORD32 AuPCM32AudioData::readValue (BinaryIO* io) const { return ((SWORD32) io->read32_be()) ; }
++template<>
+ inline void AuPCM32AudioData::writeValue (BinaryIO* io, SWORD32 v) const { io->write32_be((UWORD32) v) ; }
+
+ #endif // ndef SH_AUDATA_H
+--- a/src/AuSampleValues.cc 2003-09-28 19:30:30.000000000 +0400
++++ b/src/AuSampleValues.cc 2014-08-13 20:42:49.000000000 +0400
+@@ -21,17 +21,25 @@
+ #include "AuSampleValues.h"
+
+ // AuMuLawSampleValue
++template<>
+ const BYTE AuMuLawSampleValue::MinValue = 0 ;
++template<>
+ const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ;
+
+ // AuPCM8SampleValue
++template<>
+ const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ;
++template<>
+ const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ;
+
+ // AuPCM16SampleValue
++template<>
+ const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ;
++template<>
+ const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ;
+
+ // AuPCM32SampleValue
++template<>
+ const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ;
++template<>
+ const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ;
+--- a/src/BmpFile.cc 2003-09-28 19:30:30.000000000 +0400
++++ b/src/BmpFile.cc 2014-08-13 20:46:21.000000000 +0400
+@@ -214,10 +214,10 @@
+ // create reservoir - for every i reservoir[i] contains the sample values that are neighbourss of
+ // the sample value with label i and have a lower label (and have already been found)
+ // This is necessary to use collapsing trees together with bucket sort (without huge increase in memory usage)
+- std::vector<BmpRGBSampleValue*> reservoir[svs.size()] ;
++ std::vector<std::vector<BmpRGBSampleValue*> > reservoir(svs.size()) ;
+
+ // neighbours sorted by distance (for the current source sample value)
+- std::vector<BmpRGBSampleValue*> neighbours_byd[r + 1] ;
++ std::vector<std::vector<BmpRGBSampleValue*> > neighbours_byd(r + 1) ;
+
+ for (std::vector<SampleValue*>::const_iterator srcsvit = svs.begin() ; srcsvit != svs.end() ; srcsvit++) {
+ BmpRGBSampleValue* srcsv = (BmpRGBSampleValue*) (*srcsvit) ;
+--- a/src/Graph.h 2003-09-28 19:30:30.000000000 +0400
++++ b/src/Graph.h 2014-08-13 20:47:45.000000000 +0400
+@@ -21,6 +21,8 @@
+ #ifndef SH_GRAPH_H
+ #define SH_GRAPH_H
+
++#define ULONG_MAX 4294967295
++
+ #include <iostream>
+ #include <list>
+ #include <map>
+--- a/src/MHashKeyGen.h 2003-09-28 19:30:30.000000000 +0400
++++ b/src/MHashKeyGen.h 2014-08-13 20:46:21.000000000 +0400
+@@ -23,6 +23,7 @@
+
+ #include <vector>
+
++#define _Bool bool
+ #include <mhash.h>
+
+ class MHashKeyGen {
+--- a/src/MHashPP.cc 2003-10-05 14:17:50.000000000 +0400
++++ b/src/MHashPP.cc 2014-08-13 20:46:21.000000000 +0400
+@@ -21,6 +21,7 @@
+ #include <cstdlib>
+ #include <string>
+
++#define _Bool bool
+ #include <mhash.h>
+
+ #include "BitString.h"
+@@ -120,7 +121,7 @@
+
+ std::string MHashPP::getAlgorithmName (hashid id)
+ {
+- char *name = mhash_get_hash_name (id) ;
++ char *name = reinterpret_cast<char *>(mhash_get_hash_name (id)) ;
+ std::string retval ;
+ if (name == NULL) {
+ retval = std::string ("<algorithm not found>") ;
+--- a/src/MHashPP.h 2003-09-28 19:30:30.000000000 +0400
++++ b/src/MHashPP.h 2014-08-13 20:46:21.000000000 +0400
+@@ -21,6 +21,7 @@
+ #ifndef SH_MHASHPP_H
+ #define SH_MHASHPP_H
+
++#define _Bool bool
+ #include <mhash.h>
+
+ #include "common.h"
--- /dev/null
+wxWidgets is a C++ library that lets developers create applications
+for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures
+as well as several mobile platforms including Windows Mobile, iPhone
+SDK and embedded GTK+.
+
+This script will build the package that can be installed alongside with
+wxWidgets 2.8. If you need to build a program against this version, use
+--with-wx-config=wx-config-3.0 configure option or something similar.
+Alternatively, rename wx-config from 2.8 to wx-config-2.8 and use symlinks
+to manage your version.
--- /dev/null
+--- a/build/bakefiles/wx.bkl 2014-06-15 01:48:48.000000000 +0400
++++ b/build/bakefiles/wx.bkl 2014-09-16 03:00:03.000000000 +0400
+@@ -137,7 +137,7 @@
+ <using module="gettext"/>
+ <gettext-catalogs id="locale">
+ <srcdir>$(SRCDIR)/locale</srcdir>
+- <catalog-name>wxstd</catalog-name>
++ <catalog-name>wxstd$(WX_RELEASE_NODOT)</catalog-name>
+ <linguas>
+ ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk
+ zh zh_CN zh_TW
+--- a/Makefile.in 2014-06-15 01:48:48.000000000 +0400
++++ b/Makefile.in 2014-09-16 03:00:03.000000000 +0400
+@@ -15252,10 +15252,10 @@
+ all: $(__wxregex___depname) $(__wxzlib___depname) $(__wxpng___depname) $(__wxjpeg___depname) $(__wxtiff___depname) $(__wxexpat___depname) $(__wxscintilla___depname) $(__monodll___depname) $(__monolib___depname) $(__basedll___depname) $(__baselib___depname) $(__netdll___depname) $(__netlib___depname) $(__coredll___depname) $(__corelib___depname) $(__advdll___depname) $(__advlib___depname) $(__mediadll___depname) $(__medialib___depname) $(__htmldll___depname) $(__htmllib___depname) $(__webviewdll___depname) $(__webviewlib___depname) $(__qadll___depname) $(__qalib___depname) $(__xmldll___depname) $(__xmllib___depname) $(__xrcdll___depname) $(__xrclib___depname) $(__auidll___depname) $(__auilib___depname) $(__ribbondll___depname) $(__ribbonlib___depname) $(__propgriddll___depname) $(__propgridlib___depname) $(__richtextdll___depname) $(__richtextlib___depname) $(__stcdll___depname) $(__stclib___depname) $(__gldll___depname) $(__gllib___depname) $(__sound_sdl___depname) $(__wxrc___depname) $(__cocoa_res___depname)
+
+ install: $(__install_wxregex___depname) $(__install_wxzlib___depname) $(__install_wxpng___depname) $(__install_wxjpeg___depname) $(__install_wxtiff___depname) $(__install_wxexpat___depname) $(__install_wxscintilla___depname) $(__install_monodll___depname) $(__install_monolib___depname) $(__install_basedll___depname) $(__install_baselib___depname) $(__install_netdll___depname) $(__install_netlib___depname) $(__install_coredll___depname) $(__install_corelib___depname) $(__install_advdll___depname) $(__install_advlib___depname) $(__install_mediadll___depname) $(__install_medialib___depname) $(__install_htmldll___depname) $(__install_htmllib___depname) $(__install_webviewdll___depname) $(__install_webviewlib___depname) $(__install_qadll___depname) $(__install_qalib___depname) $(__install_xmldll___depname) $(__install_xmllib___depname) $(__install_xrcdll___depname) $(__install_xrclib___depname) $(__install_auidll___depname) $(__install_auilib___depname) $(__install_ribbondll___depname) $(__install_ribbonlib___depname) $(__install_propgriddll___depname) $(__install_propgridlib___depname) $(__install_richtextdll___depname) $(__install_richtextlib___depname) $(__install_stcdll___depname) $(__install_stclib___depname) $(__install_gldll___depname) $(__install_gllib___depname) $(__install_sound_sdl___depname) $(__install_wxrc___depname) install-wxconfig locale_install locale_msw_install $(__cocoa_res_install___depname)
+- $(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal
+- (cd $(srcdir) ; $(INSTALL_DATA) wxwin.m4 $(DESTDIR)$(datadir)/aclocal)
+ $(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets
+- (cd $(srcdir)/build/bakefiles/wxpresets/presets ; $(INSTALL_DATA) wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py $(DESTDIR)$(datadir)/bakefile/presets)
++ (cd $(srcdir)/build/bakefiles/wxpresets/presets ; \
++ for i in wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py ; do $(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done)
++
+ $(DYLIB_RPATH_INSTALL)
+ $(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
+ for f in setup.h $(RCDEFS_H); do \
+@@ -16140,7 +16140,7 @@
+ $(INSTALL_DIR) $(DESTDIR)$(bindir)
+ $(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
+ $(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
+- (cd $(DESTDIR)$(bindir) && rm -f wx-config && $(LN_S) $(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config || cp -p $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
++ (cd $(DESTDIR)$(bindir) && rm -f wx-config-$(WX_RELEASE) && $(LN_S) $(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config-$(WX_RELEASE) || cp -p $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config-$(WX_RELEASE))
+
+ locale_install:
+ $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
+@@ -16148,7 +16148,7 @@
+ $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
+ $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
+ if test -f $(srcdir)/locale/$$l.mo ; then \
+- $(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
++ $(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \
+ fi ; \
+ done
+
+@@ -16165,7 +16165,7 @@
+ $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
+ $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
+ if test -f $(srcdir)/locale/msw/$$l.mo ; then \
+- $(INSTALL_DATA) $(srcdir)/locale/msw/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxmsw.mo ; \
++ $(INSTALL_DATA) $(srcdir)/locale/msw/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxmsw$(WX_RELEASE_NODOT).mo ; \
+ fi ; \
+ done
+
+--- a/src/common/translation.cpp 2014-06-15 01:48:48.000000000 +0400
++++ b/src/common/translation.cpp 2014-09-16 03:00:03.000000000 +0400
+@@ -1458,7 +1458,7 @@
+
+ bool wxTranslations::AddStdCatalog()
+ {
+- if ( !AddCatalog(wxS("wxstd")) )
++ if ( !AddCatalog(wxS("wxstd" wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION))) )
+ return false;
+
+ // there may be a catalog with toolkit specific overrides, it is not
+--- a/utils/wxrc/Makefile.in 2014-06-15 01:48:48.000000000 +0400
++++ b/utils/wxrc/Makefile.in 2014-09-16 03:00:03.000000000 +0400
+@@ -125,7 +125,6 @@
+ @COND_USE_XRC_1@ rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
+ @COND_USE_XRC_1@ $(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir)
+ @COND_USE_XRC_1@ mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
+-@COND_USE_XRC_1@ (cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))
+
+ @COND_USE_XRC_1@uninstall_wxrc:
+ @COND_USE_XRC_1@ rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT)
--- /dev/null
+wxWidgets3: wxWidgets (Cross-Platform GUI Library)
+wxWidgets3:
+wxWidgets3: wxWidgets is a C++ library that lets developers create applications
+wxWidgets3: for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures
+wxWidgets3: as well as several mobile platforms including Windows Mobile, iPhone
+wxWidgets3: SDK and embedded GTK+.
+wxWidgets3:
+wxWidgets3: Website: http://www.wxWidgets.org/
+wxWidgets3:
+wxWidgets3:
+wxWidgets3:
--- /dev/null
+#!/bin/sh
+
+# Slackware build script for wxWidgets 3.0
+
+# Copyright 2013-2014 Vladislav Borisov Moscow, Russia
+# 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=wxWidgets3
+VERSION=${VERSION:-3.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-fsleg}
+
+SRCNAM=wxWidgets
+
+# Use parallel building if possible
+if [ -z "$NUMJOBS" ]; then
+ NUMJOBS=$( lscpu | egrep '^CPU\(s\):' | tr -s ' ' | cut -d ' ' -f 2 )
+fi
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) 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 # Exit on most errors
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+
+cd $SRCNAM-$VERSION
+
+# Patch the collision with 2.8
+patch -p1 < $CWD/collision.patch
+
+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 \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux \
+ --disable-static \
+ --with-sdl \
+ --with-opengl \
+ --enable-unicode \
+ --enable-graphics_ctx \
+ --enable-display \
+ --enable-mediactrl \
+ --enable-sound \
+ --enable-stc
+make -j$NUMJOBS
+make install DESTDIR=$PKG
+
+# Strip binaries and libraries
+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
+
+# Copy program documentation into the package
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs* $PKG/usr/doc/$PRGNAM-$VERSION
+# Remove unnecessary docs
+cd $PKG/usr/doc/$PRGNAM-$VERSION/docs
+ rm -rf cocoa latex mac metrowerks microwin msw palmos word
+cd -
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install
+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:-txz}
--- /dev/null
+PRGNAM="wxWidgets3"
+VERSION="3.0.1"
+HOMEPAGE="http://wxwidgets.org/"
+DOWNLOAD="http://downloads.sourceforge.net/wxwindows/wxWidgets-3.0.1.tar.bz2"
+MD5SUM="dad1f1cd9d4c370cbc22700dc492da31"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vladislav Borisov"
+EMAIL="fsleg@t-rg.ws"