diff options
author | Matteo Bernardini | 2014-04-13 10:14:39 +0200 |
---|---|---|
committer | Matteo Bernardini | 2014-04-13 10:14:39 +0200 |
commit | cf3151f68ab279b00d3cc33bd7a94e705ba0ffa5 (patch) | |
tree | fa0fa256d481c436501d9401b9cf1da8d0381105 | |
parent | 60faaa10f1f9670fbf09880c4a08c812c9c0e538 (diff) | |
download | old.slackbuilds-current-20140413.1.tar.gz |
20140413.1 global branch merge.current-20140413.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
259 files changed, 6528 insertions, 1172 deletions
@@ -1,3 +1,19 @@ +SBo-git - slackbuilds repository for slackware-current +- - - + +this is a unofficial fork of master branch from slackbuilds.org's +git repository (http://slackbuilds.org/cgit/slackbuilds/). + +here I put my unofficial mods to their slackbuilds to run on +slackware-current with sbopkg (http://www.sbopkg.org). + +Check https://github.com/Ponce/slackbuilds/wiki for additional informations. + +See https://github.com/Ponce/slackbuilds/wiki/configuring-the-current-repository-with-sbopkg +for instructions on how to use this repository with sbopkg. + +original README from slackbuilds.org follows: +--------------------------------------------- See http://slackbuilds.org/howto/ for instructions on how to use the contents of this directory. diff --git a/audio/SAM/README b/audio/SAM/README new file mode 100644 index 0000000000..184eaee3ba --- /dev/null +++ b/audio/SAM/README @@ -0,0 +1,8 @@ +Sam is a very small Text-To-Speech (TTS) program written in C, that +runs on most popular platforms. +It is an adaption to C of the speech software SAM (Software Automatic +Mouth) for the Commodore C64 published in the year 1982 by Don't Ask +Software (now SoftVoice, Inc.). +It includes a Text-To-Phoneme converter called reciter and a +Phoneme-To-Speech routine for the final output. +It is so small that it will work also on embedded computers. diff --git a/audio/SAM/SAM.SlackBuild b/audio/SAM/SAM.SlackBuild new file mode 100644 index 0000000000..2bc70b58ed --- /dev/null +++ b/audio/SAM/SAM.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for SAM + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=SAM +VERSION=${VERSION:-20131020_5f5f6d6} +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.?z* +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +cd src +# Use our CFLAGS +sed -i "s|-O2|$SLKCFLAGS|" Makefile +make +install -D -m 0755 sam $PKG/usr/bin/sam +cd .. + +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 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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/audio/SAM/SAM.info b/audio/SAM/SAM.info new file mode 100644 index 0000000000..15018e7de6 --- /dev/null +++ b/audio/SAM/SAM.info @@ -0,0 +1,10 @@ +PRGNAM="SAM" +VERSION="20131020_5f5f6d6" +HOMEPAGE="https://github.com/s-macke/SAM" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/SAM-20131020_5f5f6d6.tar.xz" +MD5SUM="af23ff7faac3cd93c690eb7ac44dd816" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/audio/SAM/slack-desc b/audio/SAM/slack-desc new file mode 100644 index 0000000000..d31ef3b855 --- /dev/null +++ b/audio/SAM/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------------------------------------------------------| +SAM: SAM (Software Automatic Mouth) +SAM: +SAM: Sam is a very small Text-To-Speech (TTS) program written in C, that +SAM: runs on most popular platforms. +SAM: It is an adaption to C of the speech software SAM (Software Automatic +SAM: Mouth) for the Commodore C64 published in the year 1982 by Don't Ask +SAM: Software (now SoftVoice, Inc.). +SAM: It includes a Text-To-Phoneme converter called reciter and a +SAM: Phoneme-To-Speech routine for the final output. +SAM: It is so small that it will work also on embedded computers. +SAM: diff --git a/audio/cmus/cmus.SlackBuild b/audio/cmus/cmus.SlackBuild index d6a26442bd..a9a06f4f98 100644 --- a/audio/cmus/cmus.SlackBuild +++ b/audio/cmus/cmus.SlackBuild @@ -22,7 +22,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cmus -VERSION=${VERSION:-20131125_a854f85} +VERSION=${VERSION:-20140202_3b021f5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/audio/cmus/cmus.info b/audio/cmus/cmus.info index ac7af26e5d..331bdab217 100644 --- a/audio/cmus/cmus.info +++ b/audio/cmus/cmus.info @@ -1,8 +1,8 @@ PRGNAM="cmus" -VERSION="20131125_a854f85" +VERSION="20140202_3b021f5" HOMEPAGE="http://cmus.sourceforge.net/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/cmus-20131125_a854f85.tar.xz" -MD5SUM="a197c1775238c322ab13245e03bc670a" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/cmus-20140202_3b021f5.tar.xz" +MD5SUM="1af2e9ee9f0ca3190d4d3b92372ee52a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/audio/mixxx/mixxx.SlackBuild b/audio/mixxx/mixxx.SlackBuild index 44e0fce8d2..0ea1172a87 100644 --- a/audio/mixxx/mixxx.SlackBuild +++ b/audio/mixxx/mixxx.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mixxx -VERSION=${VERSION:-1.10.1} +VERSION=${VERSION:-1.11.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -76,7 +76,8 @@ patch -p0 < $CWD/desktop.diff CFLAGS="$SLKCFLAGS" \ QTDIR=/usr/lib$LIBDIRSUFFIX/qt \ scons \ - shoutcast=0 \ + shoutcast=1 \ + faad=1 \ prefix=/usr QTDIR=/usr/lib$LIBDIRSUFFIX/qt \ diff --git a/audio/mixxx/mixxx.info b/audio/mixxx/mixxx.info index e60b959071..4f98f179a2 100644 --- a/audio/mixxx/mixxx.info +++ b/audio/mixxx/mixxx.info @@ -1,10 +1,10 @@ PRGNAM="mixxx" -VERSION="1.10.1" +VERSION="1.11.0" HOMEPAGE="http://www.mixxx.org" -DOWNLOAD="http://downloads.mixxx.org/mixxx-1.10.1/mixxx-1.10.1-src.tar.gz" -MD5SUM="765bc5216ec8102c2186dd3ea80187a9" +DOWNLOAD="http://downloads.mixxx.org/mixxx-1.11.0/mixxx-1.11.0-src.tar.gz" +MD5SUM="89ee8ba60824919d8dd1194287bda259" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libshout portaudio portmidi scons" +REQUIRES="faad libshout opencore portaudio portmidi scons" MAINTAINER="Elvio Basello (HelLViS69)" EMAIL="hellvis69@slackware.it" diff --git a/desktop/lxqt-about/README b/desktop/lxqt-about/README new file mode 100644 index 0000000000..b8bab20b0d --- /dev/null +++ b/desktop/lxqt-about/README @@ -0,0 +1 @@ +About dialogs of LXDE-Qt. diff --git a/desktop/lxqt-about/doinst.sh b/desktop/lxqt-about/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/desktop/lxqt-about/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/desktop/lxqt-about/lxqt-about.SlackBuild b/desktop/lxqt-about/lxqt-about.SlackBuild new file mode 100644 index 0000000000..ac612f1018 --- /dev/null +++ b/desktop/lxqt-about/lxqt-about.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for lxqt-about + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-about +VERSION=${VERSION:-20131113_d2b711e} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/desktop/lxqt-about/lxqt-about.info b/desktop/lxqt-about/lxqt-about.info new file mode 100644 index 0000000000..cde9ba3347 --- /dev/null +++ b/desktop/lxqt-about/lxqt-about.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-about" +VERSION="20131113_d2b711e" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-about-20131113_d2b711e.tar.xz" +MD5SUM="2041b7ad9e271ff48151eb5d301b5888" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liblxqt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/desktop/lxqt-about/slack-desc b/desktop/lxqt-about/slack-desc new file mode 100644 index 0000000000..ffe92ca0f8 --- /dev/null +++ b/desktop/lxqt-about/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------------------------------------------------------| +lxqt-about: lxqt-about (about dialogs) +lxqt-about: +lxqt-about: About dialogs of LXDE-Qt. +lxqt-about: +lxqt-about: homepage: http://lxde.org +lxqt-about: +lxqt-about: +lxqt-about: +lxqt-about: +lxqt-about: +lxqt-about: diff --git a/desktop/lxqt-appswitcher/README b/desktop/lxqt-appswitcher/README new file mode 100644 index 0000000000..32939599eb --- /dev/null +++ b/desktop/lxqt-appswitcher/README @@ -0,0 +1 @@ +LXDE-Qt application switcher. diff --git a/desktop/lxqt-appswitcher/lxqt-appswitcher.SlackBuild b/desktop/lxqt-appswitcher/lxqt-appswitcher.SlackBuild new file mode 100644 index 0000000000..eba5ae16da --- /dev/null +++ b/desktop/lxqt-appswitcher/lxqt-appswitcher.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for lxqt-appswitcher + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-appswitcher +VERSION=${VERSION:-20131113_bf6ac72} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/desktop/lxqt-appswitcher/lxqt-appswitcher.info b/desktop/lxqt-appswitcher/lxqt-appswitcher.info new file mode 100644 index 0000000000..d3ffc42518 --- /dev/null +++ b/desktop/lxqt-appswitcher/lxqt-appswitcher.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-appswitcher" +VERSION="20131113_bf6ac72" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-appswitcher-20131113_bf6ac72.tar.xz" +MD5SUM="348060532ff882fb64465e67b89bd530" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="lxqt-globalkeys" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/desktop/lxqt-appswitcher/slack-desc b/desktop/lxqt-appswitcher/slack-desc new file mode 100644 index 0000000000..565070df24 --- /dev/null +++ b/desktop/lxqt-appswitcher/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------------------------------------------------------| +lxqt-appswitcher: lxqt-appswitcher (applications switcher) +lxqt-appswitcher: +lxqt-appswitcher: LXDE-Qt applications switcher. +lxqt-appswitcher: +lxqt-appswitcher: homepage: http://lxde.org +lxqt-appswitcher: +lxqt-appswitcher: +lxqt-appswitcher: +lxqt-appswitcher: +lxqt-appswitcher: +lxqt-appswitcher: diff --git a/desktop/lxqt-common/README b/desktop/lxqt-common/README new file mode 100644 index 0000000000..ebad3635e3 --- /dev/null +++ b/desktop/lxqt-common/README @@ -0,0 +1 @@ +Common data files required for running an LXDE-Qt session. diff --git a/desktop/lxqt-common/lxqt-common.SlackBuild b/desktop/lxqt-common/lxqt-common.SlackBuild new file mode 100644 index 0000000000..afda136d3a --- /dev/null +++ b/desktop/lxqt-common/lxqt-common.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for lxqt-common + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-common +VERSION=${VERSION:-20131122_31f6909} +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.?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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 + +# add a xinitrc file for xwmconfig: +install -m 0755 -D $CWD/xinitrc.lxde-qt $PKG/etc/X11/xinit/xinitrc.lxde-qt + +# make sure that KDM picks up the LXDE session type as well: +mkdir -p $PKG/usr/share/apps/kdm/sessions +( cd $PKG/usr/share/apps/kdm/sessions + for i in $(ls ../../../xsessions/*.desktop) ; do ln -sf $i ; done ) + +mkdir -p $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/desktop/lxqt-common/lxqt-common.info b/desktop/lxqt-common/lxqt-common.info new file mode 100644 index 0000000000..e3bb4c0133 --- /dev/null +++ b/desktop/lxqt-common/lxqt-common.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-common" +VERSION="20131122_31f6909" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-common-20131122_31f6909.tar.xz" +MD5SUM="177abaf45bde8b2df2d241dd9d9e240a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/desktop/lxqt-common/slack-desc b/desktop/lxqt-common/slack-desc new file mode 100644 index 0000000000..685d5b8dd5 --- /dev/null +++ b/desktop/lxqt-common/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------------------------------------------------------| +lxqt-common: lxqt-common (lxde-qt common files) +lxqt-common: +lxqt-common: Common data files required for running an LXDE-Qt session. +lxqt-common: +lxqt-common: homepage: http://lxde.org +lxqt-common: +lxqt-common: +lxqt-common: +lxqt-common: +lxqt-common: +lxqt-common: diff --git a/desktop/lxqt-common/xinitrc.lxde-qt b/desktop/lxqt-common/xinitrc.lxde-qt new file mode 100644 index 0000000000..230c8c1998 --- /dev/null +++ b/desktop/lxqt-common/xinitrc.lxde-qt @@ -0,0 +1,21 @@ +#!/bin/sh +# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps +[ -f $sysresources ] && xrdb -merge $sysresources +[ -f $sysmodmap ] && xmodmap $sysmodmap +[ -f $userresources ] && xrdb -merge $userresources +[ -f $usermodmap ] && xmodmap $usermodmap + +# Start the window manager: +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + ck-launch-session dbus-launch --exit-with-session startlxde-qt +else + startlxde-qt +fi + diff --git a/desktop/lxqt-config/README b/desktop/lxqt-config/README new file mode 100644 index 0000000000..8090ba4f33 --- /dev/null +++ b/desktop/lxqt-config/README @@ -0,0 +1 @@ +LXDE-Qt system configuration (control center). diff --git a/desktop/lxqt-config/doinst.sh b/desktop/lxqt-config/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/desktop/lxqt-config/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/desktop/lxqt-config/lxqt-config.SlackBuild b/desktop/lxqt-config/lxqt-config.SlackBuild new file mode 100644 index 0000000000..d7f789cb88 --- /dev/null +++ b/desktop/lxqt-config/lxqt-config.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for lxqt-config + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-config +VERSION=${VERSION:-20131113_23f0974} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/desktop/lxqt-config/lxqt-config.info b/desktop/lxqt-config/lxqt-config.info new file mode 100644 index 0000000000..3f8d91fe3e --- /dev/null +++ b/desktop/lxqt-config/lxqt-config.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-config" +VERSION="20131113_23f0974" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-config-20131113_23f0974.tar.xz" +MD5SUM="8844f32c4c3a62c38a3f7485f5cac95f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liblxqt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/desktop/lxqt-config/slack-desc b/desktop/lxqt-config/slack-desc new file mode 100644 index 0000000000..dfa79efbbd --- /dev/null +++ b/desktop/lxqt-config/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------------------------------------------------------| +lxqt-config: lxqt-config (LXDE-Qt control center) +lxqt-config: +lxqt-config: LXDE-Qt system configuration (control center). +lxqt-config: +lxqt-config: homepage: http://lxde.org +lxqt-config: +lxqt-config: +lxqt-config: +lxqt-config: +lxqt-config: +lxqt-config: diff --git a/desktop/lxqt-globalkeys/README b/desktop/lxqt-globalkeys/README new file mode 100644 index 0000000000..b0881731f9 --- /dev/null +++ b/desktop/lxqt-globalkeys/README @@ -0,0 +1 @@ +Daemon used to register global keyboard shortcuts. diff --git a/desktop/lxqt-globalkeys/doinst.sh b/desktop/lxqt-globalkeys/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/desktop/lxqt-globalkeys/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/desktop/lxqt-globalkeys/lxqt-globalkeys.SlackBuild b/desktop/lxqt-globalkeys/lxqt-globalkeys.SlackBuild new file mode 100644 index 0000000000..c166369a48 --- /dev/null +++ b/desktop/lxqt-globalkeys/lxqt-globalkeys.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for lxqt-globalkeys + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-globalkeys +VERSION=${VERSION:-20131113_2126d96} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/desktop/lxqt-globalkeys/lxqt-globalkeys.info b/desktop/lxqt-globalkeys/lxqt-globalkeys.info new file mode 100644 index 0000000000..bddb204894 --- /dev/null +++ b/desktop/lxqt-globalkeys/lxqt-globalkeys.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-globalkeys" +VERSION="20131113_2126d96" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-globalkeys-20131113_2126d96.tar.xz" +MD5SUM="31c0d8df36792ee4344109cd26ae3844" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liblxqt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/desktop/lxqt-globalkeys/slack-desc b/desktop/lxqt-globalkeys/slack-desc new file mode 100644 index 0000000000..5f0094e19a --- /dev/null +++ b/desktop/lxqt-globalkeys/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------------------------------------------------------| +lxqt-globalkeys: lxqt-globalkeys (keyboard shortcuts daemon) +lxqt-globalkeys: +lxqt-globalkeys: Daemon used to register global keyboard shortcuts. +lxqt-globalkeys: +lxqt-globalkeys: homepage: http://lxde.org +lxqt-globalkeys: +lxqt-globalkeys: +lxqt-globalkeys: +lxqt-globalkeys: +lxqt-globalkeys: +lxqt-globalkeys: diff --git a/desktop/lxqt-notificationd/README b/desktop/lxqt-notificationd/README new file mode 100644 index 0000000000..799ae8fc72 --- /dev/null +++ b/desktop/lxqt-notificationd/README @@ -0,0 +1 @@ +LXDE-Qt notification daemon. diff --git a/desktop/lxqt-notificationd/doinst.sh b/desktop/lxqt-notificationd/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/desktop/lxqt-notificationd/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/desktop/lxqt-notificationd/lxqt-notificationd.SlackBuild b/desktop/lxqt-notificationd/lxqt-notificationd.SlackBuild new file mode 100644 index 0000000000..793fb1abfc --- /dev/null +++ b/desktop/lxqt-notificationd/lxqt-notificationd.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for lxqt-notificationd + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-notificationd +VERSION=${VERSION:-20131125_0e01b2c} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/desktop/lxqt-notificationd/lxqt-notificationd.info b/desktop/lxqt-notificationd/lxqt-notificationd.info new file mode 100644 index 0000000000..b661d81a38 --- /dev/null +++ b/desktop/lxqt-notificationd/lxqt-notificationd.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-notificationd" +VERSION="20131125_0e01b2c" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-notificationd-20131125_0e01b2c.tar.xz" +MD5SUM="459f57cc107f6ba3aef0e14842a97841" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/desktop/lxqt-notificationd/slack-desc b/desktop/lxqt-notificationd/slack-desc new file mode 100644 index 0000000000..349f2cfd72 --- /dev/null +++ b/desktop/lxqt-notificationd/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------------------------------------------------------| +lxqt-notificationd: lxqt-notificationd (notification daemon) +lxqt-notificationd: +lxqt-notificationd: LXDE-Qt notification daemon. +lxqt-notificationd: +lxqt-notificationd: http://lxde.org +lxqt-notificationd: +lxqt-notificationd: +lxqt-notificationd: +lxqt-notificationd: +lxqt-notificationd: +lxqt-notificationd: diff --git a/desktop/lxqt-panel/README b/desktop/lxqt-panel/README new file mode 100644 index 0000000000..a8c843cd35 --- /dev/null +++ b/desktop/lxqt-panel/README @@ -0,0 +1,3 @@ +Qt desktop panel. + +pulseaudio is an optional (and *NOT* recommended) dependency. diff --git a/desktop/lxqt-panel/lxqt-panel.SlackBuild b/desktop/lxqt-panel/lxqt-panel.SlackBuild new file mode 100644 index 0000000000..2b23242e66 --- /dev/null +++ b/desktop/lxqt-panel/lxqt-panel.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for lxqt-panel + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-panel +VERSION=${VERSION:-20131113_a43b2ff} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/desktop/lxqt-panel/lxqt-panel.info b/desktop/lxqt-panel/lxqt-panel.info new file mode 100644 index 0000000000..4e727395ad --- /dev/null +++ b/desktop/lxqt-panel/lxqt-panel.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-panel" +VERSION="20131113_a43b2ff" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-panel-20131113_a43b2ff.tar.xz" +MD5SUM="862904468b964975e1a31c005ea7b3e0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="lxqt-globalkeys liblxqt-mount" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/desktop/lxqt-panel/slack-desc b/desktop/lxqt-panel/slack-desc new file mode 100644 index 0000000000..d6ff25c809 --- /dev/null +++ b/desktop/lxqt-panel/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------------------------------------------------------| +lxqt-panel: lxqt-panel (desktop panel) +lxqt-panel: +lxqt-panel: Qt desktop panel. +lxqt-panel: +lxqt-panel: homepage: http://lxde.org +lxqt-panel: +lxqt-panel: +lxqt-panel: +lxqt-panel: +lxqt-panel: +lxqt-panel: diff --git a/desktop/obconf-qt/README b/desktop/obconf-qt/README new file mode 100644 index 0000000000..de5cce39c7 --- /dev/null +++ b/desktop/obconf-qt/README @@ -0,0 +1 @@ +Window manager configuration (for Openbox) written in Qt. diff --git a/desktop/obconf-qt/doinst.sh b/desktop/obconf-qt/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/desktop/obconf-qt/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/desktop/obconf-qt/obconf-qt.SlackBuild b/desktop/obconf-qt/obconf-qt.SlackBuild new file mode 100644 index 0000000000..8834812642 --- /dev/null +++ b/desktop/obconf-qt/obconf-qt.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for obconf-qt + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=obconf-qt +VERSION=${VERSION:-20131129_869c900} +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 + +DOCS="AUTHORS COPYING README" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/desktop/obconf-qt/obconf-qt.info b/desktop/obconf-qt/obconf-qt.info new file mode 100644 index 0000000000..2da06f91e7 --- /dev/null +++ b/desktop/obconf-qt/obconf-qt.info @@ -0,0 +1,10 @@ +PRGNAM="obconf-qt" +VERSION="20131129_869c900" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/obconf-qt-20131129_869c900.tar.xz" +MD5SUM="10fc2e88aed15490fd790c4385bc25ef" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="openbox" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/libcacard/slack-desc b/desktop/obconf-qt/slack-desc index ef68876697..e5f5312dc1 100644 --- a/libraries/libcacard/slack-desc +++ b/desktop/obconf-qt/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -libcacard: libcacard (Virtual Smart Card Emulator library) -libcacard: -libcacard: This emulator is designed to provide emulation of actual smart cards -libcacard: to a virtual card reader running in a guest virtual machine. The -libcacard: emulates smart cards can be representations of real smart cards, or -libcacard: the cards could be pure software constructs. -libcacard: -libcacard: Homepage: http://spice-space.org -libcacard: -libcacard: -libcacard: +obconf-qt: obconf-qt (openbox qt configurator) +obconf-qt: +obconf-qt: Window manager configuration (for Openbox) written in Qt. +obconf-qt: +obconf-qt: homepage: http://lxde.org +obconf-qt: +obconf-qt: +obconf-qt: +obconf-qt: +obconf-qt: +obconf-qt: diff --git a/desktop/openbox/openbox.SlackBuild b/desktop/openbox/openbox.SlackBuild index 466f14bd68..513901dcaa 100644 --- a/desktop/openbox/openbox.SlackBuild +++ b/desktop/openbox/openbox.SlackBuild @@ -28,7 +28,7 @@ # Currently maintained by Robby Workman <rw@rlworkman.net> PRGNAM=openbox -VERSION=${VERSION:-3.5.0} +VERSION=${VERSION:-3.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/desktop/openbox/openbox.info b/desktop/openbox/openbox.info index a67316ace4..dd63ee9c11 100644 --- a/desktop/openbox/openbox.info +++ b/desktop/openbox/openbox.info @@ -1,8 +1,8 @@ PRGNAM="openbox" -VERSION="3.5.0" +VERSION="3.5.2" HOMEPAGE="http://openbox.org/" -DOWNLOAD="http://openbox.org/dist/openbox/openbox-3.5.0.tar.gz" -MD5SUM="00441b53cf14c03566c8e82643544ff9" +DOWNLOAD="http://openbox.org/dist/openbox/openbox-3.5.2.tar.gz" +MD5SUM="93df606606053b7e8578a5c116afb8ec" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/desktop/rss-guard/rss-guard.SlackBuild b/desktop/rss-guard/rss-guard.SlackBuild index 4f38d2b391..2044332260 100644 --- a/desktop/rss-guard/rss-guard.SlackBuild +++ b/desktop/rss-guard/rss-guard.SlackBuild @@ -23,7 +23,7 @@ PRGNAM=rss-guard SRCNAM=rssguard -VERSION=${VERSION:-1.1.2} +VERSION=${VERSION:-1.9.9.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM -tar xvf $CWD/$SRCNAM-$VERSION-src.tar.gz -cd $PRGNAM +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 -o -perm 511 \) \ @@ -85,6 +85,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $PKG/usr/share/$SRCNAM/information/* $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/desktop/rss-guard/rss-guard.info b/desktop/rss-guard/rss-guard.info index 4e92a39750..ae41afd3f7 100644 --- a/desktop/rss-guard/rss-guard.info +++ b/desktop/rss-guard/rss-guard.info @@ -1,8 +1,8 @@ PRGNAM="rss-guard" -VERSION="1.1.2" -HOMEPAGE="http://code.google.com/p/rss-guard/" -DOWNLOAD="http://rss-guard.googlecode.com/files/rssguard-1.1.2-src.tar.gz" -MD5SUM="03d59898a980d7901d2c707b6edd159d" +VERSION="1.9.9.6" +HOMEPAGE="https://bitbucket.org/skunkos/rssguard" +DOWNLOAD="https://bitbucket.org/skunkos/rssguard/downloads/rssguard-1.9.9.6.tar.gz" +MD5SUM="7e2ad36cb94356a095ff9c7bd438140b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/development/lua52/lua52.SlackBuild b/development/lua52/lua52.SlackBuild index 805e49974f..d6627b2691 100644 --- a/development/lua52/lua52.SlackBuild +++ b/development/lua52/lua52.SlackBuild @@ -13,7 +13,7 @@ PRGNAM=lua52 VERSION=${VERSION:-5.2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=lua @@ -57,13 +57,13 @@ sed -i "s|/usr/local|/usr|" src/luaconf.h sed -i "s|lib/lua|lib$LIBDIRSUFFIX/lua|" src/luaconf.h make linux \ - CFLAGS="$SLKCFLAGS \$(MYCFLAGS)" \ + CFLAGS="$SLKCFLAGS \$(MYCFLAGS) -DLUA_COMPAT_ALL -DLUA_USE_LINUX" \ INSTALL_TOP=/usr \ INSTALL_LIB=/usr/lib${LIBDIRSUFFIX} \ INSTALL_CMOD=/usr/lib${LIBDIRSUFFIX}/lua/5.2 make linux install \ - CFLAGS="$SLKCFLAGS \$(MYCFLAGS)" \ + CFLAGS="$SLKCFLAGS \$(MYCFLAGS) -DLUA_COMPAT_ALL -DLUA_USE_LINUX" \ INSTALL_TOP=$PKG/usr \ INSTALL_LIB=$PKG/usr/lib${LIBDIRSUFFIX} \ INSTALL_CMOD=/usr/lib${LIBDIRSUFFIX}/lua/5.2 diff --git a/development/premake/premake.SlackBuild b/development/premake/premake.SlackBuild index b32bd89f81..b439691707 100644 --- a/development/premake/premake.SlackBuild +++ b/development/premake/premake.SlackBuild @@ -1,10 +1,29 @@ #!/bin/sh # Slackware build script for premake -# Written by Matteo Bernardini <ponce@slackbuilds.org> + +# Copyright 2011-2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=premake -VERSION=${VERSION:-4.4_beta4} +VERSION=${VERSION:-4.4_beta5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/development/premake/premake.info b/development/premake/premake.info index f8aec2e0dc..9f6c95fe06 100644 --- a/development/premake/premake.info +++ b/development/premake/premake.info @@ -1,8 +1,8 @@ PRGNAM="premake" -VERSION="4.4_beta4" +VERSION="4.4_beta5" HOMEPAGE="http://industriousone.com/premake" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/premake-4.4-beta4-src.zip" -MD5SUM="ed9b3503ec29005399b37a9f10d8ded7" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/premake-4.4-beta5-src.zip" +MD5SUM="4fe6eb000726d75621a99080b2466d4d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua" diff --git a/games/etlegacy-data/LICENSE b/games/etlegacy-data/LICENSE new file mode 100644 index 0000000000..4d2d6c3139 --- /dev/null +++ b/games/etlegacy-data/LICENSE @@ -0,0 +1,253 @@ +LIMITED USE SOFTWARE LICENSE AGREEMENT + +This Limited Use Software License Agreement (this "Agreement") is a +legal agreement between you, the end-user, and Id Software, Inc. +("ID"). BY CONTINUING THE DOWNLOAD OR INSTALLATION OF THE GAME +PROGRAM ENTITLED WOLFENSTEIN™: ENEMY TERRITORY™ (THE +"SOFTWARE"), BY LOADING OR RUNNING THE SOFTWARE, OR BY PLACING OR +COPYING THE SOFTWARE ONTO YOUR COMPUTER HARD DRIVE, COMPUTER RAM OR +OTHER STORAGE, YOU ARE AGREEING TO BE BOUND BY THE TERMS OF THIS +AGREEMENT. You agree that you are obtaining a copy of the Software +via download only, and you acknowledge and agree that you shall not +copy or retain the Software except as expressly permitted herein. + +1. Grant of License. Subject to the terms and provisions of this +Agreement and so long as you fully comply at all times with this +Agreement, ID grants to you the non-exclusive and limited right to +use the Software only in executable or object code form. The term +"Software" includes all elements of the Software, including, without +limitation, data files and screen displays. You are not receiving +any ownership or proprietary right, title or interest in or to the +Software or the copyrights, trademarks or other rights related +thereto. For purposes of the first sentence of this section, "use" +means loading the Software into RAM and/or onto computer hard drive, +as well as installation of the Software on a hard disk or other +storage device, and means the uses permitted in sections 2 and 4 +hereinbelow. You agree that the Software will not be downloaded, +shipped, transferred, exported or re-exported into any country or to +a national or resident of any country in violation of the United +States Export Administration Act (or any other law governing such +matters) by you or anyone at your direction and that you will not +utilize, and will not authorize anyone to utilize, in any other +manner, the Software in violation of any applicable law. The +Software shall not be downloaded or otherwise exported or re-exported +into any country or to a national or resident of any country to which +the United States has embargoed goods or to anyone or into any +country who/that are prohibited, by applicable law, from receiving +such property. In exercising your limited rights hereunder, you +shall comply, at all times, with all applicable laws, regulations, +ordinances and statutes. ID reserves all rights not granted in this +Agreement, including, without limitation, all rights to ID's +trademarks. + +2. Permitted New Creations. Subject to the terms and provisions of +this Agreement and so long as you fully comply at all times with this +Agreement, ID grants to you the non-exclusive and limited right to +create for the Software (except any Software code) your own +modifications (the "New Creations") that shall operate only with the +Software (but not any demo, test or other version of the Software). +You may include within the New Creations certain textures and other +images (the "Software Images") from the Software. You shall not +create any New Creations that infringe against any third-party right +or that are libelous, defamatory, obscene, false, misleading, or +otherwise illegal or unlawful. You agree that the New Creations will +not be downloaded, shipped, transferred, exported or re-exported into +any country or to a national or resident of any country in violation +of the United States Export Administration Act (or any other law +governing such matters) by you or anyone at your direction and that +you will not utilize, and will not authorize anyone to utilize, in +any other manner, the New Creations in violation of any applicable +law. The New Creations shall not be downloaded or otherwise exported +or re-exported into any country or to a national or resident of any +country to which the United States has embargoed goods or to anyone +or into any country who/that are prohibited, by applicable law, from +receiving such property. You shall not rent, sell, lease, lend, +offer on a pay-per-play basis or otherwise commercially exploit or +commercially distribute the New Creations. You are permitted only to +distribute, without any cost or charge, the New Creations to other +end-users so long as such distribution is not infringing against any +third-party right and is not otherwise illegal or unlawful. As noted +below, in the event you commit any breach of this Agreement, your +license and this Agreement automatically shall terminate, without +notice. + +3. Prohibitions with Regard to the Software. You, whether directly +or indirectly, shall not do any of the following acts: + +a. rent the Software; + +b. sell the Software; + +c. lease or lend the Software; + +d. offer the Software on a "pay-per-play" basis; + +e. distribute the Software by any means, except as permitted by +section 4 hereinbelow; + +f. in any other manner and through any medium whatsoever commercially +exploit the Software, or use the Software for any commercial purpose, +including, without limitation, giving away copies of the Software for +free to promote or market any other material; + +g. disassemble, reverse engineer, decompile, modify, except as +permitted by section 2 hereinabove, or alter the Software; + +h. translate the Software; + +i. reproduce or copy the Software, except as permitted by section 4 +hereinbelow; + +j. publicly display the Software; + +k. prepare or develop derivative works based upon the Software; or + +l. modify, remove or alter this Agreement or any notices or other +markings or legends, such as trademark or copyright notices, affixed +on or within the Software. + +4. Permitted Distribution and Copying. So long as this Agreement +accompanies each copy you make of the Software and so long as you +fully comply at all times with this Agreement, ID grants to you the +non-exclusive and limited right to: (i) copy the Software from the +download onto your computer hard drive; (ii) copy the Software from +your computer hard drive into your computer RAM; (iii) copy on one +(1) hard disk one (1) "back up" or archival copy of the Software; and +(iv) copy the Software and distribute such copies as standalone +copies on physical media or in electronic format of the Software free +of charge for non-commercial purposes and not in connection with any +other material. You shall not distribute copies of the Software as +mounted on or attached to the covers or any other part of magazines +or other printed material. You shall not copy or distribute the +Software in any manner that infringes against, misappropriates or +otherwise violates any third-party right or that is libelous, +defamatory, obscene, false, misleading, or otherwise illegal or +unlawful. You shall not receive any postage, shipping, handling or +other charge, payment, fee, or other consideration, including items +in trade, in exchange for or in connection with copies of Software +you may distribute, even if only for reimbursement. You shall not +receive any value or consideration in exchange for or in connection +with copies of the Software you may distribute. You shall not +distribute the Software bundled, co-packaged or together with any +material. You shall not distribute the Software in connection with +the promotion or marketing of any material. Except as such are +included by ID within copies of the Software that you are permitted +to make under this Agreement, you shall not reproduce, depict, +display or copy the title of the Software, the ID name or any screen +display or other element or part of the Software. In exercising your +limited rights hereunder, you shall comply, at all times, with all +applicable laws, regulations, ordinances and statutes. ID reserves +all rights not granted in this Agreement. You shall not commercially +distribute the Software unless you first enter into a separate +contract with ID, on terms and conditions determined in ID's sole +discretion, and only upon your receipt of a written agreement +executed by an authorized officer of ID. + +5. Intellectual Property Rights. The Software and all copyrights, +trademarks and all other conceivable intellectual property rights +related to the Software are owned by ID and are protected by United +States copyright laws, international treaty provisions and all +applicable law, such as the Lanham Act. You must treat the Software +like any other copyrighted material, as required by 17 U.S.C. § 101 +et seq. and other applicable law. You agree to use your best +efforts to see that any user of the Software licensed hereunder, or +the New Creations, complies with this Agreement. You agree that you +are receiving a copy of the Software by limited license only and not +by sale and that the "first sale" doctrine of 17 U.S.C. § 109 does +not apply to your receipt or use of the Software. This section shall +survive the cancellation or termination of this Agreement. + +6. ID WARRANTIES. ID DISCLAIMS , AND ITS LICENSEE'S (INCLUDING, +WITHOUT LIMITATION, ACTIVISION INC. AND ITS AFFILIATES) DISCLAIM, +ALL WARRANTIES, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT +LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE AND ANY WARRANTY OF NON-INFRINGEMENT, WITH RESPECT +TO THE SOFTWARE, THE SOFTWARE IMAGES AND OTHERWISE. THE SOFTWARE IS +PROVIDED "AS IS" AND WITHOUT WARRANTY. ID DOES NOT (AND ITS +LICENSEES DO NOT) WARRANT THAT THE SOFTWARE OR THE OPERATION OF THE +SOFTWARE WILL BE UNINTERRUPTED OR ERROR FREE OR THAT THE SOFTWARE +WILL MEET YOUR SPECIFIC OR SPECIAL REQUIREMENTS. ADDITIONAL +STATEMENTS, WHETHER ORAL OR WRITTEN, DO NOT CONSTITUTE WARRANTIES BY +ID (OR ANY ID LICENSEE) AND SHOULD NOT BE RELIED UPON. THIS +SECTION SHALL SURVIVE THE CANCELLATION OR TERMINATION OF THIS +AGREEMENT. + +7. Governing Law, Venue, Indemnity and Liability Limitation. This +Agreement shall be construed in accordance with and governed by the +applicable laws of the State of Texas and applicable United States +federal law. Exclusive venue for all litigation regarding this +Agreement shall be in Dallas County, Texas, and you agree to submit +to the jurisdiction of the federal and state courts in Dallas County, +Texas, for any such litigation. You hereby agree to indemnify, +defend and hold harmless ID and ID's officers, employees, directors, +agents, licensees (excluding you), sub-licensees (excluding you), +successors and assigns from and against all losses, lawsuits, +damages, causes of action and claims relating to and/or arising from +the New Creations or the distribution or other use of the New +Creations or relating to and/or arising from your breach of this +Agreement. You agree that your unauthorized use of the Software +Images, or the Software, or any part thereof, immediately and +irreparably will damage ID such that ID could not be compensated +adequately solely by a monetary award, and upon such actual or +threatened unauthorized use, at ID's option, that ID shall be +entitled to an injunctive order, in addition to all other available +remedies, including a monetary award, to prohibit such unauthorized +use without the necessity of ID posting bond or other security. IN +ANY CASE, ID, AND ID'S OFFICERS, EMPLOYEES, DIRECTORS, SHAREHOLDERS, +REPRESENTATIVES, AGENTS, LICENSEES (EXCLUDING YOU), SUBLICENSEES +(EXCLUDING YOU), SUCCESSORS AND ASSIGNS SHALL NOT BE LIABLE FOR ANY +CLAIM BY ANY THIRD PARTY OR FOR ANY LOSS OF DATA, LOSS OF PROFITS, +LOST SAVINGS, SPECIAL, INCIDENTAL, CONSEQUENTIAL, INDIRECT OR +PUNITIVE DAMAGES OR ANY OTHER DAMAGES ARISING FROM ANY ALLEGED CLAIM +FOR BREACH OF WARRANTY, BREACH OF CONTRACT, NEGLIGENCE, STRICT +PRODUCT LIABILITY, OR OTHER LEGAL THEORY EVEN IF ID OR ID'S +REPRESENTATIVES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY SUCH +DAMAGES, OR EVEN IF SUCH DAMAGES ARE FORESEEABLE. Some jurisdictions +do not allow the exclusion or limitation of incidental or +consequential damages, so the above limitation or exclusion may not +apply to you. This section shall survive the cancellation or +termination of this Agreement. + +8. United States Government Restricted Rights. To the extent +applicable, the United States Government shall only have those rights +to use the Software as expressly stated and expressly limited and +restricted in this Agreement, as provided in 48 C.F.R. §§ 227.7201 +through 227.7204, inclusive. + +9. General Provisions. Neither this Agreement nor any part or +portion hereof shall be assigned or sublicensed by you. ID may +assign its rights under this Agreement in ID's sole discretion. +Should any provision of this Agreement be held to be void, invalid, +unenforceable or illegal by a court of competent jurisdiction, the +validity and enforceability of the other provisions shall not be +affected thereby. If any provision is determined to be unenforceable +by a court of competent jurisdiction, you agree to a modification of +such provision to provide for enforcement of the provision's intent, +to the maximum extent permitted by applicable law. Failure of ID to +enforce any provision of this Agreement shall not constitute or be +construed as a waiver of such provision or of the right to enforce +such provision. IMMEDIATELY UPON YOUR FAILURE TO COMPLY WITH OR +BREACH OF ANY TERM OR PROVISION OF THIS AGREEMENT, YOUR LICENSE +GRANTED HEREIN AND THIS AGREEMENT AUTOMATICALLY SHALL TERMINATE, +WITHOUT NOTICE, AND ID MAY PURSUE ALL RELIEF AND REMEDIES AGAINST YOU +THAT ARE AVAILABLE UNDER APPLICABLE LAW AND/OR THIS AGREEMENT. +Immediately upon termination of this Agreement, any and all rights +you are granted hereunder shall terminate, you shall have no right to +use the Software or the New Creations, in any manner, and you +immediately shall destroy all copies of the Software and the New +Creations in your possession, custody or control, and all rights +granted hereunder shall revert, without notice, to and be vested in +ID. + +YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT, YOU UNDERSTAND +THIS AGREEMENT, AND UNDERSTAND THAT BY CONTINUING THE DOWNLOAD OR +INSTALLATION OF THE SOFTWARE, BY LOADING OR RUNNING THE SOFTWARE, OR +BY PLACING OR COPYING THE SOFTWARE ONTO YOUR COMPUTER HARD DRIVE OR +RAM, YOU AGREE TO BE BOUND BY THE TERMS AND CONDITIONS OF THIS +AGREEMENT. YOU FURTHER AGREE THAT, EXCEPT FOR WRITTEN SEPARATE +AGREEMENTS, IF ANY, BETWEEN ID AND YOU, THIS AGREEMENT IS A COMPLETE +AND EXCLUSIVE STATEMENT OF THE RIGHTS AND LIABILITIES OF THE PARTIES +HERETO, RELATING TO THE SUBJECT MATTER HEREOF. THIS AGREEMENT +SUPERSEDES ALL PRIOR ORAL AGREEMENTS, PROPOSALS OR UNDERSTANDINGS, +AND ANY OTHER COMMUNICATIONS, IF ANY, BETWEEN ID AND YOU RELATING TO +THE SUBJECT MATTER OF THIS AGREEMENT. diff --git a/games/etlegacy-data/README b/games/etlegacy-data/README new file mode 100644 index 0000000000..01bad53b97 --- /dev/null +++ b/games/etlegacy-data/README @@ -0,0 +1,7 @@ +Wolfenstein Enemy Territory : Legacy is a project that aims +to create a fully compatible client and server for the popular +online FPS game Wolfenstein: Enemy Territory. + +This script repackages the original ID assets for W:ET to use +with etlegacy (they are needed for the game to run): the +resulting package is not redistributable. diff --git a/games/etlegacy-data/etlegacy-data.SlackBuild b/games/etlegacy-data/etlegacy-data.SlackBuild new file mode 100644 index 0000000000..5d7a890d0a --- /dev/null +++ b/games/etlegacy-data/etlegacy-data.SlackBuild @@ -0,0 +1,60 @@ +#!/bin/sh + +# Slackware build script for etlegacy-data +# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=etlegacy-data +VERSION=${VERSION:-2.60} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $PKG/usr/share/etlegacy $OUTPUT +cd $PKG/usr/share/etlegacy + +sh $CWD/et-linux-2.60.x86.run --tar xvf etmain/mp_bin.pk3 etmain/pak0.pk3 \ + etmain/pak1.pk3 etmain/pak2.pk3 etmain/video/etintro.roq + +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/LICENSE > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE +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/games/etlegacy-data/etlegacy-data.info b/games/etlegacy-data/etlegacy-data.info new file mode 100644 index 0000000000..f225c11c00 --- /dev/null +++ b/games/etlegacy-data/etlegacy-data.info @@ -0,0 +1,10 @@ +PRGNAM="etlegacy-data" +VERSION="2.60" +HOMEPAGE="http://www.etlegacy.com" +DOWNLOAD="http://ftp.freenet.de/pub/4players/hosted/et/official/et-linux-2.60.x86.run" +MD5SUM="2d2373f29f02e18d365d7f1860eee435" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/games/etlegacy-data/slack-desc b/games/etlegacy-data/slack-desc new file mode 100644 index 0000000000..dc6fee0b01 --- /dev/null +++ b/games/etlegacy-data/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------------------------------------------------------| +etlegacy-data: etlegacy-data (collaborative FPS - data files) +etlegacy-data: +etlegacy-data: Wolfenstein Enemy Territory : Legacy is a project that aims to create +etlegacy-data: a fully compatible client and server for the popular online FPS game +etlegacy-data: Wolfenstein: Enemy Territory. +etlegacy-data: This script repackages the original ID assets for W:ET to use +etlegacy-data: with etlegacy (they are needed for the game to run). This package +etlegacy-data: is not redistributable. +etlegacy-data: +etlegacy-data: homepage: http://www.etlegacy.com/ +etlegacy-data: diff --git a/games/etlegacy/README b/games/etlegacy/README new file mode 100644 index 0000000000..0c7a84a263 --- /dev/null +++ b/games/etlegacy/README @@ -0,0 +1,30 @@ +Wolfenstein Enemy Territory : Legacy is a project that aims to create +a fully compatible client and server for the popular online FPS game +Wolfenstein: Enemy Territory. + +It's based on its source code released under the GPLv3 license. + +The main goal of this project is to fix bugs, remove old dependencies +and make it playable on all major operating systems while still +remaining compatible with the ET 2.60b version and as many of its mods +as possible. + +This script builds the server with omni-bot support (x86 32bit only). +(http://www.omni-bot.com/) + +This command line switches are available: +- RENDERER2=yes (default: no) enable the new renderer (it performs + better but needs an OpenGL 3.0+ capable GPU; also it's still WIP, + so enable at your own risk, may cause incompatibilities with some + maps); +- FREETYPE=yes (default: no) enables freetype support; +- OPENAL=yes (default: no) enables OpenAL support + (for this you need the optional dependency OpenAL). + +To play you *need* also the data files from the original game +(etlegacy-data). + +* WARNING * + +To have a client/server compatible with the existing ones (to play +on the existing online servers), build it on/for a 32bit platform. diff --git a/games/etlegacy/doinst.sh b/games/etlegacy/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/games/etlegacy/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/games/etlegacy/etlegacy.SlackBuild b/games/etlegacy/etlegacy.SlackBuild new file mode 100644 index 0000000000..992d1e8c1d --- /dev/null +++ b/games/etlegacy/etlegacy.SlackBuild @@ -0,0 +1,165 @@ +#!/bin/sh + +# Slackware build script for etlegacy +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=etlegacy +VERSION=${VERSION:-20140201_c142cba} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i*86) ARCH=i686 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +w_omnibot=1 +if [ "$ARCH" = "i386" ]; then + SLKCFLAGS="-O2 -march=i386 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O3 -march=i686 -mtune=core2 -ffast-math -fomit-frame-pointer" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + w_omnibot=0 +else + SLKCFLAGS="-O2" + w_omnibot=0 +fi + +# The new renderer performs better but needs an OpenGL 3.0+ capable GPU; +# also it's still WIP, so enable at your own risk, may cause incompatibilities +# with some maps +if [ "${RENDERER2:-no}" = "yes" ]; then w_renderer=1; else w_renderer=0; fi +if [ "${FREETYPE:-no}" = "yes" ]; then w_freetype=1; else w_freetype=0; fi +if [ "${OPENAL:-no}" = "yes" ]; then w_openal=1; else w_openal=0; 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.?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 \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Fix location of the omnibot.zip, man install path +# and leave the relative path to binaries off +sed -i \ + -e "s|http://mirror.etlegacy.com/omnibot|file://$CWD|" \ + -e "s|share/man|man|" \ + CMakeLists.txt +sed -i "s|^\.\/etl|etl|" misc/etl_bot.sh misc/etlded_bot.sh + +mkdir build +cd build + cmake \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DINSTALL_DEFAULT_BINDIR="bin" \ + -DINSTALL_DEFAULT_MODDIR="share/$PRGNAM" \ + -DINSTALL_DEFAULT_BASEDIR="/usr/share/$PRGNAM" \ + -DBUILD_CLIENT=1 \ + -DBUILD_SERVER=1 \ + -DBUILD_MOD=1 \ + -DBUILD_MOD_PK3=1 \ + -DBUILD_PAK3_PK3=1 \ + -DFEATURE_ANTICHEAT=1 \ + -DFEATURE_CURL=1 \ + -DFEATURE_LUA=1 \ + -DFEATURE_TRACKER=1 \ + -DFEATURE_OMNIBOT=$w_omnibot \ + -DINSTALL_OMNIBOT=$w_omnibot \ + -DFEATURE_MULTIVIEW=0 \ + -DFEATURE_CURSES=0 \ + -DCROSS_COMPILE32=0 \ + -DFEATURE_OGG_VORBIS=1 \ + -DFEATURE_FREETYPE=$w_freetype \ + -DFEATURE_OPENAL=$w_openal \ + -DFEATURE_AUTOUPDATE=0 \ + -DFEATURE_IPV6=0 \ + -DFEATURE_GETTEXT=1 \ + -DFEATURE_RENDERER2=$w_renderer \ + -DCMAKE_BUILD_TYPE=Release .. + + # JIC, sanitize the just-uncompressed omnibot stuff + chown -R root:root legacy + find -L legacy \ + \( -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 {} \; + make + make install DESTDIR=$PKG +cd .. + +# Install a script to open urls, and move two scripts to launch the client and +# the dedicated server with omnibot support in the binaries folder +install -m 0755 $CWD/files/openurl.sh $PKG/usr/bin/openurl.sh +mv $PKG/usr/share/$PRGNAM/etl*.sh $PKG/usr/bin/ +chmod 755 $PKG/usr/bin/etl*.sh + +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 + +# Install an icon, a desktop file and man pages +install -m 0644 -D $CWD/files/$PRGNAM.svg \ + $PKG/usr/share/pixmaps/$PRGNAM.svg +install -m 0644 -D $CWD/files/$PRGNAM.desktop \ + $PKG/usr/share/applications/$PRGNAM.desktop +mkdir -p $PKG/usr/man/man6 +gzip -9 -c docs/linux/man/man6/etl.6 > $PKG/usr/man/man6/etl.6.gz +gzip -9 -c docs/linux/man/man6/etlded.6 > $PKG/usr/man/man6/etlded.6.gz + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv \ + $PKG/usr/share/$PRGNAM/README.md \ + $PKG/usr/share/$PRGNAM/COPYING.txt \ + $PKG/usr/share/etlegacy/legacy/omni-bot/*.txt \ + $PKG/usr/share/etlegacy/legacy/omni-bot/et/user/omni-bot.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/doc/$PRGNAM-$VERSION/changelog.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION/omnibot-changelog.txt +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/etlegacy/etlegacy.info b/games/etlegacy/etlegacy.info new file mode 100644 index 0000000000..839ea726ab --- /dev/null +++ b/games/etlegacy/etlegacy.info @@ -0,0 +1,12 @@ +PRGNAM="etlegacy" +VERSION="20140119_cd1790f" +HOMEPAGE="http://www.etlegacy.com" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/etlegacy-20140119_cd1790f.tar.xz \ + http://ponce.cc/slackware/sources/repo/omnibot-linux-latest.tar.gz" +MD5SUM="65c4af970af0753a51c6287446ec1f3c \ + 9bf78d4d6878b8842e373b3b1d548bed" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="%README% etlegacy-data lua zenity" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/games/etlegacy/files/etlegacy.desktop b/games/etlegacy/files/etlegacy.desktop new file mode 100644 index 0000000000..2618c0c13e --- /dev/null +++ b/games/etlegacy/files/etlegacy.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=ETLegacy +Comment=ET: Legacy (Collaborative online FPS) +Exec=etl +Icon=etl +Terminal=false +Type=Application +Categories=Game; +StartupNotify=false diff --git a/games/etlegacy/files/etlegacy.svg b/games/etlegacy/files/etlegacy.svg new file mode 100644 index 0000000000..51754d1889 --- /dev/null +++ b/games/etlegacy/files/etlegacy.svg @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + version="1.1" + width="273.6875" + height="173.40625" + viewBox="0 0 218.95 138.72526" + id="svg2"> + <metadata + id="metadata16"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs14"> + <linearGradient + id="linearGradient5430"> + <stop + id="stop5432" + style="stop-color:#df3323;stop-opacity:1" + offset="0" /> + <stop + id="stop5434" + style="stop-color:#3d0000;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="134.5764" + y1="2.2628517" + x2="134.5764" + y2="150.06567" + id="linearGradient5438" + xlink:href="#linearGradient5430" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.80000151,0,0,0.80000151,1.4747917,2.0250038)" + spreadMethod="pad" /> + </defs> + <path + d="m 141.47506,0 -2.025,0.025 -2.20001,0.025 -0.025,0 -0.05,0 c -0.56094,0.029611 -1.70494,0.1655976 -3.625,0.4000007 -1.92006,0.2344032 -4.43694,0.566477 -7.10002,1.0000019 -2.76457,0.4500476 -5.64229,1.0096873 -8.15001,1.6750032 -2.39466,0.6353177 -4.73741,1.1624015 -6.65002,3.0750058 -1.11785,1.1178567 -1.76614,2.3933294 -2.175,3.6250069 C 109.06614,8.5933348 108.41785,7.3178683 107.3,6.2000117 105.38739,4.2874074 103.04464,3.7603236 100.64998,3.1250059 98.142257,2.45969 95.264537,1.9000503 92.499964,1.4500027 89.859095,1.0200941 87.367626,0.683809 85.474951,0.4500008 83.582275,0.2161926 82.445337,0.0816673 81.924944,0.0500001 c -0.002,2.358e-4 -0.0219,2.018e-4 -0.025,0 -0.05436,-0.00354 -0.104368,0.00167 -0.15,0 -0.09126,-0.00334 -0.182568,0.00226 -0.300001,0 -0.234863,-0.00451 -0.536171,-0.022255 -0.825001,-0.025 -0.577661,-0.00549 -1.150002,0 -1.150002,0 l -2.000004,0 0,2.0000038 0,13.0000251 -72.650138,0 -4.82500917679,0 0,8.000015 L 3.3997953,26.45005 42.39987,65.450124 l 0.600001,0.575001 0.825001,0 35.650068,0 0,58.850115 0,4.85001 3.425006,-3.45001 13.575026,-13.62503 0,21.22504 0,4.85001 3.425005,-3.45 14.575033,-14.62503 0,4.22501 0,4.82501 3.42501,-3.40001 21.00004,-21.00004 0.575,-0.60001 0,-0.825 0,-37.850065 35.65006,0 0.825,0 0.6,-0.575001 39.00008,-39.000074 3.4,-3.425006 0,-8.000015 -4.82501,0 -72.65013,0 0,-13.0000251 z m -59.875116,4.0500076 0.075,0 c 0.01691,0.00103 1.091842,0.132738 1.725003,0.2000004 z m 55.700106,0 0.075,0 0.1,0 0,0.2250004 -2,0 c 0.72505,-0.076119 1.78584,-0.2215776 1.825,-0.2250004 z M 83.824948,4.3000081 c 0.505641,0.055705 0.521361,0.044253 1.175002,0.1250002 1.655203,0.2044728 3.853399,0.5170549 6.125012,0.8750017 C 88.120084,4.8294493 85.543799,4.4927178 83.824948,4.3000081 z m 50.925102,0.05 c -1.61252,0.1827352 -3.91957,0.4916419 -6.57501,0.9000017 2.14817,-0.332921 4.26472,-0.6314689 5.85001,-0.8250016 0.40573,-0.049532 0.36769,-0.034762 0.725,-0.075 z m -34.950073,2.675005 c 1.462323,0.389813 2.501633,0.7939944 3.350013,1.2250023 -0.15979,-0.072953 -0.27743,-0.1411677 -0.475,-0.2250004 -0.73852,-0.313363 -1.74502,-0.6878195 -2.875013,-1.0000019 z m 19.350043,0 c -1.12999,0.3121818 -2.13649,0.686639 -2.87501,1.0000019 -0.19757,0.083833 -0.31521,0.1520469 -0.475,0.2250004 0.84838,-0.4310079 1.88769,-0.8351893 3.35001,-1.2250023 z m -33.675069,1.550003 c 1.673843,0.2029118 3.290574,0.3746285 5.750011,0.7750014 2.615437,0.4257684 5.275002,0.9244885 7.350015,1.4750025 0.97355,0.25829 1.877973,0.600456 2.525003,0.875002 0.2086,0.08851 0.35117,0.155736 0.50001,0.225 0.0575,0.137843 0.13205,0.275764 0.2,0.475002 0.0976,0.286085 0.1654,0.634726 0.25,0.975001 -0.97037,0.241444 -2.243943,0.668929 -3.400013,1.825004 -1.3422,1.342202 -1.77999,2.924928 -1.975005,3.900007 -0.207144,1.03545 -0.201016,1.881533 -0.2,1.925004 2.4e-5,0.0011 0,0.05 0,0.05 l 0,16.950032 -65.325124,0 -3.000005,-3.000006 27.325051,0 0.825002,0 0.600001,-0.575001 4.000008,-4.000007 3.400006,-3.425007 -4.825009,0 -39.325074,0 -4.000008,-4.000007 58.47511,0 -5.57501,5.57501 -3.400007,3.425007 4.82501,0 13.000024,0 2.000004,0 0,-2.000004 z m 48.000099,0 0,21.4500409 0,2.000004 2,0 13.00002,0 4.82501,0 -3.4,-3.425007 -5.57501,-5.57501 58.47511,0 -4.00001,4.000007 -39.32508,0 -4.825,0 3.4,3.425007 4.00001,4.000007 0.6,0.575001 0.825,0 27.32505,0 -3,3.000006 -65.32513,0 0,-16.950032 c 0,0 -2e-5,-0.04888 0,-0.05 0.001,-0.04347 0.007,-0.889474 -0.2,-1.925004 -0.19501,-0.975067 -0.63279,-2.557801 -1.975,-3.900007 -1.15607,-1.156066 -2.42964,-1.583559 -3.40001,-1.825004 0.0846,-0.340275 0.15244,-0.688916 0.25,-0.975001 0.0679,-0.199238 0.14251,-0.337159 0.20001,-0.475002 0.14882,-0.06926 0.2914,-0.136491 0.5,-0.225 0.64703,-0.274545 1.55145,-0.616712 2.525,-0.875002 2.07501,-0.550514 4.73458,-1.0492341 7.35001,-1.4750025 2.45944,-0.4003729 4.07617,-0.5720896 5.75002,-0.7750014 z M 105.44999,10.75002 c 0.36286,0.911786 0.61428,1.899778 0.775,3.025006 0.11508,0.806639 0.13951,1.402629 0.2,1.950004 l 0.025,1.300002 -1.975,0 1.725,-0.025 0.1,-1.875003 c 0,0 0.031,-0.608393 -0.075,-1.350003 -0.13725,-0.96083 -0.38475,-1.897196 -0.65,-2.675005 -0.0439,-0.128608 -0.0802,-0.229896 -0.125,-0.350001 z m 8.05002,0 c -0.0448,0.120105 -0.0811,0.221393 -0.125,0.350001 -0.26525,0.777809 -0.51275,1.714175 -0.65,2.675005 0.16075,-1.125247 0.41213,-2.113214 0.775,-3.025006 z m -0.875,4.125008 -0.1,1.575003 0,-0.725001 c 0.0264,-0.239123 0.0753,-0.570767 0.1,-0.850002 z m -0.125,2.125004 1.975,0.025 -1,0 -0.975,0 z m -8.17502,0.025 c -0.041,0.0024 -0.4443,0.04387 -0.975,0.150001 -0.36337,0.07267 -0.66015,0.160047 -0.9,0.25 -0.0624,0.02341 -0.11939,0.02704 -0.175,0.05 0.33272,-0.161248 0.70162,-0.275325 1.075,-0.35 0.48654,-0.09731 0.975,-0.100001 0.975,-0.100001 z m 10.27502,0 c 0.17915,0.0019 0.4303,-0.01394 1,0.100001 0.37338,0.07468 0.74228,0.188751 1.075,0.35 -0.0556,-0.02295 -0.11256,-0.02659 -0.175,-0.05 -0.23984,-0.08995 -0.53662,-0.177325 -0.9,-0.25 -0.54393,-0.108764 -0.97882,-0.148809 -1,-0.150001 z m -13.67503,1.800004 c -0.0229,0.0556 -0.0266,0.112574 -0.05,0.175 -0.0899,0.239816 -0.17732,0.536711 -0.25,0.900002 -0.10298,0.515223 -0.12122,0.888151 -0.125,0.950002 2.7e-4,-0.09844 -0.0292,-0.429085 0.075,-0.950002 0.0747,-0.373381 0.18875,-0.742282 0.35,-1.075002 z m 17.10004,0 c 0.16124,0.332717 0.27532,0.701615 0.35,1.075002 0.1042,0.520844 0.0747,0.851573 0.075,0.950002 -0.004,-0.06189 -0.0219,-0.434562 -0.125,-0.950002 -0.0727,-0.36332 -0.16004,-0.660121 -0.25,-0.900002 -0.0234,-0.06244 -0.027,-0.119368 -0.05,-0.175 z m -13.55003,10.200019 c 0.0155,-0.0012 0.1,0 0.1,0 l 1.9,0 1.97501,0 0.025,0 2,0 0.025,0 2.97501,0 0.9,0 c 0,0 0.0845,-0.0012 0.1,0 l 0,0.1 0,8.900017 -10.00002,0 0,-8.900017 z m -23.000047,-7.150014 0,6.150012 -6.150011,0 5.57501,-5.57501 z m 56.000107,0 0.575,0.575002 5.57501,5.57501 -6.15001,0 z m -98.325187,24.150046 57.325109,0 0,38.000072 0,4.825009 3.425005,-3.400007 4.000013,-4.000007 0.575,-0.600001 0,-0.825002 0,-34.000064 10.00002,0 0,38.000072 0,4.825009 3.42501,-3.400007 4,-4.000007 0.575,-0.600001 0,-0.825002 0,-34.000064 57.32511,0 -4,4.000008 -42.32508,0 -2.00001,0 0,2.000003 0,41.325078 -9.00002,9.000014 0,-12.32502 0,-4.825009 -3.425,3.400006 -4.00001,4.000008 -0.575,0.600001 0,0.825002 0,7.325012 -10.00002,10.00002 0,-21.17504 0,-4.825009 -3.42501,3.400007 -13.575025,13.600022 0,-50.325092 0,-2.000003 -2.000004,0 -42.32508,0 z" + id="path3892" + style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" /> + <path + d="m 80.899942,3.4500065 0,13.5750255 c 0.0057,0.747658 -0.677344,1.430652 -1.425003,1.425003 l -74.4251406,0 36.1500686,36.150068 40.275076,0 c 0.747658,-0.0057 1.430651,0.677345 1.425003,1.425003 l 0,57.425104 14.575031,-14.625023 c 0.39153,-0.399953 1.03245,-0.531513 1.54988,-0.318145 0.51742,0.213376 0.87931,0.758473 0.87512,1.318146 l 0,22.625042 15.575033,-15.62503 c 0.39153,-0.39995 1.03246,-0.53151 1.54988,-0.31814 0.51743,0.21337 0.87932,0.75847 0.87512,1.31814 l 0,5.62501 18.15004,-18.15003 0,-39.275074 c -0.006,-0.747658 0.67734,-1.430652 1.425,-1.425003 l 40.27508,0 36.15007,-36.150068 -74.42514,0 c -0.74766,0.0057 -1.43066,-0.677345 -1.42501,-1.425003 l 0,-13.5500255 -0.75,0 0,-0.025 c -0.12117,0.00807 -1.49587,0.1472265 -3.35,0.3750007 -1.88147,0.2311324 -4.34424,0.5758045 -6.95002,1.0000019 -2.69691,0.4390327 -5.46733,0.9811276 -7.80001,1.600003 -2.41264,0.6400874 -3.98999,1.0649805 -5.12501,2.2000042 -1.33333,1.3333278 -1.65391,3.1773877 -1.92501,5.0750097 -0.12252,0.857658 -0.14082,1.502959 -0.2,2.025004 l -0.025,1.875003 1.55001,0 1,0 c 0.0252,0.0076 0.0502,0.01597 0.075,0.025 0,0 0.40683,0.02138 0.925,0.125 0.31902,0.0638 0.5829,0.143578 0.8,0.225001 0.10855,0.04071 0.21314,0.08552 0.3,0.125 0.0434,0.01974 0.0715,0.02167 0.125,0.05 0.0535,0.02833 0.0276,-0.07243 0.375,0.275001 0.34819,0.347604 0.24662,0.321414 0.275,0.375 0.0284,0.05358 0.0302,0.08154 0.05,0.125001 0.0395,0.08692 0.0843,0.191437 0.125,0.3 0.0814,0.217128 0.16121,0.481024 0.225,0.800002 0.10364,0.518223 0.125,0.925002 0.125,0.925002 0.009,0.02476 0.0174,0.04978 0.025,0.075 l 0,19.000036 c 0.006,0.747644 -0.67732,1.430629 -1.42496,1.425002 l -14.00002,0 c -0.74766,0.0057 -1.43065,-0.677344 -1.42501,-1.425002 l 0,-19.000036 c 0.008,-0.02522 0.016,-0.05024 0.025,-0.075 0,0 0.0214,-0.406945 0.125,-0.925002 0.0638,-0.318958 0.1436,-0.582921 0.225,-0.800002 0.0407,-0.10854 0.0855,-0.213147 0.125,-0.3 0.0198,-0.04342 0.0217,-0.0715 0.05,-0.125001 0.0283,-0.0535 -0.0723,-0.02764 0.275,-0.375 0.34793,-0.348311 0.32148,-0.246652 0.37501,-0.275001 0.0535,-0.02835 0.0816,-0.03026 0.125,-0.05 0.0869,-0.03949 0.19144,-0.08429 0.3,-0.125 0.21711,-0.08142 0.48099,-0.161197 0.8,-0.225001 0.51824,-0.103637 0.925,-0.125 0.925,-0.125 0.0247,-0.009 0.0498,-0.01737 0.075,-0.025 l 2,0 0.55,0 -0.025,-1.875003 c -0.0591,-0.521651 -0.0776,-1.167032 -0.2,-2.025004 -0.271,-1.897581 -0.59162,-3.7416741 -1.92496,-5.0750097 C 103.73996,7.4899926 102.16262,7.0650995 99.749977,6.4250121 97.417297,5.8061367 94.64688,5.2640418 91.949963,4.8250091 89.364134,4.4040604 86.933122,4.0566076 85.07495,3.8250072 83.216778,3.5934068 81.821792,3.4558999 81.724944,3.4500065 c -0.01664,2.946e-4 -0.03336,2.946e-4 -0.05,0 -5.04e-4,-3.11e-5 -0.05432,-0.00264 -0.05,0 -0.0108,-3.603e-4 -0.03648,3.705e-4 -0.05,0 -0.05408,-0.00148 -0.114734,0.00133 -0.2,0 -0.130649,-0.00204 -0.307376,0.00137 -0.475001,0 z" + id="path3885" + style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:url(#linearGradient5438);fill-opacity:1;stroke:none;stroke-width:4.00000763;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" /> + <path + d="m 79.474939,2.0250038 0,15.0000282 -77.850147,0 39.000074,39.000074 40.850077,0 0,60.850114 17.000034,-17.050032 c 0,8.683352 0,17.366702 0,26.050052 l 18.000033,-18.05004 0,9.05002 21.00004,-21.000039 0,-39.850075 40.85008,0 39.00007,-39.000074 -77.85014,0 0,-15.0000282 -2.19342,0.030005 c -0.56842,0.030005 -5.24819,0.5139758 -10.50661,1.3699977 -2.72494,0.4435953 -5.54482,0.9868914 -7.95001,1.6250031 -2.40519,0.6381117 -4.29291,1.1178968 -5.75001,2.5750049 -1.70711,1.7071081 -2.05238,3.9666185 -2.32501,5.8750105 -0.14279,0.999532 -0.19036,1.874272 -0.23268,2.199639 l -0.0423,3.325372 3.00001,0 1,0 c 0,0 0.30115,0.01525 0.725,0.1 0.42385,0.08477 0.84641,0.271405 0.875,0.300001 0.0286,0.02859 0.21523,0.451146 0.3,0.875001 0.0848,0.423855 0.1,0.725002 0.1,0.725002 l 0,19.000036 -14.00002,0 0,-19.000036 c 0,0 0.0153,-0.301147 0.1,-0.725002 0.0848,-0.423855 0.2714,-0.846406 0.3,-0.875001 0.0286,-0.02859 0.45115,-0.21523 0.875,-0.300001 0.4239,-0.08477 0.725,-0.1 0.725,-0.1 l 2,0 2.00001,0 -0.0424,-3.325372 c -0.0423,-0.325367 -0.0901,-1.200107 -0.23264,-2.199639 -0.27262,-1.908392 -0.61788,-4.1679025 -2.32499,-5.8750106 -1.4571,-1.4571081 -3.34482,-1.9368932 -5.75001,-2.5750049 C 97.719787,4.4118978 94.899905,3.8686017 92.174963,3.4250064 86.958546,2.5758217 82.355913,2.0923049 81.802928,2.0586543 81.714408,2.034763 79.474939,2.0250038 79.474939,2.0250038 z m 4.000008,4.250008 c 1.883196,0.2104537 4.619937,0.537548 8.075015,1.1000021 2.650061,0.4314048 5.361455,0.9443646 7.550015,1.5250029 2.188563,0.5806383 3.932123,1.4821112 3.975013,1.5250032 0.29289,0.292891 0.94763,2.033399 1.175,3.625006 0.0742,0.519018 0.05,0.975002 0.05,0.975002 0,0 -0.64839,0.0097 -1.34996,0.150001 -0.82616,0.165229 -1.90361,0.478597 -2.87501,1.450002 -0.971403,0.971405 -1.284773,2.048861 -1.450003,2.875006 -0.16527,0.826145 -0.15004,1.525003 -0.15004,1.525003 l 0,19.000036 -68.17513,0 -7.000014,-7.000014 32.175061,0 4.000008,-4.000007 -40.175076,0 -8.000015,-8.000015 68.175128,0 -9.000017,9.000017 13.000025,0 z m 52.000103,0 0,23.7500452 13.00002,0 -9.00001,-9.000017 68.17512,0 -8.00001,8.000015 -40.17508,0 4.00001,4.000007 32.17506,0 -7.00001,7.000014 -68.17513,0 0,-19.000036 c 0,0 0.0153,-0.698858 -0.15,-1.525003 -0.16523,-0.826145 -0.47859,-1.903601 -1.45,-2.875006 -0.97141,-0.971405 -2.04886,-1.284773 -2.87501,-1.450002 -0.74271,-0.148543 -1.25461,-0.148713 -1.375,-0.150001 0.034,-0.432859 8e-4,-0.455984 0.075,-0.975002 0.22737,-1.591607 0.88211,-3.332115 1.175,-3.625006 0.0429,-0.0429 1.78645,-0.9443649 3.97501,-1.5250032 2.18855,-0.5806383 4.89995,-1.0935981 7.55001,-1.5250029 3.45508,-0.5624541 6.19182,-0.8895484 8.07502,-1.1000021 z M 34.299854,44.025083 l 64.175123,0 0,40.000076 4.000013,-4.000008 0,-36.000068 14.00002,0 0,40.000076 4.00001,-4.000008 0,-36.000068 64.17512,0 -8.00001,8.000015 -43.17509,0 0,42.17508 -13.00002,13.000022 0,-17.17503 -4.00001,4.000007 0,8.175013 -14.00002,14.00003 0,-26.02505 -17.000039,17.02503 0,-55.175102 -43.175082,0 z" + id="stroke_curved_top_left" + style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" /> + <g + transform="translate(1.4749954,152.42528)" + id="g3771"> + <path + d="m 103,15 c 0,0 -2,0 -3,1 -1,1 -1,3 -1,3 M 80,2 c 0,0 20,2 23,5 2,2 2,8 2,8" + id="path3773" + style="fill:none;stroke:#000000;stroke-width:4.00000763;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none" /> + <path + d="m 113,15 c 0,0 2,0 3,1 1,1 1,3 1,3 M 136,2 c 0,0 -20,2 -23,5 -2,2 -2,8 -2,8" + id="path3775" + style="fill:none;stroke:#000000;stroke-width:4.00000763;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none" /> + <path + d="m 99,19 c 0,0 0,58 0,58 M 82,93 c 0,0 0,-41 0,-41 0,0 -42,0 -42,0 0,0 -35,-35 -35,-35 0,0 75,0 75,0 m 25,-2 c 0,0 -2,0 -2,0 M 80,2 c 0,0 0,24 0,24 m -27,3 c 0,0 -36,0 -36,0 m 91,11 c 0,0 -80,0 -80,0" + id="path3777" + style="fill:none;stroke:#000000;stroke-width:4.00000763;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none" /> + <path + d="m 117,19 c 0,0 0,58 0,58 m 17,16 c 0,0 0,-41 0,-41 0,0 42,0 42,0 0,0 35,-35 35,-35 0,0 -75,0 -75,0 m -25,-2 c 0,0 2,0 2,0 M 136,2 c 0,0 0,24 0,24 m 27,3 c 0,0 36,0 36,0 m -91,11 c 0,0 80,0 80,0" + id="path3779" + style="fill:none;stroke:#000000;stroke-width:4.00000763;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none" /> + <path + d="m 134,89 c 0,0 0,4 0,4 0,0 -17,17 -17,17 0,0 0,-9 0,-9 0,0 -18,18 -18,18 0,0 0,-26 0,-26 0,0 -17,17 -17,17 0,0 0,-17 0,-17 m 35,0 c 0,0 0,8 0,8" + id="path3781" + style="fill:none;stroke:#000000;stroke-width:4.00000763;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none" /> + <path + d="m 138,2 c 0,0 0,-2 0,-2 0,0 -2,0 -2,0 0,0 0,2 0,2 0,0 2,0 2,0 z m -4,24 c 0,0 0,2 0,2 0,0 13,0 13,0 0,0 -9,-9 -9,-9 0,0 -4,0 -4,0 0,0 0,7 0,7 z m 30,5 c 0,0 -2,0 -2,0 0,0 -4,-4 -4,-4 0,0 6,0 6,0 0,0 0,4 0,4 z M 112,17 c 0,0 -3,0 -3,0 0,0 0,-3 0,-3 0,0 3,0 3,0 0,0 0,3 0,3 z" + id="path3783" + style="fill:#000000;fill-opacity:1;stroke:none" /> + <path + d="m 78,2 c 0,0 0,-2 0,-2 0,0 2,0 2,0 0,0 0,2 0,2 0,0 -2,0 -2,0 z m 4,24 c 0,0 0,2 0,2 0,0 -13,0 -13,0 0,0 9,-9 9,-9 0,0 4,0 4,0 0,0 0,7 0,7 z m -30,5 c 0,0 2,0 2,0 0,0 4,-4 4,-4 0,0 -6,0 -6,0 0,0 0,4 0,4 z m 52,-14 c 0,0 3,0 3,0 0,0 0,-3 0,-3 0,0 -3,0 -3,0 0,0 0,3 0,3 z" + id="path3785" + style="fill:#000000;fill-opacity:1;stroke:none" /> + <path + d="m 97,82 c 0,0 4,-4 4,-4 0,0 0,-1 0,-1 0,0 -4,0 -4,0 0,0 0,5 0,5 z m 18,0 c 0,0 4,-4 4,-4 0,0 0,-1 0,-1 0,0 -4,0 -4,0 0,0 0,5 0,5 z m 0,11 c 0,0 4,0 4,0 0,0 0,-5 0,-5 0,0 -4,4 -4,4 0,0 0,1 0,1 z" + id="path3787" + style="fill:#000000;fill-opacity:1;stroke:none" /> + </g> +</svg> diff --git a/games/etlegacy/files/get_tarball_from_git.sh b/games/etlegacy/files/get_tarball_from_git.sh new file mode 100644 index 0000000000..42aaa1626d --- /dev/null +++ b/games/etlegacy/files/get_tarball_from_git.sh @@ -0,0 +1,31 @@ +rm -fR /tmp/tmp-etlegacy +mkdir -p /tmp/tmp-etlegacy +cd /tmp/tmp-etlegacy +git clone git://github.com/etlegacy/etlegacy.git +cd etlegacy +git submodule init +git submodule update +cd libs +git archive master > ../../libs.tar +cd .. +cd scripts +git archive master > ../../scripts.tar +cd .. +COMMIT=$( git log -1 | head -1 | cut -c 8-14 ) +COMMDATE=$( git log -1 --date=short | grep ^Date | awk '{print $2}' | sed 's/-//g' ) +rm -f /tmp/etlegacy-${COMMDATE}_${COMMIT}.tar.xz +git archive master > ../src.tar +cd .. +mkdir etlegacy-${COMMDATE}_${COMMIT} +cd etlegacy-${COMMDATE}_${COMMIT} +tar xf ../src.tar +cd libs +tar xf ../../libs.tar +cd .. +cd scripts +tar xf ../../scripts.tar +cd .. +cd .. +rm -f src.tar libs.tar scripts.tar +tar Jcf /tmp/etlegacy-${COMMDATE}_${COMMIT}.tar.xz etlegacy-${COMMDATE}_${COMMIT} +echo "/tmp/etlegacy-${COMMDATE}_${COMMIT}.tar.xz done." diff --git a/games/etlegacy/files/openurl.sh b/games/etlegacy/files/openurl.sh new file mode 100644 index 0000000000..274f12d08d --- /dev/null +++ b/games/etlegacy/files/openurl.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# use this script to customize the way the engine should open URLs + +for test_browser in firefox seamonkey opera +do + browser=`which $test_browser` + if [ "x$browser" != "x" ] + then + $browser -remote "openURL($1,new-window)" || $browser "$1" + exit + fi +done +# xterm -e lynx "$1" + +exit 0 diff --git a/games/etlegacy/slack-desc b/games/etlegacy/slack-desc new file mode 100644 index 0000000000..7c92988b4e --- /dev/null +++ b/games/etlegacy/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------------------------------------------------------| +etlegacy: etlegacy (collaborative FPS) +etlegacy: +etlegacy: Wolfenstein Enemy Territory : Legacy is a project that aims to create +etlegacy: a fully compatible client and server for the popular online FPS game +etlegacy: Wolfenstein: Enemy Territory. +etlegacy: It's based on its source code released under the GPLv3 license. +etlegacy: The main goal of this project is to fix bugs, remove old dependencies +etlegacy: and make it playable on all major operating systems while still +etlegacy: remaining compatible with the ET 2.60b version and as many of its mods +etlegacy: as possible. +etlegacy: homepage: http://www.etlegacy.com/ diff --git a/games/jzintv/jzintv.SlackBuild b/games/jzintv/jzintv.SlackBuild index fd533e16ac..fb247d23db 100644 --- a/games/jzintv/jzintv.SlackBuild +++ b/games/jzintv/jzintv.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=jzintv -VERSION=${VERSION:-r1007} +VERSION=${VERSION:-r1025} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/games/jzintv/jzintv.info b/games/jzintv/jzintv.info index aacd3c1107..ab351a8ea6 100644 --- a/games/jzintv/jzintv.info +++ b/games/jzintv/jzintv.info @@ -1,8 +1,8 @@ PRGNAM="jzintv" -VERSION="r1007" +VERSION="r1025" HOMEPAGE="http://spatula-city.org/~im14u2c/intv/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/jzintv-r1007.tar.xz" -MD5SUM="3e6bda7bc4b052cb0f5eaaf1e3a0b30a" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/jzintv-r1025.tar.xz" +MD5SUM="6c1a9703c1c3a797aca94a0f98907bcb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/games/pcsx2/README b/games/pcsx2/README new file mode 100644 index 0000000000..05ac7d7db5 --- /dev/null +++ b/games/pcsx2/README @@ -0,0 +1,6 @@ +PCSX2 is a PlayStation 2 emulator for Windows and Linux, started by +the same team that brought you PCSX (a Sony PlayStation 1 emulator). + +wxPython, portaudio and soundtouch are optional dependencies. + +NOTE: This is buildable only on x86 32bit platform. diff --git a/games/pcsx2/doinst.sh b/games/pcsx2/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/games/pcsx2/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/games/pcsx2/pcsx2.SlackBuild b/games/pcsx2/pcsx2.SlackBuild new file mode 100644 index 0000000000..3b3014c169 --- /dev/null +++ b/games/pcsx2/pcsx2.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware build script for pcsx2 +# Copyright 2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=pcsx2 +VERSION=${VERSION:-r5913} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i686 ;; + 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=core2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +DOCS="pcsx2/Docs/*.txt pcsx2/Docs/*.doc" + +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.?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 \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Set our locations +sed -i \ + -e "s|share/doc/pcsx2|doc/${PRGNAM}-${VERSION}|" \ + -e "s|share/man|man|" \ + CMakeLists.txt + +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DPLUGIN_DIR=/usr/lib/$PRGNAM \ + -DPACKAGE_MODE=ON \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/games/pcsx2/pcsx2.info b/games/pcsx2/pcsx2.info new file mode 100644 index 0000000000..d37b6065f0 --- /dev/null +++ b/games/pcsx2/pcsx2.info @@ -0,0 +1,10 @@ +PRGNAM="pcsx2" +VERSION="r5913" +HOMEPAGE="http://pcsx2.net" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/pcsx2-r5913.tar.xz" +MD5SUM="51a81cc75f171d3c369dd590de2c1aae" +DOWNLOAD_x86_64="UNSUPPORTED" +MD5SUM_x86_64="" +REQUIRES="wxPython nvidia-cg-toolkit portaudio soundtouch sparsehash" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/games/pcsx2/slack-desc b/games/pcsx2/slack-desc new file mode 100644 index 0000000000..7511c9bbd2 --- /dev/null +++ b/games/pcsx2/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------------------------------------------------------| +pcsx2: pcsx2 (Playstation 2 emulator) +pcsx2: +pcsx2: PCSX2 is a PlayStation 2 emulator for Windows and Linux, started by +pcsx2: the same team that brought you PCSX (a Sony PlayStation 1 emulator). +pcsx2: +pcsx2: homepage: http://pcsx2.net +pcsx2: +pcsx2: +pcsx2: +pcsx2: +pcsx2: diff --git a/graphics/lximage-qt/README b/graphics/lximage-qt/README new file mode 100644 index 0000000000..84b68b6aae --- /dev/null +++ b/graphics/lximage-qt/README @@ -0,0 +1 @@ +A simple, fast, and lightweight image viewer (Qt version). diff --git a/graphics/lximage-qt/doinst.sh b/graphics/lximage-qt/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/graphics/lximage-qt/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/graphics/lximage-qt/lximage-qt.SlackBuild b/graphics/lximage-qt/lximage-qt.SlackBuild new file mode 100644 index 0000000000..45c10f138d --- /dev/null +++ b/graphics/lximage-qt/lximage-qt.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for lximage-qt + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lximage-qt +VERSION=${VERSION:-20131125_ff3e747} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/graphics/lximage-qt/lximage-qt.info b/graphics/lximage-qt/lximage-qt.info new file mode 100644 index 0000000000..6e8f881422 --- /dev/null +++ b/graphics/lximage-qt/lximage-qt.info @@ -0,0 +1,10 @@ +PRGNAM="lximage-qt" +VERSION="20131125_ff3e747" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lximage-qt-20131125_ff3e747.tar.xz" +MD5SUM="81d7afe0d89e2b7d71985247136489ee" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="libxdsettings pcmanfm-qt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/graphics/lximage-qt/slack-desc b/graphics/lximage-qt/slack-desc new file mode 100644 index 0000000000..4ccabe36f9 --- /dev/null +++ b/graphics/lximage-qt/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------------------------------------------------------| +lximage-qt: lximage-qt (Qt image viewer) +lximage-qt: +lximage-qt: A simple, fast, and lightweight image viewer (Qt version). +lximage-qt: +lximage-qt: homepage: http://lxde.org +lximage-qt: +lximage-qt: +lximage-qt: +lximage-qt: +lximage-qt: +lximage-qt: diff --git a/libraries/libcacard/README b/libraries/libcacard/README deleted file mode 100644 index 4a9bf1291e..0000000000 --- a/libraries/libcacard/README +++ /dev/null @@ -1,6 +0,0 @@ -libcacard (Virtual Smart Card Emulator library) - -This emulator is designed to provide emulation of actual smart cards -to a virtual card reader running in a guest virtual machine. The -emulates smart cards can be representations of real smart cards, or -the cards could be pure software constructs. diff --git a/libraries/libcacard/libcacard.info b/libraries/libcacard/libcacard.info deleted file mode 100644 index f3337883b6..0000000000 --- a/libraries/libcacard/libcacard.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libcacard" -VERSION="0.1.2" -HOMEPAGE="http://spice-space.org" -DOWNLOAD="http://spice-space.org/download/libcacard/libcacard-0.1.2.tar.bz2" -MD5SUM="ca61fd1d7feaa09e37011daac95c0168" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Matteo Bernardini" -EMAIL="ponce@slackbuilds.org" diff --git a/libraries/libfm/README b/libraries/libfm/README index 29d66e09a7..2711a773f9 100644 --- a/libraries/libfm/README +++ b/libraries/libfm/README @@ -2,3 +2,12 @@ LibFM provides file management functions built on top of Glib/GIO, giving a convenient higher-level API. vala is an optional dependency (for custom file manager actions). + +you can choose between which version of gtk the library builds +against: +GTK=2 (default) link with gtk+2 +GTK=3 link with gtk+3 +GTK=0 don't link against gtk at all +pass the script the parameter you prefer, like + + GTK=3 ./pcmanfm.SlackBuild diff --git a/libraries/libfm/libfm.SlackBuild b/libraries/libfm/libfm.SlackBuild index bef78d31a8..923fd364fa 100644 --- a/libraries/libfm/libfm.SlackBuild +++ b/libraries/libfm/libfm.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libfm -VERSION=${VERSION:-20131123_fb4bdbe} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,8 +55,11 @@ else LIBDIRSUFFIX="" fi -# Enable custom actions if we have vala available -if [ -h /usr/bin/vapigen ]; then actions=""; else actions="--disable-actions"; fi +case "$GTK" in + 3) gtk="--with-gtk=3 --enable-gtk-doc" ;; + 0) gtk="--without-gtk" ;; + *) gtk="--with-gtk=2 --enable-gtk-doc" ;; +esac set -e @@ -84,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --enable-static=no \ - --enable-gtk-doc \ + $gtk \ $actions \ --build=$ARCH-slackware-linux diff --git a/libraries/libfm/libfm.info b/libraries/libfm/libfm.info index 9de4818ebc..055c344635 100644 --- a/libraries/libfm/libfm.info +++ b/libraries/libfm/libfm.info @@ -1,8 +1,8 @@ PRGNAM="libfm" -VERSION="20131123_fb4bdbe" +VERSION="1.2.0" HOMEPAGE="http://pcmanfm.sourceforge.net" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/libfm-20131123_fb4bdbe.tar.xz" -MD5SUM="c5a3621e01fb7e9ee73546047710e3cc" +DOWNLOAD="http://downloads.sf.net/pcmanfm/libfm-1.2.0.tar.xz" +MD5SUM="07d1361bc008db46b0fd4c775f5696de" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="menu-cache" diff --git a/libraries/liblxqt-mount/README b/libraries/liblxqt-mount/README new file mode 100644 index 0000000000..de593b4983 --- /dev/null +++ b/libraries/liblxqt-mount/README @@ -0,0 +1 @@ +Library used by LXDE-Qt to manage removable devices. diff --git a/libraries/liblxqt-mount/liblxqt-mount.SlackBuild b/libraries/liblxqt-mount/liblxqt-mount.SlackBuild new file mode 100644 index 0000000000..3552cb9267 --- /dev/null +++ b/libraries/liblxqt-mount/liblxqt-mount.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for liblxqt-mount + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=liblxqt-mount +VERSION=${VERSION:-20131113_9d5a1f7} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/liblxqt-mount/liblxqt-mount.info b/libraries/liblxqt-mount/liblxqt-mount.info new file mode 100644 index 0000000000..e7326e56fd --- /dev/null +++ b/libraries/liblxqt-mount/liblxqt-mount.info @@ -0,0 +1,10 @@ +PRGNAM="liblxqt-mount" +VERSION="20131113_9d5a1f7" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/liblxqt-mount-20131113_9d5a1f7.tar.xz" +MD5SUM="20e3d2b47a75fe701a77afd307c83202" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liblxqt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/liblxqt-mount/slack-desc b/libraries/liblxqt-mount/slack-desc new file mode 100644 index 0000000000..a80ab0a134 --- /dev/null +++ b/libraries/liblxqt-mount/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------------------------------------------------------| +liblxqt-mount: liblxqt-mount (removable device library) +liblxqt-mount: +liblxqt-mount: Library used by LXDE-Qt to manage removable devices. +liblxqt-mount: +liblxqt-mount: homepage: http://lxde.org +liblxqt-mount: +liblxqt-mount: +liblxqt-mount: +liblxqt-mount: +liblxqt-mount: +liblxqt-mount: diff --git a/libraries/liblxqt/README b/libraries/liblxqt/README new file mode 100644 index 0000000000..7b6eff3c7c --- /dev/null +++ b/libraries/liblxqt/README @@ -0,0 +1 @@ +Core utility library for all LXDE-Qt components. diff --git a/libraries/liblxqt/liblxqt.SlackBuild b/libraries/liblxqt/liblxqt.SlackBuild new file mode 100644 index 0000000000..529105448e --- /dev/null +++ b/libraries/liblxqt/liblxqt.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for liblxqt + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=liblxqt +VERSION=${VERSION:-20131126_0f9fe3d} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/liblxqt/liblxqt.info b/libraries/liblxqt/liblxqt.info new file mode 100644 index 0000000000..e35a78e695 --- /dev/null +++ b/libraries/liblxqt/liblxqt.info @@ -0,0 +1,10 @@ +PRGNAM="liblxqt" +VERSION="20131126_0f9fe3d" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/liblxqt-20131126_0f9fe3d.tar.xz" +MD5SUM="3eacaa5ed4f0a9f8b8434fa0a53260b7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="libqtxdg" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/liblxqt/slack-desc b/libraries/liblxqt/slack-desc new file mode 100644 index 0000000000..c09e4ce5a6 --- /dev/null +++ b/libraries/liblxqt/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------------------------------------------------------| +liblxqt: liblxqt (LXQE-Qt core library) +liblxqt: +liblxqt: Core utility library for all LXDE-Qt components. +liblxqt: +liblxqt: homepage: http://lxde.org +liblxqt: +liblxqt: +liblxqt: +liblxqt: +liblxqt: +liblxqt: diff --git a/libraries/libmikmod/libmikmod.SlackBuild b/libraries/libmikmod/libmikmod.SlackBuild index a926c20c91..ff97ac4989 100644 --- a/libraries/libmikmod/libmikmod.SlackBuild +++ b/libraries/libmikmod/libmikmod.SlackBuild @@ -5,7 +5,7 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=libmikmod -VERSION=${VERSION:-3.2.0} +VERSION=${VERSION:-3.3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,13 +65,11 @@ CFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/*.info* diff --git a/libraries/libmikmod/libmikmod.info b/libraries/libmikmod/libmikmod.info index 16b266bc20..a05cfc4226 100644 --- a/libraries/libmikmod/libmikmod.info +++ b/libraries/libmikmod/libmikmod.info @@ -1,8 +1,8 @@ PRGNAM="libmikmod" -VERSION="3.2.0" +VERSION="3.3.6" HOMEPAGE="http://mikmod.shlomifish.org/" -DOWNLOAD="http://downloads.sourceforge.net/mikmod/libmikmod-3.2.0.tar.gz" -MD5SUM="96e9820d72a41fe27ff304071739696c" +DOWNLOAD="http://downloads.sourceforge.net/mikmod/libmikmod-3.3.6.tar.gz" +MD5SUM="9dd9bed30c6f7607a55480234606071b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libqtxdg/README b/libraries/libqtxdg/README new file mode 100644 index 0000000000..7d7cf69e64 --- /dev/null +++ b/libraries/libqtxdg/README @@ -0,0 +1 @@ +Qt implementation of freedesktop.org xdg specs. diff --git a/libraries/libqtxdg/libqtxdg.SlackBuild b/libraries/libqtxdg/libqtxdg.SlackBuild new file mode 100644 index 0000000000..5b8723fbd3 --- /dev/null +++ b/libraries/libqtxdg/libqtxdg.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for libqtxdg + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=libqtxdg +VERSION=${VERSION:-20131113_f27fc3f} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/libqtxdg/libqtxdg.info b/libraries/libqtxdg/libqtxdg.info new file mode 100644 index 0000000000..d5cf119302 --- /dev/null +++ b/libraries/libqtxdg/libqtxdg.info @@ -0,0 +1,10 @@ +PRGNAM="libqtxdg" +VERSION="20131113_f27fc3f" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/libqtxdg-20131113_f27fc3f.tar.xz" +MD5SUM="e167533d50c905504c7ac7b5e1286fb2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/libqtxdg/slack-desc b/libraries/libqtxdg/slack-desc new file mode 100644 index 0000000000..02e75e73ff --- /dev/null +++ b/libraries/libqtxdg/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------------------------------------------------------| +libqtxdg: libqtxdg (qt freedesktop specs) +libqtxdg: +libqtxdg: Qt implementation of freedesktop.org xdg specs. +libqtxdg: +libqtxdg: homepage: http://lxde.org +libqtxdg: +libqtxdg: +libqtxdg: +libqtxdg: +libqtxdg: +libqtxdg: diff --git a/libraries/libsysstat/README b/libraries/libsysstat/README new file mode 100644 index 0000000000..9a87c8caf6 --- /dev/null +++ b/libraries/libsysstat/README @@ -0,0 +1,2 @@ +Library used to query system info and statistics (net status, system +resource usage, ...etc). diff --git a/libraries/libsysstat/libsysstat.SlackBuild b/libraries/libsysstat/libsysstat.SlackBuild new file mode 100644 index 0000000000..3216da0511 --- /dev/null +++ b/libraries/libsysstat/libsysstat.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for libsysstat + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=libsysstat +VERSION=${VERSION:-20131110_a367695} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/libsysstat/libsysstat.info b/libraries/libsysstat/libsysstat.info new file mode 100644 index 0000000000..5c8f8b4b2f --- /dev/null +++ b/libraries/libsysstat/libsysstat.info @@ -0,0 +1,10 @@ +PRGNAM="libsysstat" +VERSION="20131110_a367695" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/libsysstat-20131110_a367695.tar.xz" +MD5SUM="ebc3278ee2716f43e9435bec754e10b2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/libsysstat/slack-desc b/libraries/libsysstat/slack-desc new file mode 100644 index 0000000000..5b2ed96b0a --- /dev/null +++ b/libraries/libsysstat/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------------------------------------------------------| +libsysstat: libsysstat (system stat library) +libsysstat: +libsysstat: Library used to query system info and statistics (net status, system +libsysstat: resource usage, ...etc). +libsysstat: +libsysstat: homepage: http://lxde.org +libsysstat: +libsysstat: +libsysstat: +libsysstat: +libsysstat: diff --git a/libraries/libtirpc/libtirpc.SlackBuild b/libraries/libtirpc/libtirpc.SlackBuild index f68091db32..5a057adc77 100644 --- a/libraries/libtirpc/libtirpc.SlackBuild +++ b/libraries/libtirpc/libtirpc.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for libtirpc -# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012 +# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2013 # 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=libtirpc -VERSION=${VERSION:-20120426_5e8214c} +VERSION=${VERSION:-0.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -87,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -mv $PKG/etc/netconfig{,new} +mv $PKG/etc/netconfig $PKG/etc/netconfig.new 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 diff --git a/libraries/libtirpc/libtirpc.info b/libraries/libtirpc/libtirpc.info index 39b72feffc..cf06595b97 100644 --- a/libraries/libtirpc/libtirpc.info +++ b/libraries/libtirpc/libtirpc.info @@ -1,8 +1,8 @@ PRGNAM="libtirpc" -VERSION="20120426_5e8214c" +VERSION="0.2.3" HOMEPAGE="http://libtirpc.sourceforge.net/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/libtirpc-20120426_5e8214c.tar.xz" -MD5SUM="af54f03efc25b3fc02bf3743b4475892" +DOWNLOAD="http://downloads.sf.net/libtirpc/libtirpc-0.2.3.tar.bz2" +MD5SUM="b70e6c12a369a91e69fcc3b9feb23d61" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libvpx/libvpx.SlackBuild b/libraries/libvpx/libvpx.SlackBuild index 5a0d6b51ec..8a6a0affab 100644 --- a/libraries/libvpx/libvpx.SlackBuild +++ b/libraries/libvpx/libvpx.SlackBuild @@ -27,7 +27,7 @@ # Modified by SlackBuilds.org PRGNAM=libvpx -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libvpx/libvpx.info b/libraries/libvpx/libvpx.info index 5b7cf4ad5e..085c74999a 100644 --- a/libraries/libvpx/libvpx.info +++ b/libraries/libvpx/libvpx.info @@ -1,8 +1,8 @@ PRGNAM="libvpx" -VERSION="1.2.0" +VERSION="1.3.0" HOMEPAGE="http://www.webmproject.org/" -DOWNLOAD="http://webm.googlecode.com/files/libvpx-v1.2.0.tar.bz2" -MD5SUM="f8de058e6ba14555144583a2d031fe19" +DOWNLOAD="http://webm.googlecode.com/files/libvpx-v1.3.0.tar.bz2" +MD5SUM="14783a148872f2d08629ff7c694eb31f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libxdsettings/README b/libraries/libxdsettings/README new file mode 100644 index 0000000000..1df96bed5f --- /dev/null +++ b/libraries/libxdsettings/README @@ -0,0 +1,2 @@ +Library used to access desktop environment-specific settings +(DE name, icon theme, ...etc). diff --git a/libraries/libxdsettings/libxdsettings.SlackBuild b/libraries/libxdsettings/libxdsettings.SlackBuild new file mode 100644 index 0000000000..cf0802db91 --- /dev/null +++ b/libraries/libxdsettings/libxdsettings.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for libxdsettings + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=libxdsettings +VERSION=${VERSION:-20131105_3be76f7} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/libxdsettings/libxdsettings.info b/libraries/libxdsettings/libxdsettings.info new file mode 100644 index 0000000000..90e04a7615 --- /dev/null +++ b/libraries/libxdsettings/libxdsettings.info @@ -0,0 +1,10 @@ +PRGNAM="libxdsettings" +VERSION="20131105_3be76f7" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/libxdsettings-20131105_3be76f7.tar.xz" +MD5SUM="b8ea58fcefab50811f06f9d94ff544e6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/libxdsettings/slack-desc b/libraries/libxdsettings/slack-desc new file mode 100644 index 0000000000..47150c8d8b --- /dev/null +++ b/libraries/libxdsettings/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------------------------------------------------------| +libxdsettings: libxdsettings (DE settings library) +libxdsettings: +libxdsettings: Library used to access desktop environment-specific settings +libxdsettings: (DE name, icon theme, ...etc). +libxdsettings: +libxdsettings: homepage: http://lxde.org +libxdsettings: +libxdsettings: +libxdsettings: +libxdsettings: +libxdsettings: 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/lua-curl/lua-curl.SlackBuild b/libraries/lua-curl/lua-curl.SlackBuild new file mode 100644 index 0000000000..c39e255630 --- /dev/null +++ b/libraries/lua-curl/lua-curl.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# 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 +# 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=lua-curl +VERSION=${VERSION:-0.3.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 # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# 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 doc/curl.html $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/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/lua-filesystem/lfs.pc b/libraries/lua-filesystem/lfs.pc index 7cea70e8c2..dc2f328d5d 100644 --- a/libraries/lua-filesystem/lfs.pc +++ b/libraries/lua-filesystem/lfs.pc @@ -5,6 +5,6 @@ libdir=${exec_prefix}/lib/lua/5.1 Name: lfs Description: lfs - lua filesystem library -Version: 1.5.0 +Version: 1.6.2 Cflags: -I${includedir} Libs: -L${libdir} -L/usr/lib -llfs -llua -lm diff --git a/libraries/lua-filesystem/lua-filesystem.SlackBuild b/libraries/lua-filesystem/lua-filesystem.SlackBuild index f2667f9cdf..18a878f706 100644 --- a/libraries/lua-filesystem/lua-filesystem.SlackBuild +++ b/libraries/lua-filesystem/lua-filesystem.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for lua-filesystem -# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012 +# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2013 # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ PRGNAM=lua-filesystem SRCNAM=luafilesystem -VERSION=${VERSION:-20120408_84f1af5} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.6.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,13 +71,14 @@ find -L . \ sed -i \ -e "s|/usr/local|/usr|" \ - -e "s|/lib|/lib${LIBDIRSUFFIX}|" \ - -e "s|-O2 -Wall -fPIC|${SLKCFLAGS} -Wall|" \ + -e "s|/lib|/lib$LIBDIRSUFFIX|" \ + -e "s|-O2 -Wall -fPIC|$SLKCFLAGS -Wall|" \ config make -install -m 0755 -D src/lfs.so $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1/lfs.so -( cd $PKG/usr/lib${LIBDIRSUFFIX} ; ln -s lua/5.1/lfs.so ; ln -s {,lib}lfs.so ) +install -m 0755 -D src/lfs.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/lfs.so install -m 0644 -D src/lfs.h $PKG/usr/include/lfs.h + +# install a pkgconfig file install -m 0644 -D $CWD/lfs.pc $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lfs.pc sed -i "s|/lib|/lib$LIBDIRSUFFIX|" $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lfs.pc diff --git a/libraries/lua-filesystem/lua-filesystem.info b/libraries/lua-filesystem/lua-filesystem.info index 84b1ce27c3..b1e1caa61a 100644 --- a/libraries/lua-filesystem/lua-filesystem.info +++ b/libraries/lua-filesystem/lua-filesystem.info @@ -1,8 +1,8 @@ PRGNAM="lua-filesystem" -VERSION="20120408_84f1af5" +VERSION="1.6.2" HOMEPAGE="http://keplerproject.github.com/luafilesystem/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/luafilesystem-20120408_84f1af5.tar.xz" -MD5SUM="49843fb72a5541c8faf92b8a7467d307" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/luafilesystem-1.6.2.tar.xz" +MD5SUM="495c7cb01c954c10a8a23c8331caf48b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua" diff --git a/libraries/sparsehash/README b/libraries/sparsehash/README new file mode 100644 index 0000000000..9ba0d5c136 --- /dev/null +++ b/libraries/sparsehash/README @@ -0,0 +1,9 @@ +The SparseHash library contains several hash-map implementations, +including implementations that optimize for space or speed. + +These hashtable implementations are similar in API to SGI's hash_map +class and the tr1 unordered_map class, but with different performance +characteristics. It's easy to replace hash_map or unordered_map by +sparse_hash_map or dense_hash_map in C++ code. + +They also contain code to serialize and unserialize from disk. diff --git a/libraries/sparsehash/slack-desc b/libraries/sparsehash/slack-desc new file mode 100644 index 0000000000..15679725a3 --- /dev/null +++ b/libraries/sparsehash/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------------------------------------------------------| +sparsehash: sparsehash (hash_map implementation) +sparsehash: +sparsehash: The SparseHash library contains several hash-map implementations, +sparsehash: including implementations that optimize for space or speed. +sparsehash: These hashtable implementations are similar in API to SGI's hash_map +sparsehash: class and the tr1 unordered_map class, but with different performance +sparsehash: characteristics. It's easy to replace hash_map or unordered_map by +sparsehash: sparse_hash_map or dense_hash_map in C++ code. +sparsehash: They also contain code to serialize and unserialize from disk. +sparsehash: +sparsehash: homepage: https://code.google.com/p/sparsehash/ diff --git a/libraries/sparsehash/sparsehash.SlackBuild b/libraries/sparsehash/sparsehash.SlackBuild new file mode 100644 index 0000000000..794eeb249a --- /dev/null +++ b/libraries/sparsehash/sparsehash.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for sparsehash + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=sparsehash +VERSION=${VERSION:-2.0.2} +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.?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 \ + \( -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 + +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 +mv $PKG/usr/share/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION +rm -fr $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/sparsehash/sparsehash.info b/libraries/sparsehash/sparsehash.info new file mode 100644 index 0000000000..fad8e7affe --- /dev/null +++ b/libraries/sparsehash/sparsehash.info @@ -0,0 +1,10 @@ +PRGNAM="sparsehash" +VERSION="2.0.2" +HOMEPAGE="https://code.google.com/p/sparsehash/" +DOWNLOAD="https://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz" +MD5SUM="1db92ed7f257d9b5f14a309d75e8a1d4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/libraries/webkitgtk/webkitgtk.SlackBuild b/libraries/webkitgtk/webkitgtk.SlackBuild index 8280ce2855..fa1b39e77d 100644 --- a/libraries/webkitgtk/webkitgtk.SlackBuild +++ b/libraries/webkitgtk/webkitgtk.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=webkitgtk -VERSION=${VERSION:-2.2.2} +VERSION=${VERSION:-2.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/webkitgtk/webkitgtk.info b/libraries/webkitgtk/webkitgtk.info index dde796444a..2dd4330926 100644 --- a/libraries/webkitgtk/webkitgtk.info +++ b/libraries/webkitgtk/webkitgtk.info @@ -1,8 +1,8 @@ PRGNAM="webkitgtk" -VERSION="2.2.2" +VERSION="2.4.0" HOMEPAGE="http://webkitgtk.org/" -DOWNLOAD="http://www.webkitgtk.org/releases/webkitgtk-2.2.2.tar.xz" -MD5SUM="49cc8fd065de72603776a494e41c1977" +DOWNLOAD="http://www.webkitgtk.org/releases/webkitgtk-2.4.0.tar.xz" +MD5SUM="c759bf11fe4cadd1268630f16a97f7b9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gst1-plugins-base libwebp" diff --git a/libraries/wxsvg/wxsvg.SlackBuild b/libraries/wxsvg/wxsvg.SlackBuild index 4a7d44bec3..0e61d8cf8b 100644 --- a/libraries/wxsvg/wxsvg.SlackBuild +++ b/libraries/wxsvg/wxsvg.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=wxsvg -VERSION=${VERSION:-1.2} +VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/wxsvg/wxsvg.info b/libraries/wxsvg/wxsvg.info index 2e7f2c2529..9c4ee28d7e 100644 --- a/libraries/wxsvg/wxsvg.info +++ b/libraries/wxsvg/wxsvg.info @@ -1,8 +1,8 @@ PRGNAM="wxsvg" -VERSION="1.2" +VERSION="1.2.1" HOMEPAGE="http://sourceforge.net/projects/wxsvg/" -DOWNLOAD="http://downloads.sourceforge.net/wxsvg/wxsvg-1.2.tar.bz2" -MD5SUM="bf1f6918ba58e3eee22a4797737684fe" +DOWNLOAD="http://downloads.sourceforge.net/wxsvg/wxsvg-1.2.1.tar.bz2" +MD5SUM="4af430a040a4e85275cd108333ff4d4a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ffmpeg wxPython" diff --git a/multimedia/avidemux/README b/multimedia/avidemux/README index c42dcc5692..899059c25b 100644 --- a/multimedia/avidemux/README +++ b/multimedia/avidemux/README @@ -3,4 +3,9 @@ encoding tasks. It supports many file types, including AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated using projects, job queue and powerful scripting capabilities. +The script supports the following switches: +GTK=yes (default: no) to build the gtk version +QT4=no (default: yes) to avoid building the qt version +CLI=no (default: yes) to avoid building the cli version + Optional dependencies are aften, amrnb, and jack-audio-connection-kit. diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild index 2bc427df4e..8354a8ece5 100644 --- a/multimedia/avidemux/avidemux.SlackBuild +++ b/multimedia/avidemux/avidemux.SlackBuild @@ -24,10 +24,11 @@ # Modified by Niklas "Nille" Åkerström to use cmake since thats what the # project will use in the future. No additional license terms added +# Modified by the SlackBuilds.org project PRGNAM=avidemux -VERSION=${VERSION:-2.5.6} -BUILD=${BUILD:-3} +VERSION=${VERSION:-2.6.7} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -57,15 +58,19 @@ else LIBDIRSUFFIX="" fi +# Following upstream, by default the qt4 and the cli versions are built +if [ "${GTK:-no}" = "no" ]; then gtk="out"; else gtk=""; fi +if [ "${QT4:-yes}" = "yes" ]; then qt4=""; else qt4="out"; fi +if [ "${CLI:-yes}" = "yes" ]; then cli=""; else cli="out"; fi + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz -mv ${PRGNAM}_${VERSION} $PRGNAM-$VERSION -cd $PRGNAM-$VERSION +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 \ @@ -73,103 +78,51 @@ 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 {} \; -if [ "$ARCH" = "x86_64" ]; then - # Some paths are incorrectly hardcoded to "lib": - sed -i -e "s/Dir=\"lib\"/Dir=\"lib${LIBDIRSUFFIX}\"/" $(grep -lr 'Dir="lib"' .) -fi - -# Cut away jobs number from the MAKEFLAGS +# Cut away jobs number from the MAKEFLAGS and log to stdout MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g") +sed -i -e "s|-j\ 2|-j 1|" -e "s|>&.*||" bootStrap.bash + +export CFLAGS="$SLKCFLAGS" +export CXXFLAGS="$SLKCFLAGS" +bash bootStrap.bash \ + --with-core \ + --with-plugins \ + --with${gtk}-gtk \ + --with${qt4}-qt4 \ + --with${cli}-cli -mkdir build -cd build - - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - cmake . \ - -DCMAKE_INSTALL_PREFIX:STRING="/usr" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" \ - -DLIB_SUFFIX:STRING="$LIBDIRSUFFIX" .. - -# Here are some valid options for cmake to build or not build against a dep -# (for those who aren't very familiar with cmake) -# Note that none of them should be needed though, as cmake automatically -# detects what is and isn't on the system. -# They're all boolean values, so it uses TRUE 1 YES or FALSE 0 NO -# (TRUE, 1, and YES all mean the same thing and you should only use one of them) -# alsa || -DNO_ALSA:BOOL= -# oss || -DNO_OSS:BOOL= -# nls || -DNO_NLS:BOOL= -# sdl || -DNO_SDL:BOOL= -# fontconfig || -DNO_FontConfig:BOOL= -# xv || -DNO_Xvideo:BOOL= -# esd || -DNO_Esd:BOOL= -# jack || -DNO_Jack:BOOL= -# aften || -DNO_Aften:BOOL= -# libsamplerate || -DNO_libsamplerate:BOOL= -# lame || -DNO_Lame:BOOL= -# faac -DNO_FAAC:BOOL= -# xvid || -DNO_Xvid:BOOL= -# amrnb || -DNO_AMRNB:BOOL= -# dts || -DNO_libdca:BOOL= -# x264 || -DNO_x264:BOOL= -# aac || -DNO_FAAD:BOOL= -# aac || -DNO_NeAAC:BOOL= -# vorbis || -DNO_Vorbis:BOOL= -# png || -DNO_libPNG:BOOL= -# arts || -DNO_ARTS:BOOL= -# truetype || -DNO_FREETYPE:BOOL= -# gtk || -DNO_GTK:BOOL= -# qt4 || -DNO_QT4:BOOL= - - make -j1 - make DESTDIR=$PKG install/strip -cd .. - -mkdir -p build_plugins -cd build_plugins - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DMAN_INSTALL_DIR=/usr/man \ - -DSYSCONF_INSTALL_DIR=/etc \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DAVIDEMUX_SOURCE_DIR=$(cd .. ; pwd) \ - -DAVIDEMUX_CORECONFIG_DIR=$(cd .. ; pwd)/build/config \ - -DAVIDEMUX_INSTALL_PREFIX=$(cd .. ; pwd)/build \ - ../plugins - make -j1 - make DESTDIR=$PKG install/strip -cd - +mv install/* $PKG/ mkdir -p $PKG/usr/man/man1 cat man/avidemux.1 | gzip -9c > $PKG/usr/man/man1/avidemux.1.gz -cd $TMP/$PRGNAM-$VERSION -mkdir -p $PKG/usr/share/{applications,pixmaps} -mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps -# If the qt4 binary was built, we prefer to use that over the gtk version: -if [ -x $PKG/usr/bin/avidemux2_qt4 ]; then - cat avidemux2.desktop | sed -e 's/_gtk/_qt4/' \ - > $PKG/usr/share/applications/avidemux2.desktop -else - install -m644 avidemux2.desktop $PKG/usr/share/applications/avidemux2.desktop +mkdir -p \ + $PKG/usr/share/applications \ + $PKG/usr/share/pixmaps \ + $PKG/usr/share/icons/hicolor/16x16/apps \ + $PKG/usr/share/icons/hicolor/32x32/apps \ + $PKG/usr/share/icons/hicolor/48x48/apps \ + $PKG/usr/share/icons/hicolor/64x64/apps +if [ -x $PKG/usr/bin/avidemux3_gtk ]; then + cat avidemux2.desktop | sed -e "s/2_gtk/3_qt4/" -e "s/avidemux2$/avidemux_qt/" \ + > $PKG/usr/share/applications/avidemux_qt.desktop +fi +if [ -x $PKG/usr/bin/avidemux3_qt4 ]; then + cat avidemux2.desktop | sed -e "s/2_gtk/3_gtk/" -e "s/avidemux2$/avidemux_gtk/" \ + > $PKG/usr/share/applications/avidemux_gtk.desktop fi install -m644 avidemux_icon.png $PKG/usr/share/pixmaps/avidemux.png install -m644 avidemux_icon.png \ - ${PKG}/usr/share/icons/hicolor/64x64/apps/avidemux.png + $PKG/usr/share/icons/hicolor/64x64/apps/avidemux.png convert avidemux_icon.png -resize 16x16 \ - ${PKG}/usr/share/icons/hicolor/16x16/apps/avidemux.png + $PKG/usr/share/icons/hicolor/16x16/apps/avidemux.png convert avidemux_icon.png -resize 32x32 \ - ${PKG}/usr/share/icons/hicolor/32x32/apps/avidemux.png + $PKG/usr/share/icons/hicolor/32x32/apps/avidemux.png convert avidemux_icon.png -resize 48x48 \ - ${PKG}/usr/share/icons/hicolor/48x48/apps/avidemux.png + $PKG/usr/share/icons/hicolor/48x48/apps/avidemux.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING README TODO \ +cp -a AUTHORS COPYING README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -179,4 +132,3 @@ 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/multimedia/avidemux/avidemux.info b/multimedia/avidemux/avidemux.info index aa78bc6c96..00955ebee1 100644 --- a/multimedia/avidemux/avidemux.info +++ b/multimedia/avidemux/avidemux.info @@ -1,8 +1,8 @@ PRGNAM="avidemux" -VERSION="2.5.6" +VERSION="2.6.7" HOMEPAGE="http://avidemux.org" -DOWNLOAD="http://downloads.sourceforge.net/avidemux/avidemux_2.5.6.tar.gz" -MD5SUM="00e479dd806b94a98d3f0f40639e88a9" +DOWNLOAD="http://downloads.sourceforge.net/avidemux/avidemux_2.6.7.tar.gz" +MD5SUM="830a5115b7007e754cb0afe77469bfa0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="a52dec faac faad2 lame libdca x264 xvidcore" diff --git a/multimedia/dvdstyler/dvdstyler.SlackBuild b/multimedia/dvdstyler/dvdstyler.SlackBuild index 9b3ddaefe0..33dddca964 100644 --- a/multimedia/dvdstyler/dvdstyler.SlackBuild +++ b/multimedia/dvdstyler/dvdstyler.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=dvdstyler SPRGNAM=DVDStyler -VERSION=${VERSION:-2.5.2} +VERSION=${VERSION:-2.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/multimedia/dvdstyler/dvdstyler.info b/multimedia/dvdstyler/dvdstyler.info index f21f044da0..2adedae6e5 100644 --- a/multimedia/dvdstyler/dvdstyler.info +++ b/multimedia/dvdstyler/dvdstyler.info @@ -1,8 +1,8 @@ PRGNAM="dvdstyler" -VERSION="2.5.2" +VERSION="2.7.1" HOMEPAGE="http://www.dvdstyler.org/" -DOWNLOAD="http://downloads.sf.net/dvdstyler/DVDStyler-2.5.2.tar.bz2" -MD5SUM="e84e260b471613ac01e62726867e5c8e" +DOWNLOAD="http://downloads.sf.net/dvdstyler/DVDStyler-2.7.1.tar.bz2" +MD5SUM="786ef34ef502d064ed235298a8cde543" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="dvdauthor libavc1394 libmspack libquicktime mjpegtools mpgtx wxsvg" diff --git a/multimedia/ffmpeg/README b/multimedia/ffmpeg/README index 35783feae2..8133c45a0b 100644 --- a/multimedia/ffmpeg/README +++ b/multimedia/ffmpeg/README @@ -27,6 +27,7 @@ SPEEX=yes|no (default: no), requires speex TWOLAME=yes|no (default: no), requires twolame VPX=yes|no (default: no), requires libvpx X264=yes|no (default: yes), requires x264 +X265=yes|no (default: no), requires x265 XVID=yes|no (default: no), requires xvidcore Make sure to run this script in a real root shell ("su -") and that you diff --git a/multimedia/ffmpeg/ffmpeg.SlackBuild b/multimedia/ffmpeg/ffmpeg.SlackBuild index e3d8aaa3d1..259b72a729 100644 --- a/multimedia/ffmpeg/ffmpeg.SlackBuild +++ b/multimedia/ffmpeg/ffmpeg.SlackBuild @@ -26,7 +26,7 @@ # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=ffmpeg -VERSION=${VERSION:-2.1} +VERSION=${VERSION:-2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -93,7 +93,9 @@ libmodplug=""; [ "${MODPLUG:-no}" != "no" ] && libmodplug="--enable-libmod libopus=""; [ "${OPUS:-no}" != "no" ] && libopus="--enable-libopus" libtwolame=""; [ "${TWOLAME:-no}" != "no" ] && libtwolame="--enable-libtwolame" ladspa=""; [ "${LADSPA:-no}" != "no" ] && ladspa="--enable-ladspa" +x265=""; [ "${X265:-no}" != "no" ] && x265="--enable-libx265" #opencl=""; [ "${OPENCL:-no}" != "no" ] && opencl="--enable-opencl" +# not yet supported http://forum.doom9.org/showthread.php?t=170095 opencore_amr="" ; [ "${OPENCORE:-no}" != "no" ] && \ opencore_amr="--enable-libopencore-amrnb --enable-libopencore-amrwb" @@ -174,7 +176,8 @@ CXXFLAGS="$SLKCFLAGS" \ $libopus \ $libtwolame \ $ladspa \ - $ssl + $ssl \ + $x265 make make install DESTDIR=$PKG diff --git a/multimedia/ffmpeg/ffmpeg.info b/multimedia/ffmpeg/ffmpeg.info index 016ccbfe64..0f3e949791 100644 --- a/multimedia/ffmpeg/ffmpeg.info +++ b/multimedia/ffmpeg/ffmpeg.info @@ -1,8 +1,8 @@ PRGNAM="ffmpeg" -VERSION="2.1" +VERSION="2.2" HOMEPAGE="http://www.ffmpeg.org" -DOWNLOAD="http://www.ffmpeg.org/releases/ffmpeg-2.1.tar.bz2" -MD5SUM="4ec1cedd4c7753512462f70b347c338a" +DOWNLOAD="http://ffmpeg.org/releases/ffmpeg-2.2.tar.bz2" +MD5SUM="744febca199548c9393b1f1ed05ccdd8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="%README% lame x264" diff --git a/multimedia/ffmpeg010/README b/multimedia/ffmpeg010/README new file mode 100644 index 0000000000..b7ffab79ac --- /dev/null +++ b/multimedia/ffmpeg010/README @@ -0,0 +1,33 @@ +FFmpeg is a complete solution to record, convert and stream audio +and video. It includes libavcodec, the leading audio/video codec +library. + +You can enable a lot of optional (not-autodetected) features by +passing variables to the script (VAR=yes/no ./ffmpeg.SlackBuild): +ASS=yes|no (default: no), requires libass +BLURAY=yes|no (default: no), requires libbluray +CELT=yes|no (default: no), requires celt +DC1394=yes|no (default: no), requires libdc1394 +FAAC=yes|no (default: no), requires faac (creates non-redistributable binary) +FREI0R=yes|no (default: no), requires frei0r +GSM=yes|no (default: no), requires gsm +JP2=yes|no (default: no), requires openjpeg +LAME=yes|no (default: yes), requires lame +OPENAL=yes|no (default: no), requires OpenAL +OPENCORE=yes|no (default: no), requires opencore-amr +OPENSSL=yes|no (default: no), creates non-redistributable binary +RTMP=yes|no (default: no), requires rtmpdump +SCHROEDINGER=yes|no (default: no), requires schroedinger +SPEEX=yes|no (default: no), requires speex +VPX=yes|no (default: no), requires libvpx +X264=yes|no (default: yes), requires x264 +XVID=yes|no (default: no), requires xvidcore + +Make sure to run this script in a real root shell ("su -") and that you +have either tetex or texlive installed. + +All of the mentioned requirements are available from SlackBuilds.org + +This is the 0.10.x branch, still needed by some software: you +can't use the resulting package for software that needs ffmpeg, +as this installs stuff in non-standard locations. diff --git a/multimedia/ffmpeg010/ffmpeg010.SlackBuild b/multimedia/ffmpeg010/ffmpeg010.SlackBuild new file mode 100644 index 0000000000..f0cf50dc1b --- /dev/null +++ b/multimedia/ffmpeg010/ffmpeg010.SlackBuild @@ -0,0 +1,173 @@ +#!/bin/sh + +# Slackware build script for ffmpeg, 0.10.x branch + +# Written by core (eroc@linuxmail.org) +# Modified by Robby Workman <rworkman@slackbuilds.org> +# Modified by Heinz Wiesinger <pprkut@liwjatan.org> +# Modified by Matteo Bernardini <ponce@slackbuilds.org> + +PRGNAM=ffmpeg010 +SRCNAM=ffmpeg +VERSION=${VERSION:-0.10.9} +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 + +# environment sanity checks +TEXI2HTML=$(which texi2html 2>/dev/null) + +if [ "$TEXI2HTML" = "" ]; then + echo "Could not find texi2html! Please make sure to have tetex or texlive installed" + echo "and that texi2html is in PATH." + exit 1 +fi + +# --enable-runtime-cpu is meant for libswscale only and +# has no influence on the other parts of ffmpeg so there's +# not really a point in bothering +PKGARCH=$(uname -m)_custom + +# Configure ffmpeg features not autodetected by default +# Unfortunately ffmpeg's configure doesn't support --enable-feature=yes +# syntax, so we have to do it the complicated way :/ + +libcelt="" ; [ "${CELT:-no}" != "no" ] && libcelt="--enable-libcelt" +libdc1394="" ; [ "${DC1394:-no}" != "no" ] && libdc1394="--enable-libdc1394" +libfrei0r="" ; [ "${FREI0R:-no}" != "no" ] && libfrei0r="--enable-frei0r" +libgsm="" ; [ "${GSM:-no}" != "no" ] && libgsm="--enable-libgsm" +librtmp="" ; [ "${RTMP:-no}" != "no" ] && librtmp="--enable-librtmp" +dirac_fast="" ; [ "${SCHROEDINGER:-no}" != "no" ] && dirac_fast="--enable-libschroedinger" +libspeex="" ; [ "${SPEEX:-no}" != "no" ] && libspeex="--enable-libspeex" +libvpx="" ; [ "${VPX:-no}" != "no" ] && libvpx="--enable-libvpx" +libxvid="" ; [ "${XVID:-no}" != "no" ] && libxvid="--enable-libxvid" +libbluray="" ; [ "${BLURAY:-no}" != "no" ] && libbluray="--enable-libbluray" +libass="" ; [ "${ASS:-no}" != "no" ] && libass="--enable-libass" +libopenal="" ; [ "${OPENAL:-no}" != "no" ] && libopenal="--enable-openal" + +opencore_amr="" ; [ "${OPENCORE:-no}" != "no" ] && \ + opencore_amr="--enable-libopencore-amrnb --enable-libopencore-amrwb" +libfaac="" ; [ "${FAAC:-no}" != "no" ] && \ + { libfaac="--enable-libfaac" ; non_free="--enable-nonfree" ; } +ssl="" ; [ "${OPENSSL:-no}" != "no" ] && \ + { ssl="--enable-openssl" ; non_free="--enable-nonfree" ; } +openjpeg="" ; [ "${JP2:-no}" != "no" ] && \ + { openjpeg="--enable-libopenjpeg" ; \ + SLKCFLAGS="$SLKCFLAGS -I/usr/include/openjpeg-1.5" ; } + +mp3lame="--enable-libmp3lame" ; [ "${LAME:-yes}" != "yes" ] && mp3lame="" +libx264="--enable-libx264" ; [ "${X264:-yes}" != "yes" ] && libx264="" + +# opencv support is currently broken: http://code.opencv.org/issues/1925 +#libopencv="" ; [ "${OPENCV:-no}" != "no" ] && libopencv="--enable-libopencv" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* +cd $SRCNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --incdir=/usr/include/$PRGNAM \ + --libdir=/usr/lib${LIBDIRSUFFIX}/$PRGNAM \ + --shlibdir=/usr/lib${LIBDIRSUFFIX}/$PRGNAM \ + --datadir=/usr/share/$PRGNAM \ + --progs-suffix=010 \ + --mandir=/usr/man \ + --disable-debug \ + --enable-shared \ + --disable-static \ + --enable-pthreads \ + --enable-libtheora \ + --enable-libvorbis \ + --enable-gpl \ + --enable-version3 \ + --enable-postproc \ + --enable-swscale \ + --enable-x11grab \ + --enable-avfilter \ + --enable-gnutls \ + --enable-libcdio \ + --arch=$ARCH \ + $openjpeg \ + $libdc1394 \ + $mp3lame \ + $libfaac \ + $libxvid \ + $libx264 \ + $libspeex \ + $dirac_fast \ + $non_free \ + $libgsm \ + $libvpx \ + $librtmp \ + $opencore_amr \ + $libfrei0r \ + $libcelt \ + $libbluray \ + $libass \ + $libopenal \ + $ssl + +make +make install DESTDIR=$PKG +make install-man DESTDIR=$PKG + +mv $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig +( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig + for i in avfilter avcodec swresample avutil avdevice postproc avformat swscale; do + mv lib${i}.pc lib${i}010.pc + 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 + +( cd $PKG/usr/man/man1 + for i in play mpeg server probe; do mv ff${i}.1 ff${i}010.1; done ) +find $PKG/usr/man -type f -exec gzip -9 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changelog COPYING* CREDITS INSTALL LICENSE MAINTAINERS README RELEASE \ + VERSION doc/RELEASE_NOTES doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a doc/*.html $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-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/multimedia/ffmpeg010/ffmpeg010.info b/multimedia/ffmpeg010/ffmpeg010.info new file mode 100644 index 0000000000..76df8a9cd8 --- /dev/null +++ b/multimedia/ffmpeg010/ffmpeg010.info @@ -0,0 +1,10 @@ +PRGNAM="ffmpeg010" +VERSION="0.10.9" +HOMEPAGE="http://www.ffmpeg.org" +DOWNLOAD="http://ffmpeg.org/releases/ffmpeg-0.10.9.tar.bz2" +MD5SUM="6d2bf390f21dd26c2dd972e62082250a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="%README% lame x264" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/multimedia/ffmpeg010/slack-desc b/multimedia/ffmpeg010/slack-desc new file mode 100644 index 0000000000..ab67c7494a --- /dev/null +++ b/multimedia/ffmpeg010/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +ffmpeg010: FFmpeg (Software to record, convert and stream audio and video) +ffmpeg010: +ffmpeg010: FFmpeg is a complete solution to record, convert and stream audio +ffmpeg010: and video. It includes libavcodec, the leading audio/video codec +ffmpeg010: library. FFmpeg is developed under Linux, but it can compiled +ffmpeg010: under most operating systems, including Windows. +ffmpeg010: This is the 0.11.x branch, still needed by some software. +ffmpeg010: +ffmpeg010: Homepage: http://ffmpeg.org +ffmpeg010: +ffmpeg010: diff --git a/multimedia/subtitleeditor/glib-single-include.patch b/multimedia/subtitleeditor/glib-single-include.patch deleted file mode 100644 index 35f8bd49cc..0000000000 --- a/multimedia/subtitleeditor/glib-single-include.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: subtitleeditor-0.40.0/plugins/actions/findandreplace/findandreplace.cc -=================================================================== ---- subtitleeditor-0.40.0.orig/plugins/actions/findandreplace/findandreplace.cc -+++ subtitleeditor-0.40.0/plugins/actions/findandreplace/findandreplace.cc -@@ -26,7 +26,7 @@ - #include <gui/dialogutility.h> - #include <gtkmm_utility.h> - #include <widget_config_utility.h> --#include <glib/gregex.h> -+#include <glib.h> - - /* - * FIXME: diff --git a/multimedia/subtitleeditor/subtitleeditor.SlackBuild b/multimedia/subtitleeditor/subtitleeditor.SlackBuild index 977caedd26..0c3747a736 100644 --- a/multimedia/subtitleeditor/subtitleeditor.SlackBuild +++ b/multimedia/subtitleeditor/subtitleeditor.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=subtitleeditor -VERSION=${VERSION:-0.40.0} +VERSION=${VERSION:-0.41.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,10 +69,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 {} \; -# Starting with glib 2.32 it is now mandatory to -# include glib.h instead of individual headers. -patch -p1 -i $CWD/glib-single-include.patch - CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ diff --git a/multimedia/subtitleeditor/subtitleeditor.info b/multimedia/subtitleeditor/subtitleeditor.info index a4d9f1bc90..83e7692a3f 100644 --- a/multimedia/subtitleeditor/subtitleeditor.info +++ b/multimedia/subtitleeditor/subtitleeditor.info @@ -1,8 +1,8 @@ PRGNAM="subtitleeditor" -VERSION="0.40.0" +VERSION="0.41.0" HOMEPAGE="http://home.gna.org/subtitleeditor/" -DOWNLOAD="http://download.gna.org/subtitleeditor/0.40/subtitleeditor-0.40.0.tar.gz" -MD5SUM="cb8a5dec7eeea8357ad5a9e977e5d5bd" +DOWNLOAD="http://download.gna.org/subtitleeditor/0.41/subtitleeditor-0.41.0.tar.gz" +MD5SUM="3c21ccd8296001dcb1a02c62396db1b6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gstreamermm" diff --git a/network/lighttpd2/lighttpd2.SlackBuild b/network/lighttpd2/lighttpd2.SlackBuild index 984dbcfaaa..8b0b74ef6d 100644 --- a/network/lighttpd2/lighttpd2.SlackBuild +++ b/network/lighttpd2/lighttpd2.SlackBuild @@ -25,7 +25,7 @@ # twisted for lighttpd2 by Matteo Bernardini <ponce@slackbuilds.org> PRGNAM=lighttpd2 -VERSION=${VERSION:-20130910_0d40b25} +VERSION=${VERSION:-20140226_b5edda3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -120,10 +120,10 @@ chown -R $LIGHTTPD_USER:root $PKG/var/log/$PRGNAM install -D -m 0755 $CWD/conf/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new install -D -m 0644 $CWD/conf/lighttpd.conf $PKG/etc/$PRGNAM/lighttpd.conf.new install -m 0644 $CWD/conf/angel.conf $PKG/etc/$PRGNAM/angel.conf.new -install -m 0644 doc/mimetypes.conf $PKG/etc/$PRGNAM/mimetypes.conf.new +install -m 0644 contrib/mimetypes.conf $PKG/etc/$PRGNAM/mimetypes.conf.new install -m 0644 $CWD/conf/php-fpm.lua $PKG/etc/$PRGNAM/php-fpm.lua.new install -D -m 0644 $CWD/conf/$PRGNAM.logrotate $PKG/etc/logrotate.d/$PRGNAM.new -install -D -m 0644 doc/default.html $PKG/var/www/htdocs-lighttpd/index.html +install -D -m 0644 contrib/default.html $PKG/var/www/htdocs-lighttpd/index.html sed -i \ -e "s|user \"lighttpd|user \"$LIGHTTPD_USER|" \ diff --git a/network/lighttpd2/lighttpd2.info b/network/lighttpd2/lighttpd2.info index 083a77aefe..10352af71d 100644 --- a/network/lighttpd2/lighttpd2.info +++ b/network/lighttpd2/lighttpd2.info @@ -1,8 +1,8 @@ PRGNAM="lighttpd2" -VERSION="20130910_0d40b25" +VERSION="20140226_b5edda3" HOMEPAGE="http://www.lighttpd.net/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/lighttpd2-20130910_0d40b25.tar.xz" -MD5SUM="f58b899b029007ae738fa879a05a5dcc" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lighttpd2-20140226_b5edda3.tar.xz" +MD5SUM="6c520683ee6b721e581c58a329660c2f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libev lua ragel" diff --git a/network/midori/midori.SlackBuild b/network/midori/midori.SlackBuild index ad9ad72577..717b690df3 100644 --- a/network/midori/midori.SlackBuild +++ b/network/midori/midori.SlackBuild @@ -27,7 +27,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=midori -VERSION=${VERSION:-0.5.6} +VERSION=${VERSION:-0.5.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/network/midori/midori.info b/network/midori/midori.info index ff99dbe52d..3a0f006317 100644 --- a/network/midori/midori.info +++ b/network/midori/midori.info @@ -1,8 +1,8 @@ PRGNAM="midori" -VERSION="0.5.6" +VERSION="0.5.7" HOMEPAGE="http://midori-browser.org/" -DOWNLOAD="http://www.midori-browser.org/downloads/midori_0.5.6_all_.tar.bz2" -MD5SUM="62ee86eb103b74efe71d40e343120a3c" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/midori_0.5.7_all_.tar.bz2" +MD5SUM="93ceaa9b3b4a65f2a2738293440a8bf5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libunique vala webkitgtk" diff --git a/network/redir/README b/network/redir/README new file mode 100644 index 0000000000..21a66f706f --- /dev/null +++ b/network/redir/README @@ -0,0 +1,3 @@ +redir is all you need to redirect traffic across firewalls. +The functionality of inetd/tcpd and "redir" will allow you to +do everything you need without screwy telnet/ftp etc gateways. diff --git a/network/redir/patches/01_fix_max_bandwidth_docs.dpatch b/network/redir/patches/01_fix_max_bandwidth_docs.dpatch new file mode 100644 index 0000000000..1ff9a7e6d5 --- /dev/null +++ b/network/redir/patches/01_fix_max_bandwidth_docs.dpatch @@ -0,0 +1,61 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_fix_max_bandwidth_docs.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix docs and --help to show --max_bandwidth instead of --maxbandwidth + +@DPATCH@ +diff -urNad redir-2.2.1~/redir.c redir-2.2.1/redir.c +--- redir-2.2.1~/redir.c 1999-12-26 15:50:06.000000000 -0500 ++++ redir-2.2.1/redir.c 2005-10-22 21:21:56.849499952 -0400 +@@ -233,7 +233,7 @@ + #ifndef NO_SHAPER + /* options for bandwidth */ + fprintf(stderr, "\t\t--bufsize=<octets>\tsize of the buffer\n"); +- fprintf(stderr, "\t\t--maxbandwidth=<bit-per-sec>\tlimit the bandwidth\n"); ++ fprintf(stderr, "\t\t--max_bandwidth=<bit-per-sec>\tlimit the bandwidth\n"); + fprintf(stderr, "\t\t--random_wait=<millisec>\twait before each packet\n"); + fprintf(stderr, "\t\t--wait_in_out=<flag>\t1 wait for in, 2 out, 3 in&out\n"); + /* end options for bandwidth */ +diff -urNad redir-2.2.1~/redir.man redir-2.2.1/redir.man +--- redir-2.2.1~/redir.man 1999-12-26 15:52:24.000000000 -0500 ++++ redir-2.2.1/redir.man 2005-10-22 21:22:28.882630176 -0400 +@@ -18,7 +18,7 @@ + .I --lport=port + .I --cport=port + .RB [ \--bufsize=n ] +-.RB [ \--maxbandwidth=n ] ++.RB [ \--max_bandwidth=n ] + .RB [ \--random_wait=n ] + .RB [ \--wait_in_out=n ] + .ll -8 +@@ -35,7 +35,7 @@ + .RB [ \--connect=host:port ] + .I --cport=port + .RB [ \--bufsize=n ] +-.RB [ \--maxbandwidth=n ] ++.RB [ \--max_bandwidth=n ] + .RB [ \--random_wait=n ] + .RB [ \--wait_in_out=n ] + .ll -8 +@@ -102,9 +102,9 @@ + .TP + .B \--bufsize n + Set the bufsize (defaut 4096) in bytes. Can be used combined with +---maxbandwidth or --random_wait to simulate a slow connection. ++--max_bandwidth or --random_wait to simulate a slow connection. + .TP +-.B \--maxbandwidth n ++.B \--max_bandwidth n + Reduce the bandwidth to be no more than n bits/sec. The algorithme is + basic, the goal is to simulate a slow connection, so there is no pic + acceptance. +@@ -115,7 +115,7 @@ + than the bufsize (see also --bufsize). + .TP + .B \--wait_in_out n +-Apply --maxbandwidth and --random_wait for input if n=1, output if n=2 and ++Apply --max_bandwidth and --random_wait for input if n=1, output if n=2 and + both if n=3. + .SH "SEE ALSO" + inetd(1) diff --git a/network/redir/patches/02_use_ntohs.dpatch b/network/redir/patches/02_use_ntohs.dpatch new file mode 100644 index 0000000000..58622b0ddf --- /dev/null +++ b/network/redir/patches/02_use_ntohs.dpatch @@ -0,0 +1,50 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_use_ntohs.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: use ntohs() to generate comprehensible debug()s and syslog()s. + +@DPATCH@ +diff -urNad redir-2.2.1~/redir.c redir-2.2.1/redir.c +--- redir-2.2.1~/redir.c 1999-12-26 15:50:06.000000000 -0500 ++++ redir-2.2.1/redir.c 2005-10-22 21:29:55.491735272 -0400 +@@ -745,7 +745,7 @@ + } + + debug1("peer IP is %s\n", inet_ntoa(client.sin_addr)); +- debug1("peer socket is %d\n", client.sin_port); ++ debug1("peer socket is %d\n", ntohs(client.sin_port)); + + /* + * Double fork here so we don't have to wait later +@@ -871,8 +871,8 @@ + strcpy(tmp2, inet_ntoa(target->sin_addr)); + + syslog(LOG_NOTICE, "connecting %s/%d to %s/%d", +- tmp1, client.sin_port, +- tmp2, target->sin_port); ++ tmp1, ntohs(client.sin_port), ++ tmp2, ntohs(target->sin_port)); + } + + /* do proxy stuff */ +@@ -1066,7 +1066,7 @@ + + if (!getpeername(0, (struct sockaddr *) &client, &client_size)) { + debug1("peer IP is %s\n", inet_ntoa(client.sin_addr)); +- debug1("peer socket is %d\n", client.sin_port); ++ debug1("peer socket is %d\n", ntohs(client.sin_port)); + } + if ((targetsock = socket(AF_INET, SOCK_STREAM, 0)) < 0) { + perror("target: socket"); +@@ -1109,8 +1109,8 @@ + + if (dosyslog) { + syslog(LOG_NOTICE, "connecting %s/%d to %s/%d", +- inet_ntoa(client.sin_addr), client.sin_port, +- target_ip, target.sin_port); ++ inet_ntoa(client.sin_addr), ntohs(client.sin_port), ++ target_ip, ntohs(target.sin_port)); + } + + /* Just start copying - one side of the loop is stdin - 0 */ diff --git a/network/redir/patches/03_fix_tcp_wrappers.dpatch b/network/redir/patches/03_fix_tcp_wrappers.dpatch new file mode 100644 index 0000000000..8709432ea2 --- /dev/null +++ b/network/redir/patches/03_fix_tcp_wrappers.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_fix_tcp_wrappers.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix calls to tcp wrappers + +@DPATCH@ +diff -urNad redir-2.2.1~/redir.c redir-2.2.1/redir.c +--- redir-2.2.1~/redir.c 2005-10-22 22:10:11.439455392 -0400 ++++ redir-2.2.1/redir.c 2005-10-22 22:10:51.625346208 -0400 +@@ -802,8 +802,8 @@ + #ifdef USE_TCP_WRAPPERS + request_init(&request, RQ_DAEMON, ident, RQ_FILE, clisock, 0); + sock_host(&request); +- sock_hostname(&request); +- sock_hostaddr(&request); ++ sock_hostname(request.client); ++ sock_hostaddr(request.client); + + if (!hosts_access(&request)) { + refuse(&request); +@@ -1057,8 +1057,8 @@ + #ifdef USE_TCP_WRAPPERS + request_init(&request, RQ_DAEMON, ident, RQ_FILE, 0, 0); + sock_host(&request); +- sock_hostname(&request); +- sock_hostaddr(&request); ++ sock_hostname(request.client); ++ sock_hostaddr(request.client); + + if (!hosts_access(&request)) + refuse(&request); diff --git a/network/redir/patches/04_fix_timeouts.dpatch b/network/redir/patches/04_fix_timeouts.dpatch new file mode 100644 index 0000000000..87c1984517 --- /dev/null +++ b/network/redir/patches/04_fix_timeouts.dpatch @@ -0,0 +1,45 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_fix_timeouts.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Apply a close approximation of Robert de Bath's patch for bug #142382 + +@DPATCH@ +diff -urNad redir-2.2.1~/redir.c redir-2.2.1/redir.c +--- redir-2.2.1~/redir.c 2005-10-22 22:44:39.504061784 -0400 ++++ redir-2.2.1/redir.c 2005-10-22 22:47:14.746461352 -0400 +@@ -598,10 +598,6 @@ + /* Record start time */ + start_time = (unsigned int) time(NULL); + +- /* Set up timeout */ +- timeout.tv_sec = timeout_secs; +- timeout.tv_usec = 0; +- + /* file descriptor bits */ + FD_ZERO(&iofds); + FD_SET(insock, &iofds); +@@ -618,14 +614,21 @@ + while(1) { + (void) memcpy(&c_iofds, &iofds, sizeof(iofds)); + ++ /* Set up timeout, Linux returns seconds left in this structure ++ * so we have to reset it before each select(). */ ++ timeout.tv_sec = timeout_secs; ++ timeout.tv_usec = 0; ++ + + if (select(max_fd + 1, + &c_iofds, + (fd_set *)0, + (fd_set *)0, + (timeout_secs ? &timeout : NULL)) <= 0) { +- /* syslog(LLEV,"connection timeout: %d sec",timeout.tv_sec);*/ +- break; ++ if (dosyslog) { ++ syslog(LOG_NOTICE,"connection timeout: %d sec",timeout_secs); ++ } ++ break; + } + + if(FD_ISSET(insock, &c_iofds)) { diff --git a/network/redir/patches/05_pedantic.dpatch b/network/redir/patches/05_pedantic.dpatch new file mode 100644 index 0000000000..ff7b1a9fbf --- /dev/null +++ b/network/redir/patches/05_pedantic.dpatch @@ -0,0 +1,183 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_pedantic.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: changes to make clean up compilation + +@DPATCH@ +diff -urNad redir-2.2.1~/Makefile redir-2.2.1/Makefile +--- redir-2.2.1~/Makefile 2005-10-22 23:11:41.000000000 -0400 ++++ redir-2.2.1/Makefile 2005-10-22 23:11:48.818368360 -0400 +@@ -32,7 +32,7 @@ + # if your system lacks getopt_long, remove the comment from this line + OBJS = redir.o $(GETOPT_OBJS) + +-CFLAGS = -O2 -Wall $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS) ++CFLAGS = -O2 -Wall --pedantic $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS) + LDFLAGS = -s + + # solaris, and others, may also need these libraries to link +diff -urNad redir-2.2.1~/redir.c redir-2.2.1/redir.c +--- redir-2.2.1~/redir.c 2005-10-22 23:11:48.282449832 -0400 ++++ redir-2.2.1/redir.c 2005-10-22 23:12:23.201141384 -0400 +@@ -73,6 +73,7 @@ + #include <sys/types.h> + #include <sys/socket.h> + #include <sys/time.h> ++#include <time.h> + #include <sys/wait.h> + #include <netinet/in.h> + #include <arpa/inet.h> +@@ -460,7 +461,7 @@ + int lport, rport; + int remip[4]; + int localsock; +- int socksize = sizeof(struct sockaddr_in); ++ size_t socksize = sizeof(struct sockaddr_in); + + struct sockaddr_in newsession; + struct sockaddr_in sockname; +@@ -509,7 +510,7 @@ + if(getsockname(localsock, (struct sockaddr *)&sockname, &socksize) < 0) { + perror("getsockname"); + if (dosyslog) +- syslog(LOG_ERR, "getsockname failed: %m"); ++ syslog(LOG_ERR, "getsockname failed: %s",strerror(errno)); + exit(1); + } + +@@ -562,7 +563,7 @@ + switch(fork()) + { + case -1: /* Error */ +- syslog(LOG_ERR, "Couldn't fork: %m"); ++ syslog(LOG_ERR, "Couldn't fork: %s",strerror(errno)); + _exit(1); + case 0: /* Child */ + { +@@ -723,7 +724,7 @@ + int clisock; + int targetsock; + struct sockaddr_in client; +- int clientlen = sizeof(client); ++ size_t clientlen = sizeof(client); + int accept_errno; + + debug("top of accept loop\n"); +@@ -734,7 +735,7 @@ + perror("server: accept"); + + if (dosyslog) +- syslog(LOG_ERR, "accept failed: %m"); ++ syslog(LOG_ERR, "accept failed: %s",strerror(errno)); + + /* determine if this error is fatal */ + switch(accept_errno) { +@@ -768,7 +769,7 @@ + perror("(server) fork"); + + if (dosyslog) +- syslog(LOG_ERR, "(server) fork failed: %m"); ++ syslog(LOG_ERR, "(server) fork failed: %s",strerror(errno)); + + _exit(1); + case 0: /* Child */ +@@ -795,7 +796,7 @@ + perror("(child) fork"); + + if (dosyslog) +- syslog(LOG_ERR, "(child) fork failed: %m"); ++ syslog(LOG_ERR, "(child) fork failed: %s",strerror(errno)); + + _exit(1); + case 0: /* Child */ +@@ -826,7 +827,7 @@ + perror("target: socket"); + + if (dosyslog) +- syslog(LOG_ERR, "socket failed: %m"); ++ syslog(LOG_ERR, "socket failed: %s",strerror(errno)); + + _exit(1); + } +@@ -850,7 +851,7 @@ + only be different if the input value is 0 (let the system pick a + port) */ + if (dosyslog) +- syslog(LOG_ERR, "bind failed: %m"); ++ syslog(LOG_ERR, "bind failed: %s",strerror(errno)); + + _exit(1); + } +@@ -862,7 +863,7 @@ + perror("target: connect"); + + if (dosyslog) +- syslog(LOG_ERR, "bind failed: %m"); ++ syslog(LOG_ERR, "bind failed: %s",strerror(errno)); + + _exit(1); + } +@@ -923,7 +924,7 @@ + perror("server: socket"); + + if (dosyslog) +- syslog(LOG_ERR, "socket failed: %m"); ++ syslog(LOG_ERR, "socket failed: %s",strerror(errno)); + + exit(1); + } +@@ -962,7 +963,7 @@ + perror("server: bind"); + + if (dosyslog) +- syslog(LOG_ERR, "bind failed: %m"); ++ syslog(LOG_ERR, "bind failed: %s",strerror(errno)); + + exit(1); + } +@@ -980,7 +981,7 @@ + perror("server: listen"); + + if (dosyslog) +- syslog(LOG_ERR, "listen failed: %m"); ++ syslog(LOG_ERR, "listen failed: %s",strerror(errno)); + + exit(1); + } +@@ -1059,7 +1060,7 @@ + if (inetd) { + int targetsock; + struct sockaddr_in client; +- int client_size = sizeof(client); ++ size_t client_size = sizeof(client); + + #ifdef USE_TCP_WRAPPERS + request_init(&request, RQ_DAEMON, ident, RQ_FILE, 0, 0); +@@ -1079,7 +1080,7 @@ + perror("target: socket"); + + if (dosyslog) +- syslog(LOG_ERR, "targetsock failed: %m"); ++ syslog(LOG_ERR, "targetsock failed: %s",strerror(errno)); + + exit(1); + } +@@ -1097,7 +1098,7 @@ + perror("bind_addr: cannot bind to forcerd outgoing addr"); + + if (dosyslog) +- syslog(LOG_ERR, "bind failed: %m"); ++ syslog(LOG_ERR, "bind failed: %s",strerror(errno)); + + exit(1); + } +@@ -1109,7 +1110,7 @@ + perror("target: connect"); + + if (dosyslog) +- syslog(LOG_ERR, "connect failed: %m"); ++ syslog(LOG_ERR, "connect failed: %s",strerror(errno)); + + exit(1); + } diff --git a/network/redir/patches/06_fix_shaper_buffer.dpatch b/network/redir/patches/06_fix_shaper_buffer.dpatch new file mode 100644 index 0000000000..47c1e132ea --- /dev/null +++ b/network/redir/patches/06_fix_shaper_buffer.dpatch @@ -0,0 +1,63 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 06_fix_shaper_buffer.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: properly allocate copyloop buffer + +@DPATCH@ +diff -urNad redir-2.2.1~/redir.c redir-2.2.1/redir.c +--- redir-2.2.1~/redir.c 2005-10-22 23:20:05.235901424 -0400 ++++ redir-2.2.1/redir.c 2005-10-22 23:22:20.198384008 -0400 +@@ -260,7 +260,7 @@ + #endif + int *transproxy, + #ifndef NO_SHAPER +- unsigned int * bufsize, ++ unsigned int * bufsizeout, + int * max_bandwidth, + int * random_wait, + int * wait_in_out, +@@ -367,7 +367,7 @@ + + #ifndef NO_SHAPER + case 'z': +- *bufsize = (unsigned int)atol(optarg); ++ *bufsizeout = (unsigned int)atol(optarg); + break; + + case 'm': +@@ -594,7 +594,7 @@ + unsigned long bytes_in = 0; + unsigned long bytes_out = 0; + unsigned int start_time, end_time; +- char buf[bufsize]; ++ char* buf = malloc(bufsize); + + /* Record start time */ + start_time = (unsigned int) time(NULL); +@@ -637,7 +637,7 @@ + } + + if(FD_ISSET(insock, &c_iofds)) { +- if((bytes = read(insock, buf, sizeof(buf))) <= 0) ++ if((bytes = read(insock, buf, bufsize)) <= 0) + break; + #ifndef NO_FTP + if (ftp & FTP_PORT) +@@ -652,7 +652,7 @@ + bytes_out += bytes; + } + if(FD_ISSET(outsock, &c_iofds)) { +- if((bytes = read(outsock, buf, sizeof(buf))) <= 0) ++ if((bytes = read(outsock, buf, bufsize)) <= 0) + break; + /* if we're correcting for PASV on ftp redirections, then + fix buf and bytes to have the new address, among other +@@ -689,6 +689,7 @@ + syslog(LOG_NOTICE, "disconnect %d secs, %ld in %ld out", + (end_time - start_time), bytes_in, bytes_out); + } ++ free(buf); + return; + } + diff --git a/network/redir/patches/07_cosmetics.dpatch b/network/redir/patches/07_cosmetics.dpatch new file mode 100644 index 0000000000..a692c73815 --- /dev/null +++ b/network/redir/patches/07_cosmetics.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 07_cosmetics.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Cosmetic fixes which could be applied upstream + +@DPATCH@ +diff -urNad redir-2.2.1~/redir.man redir-2.2.1/redir.man +--- redir-2.2.1~/redir.man 2005-10-22 21:41:51.284918168 -0400 ++++ redir-2.2.1/redir.man 2005-10-22 21:42:42.115190792 -0400 +@@ -73,7 +73,7 @@ + Specify program name to be used for TCP wrapper checks and syslog logging. + .TP + .B --timeout +-Timeout and close the connection after n seconds on inactivity. ++Timeout and close the connection after n seconds of inactivity. + .TP + .B \--syslog + Log information to syslog. +@@ -90,7 +90,7 @@ + undesirable. + .TP + .B \--transproxy +-On a linux system with transparany proxying enables, causes redir to ++On a linux system with transparent proxying enabled, causes redir to + make connections appear as if they had come from their true origin. + (see transproxy.txt in the source archive) + .TP diff --git a/network/redir/patches/08_add_wrappers.dpatch b/network/redir/patches/08_add_wrappers.dpatch new file mode 100644 index 0000000000..57e4e7a875 --- /dev/null +++ b/network/redir/patches/08_add_wrappers.dpatch @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 08_add_wrappers.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Enabling TCP wrapper support + +@DPATCH@ + +--- redir-2.2.1.orig/Makefile ++++ redir-2.2.1/Makefile +@@ -9,8 +9,8 @@ + # if you would like support for TCP wrappers (and have libwrap.a + # installed), remove these comments. + +-WRAP_CFLAGS = # -DUSE_TCP_WRAPPERS +-WRAP_LIBS = # -lwrap ++WRAP_CFLAGS = -DUSE_TCP_WRAPPERS ++WRAP_LIBS = -lwrap + + # if your system needs any additional libraries (solaris, for example, + # needs the ones commented out below), edit this line. + diff --git a/network/redir/patches/09_add_linux_software_map.dpatch b/network/redir/patches/09_add_linux_software_map.dpatch new file mode 100644 index 0000000000..0274957ca7 --- /dev/null +++ b/network/redir/patches/09_add_linux_software_map.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 09_add_linux_software_map.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add linux software map file + +@DPATCH@ + +--- redir-2.2.1.orig/redir-2.2.lsm ++++ redir-2.2.1/redir-2.2.lsm +@@ -0,0 +1,11 @@ ++Begin3 ++Title: redir ++Version: 2.2 ++Entered-date: 15DEC1999 ++Description: TCP Port redirector (for firewalls etc). ++Keywords: tcp port redirector bouncer proxy ++Author: sammy@oh.verio.com ++Primary-site: sunsite.unc.edu /pub/Linux/system/Network/daemons ++ 39936 redir-2.2.tar.gz ++Copying-policy: GPL ++End + diff --git a/network/redir/patches/15_deb_cosmetics.dpatch b/network/redir/patches/15_deb_cosmetics.dpatch new file mode 100644 index 0000000000..840d800125 --- /dev/null +++ b/network/redir/patches/15_deb_cosmetics.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 15_deb_cosmetics.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Cosmetic changes applicable only to debian + +@DPATCH@ +diff -urNad redir-2.2.1~/redir.man redir-2.2.1/redir.man +--- redir-2.2.1~/redir.man 2005-10-22 21:47:44.067287096 -0400 ++++ redir-2.2.1/redir.man 2005-10-22 21:48:34.218662928 -0400 +@@ -92,7 +92,7 @@ + .B \--transproxy + On a linux system with transparent proxying enabled, causes redir to + make connections appear as if they had come from their true origin. +-(see transproxy.txt in the source archive) ++(see /usr/share/doc/redir/transproxy.txt) + .TP + .B \--connect + Redirects connections through an HTTP proxy which supports the CONNECT diff --git a/network/redir/patches/20_do_not_strip.dpatch b/network/redir/patches/20_do_not_strip.dpatch new file mode 100644 index 0000000000..c47e13e1b0 --- /dev/null +++ b/network/redir/patches/20_do_not_strip.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20_do_not_strip.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: don't strip by default. let dh_strip take care of it. + +@DPATCH@ +diff -urNad redir-2.2.1~/Makefile redir-2.2.1/Makefile +--- redir-2.2.1~/Makefile 2007-08-15 14:53:41.908911693 -0400 ++++ redir-2.2.1/Makefile 2007-08-15 14:53:59.409909018 -0400 +@@ -33,7 +33,7 @@ + OBJS = redir.o $(GETOPT_OBJS) + + CFLAGS = -O2 -Wall --pedantic $(STR_CFLAGS) $(WRAP_CFLAGS) $(EXTRA_CFLAGS) +-LDFLAGS = -s ++LDFLAGS = # -s + + # solaris, and others, may also need these libraries to link + # also edit here if you're using the TCP wrappers code diff --git a/network/redir/patches/25_fix_setsockopt.dpatch b/network/redir/patches/25_fix_setsockopt.dpatch new file mode 100644 index 0000000000..0623198f72 --- /dev/null +++ b/network/redir/patches/25_fix_setsockopt.dpatch @@ -0,0 +1,62 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 25_fix_setsockopt.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Ensure that the server socket has SO_REUSEADDR and SO_LINGER set properly. + +@DPATCH@ +diff -urNad redir~/redir.c redir/redir.c +--- redir~/redir.c 2009-03-03 17:35:12.022427586 -0500 ++++ redir/redir.c 2009-03-03 17:45:28.998426896 -0500 +@@ -90,8 +90,8 @@ + /* let's set up some globals... */ + int dodebug = 0; + int dosyslog = 0; +-unsigned char reuse_addr = 1; +-unsigned char linger_opt = 0; ++int reuse_addr = 1; /* allow address reuse */ ++struct linger linger_opt = { 0, 0}; /* do not linger */ + char * bind_addr = NULL; + struct sockaddr_in addr_out; + int timeout = 0; +@@ -906,6 +906,7 @@ + + int servsock; + struct sockaddr_in server; ++ int ret; + + /* + * Get a socket to work with. This socket will +@@ -944,8 +945,30 @@ + server.sin_addr.s_addr = htonl(inet_addr("0.0.0.0")); + } + +- setsockopt(servsock, SOL_SOCKET, SO_REUSEADDR, &reuse_addr, sizeof(reuse_addr)); +- setsockopt(servsock, SOL_SOCKET, SO_LINGER, &linger_opt, sizeof(SO_LINGER)); ++ ret = setsockopt(servsock, SOL_SOCKET, SO_REUSEADDR, &reuse_addr, sizeof(reuse_addr)); ++ if (ret != 0) { ++ if(fail) { ++ return -1; ++ } ++ else { ++ perror("server: setsockopt (SO_REUSEADDR)"); ++ if (dosyslog) ++ syslog(LOG_ERR, "setsockopt failed with SO_REUSEADDR: %s",strerror(errno)); ++ exit(1); ++ } ++ } ++ ret = setsockopt(servsock, SOL_SOCKET, SO_LINGER, &linger_opt, sizeof(linger_opt)); ++ if (ret != 0) { ++ if(fail) { ++ return -1; ++ } ++ else { ++ perror("server: setsockopt (SO_LINGER)"); ++ if (dosyslog) ++ syslog(LOG_ERR, "setsockopt failed with SO_LINGER: %s",strerror(errno)); ++ exit(1); ++ } ++ } + + /* + * Try to bind the address to the socket. diff --git a/network/redir/patches/30_fix_manpage.dpatch b/network/redir/patches/30_fix_manpage.dpatch new file mode 100644 index 0000000000..3a36bc30ea --- /dev/null +++ b/network/redir/patches/30_fix_manpage.dpatch @@ -0,0 +1,183 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 30_fix_manpage.dpatch by Daniel Kahn Gillmor <dkg@fifthhorseman.net> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Clean up questionable formatting in man page. + +@DPATCH@ +diff -urNad redir~/redir.man redir/redir.man +--- redir~/redir.man 2009-03-03 18:55:37.790428922 -0500 ++++ redir/redir.man 2009-03-03 18:58:48.486428715 -0500 +@@ -1,43 +1,42 @@ +-.PU + .TH REDIR 1 local + .SH NAME +-redir \- redirect tcp connections ++redir - redirect tcp connections + .SH SYNOPSIS + .ll +8 + .B redir +-.RB [ \--laddr=incoming.ip.address ] +-.RB [ \--caddr=host ] +-.RB [ \--debug ] +-.RB [ \--syslog +-.RB [ \--name=str ] +-.RB [ \--timeout=n ] +-.RB [ \--bind_addr=my.other.ip.address ] +-.RB [ \--ftp=type ] +-.RB [ \--transproxy ] +-.RB [ \--connect=host:port ] +-.I --lport=port +-.I --cport=port +-.RB [ \--bufsize=n ] +-.RB [ \--max_bandwidth=n ] +-.RB [ \--random_wait=n ] +-.RB [ \--wait_in_out=n ] ++.RB [ \-\-laddr=incoming.ip.address ] ++.RB [ \-\-caddr=host ] ++.RB [ \-\-debug ] ++.RB [ \-\-syslog ] ++.RB [ \-\-name=str ] ++.RB [ \-\-timeout=n ] ++.RB [ \-\-bind_addr=my.other.ip.address ] ++.RB [ \-\-ftp=type ] ++.RB [ \-\-transproxy ] ++.RB [ \-\-connect=host:port ] ++.I \-\-lport=port ++.I \-\-cport=port ++.RB [ \-\-bufsize=n ] ++.RB [ \-\-max_bandwidth=n ] ++.RB [ \-\-random_wait=n ] ++.RB [ \-\-wait_in_out=n ] + .ll -8 + .br + .B redir +-.RB \--inetd +-.RB [ \--caddr=host ] +-.RB [ \--debug ] +-.RB [ \--syslog +-.RB [ \--name=str ] +-.RB [ \--timeout=n ] +-.RB [ \--ftp=type ] +-.RB [ \--transproxy ] +-.RB [ \--connect=host:port ] +-.I --cport=port +-.RB [ \--bufsize=n ] +-.RB [ \--max_bandwidth=n ] +-.RB [ \--random_wait=n ] +-.RB [ \--wait_in_out=n ] ++.RB \-\-inetd ++.RB [ \-\-caddr=host ] ++.RB [ \-\-debug ] ++.RB [ \-\-syslog ] ++.RB [ \-\-name=str ] ++.RB [ \-\-timeout=n ] ++.RB [ \-\-ftp=type ] ++.RB [ \-\-transproxy ] ++.RB [ \-\-connect=host:port ] ++.I \-\-cport=port ++.RB [ \-\-bufsize=n ] ++.RB [ \-\-max_bandwidth=n ] ++.RB [ \-\-random_wait=n ] ++.RB [ \-\-wait_in_out=n ] + .ll -8 + .br + .SH DESCRIPTION +@@ -49,74 +48,73 @@ + Depending on how redir was compiled, not all options may be available. + .SH OPTIONS + .TP +-.B \--lport ++.B \-\-lport + Specifies port to listen for connections on (when not running from inetd) + .TP +-.B \--laddr ++.B \-\-laddr + IP address to bind to when listening for connections (when not + running from inetd) + .TP +-.B \--cport ++.B \-\-cport + Specifies port to connect to. + .TP +-.B \--caddr ++.B \-\-caddr + Specifies remote host to connect to. (localhost if omitted) + .TP +-.B \--inetd ++.B \-\-inetd + Run as a process started from inetd, with the connection passed as stdin + and stdout on startup. + .TP +-.B \--debug ++.B \-\-debug + Write debug output to stderr or syslog. + .TP +-.B \--name ++.B \-\-name + Specify program name to be used for TCP wrapper checks and syslog logging. + .TP +-.B --timeout ++.B \-\-timeout + Timeout and close the connection after n seconds of inactivity. + .TP +-.B \--syslog ++.B \-\-syslog + Log information to syslog. + .TP +-.B \--bind_addr ++.B \-\-bind_addr + Forces redir to pick a specific address/interface to bind to when it listens + for incoming connections. + .TP +-.B \--ftp ++.B \-\-ftp + When using redir for an FTP server, this will cause redir to also + redirect ftp connections. Type should be specified as either "port", + "pasv", or "both", to specify what type of FTP connection to handle. +-Note that --transproxy often makes one or the other (generally port) ++Note that \-\-transproxy often makes one or the other (generally port) + undesirable. + .TP +-.B \--transproxy ++.B \-\-transproxy + On a linux system with transparent proxying enabled, causes redir to + make connections appear as if they had come from their true origin. + (see /usr/share/doc/redir/transproxy.txt) + .TP +-.B \--connect ++.B \-\-connect + Redirects connections through an HTTP proxy which supports the CONNECT +-command. Specify the address and port of the proxy using --caddr and +---cport. --connect requires the hostname and port which the HTTP ++command. Specify the address and port of the proxy using \-\-caddr and ++\-\-cport. \-\-connect requires the hostname and port which the HTTP + proxy will be asked to connect to. + .TP +-.B \--bufsize n ++.B \-\-bufsize n + Set the bufsize (defaut 4096) in bytes. Can be used combined with +---max_bandwidth or --random_wait to simulate a slow connection. ++\-\-max_bandwidth or \-\-random_wait to simulate a slow connection. + .TP +-.B \--max_bandwidth n ++.B \-\-max_bandwidth n + Reduce the bandwidth to be no more than n bits/sec. The algorithme is + basic, the goal is to simulate a slow connection, so there is no pic + acceptance. + .TP +-.B \--random_wait n ++.B \-\-random_wait n + Wait between 0 and 2 x n milliseconds before each "packet". A "packet" is + a bloc of data read in one time by redir. A "packet" size is always less +-than the bufsize (see also --bufsize). ++than the bufsize (see also \-\-bufsize). + .TP +-.B \--wait_in_out n +-Apply --max_bandwidth and --random_wait for input if n=1, output if n=2 and ++.B \-\-wait_in_out n ++Apply \-\-max_bandwidth and \-\-random_wait for input if n=1, output if n=2 and + both if n=3. + .SH "SEE ALSO" + inetd(1) +- diff --git a/network/redir/redir.SlackBuild b/network/redir/redir.SlackBuild new file mode 100644 index 0000000000..74c1345ac0 --- /dev/null +++ b/network/redir/redir.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for redir + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=redir +VERSION=${VERSION:-2.2.1} +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 + +DOCS="CHANGES COPYING README contrib transproxy.txt" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +for i in $CWD/patches/* ; do patch -p1 < $i ; done + +sed -i "s|^EXTRA_LIBS.*|EXTRA_LIBS = -lnsl|" Makefile + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +make +install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM + +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/man/man1 +gzip -9c $PRGNAM.man > $PKG/usr/man/man1/$PRGNAM.1.gz + +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/network/redir/redir.info b/network/redir/redir.info new file mode 100644 index 0000000000..3280819247 --- /dev/null +++ b/network/redir/redir.info @@ -0,0 +1,10 @@ +PRGNAM="redir" +VERSION="2.2.1" +HOMEPAGE="http://sammy.net/~sammy/hacks/" +DOWNLOAD="http://sammy.net/~sammy/hacks/redir-2.2.1.tar.gz" +MD5SUM="4342fadac30504c86c8db7beefe01995" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/network/redir/slack-desc b/network/redir/slack-desc new file mode 100644 index 0000000000..b201e42c75 --- /dev/null +++ b/network/redir/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------------------------------------------------------| +redir: redir (Redirect TCP connections) +redir: +redir: redir is all you need to redirect traffic across firewalls. +redir: The functionality of inetd/tcpd and "redir" will allow you to +redir: do everything you need without screwy telnet/ftp etc gateways. +redir: +redir: homepage: http://sammy.net/~sammy/hacks/ +redir: +redir: +redir: +redir: diff --git a/network/smb4k/README b/network/smb4k/README new file mode 100644 index 0000000000..a47fd61932 --- /dev/null +++ b/network/smb4k/README @@ -0,0 +1,3 @@ +Smb4K is an advanced network neighborhood browser for KDE and a frontend +to the programs of the Samba software suite. Its purpose is to provide +a program that's easy to use and has as many features as possible. diff --git a/network/smb4k/doinst.sh b/network/smb4k/doinst.sh new file mode 100644 index 0000000000..53c90287d1 --- /dev/null +++ b/network/smb4k/doinst.sh @@ -0,0 +1,30 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +config etc/dbus-1/system.d/net.sourceforge.smb4k.mounthelper.conf.new + +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 + +# Reload messagebus service +if [ -x etc/rc.d/rc.messagebus ]; then + chroot . /etc/rc.d/rc.messagebus reload +fi + diff --git a/network/smb4k/slack-desc b/network/smb4k/slack-desc new file mode 100644 index 0000000000..392f44fb1d --- /dev/null +++ b/network/smb4k/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------------------------------------------------------| +smb4k: smb4k (A SMB Share Browser) +smb4k: +smb4k: Smb4K is an advanced network neighborhood browser for KDE and a +smb4k: frontend to the programs of the Samba software suite. Its purpose is +smb4k: to provide a program that's easy to use and has as many features as +smb4k: possible. +smb4k: +smb4k: Homepage: http://smb4k.sourceforge.net/ +smb4k: +smb4k: +smb4k: diff --git a/network/smb4k/smb4k.SlackBuild b/network/smb4k/smb4k.SlackBuild new file mode 100644 index 0000000000..7a3b8dff9b --- /dev/null +++ b/network/smb4k/smb4k.SlackBuild @@ -0,0 +1,105 @@ +#!/bin/sh + +# Slackware build script for smb4k + +# Copyright 2008-2013 Roberto Neri, Palermo, Italy +# +# 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=smb4k +VERSION=${VERSION:-1.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 + +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 {} \; + +mkdir build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + .. + make + make install DESTDIR=$PKG +cd .. + +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 + +mv $PKG/etc/dbus-1/system.d/net.sourceforge.smb4k.mounthelper.conf \ + $PKG/etc/dbus-1/system.d/net.sourceforge.smb4k.mounthelper.conf.new + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS BUGS ChangeLog COPYING README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/doinst.sh > $PKG/install/doinst.sh +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/network/smb4k/smb4k.info b/network/smb4k/smb4k.info new file mode 100644 index 0000000000..24f7f10227 --- /dev/null +++ b/network/smb4k/smb4k.info @@ -0,0 +1,10 @@ +PRGNAM="smb4k" +VERSION="1.1.0" +HOMEPAGE="http://smb4k.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/smb4k/smb4k-1.1.0.tar.bz2" +MD5SUM="2ccd1f4eda732654460ff03b77738a96" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="nobody" +EMAIL="nobody@nowhere" diff --git a/network/spice-gtk/README b/network/spice-gtk/README index 45f8343bb0..1912fe7a5d 100644 --- a/network/spice-gtk/README +++ b/network/spice-gtk/README @@ -5,3 +5,7 @@ By default the GTK+3 version is built: if you need the GTK+2 one, pass to the build script the variable GTK=2 usbredir is an optional dependency. + +CIRCULAR DEPENDENCY WARNING: as libcacard is now included in qemu, +if you want smartcard support in spice-gtk you should build qemu +first, then build (spice and) this with it installed. diff --git a/network/spice-gtk/spice-gtk.SlackBuild b/network/spice-gtk/spice-gtk.SlackBuild index fe573b5946..fd5b1bd4c5 100644 --- a/network/spice-gtk/spice-gtk.SlackBuild +++ b/network/spice-gtk/spice-gtk.SlackBuild @@ -23,7 +23,7 @@ PRGNAM=spice-gtk VERSION=${VERSION:-0.23} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -55,6 +55,7 @@ fi # enable support for usbredir if available if pkg-config --exists libusbredirhost; then usbredir="en"; else usbredir="dis"; fi +if pkg-config --exists libcacard; then cacard="en"; else cacard="dis"; fi if [ "$GTK" = "2" ]; then gtkver="2"; else gtkver="3"; fi DOCS="AUTHORS COPYING NEWS README THANKS TODO" @@ -97,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \ --with-audio=gstreamer \ --disable-maintainer-mode \ --${usbredir}able-usbredir \ + --${cacard}able-smartcard \ --build=$ARCH-slackware-linux make diff --git a/network/spice-gtk/spice-gtk.info b/network/spice-gtk/spice-gtk.info index d0a60d57be..485fea404c 100644 --- a/network/spice-gtk/spice-gtk.info +++ b/network/spice-gtk/spice-gtk.info @@ -5,6 +5,6 @@ DOWNLOAD="http://spice-space.org/download/gtk/spice-gtk-0.23.tar.bz2" MD5SUM="575c6f532067e4003754e9b050a27bec" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libcacard spice vala" +REQUIRES="spice vala" MAINTAINER="Matteo Bernardini" EMAIL="ponce@slackbuilds.org" diff --git a/network/spice/README b/network/spice/README index a415e09d75..c360f58e1e 100644 --- a/network/spice/README +++ b/network/spice/README @@ -5,4 +5,6 @@ local machine, while trying to offload most of the intensive CPU and GPU tasks to the client. Spice is suitable for both LAN and WAN usage, without compromising on the user experience. -libcacard is an optional dependency. +CIRCULAR DEPENDENCY WARNING: as libcacard is now included in qemu, +if you want smartcard support in spice you should build the optional +dependency qemu first then build this with it installed. diff --git a/system/gsmartcontrol/04_glib2.31.patch b/system/gsmartcontrol/04_glib2.31.patch deleted file mode 100644 index 9f5073c192..0000000000 --- a/system/gsmartcontrol/04_glib2.31.patch +++ /dev/null @@ -1,42 +0,0 @@ -Description: Fixed compilation under Glib 2.31.x. -Origin: Upstream, http://svn.berlios.de/viewvc/gsmartcontrol/trunk/gsmartcontrol/src/hz/sync_policy_glib.h?r1=27&r2=72&view=patch -Author: Alexander Shaduri -Bug-Ubuntu: https://bugs.launchpad.net/bugs/935155 -Bug-Debian: http://bugs.debian.org/665677 - ---- gsmartcontrol/src/hz/sync_policy_glib.h 2011/03/06 10:43:38 27 -+++ gsmartcontrol/src/hz/sync_policy_glib.h 2011/11/02 16:00:39 72 -@@ -17,30 +17,14 @@ - // Glib-based policy. - - --// Note: g_static_mutex_*lock() functions may give warnings about breaking strict-aliasing rules. --// The warnings are completely harmless and visible on some versions of glib only. --// However, due to their number, I decided to implement this workaround. -- --#ifndef _WIN32 -- // same as stock version, but an additional cast to (void*) is added. -- #define hz_glib_static_mutex_get_mutex(mutex) \ -- ( g_thread_use_default_impl ? ((GMutex*) ((void*)((mutex)->static_mutex.pad))) : \ -- g_static_mutex_get_mutex_impl_shortcut(&((mutex)->runtime_mutex)) ) -- --#else -- // win32 has different definition of this macro, so default to stock version. -- #define hz_glib_static_mutex_get_mutex(mutex) g_static_mutex_get_mutex(mutex) --#endif -- -- - #define hz_glib_static_mutex_lock(mutex) \ -- g_mutex_lock(hz_glib_static_mutex_get_mutex(mutex)) -+ g_mutex_lock(g_static_mutex_get_mutex(mutex)) - - #define hz_glib_static_mutex_trylock(mutex) \ -- g_mutex_trylock(hz_glib_static_mutex_get_mutex(mutex)) -+ g_mutex_trylock(g_static_mutex_get_mutex(mutex)) - - #define hz_glib_static_mutex_unlock(mutex) \ -- g_mutex_unlock(hz_glib_static_mutex_get_mutex(mutex)) -+ g_mutex_unlock(g_static_mutex_get_mutex(mutex)) - - - diff --git a/system/gsmartcontrol/gsmartcontrol.SlackBuild b/system/gsmartcontrol/gsmartcontrol.SlackBuild index bfce83c5b3..45504c5fb7 100644 --- a/system/gsmartcontrol/gsmartcontrol.SlackBuild +++ b/system/gsmartcontrol/gsmartcontrol.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gsmartcontrol -VERSION=0.8.6 +VERSION=${VERSION:-0.8.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,10 +64,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Fix build with gcc-4.7.x -sed -i "s/\tdestroy/\tthis->destroy/" src/gsc_text_window.h - -# Patch from debian for glib >= 2.31 -patch -p1 < $CWD/04_glib2.31.patch +sed -i "s/\tdestroy/\tthis->destroy/" src/gsc_text_window.h || exit 1 CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/system/gsmartcontrol/gsmartcontrol.info b/system/gsmartcontrol/gsmartcontrol.info index c970700b8d..bc48d57fe8 100644 --- a/system/gsmartcontrol/gsmartcontrol.info +++ b/system/gsmartcontrol/gsmartcontrol.info @@ -1,8 +1,8 @@ PRGNAM="gsmartcontrol" -VERSION="0.8.6" +VERSION="0.8.7" HOMEPAGE="http://gsmartcontrol.berlios.de/home/index.php/en/Home" -DOWNLOAD="http://download.berlios.de/gsmartcontrol/gsmartcontrol-0.8.6.tar.bz2" -MD5SUM="d2ac685e2e73b05f7ba74c93623af739" +DOWNLOAD="http://download.berlios.de/gsmartcontrol/gsmartcontrol-0.8.7.tar.bz2" +MD5SUM="6d104c2ffc1e693cd1a8052a6d7e3b30" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtkmm" diff --git a/system/lxinput-qt/README b/system/lxinput-qt/README new file mode 100644 index 0000000000..0cda6a3252 --- /dev/null +++ b/system/lxinput-qt/README @@ -0,0 +1 @@ +Qt keyboard and mouse configuration tool. diff --git a/system/lxinput-qt/doinst.sh b/system/lxinput-qt/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/system/lxinput-qt/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/system/lxinput-qt/lxinput-qt.SlackBuild b/system/lxinput-qt/lxinput-qt.SlackBuild new file mode 100644 index 0000000000..085b3473b6 --- /dev/null +++ b/system/lxinput-qt/lxinput-qt.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for lxinput-qt + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxinput-qt +VERSION=${VERSION:-20131128_b2dc9d1} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/system/lxinput-qt/lxinput-qt.info b/system/lxinput-qt/lxinput-qt.info new file mode 100644 index 0000000000..245d0fee4b --- /dev/null +++ b/system/lxinput-qt/lxinput-qt.info @@ -0,0 +1,10 @@ +PRGNAM="lxinput-qt" +VERSION="20131128_b2dc9d1" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxinput-qt-20131128_b2dc9d1.tar.xz" +MD5SUM="dcb5613260b26154ff10e76340cba953" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/lxinput-qt/slack-desc b/system/lxinput-qt/slack-desc new file mode 100644 index 0000000000..4fa787527c --- /dev/null +++ b/system/lxinput-qt/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------------------------------------------------------| +lxinput-qt: lxinput-qt (configure keyboard and mouse) +lxinput-qt: +lxinput-qt: Qt keyboard and mouse configuration tool. +lxinput-qt: +lxinput-qt: homepage: http://lxde.org +lxinput-qt: +lxinput-qt: +lxinput-qt: +lxinput-qt: +lxinput-qt: +lxinput-qt: diff --git a/system/lxqt-openssh-askpass/README b/system/lxqt-openssh-askpass/README new file mode 100644 index 0000000000..b53fe955aa --- /dev/null +++ b/system/lxqt-openssh-askpass/README @@ -0,0 +1 @@ +Tool used with openssh to prompt the user for password. diff --git a/system/lxqt-openssh-askpass/lxqt-openssh-askpass.SlackBuild b/system/lxqt-openssh-askpass/lxqt-openssh-askpass.SlackBuild new file mode 100644 index 0000000000..cb4d42c64f --- /dev/null +++ b/system/lxqt-openssh-askpass/lxqt-openssh-askpass.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for lxqt-openssh-askpass + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-openssh-askpass +VERSION=${VERSION:-20131105_9191d8c} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/system/lxqt-openssh-askpass/lxqt-openssh-askpass.info b/system/lxqt-openssh-askpass/lxqt-openssh-askpass.info new file mode 100644 index 0000000000..ac0b503a39 --- /dev/null +++ b/system/lxqt-openssh-askpass/lxqt-openssh-askpass.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-openssh-askpass" +VERSION="20131105_9191d8c" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-openssh-askpass-20131105_9191d8c.tar.xz" +MD5SUM="e4295ae68a87c8bf0ec0b4d9d7efd2a4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liblxqt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/lxqt-openssh-askpass/slack-desc b/system/lxqt-openssh-askpass/slack-desc new file mode 100644 index 0000000000..3320fff7b5 --- /dev/null +++ b/system/lxqt-openssh-askpass/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------------------------------------------------------| +lxqt-openssh-askpass: lxqt-openssh-askpass (ssh agent) +lxqt-openssh-askpass: +lxqt-openssh-askpass: Tool used with openssh to prompt the user for password. +lxqt-openssh-askpass: +lxqt-openssh-askpass: homepage: http://lxde.org +lxqt-openssh-askpass: +lxqt-openssh-askpass: +lxqt-openssh-askpass: +lxqt-openssh-askpass: +lxqt-openssh-askpass: +lxqt-openssh-askpass: diff --git a/system/lxqt-policykit/README b/system/lxqt-policykit/README new file mode 100644 index 0000000000..0ea4deb362 --- /dev/null +++ b/system/lxqt-policykit/README @@ -0,0 +1 @@ +LXDE-Qt policykit authentication agent. diff --git a/system/lxqt-policykit/lxqt-policykit.SlackBuild b/system/lxqt-policykit/lxqt-policykit.SlackBuild new file mode 100644 index 0000000000..919bb58f17 --- /dev/null +++ b/system/lxqt-policykit/lxqt-policykit.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for lxqt-policykit + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-policykit +VERSION=${VERSION:-20131113_db4913d} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DPolkitQt-1_DIR=/usr/lib$LIBDIRSUFFIX/cmake/PolkitQt-1 \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/system/lxqt-policykit/lxqt-policykit.info b/system/lxqt-policykit/lxqt-policykit.info new file mode 100644 index 0000000000..7f5e8cf6ef --- /dev/null +++ b/system/lxqt-policykit/lxqt-policykit.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-policykit" +VERSION="20131113_db4913d" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-policykit-20131113_db4913d.tar.xz" +MD5SUM="f5f4033e8cf5a2f0bcd78e11477681f3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liblxqt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/lxqt-policykit/slack-desc b/system/lxqt-policykit/slack-desc new file mode 100644 index 0000000000..902a492100 --- /dev/null +++ b/system/lxqt-policykit/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------------------------------------------------------| +lxqt-policykit: lxqt-policykit (polkit agent) +lxqt-policykit: +lxqt-policykit: LXDE-Qt policykit authentication agent. +lxqt-policykit: +lxqt-policykit: homepage: http://lxde.org +lxqt-policykit: +lxqt-policykit: +lxqt-policykit: +lxqt-policykit: +lxqt-policykit: +lxqt-policykit: diff --git a/system/lxqt-power/README b/system/lxqt-power/README new file mode 100644 index 0000000000..987e9a6382 --- /dev/null +++ b/system/lxqt-power/README @@ -0,0 +1 @@ +Logout the LXDE-Qt desktop session or poweroff/hibernate the computer. diff --git a/system/lxqt-power/doinst.sh b/system/lxqt-power/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/system/lxqt-power/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/system/lxqt-power/lxqt-power.SlackBuild b/system/lxqt-power/lxqt-power.SlackBuild new file mode 100644 index 0000000000..21dacd6a23 --- /dev/null +++ b/system/lxqt-power/lxqt-power.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for lxqt-power + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-power +VERSION=${VERSION:-20131113_fcf6f7d} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/system/lxqt-power/lxqt-power.info b/system/lxqt-power/lxqt-power.info new file mode 100644 index 0000000000..65d7e08656 --- /dev/null +++ b/system/lxqt-power/lxqt-power.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-power" +VERSION="20131113_fcf6f7d" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-power-20131113_fcf6f7d.tar.xz" +MD5SUM="0ff7e69cfe47989fc6070a6f35ea3c5f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liblxqt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/lxqt-power/slack-desc b/system/lxqt-power/slack-desc new file mode 100644 index 0000000000..830878e801 --- /dev/null +++ b/system/lxqt-power/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------------------------------------------------------| +lxqt-power: lxqt-power (logout/poweroff/hibernate tool) +lxqt-power: +lxqt-power: Logout the LXDE-Qt desktop session or poweroff/hibernate the computer. +lxqt-power: +lxqt-power: homepage: http://lxde.org +lxqt-power: +lxqt-power: +lxqt-power: +lxqt-power: +lxqt-power: +lxqt-power: diff --git a/system/lxqt-powermanagement/README b/system/lxqt-powermanagement/README new file mode 100644 index 0000000000..f77a7c9b82 --- /dev/null +++ b/system/lxqt-powermanagement/README @@ -0,0 +1 @@ +LXDE-Qt Daemon for power management and auto-suspend. diff --git a/system/lxqt-powermanagement/lxqt-powermanagement.SlackBuild b/system/lxqt-powermanagement/lxqt-powermanagement.SlackBuild new file mode 100644 index 0000000000..e517dfb912 --- /dev/null +++ b/system/lxqt-powermanagement/lxqt-powermanagement.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for lxqt-powermanagement + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-powermanagement +VERSION=${VERSION:-20131113_3f96402} +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 + +DOCS="LICENSE README.md" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/system/lxqt-powermanagement/lxqt-powermanagement.info b/system/lxqt-powermanagement/lxqt-powermanagement.info new file mode 100644 index 0000000000..34cff2a6d3 --- /dev/null +++ b/system/lxqt-powermanagement/lxqt-powermanagement.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-powermanagement" +VERSION="20131113_3f96402" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-powermanagement-20131113_3f96402.tar.xz" +MD5SUM="c5b6e5efb8af32f0aacd5e2ea5a7b4ef" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liblxqt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/lxqt-powermanagement/slack-desc b/system/lxqt-powermanagement/slack-desc new file mode 100644 index 0000000000..2c96e501a1 --- /dev/null +++ b/system/lxqt-powermanagement/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------------------------------------------------------| +lxqt-powermanagement: lxqt-powermanagement (pm daemon) +lxqt-powermanagement: +lxqt-powermanagement: LXDE-Qt Daemon for power management and auto-suspend. +lxqt-powermanagement: +lxqt-powermanagement: homepage: http://lxde.org +lxqt-powermanagement: +lxqt-powermanagement: +lxqt-powermanagement: +lxqt-powermanagement: +lxqt-powermanagement: +lxqt-powermanagement: diff --git a/system/lxqt-runner/README b/system/lxqt-runner/README new file mode 100644 index 0000000000..a675b26077 --- /dev/null +++ b/system/lxqt-runner/README @@ -0,0 +1 @@ +Tool used to launch programs quickly by typing their names. diff --git a/system/lxqt-runner/lxqt-runner.SlackBuild b/system/lxqt-runner/lxqt-runner.SlackBuild new file mode 100644 index 0000000000..428b601407 --- /dev/null +++ b/system/lxqt-runner/lxqt-runner.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for lxqt-runner + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxqt-runner +VERSION=${VERSION:-20131124_93ecbca} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/system/lxqt-runner/lxqt-runner.info b/system/lxqt-runner/lxqt-runner.info new file mode 100644 index 0000000000..283e98b91a --- /dev/null +++ b/system/lxqt-runner/lxqt-runner.info @@ -0,0 +1,10 @@ +PRGNAM="lxqt-runner" +VERSION="20131124_93ecbca" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxqt-runner-20131124_93ecbca.tar.xz" +MD5SUM="f93c9a3c7b7b85748d904a6dcb17297a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="liblxqt" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/lxqt-runner/slack-desc b/system/lxqt-runner/slack-desc new file mode 100644 index 0000000000..b3d2d9851f --- /dev/null +++ b/system/lxqt-runner/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------------------------------------------------------| +lxqt-runner: lxqt-runner (applications launcher) +lxqt-runner: +lxqt-runner: Tool used to launch programs quickly by typing their names. +lxqt-runner: +lxqt-runner: homepage: http://lxde.org +lxqt-runner: +lxqt-runner: +lxqt-runner: +lxqt-runner: +lxqt-runner: +lxqt-runner: diff --git a/system/lxrandr-qt/README b/system/lxrandr-qt/README new file mode 100644 index 0000000000..b70b8c1924 --- /dev/null +++ b/system/lxrandr-qt/README @@ -0,0 +1 @@ +Simple monitor configuration in Qt. diff --git a/system/lxrandr-qt/lxrandr-qt.SlackBuild b/system/lxrandr-qt/lxrandr-qt.SlackBuild new file mode 100644 index 0000000000..8b6b5439d0 --- /dev/null +++ b/system/lxrandr-qt/lxrandr-qt.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for lxrandr-qt + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=lxrandr-qt +VERSION=${VERSION:-20130628_48090ad} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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/system/lxrandr-qt/lxrandr-qt.info b/system/lxrandr-qt/lxrandr-qt.info new file mode 100644 index 0000000000..e088a5d656 --- /dev/null +++ b/system/lxrandr-qt/lxrandr-qt.info @@ -0,0 +1,10 @@ +PRGNAM="lxrandr-qt" +VERSION="20130628_48090ad" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/lxrandr-qt-20130628_48090ad.tar.xz" +MD5SUM="64055e0235c584f8f7e17def3635eb75" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/lxrandr-qt/slack-desc b/system/lxrandr-qt/slack-desc new file mode 100644 index 0000000000..0dbee58216 --- /dev/null +++ b/system/lxrandr-qt/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------------------------------------------------------| +lxrandr-qt: lxrandr-qt (monitor tool) +lxrandr-qt: +lxrandr-qt: Simple monitor configuration in Qt. +lxrandr-qt: +lxrandr-qt: homepage: http://lxde.org +lxrandr-qt: +lxrandr-qt: +lxrandr-qt: +lxrandr-qt: +lxrandr-qt: +lxrandr-qt: diff --git a/system/lxsession/README b/system/lxsession/README index 2f75e8a589..9f98217edc 100644 --- a/system/lxsession/README +++ b/system/lxsession/README @@ -3,3 +3,7 @@ lxsession (LXDE session manager) LXSession is the standard session manager used by LXDE (Lightweight X11 Desktop Environment). A session manager is used to automatically start a set of applications and set up a working desktop environment. + +Pass the switch QT=yes if you are building this for use with LXDE-Qt: +the resulting package won't be usable with the gtk version +(and vice-versa). diff --git a/system/lxsession/lxsession.SlackBuild b/system/lxsession/lxsession.SlackBuild index c9efff4ab2..3f3fa3cb21 100644 --- a/system/lxsession/lxsession.SlackBuild +++ b/system/lxsession/lxsession.SlackBuild @@ -47,6 +47,8 @@ # lxsession-default-apps and lxsettings-daemon. # 20131119_9d2a0cc: 23/nov/2013 by Matteo Bernardini <ponce@slackbuilds.org> # * update: fixes wrong behaviour with missing lsb_release +# 20131119_9d2a0cc0-2: 03/dic/2013 by Matteo Bernardini <ponce@slackbuilds.org> +# * added a QT switch to build for LXDE-Qt # # Run 'sh lxsession.SlackBuild' to build a Slackware package. # The package (.txz) plus descriptive .txt file are created in /tmp . @@ -56,7 +58,7 @@ PRGNAM=lxsession VERSION=${VERSION:-20131119_9d2a0cc} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -88,6 +90,12 @@ else LIBDIRSUFFIX="" fi +# set this to yes if building for lxde-qt +QT=${QT:-no} + +GTK=en +[ "$QT" = "yes" ] && GTK=dis + set -e rm -rf $PKG @@ -116,8 +124,9 @@ CFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --program-prefix= \ --program-suffix= \ - --enable-buildin-clipboard \ - --enable-buildin-polkit \ + --${GTK}able-gtk \ + --${GTK}able-buildin-clipboard \ + --${GTK}able-buildin-polkit \ --build=$ARCH-slackware-linux make diff --git a/system/macemu/README b/system/macemu/README new file mode 100644 index 0000000000..2345e13672 --- /dev/null +++ b/system/macemu/README @@ -0,0 +1,5 @@ +BasiliskII and SheepShaver are two Open Source 68k and PowerPC +Macintosh emulators. +They allow you to run 68k and PowerPC MacOS software on your computer, +however you still need a copy of MacOS and a Macintosh ROM image to +use it. diff --git a/system/macemu/doinst.sh b/system/macemu/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/system/macemu/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/system/macemu/files/BasiliskII.desktop b/system/macemu/files/BasiliskII.desktop new file mode 100644 index 0000000000..966b04efbf --- /dev/null +++ b/system/macemu/files/BasiliskII.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Basilisk II +Comment=68k Macintosh Emulator +Exec=BasiliskII +Icon=BasiliskII.svg +Terminal=false +Type=Application +Categories=Application;Utility; +Encoding=UTF-8 diff --git a/system/macemu/files/BasiliskII.svg b/system/macemu/files/BasiliskII.svg new file mode 100644 index 0000000000..4eac158b62 --- /dev/null +++ b/system/macemu/files/BasiliskII.svg @@ -0,0 +1,106 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="485.43735" + height="562.31342" + id="svg2" + version="1.1" + inkscape:version="0.48.2 r9819" + sodipodi:docname="disegno.svg"> + <defs + id="defs4" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.66833139" + inkscape:cx="-212.4745" + inkscape:cy="-6.9383877" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1648" + inkscape:window-height="1032" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1" + fit-margin-top="5" + fit-margin-left="5" + fit-margin-right="5" + fit-margin-bottom="5" /> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Livello 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-16.349841,-20.361317)"> + <g + id="g3948" + transform="translate(1119.2053,1.4962637)"> + <path + sodipodi:nodetypes="ccccc" + inkscape:connector-curvature="0" + id="path3147" + d="m -870.21277,158.95793 c 0,0 48.51402,-2.23911 85.83249,-41.79669 36.5721,-47.767646 28.36204,-93.296187 28.36204,-93.296187 0,0 -49.26038,2.239109 -86.57885,46.274907 -32.46234,40.60896 -27.61568,88.81797 -27.61568,88.81797 z" + style="fill:#61bb46;fill-opacity:1;stroke:none" /> + <path + sodipodi:nodetypes="ccccccc" + inkscape:connector-curvature="0" + id="path3149" + d="m -1073.2253,221.65296 415.72783,0 c 5.97096,-5.97096 10.44918,-8.21006 19.40561,-11.19554 0,0 -43.99764,-58.21682 -109.71631,-58.21682 -54.48497,0 -52.97061,23.88383 -104.49173,23.88383 -51.58596,0 -49.70135,-24.6302 -108.22357,-24.6302 -65.71863,0 -112.70183,70.15873 -112.70183,70.15873 z" + style="fill:#61bb46;fill-opacity:1;stroke:none" /> + <path + sodipodi:nodetypes="ccccc" + inkscape:connector-curvature="0" + id="path3151" + d="m -1073.2253,221.65296 c -10.4491,16.42013 -20.8983,50.75312 -23.8838,71.65147 l 397.81494,0 c 3.73185,-22.39108 23.88382,-59.70956 41.79669,-71.65147 z" + style="fill:#fdb827;fill-opacity:1;stroke:none" /> + <path + sodipodi:nodetypes="ccccc" + inkscape:connector-curvature="0" + id="path3153" + d="m -1097.1091,292.55806 c -1.4927,23.13745 -0.7464,43.28943 2.2391,70.9051 l 403.78591,0 c -8.95643,-26.12293 -11.94192,-45.52854 -8.21007,-70.15873 z" + style="fill:#f5821f;fill-opacity:1;stroke:none" /> + <path + sodipodi:nodetypes="cccccc" + inkscape:connector-curvature="0" + id="path3174" + d="m -1094.87,363.46316 404.53228,0 c 10.44917,32.09389 40.30395,55.97772 67.91962,64.18778 l -2.23911,5.97095 -450.80719,0 c -11.1955,-23.13745 -15.6737,-46.27491 -19.4056,-70.15873 z" + style="fill:#e03a3e;fill-opacity:1;stroke:none" /> + <path + sodipodi:nodetypes="ccccc" + inkscape:connector-curvature="0" + id="path3176" + d="m -1076.2107,433.62189 450.80712,0 c -8.21006,24.63019 -25.37656,51.49949 -38.06484,69.41236 l -375.42388,0 c -14.181,-19.40561 -29.8548,-45.52854 -37.3184,-69.41236 z" + style="fill:#963d97;fill-opacity:1;stroke:none" /> + <path + sodipodi:nodetypes="cccccc" + inkscape:connector-curvature="0" + id="path3178" + d="m -1038.8923,503.03425 375.42388,0 c 0,0 -44.78217,73.14421 -93.29619,73.14421 -41.05032,0 -47.01515,-23.88382 -92.54981,-23.88382 -47.77348,0 -54.3187,23.88382 -96.28166,23.88382 -38.87575,0 -80.60792,-47.76765 -93.29622,-73.14421 z" + style="fill:#009ddc;fill-opacity:1;stroke:none" /> + </g> + </g> +</svg> diff --git a/system/macemu/files/SheepShaver.desktop b/system/macemu/files/SheepShaver.desktop new file mode 100644 index 0000000000..1664f188cf --- /dev/null +++ b/system/macemu/files/SheepShaver.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=SheepShaver +Comment=An Open Source PowerPC MacOS run-time environment +Icon=SheepShaver +Exec=SheepShaver +Terminal=false +Type=Application +Categories=System; +StartupNotify=true diff --git a/system/macemu/files/SheepShaver.png b/system/macemu/files/SheepShaver.png Binary files differnew file mode 100644 index 0000000000..957a29542a --- /dev/null +++ b/system/macemu/files/SheepShaver.png diff --git a/system/macemu/macemu.SlackBuild b/system/macemu/macemu.SlackBuild new file mode 100644 index 0000000000..de624b0451 --- /dev/null +++ b/system/macemu/macemu.SlackBuild @@ -0,0 +1,156 @@ +#!/bin/sh + +# Slackware build script for macemu (BasiliskII and SheepShaver) +# Copyright 2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=macemu +VERSION=${VERSION:-20140105_a3abfdc} +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 + +PRGNAM1=BasiliskII +PRGNAM2=SheepShaver +DOCS1="COPYING ChangeLog README TECH TODO" +DOCS2="COPYING NEWS doc/Linux doc/PowerPC-Testsuite.txt" + +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.?z* +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# Build BasiliskII +cd $PRGNAM1/src/Unix + +NO_CONFIGURE=1 ./autogen.sh + +LDFLAGS="-L/usr/lib$LIBDIRSUFFIX -lXext -lX11" \ +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --enable-jit-compiler \ + --disable-vosf \ + --enable-sdl-audio=yes \ + --enable-sdl-video=yes \ + --with-mon=no \ + --with-x \ + --without-esd \ + --host=$ARCH-slackware-linux \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG +cd - + +# Don't build SheepShaver by default +if [ "${SS:-no}" = "yes" ]; then + +cd $PRGNAM2/src/Unix + +NO_CONFIGURE=1 ./autogen.sh + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --disable-vosf \ + --enable-sdl-audio=yes \ + --enable-sdl-video=yes \ + --with-mon=no \ + --with-x \ + --without-esd \ + --host=$ARCH-slackware-linux \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG +cd - + +# Install some desktop files and icons +install -m 0644 -D $CWD/files/$PRGNAM2.desktop \ + $PKG/usr/share/applications/$PRGNAM2.desktop +install -m 0644 -D $CWD/files/$PRGNAM2.png \ + $PKG/usr/share/pixmaps/$PRGNAM2.png + +fi + +# Install some desktop files and icons +install -m 0644 -D $CWD/files/$PRGNAM1.desktop \ + $PKG/usr/share/applications/$PRGNAM1.desktop +install -m 0644 -D $CWD/files/$PRGNAM1.svg \ + $PKG/usr/share/pixmaps/$PRGNAM1.svg + +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/$PRGNAM1 +( cd $PRGNAM1 ; cp -a $DOCS1 $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM1 ) +[ "SS" = "yes" ] && ( cd $PRGNAM2 ; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM2 ; cp -a $DOCS2 $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM2 ) +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/macemu/macemu.info b/system/macemu/macemu.info new file mode 100644 index 0000000000..bac9e564c5 --- /dev/null +++ b/system/macemu/macemu.info @@ -0,0 +1,10 @@ +PRGNAM="macemu" +VERSION="20140105_a3abfdc" +HOMEPAGE="http://basilisk.cebix.net/" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/macemu-20140105_a3abfdc.tar.xz" +MD5SUM="29cb4bf2e88e8d40941b7156d323c7f8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/macemu/slack-desc b/system/macemu/slack-desc new file mode 100644 index 0000000000..afc90df7a7 --- /dev/null +++ b/system/macemu/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------------------------------------------------------| +macemu: macemu (68k Macintosh Emulator) +macemu: +macemu: BasiliskII and SheepShaver are two Open Source 68k and PowerPC +macemu: Macintosh emulators. +macemu: They allow you to run 68k and PowerPC MacOS software on your computer, +macemu: however you still need a copy of MacOS and a Macintosh ROM image to +macemu: use it. +macemu: +macemu: homepage: http://basilisk.cebix.net/ +macemu: http://sheepshaver.cebix.net/ +macemu: diff --git a/system/pcmanfm-qt/README b/system/pcmanfm-qt/README new file mode 100644 index 0000000000..4e80ad87d1 --- /dev/null +++ b/system/pcmanfm-qt/README @@ -0,0 +1,2 @@ +An extremly fast and lightweight Qt file manager which features +tabbed browsing and an user-friendly interface. diff --git a/system/pcmanfm-qt/doinst.sh b/system/pcmanfm-qt/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/system/pcmanfm-qt/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/system/pcmanfm-qt/pcmanfm-qt.SlackBuild b/system/pcmanfm-qt/pcmanfm-qt.SlackBuild new file mode 100644 index 0000000000..3aaec162dd --- /dev/null +++ b/system/pcmanfm-qt/pcmanfm-qt.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for pcmanfm-qt + +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=pcmanfm-qt +VERSION=${VERSION:-20131116_76f6d06} +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 + +DOCS="AUTHORS COPYING" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +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 \ + \( -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 \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. + +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 $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 +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/system/pcmanfm-qt/pcmanfm-qt.info b/system/pcmanfm-qt/pcmanfm-qt.info new file mode 100644 index 0000000000..36826b576f --- /dev/null +++ b/system/pcmanfm-qt/pcmanfm-qt.info @@ -0,0 +1,10 @@ +PRGNAM="pcmanfm-qt" +VERSION="20131116_76f6d06" +HOMEPAGE="http://lxde.org" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/pcmanfm-qt-20131116_76f6d06.tar.xz" +MD5SUM="a99121de479ed3fe1ceca537e3c9164d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/pcmanfm-qt/slack-desc b/system/pcmanfm-qt/slack-desc new file mode 100644 index 0000000000..8971092c2b --- /dev/null +++ b/system/pcmanfm-qt/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------------------------------------------------------| +pcmanfm-qt: pcmanfm-qt (Qt file/desktop manager) +pcmanfm-qt: +pcmanfm-qt: An extremly fast and lightweight Qt file manager which features +pcmanfm-qt: tabbed browsing and an user-friendly interface. +pcmanfm-qt: +pcmanfm-qt: homepage: http://wiki.lxde.org/en/PCManFM +pcmanfm-qt: +pcmanfm-qt: +pcmanfm-qt: +pcmanfm-qt: +pcmanfm-qt: diff --git a/system/pcmanfm/README b/system/pcmanfm/README index 6ebb9299c5..ddbcbe6253 100644 --- a/system/pcmanfm/README +++ b/system/pcmanfm/README @@ -4,3 +4,8 @@ which features tabbed browsing and a user-friendly interface. If you have problems viewing icons on pcmanfm, include this line to your $HOME/.gtkrc-2.0: gtk-icon-theme-name="Tango" + +By default the gtk+2 version is built: if you prefer to build the +gtk+3 one pass the script the parameter GTK=3, like + + GTK=3 ./pcmanfm.SlackBuild diff --git a/system/pcmanfm/patches/0001-Update-for-NEWS-file-changed-1.0.2-into-1.1.0-added-.patch b/system/pcmanfm/patches/0001-Update-for-NEWS-file-changed-1.0.2-into-1.1.0-added-.patch deleted file mode 100644 index 800bd36fc9..0000000000 --- a/system/pcmanfm/patches/0001-Update-for-NEWS-file-changed-1.0.2-into-1.1.0-added-.patch +++ /dev/null @@ -1,35 +0,0 @@ -From c826330f3434fe684b830b271fa3f7a0bc57fee4 Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Thu, 1 Nov 2012 01:05:22 +0200 -Subject: [PATCH 01/11] Update for NEWS file: changed '1.0.2' into '1.1.0'; - added missing entries. - ---- - NEWS | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/NEWS b/NEWS -index a3bdffa..c2ff56a 100644 ---- a/NEWS -+++ b/NEWS -@@ -1,4 +1,4 @@ --Changes on 1.0.2 since 1.0.1: -+Changes on 1.1.0 since 1.0.1: - - * Corrected underscores (mnemonics) on every menu and dialog. - -@@ -23,6 +23,11 @@ Changes on 1.0.2 since 1.0.1: - * The items which cannot act (such as "Copy" when no items selected) now - are disabled in menu and toolbar. - -+* Experimental implementation of option --one-screen to apply --desktop -+ option only for one (current) X-Screen. -+ -+* Implemented side pane hiding, bound to 'F9' key press. -+ - - Changes on 1.0.1 since 1.0.0: - --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0002-3586151-Open-in-.-actions-should-be-available-only-f.patch b/system/pcmanfm/patches/0002-3586151-Open-in-.-actions-should-be-available-only-f.patch deleted file mode 100644 index 217802a13a..0000000000 --- a/system/pcmanfm/patches/0002-3586151-Open-in-.-actions-should-be-available-only-f.patch +++ /dev/null @@ -1,31 +0,0 @@ -From f53d9b1c4f47b56c8c726a9ea8c070e6bdfc8a12 Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Mon, 12 Nov 2012 22:26:18 +0200 -Subject: [PATCH 02/11] [#3586151]'Open in ...' actions should be available - only for directories. - -Added check if all selected items are directories and if not -then don't add those items into popup. ---- - src/tab-page.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/src/tab-page.c b/src/tab-page.c -index 1c79b94..29a4192 100644 ---- a/src/tab-page.c -+++ b/src/tab-page.c -@@ -433,6 +433,11 @@ static void update_files_popup(FmFolderView* fv, GtkWindow* win, - GtkUIManager* ui, GtkActionGroup* act_grp, - FmFileInfoList* files) - { -+ GList* l; -+ -+ for(l = fm_file_info_list_peek_head_link(files); l; l = l->next) -+ if(!fm_file_info_is_dir(l->data)) -+ return; /* actions are valid only if all selected are directories */ - gtk_action_group_set_translation_domain(act_grp, NULL); - gtk_action_group_add_actions(act_grp, folder_menu_actions, - G_N_ELEMENTS(folder_menu_actions), win); --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0003-Manual-page-update-desktop-management-and-missing-wa.patch b/system/pcmanfm/patches/0003-Manual-page-update-desktop-management-and-missing-wa.patch deleted file mode 100644 index 79187991cc..0000000000 --- a/system/pcmanfm/patches/0003-Manual-page-update-desktop-management-and-missing-wa.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 876740e88fe4ae318613ba478710482e23af5ae6 Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Tue, 13 Nov 2012 03:39:29 +0200 -Subject: [PATCH 03/11] Manual page update: desktop management and missing - --wallpaper-mode option. - ---- - data/pcmanfm.1.in | 31 +++++++++++++++++++++++++++++++ - 1 file changed, 31 insertions(+) - -diff --git a/data/pcmanfm.1.in b/data/pcmanfm.1.in -index ecb8af0..27b0a00 100644 ---- a/data/pcmanfm.1.in -+++ b/data/pcmanfm.1.in -@@ -65,6 +65,14 @@ open \fIdirectories\fP in new window - .B \-\^\-role - set X-role for window (only if \fB-n\fP is used) - .TP -+.BI \-\^\-wallpaper-mode= mode -+Set mode of desktop wallpaper, \fImode\fP is: -+ \fBcolor\fP (fill with solid color), -+ \fBstretch\fP (stretch to fill entire screen), -+ \fBfit\fP (stretch to fit screen size), -+ \fBcenter\fP (place on center of screen), or -+ \fBtile\fP (tile to fill entire screen) -+.TP - .BI \-w " file" "\fR,\fP \-\^\-set-wallpaper=" file - set desktop wallpaper from image \fIfile\fP - .TP -@@ -73,6 +81,28 @@ open preferences dialog on page \fIn\fP - .TP - .I directories - directories to open -+.SH DESKTOP MANAGEMENT -+The PCMan File Manager can manage your desktop. That includes drawing some -+background on it and showing icons of Desktop folder. To activate the desktop -+management the \fBpcmanfm\fP should be executed with option \fB--desktop\fP. -+Other option that affects this mode is \fB--one-screen\fP. Change running -+desktop manager parameters you can by executing \fBpcmanfm\fP with option -+\fB--desktop-pref\fP which opens window with preferences or using command -+line parameters for options \fB--set-wallpaper\fP or \fB--wallpaper-mode\fP. -+Execution \fBpcmanfm --desktop-off\fP terminates desktop management. -+ -+While \fBpcmanfm\fP manages desktop it displays icons on desktop. Behavior -+of icons resembles folder view in main window of \fBpcmanfm\fP but icons on -+desktop can "remember" their position. If you have two or more monitors then -+desktop background and set of icons will be shown on each of them. Icons -+positions will be remembered individually for each of monitors. -+.SH ENVIRONMENT -+.PD 0 -+.TP -+.I XDG_CURRENT_DESKTOP -+The current desktop environment. This variable affects items which will be -+shown in menu://applications/ folder. -+ - .SH FILES - .PD 0 - .TP -@@ -84,6 +114,7 @@ The main configuration file - .TP - .I ~/.config/pcmanfm/default/desktop-items-0.conf - The desktop items layout for screen 0 (primary screen) -+ - .SH AUTHOR - PCManFM is named after its author's nickname on the internet, PCMan. It was - written by Hong Jen Yee <pcman.tw@gmail.com>. --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch b/system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch deleted file mode 100644 index 9b50ccb078..0000000000 --- a/system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 119e52519cc50a34e99b60524eca856e0e0a835f Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Wed, 14 Nov 2012 23:52:34 +0200 -Subject: [PATCH 04/11] [#3582257]"Open entered folder" button do nothing - -This should be done another way (as it is done in libfm-demo) -since until we activate entry the path in it isn't updated yet. ---- - src/main-win.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/main-win.c b/src/main-win.c -index 4431106..b3e462a 100644 ---- a/src/main-win.c -+++ b/src/main-win.c -@@ -903,7 +903,7 @@ static void on_close_tab(GtkAction* act, FmMainWin* win) - - static void on_go(GtkAction* act, FmMainWin* win) - { -- fm_main_win_chdir(win, fm_path_entry_get_path(win->location)); -+ fm_main_win_chdir_by_name(win, gtk_entry_get_text(GTK_ENTRY(win->location))); - } - - static void _update_hist_buttons(FmMainWin* win) --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch b/system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch deleted file mode 100644 index 14e18cfbdd..0000000000 --- a/system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 1238e8d038fccdc6d1965ef05a815606d2088496 Mon Sep 17 00:00:00 2001 -From: Vadim Ushakov <igeekless@gmail.com> -Date: Fri, 16 Nov 2012 01:21:06 +0800 -Subject: [PATCH 05/11] Display full path in tab tooltip - ---- - src/tab-page.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/tab-page.c b/src/tab-page.c -index 29a4192..48599b0 100644 ---- a/src/tab-page.c -+++ b/src/tab-page.c -@@ -532,6 +532,10 @@ static void fm_tab_page_chdir_without_history(FmTabPage* page, FmPath* path) - fm_tab_label_set_text(page->tab_label, disp_name); - g_free(disp_name); - -+ char * disp_path = fm_path_display_name(path, FALSE); -+ fm_tab_label_set_tooltip_text(FM_TAB_LABEL(page->tab_label), disp_path); -+ g_free(disp_path); -+ - free_folder(page); - - page->folder = fm_folder_from_path(path); --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0006-Hotkeys-for-sort-modes-and-for-New-Empty-File.patch b/system/pcmanfm/patches/0006-Hotkeys-for-sort-modes-and-for-New-Empty-File.patch deleted file mode 100644 index 716751225a..0000000000 --- a/system/pcmanfm/patches/0006-Hotkeys-for-sort-modes-and-for-New-Empty-File.patch +++ /dev/null @@ -1,40 +0,0 @@ -From daf7118742889c4997aca99880ca70b2d4955506 Mon Sep 17 00:00:00 2001 -From: Vadim Ushakov <igeekless@gmail.com> -Date: Fri, 16 Nov 2012 20:08:08 +0800 -Subject: [PATCH 06/11] Hotkeys for sort modes and for New Empty File - ---- - src/main-win-ui.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/main-win-ui.c b/src/main-win-ui.c -index ae8c0a5..a12b38e 100644 ---- a/src/main-win-ui.c -+++ b/src/main-win-ui.c -@@ -177,7 +177,7 @@ static GtkActionEntry main_win_actions[]= - {"Reload2", NULL, NULL, "<Ctrl>R", NULL, G_CALLBACK(on_reload)}, - /* for popup menu - these entries exist in FmFolderView popup still */ - {"NewFolder", "folder", N_("Folder"), "<Ctrl><Shift>N", NULL, G_CALLBACK(bounce_action)}, -- {"NewBlank", "text-x-generic", N_("Blank File"), NULL, NULL, G_CALLBACK(bounce_action)} -+ {"NewBlank", "text-x-generic", N_("Blank File"), "<Ctrl><Alt>N", NULL, G_CALLBACK(bounce_action)} - }; - - /* main_win_toggle_actions+main_win_mode_actions - see 'ViewMenu' for mnemonics */ -@@ -206,10 +206,10 @@ static GtkRadioActionEntry main_win_sort_type_actions[]= - - static GtkRadioActionEntry main_win_sort_by_actions[]= - { -- {"ByName", NULL, N_("By _Name"), NULL, NULL, COL_FILE_NAME}, -- {"ByMTime", NULL, N_("By _Modification Time"), NULL, NULL, COL_FILE_MTIME}, -- {"BySize", NULL, N_("By _Size"), NULL, NULL, COL_FILE_SIZE}, -- {"ByType", NULL, N_("By File _Type"), NULL, NULL, COL_FILE_DESC} -+ {"ByName", NULL, N_("By _Name"), "<Ctrl>F1", NULL, COL_FILE_NAME}, -+ {"ByMTime", NULL, N_("By _Modification Time"), "<Ctrl>F2", NULL, COL_FILE_MTIME}, -+ {"BySize", NULL, N_("By _Size"), "<Ctrl>F3", NULL, COL_FILE_SIZE}, -+ {"ByType", NULL, N_("By File _Type"), "<Ctrl>F4", NULL, COL_FILE_DESC} - }; - - static GtkRadioActionEntry main_win_side_bar_mode_actions[]= --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0007-Revert-Hotkeys-for-sort-modes-and-for-New-Empty-File.patch b/system/pcmanfm/patches/0007-Revert-Hotkeys-for-sort-modes-and-for-New-Empty-File.patch deleted file mode 100644 index 012c5f7044..0000000000 --- a/system/pcmanfm/patches/0007-Revert-Hotkeys-for-sort-modes-and-for-New-Empty-File.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 05357d4bf9631a381b58c35cc1adb36198d35b49 Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Sat, 17 Nov 2012 05:08:56 +0200 -Subject: [PATCH 07/11] Revert "Hotkeys for sort modes and for New Empty File" - -This reverts commit daf7118742889c4997aca99880ca70b2d4955506. - -Unfortunately, Ctrl+F1 thru Ctrl+F4 are often used by some of -window managers to switch workspaces and some of them even don't -allow to change that binding so it goes into conflict. ---- - src/main-win-ui.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/main-win-ui.c b/src/main-win-ui.c -index a12b38e..ae8c0a5 100644 ---- a/src/main-win-ui.c -+++ b/src/main-win-ui.c -@@ -177,7 +177,7 @@ static GtkActionEntry main_win_actions[]= - {"Reload2", NULL, NULL, "<Ctrl>R", NULL, G_CALLBACK(on_reload)}, - /* for popup menu - these entries exist in FmFolderView popup still */ - {"NewFolder", "folder", N_("Folder"), "<Ctrl><Shift>N", NULL, G_CALLBACK(bounce_action)}, -- {"NewBlank", "text-x-generic", N_("Blank File"), "<Ctrl><Alt>N", NULL, G_CALLBACK(bounce_action)} -+ {"NewBlank", "text-x-generic", N_("Blank File"), NULL, NULL, G_CALLBACK(bounce_action)} - }; - - /* main_win_toggle_actions+main_win_mode_actions - see 'ViewMenu' for mnemonics */ -@@ -206,10 +206,10 @@ static GtkRadioActionEntry main_win_sort_type_actions[]= - - static GtkRadioActionEntry main_win_sort_by_actions[]= - { -- {"ByName", NULL, N_("By _Name"), "<Ctrl>F1", NULL, COL_FILE_NAME}, -- {"ByMTime", NULL, N_("By _Modification Time"), "<Ctrl>F2", NULL, COL_FILE_MTIME}, -- {"BySize", NULL, N_("By _Size"), "<Ctrl>F3", NULL, COL_FILE_SIZE}, -- {"ByType", NULL, N_("By File _Type"), "<Ctrl>F4", NULL, COL_FILE_DESC} -+ {"ByName", NULL, N_("By _Name"), NULL, NULL, COL_FILE_NAME}, -+ {"ByMTime", NULL, N_("By _Modification Time"), NULL, NULL, COL_FILE_MTIME}, -+ {"BySize", NULL, N_("By _Size"), NULL, NULL, COL_FILE_SIZE}, -+ {"ByType", NULL, N_("By File _Type"), NULL, NULL, COL_FILE_DESC} - }; - - static GtkRadioActionEntry main_win_side_bar_mode_actions[]= --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0008-3585895-Fix-for-SIGSEGV-in-get_nearest_item-with-foc.patch b/system/pcmanfm/patches/0008-3585895-Fix-for-SIGSEGV-in-get_nearest_item-with-foc.patch deleted file mode 100644 index 81d1c90cd4..0000000000 --- a/system/pcmanfm/patches/0008-3585895-Fix-for-SIGSEGV-in-get_nearest_item-with-foc.patch +++ /dev/null @@ -1,26 +0,0 @@ -From f1902e6d9f5f84052f5fef93ac45180e3c6613fb Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Tue, 20 Nov 2012 14:19:07 +0200 -Subject: [PATCH 08/11] [#3585895]Fix for SIGSEGV in get_nearest_item() with - focus=NULL. - ---- - src/desktop.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/desktop.c b/src/desktop.c -index c960563..66201f7 100644 ---- a/src/desktop.c -+++ b/src/desktop.c -@@ -1466,6 +1466,8 @@ static FmDesktopItem* get_nearest_item(FmDesktop* desktop, FmDesktopItem* item, - - if(!gtk_tree_model_get_iter_first(model, &it)) - return NULL; -+ if(!item) /* there is no focused item yet, select first one then */ -+ return fm_folder_model_get_item_userdata(desktop->model, &it); - - min_x_dist = min_y_dist = (guint)-1; - item2 = NULL; --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0009-Hotkeys-for-sort-modes-and-for-New-Empty-File.patch b/system/pcmanfm/patches/0009-Hotkeys-for-sort-modes-and-for-New-Empty-File.patch deleted file mode 100644 index c669cafcd0..0000000000 --- a/system/pcmanfm/patches/0009-Hotkeys-for-sort-modes-and-for-New-Empty-File.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 3f7cadb9259e079e4e23e4c72cc793aa434fb534 Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Tue, 20 Nov 2012 14:26:19 +0200 -Subject: [PATCH 09/11] Hotkeys for sort modes and for New Empty File - -This is modification of commit by Vadim Ushakov but with another -keybindings instead of Ctrl+Fx as latter are often used by WM. ---- - src/main-win-ui.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/main-win-ui.c b/src/main-win-ui.c -index ae8c0a5..37fdf86 100644 ---- a/src/main-win-ui.c -+++ b/src/main-win-ui.c -@@ -177,7 +177,7 @@ static GtkActionEntry main_win_actions[]= - {"Reload2", NULL, NULL, "<Ctrl>R", NULL, G_CALLBACK(on_reload)}, - /* for popup menu - these entries exist in FmFolderView popup still */ - {"NewFolder", "folder", N_("Folder"), "<Ctrl><Shift>N", NULL, G_CALLBACK(bounce_action)}, -- {"NewBlank", "text-x-generic", N_("Blank File"), NULL, NULL, G_CALLBACK(bounce_action)} -+ {"NewBlank", NULL, N_("Empty File"), "<Ctrl><Alt>N", NULL, G_CALLBACK(bounce_action)} - }; - - /* main_win_toggle_actions+main_win_mode_actions - see 'ViewMenu' for mnemonics */ -@@ -206,10 +206,10 @@ static GtkRadioActionEntry main_win_sort_type_actions[]= - - static GtkRadioActionEntry main_win_sort_by_actions[]= - { -- {"ByName", NULL, N_("By _Name"), NULL, NULL, COL_FILE_NAME}, -- {"ByMTime", NULL, N_("By _Modification Time"), NULL, NULL, COL_FILE_MTIME}, -- {"BySize", NULL, N_("By _Size"), NULL, NULL, COL_FILE_SIZE}, -- {"ByType", NULL, N_("By File _Type"), NULL, NULL, COL_FILE_DESC} -+ {"ByName", NULL, N_("By _Name"), "<Alt><Ctrl>1", NULL, COL_FILE_NAME}, -+ {"ByMTime", NULL, N_("By _Modification Time"), "<Alt><Ctrl>2", NULL, COL_FILE_MTIME}, -+ {"BySize", NULL, N_("By _Size"), "<Alt><Ctrl>3", NULL, COL_FILE_SIZE}, -+ {"ByType", NULL, N_("By File _Type"), "<Alt><Ctrl>4", NULL, COL_FILE_DESC} - }; - - static GtkRadioActionEntry main_win_side_bar_mode_actions[]= --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0010-3589448-Folder-view-grabs-focus-only-once.patch b/system/pcmanfm/patches/0010-3589448-Folder-view-grabs-focus-only-once.patch deleted file mode 100644 index bc573e05cf..0000000000 --- a/system/pcmanfm/patches/0010-3589448-Folder-view-grabs-focus-only-once.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 26dcbab53b3f42acae40711461e4b8b2e818d5c2 Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Sat, 24 Nov 2012 02:27:50 +0200 -Subject: [PATCH 10/11] [#3589448]Folder view grabs focus only once. - -The folder view grabs focus on entry ativation but callback does not -reset idle handler id therefore never grab focus after that again. ---- - src/main-win.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/main-win.c b/src/main-win.c -index b3e462a..8375838 100644 ---- a/src/main-win.c -+++ b/src/main-win.c -@@ -138,8 +138,12 @@ static void fm_main_win_class_init(FmMainWinClass *klass) - static gboolean idle_focus_view(gpointer user_data) - { - FmMainWin* win = (FmMainWin*)user_data; -+ /* window might be destroyed already */ -+ if(g_source_is_destroyed(g_main_current_source())) -+ return FALSE; - if(win->folder_view) - gtk_widget_grab_focus(GTK_WIDGET(win->folder_view)); -+ win->idle_handler = 0; - return FALSE; - } - --- -1.8.0.1 - diff --git a/system/pcmanfm/patches/0011-Desktop-items-layout-haven-t-respected-reserved-spac.patch b/system/pcmanfm/patches/0011-Desktop-items-layout-haven-t-respected-reserved-spac.patch deleted file mode 100644 index c2607822ef..0000000000 --- a/system/pcmanfm/patches/0011-Desktop-items-layout-haven-t-respected-reserved-spac.patch +++ /dev/null @@ -1,41 +0,0 @@ -From ca5630eddd4cc8846b3ffc35d44acc77f6c9aebd Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Sat, 24 Nov 2012 21:23:50 +0200 -Subject: [PATCH 11/11] Desktop items layout haven't respected reserved space - on monitor. - -If panels reserve space on monitor then items shouldn't be placed -on that space. That was broken, the commit fixes that. ---- - src/desktop.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/desktop.c b/src/desktop.c -index 66201f7..6725313 100644 ---- a/src/desktop.c -+++ b/src/desktop.c -@@ -417,8 +417,8 @@ static void layout_items(FmDesktop* self) - else - { - _next_position: -- item->x = x; -- item->y = y; -+ item->x = self->working_area.x + x; -+ item->y = self->working_area.y + y; - calc_item_size(self, item, icon); - y += self->cell_h; - if(y > bottom) -@@ -448,8 +448,8 @@ _next_position: - else - { - _next_position_rtl: -- item->x = x; -- item->y = y; -+ item->x = self->working_area.x + x; -+ item->y = self->working_area.y + y; - calc_item_size(self, item, icon); - y += self->cell_h; - if(y > bottom) --- -1.8.0.1 - diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild index bde3a29495..b67449551c 100644 --- a/system/pcmanfm/pcmanfm.SlackBuild +++ b/system/pcmanfm/pcmanfm.SlackBuild @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pcmanfm -VERSION=${VERSION:-20131116_8f55f05} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,6 +58,8 @@ else LIBDIRSUFFIX="" fi +GTK=${GTK:-2} + set -e rm -rf $PKG @@ -85,18 +87,12 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --disable-debug \ + --with-gtk=$GTK \ --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG -# A minor polish -sed -i 's/Name=File\ Manager/Name=PCMan\ File\ Manager/' \ - $PKG/usr/share/applications/pcmanfm.desktop || exit 1 - -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 diff --git a/system/pcmanfm/pcmanfm.info b/system/pcmanfm/pcmanfm.info index 1b189dd3d1..b97df61952 100644 --- a/system/pcmanfm/pcmanfm.info +++ b/system/pcmanfm/pcmanfm.info @@ -1,8 +1,8 @@ PRGNAM="pcmanfm" -VERSION="20131116_8f55f05" +VERSION="1.2.0" HOMEPAGE="http://pcmanfm.sourceforge.net" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/pcmanfm-20131116_8f55f05.tar.xz" -MD5SUM="b565e34e0ec4a15076f47bcd22627a8c" +DOWNLOAD="http://downloads.sf.net/pcmanfm/pcmanfm-1.2.0.tar.xz" +MD5SUM="11d59a492c9802866279a6e7e2b3f49e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libfm" diff --git a/system/spice-vdagent/README b/system/spice-vdagent/README new file mode 100644 index 0000000000..07292e9f81 --- /dev/null +++ b/system/spice-vdagent/README @@ -0,0 +1,8 @@ +spice-vdagent (spice agent for Linux vms) + +spice-vdagent enhanches interactions with your Linux virtual guests: +- client mouse mode +- automatic adjustment of the X-session resolution to the client's one +- support of copy and paste +- limited support for multiple displays using Xinerama +- full support for multiple displays using Xrandr diff --git a/system/spice-vdagent/doinst.sh b/system/spice-vdagent/doinst.sh new file mode 100644 index 0000000000..97bb4e39c5 --- /dev/null +++ b/system/spice-vdagent/doinst.sh @@ -0,0 +1,37 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +preserve_perms() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + if [ -e $OLD ]; then + cp -a $OLD ${NEW}.incoming + cat $NEW > ${NEW}.incoming + mv ${NEW}.incoming $NEW + fi + config $NEW +} + +preserve_perms etc/rc.d/rc.spice-vdagent.new +config usr/share/X11/xorg.conf.d/06-spice-vdagent.conf.new + +# If not already there, start the daemon from /etc/rc.d/rc.local +if [ ! "$(grep rc\.spice-vdagent etc/rc.d/rc.local)" ]; then + cat << EOF >> etc/rc.d/rc.local + +# Start spice-vdagent: +if [ -x /etc/rc.d/rc.spice-vdagent ]; then + /etc/rc.d/rc.spice-vdagent start +fi +EOF +fi diff --git a/system/spice-vdagent/files/06-spice-vdagent.conf b/system/spice-vdagent/files/06-spice-vdagent.conf new file mode 100644 index 0000000000..f74be0db09 --- /dev/null +++ b/system/spice-vdagent/files/06-spice-vdagent.conf @@ -0,0 +1,37 @@ +Section "ServerLayout" + Identifier "Default Layout" + Screen 0 "Screen0" 0 0 + InputDevice "Keyboard0" "CoreKeyboard" + InputDevice "Mouse" "CorePointer" + InputDevice "Tablet" "SendCoreEvents" +EndSection + +Section "InputDevice" + Identifier "Keyboard0" + Driver "kbd" + Option "XkbModel" "pc105" + Option "XkbLayout" "us" +EndSection + +Section "InputDevice" + Identifier "Mouse" + Driver "mouse" + Option "Device" "/dev/input/mice" + #Option "Emulate3Buttons" "yes" +EndSection + +Section "InputDevice" + Identifier "Tablet" + Driver "evdev" + Option "Device" "/dev/input/event3" +EndSection + +Section "Screen" + Identifier "Screen0" + Device "XSPICE" + DefaultDepth 24 + SubSection "Display" + Viewport 0 0 + Depth 24 + EndSubSection +EndSection diff --git a/system/spice-vdagent/files/rc.spice-vdagent b/system/spice-vdagent/files/rc.spice-vdagent new file mode 100644 index 0000000000..9c3ff19cc8 --- /dev/null +++ b/system/spice-vdagent/files/rc.spice-vdagent @@ -0,0 +1,64 @@ +#!/bin/sh +# +# spice-vdagentd Agent daemon for Spice guests +# +# Red Hat specific script slightly adapted for the Slackware init system +# by Matteo Bernardini <ponce@slackbuilds.org> +# +# Description: Together with a per X-session agent process the spice agent +# daemon enhances the spice guest user experience with client +# mouse mode, guest <-> client copy and paste support and more. + +exec="/usr/sbin/spice-vdagentd" +prog="spice-vdagentd" +port="/dev/virtio-ports/com.redhat.spice.0" +pid="/var/run/spice-vdagentd/spice-vdagentd.pid" + +lockfile=/var/lock/subsys/$prog + +start() { + /sbin/modprobe uinput > /dev/null 2>&1 + # In case the previous running vdagentd crashed + /usr/bin/rm -f /var/run/spice-vdagentd/spice-vdagent-sock + /usr/bin/echo "Starting $prog: " + $exec -s $port + retval=$? + /usr/bin/echo + [ $retval -eq 0 ] && echo "$(pidof $prog)" > $pid && /usr/bin/touch $lockfile + return $retval +} + +stop() { + if [ "$(pidof $prog)" ]; then + /usr/bin/echo "Stopping $prog: " + /bin/kill $pid + else + /usr/bin/echo "$prog not running" + return 1 + fi + retval=$? + /usr/bin/echo + [ $retval -eq 0 ] && rm -f $lockfile $pid + return $retval +} + +restart() { + stop + start +} + +case "$1" in + start) + $1 + ;; + stop) + $1 + ;; + restart) + $1 + ;; + *) + /usr/bin/echo $"Usage: $0 {start|stop|restart}" + exit 2 +esac +exit $? diff --git a/system/spice-vdagent/slack-desc b/system/spice-vdagent/slack-desc new file mode 100644 index 0000000000..f058ca3eb1 --- /dev/null +++ b/system/spice-vdagent/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------------------------------------------------------| +spice-vdagent: spice-vdagent (spice agent for Linux vms) +spice-vdagent: +spice-vdagent: spice-vdagent enhanches interactions with your Linux virtual guests: +spice-vdagent: - client mouse mode +spice-vdagent: - automatic adjustment of the X-session resolution to the client's one +spice-vdagent: - support of copy and paste +spice-vdagent: - limited support for multiple displays using Xinerama +spice-vdagent: - full support for multiple displays using Xrandr +spice-vdagent: +spice-vdagent: homepage: http://spice-space.org +spice-vdagent: diff --git a/system/spice-vdagent/spice-vdagent.SlackBuild b/system/spice-vdagent/spice-vdagent.SlackBuild new file mode 100644 index 0000000000..0db5a0472e --- /dev/null +++ b/system/spice-vdagent/spice-vdagent.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware build script for spice-vdagent +# Copyright Matteo Bernardini <ponce@slackbuilds.org>, 2012 +# 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=spice-vdagent +VERSION=${VERSION:-0.12.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 + +DOCS="COPYING ChangeLog README TODO" + +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.?z* +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +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 +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 + +# Install an init script and an X.org configuration file +install -m 0755 -D $CWD/files/rc.spice-vdagent \ + $PKG/etc/rc.d/rc.spice-vdagent.new +install -m 0644 -D $CWD/files/06-spice-vdagent.conf \ + $PKG/usr/share/X11/xorg.conf.d/06-spice-vdagent.conf.new + +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 +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/system/spice-vdagent/spice-vdagent.info b/system/spice-vdagent/spice-vdagent.info new file mode 100644 index 0000000000..10de6d1b70 --- /dev/null +++ b/system/spice-vdagent/spice-vdagent.info @@ -0,0 +1,10 @@ +PRGNAM="spice-vdagent" +VERSION="0.12.0" +HOMEPAGE="http://spice-space.org" +DOWNLOAD="http://spice-space.org/download/releases/spice-vdagent-0.12.0.tar.bz2" +MD5SUM="a7de4d6682099b7af9c289ef3e2996f7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="spice xf86-video-qxl" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/spkg/README b/system/spkg/README new file mode 100644 index 0000000000..7fa5b16865 --- /dev/null +++ b/system/spkg/README @@ -0,0 +1,4 @@ +spkg is an extremly fast package manager based on the idea +of Slackware's pkgtools. +It's implemented in C (everything is libified) and optimized +for speed. diff --git a/system/spkg/slack-desc b/system/spkg/slack-desc new file mode 100644 index 0000000000..2345362d6e --- /dev/null +++ b/system/spkg/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------------------------------------------------------| +spkg: spkg (The Unofficial Slackware Linux Package Manager) +spkg: +spkg: spkg is an extremly fast package manager based on the idea +spkg: of Slackware's pkgtools. +spkg: It's implemented in C (everything is libified) and optimized +spkg: for speed. +spkg: +spkg: homepage: http://spkg.megous.com +spkg: +spkg: +spkg: diff --git a/libraries/libcacard/libcacard.SlackBuild b/system/spkg/spkg.SlackBuild index 8696079ca7..36395aa2aa 100644 --- a/libraries/libcacard/libcacard.SlackBuild +++ b/system/spkg/spkg.SlackBuild @@ -1,10 +1,29 @@ #!/bin/sh -# Slackware build script for libcacard -# Written by Matteo Bernardini <ponce@slackbuilds.org> +# Slackware build script for spkg -PRGNAM=libcacard -VERSION=${VERSION:-0.1.2} +# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# 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=spkg +VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,9 +54,7 @@ else LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING ChangeLog NEWS README" - -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -47,13 +64,11 @@ 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 \ - \( -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 {} \; -LDFLAGS="-lnss3 -lpthread" \ -CPPFLAGS="-I/usr/include/nss -I/usr/include/nspr" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -63,7 +78,6 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ --build=$ARCH-slackware-linux make @@ -72,8 +86,10 @@ 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/spkg/spkg.info b/system/spkg/spkg.info new file mode 100644 index 0000000000..528bc275bd --- /dev/null +++ b/system/spkg/spkg.info @@ -0,0 +1,10 @@ +PRGNAM="spkg" +VERSION="1.0.1" +HOMEPAGE="http://spkg.megous.com" +DOWNLOAD="http://spkg.megous.com/dl/releases/spkg-1.0.1.tar.bz2" +MD5SUM="96f52157593a30dd3b059ba8d8590fad" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="judy" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/system/vice/patches/vice-2.3.21-docs-fixes.patch b/system/vice/patches/vice-2.3.21-docs-fixes.patch deleted file mode 100644 index 84ed74ca7f..0000000000 --- a/system/vice/patches/vice-2.3.21-docs-fixes.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -Naur vice-2.3.21.orig/configure.in vice-2.3.21/configure.in ---- vice-2.3.21.orig/configure.in 2012-08-06 02:23:21.000000000 +0200 -+++ vice-2.3.21/configure.in 2012-08-06 11:35:40.509403194 +0200 -@@ -288,13 +288,7 @@ - - AC_CHECK_PROGS(MAKEINFO, makeinfo, no) - --AC_CHECK_PROGS(TEXI2DVI, texi2dvi, no) --AC_CHECK_PROGS(PDFTEX, pdftex, no) --if test x"$TEXI2DVI" = "xno" -o x"$PDFTEX" = "xno"; then -- AM_CONDITIONAL(BUILD_PDF, false) --else -- AM_CONDITIONAL(BUILD_PDF, true) --fi -+AM_CONDITIONAL(BUILD_PDF, false) - - AC_CHECK_PROGS(DOS2UNIX, dos2unix, dos2unix) - -diff -Naur vice-2.3.21.orig/doc/html/Makefile.am vice-2.3.21/doc/html/Makefile.am ---- vice-2.3.21.orig/doc/html/Makefile.am 2012-06-30 05:31:11.000000000 +0200 -+++ vice-2.3.21/doc/html/Makefile.am 2012-08-06 11:32:11.953905072 +0200 -@@ -45,10 +45,6 @@ - vice_14.html \ - vice_15.html \ - vice_16.html \ -- vice_17.html \ -- vice_18.html \ -- vice_19.html \ -- vice_20.html \ - vice_toc.html - - EXTRA_DIST = $(doc_DATA) \ diff --git a/system/vice/patches/vice-2.4.4-no-pdf.patch b/system/vice/patches/vice-2.4.4-no-pdf.patch new file mode 100644 index 0000000000..51e9fd015f --- /dev/null +++ b/system/vice/patches/vice-2.4.4-no-pdf.patch @@ -0,0 +1,16 @@ +diff -Naur vice-2.4.4.orig/configure.proto vice-2.4.4/configure.proto +--- vice-2.4.4.orig/configure.proto 2013-06-02 02:37:13.000000000 +0200 ++++ vice-2.4.4/configure.proto 2013-06-03 11:58:05.355979729 +0200 +@@ -349,11 +349,7 @@ + + AC_CHECK_PROGS(TEXI2DVI, texi2dvi, no) + AC_CHECK_PROGS(PDFTEX, pdftex, no) +-if test x"$TEXI2DVI" = "xno" -o x"$PDFTEX" = "xno"; then +- AM_CONDITIONAL(BUILD_PDF, false) +-else +- AM_CONDITIONAL(BUILD_PDF, true) +-fi ++AM_CONDITIONAL(BUILD_PDF, false) + + AC_CHECK_PROGS(DOS2UNIX, dos2unix, dos2unix) + diff --git a/system/vice/patches/vice-2.3.21-64bit.patch b/system/vice/patches/vice-2.4.5-64bit.patch index b78ea51bc8..31c3ec5eb4 100644 --- a/system/vice/patches/vice-2.3.21-64bit.patch +++ b/system/vice/patches/vice-2.4.5-64bit.patch @@ -1,7 +1,7 @@ -diff -Naur vice-2.3.21.orig/doc/vice.guide vice-2.3.21/doc/vice.guide ---- vice-2.3.21.orig/doc/vice.guide 2012-08-06 00:41:54.000000000 +0200 -+++ vice-2.3.21/doc/vice.guide 2012-08-06 09:44:36.288562655 +0200 -@@ -1292,7 +1292,7 @@ +diff -Naur vice-2.4.5.orig/doc/vice.guide vice-2.4.5/doc/vice.guide +--- vice-2.4.5.orig/doc/vice.guide 2013-08-01 18:43:17.000000000 +0200 ++++ vice-2.4.5/doc/vice.guide 2013-11-30 08:55:13.641787538 +0100 +@@ -1357,7 +1357,7 @@ `Directory' resource, which is a colon (`:')-separated search path list, like the UNIX `PATH' environment variable. The default value is @@ -10,7 +10,7 @@ diff -Naur vice-2.3.21.orig/doc/vice.guide vice-2.3.21/doc/vice.guide Where `PREFIX' is the installation prefix (usually `/usr/local'), `EMU' is the name of the emulated machine (`C64', `C64DTV', `C128', `PET', -@@ -1306,12 +1306,12 @@ +@@ -1372,12 +1372,12 @@ then the value will be @@ -25,7 +25,7 @@ diff -Naur vice-2.3.21.orig/doc/vice.guide vice-2.3.21/doc/vice.guide 2. `$HOME/.vice/C64' -@@ -4010,7 +4010,7 @@ +@@ -4088,7 +4088,7 @@ where: * `LIBDIR' is the VICE installation directory (usually @@ -34,10 +34,10 @@ diff -Naur vice-2.3.21.orig/doc/vice.guide vice-2.3.21/doc/vice.guide * `EMUID' is the emulation identification string (`C64', `C128', `VIC20' or `PET'); -diff -Naur vice-2.3.21.orig/doc/vice.texi vice-2.3.21/doc/vice.texi ---- vice-2.3.21.orig/doc/vice.texi 2012-07-24 04:08:09.000000000 +0200 -+++ vice-2.3.21/doc/vice.texi 2012-08-06 09:44:36.291562619 +0200 -@@ -1364,7 +1364,7 @@ +diff -Naur vice-2.4.5.orig/doc/vice.texi vice-2.4.5/doc/vice.texi +--- vice-2.4.5.orig/doc/vice.texi 2013-07-24 02:38:33.000000000 +0200 ++++ vice-2.4.5/doc/vice.texi 2013-11-30 08:55:13.644787501 +0100 +@@ -1410,7 +1410,7 @@ default value is @example @@ -46,7 +46,7 @@ diff -Naur vice-2.3.21.orig/doc/vice.texi vice-2.3.21/doc/vice.texi @end example Where @code{PREFIX} is the installation prefix (usually -@@ -1383,7 +1383,7 @@ +@@ -1429,7 +1429,7 @@ then the value will be @example @@ -55,7 +55,7 @@ diff -Naur vice-2.3.21.orig/doc/vice.texi vice-2.3.21/doc/vice.texi @end example And system files will be searched for under the following directories, -@@ -1391,7 +1391,7 @@ +@@ -1437,7 +1437,7 @@ @enumerate 1 @item @@ -64,10 +64,10 @@ diff -Naur vice-2.3.21.orig/doc/vice.texi vice-2.3.21/doc/vice.texi @item @code{$HOME/.vice/C64} @item -diff -Naur vice-2.3.21.orig/doc/vice.txt vice-2.3.21/doc/vice.txt ---- vice-2.3.21.orig/doc/vice.txt 2012-08-06 02:23:21.000000000 +0200 -+++ vice-2.3.21/doc/vice.txt 2012-08-06 09:44:36.296562563 +0200 -@@ -1056,7 +1056,7 @@ +diff -Naur vice-2.4.5.orig/doc/vice.txt vice-2.4.5/doc/vice.txt +--- vice-2.4.5.orig/doc/vice.txt 2013-08-01 18:43:17.000000000 +0200 ++++ vice-2.4.5/doc/vice.txt 2013-11-30 08:55:13.646787476 +0100 +@@ -1112,7 +1112,7 @@ `Directory' resource, which is a colon (`:')-separated search path list, like the UNIX `PATH' environment variable. The default value is @@ -76,7 +76,7 @@ diff -Naur vice-2.3.21.orig/doc/vice.txt vice-2.3.21/doc/vice.txt Where `PREFIX' is the installation prefix (usually `/usr/local'), `EMU' is the name of the emulated machine (`C64', `C64DTV', `C128', `PET', -@@ -1070,12 +1070,12 @@ +@@ -1127,12 +1127,12 @@ then the value will be @@ -91,39 +91,3 @@ diff -Naur vice-2.3.21.orig/doc/vice.txt vice-2.3.21/doc/vice.txt 2. `$HOME/.vice/C64' -diff -Naur vice-2.3.21.orig/INSTALL vice-2.3.21/INSTALL ---- vice-2.3.21.orig/INSTALL 2011-01-29 14:17:50.000000000 +0100 -+++ vice-2.3.21/INSTALL 2012-08-06 09:44:36.299562529 +0200 -@@ -301,7 +301,7 @@ - - make install - -- The binaries and support files will all go under PREFIX/lib/vice. -+ The binaries and support files will all go under PREFIX/lib64/vice. - You must of course have write permissions for the directories where - VICE is to be installed. Normally only the system administrator - has write access to /usr/local, the default PREFIX. Either ask -diff -Naur vice-2.3.21.orig/src/arch/sdl/archdep_unix.h vice-2.3.21/src/arch/sdl/archdep_unix.h ---- vice-2.3.21.orig/src/arch/sdl/archdep_unix.h 2011-07-21 05:10:28.000000000 +0200 -+++ vice-2.3.21/src/arch/sdl/archdep_unix.h 2012-08-06 09:42:11.970323196 +0200 -@@ -88,7 +88,7 @@ - #ifdef __NetBSD__ - #define LIBDIR PREFIX "/share/vice" - #else --#define LIBDIR PREFIX "/lib/vice" -+#define LIBDIR PREFIX "/lib64/vice" - #endif - - #if defined(__FreeBSD__) || defined(__NetBSD__) -diff -Naur vice-2.3.21.orig/src/arch/unix/archdep.h vice-2.3.21/src/arch/unix/archdep.h ---- vice-2.3.21.orig/src/arch/unix/archdep.h 2010-10-06 18:17:43.000000000 +0200 -+++ vice-2.3.21/src/arch/unix/archdep.h 2012-08-06 09:42:46.474902531 +0200 -@@ -127,7 +127,7 @@ - #ifdef __NetBSD__ - #define LIBDIR PREFIX "/share/vice" - #else --#define LIBDIR PREFIX "/lib/vice" -+#define LIBDIR PREFIX "/lib64/vice" - #endif - - #if defined(__FreeBSD__) || defined(__NetBSD__) diff --git a/system/vice/patches/vice-fix-help.patch b/system/vice/patches/vice-fix-help.patch index 1312fe8399..e2bfe04f4f 100644 --- a/system/vice/patches/vice-fix-help.patch +++ b/system/vice/patches/vice-fix-help.patch @@ -1,21 +1,21 @@ -diff -urpN vice-1.22/man/vice.1 vice-1.22-fixdoc/man/vice.1 ---- vice-1.22/man/vice.1 2005-08-21 21:15:04.000000000 +0200 -+++ vice-1.22-fixdoc/man/vice.1 2008-02-16 19:40:11.000000000 +0100 -@@ -40,7 +40,7 @@ a Commodore BASIC de-tokenizer; +diff -Naur vice-2.4.1.orig/man/vice.1 vice-2.4.1/man/vice.1 +--- vice-2.4.1.orig/man/vice.1 2012-11-29 12:44:39.000000000 +0100 ++++ vice-2.4.1/man/vice.1 2013-01-23 19:48:47.065865099 +0100 +@@ -43,7 +43,7 @@ .PP The whole documentation for these programs is available in HTML format; the main file should be installed on your system as --/usr/local/lib/VICE/doc/vice_toc.html. -+/usr/doc/vice/html/vice_toc.html. +-/usr/local/lib/vice/doc/vice_toc.html. ++/usr/doc/vice-@VERSION@/html/vice_toc.html. .P For up to date news about VICE, have a look at the official home page at -diff -urpN vice-1.22/src/arch/unix/gui/uicommands.c vice-1.22-fixdoc/src/arch/unix/gui/uicommands.c ---- vice-1.22/src/arch/unix/gui/uicommands.c 2007-04-01 17:02:44.000000000 +0200 -+++ vice-1.22-fixdoc/src/arch/unix/gui/uicommands.c 2008-02-16 19:31:10.000000000 +0100 -@@ -160,7 +160,7 @@ static UI_CALLBACK(browse_manual) +diff -Naur vice-2.4.1.orig/src/arch/unix/gui/uicommands.c vice-2.4.1/src/arch/unix/gui/uicommands.c +--- vice-2.4.1.orig/src/arch/unix/gui/uicommands.c 2012-12-30 15:12:52.000000000 +0100 ++++ vice-2.4.1/src/arch/unix/gui/uicommands.c 2013-01-23 19:50:01.276832152 +0100 +@@ -162,7 +162,7 @@ char *manual_path; - manual_path = util_concat(boot_path,"/../doc/vice_toc.html",NULL); + manual_path = util_concat(boot_path, "/../doc/vice_toc.html", NULL); #else - static const char manual_path[] = DOCDIR "/vice_toc.html"; + static const char manual_path[] = DOCDIR "/html/vice_toc.html"; diff --git a/system/vice/vice.SlackBuild b/system/vice/vice.SlackBuild index 4affd7be5c..936fcc4a80 100644 --- a/system/vice/vice.SlackBuild +++ b/system/vice/vice.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vice -VERSION=${VERSION:-2.3.22} +VERSION=${VERSION:-2.4.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,11 +73,11 @@ find -L . \ # folder (the folder set up by "make install" is quite broken). patch -p1 <$CWD/patches/vice-fix-help.patch -# Small fixes for html doc building, avoid pdf (broken) -patch -p1 < $CWD/patches/vice-2.3.21-docs-fixes.patch +# A small fix to avoid avoid building the pdf (broken, we use the one provided) +patch -p1 < $CWD/patches/vice-2.4.4-no-pdf.patch # Use /usr/lib64 on 64-bit Slackware -[ "$ARCH" == "x86_64" ] && patch -p1 < $CWD/patches/vice-2.3.21-64bit.patch +[ "$ARCH" = "x86_64" ] && patch -p1 < $CWD/patches/vice-2.4.5-64bit.patch sh autogen.sh || true @@ -95,7 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 {} \; diff --git a/system/vice/vice.info b/system/vice/vice.info index f3889031c4..c8903c756b 100644 --- a/system/vice/vice.info +++ b/system/vice/vice.info @@ -1,8 +1,8 @@ PRGNAM="vice" -VERSION="2.3.22" +VERSION="2.4.6" HOMEPAGE="http://www.viceteam.org/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/vice-2.3.22.tar.xz" -MD5SUM="44290700d30fca06f8655bab8c2ce86f" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/vice-2.4.6.tar.xz" +MD5SUM="1a780bb1c7cc4ae4fd671f0e49f1635d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/system/virt-manager/virt-manager.SlackBuild b/system/virt-manager/virt-manager.SlackBuild index dbc45b8481..70e9a55bd2 100644 --- a/system/virt-manager/virt-manager.SlackBuild +++ b/system/virt-manager/virt-manager.SlackBuild @@ -7,7 +7,7 @@ # Lots of mods by rworkman for 0.10.x PRGNAM=virt-manager -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +54,7 @@ find -L . \ -exec chmod 644 {} \; # We don't have gtk+3-3.10, so we cheat -sed -i "s|3\.10|3.8|" ui/gfxdetails.ui ui/netlist.ui ui/addstorage.ui +sed -i "s|3\.10|3.8|" ui/gfxdetails.ui ui/netlist.ui ui/addstorage.ui || exit 1 # Add Slackware support patch -p1 < $CWD/virtinst-osdict.py-Add-Slackware-to-OS-choices.patch diff --git a/system/virt-manager/virt-manager.info b/system/virt-manager/virt-manager.info index db962d0551..84c7d2b9ef 100644 --- a/system/virt-manager/virt-manager.info +++ b/system/virt-manager/virt-manager.info @@ -1,8 +1,8 @@ PRGNAM="virt-manager" -VERSION="1.0.0" +VERSION="1.0.1" HOMEPAGE="http://virt-manager.et.redhat.com" -DOWNLOAD="http://virt-manager.org/download/sources/virt-manager/virt-manager-1.0.0.tar.gz" -MD5SUM="8a0585de48d8060a5394aae912342c95" +DOWNLOAD="http://virt-manager.org/download/sources/virt-manager/virt-manager-1.0.1.tar.gz" +MD5SUM="4741c0d93d69cef5f936b2ea2d8348c5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libvirt-glib libvirt-python gnome-python2-gconf tunctl ipaddr-py urlgrabber pygobject3 gtk-vnc spice-gtk vte3" diff --git a/system/xarchiver/README b/system/xarchiver/README index 5d18038579..21ca60bdf8 100644 --- a/system/xarchiver/README +++ b/system/xarchiver/README @@ -3,6 +3,3 @@ All common archive types are supported. RPM and DEB packages are handled without their package managers. To run it you only need GTK+2 libraries and obviously the various rar, arj and 7z for these archive types. - -If you want to try an experimental patch to support xz, then run -the script like this: BEND_ME_OVER=kthxbai ./xarchiver.SlackBuild diff --git a/system/xarchiver/xarchiver-0.5.2-add_xz_support.patch b/system/xarchiver/xarchiver-0.5.2-add_xz_support.patch deleted file mode 100644 index 7df3820a42..0000000000 --- a/system/xarchiver/xarchiver-0.5.2-add_xz_support.patch +++ /dev/null @@ -1,309 +0,0 @@ -diff -Nur xarchiver-0.5.2.orig/src/add_dialog.c xarchiver-0.5.2/src/add_dialog.c ---- xarchiver-0.5.2.orig/src/add_dialog.c 2008-11-10 04:41:31.000000000 -0600 -+++ xarchiver-0.5.2/src/add_dialog.c 2009-11-30 13:17:54.983349491 -0600 -@@ -209,7 +209,7 @@ - else - gtk_widget_set_size_request (add_dialog->dialog1,530,420); - -- if (archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP || archive->type == XARCHIVETYPE_LZMA || archive->type == XARCHIVETYPE_LZOP) -+ if (archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP || archive->type == XARCHIVETYPE_LZMA || archive->type == XARCHIVETYPE_XZ || archive->type == XARCHIVETYPE_LZOP) - gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(add_dialog->filechooserwidget1),FALSE); - else - gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(add_dialog->filechooserwidget1),TRUE); -@@ -222,7 +222,7 @@ - else - gtk_widget_set_sensitive(add_dialog->store_path,TRUE); - /* 7z doesn't appear to let the user chooses if storing full paths */ -- if (archive->type == XARCHIVETYPE_7ZIP || archive->type == XARCHIVETYPE_LZOP || archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP || archive->type == XARCHIVETYPE_LZMA) -+ if (archive->type == XARCHIVETYPE_7ZIP || archive->type == XARCHIVETYPE_LZOP || archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP || archive->type == XARCHIVETYPE_LZMA || archive->type == XARCHIVETYPE_XZ ) - { - flag = FALSE; - } -@@ -244,7 +244,7 @@ - flag = TRUE; - gtk_widget_set_sensitive(add_dialog->solid_archive,flag); - -- if (archive->type != XARCHIVETYPE_TAR && archive->type != XARCHIVETYPE_TAR_GZ && archive->type != XARCHIVETYPE_TAR_LZMA && archive->type != XARCHIVETYPE_TAR_BZ2 && archive->type != XARCHIVETYPE_TAR_LZOP) -+ if (archive->type != XARCHIVETYPE_TAR && archive->type != XARCHIVETYPE_TAR_GZ && archive->type != XARCHIVETYPE_TAR_LZMA && archive->type != XARCHIVETYPE_TAR_XZ && archive->type != XARCHIVETYPE_TAR_BZ2 && archive->type != XARCHIVETYPE_TAR_LZOP) - { - flag = TRUE; - if (archive->type == XARCHIVETYPE_7ZIP) -@@ -306,7 +306,7 @@ - g_signal_connect (G_OBJECT (add_dialog->compression_value),"value-changed",G_CALLBACK (fix_adjustment_value), NULL); - gtk_tooltips_set_tip (add_dialog->option_tooltip,add_dialog->compression_scale, compression_msg, NULL ); - -- if (archive->type == XARCHIVETYPE_TAR || archive->type == XARCHIVETYPE_TAR_GZ || archive->type == XARCHIVETYPE_TAR_LZMA || archive->type == XARCHIVETYPE_TAR_BZ2 || archive->type == XARCHIVETYPE_TAR_LZOP) -+ if (archive->type == XARCHIVETYPE_TAR || archive->type == XARCHIVETYPE_TAR_GZ || archive->type == XARCHIVETYPE_TAR_LZMA || archive->type == XARCHIVETYPE_TAR_XZ || archive->type == XARCHIVETYPE_TAR_BZ2 || archive->type == XARCHIVETYPE_TAR_LZOP) - flag = FALSE; - else - flag = TRUE; -diff -Nur xarchiver-0.5.2.orig/src/archive.h xarchiver-0.5.2/src/archive.h ---- xarchiver-0.5.2.orig/src/archive.h 2008-11-07 02:49:41.000000000 -0600 -+++ xarchiver-0.5.2/src/archive.h 2009-11-30 13:17:54.984326164 -0600 -@@ -30,6 +30,7 @@ - XARCHIVETYPE_BZIP2, - XARCHIVETYPE_GZIP, - XARCHIVETYPE_LZMA, -+ XARCHIVETYPE_XZ, - XARCHIVETYPE_LZOP, - XARCHIVETYPE_RAR, - XARCHIVETYPE_RPM, -@@ -37,6 +38,7 @@ - XARCHIVETYPE_TAR_BZ2, - XARCHIVETYPE_TAR_GZ, - XARCHIVETYPE_TAR_LZMA, -+ XARCHIVETYPE_TAR_XZ, - XARCHIVETYPE_TAR_LZOP, - XARCHIVETYPE_ZIP, - XARCHIVETYPE_LHA, -diff -Nur xarchiver-0.5.2.orig/src/bzip2.c xarchiver-0.5.2/src/bzip2.c ---- xarchiver-0.5.2.orig/src/bzip2.c 2008-11-10 05:17:48.000000000 -0600 -+++ xarchiver-0.5.2/src/bzip2.c 2009-11-30 13:17:54.984326164 -0600 -@@ -54,6 +54,15 @@ - archive->extract = extract[archive->type]; - xa_open_tar_compressed_file(archive); - } -+ else if (g_str_has_suffix(archive->escaped_path,".tar.xz") || g_str_has_suffix (archive->escaped_path,".txz")) -+ { -+ archive->type = XARCHIVETYPE_TAR_XZ; -+ archive->format = "TAR.XZ"; -+ archive->delete = delete[archive->type]; -+ archive->add = add[archive->type]; -+ archive->extract = extract[archive->type]; -+ xa_open_tar_compressed_file(archive); -+ } - else if (g_str_has_suffix(archive->escaped_path,".tar.lzop") || - g_str_has_suffix (archive->escaped_path,".tzo") || - g_str_has_suffix(archive->escaped_path,".tar.lzo")) -@@ -85,6 +94,12 @@ - executable = "lzma "; - len = 5; - } -+ else if (archive->type == XARCHIVETYPE_XZ) -+ { -+ archive->format = "XZ"; -+ executable = "xz "; -+ len = 5; -+ } - else if (archive->type == XARCHIVETYPE_LZOP) - { - archive->format = "LZOP"; -@@ -163,6 +178,8 @@ - command = g_strconcat(tar," tfjv ",archive->escaped_path,NULL); - else if (archive->type == XARCHIVETYPE_TAR_LZMA) - command = g_strconcat(tar," tv --use-compress-program=lzma -f ",archive->escaped_path,NULL); -+ else if (archive->type == XARCHIVETYPE_TAR_XZ) -+ command = g_strconcat(tar," tv --use-compress-program=xz -f ",archive->escaped_path,NULL); - else if (archive->type == XARCHIVETYPE_TAR_LZOP) - command = g_strconcat(tar," tv --use-compress-program=lzop -f ",archive->escaped_path,NULL); - /* else fail? */ -@@ -205,6 +222,11 @@ - executable = "lzma "; - len = 5; - } -+ else if (archive->type == XARCHIVETYPE_XZ) -+ { -+ executable = "xz "; -+ len = 5; -+ } - else if (archive->type == XARCHIVETYPE_LZOP) - { - executable = "lzop "; -diff -Nur xarchiver-0.5.2.orig/src/extract_dialog.c xarchiver-0.5.2/src/extract_dialog.c ---- xarchiver-0.5.2.orig/src/extract_dialog.c 2008-11-10 04:28:11.000000000 -0600 -+++ xarchiver-0.5.2/src/extract_dialog.c 2009-11-30 13:17:54.985326653 -0600 -@@ -815,6 +815,11 @@ - archive->type = XARCHIVETYPE_TAR_LZMA; - archive->extract = extract[XARCHIVETYPE_TAR_LZMA]; - } -+ else if (g_str_has_suffix(archive->escaped_path,".tar.xz")|| g_str_has_suffix (archive->escaped_path,".txz")) -+ { -+ archive->type = XARCHIVETYPE_TAR_XZ; -+ archive->extract = extract[XARCHIVETYPE_TAR_XZ]; -+ } - else if (g_str_has_suffix(archive->escaped_path,".tar.lzop") || - g_str_has_suffix (archive->escaped_path,".tzo") || - g_str_has_suffix(archive->escaped_path,".tar.lzo")) -diff -Nur xarchiver-0.5.2.orig/src/main.c xarchiver-0.5.2/src/main.c ---- xarchiver-0.5.2.orig/src/main.c 2008-11-10 05:21:43.000000000 -0600 -+++ xarchiver-0.5.2/src/main.c 2009-11-30 13:17:54.986351656 -0600 -@@ -296,9 +296,10 @@ - open_archive[XARCHIVETYPE_BZIP2] = &xa_open_bzip2_lzma; - open_archive[XARCHIVETYPE_GZIP] = &xa_open_gzip; - open_archive[XARCHIVETYPE_LZMA] = &xa_open_bzip2_lzma; -+ open_archive[XARCHIVETYPE_XZ] = &xa_open_bzip2_lzma; - open_archive[XARCHIVETYPE_RAR] = &xa_open_rar; - open_archive[XARCHIVETYPE_RPM] = &xa_open_rpm; -- open_archive[XARCHIVETYPE_TAR] = open_archive[XARCHIVETYPE_TAR_BZ2] = open_archive[XARCHIVETYPE_TAR_GZ] = open_archive[XARCHIVETYPE_TAR_LZMA] = open_archive[XARCHIVETYPE_TAR_LZOP] = &xa_open_tar; -+ open_archive[XARCHIVETYPE_TAR] = open_archive[XARCHIVETYPE_TAR_BZ2] = open_archive[XARCHIVETYPE_TAR_GZ] = open_archive[XARCHIVETYPE_TAR_LZMA] = open_archive[XARCHIVETYPE_TAR_XZ] = open_archive[XARCHIVETYPE_TAR_LZOP] = &xa_open_tar; - open_archive[XARCHIVETYPE_ZIP] = &xa_open_zip; - open_archive[XARCHIVETYPE_LHA] = &xa_open_lha; - open_archive[XARCHIVETYPE_LZOP] = &xa_open_bzip2_lzma; -@@ -310,6 +311,7 @@ - delete[XARCHIVETYPE_BZIP2] = 0; - delete[XARCHIVETYPE_GZIP] = 0; - delete[XARCHIVETYPE_LZMA] = 0; -+ delete[XARCHIVETYPE_XZ] = 0; - delete[XARCHIVETYPE_RAR] = &xa_rar_delete; - delete[XARCHIVETYPE_RPM] = 0; - delete[XARCHIVETYPE_TAR] = delete[XARCHIVETYPE_TAR_BZ2] = delete[XARCHIVETYPE_TAR_GZ] = delete[XARCHIVETYPE_TAR_LZMA] = delete[XARCHIVETYPE_TAR_LZOP] = &xa_tar_delete; -@@ -325,7 +327,7 @@ - add[XARCHIVETYPE_BZIP2] = add[XARCHIVETYPE_GZIP] = add[XARCHIVETYPE_LZMA] = &xa_tar_add; - add[XARCHIVETYPE_RAR] = &xa_rar_add; - add[XARCHIVETYPE_RPM] = 0; -- add[XARCHIVETYPE_TAR] = add[XARCHIVETYPE_TAR_BZ2] = add[XARCHIVETYPE_TAR_GZ] = add[XARCHIVETYPE_TAR_LZMA] = add[XARCHIVETYPE_TAR_LZOP] = &xa_tar_add; -+ add[XARCHIVETYPE_TAR] = add[XARCHIVETYPE_TAR_BZ2] = add[XARCHIVETYPE_TAR_GZ] = add[XARCHIVETYPE_TAR_LZMA] = add[XARCHIVETYPE_TAR_XZ] = add[XARCHIVETYPE_TAR_LZOP] = &xa_tar_add; - add[XARCHIVETYPE_ZIP] = &xa_zip_add; - add[XARCHIVETYPE_LHA] = &xa_lha_add; - add[XARCHIVETYPE_LZOP] = &xa_tar_add; -@@ -337,7 +339,7 @@ - extract[XARCHIVETYPE_BZIP2] = extract[XARCHIVETYPE_GZIP] = extract[XARCHIVETYPE_LZMA] = &xa_tar_extract; - extract[XARCHIVETYPE_RAR] = &xa_rar_extract; - extract[XARCHIVETYPE_RPM] = &xa_rpm_extract; -- extract[XARCHIVETYPE_TAR] = extract[XARCHIVETYPE_TAR_BZ2] = extract[XARCHIVETYPE_TAR_GZ] = extract[XARCHIVETYPE_TAR_LZMA] = extract[XARCHIVETYPE_TAR_LZOP] = &xa_tar_extract; -+ extract[XARCHIVETYPE_TAR] = extract[XARCHIVETYPE_TAR_BZ2] = extract[XARCHIVETYPE_TAR_GZ] = extract[XARCHIVETYPE_TAR_LZMA] = extract[XARCHIVETYPE_TAR_XZ] = extract[XARCHIVETYPE_TAR_LZOP] = &xa_tar_extract; - extract[XARCHIVETYPE_ZIP] = &xa_zip_extract; - extract[XARCHIVETYPE_LHA] = &xa_lha_extract; - extract[XARCHIVETYPE_LZOP] = &xa_tar_extract; -@@ -348,7 +350,7 @@ - test[XARCHIVETYPE_DEB] = test[XARCHIVETYPE_BZIP2] = test[XARCHIVETYPE_GZIP] = test[XARCHIVETYPE_LZMA] = 0; - test[XARCHIVETYPE_RAR] = &xa_rar_test; - test[XARCHIVETYPE_RPM] = 0; -- test[XARCHIVETYPE_TAR] = test[XARCHIVETYPE_TAR_BZ2] = test[XARCHIVETYPE_TAR_GZ] = test[XARCHIVETYPE_TAR_LZMA] = test[XARCHIVETYPE_TAR_LZOP] = 0; -+ test[XARCHIVETYPE_TAR] = test[XARCHIVETYPE_TAR_BZ2] = test[XARCHIVETYPE_TAR_GZ] = test[XARCHIVETYPE_TAR_LZMA] = test[XARCHIVETYPE_TAR_XZ] = test[XARCHIVETYPE_TAR_LZOP] = 0; - test[XARCHIVETYPE_ZIP] = &xa_zip_test; - test[XARCHIVETYPE_LHA] = &xa_lha_test; - test[XARCHIVETYPE_LZOP] = 0; -@@ -392,6 +394,14 @@ - g_free (absolute_path); - } - -+ absolute_path = g_find_program_in_path("xz"); -+ if ( absolute_path ) -+ { -+ ArchiveType = g_list_append(ArchiveType, "xz"); -+ ArchiveSuffix = g_list_append(ArchiveSuffix, "*.xz"); -+ g_free (absolute_path); -+ } -+ - absolute_path = g_find_program_in_path("lzop"); - if ( absolute_path ) - { -@@ -460,6 +470,11 @@ - ArchiveType = g_list_append(ArchiveType, "tar.lzma"); - ArchiveSuffix = g_list_append(ArchiveSuffix, "*.tlz"); - } -+ if ( g_list_find ( ArchiveType , "xz") ) -+ { -+ ArchiveType = g_list_append(ArchiveType, "tar.xz"); -+ ArchiveSuffix = g_list_append(ArchiveSuffix, "*.txz"); -+ } - if ( g_list_find ( ArchiveType , "lzo") ) - { - ArchiveType = g_list_append(ArchiveType, "tar.lzo"); -@@ -528,6 +543,8 @@ - archive->type = XARCHIVETYPE_TAR_GZ; - else if ( g_str_has_suffix ( archive->escaped_path , ".tar.lzma") || g_str_has_suffix ( archive->escaped_path , ".tlz") ) - archive->type = XARCHIVETYPE_TAR_LZMA; -+ else if ( g_str_has_suffix ( archive->escaped_path , ".tar.xz") || g_str_has_suffix ( archive->escaped_path , ".txz") ) -+ archive->type = XARCHIVETYPE_TAR_XZ; - else if ( g_str_has_suffix ( archive->escaped_path , ".tar.lzo") || - g_str_has_suffix ( archive->escaped_path , ".tzo") || - g_str_has_suffix ( archive->escaped_path , ".tar.lzop")) -diff -Nur xarchiver-0.5.2.orig/src/new_dialog.c xarchiver-0.5.2/src/new_dialog.c ---- xarchiver-0.5.2.orig/src/new_dialog.c 2008-11-11 02:28:46.000000000 -0600 -+++ xarchiver-0.5.2/src/new_dialog.c 2009-11-30 13:17:54.987349701 -0600 -@@ -202,6 +202,8 @@ - type = XARCHIVETYPE_GZIP; - else if (strcmp ( ComboArchiveType,"lzma") == 0) - type = XARCHIVETYPE_LZMA; -+ else if (strcmp ( ComboArchiveType,"xz") == 0) -+ type = XARCHIVETYPE_XZ; - else if (strcmp ( ComboArchiveType,"lzo") == 0) - type = XARCHIVETYPE_LZOP; - else if (strcmp ( ComboArchiveType,"rar") == 0) -@@ -214,6 +216,8 @@ - type = XARCHIVETYPE_TAR_GZ; - else if (strcmp ( ComboArchiveType,"tar.lzma") == 0) - type = XARCHIVETYPE_TAR_LZMA; -+ else if (strcmp ( ComboArchiveType,"tar.xz") == 0) -+ type = XARCHIVETYPE_TAR_XZ; - else if (strcmp ( ComboArchiveType,"tar.lzo") == 0) - type = XARCHIVETYPE_TAR_LZOP; - else if (strcmp ( ComboArchiveType,"jar") == 0 || strcmp ( ComboArchiveType,"zip") == 0 ) -diff -Nur xarchiver-0.5.2.orig/src/tar.c xarchiver-0.5.2/src/tar.c ---- xarchiver-0.5.2.orig/src/tar.c 2008-11-10 04:28:34.000000000 -0600 -+++ xarchiver-0.5.2/src/tar.c 2009-11-30 13:19:34.037344951 -0600 -@@ -242,6 +242,17 @@ - files->str , NULL ); - break; - -+ case XARCHIVETYPE_TAR_XZ: -+ if ( g_file_test ( archive->escaped_path , G_FILE_TEST_EXISTS ) ) -+ xa_add_delete_bzip2_gzip_lzma_compressed_tar (files,archive,1); -+ else -+ command = g_strconcat (tar, " ", -+ archive->add_recurse ? "" : "--no-recursion ", -+ archive->remove_files ? "--remove-files " : "", -+ "--use-compress-program=xz -cvvf ",archive->escaped_path, -+ files->str , NULL ); -+ break; -+ - case XARCHIVETYPE_TAR_LZOP: - if ( g_file_test ( archive->escaped_path , G_FILE_TEST_EXISTS ) ) - xa_add_delete_bzip2_gzip_lzma_compressed_tar (files,archive,1); -@@ -449,6 +460,10 @@ - executable = "lzma -f "; - filename = "dummy.lzma"; - break; -+ case XARCHIVETYPE_TAR_XZ: -+ executable = "xz -f "; -+ filename = "dummy.xz"; -+ break; - case XARCHIVETYPE_TAR_LZOP: - executable = "lzop -f "; - filename = "dummy.lzo"; -diff -Nur xarchiver-0.5.2.orig/src/window.c xarchiver-0.5.2/src/window.c ---- xarchiver-0.5.2.orig/src/window.c 2008-11-11 02:31:45.000000000 -0600 -+++ xarchiver-0.5.2/src/window.c 2009-11-30 13:17:54.990326583 -0600 -@@ -1125,6 +1125,8 @@ - xx = XARCHIVETYPE_GZIP; - else if (memcmp ( magic,"\x5d\x00\x00\x80",4) == 0) - xx = XARCHIVETYPE_LZMA; -+ else if (memcmp ( magic,"\xFD7zXZ\x00\0x00",3) || memcmp ( magic, "\xFD7zXZ\x00\0x10",3) == 0) -+ xx = XARCHIVETYPE_XZ; - else if (memcmp ( magic,"\211LZO",4) == 0) - xx = XARCHIVETYPE_LZOP; - else if (memcmp ( magic,"\xed\xab\xee\xdb",4) == 0) -@@ -1462,6 +1464,7 @@ - case XARCHIVETYPE_GZIP: - case XARCHIVETYPE_BZIP2: - case XARCHIVETYPE_LZMA: -+ case XARCHIVETYPE_XZ: - case XARCHIVETYPE_LZOP: - case XARCHIVETYPE_RPM: - pos = 3; -@@ -1481,6 +1484,7 @@ - case XARCHIVETYPE_TAR_GZ: - case XARCHIVETYPE_TAR_BZ2: - case XARCHIVETYPE_TAR_LZMA: -+ case XARCHIVETYPE_TAR_XZ: - case XARCHIVETYPE_TAR_LZOP: - case XARCHIVETYPE_TAR: - case XARCHIVETYPE_ZIP: -@@ -1525,6 +1529,7 @@ - case XARCHIVETYPE_GZIP: - case XARCHIVETYPE_BZIP2: - case XARCHIVETYPE_LZMA: -+ case XARCHIVETYPE_XZ: - case XARCHIVETYPE_LZOP: - case XARCHIVETYPE_RPM: - pos = 3; -@@ -1544,6 +1549,7 @@ - case XARCHIVETYPE_TAR_GZ: - case XARCHIVETYPE_TAR_BZ2: - case XARCHIVETYPE_TAR_LZMA: -+ case XARCHIVETYPE_TAR_XZ: - case XARCHIVETYPE_TAR_LZOP: - case XARCHIVETYPE_TAR: - case XARCHIVETYPE_ZIP: diff --git a/system/xarchiver/xarchiver.SlackBuild b/system/xarchiver/xarchiver.SlackBuild index 116913ff38..ce0b10b599 100644 --- a/system/xarchiver/xarchiver.SlackBuild +++ b/system/xarchiver/xarchiver.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xarchiver -VERSION=${VERSION:-0.5.2} -BUILD=${BUILD:-3} +VERSION=${VERSION:-0.5.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,16 +69,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Add an experimental patch to support xz -# This is not applied by default because *I* wrote the patch and I don't know -# if it's worthy of being included just yet. I suspect not. --rworkman -# ** Note that xarchiver's upstream dev has decided to rewrite xarchiver -# ** completely, and I'm not interested in trying to port this patch to the -# ** rewrite, so this is the end of the line so far as I'm concerned. -RW -if [ "$BEND_ME_OVER" = "kthxbai" ]; then - patch -p1 < $CWD/xarchiver-0.5.2-add_xz_support.patch -fi - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -96,7 +86,6 @@ make install-strip DESTDIR=$PKG mv $PKG/usr/share/doc $PKG/usr mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cd $PKG/usr/doc ; ln -s xarchiver-$VERSION xarchiver ; cd - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/system/xarchiver/xarchiver.info b/system/xarchiver/xarchiver.info index 967772ba95..f4f42884de 100644 --- a/system/xarchiver/xarchiver.info +++ b/system/xarchiver/xarchiver.info @@ -1,8 +1,8 @@ PRGNAM="xarchiver" -VERSION="0.5.2" +VERSION="0.5.3" HOMEPAGE="http://xarchiver.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/xarchiver/xarchiver-0.5.2.tar.bz2" -MD5SUM="2bc7f06403cc6582dd4a8029ec9d038d" +DOWNLOAD="http://downloads.sourceforge.net/xarchiver/xarchiver-0.5.3.tar.bz2" +MD5SUM="fd390bbd2df76a5f8a007bdeae82d4aa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |