Debian SID (semi) officials packages for Spring

Debian SID (semi) officials packages for Spring

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

Moderator: Moderators

mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

Debian SID (semi) officials packages for Spring

Post by mammadori »

I'm packaging spring for debian and I think I got nice results.

You will find my packages there http://alioth.debian.org/~mammadori-guest.

At the time I write this message, only spring and springlobby are present, but I will package some free content and mods too in the next days/weeks.

Those packages will probably enters debian official mirrors as soon as my sponsor will find them debian-ready (there are some minor copyright files to be reformatted and some libraries and files to changed in installation paths, otherwise are pretty final).

Anyway I'll put there updated packages as I change them or a new release will come out, so you could check this url even when they will enter debian.

I built them both for amd64 and i386, enjoy!
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Debian SID (semi) officials packages for Spring

Post by Neddie »

Gracias.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Debian SID (semi) officials packages for Spring

Post by hoijui »

yeah cool! :-)
i dont have debian.. and as it is easier to ask then to inspect:
How much AI does this package contain?
to be consistent with the Windows installer (which is kind of an unofficial rule), it would need:
  • C/C++ AI Interface
  • Java AI Interface
  • AAI
  • KAIK
  • RAI
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Debian SID (semi) officials packages for Spring

Post by koshi »

Good stuff!
One small note: you should drop the alternative dep on wx 2.6 for SpringLobby. We abandoned compatibilty with it some time ago.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: Debian SID (semi) officials packages for Spring

Post by det »

Are these a from scratch effort independant of the Ubuntu packages (which work 100% with debian when built on a debian system, last time I checked). Also, are you stuckey, the guy from debian-games who is working in getting Spring in Debian?
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

Re: Debian SID (semi) officials packages for Spring

Post by mammadori »

Thanks Koshi for the hint, I will remove the dep soon and re upload it.

@det: yes, this packaging is independent although I looked at ubuntu's one. I'm not stuckey although I'm in contact with him. My packages works too, but installs things in more debian policy friendly places. There are some issues to be fixed before they can hit debian, so it will take some more days / weeks for this to heppen.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: Debian SID (semi) officials packages for Spring

Post by det »

mammadori wrote:My packages works too, but installs things in more debian policy friendly places.
Could you please outline the differences.
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

Re: Debian SID (semi) officials packages for Spring

Post by mammadori »

det wrote:
mammadori wrote:My packages works too, but installs things in more debian policy friendly places.
Could you please outline the differences.
Sure, it has stricter build depends and different install depends, provides manpages as required by debian policy, installs springlobby in /usr/games and some minor policy issues and a small other things already merged in springlobby and spring upstreams (translations, spelling, locales install paths).

However it not changes runtime gameplay (although it fixes reported spring version to 0.80.4.2 properly).

Feel free to unpack both packages and run a kdiff3 between directories to see all diffs.
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

Re: Debian SID (semi) officials packages for Spring

Post by mammadori »

hoijui wrote:yeah cool! :-)
i dont have debian.. and as it is easier to ask then to inspect:
How much AI does this package contain?

to be consistent with the Windows installer (which is kind of an unofficial rule), it would need:
  • C/C++ AI Interface
  • Java AI Interface
  • AAI
  • KAIK
  • RAI
All AIs provided in the official release tarball, so all you mentioned above.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: Debian SID (semi) officials packages for Spring

Post by YokoZar »

mammadori I'm completely ok with your Spring package taking over eventually provided there's no regression for users of current Ubuntu spring packages.

The way this happens is the normal way - Ubuntu starts development of 10.10 sometime in November and begins merging Debian packages, and yours then go on top.



Also if you need help with the copyright files check out the stuff I put in debian/copyright for the Ubuntu 9.10 package (not the one in the PPA)

Also there's a spring-kernel panic package you should rip as well.
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

Re: Debian SID (semi) officials packages for Spring

Post by mammadori »

