Ogre 1.9

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Ogre 1.9

#1 Post by Nagilum »

Arch recently updated their ogre to version 1.9 which breaks FO.
I'll continue building FO using version 1.8.1 and provide Arch packages for ogre-1.8.1 until someone gives me a heads up that FO now also builds with version 1.9.
Thanks.

User avatar
adrian_broher
Programmer
Posts: 1156
Joined: Fri Mar 01, 2013 9:52 am
Location: Germany

Re: Ogre 1.9

#2 Post by adrian_broher »

Ogre 1.9 should work now; See response at viewtopic.php?p=68155#p68155
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Ogre 1.9

#3 Post by Nagilum »

Thanks for the notice.
Confirmed! This and the freetype include search change re-enabled easy build on Arch. :)

Chriss
Dyson Forest
Posts: 231
Joined: Sun May 11, 2008 10:50 am

Re: Ogre 1.9

#4 Post by Chriss »

Do or did you work on the Arch Packages in Aur / Community?
Attached patches are released under GPL 2.0 or later.

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Ogre 1.9

#5 Post by Nagilum »

Chriss wrote:Do or did you work on the Arch Packages in Aur / Community?
No, but you can download the Arch packages from https://sourceforge.net/projects/freeor ... Test/Arch/

Chriss
Dyson Forest
Posts: 231
Joined: Sun May 11, 2008 10:50 am

Re: Ogre 1.9

#6 Post by Chriss »

You're making those? Maybe that's a dumb question, but why / how? Would it not be easier to fix the freeorion-svn aur package? Don't you need basically an aur package to build those? I mean yeah, I can see the benefit of not having to compile an svn package, and I'm not really deep into arch packaging mechanics, but...? I'm confused. ;)
Attached patches are released under GPL 2.0 or later.

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Ogre 1.9

#7 Post by Nagilum »

Chriss wrote:Would it not be easier to fix the freeorion-svn aur package? Don't you need basically an aur package to build those?
I don't have commit access to that repo. I only run Arch in two VMs so "aur" doesn't really tell me anything.

Chriss
Dyson Forest
Posts: 231
Joined: Sun May 11, 2008 10:50 am

Re: Ogre 1.9

#8 Post by Chriss »

How do you create the packages? makepkg? Then I guess you've got a pkgbuild file, maybe an .install file? Could you please attach them here? I'm trying to update the aur packages, that should help. However, for Arch's aur, you can simply register, if you're interested.
Attached patches are released under GPL 2.0 or later.

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Ogre 1.9

#9 Post by Nagilum »

mkroot is my wrapper script that basically emulates pbuilder and updates the rev..
Attachments
fo.tgz
(4.53 KiB) Downloaded 151 times

Chriss
Dyson Forest
Posts: 231
Joined: Sun May 11, 2008 10:50 am

Re: Ogre 1.9

#10 Post by Chriss »

This looks like a copy and paste error... ;)

Code: Select all

in mkroot, line 10:
  umount $DST/proc 2>/dev/proc[/quote]
Just had a glance. Why the manual installation of files? Why not use make install?

The mkroot makes a new arch install in a chroot - so you got a clean, current environment to compile in?

What about all the compiler flags on x64? nvidia-cg-utils?
Attached patches are released under GPL 2.0 or later.

User avatar
Nagilum
Release Manager, Design
Posts: 212
Joined: Thu Dec 31, 2009 3:25 pm
Location: Germany

Re: Ogre 1.9

#11 Post by Nagilum »

Chriss wrote:This looks like a copy and paste error... ;)

Code: Select all

in mkroot, line 10:
  umount $DST/proc 2>/dev/proc
Yep, thx.
Chriss wrote: Just had a glance. Why the manual installation of files? Why not use make install?
What about all the compiler flags on x64? nvidia-cg-utils?
You'd have to ask the original creator of the package. I just mended it when something broke. I know I'm terribly lazy.
Chriss wrote:The mkroot makes a new arch install in a chroot - so you got a clean, current environment to compile in?
That's the idea.

Chriss
Dyson Forest
Posts: 231
Joined: Sun May 11, 2008 10:50 am

Re: Ogre 1.9

#12 Post by Chriss »

I've updated the Arch Aur Package, you can find it here: https://aur.archlinux.org/packages/freeorion-svn

You can download the tarball from there and try the new pkbguild and install file. Should do more or less the same that your stuff does.
Attached patches are released under GPL 2.0 or later.

Post Reply