From c23ebe4beffe2d2f1604d31e4fb28f800579bdb9 Mon Sep 17 00:00:00 2001
From: Akin <easisbot@moria-vm.localdomain>
Date: Wed, 27 Oct 2010 16:13:59 +0200
Subject: [PATCH] [wip/mhp-genom] Release 2.9

This is an intermediate release that disables environment update and situation assessment functions. In version 3.0 these functions will be removed.

New:
 - Now the module needs to read sparkEnvironment poster to fetch and update the current environment.
 - by default the module compiles with simulation option to minimize dependencies

Changes:
 - Disabling of all Read* functions
 - Remove unused manipulation functions
---
 mhp-genom/Makefile  | 17 ++++++++++++++---
 mhp-genom/depend.mk |  2 +-
 mhp-genom/distinfo  |  6 +++---
 3 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/mhp-genom/Makefile b/mhp-genom/Makefile
index c541f36b..924cf6b2 100644
--- a/mhp-genom/Makefile
+++ b/mhp-genom/Makefile
@@ -2,7 +2,7 @@
 # Created:			Severin Lemaignan on Tue, 31 Aug 2010
 #
 
-DISTNAME=		mhp-genom-2.5.1
+DISTNAME=		mhp-genom-2.9
 CATEGORIES=		path
 MASTER_SITES=		${MASTER_SITE_OPENROBOTS:=mhp-genom/}
 MASTER_REPOSITORY=	git ssh://softs.laas.fr/git/robots/mhp-genom
@@ -55,13 +55,22 @@ endef
 PKG_OPTION_DESCR.simulation=	Compile MHP for simulation only
 PKG_OPTION_SET.simulation:=	GENOM_ARGS+= -DSIMULATION
 
-PKG_SUGGESTED_OPTIONS+=	jido
+##
+## SPARK synchonization
+##
+PKG_SUPPORTED_OPTIONS+=	spark
+PKG_OPTION_DESCR.spark=	Enable the support of synchro between spark and mhp
+
+define PKG_OPTION_SET.spark
+  GENOM_ARGS+= -DSPARK
+  include ../../wip/spark-genom/depend.mk
+endef
+
 
 ##
 ## Ontology server
 ##
 PKG_SUPPORTED_OPTIONS+=	oro
-PKG_SUGGESTED_OPTIONS+=	oro
 PKG_OPTION_DESCR.oro=	Enable the support of ORO ontology server
 
 define PKG_OPTION_SET.oro
@@ -71,6 +80,8 @@ endef
 
 #####################
 
+PKG_SUGGESTED_OPTIONS+=	simulation
+
 GENOM_MODULE=		mhp
 
 ## BioMove3D dependency
diff --git a/mhp-genom/depend.mk b/mhp-genom/depend.mk
index 34781759..58c0b66b 100644
--- a/mhp-genom/depend.mk
+++ b/mhp-genom/depend.mk
@@ -33,7 +33,7 @@ SYSTEM_SEARCH.mhp-genom=\
 
 DEPEND_USE+=		mhp-genom
 
-DEPEND_ABI.mhp-genom?=mhp-genom>=2.5.1
+DEPEND_ABI.mhp-genom?=mhp-genom>=2.9
 DEPEND_DIR.mhp-genom?=../../wip/mhp-genom
 
 #include ../../wip/??
diff --git a/mhp-genom/distinfo b/mhp-genom/distinfo
index 483d44db..55193d57 100644
--- a/mhp-genom/distinfo
+++ b/mhp-genom/distinfo
@@ -1,3 +1,3 @@
-SHA1 (mhp-genom-2.5.1.tar.gz) = 88aed0e5ba95ce1c0ab070deeb1aa975d00f2f29
-RMD160 (mhp-genom-2.5.1.tar.gz) = 1a8c1a43f105f856c60991c71cc2b1d8d9b0320a
-Size (mhp-genom-2.5.1.tar.gz) = 53702 bytes
+SHA1 (mhp-genom-2.9.tar.gz) = c039db04dc49065509f74663b4964dd1818466ae
+RMD160 (mhp-genom-2.9.tar.gz) = d645517d43e654733d74254a7445a2d396971341
+Size (mhp-genom-2.9.tar.gz) = 52661 bytes
-- 
GitLab