Tuesday, December 11, 2012

ninja on debian/squeeze

ninja has recently been uploaded to debian sid:

http://packages.qa.debian.org/n/ninja-build.html

However it needs a recent gtest to build. Here is an easy workaround:

$ apt-get source ninja-build
$ cd ninja-build-1.0.0/
$ vim debian/rules

replace :

./bootstrap.py -- --with-gtest=/usr/src/gtest/
with:
./bootstrap.py

$ export DEB_BUILD_OPTIONS=nocheck
$ dpkg-buildpackage -rfakeroot -us -uc -d

Et voilĂ  !

Tuesday, November 20, 2012

Migrating GDCM wiki

I am following instructions from sf.net admins to move gdcm wiki to new platform, however it failed with:
ref:
https://sourceforge.net/p/forge/community-docs/Migrating%20MediaWiki%20from%20Hosted%20Apps/

Saturday, November 3, 2012

pdebuild and experimental

One thing I keep forgetting about is how to setup my pbuilder env when I need a package I just build. Say you want to upload package foobar2 to experimental which depends on foobar1. So you need first to upload foobar1 to experimental and then foobar2... yes but how do you locally build foobar2 ?

Simple:
$ sudo pbuilder --login --save-after-login --inputfile $HOME/build-area/foobar1.deb