User Tools

Site Tools


Prepare your Ubuntu distro for PPA building and uploading

Package to install

sudo apt-get install build-essential subversion svn-buildpackage git pbuilder debhelper \
debian-builder devscripts dput lintian patchutils gettext quilt \
ubuntu-dev-tools fakeroot piuparts gnupg2 gnupg-agent \
qt4-dev-tools libqt4-dev zlib1g-dev zlib1g libopencv-highgui-dev libhighgui-dev libopencv-video-dev \

Personnal (Eric)

  • Receive key from Ubuntu server
    gpg --keyserver --recv-keys 3FA0BBEF
  • To export your secret keys, use:
    gpg --export-secret-key -a > secret.key
  • and to import them again:
    gpg --import secret.key

Building for Ubuntu 12.04

Instructions to build FreeMedForms 0.9.4 on Ubuntu 12.04:


PPA build script will complain about the absence of qtchooser package, which doesn't exist in Ubuntu 12.04, the solution is to delete the qtchooser line in file trunk/debian/control (look for Build-Depends:)


For unknown reasons uscan will complain about the certificate of ( redirects automatically to the https version). failed: 500 Can't connect to (certificate verify failed)
Couldn't find a tarball

Solution is to put the tarball freemedforms-project-src_0.9.4.tgz directly in folder /ppa_freemedforms-project_0.9.4/precise/tarballs and rename it freemedforms-project_0.9.4.orig.tar.gz

Always download the signature file and verify the integrity of the tarball with

gpg --verify tarball.sig tarball

Check the developers's fingerprints on the download page, through the web of trust or meet them at the next Libre Software Meeting for in-person verification.


libquazip package doesn't exist for Ubuntu 12.04, quazip needs to be built from the source code (version 0.5.1) inside contrib/libquazip folder

To do: update libquazip source to 0.7.1 and try to build

We need to

  • remove all references to libquazip-dev from precise/trunk/debian/control
  • delete “CONFIG+=dontbuildquazip” flag from precise/tags/0.9.4-1/rules
en/code/prepare_ubuntu.txt · Last modified: 2016/08/23 00:16 by