[Monodevelop-patches-list] r1935 - branches/MonoDevelop-plan-43
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Fri Aug 13 11:31:47 EDT 2004
Author: jzwart
Date: 2004-08-13 11:31:47 -0400 (Fri, 13 Aug 2004)
New Revision: 1935
Modified:
branches/MonoDevelop-plan-43/ChangeLog
branches/MonoDevelop-plan-43/default.build
Log:
2004-08-13 Jeroen Zwartepoorte <jeroen at xs4all.nl>
* default.build: don't hardcode the version dependencies; use
properties.
Modified: branches/MonoDevelop-plan-43/ChangeLog
===================================================================
--- branches/MonoDevelop-plan-43/ChangeLog 2004-08-13 15:16:15 UTC (rev 1934)
+++ branches/MonoDevelop-plan-43/ChangeLog 2004-08-13 15:31:47 UTC (rev 1935)
@@ -1,5 +1,10 @@
2004-08-13 Jeroen Zwartepoorte <jeroen at xs4all.nl>
+ * default.build: don't hardcode the version dependencies; use
+ properties.
+
+2004-08-13 Jeroen Zwartepoorte <jeroen at xs4all.nl>
+
* **/*.build: don't hardcode the paths to the dependencies.
* src/Core/core.build: install the monodevelop script.
* src/Core/monodevelop.in: script for starting monodevelop with the
Modified: branches/MonoDevelop-plan-43/default.build
===================================================================
--- branches/MonoDevelop-plan-43/default.build 2004-08-13 15:16:15 UTC (rev 1934)
+++ branches/MonoDevelop-plan-43/default.build 2004-08-13 15:31:47 UTC (rev 1935)
@@ -9,37 +9,43 @@
<property name="build.dir" value="${path::combine(basedir, 'build')}"/>
<property name="bin.dir" value="${path::combine(build.dir, 'bin')}"/>
<property name="lib.dir" value="${path::combine(build.dir, 'lib')}"/>
- <property name="share.dir" value="${path::combine(build.dir, 'share/monodevelop')}"/>
+ <property name="share.dir" value="${path::combine(build.dir, 'share/monodevelop')}"/>
+ <!-- dependency versions -->
+ <property name="gtk-sharp.version" value="1.2.99"/>
+ <property name="gnome-vfs-sharp.version" value="1.2.99"/>
+ <property name="gnome-sharp.version" value="1.2.99"/>
+ <property name="glade-sharp.version" value="1.2.99"/>
+ <property name="gtksourceview-sharp.version" value="0.3"/>
<!-- check for pkg-config dependencies and initialize properties -->
<target name="init" description="initializes build properties">
<!-- check for gtk-sharp-2.0 -->
<if test="${pkg-config::exists('gtk-sharp-2.0')}">
- <if test="${pkg-config::is-atleast-version('gtk-sharp-2.0', '1.2.99')}">
+ <if test="${pkg-config::is-atleast-version('gtk-sharp-2.0', gtk-sharp.version)}">
<property name="gtk-sharp.libs" value="${pkg-config::get-link-flags('gtk-sharp-2.0')}"/>
</if>
</if>
<!-- check for gnome-vfs-sharp-2.0 -->
<if test="${pkg-config::exists('gnome-vfs-sharp-2.0')}">
- <if test="${pkg-config::is-atleast-version('gnome-vfs-sharp-2.0', '1.2.99')}">
+ <if test="${pkg-config::is-atleast-version('gnome-vfs-sharp-2.0', gnome-vfs-sharp.version)}">
<property name="gnome-vfs-sharp.libs" value="${pkg-config::get-link-flags('gnome-vfs-sharp-2.0')}"/>
</if>
</if>
<!-- check for gnome-sharp -->
<if test="${pkg-config::exists('gnome-sharp-2.0')}">
- <if test="${pkg-config::is-atleast-version('gnome-sharp-2.0', '1.2.99')}">
+ <if test="${pkg-config::is-atleast-version('gnome-sharp-2.0', gnome-sharp.version)}">
<property name="gnome-sharp.libs" value="${pkg-config::get-link-flags('gnome-sharp-2.0')}"/>
</if>
</if>
<!-- check for glade-sharp -->
<if test="${pkg-config::exists('glade-sharp-2.0')}">
- <if test="${pkg-config::is-atleast-version('glade-sharp-2.0', '1.2.99')}">
+ <if test="${pkg-config::is-atleast-version('glade-sharp-2.0', glade-sharp.version)}">
<property name="glade-sharp.libs" value="${pkg-config::get-link-flags('glade-sharp-2.0')}"/>
</if>
</if>
<!-- check for gtksourceview-sharp -->
<if test="${pkg-config::exists('gtksourceview-sharp')}">
- <if test="${pkg-config::is-atleast-version('gtksourceview-sharp', '0.3')}">
+ <if test="${pkg-config::is-atleast-version('gtksourceview-sharp', gtksourceview-sharp.version)}">
<property name="gtksourceview-sharp.libs" value="${pkg-config::get-link-flags('gtksourceview-sharp')}"/>
</if>
</if>
@@ -79,11 +85,11 @@
<!-- output a list of required dependencies -->
<target name="dependencies" description="outputs a list of required dependencies">
<echo message="MonoDevelop requires the following dependencies:"/>
- <echo message=" gtk-sharp-2.0 >= 1.2.99"/>
- <echo message=" gnome-vfs-sharp-2.0 >= 1.2.99"/>
- <echo message=" gnome-sharp-2.0 >= 1.2.99"/>
- <echo message=" glade-sharp-2.0 >= 1.2.99"/>
- <echo message=" gtksourceview-sharp >= 0.4"/>
+ <echo message=" gtk-sharp-2.0 >= ${gtk-sharp.version}"/>
+ <echo message=" gnome-vfs-sharp-2.0 >= ${gnome-vfs-sharp.version}"/>
+ <echo message=" gnome-sharp-2.0 >= ${gnome-sharp.version}"/>
+ <echo message=" glade-sharp-2.0 >= ${glade-sharp.version}"/>
+ <echo message=" gtksourceview-sharp >= ${gtksourceview-sharp.version}"/>
<echo message=""/>
<echo message="Install these packages first before building MonoDevelop"/>
</target>
More information about the Monodevelop-patches-list
mailing list