summaryrefslogtreecommitdiffstats
path: root/deps/harfbuzz
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-04-30 14:17:41 +0200
committer Eric Hameleers <alien@slackware.com>2015-04-30 14:17:41 +0200
commitf55ab90f06db1c6a515f8d3becaed13d73afd08c (patch)
tree245c3515071b621f936f9d285de7b776eade6ca0 /deps/harfbuzz
parentd5106979962c319936a93cc40bdb06f888e87aff (diff)
downloadktown-f55ab90f06db1c6a515f8d3becaed13d73afd08c.tar.gz
ktown-f55ab90f06db1c6a515f8d3becaed13d73afd08c.tar.xz
Remove all dependencies and extragear language files that have been
folded into slackware-current as official packages.
Diffstat (limited to 'deps/harfbuzz')
-rwxr-xr-xdeps/harfbuzz/harfbuzz.SlackBuild115
-rw-r--r--deps/harfbuzz/harfbuzz_unbreak_abi.patch81
-rw-r--r--deps/harfbuzz/slack-desc19
3 files changed, 0 insertions, 215 deletions
diff --git a/deps/harfbuzz/harfbuzz.SlackBuild b/deps/harfbuzz/harfbuzz.SlackBuild
deleted file mode 100755
index 0564d22..0000000
--- a/deps/harfbuzz/harfbuzz.SlackBuild
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/sh
-
-# Copyright 2013, 2014, 2015 Patrick J. Volkerding, Sebeka, Minnesota, 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.
-
-PKGNAM=harfbuzz
-VERSION=${VERSION:-0.9.37}
-BUILD=${BUILD:-1}
-
-# Automatically determine the architecture we're building on:
-if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i486 ;;
- arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7lh ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) ARCH=$(uname -m) ;;
- esac
- export ARCH
-fi
-
-NUMJOBS=${NUMJOBS:-" -j7 "}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-$PKGNAM
-
-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
-
-case "$ARCH" in
- arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
- *) TARGET=$ARCH-slackware-linux ;;
-esac
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1
-cd $PKGNAM-$VERSION || exit 1
-
-# Apply a patch (borrowed from debian) which 'unbreaks' the ABI breakage
-# caused by moving the ICU functionality into a separate backend library.
-cat $CWD/harfbuzz_unbreak_abi.patch | patch -p1 --verbose || exit 1
-
-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 \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PKGNAM-$VERSION \
- --build=$TARGET || exit 1
-
-make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG || exit 1
-
-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/$PKGNAM-$VERSION
-cp -a \
- AUTHORS COPYING INSTALL NEWS README THANKS TODO \
- $PKG/usr/doc/$PKGNAM-$VERSION
-
-# If there's a ChangeLog, installing at least part of the recent history
-# is useful, but don't let it get totally out of control:
-if [ -r ChangeLog ]; then
- DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION)
- cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
- touch -r ChangeLog $DOCSDIR/ChangeLog
-fi
-
-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/deps/harfbuzz/harfbuzz_unbreak_abi.patch b/deps/harfbuzz/harfbuzz_unbreak_abi.patch
deleted file mode 100644
index 05497f3..0000000
--- a/deps/harfbuzz/harfbuzz_unbreak_abi.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-Description: Re-add hb_version_check to unbreak API/ABI
- This patch should be removed on the next API/ABI break by upstream.
-Author: ???? ???????? (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>
-Bug-Debian: http://bugs.debian.org/755094
-Forwarded: not-needed
-
---- a/src/hb-common.cc
-+++ b/src/hb-common.cc
-@@ -587,3 +587,23 @@
- {
- return HB_VERSION_ATLEAST (major, minor, micro);
- }
-+
-+/**
-+ * hb_version_check:
-+ * @major:
-+ * @minor:
-+ * @micro:
-+ *
-+ *
-+ *
-+ * Return value:
-+ *
-+ * Since: 1.0
-+ **/
-+hb_bool_t
-+hb_version_check (unsigned int major,
-+ unsigned int minor,
-+ unsigned int micro)
-+{
-+ return HB_VERSION_CHECK (major, minor, micro);
-+}
---- a/src/hb-version.h
-+++ b/src/hb-version.h
-@@ -45,6 +45,9 @@
- #define HB_VERSION_ATLEAST(major,minor,micro) \
- ((major)*10000+(minor)*100+(micro) <= \
- HB_VERSION_MAJOR*10000+HB_VERSION_MINOR*100+HB_VERSION_MICRO)
-+#define HB_VERSION_CHECK(major,minor,micro) \
-+ ((major)*10000+(minor)*100+(micro) >= \
-+ HB_VERSION_MAJOR*10000+HB_VERSION_MINOR*100+HB_VERSION_MICRO)
-
-
- void
-@@ -60,6 +63,11 @@
- unsigned int minor,
- unsigned int micro);
-
-+hb_bool_t
-+hb_version_check (unsigned int major,
-+ unsigned int minor,
-+ unsigned int micro);
-+
-
- HB_END_DECLS
-
---- a/src/hb-version.h.in
-+++ b/src/hb-version.h.in
-@@ -45,6 +45,10 @@
- #define HB_VERSION_ATLEAST(major,minor,micro) \
- ((major)*10000+(minor)*100+(micro) <= \
- HB_VERSION_MAJOR*10000+HB_VERSION_MINOR*100+HB_VERSION_MICRO)
-+#define HB_VERSION_CHECK(major,minor,micro) \
-+ ((major)*10000+(minor)*100+(micro) >= \
-+ HB_VERSION_MAJOR*10000+HB_VERSION_MINOR*100+HB_VERSION_MICRO)
-+
-
-
- void
-@@ -60,6 +64,11 @@
- unsigned int minor,
- unsigned int micro);
-
-+hb_bool_t
-+hb_version_check (unsigned int major,
-+ unsigned int minor,
-+ unsigned int micro);
-+
-
- HB_END_DECLS
-
diff --git a/deps/harfbuzz/slack-desc b/deps/harfbuzz/slack-desc
deleted file mode 100644
index e349154..0000000
--- a/deps/harfbuzz/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-harfbuzz: harfbuzz (OpenType text shaping engine)
-harfbuzz:
-harfbuzz: HarfBuzz is an OpenType text shaping engine.
-harfbuzz:
-harfbuzz: http://www.freedesktop.org/wiki/Software/HarfBuzz
-harfbuzz:
-harfbuzz:
-harfbuzz:
-harfbuzz:
-harfbuzz:
-harfbuzz: