I started playing with Vala this week and since the best way to learn is to write an application, I created simple vala application named sampala
(and because I know you're wondering what the hell sampala means: samp
What sampala does? Nothing useful. It simply displays gauge with moving needle.
Where can you get sampala? Sources are available from GitHub
. In order to compile git sources, you'll need git, automake >= 1.11 (older version won't work with my sources), autoconf, intltool (gettext), gnome-autogen.sh and vala installed along other GTK+ dependencies. After all of the prerequisites are installed, just run:
./autogen.sh && make
or Ubuntu users
./autogen.sh && make && sudo make install
If you're only interested in how does this application works, I also created distributable tarball
. To compile this package, you'll only need normal GTK+ compile time tools (vala files in this file are already compiled into C code, so no valac is needed).
Hopefully, someone will find it useful.
Have a nice day.