User:Jaffa/Developing with Vala: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>bundyo
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== IDE ==
== Installing in Scratchbox ==
# Add extras and extras-devel to /etc/apt/sources.list.d in Scratchbox
# Install valac (and, optionally, libgee).


=== RPMs ===
For example:
http://mono.ximian.com/monobuild/snapshot/download-trunk/
/scratchbox/login
for j in '' '-src'; do for i in '' '-devel'; do
  echo "deb$j http://repository.maemo.org/extras$i diablo free non-free" >>/etc/apt/sources.list.d/extras-repo.list
done; done
apt-get update && apt-get install valac libgee


=== Debian/Ubuntu ===
== IDE ==
Backports: http://www.mono-project.com/Other_Downloads#Ubuntu_8.04_LTS_.28Hardy_Heron.29_-_backport_packages:
=== MonoDevelop 2.0 ===
 
MonoDevelop 2.0 is out and stable. The Vala plugin is still not top notch usability (completion is not always working) but the editor is good and easy to use.
Build [http://www.monodevelop.com/Download_-_Unstable Monodevelop v1.9] with add-ins:
* RPMs at http://download.opensuse.org/repositories/Mono/openSUSE_Factory/ for openSUSE 11.2 Factory
* RPMs at http://download.opensuse.org/repositories/Mono/openSUSE_11.1/ for openSUSE 11.1 Stable
* [http://www.internettablettalk.com/forums/showthread.php?p=201170#post201170 Setup instructions] by Bundyo


apt-get install mono-1.0-devel libmono-system-runtime2.0-cil libmono-winforms2.0-cil
=== Eclipse ===
wget http://go-mono.com/sources/mono-addins/mono-addins-0.3.1.tar.bz2 \
* [https://launchpad.net/valable Valable] is Eclipse plugin
      http://go-mono.com/sources/gtk-sharp-2.0/gtk-sharp-2.8.4.tar.bz2 \
* '''TODO''' How to install
      http://go-mono.com/sources/monodoc/monodoc-1.2.6.zip \
* [http://www.internettablettalk.com/forums/showthread.php?p=203154#post206712 Screenshots]
      http://go-mono.com/sources/monodevelop/monodevelop-1.9.tar.bz2
tar xjf mono-addins-0.3.1.tar.bz2 && \
    (cd mono-addins-0.3.1 && \
      ./configure && make && sudo make install)
unzip monodoc-1.2.6.zip && \
  (cd monodoc-1.2.6 && \
    ./configure && make && sudo make install)
tar xjf monodevelop-1.9.tar.bz2  && \
    (cd monodevelop-1.9 && \
      ./configure && make && sudo make install)

Latest revision as of 21:33, 21 June 2009

Installing in Scratchbox

  1. Add extras and extras-devel to /etc/apt/sources.list.d in Scratchbox
  2. Install valac (and, optionally, libgee).

For example:

/scratchbox/login
for j in  '-src'; do for i in  '-devel'; do
  echo "deb$j http://repository.maemo.org/extras$i diablo free non-free" >>/etc/apt/sources.list.d/extras-repo.list
done; done
apt-get update && apt-get install valac libgee

IDE

MonoDevelop 2.0

MonoDevelop 2.0 is out and stable. The Vala plugin is still not top notch usability (completion is not always working) but the editor is good and easy to use.

Eclipse