Page 1 of 7

New Ubuntu Apt Repository for Spring

Posted: 10 Mar 2008, 02:16
by YokoZar
http://spring.clan-sy.com/wiki/SetupGuide#Ubuntu

The old APT repository hosted at unknown files is gone for good.

I have updated the wiki instructions. They're a bit more graphical now, but work the same way. If you had the old spring repository, simply overwrite it with the new one when editing the file.

We have a new permanent repository for Spring hosted at Launchpad. Unlike Unknown Files, Launchpad will be around for as long as Ubuntu and also has unlimited bandwidth. We're limited to a gigabyte of space, but I understand that's flexible.


Packaged mods will be coming soon - namely, when I get less lazy and start playing spring again.


One downside to using Launchpad, however, is that we cannot host the OTA content or any mods depending on it there. You'll need to install them into your home folder a different way.

Re: New Ubuntu Apt Repository for Spring

Posted: 10 Mar 2008, 14:38
by Vadi
I edited that section some to make it clearer, I hope you don't mind.

I couldn't get the apt: url working though. I tried various combinations, but it looks like it only recognizes the url when there's an http in there :? . Know if any ways around that?

Re: New Ubuntu Apt Repository for Spring

Posted: 11 Mar 2008, 00:16
by YokoZar
Vadi wrote:I edited that section some to make it clearer, I hope you don't mind.

I couldn't get the apt: url working though. I tried various combinations, but it looks like it only recognizes the url when there's an http in there :? . Know if any ways around that?
Add the repositories, then click:
[url]apt://spring[/url]
[url]apt://spring-lobby-springlobby[/url]
[url]apt://spring-maps-default[/url]
[url]apt://spring-maps-1v1[/url]
[url]apt://spring-maps-teamplay[/url]
[url]apt://spring-maps-hunterw[/url]
[url]apt://spring-maps-deltasiege[/url]
[url]apt://spring-maps-smallsupreme[/url]

Unfortunately there isn't yet a way to install all packages with a single link.

Re: New Ubuntu Apt Repository for Spring

Posted: 11 Mar 2008, 00:19
by imbaczek
rename spring to spring-rts-engine and make spring a dummy package with all those as dependencies?

Re: New Ubuntu Apt Repository for Spring

Posted: 11 Mar 2008, 00:40
by YokoZar
imbaczek wrote:rename spring to spring-rts-engine and make spring a dummy package with all those as dependencies?
spring is already a dummy package for spring-engine and spring-lobby-springlobby

I'll probably just make a spring-all package.

Re: New Ubuntu Apt Repository for Spring

Posted: 11 Mar 2008, 02:27
by Vadi
The problem that I was having is getting the wiki to recognize the apt. [apt:package Click me!] like it works for links (or double []'s, I don't remember now) wasn't working :(

Re: New Ubuntu Apt Repository for Spring

Posted: 17 Apr 2008, 01:34
by Vadi
It looks like one package is broken atm:
spring-maps-teamplay:
Depends: spring-maps-smallsupreme but it is not installable

Re: New Ubuntu Apt Repository for Spring

Posted: 18 Apr 2008, 15:51
by Vadi
Could the installer package create all of the .spring directories too, or is something else supposed to do that?

Re: New Ubuntu Apt Repository for Spring

Posted: 18 Apr 2008, 16:04
by BrainDamage
Vadi wrote:Could the installer package create all of the .spring directories too, or is something else supposed to do that?
the installer wouldn't know which users need the .spring folder, we'll add it to SL so it creates for the current user who's running it for the first time

Re: New Ubuntu Apt Repository for Spring

Posted: 18 Apr 2008, 16:31
by Vadi
OK.

Re: New Ubuntu Apt Repository for Spring

Posted: 18 Apr 2008, 18:44
by BrainDamage
Brain Damage wrote:
Vadi wrote:Could the installer package create all of the .spring directories too, or is something else supposed to do that?
we'll add it to SL so it creates for the current user who's running it for the first time
done

Re: New Ubuntu Apt Repository for Spring

Posted: 22 Apr 2008, 08:31
by YokoZar
Vadi wrote:It looks like one package is broken atm:
spring-maps-teamplay:
Depends: spring-maps-smallsupreme but it is not installable
Thanks, somehow I missed uploading that one to Hardy.

Re: New Ubuntu Apt Repository for Spring

Posted: 22 Apr 2008, 09:47
by imbaczek
yoko: please apply r5760+5762 into your package, it fixes a major bug and doesn't affect network gameplay.

Re: New Ubuntu Apt Repository for Spring

Posted: 22 Apr 2008, 10:45
by clericvash
What bug does it affect?

Re: New Ubuntu Apt Repository for Spring

Posted: 22 Apr 2008, 12:07
by imbaczek
LuaUI crashes, desyncs... basically everything, it's a memory corruption bug.

Re: New Ubuntu Apt Repository for Spring

Posted: 22 Apr 2008, 12:15
by YokoZar
imbaczek wrote:yoko: please apply r5760+5762 into your package, it fixes a major bug and doesn't affect network gameplay.
Could you point to a diff for this patch please? I can't figure out an easy way to generate one, and my knowledge of subversion is pretty much limited to checkouts.

Re: New Ubuntu Apt Repository for Spring

Posted: 22 Apr 2008, 13:05
by YokoZar
Brain Damage wrote:
Brain Damage wrote:
Vadi wrote:Could the installer package create all of the .spring directories too, or is something else supposed to do that?
we'll add it to SL so it creates for the current user who's running it for the first time
done
Please tell me when you release a new springlobby tarball that I should put into the repo. Thanks.

Re: New Ubuntu Apt Repository for Spring

Posted: 22 Apr 2008, 13:15
by imbaczek

Code: Select all

diff --git a/rts/Rendering/GroundDecalHandler.cpp b/rts/Rendering/GroundDecalHandler.cpp
index 586a051..13d8a8e 100644
--- a/rts/Rendering/GroundDecalHandler.cpp
+++ b/rts/Rendering/GroundDecalHandler.cpp
@@ -167,8 +167,10 @@ void CGroundDecalHandler::Draw(void)
 					decal->alpha -= decal->AlphaFalloff * gu->lastFrameTime * gs->speedFactor;
 				}
 				if (decal->alpha < 0) {
+					// make sure RemoveBuilding() won't try to modify this decal
+					if (decal->owner) {
+						decal->owner->buildingDecal = 0;
+					}
 					delete decal;
 					(*bdi)->buildingDecals.erase(bi++);
 					continue;
this one should do the trick.

Re: New Ubuntu Apt Repository for Spring

Posted: 22 Apr 2008, 13:33
by lurker
The entire line of bugfixes that shouldn't break sync is attached.
That it actually doesn't desync will be tested soon.

Re: New Ubuntu Apt Repository for Spring

Posted: 22 Apr 2008, 15:01
by imbaczek
or track this git repo: http://gitorious.org/projects/spring-sv ... s/mainline branch next