Debian Package

Talk about Orxonox and related stuff.

Moderator: PPS-Leaders

Post Reply
adi
Noxonian Warkmrghon
Posts: 18
Joined: Wed Sep 24, 2008 1:12 pm

Debian Package

Post by adi » Fri Jun 04, 2010 12:47 am

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

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Re: Debian Package

Post by greenman » Fri Jun 04, 2010 8:07 am

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 ^^
There are only 10 types of people in the world: Those who understand binary, and those who don't.

adi
Noxonian Warkmrghon
Posts: 18
Joined: Wed Sep 24, 2008 1:12 pm

Re: Debian Package

Post by adi » Tue Jun 08, 2010 12:10 am

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.

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Re: Debian Package

Post by x3n » Tue Jun 08, 2010 10:23 am

cool :D thanks for your work!
Fabian 'x3n' Landau, Orxonox developer

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Re: Debian Package

Post by greenman » Tue Jun 08, 2010 5:54 pm

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?
There are only 10 types of people in the world: Those who understand binary, and those who don't.

adi
Noxonian Warkmrghon
Posts: 18
Joined: Wed Sep 24, 2008 1:12 pm

Re: Debian Package

Post by adi » Wed Jun 09, 2010 12:29 am

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.
Last edited by adi on Thu Jun 10, 2010 2:10 pm, edited 1 time in total.

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Re: Debian Package

Post by greenman » Wed Jun 09, 2010 8:41 pm

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 ?
There are only 10 types of people in the world: Those who understand binary, and those who don't.

adi
Noxonian Warkmrghon
Posts: 18
Joined: Wed Sep 24, 2008 1:12 pm

Re: Debian Package

Post by adi » Thu Jun 10, 2010 10:58 am

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.

erwin
Noxonian Grollknom
Posts: 6
Joined: Fri Mar 13, 2009 11:11 pm

Re: Debian Package

Post by erwin » Fri Jun 11, 2010 2:21 pm

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

adi
Noxonian Warkmrghon
Posts: 18
Joined: Wed Sep 24, 2008 1:12 pm

Re: Debian Package

Post by adi » Sat Jun 12, 2010 1:21 pm

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.

adi
Noxonian Warkmrghon
Posts: 18
Joined: Wed Sep 24, 2008 1:12 pm

Re: Debian Package

Post by adi » Sun Jun 13, 2010 10:29 pm

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.

The Jo
General DuGalle
Posts: 121
Joined: Mon Mar 01, 2010 7:43 pm

Re: Debian Package

Post by The Jo » Mon Jun 14, 2010 7:22 pm

Thank you very much adi and all others who worked on the package!
Fail. Fail again. Fail better.

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Re: Debian Package

Post by beni » Tue Jun 15, 2010 8:11 am

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
"I'm Commander Shepard and this is my favorite forum on the internet."

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest