proposal for rules of deprecation of Lua API stuff - Page 2

proposal for rules of deprecation of Lua API stuff

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: proposal for rules of deprecation of Lua API stuff

Post by Licho »

Det said all that is needed is to simply unpack some pre-built zip into a folder..
if you skip all this package/libs mess and provide all in the same place it should work same way as on windows he said.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: proposal for rules of deprecation of Lua API stuff

Post by koshi »

Problem is this zip det is thinking of is currently akin to a flying unicorn.
On a sidenote, could you explain how package management is a mess as opposed to everything installing anywhere?
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: proposal for rules of deprecation of Lua API stuff

Post by gajop »

well, if you think of spring as a package, then, no, i don't think you can have multiple global installs, and it also wouldn't be right to ask for admin rights whenever you join a battleroom that has a new engine

but, if you imagine engines to be much like maps/mods, then they can be downloaded (by the lobby client) to a user dir (f.e $HOME/.spring/engine)
you would only be installing lobby clients as packages, such as springlobby/notalobby/$LINUX_WORKING_LOBBY and they would be the ones downloading the engine
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: proposal for rules of deprecation of Lua API stuff

Post by koshi »

Yes gajop, but there currently is nothing any lobby could download on a given distro extract it somewhere so it would just work.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: proposal for rules of deprecation of Lua API stuff

Post by gajop »

I know, but btw, we may want to skip the entire part of distro-based packaging and have only one linux 'package' per release. The reason is most package systems do dynamic linking, and that would be a problem in a multi-version engine (f.e an new engine release requires a newer version of a package which is backwards incompatible with an older one).

Is full static linking a possibility? Or could it be possible to link only a few things, that hopefully never change? What would be the size & compatibility repercussions - will stuff work when a new X comes out f.e?
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: proposal for rules of deprecation of Lua API stuff

Post by koshi »

Full static linking is impossible, because one needs to use at least the system's ogl lib. Jk made some recent headway in getting an "as static as possible" build, he can say more to the matter.
Post Reply

Return to “Engine”