Page 1 of 1

Debian Package

Posted: Fri Jun 04, 2010 12:47 am
by adi
Hi Guys

Today I decided to do a proper Debian Package of Orxonox. I just opened an ITP (Intend to Package) in the Debian BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584496

I'll keep you updated about the packaging status in this thread.

Cheers, Adi

Re: Debian Package

Posted: Fri Jun 04, 2010 8:07 am
by greenman
cool, that would be very nice.
thanks for your dedication.

if you need any help regarding copyright, licenses, authors, etc. just let us know.

edit: i'm not sure whether anyone receives mails sent to orxonox [at] orxonox [dot] net ^^

Re: Debian Package

Posted: Tue Jun 08, 2010 12:10 am
by adi
A preview is available now:
http://people.ee.ethz.ch/~adrfried/orxonox/

There is a Debian and a freedesktop.org menu entry and a manpage :D . Debugging symbols are in the package orxonox-dbg and are automatically found by gdb.

Please report any ideas for improvement.

The technical part of the package is almost done. Still incomplete is the copyright file. The AUTHORS file in data_extern is a good start, but still lacks information. I haven't looked at the code copyright yet.

Re: Debian Package

Posted: Tue Jun 08, 2010 10:23 am
by x3n
cool :D thanks for your work!

Re: Debian Package

Posted: Tue Jun 08, 2010 5:54 pm
by greenman
cool, thanks a lot.

how's the best way of testing it? can i just use an ubuntu livecd and try to install it there and see whether everything works?

Re: Debian Package

Posted: Wed Jun 09, 2010 12:29 am
by adi
greenman wrote:can i just use an ubuntu livecd and try to install it there and see whether everything works?
Ubuntu does not have the same libboost version as I compiled my packages with. Maybe you can take them from Debian, or you can try rebuilding my packages with the source package:

Code: Select all

# install some tools
sudo aptitude install devscripts cowbuilder
# grab all the components of the source package
dget http://people.ee.ethz.ch/~adrfried/orxonox/orxonox_0.0.4+svn20100607-1.dsc
# in the meantime you can prepare the clean chroot which cowbuilder uses
sudo cowbuilder --create --components "main universe"
# finally build the package
sudo cowbuilder --build orxonox_0.0.4+svn20100607-1.dsc
*edit* cowbuilder create command for ubuntu fixed

After that your packages are available at /var/cache/pbuilder/result, cowbuilder --create needs only to be run once, further updates can be done with cowbuilder --update. Packages can also be built without a clean chroot but this is a better testing environment, as real Debian packages always get built in a clean chroot.

Re: Debian Package

Posted: Wed Jun 09, 2010 8:41 pm
by greenman
tried that (in a 32bit chroot) but so far without success. will try again later without chroot.

i added some of your packages to https://svn.orxonox.net/downloads/linux/debian
should i also add the other files or are they only neccessary when creating the packages ?

Re: Debian Package

Posted: Thu Jun 10, 2010 10:58 am
by adi
greenman wrote:tried that (in a 32bit chroot) but so far without success. will try again later without chroot.
Something does not work well with Ubuntu, Erwin is working on this.
greenman wrote:i added some of your packages to https://svn.orxonox.net/downloads/linux/debian
should i also add the other files or are they only neccessary when creating the packages ?
For a binary install this is sufficient.

Re: Debian Package

Posted: Fri Jun 11, 2010 2:21 pm
by erwin
Made a ubuntu package build, here so far, what i made:

Code: Select all

# grab all the components of the source package from adi
dget http://people.ee.ethz.ch/~adrfried/orxonox/orxonox_0.0.4+svn20100607-1.dsc
# unpack the source package
dpkg-source -x *.dsc
# change the version
cd orxonox-0.0.4+svn20100607
debchange -v 0.0.4+svn20100607-1ubuntu1 Rebuild for Ubuntu
# have now a look at debian/changelog
# make the package (-sa to include the orig sources)
# make sure you have cdbs installed
sudo debuild -S -sa
# put everything into the PPA
cd ..
dput ppa:orxonox/testing *.changes
# wait... ;-)
This are the basic steps. The resulting packages are now here:
https://launchpad.net/~orxonox/+archive/testing/.
Consider to add the above PPA to your system's sources (steps are described above), to get the updates automatically as soon as new versions get packed.
They are for Ubuntu 10.04, it should not be a problem to make some packages for other versions, just let me now which.

edit(greenman): made some corrections
edit: changed infos to the orxonox ppa

Re: Debian Package

Posted: Sat Jun 12, 2010 1:21 pm
by adi

Code: Select all

dch -i "message"
is sufficient, you don't have to add the version with -v, the ubuntu version of debchange automatically adds ubuntu1 to the debian revision.

Re: Debian Package

Posted: Sun Jun 13, 2010 10:29 pm
by adi
There is now a repository, see http://www.orxonox.net/wiki/download

I uploaded a new version of the package, which has no lintian errors nor warnings anymore.

Re: Debian Package

Posted: Mon Jun 14, 2010 7:22 pm
by The Jo
Thank you very much adi and all others who worked on the package!

Re: Debian Package

Posted: Tue Jun 15, 2010 8:11 am
by beni
Great work! It's so cool that there is a package. No we only need a proper release and we have reached an amazing new milestone.

I already installed the package and it looks good :D