Ciao on Debian/Ubuntu systems

Currently the .deb packages available for download are generated from the rpm using alien. This is not optimal and it fact doesn't work well.

Debian has a comprenhensive policy for packages, quite different from RedHat?'s one, so it makes sense to have native debian packages for Ciao.

Experimental packages

egallego has built a set of experimental Debian packages for Ciao. The packages should work completely out of the box. I mean, just after installing them both ciao and the emacs mode should work, without needing to touch any config file. (In some setups, your /usr/local/ installed Ciao will take preference against this one, which installs to /usr/bin)

Those packages have been in use for a long time and users are very happy!

Downloading and building

The debian packaging files live in a subversion repository in clip:

$ svn co svn+ssh://clip.dia.fi.upm.es/home/egallego/clip/repos/ciao-debian/

Then cd into the tools directory and create a debian source package:

$ cd ciao-debian/tools
$ ./get_source.sh $PATH_TO_CIAO_SVN_CHECKOUT

Note that you need a svn checkout of ciao in order to do this. Now you should have a debian source package:

egallego@baal:~/fuentes/ciao/ciao-debian/debian/tools$ ls -l
total 33848
drwxr-xr-x 13 egallego egallego     4096 oct 22 18:26 ciao-prolog-1.13+svn20091022
-rw-r--r--  1 egallego egallego      234 oct 22 18:28 ciao-prolog_1.13+svn20091022-1.diff.gz
-rw-r--r--  1 egallego egallego     1122 oct 22 18:28 ciao-prolog_1.13+svn20091022-1.dsc
-rw-r--r--  1 egallego egallego 34590115 oct 22 18:28 ciao-prolog_1.13+svn20091022.orig.tar.gz
-rwxr-xr-x  1 egallego egallego      829 oct 22 18:28 get_source.sh

Building with cowbuilder [recommended]

A quick way to build the packages is using cowbuilder:

$ sudo cowbuilder --build ciao-prolog_1.13+svn20091022-1.dsc

You may need to do a cowbuilder --create first. You will get Ciao's Debian packages in /var/cache/pbuilder/result

Building without a chroot

If you want to build the packages directly from the sources you may use debuild:

$ cd $PACKAGE
$ debuild

Note that you need Ciao's build dependencies installed.

There are no plans as of today of distributing compiled versions.

Features

  • Multiarquitecture.
  • Automatic building.
  • Automatic setup of emacs modes.
  • Integration of documentation within Debian.
  • Debian Policy compliant.

Upstream showstopper bugs

This is a list of bugs that preclude Ciao from being distributed with Debian/Ubuntu.

See Ciao bugs preventing the inclusion on Debian