[Lunar-commits] <moonbase> ve: added PRE_BUILD to unpack zip correctly

Duncan Gibson engelsman at lunar-linux.org
Wed Sep 16 22:27:26 CEST 2009


commit c8d27866c52005691bcd4f5cdbddbced0efbdf56
Author: Duncan Gibson <duncan.gibson at xs4all.nl>
Date:   Wed Sep 16 22:27:26 2009 +0200

    ve: added PRE_BUILD to unpack zip correctly
    
    unlike emg-xsd and gef, the ve zip file does not contain the
    top-level 'eclipse' directory, so was not being unpacked in
    the right place...
    
    also now builds on top of eclipse-jee and not eclipse-bin
    
    Note there are some funny things going on. The integration
    build featured on the Eclipse/VE download page is no longer
    available, and this one only installs from within eclipse :-(
---
 eclipse/ve/DEPENDS   |    3 +--
 eclipse/ve/DETAILS   |    5 +++--
 eclipse/ve/PRE_BUILD |    7 +++++++
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/eclipse/ve/DEPENDS b/eclipse/ve/DEPENDS
index 4e95bb0..511bfb5 100644
--- a/eclipse/ve/DEPENDS
+++ b/eclipse/ve/DEPENDS
@@ -1,2 +1 @@
-depends emf-xsd
-depends gef
+depends eclipse-jee
diff --git a/eclipse/ve/DETAILS b/eclipse/ve/DETAILS
index 56201b0..4f550fd 100644
--- a/eclipse/ve/DETAILS
+++ b/eclipse/ve/DETAILS
@@ -3,15 +3,16 @@
            EXTRA=I200908111513
           SOURCE=VE-Update-$EXTRA.zip
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/eclipse
-      SOURCE_URL=ftp://mirror.switch.ch/mirror/eclipse/tools/ve/downloads/drops/$VERSION/$EXTRA/
+      SOURCE_URL=ftp://mirror.switch.ch/mirror/eclipse/tools/vep/downloads/drops/$VERSION/$EXTRA/
       SOURCE_VFY=sha1:faf18ab46330315a7e42d36f2783f5f74700bb72
         WEB_SITE=http://eclipse.org/vep/
          ENTERED=20040728
-         UPDATED=20090915
+         UPDATED=20090916
            SHORT="framework for creating GUI for Eclipse."
 cat << EOF
 The Eclipse Visual Editor is a framework for creating GUI for Eclipse.
 
 Note: this is an integration build rather than a fixed release,
 so the exact version and build number could change frequently!
+You might have to update from the zip file from within eclipse.
 EOF
diff --git a/eclipse/ve/PRE_BUILD b/eclipse/ve/PRE_BUILD
new file mode 100644
index 0000000..f48981d
--- /dev/null
+++ b/eclipse/ve/PRE_BUILD
@@ -0,0 +1,7 @@
+# unlike the other eclipse modules, such as emf-xsd and gef, the
+# VE zip file doesn't  contain the top level eclipse directory,
+# so we need to create it and make sure we unpack there...
+
+mk_source_dir $SOURCE_DIRECTORY  &&
+cd $SOURCE_DIRECTORY &&
+unpack $SOURCE 


More information about the Lunar-commits mailing list