openscenegraph package for Debian GNU/Linux

The Debian GNU/Linux package for OpenSceneGraph required that a FTBFS bug (Fail To Build From Source) was fixed. The result was uploaded to Debian GNU/Linux. New categories were added to the TODO and obsolete files were removed from the candidate 2.9.11-1 release that has been published in experimental. The old openscenegraph package page was obsoleted.

catching up with the packaging group

Alberto Luaces suggested directions in reply to the announce that work would be done on March 13th, 2011.
After reading all posts from the pkg-osg-devel mailing list, the following tasks were created:

A review of the TODO list introduced the following changes:

  • Remove GLU dependency was closed because marked 100% done
  • Three new categories were created to dispatch the tasks : osg-2.8, osg-2.9 and osg-2.10
  • The task 475 was assigned to osg-2.8 category and all other were assigned the osg-2.9 category.

building OpenSceneGraph-2.8.3-7

The goal was to fix the FTBFS and close the corresponding task. Although the machine that used to host the building of the packages has been obsoleted in favor of the forge hosted git repository, it was used to build the release.
The ssh key was uploaded to loic account. But the update of the backend file takes some time and it was not possible to extract the read/write version immediately. The debian package files were extracted using the read-only command:

git clone https://alioth.debian.org/anonscm/git/pkg-osg/pkg-osg.git

After reviewing the proposed patch for #614467, the debian/changelog was updated to create -7

diff --git a/openscenegraph/debian/changelog b/openscenegraph/debian/changelog
index bd113d4..6769c81 100644
--- a/openscenegraph/debian/changelog
+++ b/openscenegraph/debian/changelog
@@ -1,3 +1,9 @@
+openscenegraph (2.8.3-7) unstable; urgency=low
+
+  * Rearranged headers to compile with ffmpeg 0.6. This is solved in current SVN. (Closes: #614467).
+
+ -- Loic Dachary (OuoU)   Sun, 13 Mar 2011 01:27:54 +0100
+
 openscenegraph (2.8.3-6) unstable; urgency=low

   * Bump Standards-Version to 3.9.1 (no changes needed)

The distribution tarbal was downloaded from the the Debian GNU/Linux pool

cd pkg-osg
wget http://ftp.debian.org/debian/pool/main/o/openscenegraph/openscenegraph_2.8.3.orig.tar.gz

The source package was created

dpkg-buildpackage -S -uc -us

A sid pbuilder was created with

pbuilder --create

To speed up the build, ccache and parallel compilations were activated by adding the following to ~/.pbuilderrc

# ccache
export CCACHE_DIR="/var/cache/pbuilder/ccache"
export PATH="/usr/lib/ccache:${PATH}"
export CC='ccache cc'
export CXX='ccache c++'
# use multiple cores
export DEB_BUILD_OPTIONS=parallel=4

and then fed with the source package

pbuilder --build openscenegraph_2.8.3-7.dsc

The build requires a lot of disk space and the virtual machine had to be resized. On that occasion, instead of adding a new disk, the partition table was altered to grow the existing partition.
After being signed, the package was uploaded

$ dupload openscenegraph_2.8.3-7.dsc
Checking signatures before upload......signatures are ok
Uploading (ftp) to ftp-master.debian.org:/pub/UploadQueue
[ job openscenegraph_2.8.3-7_amd64 from openscenegraph_2.8.3-7_amd64.changes
 openscenegraph_2.8.3-7_amd64.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
 libopenthreads13_2.8.3-7_amd64.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
 openscenegraph_2.8.3-7.dsc, size ok, md5sum ok, sha1sum ok, sha256sum ok
 libopenscenegraph-dev_2.8.3-7_amd64.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
 libopenscenegraph65_2.8.3-7_amd64.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
 openscenegraph_2.8.3-7.diff.gz, size ok, md5sum ok, sha1sum ok, sha256sum ok
 libopenthreads-dev_2.8.3-7_amd64.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
 openscenegraph-doc_2.8.3-7_all.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
 openscenegraph-examples_2.8.3-7_all.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
 openscenegraph_2.8.3-7_amd64.changes ok ]
Uploading (ftp) to ftp-master (ftp-master.debian.org)
+ FTP passive mode selected
[ Uploading job openscenegraph_2.8.3-7_amd64
 openscenegraph_2.8.3-7_amd64.deb 2544.6 kB, ok (58 s, 43.87 kB/s)
 libopenthreads13_2.8.3-7_amd64.deb 20.2 kB, ok (1 s, 20.16 kB/s)
 openscenegraph_2.8.3-7.dsc 1.7 kB, ok (1 s, 1.71 kB/s)
 libopenscenegraph-dev_2.8.3-7_amd64.deb 9874.8 kB, ok (321 s, 30.76 kB/s)
 libopenscenegraph65_2.8.3-7_amd64.deb 34922.5 kB, ok (407 s, 85.80 kB/s)
 openscenegraph_2.8.3-7.diff.gz 20.8 kB, ok (1 s, 20.80 kB/s)
 libopenthreads-dev_2.8.3-7_amd64.deb 28.6 kB, ok (1 s, 28.58 kB/s)
 openscenegraph-doc_2.8.3-7_all.deb 9689.1 kB, ok (99 s, 97.87 kB/s)
 openscenegraph-examples_2.8.3-7_all.deb 552.6 kB, ok (6 s, 92.09 kB/s)
 openscenegraph_2.8.3-7_amd64.changes 3.8 kB, ok (1 s, 3.80 kB/s) ]

improvements on OpenSceneGraph-2.9.11

The old control.* files in the debian directory were removed. They depend on packaging-farm which is no longer used for building the releases.

obsoleting openscenegraph.dachary.org

The historical openscenegraph page related to Debian packages has been edited to redirect visitors to the forge. This machine will only be kept for archival purposes as it contains 20GB worth of ancient packages and build environments. The collaboration between the openscenegraph maintainers allow each of them to take turns and share the burden.

This entry was posted in OpenSceneGraph. Bookmark the permalink.

One Response to openscenegraph package for Debian GNU/Linux

  1. Alberto Luaces says:

    Very nice summary! Just to nitpick, :) I think that in addition of resizing the partition, one has to resize the filesystem as well with a program like resize2fs for ext[2-4]. Or is it that you have automated also that part?

    I will post an update once I try pbuilder-uml.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>