voilà: RPMs for openSUSE
Moderator: Moderators
voilà: RPMs for openSUSE
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
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
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Re: voilà: RPMs for openSUSE
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...cwh wrote:Hi.
I finally managed it to build spring (including nanoblobs) RPMs in openSUSE buildservice.
Feedback is welcome.
cwh
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
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
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
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
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?
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?
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
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
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
-
- Posts: 53
- Joined: 15 May 2007, 12:33
RPM
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?
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)
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
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)
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)
Well its technically still in alpha, but a "working" beta should be released very soon as Beta RC1 is looking good.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)
AAI - Yesthe following AI libs are included in that rpm:
AAI
KAI-0.12
KAI-0.22
JCAI
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