User:Jaffa/Developing with Vala: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>jaffa
m Debian/Ubuntu: Using packages wherever possible
imported>bundyo
 
(4 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 ==
 
=== MonoDevelop 2.0 ===
Getting [http://www.monodevelop.com/Download_-_Unstable Monodevelop v1.9] with add-ins:
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.
* 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


# Add [http://www.mono-project.com/Other_Downloads#Ubuntu_8.04_LTS_.28Hardy_Heron.29_-_backport_packages: badgerports] repository.
=== Eclipse ===
# Download [http://ftp.novell.com/pub/mono/download/noarch/monodevelop/1.9-3/monodevelop-1.9-3.novell.noarch.rpm monodevelop-1.9-3.novell.noarch.rpm] and [http://go-mono.com/sources/mono-addins/mono-addins-0.3.1.tar.bz2 mono-addins-0.3.1.tar.bz2]
* [https://launchpad.net/valable Valable] is Eclipse plugin
# <code>apt-get install alien mono-runtime mono-1.0-devel libmono-system-runtime2.0-cil libmono-winforms2.0-cil gtk-sharp2 libmono-system2.0-cil libmono-corlib2.0-cil libmono2.0-cil</code>
* '''TODO''' How to install
# <code>alien -i monodevelop-1.9-3.novell.noarch.rpm</code>
* [http://www.internettablettalk.com/forums/showthread.php?p=203154#post206712 Screenshots]
# <code>tar xjf mono-addins-0.3.1.tar.bz2 && (cd mono-addins-0.3.1 && ./configure --prefix=/usr && make && sudo make install)</code>

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