mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
graphics/opengtl: Removed. Not compatible with llvm 3.3.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
81a3dde270
commit
3c68e64dc8
5 changed files with 0 additions and 184 deletions
|
@ -1,6 +0,0 @@
|
|||
The G of GTL means either Graphics or Generics, the T means
|
||||
Transformation and the L means Libraries or Languages.
|
||||
|
||||
The goal is to provide the tools, languages, and libraries to create
|
||||
generic transformation for graphics. Those transformations could then
|
||||
be used by different programs.
|
|
@ -1,47 +0,0 @@
|
|||
diff -up OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h.gcc47 OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h
|
||||
--- OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h.gcc47 2012-01-10 11:17:50.904275650 -0500
|
||||
+++ OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h 2012-01-10 11:17:57.860216380 -0500
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "GTLTest/Thread.h"
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#ifdef GTLTEST_HAVE_THREAD
|
||||
|
||||
class MyThreadTCTLCT : public GTLTest::Thread
|
||||
diff -up OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h.gcc47 OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h
|
||||
--- OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h.gcc47 2012-01-10 11:18:19.128035026 -0500
|
||||
+++ OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h 2012-01-10 11:18:28.365717117 -0500
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "GTLTest/Thread.h"
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#ifdef GTLTEST_HAVE_THREAD
|
||||
|
||||
class MyThreadTCTLRT : public GTLTest::Thread
|
||||
diff -up OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h.gcc47 OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h
|
||||
--- OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h.gcc47 2011-10-30 10:32:09.000000000 -0400
|
||||
+++ OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h 2012-01-10 11:16:41.936863656 -0500
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "GTLTest/Thread.h"
|
||||
+#include <unistd.h>
|
||||
|
||||
#ifdef GTLTEST_HAVE_THREAD
|
||||
|
||||
diff -up OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h.gcc47 OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h
|
||||
--- OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h.gcc47 2012-01-10 11:18:50.154530703 -0500
|
||||
+++ OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h 2012-01-10 11:18:59.409451568 -0500
|
||||
@@ -21,6 +21,8 @@
|
||||
#include "GTLCore/Image.h"
|
||||
#include "GTLCore/Type.h"
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#ifdef GTLTEST_HAVE_THREAD
|
||||
|
||||
class MyThreadTCTLKT : public GTLTest::Thread
|
|
@ -1,102 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for opengtl
|
||||
|
||||
# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands
|
||||
# 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=opengtl
|
||||
VERSION=0.9.16
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
SRCNAM=OpenGTL
|
||||
|
||||
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 $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
|
||||
cd $SRCNAM-$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 {} \;
|
||||
|
||||
# Fix compatibility with gcc 4.7
|
||||
patch -p1 -i $CWD/opengtl-0.9.17-gcc-4.7.patch
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLIB_SUFFIX="$LIBDIRSUFFIX" \
|
||||
..
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mv $PKG/usr/share/doc $PKG/usr
|
||||
mv $PKG/usr/doc/OpenGTL $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING $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}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="opengtl"
|
||||
VERSION="0.9.16"
|
||||
HOMEPAGE="http://www.opengtl.org/"
|
||||
DOWNLOAD="http://download.opengtl.org/OpenGTL-0.9.16.tar.bz2"
|
||||
MD5SUM="fada53a8e2ac2456fd1adce57357655a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Heinz Wiesinger"
|
||||
EMAIL="pprkut@liwjatan.at"
|
|
@ -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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
opengtl: opengtl (Graphics Transformation Library/Tools)
|
||||
opengtl:
|
||||
opengtl: The G of GTL means either Graphics or Generics, the T means
|
||||
opengtl: Transformation and the L means Libraries or Languages.
|
||||
opengtl:
|
||||
opengtl: The goal is to provide the tools, languages and libraries to create
|
||||
opengtl: generic transformation for graphics. Those transformations could then
|
||||
opengtl: be used by different programs.
|
||||
opengtl:
|
||||
opengtl: Homepage: http://www.opengtl.org/
|
||||
opengtl:
|
Loading…
Reference in a new issue