]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Added some documentation about how to build your own Vala
authorPhilip Van Hoof <pvanhoof@gnome.org>
Sat, 28 Jul 2007 12:21:20 +0000 (12:21 +0000)
committerPhilip Van Hoof <pvanhoof@src.gnome.org>
Sat, 28 Jul 2007 12:21:20 +0000 (12:21 +0000)
2007-07-28  Philip Van Hoof  <pvanhoof@gnome.org>

        * doc/building.txt: Added some documentation about how to build your
        own Vala

svn path=/trunk/; revision=410

ChangeLog
doc/building.txt [new file with mode: 0644]

index a37984c59457cda0b4d0d09cd66007962e51cdba..4c0e80b2953c42cafe0e249f3efdf47c37453cfa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-28  Philip Van Hoof  <pvanhoof@gnome.org>
+
+       * doc/building.txt: Added some documentation about how to build your
+       own Vala
+
 2007-07-27  Jürg Billeter  <j@bitron.ch>
 
        * configure.ac: Post-release version bump
diff --git a/doc/building.txt b/doc/building.txt
new file mode 100644 (file)
index 0000000..a4a7a89
--- /dev/null
@@ -0,0 +1,47 @@
+Step one:
+--------
+
+Install packages like a C compiler, glib-2.0, flex and bison
+TODO: complete this list
+
+Step two:
+---------
+
+Grab yourself a vala to c compiled release of vala. Vala is self-hosting so it
+needs another vala compiler to compile itself. Since vala compiles to C code,
+you can use a tarball release of vala to compile the generated C code of such
+a release into a working Vala compiler, that will compile the Vala compiler
+which you might have checked out from the repository
+
+http://live.gnome.org/Vala/Release
+
+Step three:
+-----------
+
+Compiling the release which you just grabbed:
+
+tar jxvf vala-x.y.x.tar.bz2
+cd vala-x.y.z
+./configure --prefix=/opt/vala-release
+make && sudo make install
+
+Step four:
+----------
+
+Compiling the newest Vala from the repository:
+
+svn co svn co svn+ssh://[user]@svn.gnome.org/svn/vala/trunk vala
+cd vala
+export VALAC=/opt/vala-release/bin/vala
+./autogen.sh --prefix=/opt/vala
+make && sudo make install
+
+Maybe you want to compile the new Vala with itself. Then you simply go over
+it again:
+
+make distclean
+export VALAC=/opt/vala/bin/vala
+./autogen.sh --prefix=/opt/vala
+make && sudo make install
+
+