Search found 231 matches

by Chriss
Sun Aug 02, 2015 8:31 am
Forum: Support
Topic: Arch Linux package: version string to use and how to access?
Replies: 5
Views: 1468

Re: Arch Linux package: version string to use and how to acc

Thanks. I decided to go with this for now: #/bin/python from subprocess import check_output from datetime import datetime commit = check_output(["git", "show", "-s", "--format=%h", "HEAD"]).strip().decode("utf-8") #timestamp = float(check_output(["git", "show", "-s", "--format=%ct", "HEAD"]).strip()...
by Chriss
Sun Jul 26, 2015 6:10 pm
Forum: Programming
Topic: Build number issue
Replies: 17
Views: 2056

Re: Build number issue

I don't think I understand the difference between a version number and the build number... Or what a build really is... Maybe because for my use case, the version is the important part... I mean, in Arch, with source packages, everyone builds their own binary. So the binary and when it's being built...
by Chriss
Sat Jul 25, 2015 2:16 pm
Forum: Programming
Topic: Build number issue
Replies: 17
Views: 2056

Re: Build number issue

AFAIK, the r is something which arch uses so the revision can be recognized better. I can add that if you want to drop it.
by Chriss
Fri Jul 24, 2015 9:56 pm
Forum: Programming
Topic: Build number issue
Replies: 17
Views: 2056

Re: Build number issue

[…] but so far I've got no comments on my suggestion […] Marcel? Still don't care and still see the git hash only as sufficient. To describe the code someone refers to, the hash is perfect. BUT, for packaging, I need to have a version which can be ordered. I (or rather the package manager) need to ...
by Chriss
Fri Jul 24, 2015 2:39 pm
Forum: Support
Topic: Arch Linux package: version string to use and how to access?
Replies: 5
Views: 1468

Re: Arch Linux package: version string to use and how to acc

No, the according pkgver() function is called directly after the sources are downloaded, before patches are applied, and before cmake and make is run in the build step. But it's a bash function - I can pretty much do everything bash let's me do, so I can in theory run cmake or a python script. Prefe...
by Chriss
Thu Jul 23, 2015 9:04 pm
Forum: Compile
Topic: Build procedure is not python3 compatible
Replies: 40
Views: 4967

Re: Build procedure is not python3 compatible

Sorry for the delay. I think there was a workaround even before, but yes, I compiled the git head from today without issues or patches.
by Chriss
Thu Jul 23, 2015 8:41 pm
Forum: Support
Topic: Arch Linux package: version string to use and how to access?
Replies: 5
Views: 1468

Arch Linux package: version string to use and how to access?

I'm currently updating the Arch package to use the Git repo, and making some arch specific transitions along the way. Arch has an automatic version bump for VCS Packages, eg SVN, Git and the like. For SVN, it simply uses the revision. For Git, there are several possibilities. The relevant wiki secti...
by Chriss
Sun May 31, 2015 9:45 pm
Forum: FreeOrion Project
Topic: Getting ready for 0.4.5
Replies: 69
Views: 7668

Re: Getting ready for 0.4.5

I was not quite satisfied with the results yet, and there were some questions about implementations details I think... I can probably have another look next week. I'll update the thread...
by Chriss
Sun May 31, 2015 9:33 pm
Forum: Scripting & Balancing
Topic: Revised Stargate mechanics
Replies: 28
Views: 2523

Re: Revised Stargate mechanics

Why not? They don't interact per see, you need a stargate for your ships to enter, and one to exit. Lore-Wise, Maybe the exit part is nothing that needs to be actively controlled, but the enter part is. Gameplay wise, if you build a stargate, you can send ships from there to any stargate, regardless...
by Chriss
Sun May 31, 2015 9:16 pm
Forum: Scripting & Balancing
Topic: Revised Stargate mechanics
Replies: 28
Views: 2523

Re: Revised Stargate mechanics

I don't think it is strictly necessary for starlanes to be many:many connected. One could also create a 1:1 connection. Which could be an artificial wormhole, both technically and the way it's presented. Which means we'll include wormholes. Nice :) If it's many to many, one could also create it so t...
by Chriss
Sun May 31, 2015 9:00 pm
Forum: FreeOrion Project
Topic: Getting ready for 0.4.5
Replies: 69
Views: 7668

Re: Getting ready for 0.4.5

Anyone interested in including the jump-based stars clustering method in .4.5?
by Chriss
Sun May 31, 2015 8:39 pm
Forum: Compile
Topic: boost 1.58 on arch linux - yet another missing include
Replies: 12
Views: 2180

Re: boost 1.58 on arch linux - yet another missing include

Yes, see: Already had a Hack for 1.57, but no version.h For me, regarding the missing include(s) in boost 1.58, I added the following hack: [chris@desk freeorion.git]$ git diff util/Serialize.ipp diff --git a/util/Serialize.ipp b/util/Serialize.ipp index b4027b2..c230721 100644 --- a/util/Serialize....
by Chriss
Sun May 31, 2015 8:32 pm
Forum: Compile
Topic: Build procedure is not python3 compatible
Replies: 40
Views: 4967

Re: Build procedure is not python3 compatible

If Debian has 3.4, then Ubuntu should have it (soon). The main blocker I think is Boost. If boost is not python3 compatible, I don't think there's a big point in forcing a conversion. Of course, if the code is transitioned to the mentioned "support both" style, the transition will probably be easier...
by Chriss
Wed May 27, 2015 12:13 pm
Forum: Scripting & Balancing
Topic: Revised Stargate mechanics
Replies: 28
Views: 2523

Re: Revised Stargate mechanics

I thought about the idea of stargates beeing "fixed" two way shortcuts, too. Apart from the additional hassle in setting them up, it may be a good compromise between the micro hassle now and the uber-powerfull MOO2 variant of everything is instantly connected... Stargates could require a Gas Giant ...
by Chriss
Wed May 27, 2015 12:11 pm
Forum: Scripting & Balancing
Topic: Scattered Asteroid Hull—too cheap and powerful
Replies: 43
Views: 3194

Re: Scattered Asteroid Hull—too cheap and powerful

Unless by the time there are more internal slot components and there is a real competition for the slot space, we also have other features which help with ship travel time... ;)
Right this second, with the current state of things, I don't think it's an issue. But yes. I do get your general point.