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>
This commit is contained in:
parent
508a407235
commit
b56fa5a478
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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');
|
||||
; ?>
|
||||
|
|
Loading…
Reference in New Issue