YokoZar wrote:mammadori I'm completely ok with your Spring package taking over eventually provided there's no regression for users of current Ubuntu spring packages.
This was not planned by me since I wasn't aware of previous packaging hitting debian, I'll check and I'll put a "Conflicts:" and or "Provides:" statements if needed.
YokoZar wrote: Also if you need help with the copyright files check out the stuff I put in debian/copyright for the Ubuntu 9.10 package (not the one in the PPA)

Also there's a spring-kernel panic package you should rip as well.
I'm aware of kernel-panic package, I wasn't aware of Ubuntu 9.10 packages, when they entered Universe ?
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

Re: Debian SID (semi) officials packages for Spring

Post by mammadori »

springlobby 0.27 is now available.

a spring version with a Conflict:spring-engine for ubuntu people will be uploaded in few hours too.

Now those packages are 98% in final shape.
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

A standard apt repository is now up to ease installations

Post by mammadori »

I transformed the simple web archive to a proper apt repository, it will be surely up while packages migrates to debian.

To enable it, here it is a few hints:

Code: Select all

$ wget -O- -q http://alioth.debian.org/~mammadori-guest/mammadori-alioth-archive.key | sudo apt-key add -

$ echo "deb http://alioth.debian.org/~mammadori-guest/ sid main" | sudo tee -a /etc/apt/sources.list > /dev/null

$ sudo apt-get install spring springlobby
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Debian SID (semi) officials packages for Spring

Post by imbaczek »

spring should somehow get into the volatile repo if it makes it into debian, because an update will render stable users unable to play online. i don't know if it's an option, though.
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

Re: Debian SID (semi) officials packages for Spring

Post by mammadori »

imbaczek wrote:spring should somehow get into the volatile repo if it makes it into debian, because an update will render stable users unable to play online. i don't know if it's an option, though.
Better in backports repository, I'll surely prepare backports packages; after they will hits testing, I think.
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

Take 1 failed

Post by mammadori »

Bad news, my spring package upload was rejected.

My fault since I left in the sources two sourceless binaries, formally:

"AI/Interfaces/Java/data/jlib/vecmath.jar" and "AI/Interfaces/Java/data/jlib/jna.jar"

Are those 2 jars necessaries?

Much better: where are the sources of those two files?

As now I needed to strip 4 sourceless file from the official .tar.gz:

installer/nsis_plugins/inetc.dll
installer/nsis_plugins/FindProcDLL.dll
installer/7za.exe
installer/dos2unix.exe

Which are Windows only (no problems, just to notice) and sourceless binaries.

Are those really needed to be included in official source tarball?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Take 1 failed

Post by zwzsg »

mammadori wrote:installer/nsis_plugins/inetc.dll
installer/nsis_plugins/FindProcDLL.dll
Those two are only used by the installer, to check if a lobby is already running and ask the user to close it before proceeding to install. So in short, they're really useless for your purpose.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Debian SID (semi) officials packages for Spring

Post by hoijui »

The following have been removed from the source packages of spring:
installer only relevant files, which includes all .exe files plus some .bat files.

If you want to generate the installer yourself, instead of using buildbot, and don't want to use git, you can still download the auto generated zip files containing all of spring sources from github: http://github.com/spring/spring/zipball/master. Therefore, we will stay with the current two source packages, which are both Linux oriented; tar.lzma(high compression) and tar.gz(high compatibility).
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

Spring has been accepted in debian.

Post by mammadori »

This topic can be closed, spring is now officiallly in debian,

lets party! :-)

http://packages.debian.org/sid/spring
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Debian SID (semi) officials packages for Spring

Post by hoijui »

ehh nice! congratulation! :-)

just saw that there is a bug report page on this site you linked, and there is a bug report there already.
now... i found this by chance, but it is unlikely that any of the spring devs will check this page regularly/ever. soo.. either somehow. turn off this reports page and link to mantis/our forum, or.. hmm. maybe i should just subscribe there :D
how marvelous, the modern techniques (mailinglists!!)

about this bug in particular...
as the reporter already suggested, it would help if there was a dbg package. we already talked about that... is such a package planned by you?
Post Reply

Return to “Linux”