diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-02 13:58:17 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 15:56:42 +0700 |
commit | 091cfca8144023e985a4c0fac66a8cc15d6a39b7 (patch) | |
tree | 28ca30a0bbf2b03d8a0f803aecf42e1f8443447f | |
parent | 1c30d5e0ebd1b91bad657e9d3aeacb797a6b7f37 (diff) | |
download | slackbuilds-091cfca8144023e985a4c0fac66a8cc15d6a39b7.tar.gz |
graphics/k3d: Removed (FTBFS).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/k3d/README | 12 | ||||
-rw-r--r-- | graphics/k3d/doinst.sh | 4 | ||||
-rw-r--r-- | graphics/k3d/gcc7.patch | 23 | ||||
-rw-r--r-- | graphics/k3d/k3d.SlackBuild | 131 | ||||
-rw-r--r-- | graphics/k3d/k3d.desktop | 11 | ||||
-rw-r--r-- | graphics/k3d/k3d.info | 10 | ||||
-rw-r--r-- | graphics/k3d/slack-desc | 19 |
7 files changed, 0 insertions, 210 deletions
diff --git a/graphics/k3d/README b/graphics/k3d/README deleted file mode 100644 index 73741ac528..0000000000 --- a/graphics/k3d/README +++ /dev/null @@ -1,12 +0,0 @@ -K-3D is free-as-in-freedom 3D modeling and animation software. It -features a plugin-oriented procedural engine for all of its content, -making K-3D a very versatile and powerful package. - -K-3D excels at polygonal modeling, and includes basic tools for NURBS, -patches, curves and animation. - -Optional dependencies: - -gtksourceview -libgnome -OpenCASCADE diff --git a/graphics/k3d/doinst.sh b/graphics/k3d/doinst.sh deleted file mode 100644 index 4e8ba7071d..0000000000 --- a/graphics/k3d/doinst.sh +++ /dev/null @@ -1,4 +0,0 @@ -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/graphics/k3d/gcc7.patch b/graphics/k3d/gcc7.patch deleted file mode 100644 index 887eeb8bd3..0000000000 --- a/graphics/k3d/gcc7.patch +++ /dev/null @@ -1,23 +0,0 @@ -From d9786540a205bec0b381f339497d7c2cce00376b Mon Sep 17 00:00:00 2001 -From: Jonathan Wakely <jwakely@redhat.com> -Date: Wed, 1 Feb 2017 02:07:28 +0000 -Subject: [PATCH] Add required header for ostream operations - -This file uses std::ostream::operator<<(double) without including -<ostream> and so fails to compile using GCC 7. ---- - k3dsdk/measurement.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/k3dsdk/measurement.h b/k3dsdk/measurement.h -index 9edf7aef..67df5aa0 100644 ---- a/k3dsdk/measurement.h -+++ b/k3dsdk/measurement.h -@@ -27,6 +27,7 @@ - - #include <cassert> - #include <iosfwd> -+#include <ostream> - #include <map> - #include <string> - #include <typeinfo> diff --git a/graphics/k3d/k3d.SlackBuild b/graphics/k3d/k3d.SlackBuild deleted file mode 100644 index 180910ca47..0000000000 --- a/graphics/k3d/k3d.SlackBuild +++ /dev/null @@ -1,131 +0,0 @@ -#!/bin/bash - -# Slackware build script for k3d -# 3D modeling and animation software - -# Copyright 2010 Larry Hajali <larryhaja[at]gmail[dot]com> -# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil -# 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. -# -# Maintained by David Spencer <baildon.research@googlemail.com> - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=k3d -VERSION=${VERSION:-0.8.0.6} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -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-$PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$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 {} \; - -# From upstream -patch -p1 < $CWD/gcc7.patch - -# Fix man install directory. -sed -i "s|share/man|man|" share/man/CMakeLists.txt - -# Fix location of libraries for 64-bits -sed -i "s|SET(K3D_LIBDIR lib)|SET(K3D_LIBDIR lib${LIBDIRSUFFIX})|" CMakeLists.txt - -mkdir k3d-build -cd k3d-build - cmake -G "Unix Makefiles" \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DK3D_BUILD_SVG_IO_MODULE=ON \ - -DK3D_BUILD_CGAL_MODULE=OFF \ - -DCMAKE_BUILD_TYPE=Release .. - - make VERBOSE=1 - 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 - -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 - -# Copy icon & desktop file to package -mkdir -p $PKG/usr/share/{applications,pixmaps} -cat $CWD/k3d.desktop > $PKG/usr/share/applications/k3d.desktop -cat web/k3d.png > $PKG/usr/share/pixmaps/k3d.png - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING INSTALL README \ - $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 diff --git a/graphics/k3d/k3d.desktop b/graphics/k3d/k3d.desktop deleted file mode 100644 index 42bd1225e0..0000000000 --- a/graphics/k3d/k3d.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Name=K-3D -Comment=3D modeling and animation software -Categories=Graphics; -Exec=k3d -Icon=k3d -Terminal=false -StartupNotify=false - diff --git a/graphics/k3d/k3d.info b/graphics/k3d/k3d.info deleted file mode 100644 index 9fe29db7ef..0000000000 --- a/graphics/k3d/k3d.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="k3d" -VERSION="0.8.0.6" -HOMEPAGE="http://www.k-3d.org/" -DOWNLOAD="https://github.com/K-3D/k3d/archive/k3d-0.8.0.6/k3d-k3d-0.8.0.6.tar.gz" -MD5SUM="129e051a1e724c14139808c25cd170f0" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="graphviz gtkglext ftgl" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" diff --git a/graphics/k3d/slack-desc b/graphics/k3d/slack-desc deleted file mode 100644 index ae316fac81..0000000000 --- a/graphics/k3d/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------------------------------------------------------| -k3d: k3d (3D modeling and animation software) -k3d: -k3d: K-3D is free-as-in-freedom 3D modeling and animation software. -k3d: It features a plugin-oriented procedural engine for all of its -k3d: content, making K-3D a very versatile and powerful package. K-3D -k3d: excels at polygonal modeling, and includes basic tools for NURBS, -k3d: patches, curves and animation. -k3d: -k3d: Homepage: http://www.k-3d.org/ -k3d: -k3d: |