Ogre 1.9

Questions, problems and discussion about compiling FreeOrion.

Moderators: Oberlus, 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 » Fri Nov 29, 2013 5:27 pm

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: 1147
Joined: Fri Mar 01, 2013 9:52 am
Location: Germany

Re: Ogre 1.9

#2 Post by adrian_broher » Mon Feb 17, 2014 7:20 pm

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 » Fri Feb 21, 2014 2:41 pm

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 » Wed Feb 26, 2014 4:52 pm

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 » Wed Feb 26, 2014 6:21 pm

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 » Wed Feb 26, 2014 10:12 pm

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 » Thu Feb 27, 2014 9:56 am

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 » Sat Mar 01, 2014 8:09 pm

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 » Sun Mar 02, 2014 8:21 pm

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

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

Re: Ogre 1.9

#10 Post by Chriss » Mon Mar 03, 2014 10:20 am

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 » Mon Mar 03, 2014 12:03 pm

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 » Thu Mar 06, 2014 11:26 pm

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