summaryrefslogtreecommitdiff
path: root/source/kde/pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/pre-install')
-rw-r--r--source/kde/pre-install/README18
-rw-r--r--source/kde/pre-install/amarok.pre-install10
-rw-r--r--source/kde/pre-install/kdeconnect-kde.pre-install2
-rw-r--r--source/kde/pre-install/kdewebdev.pre-install6
-rw-r--r--source/kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh37
-rw-r--r--source/kde/pre-install/kdewebdev/tidy/tidy.SlackBuild108
-rw-r--r--source/kde/pre-install/kdewebdev/tidy/tidy.build95
7 files changed, 0 insertions, 276 deletions
diff --git a/source/kde/pre-install/README b/source/kde/pre-install/README
deleted file mode 100644
index 2478e45f..00000000
--- a/source/kde/pre-install/README
+++ /dev/null
@@ -1,18 +0,0 @@
-
-IMPORTANT!
-
-To fail/exit a script, use this:
-
-[command that fails] || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
-
-DO NOT USE THIS:
-
-[command that fails] || exit 1
-
-as it will cause the parent script to exit in the wrong location and possibly
-silently skip building some packages.
-
-Thanks,
-
-The Management
-
diff --git a/source/kde/pre-install/amarok.pre-install b/source/kde/pre-install/amarok.pre-install
deleted file mode 100644
index dfb3b009..00000000
--- a/source/kde/pre-install/amarok.pre-install
+++ /dev/null
@@ -1,10 +0,0 @@
-if [ ! -r /usr/bin/mysql_embedded ]; then
- cat << EOF
-ERROR: missing /usr/bin/mysql_embedded
- please use mysql-embedded.SlackBuild in source/ap/mysql/
- or build_embedded.package.sh in source/ap/mariadb/ to
- rebuild your database package, reinstall it, and then try again.
-EOF
- touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ;
-fi
-
diff --git a/source/kde/pre-install/kdeconnect-kde.pre-install b/source/kde/pre-install/kdeconnect-kde.pre-install
deleted file mode 100644
index e89e2fc8..00000000
--- a/source/kde/pre-install/kdeconnect-kde.pre-install
+++ /dev/null
@@ -1,2 +0,0 @@
-sed -i -e "s,#add_subdirectory(kio),add_subdirectory(kio)," CMakeLists.txt
-
diff --git a/source/kde/pre-install/kdewebdev.pre-install b/source/kde/pre-install/kdewebdev.pre-install
deleted file mode 100644
index 6cd51b1c..00000000
--- a/source/kde/pre-install/kdewebdev.pre-install
+++ /dev/null
@@ -1,6 +0,0 @@
-# First, build and install Tidy:
-cd $CWD/pre-install/kdewebdev/tidy
- echo "Building htmltidy..."
- ARCH=$ARCH sh ./tidy.build $PKG
-cd -
-
diff --git a/source/kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh b/source/kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh
deleted file mode 100644
index e4fb4b20..00000000
--- a/source/kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# Copyright 2006, 2009 Patrick Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-
-# Fetch the latest CVS of Tidy.
-# Clean the download location:
-rm -rf tidy
-cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy login
-CVS_VERSION=$(date +%Y%m%dT%R | tr -d :)
-# Doubtful that these will exist, but...
-rm -f tidy-${CVS_VERSION}.tar tidy-${CVS_VERSION}.tar.xz
-cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co -P tidy
-# Rid ourselves of cruft:
-( cd tidy ; find . -type d -name CVS -exec rm -rf {} \; 2> /dev/null )
-# Make tarball "release":
-tar cf tidy-${CVS_VERSION}.tar tidy
-xz -9 tidy-${CVS_VERSION}.tar
-# Clean up:
-rm -rf tidy
diff --git a/source/kde/pre-install/kdewebdev/tidy/tidy.SlackBuild b/source/kde/pre-install/kdewebdev/tidy/tidy.SlackBuild
deleted file mode 100644
index 0eb4e47f..00000000
--- a/source/kde/pre-install/kdewebdev/tidy/tidy.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-# Copyright 2006, 2007, 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# This file is an example, so feel free to fix it if it gets out of date. :-)
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PKGNAM=tidy
-VERSION=${VERSION:-20100503T2309}
-BUILD=${BUILD:-1}
-
-# Automatically determine the architecture we're building on:
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
- arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$( uname -m ) ;;
- esac
-fi
-
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-${PKGNAM}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-else
- SLKCFLAGS="-O2"
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf ${PKGNAM}
-tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z*
-
-cd ${PKGNAM}
-
-# Make sure ownerships and permissions are sane:
-chown -R root:root .
-find . -perm 666 -exec chmod 644 {} \+
-find . -perm 664 -exec chmod 644 {} \+
-find . -perm 600 -exec chmod 644 {} \+
-find . -perm 444 -exec chmod 644 {} \+
-find . -perm 400 -exec chmod 644 {} \+
-find . -perm 440 -exec chmod 644 {} \+
-find . -perm 777 -exec chmod 755 {} \+
-find . -perm 775 -exec chmod 755 {} \+
-find . -perm 511 -exec chmod 755 {} \+
-find . -perm 711 -exec chmod 755 {} \+
-find . -perm 555 -exec chmod 755 {} \+
-
-# Prepare autoconf:
-sh build/gnuauto/setup.sh
-
-# Configure:
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --disable-static \
- $ARCH-slackware-linux
-
-# Build and install:
-make -j4 || make || exit 1
-make install DESTDIR=$PKG || exit 1
-
-# Don't ship .la files:
-rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
-
-# Strip binaries:
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-# Add a documentation directory:
-mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
-# The Makefile evidently contains the package's license...
-cp -a Makefile htmldoc $PKG/usr/doc/${PKGNAM}-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz
-
diff --git a/source/kde/pre-install/kdewebdev/tidy/tidy.build b/source/kde/pre-install/kdewebdev/tidy/tidy.build
deleted file mode 100644
index 45f7631f..00000000
--- a/source/kde/pre-install/kdewebdev/tidy/tidy.build
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-# Copyright 2006, 2007, 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Modified by Robby Workman <rworkman@slackware.com> 20071221
-# for new cvs pull and changed include directory for kde4's kdewebdev
-# New cvs version - 20080502
-
-PKGNAM=tidy
-VERSION=20100503T2309
-BUILD=${BUILD:-1}
-
-# Automatically determine the architecture we're building on:
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
- arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp}
-
-PKG=$1
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-cd $TMP
-rm -rf ${PKGNAM}
-tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z* || exit 1
-cd ${PKGNAM}
-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 {} \;
-
-# Prepare autoconf:
-sh build/gnuauto/setup.sh
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --includedir=/usr/include/tidy \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make -j4 || exit 1
-make install DESTDIR=$PKG || exit 1
-
-# Don't ship .la files:
-rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
-
-# Strip binaries:
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
-cp -a htmldoc/* $PKG/usr/doc/${PKGNAM}-$VERSION
-