New Ubuntu Apt Repository for Spring

New Ubuntu Apt Repository for Spring

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

New Ubuntu Apt Repository for Spring

Post 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.
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: New Ubuntu Apt Repository for Spring

Post 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?
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: New Ubuntu Apt Repository for Spring

Post 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.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: New Ubuntu Apt Repository for Spring

Post by imbaczek »

rename spring to spring-rts-engine and make spring a dummy package with all those as dependencies?
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: New Ubuntu Apt Repository for Spring

Post 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.
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: New Ubuntu Apt Repository for Spring

Post 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 :(
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: New Ubuntu Apt Repository for Spring

Post by Vadi »

It looks like one package is broken atm:
spring-maps-teamplay:
Depends: spring-maps-smallsupreme but it is not installable
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: New Ubuntu Apt Repository for Spring

Post by Vadi »

Could the installer package create all of the .spring directories too, or is something else supposed to do that?
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: New Ubuntu Apt Repository for Spring

Post 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
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: New Ubuntu Apt Repository for Spring

Post by Vadi »

OK.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: New Ubuntu Apt Repository for Spring

Post 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
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: New Ubuntu Apt Repository for Spring

Post 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.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: New Ubuntu Apt Repository for Spring

Post by imbaczek »

yoko: please apply r5760+5762 into your package, it fixes a major bug and doesn't affect network gameplay.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: New Ubuntu Apt Repository for Spring

Post by clericvash »

What bug does it affect?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: New Ubuntu Apt Repository for Spring

Post by imbaczek »

LuaUI crashes, desyncs... basically everything, it's a memory corruption bug.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: New Ubuntu Apt Repository for Spring

Post 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.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: New Ubuntu Apt Repository for Spring

Post 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.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: New Ubuntu Apt Repository for Spring

Post 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.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: New Ubuntu Apt Repository for Spring

Post by lurker »

The entire line of bugfixes that shouldn't break sync is attached.
That it actually doesn't desync will be tested soon.
Attachments
76b1_to_bugfix_5763.zip
(29.64 KiB) Downloaded 51 times
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: New Ubuntu Apt Repository for Spring

Post by imbaczek »

or track this git repo: http://gitorious.org/projects/spring-sv ... s/mainline branch next
Post Reply

Return to “Linux”