Gentoo overlay for openmw

Everything about development and the OpenMW source code.
edmondo
Posts: 36
Joined: 14 May 2012, 14:04
Contact:

Gentoo overlay for openmw

Post by edmondo »

Since I've a bit of time and I want to emerge openmw in my gentoo linux, I started an unofficial overlay with the needed ebuilds. Right now just bullet 2.80. In the next days I will put the rest.

Here the github link:
https://github.com/edmondo/openmw-overlay
edmondo
Posts: 36
Joined: 14 May 2012, 14:04
Contact:

Re: Gentoo overlay for openmw

Post by edmondo »

Pushed two new ebuild in repository:
+ ogre 1.8rc1
+ MyGUI 3.2.0

Audiere will follow tomorrow. The wxPlayer example made me a bit crazy, so I will drop it. I don't think it's needed for openmw (let me know if you need it).
User avatar
psi29a
Posts: 5362
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Gentoo overlay for openmw

Post by psi29a »

edmondo wrote:Pushed two new ebuild in repository:
Audiere will follow tomorrow. The wxPlayer example made me a bit crazy, so I will drop it. I don't think it's needed for openmw (let me know if you need it).
Audiere is also not necessary if you have mpg123, at least we do not use Audiere for Ubuntu.
edmondo
Posts: 36
Joined: 14 May 2012, 14:04
Contact:

Re: Gentoo overlay for openmw

Post by edmondo »

BrotherBrick wrote: Audiere is also not necessary if you have mpg123, at least we do not use Audiere for Ubuntu.
Ok, thanks. I was following the wiki install guide for the development environment and it's used there:
http://openmw.org/wiki/index.php?title= ... ment_Setup

I will discard the hard dependency and just put audiere as an independent ebuild in the overlay.
User avatar
psi29a
Posts: 5362
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Gentoo overlay for openmw

Post by psi29a »

It is there for Windows and perhaps can also be used in Linux, what Ubuntu/Debian and I think Fedora packages use are the same as here:

http://openmw.org/wiki/index.php?title= ... pendencies

Try to find/build the equivalent of these packages:
libois-dev libopenal-dev libmpg123-dev libpng-dev libogre-dev \
libsndfile1-dev libblkid-dev libfreeimage-dev libboost-filesystem-dev libboost-thread-dev \
libboost-program-options-dev libboost-system-dev uuid-dev libqt4-opengl libqt4-dev \
libbullet-dev libmygui-dev nvidia-cg-toolkit cmake build-essential
That should get you going. :)
User avatar
artorius
Posts: 46
Joined: 08 Mar 2012, 13:59
Location: VA, USA

Re: Gentoo overlay for openmw

Post by artorius »

Yep, for Fedora, I ignore Audiere as it is not available in Fedora's repos.
edmondo
Posts: 36
Joined: 14 May 2012, 14:04
Contact:

Re: Gentoo overlay for openmw

Post by edmondo »

Thanks for the hints. I'll try to put together something functional. Let's see how it ends :D
edmondo
Posts: 36
Joined: 14 May 2012, 14:04
Contact:

Re: Gentoo overlay for openmw

Post by edmondo »

Fixed the MyGUI ebuild, since it wasn't installing the compiled libraries. A simple default value in the cmake-utils.eclass and an "interesting" cmake logic in MyGUI was causing the installation of just the include files.

I can compile openmw clean now on my machine. How knows, maybe it will also execute correctly. But now, time to sleep.
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: Gentoo overlay for openmw

Post by sirherrbatka »

Get to know when it will be ready. I would like to inform about this in weekly post.
edmondo
Posts: 36
Joined: 14 May 2012, 14:04
Contact:

Re: Gentoo overlay for openmw

Post by edmondo »

I pushed a dumb openmw-9999.ebuild and it compile successfully the source code from git. That was my first milestone.

The ebuild it's not installing the binaries, because it's missing the rules fro make install (make: *** No rule to make target `install'. Stop)

When I start the openmw binary, I get some kind graphics and sound, which is already more than great. Since I'm using the opensource r600g driver, it could be that my rendering problems come from there. I'll have to check. Someone else using the r600g driver?

Edit:
I also pushed a README explaining a bit how to use my crappy ebuilds.
Post Reply