Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 754951 - games-fps/eduke32: Build VoidSW for Shadow Warrior support
Summary: games-fps/eduke32: Build VoidSW for Shadow Warrior support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-16 18:50 UTC by Florian Dittmer
Modified: 2020-11-16 23:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild to offer "voidsw" USE flag for optionally building VoidSW source port for Shadow Warrior (eduke32-20200829.9253.ebuild,5.82 KB, text/plain)
2020-11-16 18:50 UTC, Florian Dittmer
Details
Differences between attached ebuild and ebuild in main gentoo tree (eduke32-20200829.9253.ebuild.diff,439 bytes, patch)
2020-11-16 18:51 UTC, Florian Dittmer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Dittmer 2020-11-16 18:50:47 UTC
Created attachment 671662 [details]
Updated ebuild to offer "voidsw" USE flag for optionally building VoidSW source port for Shadow Warrior

eduke32 includes support for the game Shadow Warrior (1997) by providing a source port called VoidSW. It can optionally be build with the "sw" target, which results in an additional executable "voidsw" besides "eduke32".

I suggest to either
- create a new gentoo package called games-fps/voidsw
or
- add USE flag "voidsw" to existing package games-fps/eduke32
in order to provide this new source port.

I quickly updated the current eduke32 ebuild to offer the "voidsw" USE flag. Of course by no means this is perfect, because I guess we should also provide ebuilds for installing the required data files from the shareware / retail version (like duke3d-data / duke3d-demodata). But as a quick and dirty fix to provide the voidsw executable, this is fine for me.

To use "voidsw", just change to the directory which includes the Shadow Warrior data files and run "voidsw". It will then detect the files in the current working directory. It will also look up some hardcoded search paths as alternative locations.

FYI: At time of this writing, you can get Shadow Warrior free of charge from GOG.COM (https://www.gog.com/game/shadow_warrior_complete).
Comment 1 Florian Dittmer 2020-11-16 18:51:40 UTC
Created attachment 671665 [details, diff]
Differences between attached ebuild and ebuild in main gentoo tree
Comment 2 Larry the Git Cow gentoo-dev 2020-11-16 23:06:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4888ef21474c75ca7570e356be326a66ee09f853

commit 4888ef21474c75ca7570e356be326a66ee09f853
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-11-16 23:04:19 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-11-16 23:05:56 +0000

    games-fps/eduke32: bump to version 20200907.9257
    
    This release also adds support for
    playing Shadow Warrior (Classic) data files.
    It is run via EDuke32's VoidSW launcher.
    
    Closes: https://bugs.gentoo.org/754951
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 games-fps/eduke32/Manifest                     |   1 +
 games-fps/eduke32/eduke32-20200907.9257.ebuild | 230 +++++++++++++++++++++++++
 games-fps/eduke32/files/voidsw-bin             |  12 ++
 games-fps/eduke32/metadata.xml                 |   1 +
 4 files changed, 244 insertions(+)