Task #163

Task #160: Create 2.71rc1 distribution packages for *nix systems

Create 2.72 distribution packages for Suse

Added by IR4T4 about 7 years ago. Updated about 5 years ago.

Status:Fixed% Done:

100%

Priority:NormalSpent time:-
Assignee:Spyhawk
Category:General
Target version:2.72
OS:Linux Arch:

History

#1 Updated by IR4T4 about 7 years ago

  • Category set to 9
  • Target version set to 2.71rc1

#2 Updated by Radegast about 7 years ago

#3 Updated by IR4T4 about 7 years ago

Radegast wrote:

There is a package for the most recent versions of (Open)Suse maintained by Matt

https://build.opensuse.org/package/show?package=etlegacy&project=games
http://software.opensuse.org/package/etlegacy

Same as for the other existing distributions - engine and mod are not 2 packages.

#4 Updated by IR4T4 about 7 years ago

  • Assignee set to Matt

Matt is there any chance to rework the package(s) and split engine and mod? Please read: http://www.etlegacy.com/projects/etlegacy/wiki/All_about_*nix_Distribution_Packages

#5 Updated by Matt about 7 years ago

Shall I split the legacy mod into another sub-package or exclude it from the build?

#6 Updated by IR4T4 about 7 years ago

Both! For the mod part use the binaries and files (of legacy path) from the ET:L download.

#7 Updated by Matt almost 7 years ago

It is not allowed to distribute pre-compiled binaries on http://build.opensuse.org

#8 Updated by IR4T4 almost 7 years ago

Matt, if we want multi platform client games on one server we have to deliver precompiled binaries anyway (for each client system until we use QVM and violate the 2.60 standard) - see etl_bin.pk3 The plan is to put in AROS, Linux, Windows and Mac binaries for upcomming releases.

If opensuse doesn’t allow precompiled binaries with no exception we should create a package engine (suse compiled) and another package with game data and mod downloader.

#9 Updated by Matt almost 7 years ago

I separated engine and legacy mod in https://build.opensuse.org/request/show/150515 making etlegacy-mod optional so people can install the file manually from your website into their home. I think this is preferred. Using RPM to auto-download stuff is always hacky and complicated to maintain. I am currently too lazy for it, but I will accept submit requests by someone else.

#10 Updated by IR4T4 almost 7 years ago

  • Subject changed from Create distribution packages for Suse to Create 2.71rc1 distribution packages for Suse
  • Target version changed from 2.71rc1 to 2.71

#11 Updated by Matt almost 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

#12 Updated by Radegast about 6 years ago

  • OS set to Linux

#13 Updated by Spyhawk almost 6 years ago

  • Subject changed from Create 2.71rc1 distribution packages for Suse to Create 2.71 distribution packages for Suse

#15 Updated by Spyhawk almost 6 years ago

Yes. Actually, we should even link something like this to the download page.

Note: I’m currently playing with obs in my personal repo - got some success so far but there is still a lot to do. The above packages are work in progress and not ready at all.

#16 Updated by IR4T4 over 5 years ago

  • Status changed from Fixed to New

Reopened: 2.71rc4 will be released soon.

#17 Updated by Matt over 5 years ago

  • Assignee changed from Matt to Spyhawk

Send a submit request towards https://build.opensuse.org/package/show/games/etlegacy when it is released.

#18 Updated by Matt over 5 years ago

Tried to do it myself, but cmake fails badly at detecting dependencies (at least curl, ogg/vorbis and glew) https://build.opensuse.org/package/show/home:Mailaender:branches:games/etlegacy

#19 Updated by Matt over 5 years ago

Looks like 32-bit cross-compile is pretty much broken. Updated it nonetheless https://build.opensuse.org/request/show/241650, but can’t test as I get

VM_Create on UI failed
See "/home/matthias/.etlegacy/silent/crashlog.txt" for details.

when joining a game. Those crashlog.txt files never exist.

#20 Updated by Spyhawk over 5 years ago

Matt wrote:

Looks like 32-bit cross-compile is pretty much broken. Updated it nonetheless https://build.opensuse.org/request/show/241650, but can’t test as I get

VM_Create on UI failed
See "/home/matthias/.etlegacy/silent/crashlog.txt" for details.

when joining a game. Those crashlog.txt files never exist.

I’ve also some packages available in my test repo: https://build.opensuse.org/package/show/home:Spyhawk/etlegacy
Those are however untested.

Also, I don’t know how to handle the omni-bots files in the OBS, as those are available in binary form only.

#21 Updated by IR4T4 over 5 years ago

  • % Done changed from 100 to 50

So the mod UI lib isn’t loaded for some reasons ...
When UI of mod isn’t loaded have a look at fs_homepath. It should contain the downloaded mod pk3 AND the extracted mod binaries. If you can find cg and ui bins in that path make sure these are the ones from the mod pk3.

Matt, why the 'ExclusiveArch’ thingy is gone? ... Keep in mind our code contains '#if defined i386' macros (we don’t deal with i586) and mods probably use i386 too - I don’t know if i586 is valid.

Edit: 32-bit cross-compile itself isn’t broken - works pretty well on my Debian system.

#22 Updated by Matt over 5 years ago

  • Assignee changed from Spyhawk to Matt

Brought back the exclusive arch https://build.opensuse.org/request/show/241652 as I somehow failed to get cross-compilation to work http://dev.etlegacy.com/issues/551#change-3301. However, the 32-bit binaries also work on 64-bit. The binary only omnibot is against the OBS rules and I will remove it once someone complains.

#23 Updated by IR4T4 over 5 years ago

You may add a simple shell script to download and extract Omnibot to your package instead of including OB files.

#24 Updated by Matt over 5 years ago

Aren’t they needed at compile time?

#25 Updated by IR4T4 over 5 years ago

No. We just have to create the interface (FEATURE_OMNIBOT=1). We use and set up the shared omnibot library from omni-bot.com in our release packages just to be more user friendly and beginners can play with bots directly after the ETL install.

#26 Updated by IR4T4 about 5 years ago

Matt, 2.71 release is tagged - https://github.com/etlegacy/etlegacy/tags (use latest 2.71a)

#27 Updated by Spyhawk about 5 years ago

I’ve some updated packages with systemd integration in my test repo. In comparison with the official games:etlegacy package, I think I’m only missing the Omnibot stuff. Will try to merge and push a request to games:etlegacy.

#28 Updated by Matt about 5 years ago

  • Assignee changed from Matt to Spyhawk

Okay, thanks.

#29 Updated by Spyhawk about 5 years ago

  • Status changed from New to Feedback

Packages ready in my personal repo for openSUSE 13.2/Factory, but untested.

Feedback welcome. Packages to test are etlegacy, etlegacy-mod, etlegacy-omnibot, especially the systemd integration and omni-bot packaging (install, removal) since it is not "packaged" but fetched from the etlegacy mirror (no binaries allowed in OBS).

#30 Updated by Spyhawk about 5 years ago

  • Target version changed from 2.71 to 2.72

#31 Updated by Spyhawk about 5 years ago

  • Subject changed from Create 2.71 distribution packages for Suse to Create 2.72 distribution packages for Suse
  • Status changed from Feedback to Fixed
  • % Done changed from 50 to 100

Done, but I haven’t had much feedback - we’ll probably need to write a news (or add it to the official news) to get testers.

#33 Updated by Spyhawk about 5 years ago

Matt> If you can confirm that my 2.72 package install fine on openSUSE, I’ll push a request to games. I don’t have any openSUSE to test it myself.

#34 Updated by Matt about 5 years ago

Just submit it to games for a review.

Also available in: Atom PDF