Gpredict Packaging Status

From MyLabWiki
Revision as of 23:03, 1 October 2009 by Alex (Talk | contribs)

Jump to: navigation, search


All dependencies are available. It is just a matter of creating a DEB and uploading to PPA.

There are two videos explaining the basics of packaging using a simple example:


Since Gpredict is fully GNU autotools compliant and does not require any options to be specified, we can build using CDBS.

Using CDBS for Ubuntu packages is very easy, if the software you are packaging can be configured and built using the GNU autoconf tools (the "configure-make-make install" idiom). After adding cdbs to the Build-Depends in debian/control, a basic debian/rules file using CDBS can fit in 2 lines. For a simple C/C++ application with no extra rules, such as hello, debian/rules can look like this:

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/
include /usr/share/cdbs/1/class/

That is all you need to build the program! CDBS handles installing and cleaning. You can then use the .install and .info files to tune your package with the usual debhelper functions in the various sections for debian/rules.


Following the video tutorial steps I managed to create both the source (required for the PPA) and a binary .deb.

The binary was created using pbuilder. Before pbuilder is useful it has to be set up:

sudo pbuilder create

Moreover, since goocanvas is in universe it has to be enabled, otherwise it will not be able to resolve the dependency:

sudo pbuilder update --components "main restricted universe multiverse" --override-config

Mac OS X


Build, Bundle, and Integrate, see


Should be able to build as regular Gtk+-based library


  • For Mac I only see it via Mac ports. See however this Mac developer site: – MacPorts might be an option but I don't really want X11...



Gtk+ - though we want cross compilation, right. Build+installer. Compatibility matrix XP, Vista, 7. Is it enough with one 32 bit binary? Fortunately, Joop has figured it out


Should be able to build once Gtk+ is set up for build.



Latest hamlib is avaialble as win32 package.

Generic Linux

tgz that can be unpacked anywhere. Needs mod to compat.h for locating data files.