Subject: [alpine-aports] [PATCH] main/graphviz: fix dotty and lneato X11 graph editors

From: Marc Vertes <[email-masked]>
Date: Fri, 29 Jun 2018 17:00:33 +0200

Add libxaw to dev dependencies to build lefty programmable graph
editor, in turn used by dotty and lneato, already installed but
not functional without lefty.

Add a TTF font in explicit depends, to allow remote X11 display
of graphs from headless (VM or docker) client, when using
"dot -Txlib". I added ttf-droid, small and coming from main.
---
 main/graphviz/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/main/graphviz/APKBUILD b/main/graphviz/APKBUILD
index 424966bfee..612bb7b639 100644
--- a/main/graphviz/APKBUILD
+++ b/main/graphviz/APKBUILD
@@ -3,17 +3,19 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=graphviz
 pkgver=2.40.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Graph Visualization Tools"
 url="http://www.graphviz.org/"
 arch="all"
 license="EPL-1.0"
 _luaver=5.3
-depends_dev="zlib-dev libpng-dev libjpeg-turbo-dev expat-dev
+depends_dev="zlib-dev libpng-dev libjpeg-turbo-dev expat-dev libxaw-dev
 	fontconfig-dev libsm-dev libxext-dev cairo-dev pango-dev
 	librsvg-dev gmp-dev freetype-dev"
 makedepends="$depends_dev flex swig python2-dev m4 libtool
 	bison gtk+2.0-dev lua$_luaver-dev libltdl tcl autoconf automake"
+# Explicitely depends on a TTF font for headless X11 display
+depends="ttf-droid"
 install="$pkgname.pre-deinstall"
 triggers="$pkgname.trigger=/usr/lib/graphviz"
 subpackages="$pkgname-dev $pkgname-doc py2-gv:py lua$_luaver-$pkgname:_lua
-- 
2.18.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---