Templates
This page lists some example code packages which you can use as templates when creating a new program that will be distributed using 0install, or as examples for your own programs.
- hello-python
- A simple Python program. Depends on Python 2.x using 0install. See the 0release tutorial for more information.
- c-prog
- A simple C program. Shows how to make a source package that can be used by 0compile to create a binary release. See 0release: binaries for details.
- hello-scons
- Another C program, but this time using SCons instead of Make as the build tool. See 0compile: Scons for details.
- hello-java
- A Java program, built using SCons. Gets SCons, the Java JDK and the Java JRE through 0install.
- testbin-cmake (experimental)
- A C program built using CMake. Note: CMake support is still experimental. The current CMake release (2.8.7) doesn't work with pathnames that contain the "=" character (which all 0install cached implementations do), so dup-src used to avoid this (see bug #12934). An alternative is to make a symlink to the real source code as the first step of the build. Also, the location of the cmake 0install feed is likely to change at some point.