Page 1 of 1

Gentoo ebuilds for OpenDungeons dev branch

PostPosted: 03 Jul 2011, 14:24
by blorby
Hi there.
I just did a pair of ebuilds so anyone using gentoo can install the latest dev revisions and automatically grabs the dependencies.
Don't know if this will be useful to anyone except me, but still, it may :)

Here is a quick how to:

{l Code}: {l Select All Code}
# first, install layman and get the 'gamerlay' overlay so you can install ogre 1.7.3 and freeimages
emerge layman && layman -a gamerlay

# make portage use layman's overlay ( the layman source file path might be different, check the informations it tells at the end of the installation )
echo "source /var/lib/layman/make.conf" >> /etc/make.conf

# add your own overlay, where you will be able to drop custom ebuilds
mkdir ~/my-overlay
echo 'PORTDIR_OVERLAY="$PORTDIR_OVERLAY /home/<your home name>/my-overlay"'

# get the OpenDungeons ebuilds and untar them in your custom overlay
tar xvzf OpenDungeons-ebuilds.tar.gz -C ~/my-overlay

# that's it, you should be able to install the latest commit from both the media repository ( OpenDungeons-data ebuild ) and git sources ( OpenDungeons ebuild )
emerge OpenDungeons


If portage kicks you out, telling the ebuilds are masked by corruption or something like that, you might need to do a "ebuild <path to each ebuilds> digest". I'm a bit new to gentoo packaging ^^"

For more informations about overlays :
http://www.gentoo.org/proj/en/overlays/userguide.xml

Re: Gentoo ebuilds for OpenDungeons dev branch

PostPosted: 03 Jul 2011, 14:44
by svenskmand
Thanks, this is cool :) Do you by any chance have experience in deb-packages and maintaining a Ubuntu PPA? We need somebody to do this, as none of use knows how :S

Re: Gentoo ebuilds for OpenDungeons dev branch

PostPosted: 03 Jul 2011, 15:03
by blorby
i have absolutely no idea of how these works, sorry

However, i might be able to help with the graphical code if i manage to get into the code.
I know a bit of OGL stuff but i only did some GUI engines (low level rendering part, widgets, etc...).

By the way, i'm already lurking on the IRC channel, just in case

Re: Gentoo ebuilds for OpenDungeons dev branch

PostPosted: 03 Jul 2011, 16:21
by StefanP.MUC
For the graphics we use Ogre that does all the "graphics internals" for us basically. So no direct "graphics coding" in OpenGL or DirectX.
But we can need any help we can get anyways. So, welcome. :)

Re: Gentoo ebuilds for OpenDungeons dev branch

PostPosted: 03 Jul 2011, 16:30
by svenskmand
Oh yeah, welcome :D

Re: Gentoo ebuilds for OpenDungeons dev branch

PostPosted: 04 Aug 2011, 09:01
by malevolent
Nice to see some gentoo ebuilds! ^^

I'll report once test it ;)

Re: Gentoo ebuilds for OpenDungeons dev branch

PostPosted: 16 Apr 2012, 22:34
by oln
Just an update:
hasufell made an ebuild which is now in the sunrise overlay, so installing OD on gentoo is even simpler now:
{l Code}: {l Select All Code}
echo "games-strategy/opendungeons **" >> /etc/portage/package.accept_keywords && echo "games-strategy/opendungeons-data **" >> /etc/portage/package.accept_keywords && layman -a sunrise && emerge opendungeons