From 17699b895c65f0de872fed1bea97f1677ee2c35a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 25 May 2010 10:02:47 +0000 Subject: [PATCH] - add utf8-string-0.3.4 - run xdg-open on svg file - short description --- pkg-deps.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg-deps.sh b/pkg-deps.sh index b181215..4a7d753 100755 --- a/pkg-deps.sh +++ b/pkg-deps.sh @@ -1,5 +1,8 @@ #!/bin/sh +# script to generate dependency graph for fedora haskell libraries +# requires ghc, ghc-*-devel and graphviz to be installed + set -e mkdir -p .pkg-deps @@ -10,9 +13,11 @@ ghc-pkg dot --global > pkgs.dot cp -p pkgs.dot pkgs.dot.orig -GHC_PKGS="array base-4 base-3 bin-package-db bytestring Cabal containers directory dph extensible-exceptions filepath ghc-6.12 ghc-binary ghc-prim haskell98 hpc integer-gmp old-locale old-time pretty process random syb template-haskell time unix Win32" +GHC_PKGS="array base-4 base-3 bin-package-db bytestring Cabal containers directory dph extensible-exceptions filepath ghc-6.12 ghc-binary ghc-prim haskell98 hpc integer-gmp old-locale old-time pretty process random syb template-haskell time unix utf8-string-0.3.4 Win32" # ignore library packages provided by ghc for i in $GHC_PKGS; do sed -i -e /$i/d pkgs.dot; done cat pkgs.dot | tred | dot -Nfontsize=8 -Tsvg >pkgs.svg + +xdg-open pkgs.svg