[26198] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25451 - trunk/debathena/meta/thirdparty-graphics/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Feb 14 16:34:56 2012

Date: Tue, 14 Feb 2012 16:34:55 -0500
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201202142134.q1ELYtIA006425@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2012-02-14 16:34:55 -0500 (Tue, 14 Feb 2012)
New Revision: 25451

Modified:
   trunk/debathena/meta/thirdparty-graphics/debian/changelog
   trunk/debathena/meta/thirdparty-graphics/debian/control.in
   trunk/debathena/meta/thirdparty-graphics/debian/rules
Log:
In thirdparty-graphics:
  * Add graphviz and xdot (the latter only when available)


Modified: trunk/debathena/meta/thirdparty-graphics/debian/changelog
===================================================================
--- trunk/debathena/meta/thirdparty-graphics/debian/changelog	2012-02-10 02:55:52 UTC (rev 25450)
+++ trunk/debathena/meta/thirdparty-graphics/debian/changelog	2012-02-14 21:34:55 UTC (rev 25451)
@@ -1,3 +1,9 @@
+debathena-thirdparty-graphics (1.1) unstable; urgency=low
+
+  * Add graphviz and xdot (the latter only when available)
+
+ -- Jonathan Reed <jdreed@mit.edu>  Tue, 14 Feb 2012 16:34:49 -0500
+
 debathena-thirdparty-graphics (1.0) unstable; urgency=low
 
   * First non-equivs version

Modified: trunk/debathena/meta/thirdparty-graphics/debian/control.in
===================================================================
--- trunk/debathena/meta/thirdparty-graphics/debian/control.in	2012-02-10 02:55:52 UTC (rev 25450)
+++ trunk/debathena/meta/thirdparty-graphics/debian/control.in	2012-02-14 21:34:55 UTC (rev 25451)
@@ -55,6 +55,8 @@
  xprint-utils,
  pdftoipe,
  mgp,
+ graphviz,
+ ${debathena-maybe-xdot},
  ${misc:Depends}
 Recommends: inventor-dev,
  inventor-clients,

Modified: trunk/debathena/meta/thirdparty-graphics/debian/rules
===================================================================
--- trunk/debathena/meta/thirdparty-graphics/debian/rules	2012-02-10 02:55:52 UTC (rev 25450)
+++ trunk/debathena/meta/thirdparty-graphics/debian/rules	2012-02-14 21:34:55 UTC (rev 25451)
@@ -1,3 +1,10 @@
 #!/usr/bin/make -f
 
+HAVE_XDOT = $(shell apt-cache show xdot 2>/dev/null | grep -q '^Version:' && echo y)
+
+ifeq ($(HAVE_XDOT),y)
+    binary-predeb/debathena-thirdparty-graphics::
+        echo "debathena-maybe-xdot=xdot" >> debian/debathena-thirdparty-graphics .substvars
+endif
+
 include /usr/share/cdbs/1/rules/debhelper.mk


home help back first fref pref prev next nref lref last post