diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-11-14 20:36:54 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:27:27 -0500 |
commit | 099145a57b05d5b92c1c7e35253d772cdd7f06a9 (patch) | |
tree | 95dad56515e68997a32440de52c012b74c2700cd /graphics | |
parent | cce7645baa8571772162e7001c3e7f8de3fe7a8c (diff) |
graphics/graphite2: Removed (added to Slackware).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/graphite2/README | 10 | ||||
-rw-r--r-- | graphics/graphite2/graphite2.SlackBuild | 97 | ||||
-rw-r--r-- | graphics/graphite2/graphite2.info | 10 | ||||
-rw-r--r-- | graphics/graphite2/slack-desc | 19 |
4 files changed, 0 insertions, 136 deletions
diff --git a/graphics/graphite2/README b/graphics/graphite2/README deleted file mode 100644 index 03a0e630a8f7..000000000000 --- a/graphics/graphite2/README +++ /dev/null @@ -1,10 +0,0 @@ -Graphite is a system that can be used to create "smart fonts" capable -of displaying writing systems with various complex behaviors. A smart -font contains not only letter shapes but also additional instructions -indicating how to combine and position the letters in complex ways. - -Graphite was primarily developed to provide the flexibility needed for -minority languages which often need to be written according to slightly -different rules than well-known languages that use the same script. - -python3 is an optional dependency. diff --git a/graphics/graphite2/graphite2.SlackBuild b/graphics/graphite2/graphite2.SlackBuild deleted file mode 100644 index c047c832bf7d..000000000000 --- a/graphics/graphite2/graphite2.SlackBuild +++ /dev/null @@ -1,97 +0,0 @@ -#!/bin/sh - -# Slackware build script for graphite2 - -# Copyright 2015-2018, 2020 Hunter Sezen California, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=graphite2 -VERSION=${VERSION:-1.3.14} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -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 -eu - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tgz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 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} \ - -DCMAKE_SKIP_RPATH=TRUE \ - -DCMAKE_BUILD_TYPE=Release \ - -Wno-dev .. - 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 COPYING ChangeLog LICENSE README.md Todo.txt $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/graphics/graphite2/graphite2.info b/graphics/graphite2/graphite2.info deleted file mode 100644 index 3402fcc30039..000000000000 --- a/graphics/graphite2/graphite2.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="graphite2" -VERSION="1.3.14" -HOMEPAGE="http://graphite.sil.org/" -DOWNLOAD="https://github.com/silnrsi/graphite/releases/download/1.3.14/graphite2-1.3.14.tgz" -MD5SUM="1bccb985a7da01092bfb53bb5041e836" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Hunter Sezen" -EMAIL="orbea@riseup.net" diff --git a/graphics/graphite2/slack-desc b/graphics/graphite2/slack-desc deleted file mode 100644 index fb3e6e84185b..000000000000 --- a/graphics/graphite2/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------------------------------------------------------| -graphite2: graphite2 (rendering engine for graphite fonts) -graphite2: -graphite2: Graphite is a system that can be used to create "smart fonts" capable -graphite2: of displaying writing systems with various complex behaviors. A smart -graphite2: font contains not only letter shapes but also additional instructions -graphite2: indicating how to combine and position the letters in complex ways. -graphite2: -graphite2: Homepage: http://graphite.sil.org/ -graphite2: -graphite2: -graphite2: |