Gpredict Packaging Status
All dependencies are available. It is just a matter of creating a DEB and uploading to PPA.
- https://wiki.ubuntu.com/PackagingGuide → https://wiki.ubuntu.com/PackagingGuide/Complete
There are two videos explaining the basics of packaging using a simple example:
- See complete list: https://wiki.ubuntu.com/MOTU/Videos
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/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk
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. I was using the cdbs trick above.
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 http://gtk-osx.sourceforge.net/
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: http://www.opensource.apple.com/ – MacPorts might be an option but I don't really want X11...
http://www.gtk.org/download-windows.html - 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 http://cvs.savannah.gnu.org/viewvc/xlog/xlog/
Should be able to build once Gtk+ is set up for build.
- For windows there are pre-compiled binaries at http://curl.haxx.se/download.html
Latest hamlib is avaialble as win32 package.
tgz that can be unpacked anywhere. Needs mod to compat.h for locating data files.