Page 1 of 2
voilà: RPMs for openSUSE
Posted: 26 Mar 2007, 19:11
by cwh
Hi.
I finally managed it to build spring (including nanoblobs) RPMs in openSUSE buildservice.
You can download the packages via HTTP from
software.opensuse.org/download/games:/strategy:/realtime/
(I am not yet allowed to post hyperlinks here)
All required packages should be either in the base distribution or in the same project as spring itself. This should only be two packages: libdevil and glew.
Since the included SCconstruct does not handle something like $DESTDIR and also does not respect compiler flags for all the files the RPMs are not as clean as they could be.
Feedback is welcome.
cwh
Posted: 26 Mar 2007, 19:18
by cwh
Actually I had to trigger a rebuild. So it will take a few minutes until the packages are there.
Please stand by.
Posted: 26 Mar 2007, 19:31
by iamacup
Posted: 26 Mar 2007, 19:44
by BrainDamage
mind if i'll rip out your spec file to make it compatible with mandriva?
will probably have just to fix depandacies
also, if someone knows the names of the fedora libs, we might assemble an universal spec file & universal source rpm wich would compile on the most used rpm distros
Posted: 26 Mar 2007, 19:48
by hollowsoul
A spec file would be very nice. I could test it out & get lib names for fedora.
Also if u could plz pass scons unitsync.
So it builds unitsync.so (just requires python, which is needed for build system anyways) with python bindings. I be very gratefully
Re: voilà: RPMs for openSUSE
Posted: 27 Mar 2007, 14:01
by Fri13
cwh wrote:Hi.
I finally managed it to build spring (including nanoblobs) RPMs in openSUSE buildservice.
Feedback is welcome.
cwh
Thank you VERY much.. i almoust could hug you if this works, now im downloading these packages and then im going to transferr and install them...
I hope you guys could get working RPM's for suse/mandriva/fedora. TA Spring is so cool game that it should be available for DEB/RPM distros and not only for windows ja debian/*buntu
Posted: 27 Mar 2007, 16:40
by cwh
Hi.
The packages now are finally building in oS buildservice for all (open)SUSE distributions 10.0 and younger.
Everybody is very welcome to try to fix the dependencies for non-suse distributions. You can fetch the spec files in the src-rpms from the same URL. So if you manage it to fix the (Build)Requires, let me know how to do that. Maybe http: //en.opensuse.org/Build_Service/cross_distribution_package_how_to helps you making a cross-distro spec file.
Btw. oS buildservice can also build for
- Debian Etch
- Fedora 5 & 6
- Mandriva 2006
- xUbuntu 6.06
However I am not able to do anything for DEB bases distros (I am too stupid

)
cwh
Posted: 27 Mar 2007, 20:43
by BrainDamage
almost done, but first i want to sort out a thing; i would like to add unitsync.so compiling (to allow future lobby packages to use it without the need to include a bunch of useless source files in the lobby itself)
if i passs the argument
scons unitsync, where would it place? i know you passed the lib path to the scons configure, would it be placed there too?
Posted: 27 Mar 2007, 23:26
by cwh
Brain Damage wrote:if i passs the argument
scons unitsync, where would it place? i know you passed the lib path to the scons configure, would it be placed there too?
Uhm. I guess so. Let's try.
Posted: 28 Mar 2007, 09:52
by Tobi
No, unitsync isn't installed (yet). I will add that for 0.75.
Posted: 28 Mar 2007, 15:48
by BrainDamage
ok this is what i've done:
http://www.mediafire.com/?5y2zxykz2im
if you're wondering why i've used variables like suse & mandriva when i could keep checking if distro_version was declared; it's becuase for a weird reason, it throws an error when compiling the source rpm if i don't do this way...
might not be the smallest code-wise but it should't have errors
if anyone would fill the dependencies for fedora, red hat & mandriva 2006, i will be grateful
Posted: 28 Mar 2007, 17:50
by Rudirogdt
in for an ebuild for gentoo ^^ and debian ^^
RPM
Posted: 15 May 2007, 12:40
by HeadHunter
RPM is cool. It IS cool. BUT_is it ever possible to build source code? It wants Python 2.4-dev. It is OK, but i (as other suse10.2 users) have python 2.5 already installed. And I do not want to downgrade version. Where is that file to edit to change from 2.4 to 2.5?
Posted: 15 May 2007, 13:13
by cwh
In the SRC rpm you can find the following patch for that:
Code: Select all
--- spring_0.74b3/rts/build/scons/config.py 2007-01-18 23:50:03.000000000 +0100
+++ config.py 2007-03-21 11:12:43.000000000 +0100
@@ -169,9 +169,9 @@
def check_python(env, conf):
- print "Checking for Python 2.4...",
+ print "Checking for Python 2.5...",
print ""
- guess_include_path(env, conf, 'Python', 'python2.4')
+ guess_include_path(env, conf, 'Python', 'python2.5')
def check_headers(env, conf):
@@ -244,7 +244,7 @@
env.Exit(1)
# second check for Windows.
- if not conf.CheckLib('python2.4') and not conf.CheckLib('python24'):
+ if not conf.CheckLib('python2.5') and not conf.CheckLib('python25'):
print 'python is required for this program'
env.Exit(1)
Posted: 18 May 2007, 20:40
by HeadHunter
Thank you... I'm gonna try to find it.
Posted: 27 May 2007, 16:57
by Agon
Tanks a lot. Maybe can you provide AI libs, unitsync.so and a working lobby client as a rpm. That would be very good.
Posted: 27 May 2007, 17:05
by BrainDamage
the following AI libs are included in that rpm:
AAI
KAI-0.12
KAI-0.22
JCAI
Central Build AI
Economy AI
Metal Maker AI
Mex Upgrader AI
Radar AI
Report Idle AI
untsync isn't included, it couldbe possible to include now, but it'd be a bit hackish, to have proper installation, it's best to wait for next version wich will include it in make install
if you look @ other threads, currently, the only "working" lobby would be AFlobby (as in unitylobby project is discontinued) but it's still beta and didn't reach yet V 1.0 (althoght it seems pretty close to it)
Posted: 27 May 2007, 17:07
by Relative
Brain Damage wrote:
if you look @ other threads, currently, the only "working" lobby would be AFlobby (as in unitylobby project is discontinued) but it's still beta and didn't reach yet V 1.0 (althoght it seems pretty close to it)
Well its technically still in alpha, but a "working" beta should be released very soon as Beta RC1 is looking good.
Posted: 27 May 2007, 17:28
by Agon
the following AI libs are included in that rpm:
AAI
KAI-0.12
KAI-0.22
JCAI
AAI - Yes
KAI-0.12 - Yes
KAI-0.22 - Not available
JCAI - Not available
Edit:
All Ai libs in the x64 10.2 rpm
/usr/lib64/AI
/usr/lib64/AI/Bot-libs
/usr/lib64/AI/Bot-libs/AAI.so
/usr/lib64/AI/Bot-libs/KAI-0.12.so
/usr/lib64/AI/Bot-libs/TestGlobalAI.so
/usr/lib64/AI/Helper-libs
/usr/lib64/AI/Helper-libs/CentralBuildAI.so
/usr/lib64/AI/Helper-libs/EconomyAI.so
/usr/lib64/AI/Helper-libs/MetalMakerAI.so
/usr/lib64/AI/Helper-libs/MexUpgraderAI.so
/usr/lib64/AI/Helper-libs/RadarAI.so
/usr/lib64/AI/Helper-libs/ReportIdleAI.so
/usr/lib64/AI/Helper-libs/SimpleFormationAI.so
This folders are empty:
/usr/share/games/spring/AI/Bot-libs
/usr/share/games/spring/AI/Helper-libs
Posted: 27 May 2007, 18:17
by AF
Indeed AFLobby is alpha but nearing a beta 1 release.