From b56fa5a4781c43d3583c1279443cc3dc0c81df02 Mon Sep 17 00:00:00 2001 From: Arn0 Date: Wed, 4 May 2022 17:02:16 +0200 Subject: graphics/graphviz: Updated for version 3.0.0. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- graphics/graphviz/README | 6 ++---- graphics/graphviz/graphviz.SlackBuild | 19 +++++-------------- graphics/graphviz/graphviz.info | 10 +++++----- graphics/graphviz/graphviz.ini | 2 +- 4 files changed, 13 insertions(+), 24 deletions(-) (limited to 'graphics') diff --git a/graphics/graphviz/README b/graphics/graphviz/README index b37934c286c7..b7a84ae8ef40 100644 --- a/graphics/graphviz/README +++ b/graphics/graphviz/README @@ -7,7 +7,5 @@ diagrams of abstract graphs and networks. Automatic graph drawing has many important applications in software engineering, database and web design, networking, and in visual interfaces for many other domains. -gts is an optional dependency. - -NOTE: Upstream doesn't version their downloads, so the MD5SUM and -VERSION numbers might not match. +gts and DevIL are autodetected optional dependencies. +ocaml is an optional dependency, if you want OCaml bindings. diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild index f869e4c5cf7d..b01c7229ede0 100644 --- a/graphics/graphviz/graphviz.SlackBuild +++ b/graphics/graphviz/graphviz.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for graphviz +# Copyright 2022 Yth | Pont-en-Royans, France | yth@ythogtha.org # Copyright 2007 Robby Workman # Copyright 2011 Heinz Wiesinger # Copyright 2013-2017 Audrius Kažukauskas @@ -27,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=graphviz -VERSION=${VERSION:-2.40.1} +VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -72,7 +73,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -81,15 +82,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Install PHP bindings to proper location. -sed -i 's|/php/modules|/php/extensions|' configure - -# Fix for php-5.4 -patch -p1 -i $CWD/php_5.4_compat.patch - -# Patch from Arch (thanks!) -patch -p1 -i $CWD/ghostscript918.patch - +./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ @@ -98,8 +91,6 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --disable-static \ - --enable-ocaml=no \ - --enable-php=no \ --build=$ARCH-slackware-linux make @@ -107,7 +98,7 @@ make install-strip DESTDIR=$PKG # Install config file for PHP. mkdir -p $PKG/etc/php.d -sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/graphviz.ini > $PKG/etc/php.d/graphviz.ini.new +cat $CWD/graphviz.ini > $PKG/etc/php.d/graphviz.ini.new 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 diff --git a/graphics/graphviz/graphviz.info b/graphics/graphviz/graphviz.info index 9d3fe129527e..9cdb92c40895 100644 --- a/graphics/graphviz/graphviz.info +++ b/graphics/graphviz/graphviz.info @@ -1,10 +1,10 @@ PRGNAM="graphviz" -VERSION="2.40.1" +VERSION="3.0.0" HOMEPAGE="https://www.graphviz.org/" -DOWNLOAD="https://graphviz.gitlab.io/pub/graphviz/stable/SOURCES/graphviz.tar.gz" -MD5SUM="4ea6fd64603536406166600bcc296fc8" +DOWNLOAD="https://gitlab.com/graphviz/graphviz/-/archive/3.0.0/graphviz-3.0.0.tar.bz2" +MD5SUM="10ca2332031486b4d7ac39ecf17349e5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Audrius Kažukauskas" -EMAIL="audrius@neutrino.lt" +MAINTAINER="Yth - Arnaud" +EMAIL="yth@ythogtha.org" diff --git a/graphics/graphviz/graphviz.ini b/graphics/graphviz/graphviz.ini index 86c17067c579..107db738b0a7 100644 --- a/graphics/graphviz/graphviz.ini +++ b/graphics/graphviz/graphviz.ini @@ -8,5 +8,5 @@ ; In case you still prefer to use the wrapper class you have to ; include it using its absolute path: ; -- cgit v1.2.3