Building the GSTLAL Dependency Package for Lenny

Preperation phase

Start in a fresh location by issuing the following commands:
mkdir -p gstlal/gst-deps-1.0/packages
cd gstlal/gst-deps-1.0/
and copy all tarballs into packages which gstlal depends upon, e.g. right now it looks like:
$ ls packages
glib-2.22.5.tar.gz              gst-plugins-base-0.10.32.tar.gz  gst-python-0.10.21.tar.gz  pygobject-2.18.0.tar.gz
gst-plugins-bad-0.10.21.tar.gz  gst-plugins-good-0.10.27.tar.gz  gstreamer-0.10.32.tar.gz   pygtk-2.8.6.tar.gz

Debianize it

Run
DEBFULLNAME="Your Name" DEBEMAIL="your@email.address" dh_make --createorig --single < /dev/null
which will create the orig tarball gst-deps_1.0.orig.tar.gz in the parent directory as well as the debian directory which we now enter cd debian.

Now let's clean this directory a bit
rm emacsen* gst-deps.* init.d.ex man* menu.ex post* pre* watch.ex
and start editing some files (changelog, copyright, README.Debian) where you can add something about this package. The file control is very important to get it right. At first we change the Section to lscsoft and the build depends line should get quite a lot of stuff:
Build-Depends: debhelper (>= 7.0.50~), lscsoft-frame, lscsoft-metaio, pkg-config, python, python-dev, lscsoft-lalapps, bison, flex, libxml2-dev
Set the home page to https://www.lsc-group.phys.uwm.edu/daswg/projects/gstlal.html if wanted and start editing the binary package description, e.g.
Package: gst-deps
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Installs the current GSTLAL dependencies under /opt
 GSTLAL needs a few upgraded packages which are included in this package.
 .
 The user needs to source the installed environment script to enable
 the contents placed under /opt.
-- CarstenAulbert - 09 Feb 2011
Topic revision: r3 - 10 Jan 2012, CarstenAulbert
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback