diff options
author | Arn0 <yth@ythogtha.org> | 2022-05-04 17:02:16 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-07 13:59:25 +0700 |
commit | b56fa5a4781c43d3583c1279443cc3dc0c81df02 (patch) | |
tree | 07cf4206832b90e2cc2dbab0e272f24e051bdd1c | |
parent | 508a40723580cc99200389f025ed62c8f9a240b1 (diff) |
graphics/graphviz: Updated for version 3.0.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/graphviz/README | 6 | ||||
-rw-r--r-- | graphics/graphviz/graphviz.SlackBuild | 19 | ||||
-rw-r--r-- | graphics/graphviz/graphviz.info | 10 | ||||
-rw-r--r-- | graphics/graphviz/graphviz.ini | 2 |
4 files changed, 13 insertions, 24 deletions
diff --git a/graphics/graphviz/README b/graphics/graphviz/README index b37934c286c7b..b7a84ae8ef40e 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 f869e4c5cf7d2..b01c7229ede09 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 <rworkman@slackbuilds.org> # Copyright 2011 Heinz Wiesinger <pprkut@slackbuilds.org> # Copyright 2013-2017 Audrius Kažukauskas <audrius@neutrino.lt> @@ -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 9d3fe129527e8..9cdb92c408951 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 86c17067c5797..107db738b0a77 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: ; <?php -; include ('/usr/lib@LIBDIRSUFFIX@/graphviz/php/gv.php'); +; include ('/usr/share/php/gv.php'); ; ?> |