[Lunar-commits] <moonbase> dia: Version bump. A slight alteration to the DETAILS. Additionally,

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Mar 23 11:57:24 CET 2011


commit 0bdc13da9998c3e2181dbe2e21465d550852345e
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Mar 23 06:57:24 2011 -0400

    dia: Version bump. A slight alteration to the DETAILS. Additionally,
    
    its swig version detection logic is a bit broken. Configure will stop
    claiming swig-2.0.2 !>= 1.3.31, a simple sedit skirts around that.
---
 x11-apps/dia/BUILD   |    9 +++++++--
 x11-apps/dia/DETAILS |    9 +++++----
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/x11-apps/dia/BUILD b/x11-apps/dia/BUILD
index 4b694c0..ba76502 100644
--- a/x11-apps/dia/BUILD
+++ b/x11-apps/dia/BUILD
@@ -1,8 +1,13 @@
 (
 
-  export LIBART_CONFIG=/usr/bin/libart2-config
+  export LIBART_CONFIG=/usr/bin/libart2-config &&
 
-  OPTS+=" --with-python --enable-debug=no --disable-db2html"
+  OPTS+=" --with-python --enable-debug=no --disable-db2html" &&
+
+  if in_depends $MODULE swig; then
+    SWIG_VER="`lvu version swig`" &&
+    sedit "s:1.3.31:$SWIG_VER:g" configure
+  fi &&
 
   default_build
 
diff --git a/x11-apps/dia/DETAILS b/x11-apps/dia/DETAILS
index 50e2904..bb1c48f 100644
--- a/x11-apps/dia/DETAILS
+++ b/x11-apps/dia/DETAILS
@@ -1,11 +1,12 @@
           MODULE=dia
-         VERSION=0.97
+           MAJOR=0.97
+         VERSION=${MAJOR}.1
           SOURCE=$MODULE-$VERSION.tar.bz2
-      SOURCE_URL=$GNOME_URL/sources/$MODULE/$VERSION/
-      SOURCE_VFY=sha1:1c5a727e9e4f59b823a4616fc881055006eb8b96
+      SOURCE_URL=$GNOME_URL/sources/$MODULE/${MAJOR}/
+      SOURCE_VFY=sha1:ea35e0e0f2f75b69e22faa38968e0803a8ab4f47
         WEB_SITE=http://live.gnome.org/Dia
          ENTERED=20010922
-         UPDATED=20090812
+         UPDATED=20110323
            SHORT="program for creating diagrams of all kinds"
 
 cat << EOF


More information about the Lunar-commits mailing list