Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567392 - games-fps/warsow-2.1 version bump
Summary: games-fps/warsow-2.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 596736 (view as bug list)
Depends on:
Blocks: 599224 600680
  Show dependency tree
 
Reported: 2015-12-02 22:18 UTC by iamsylvie
Modified: 2018-04-13 18:47 UTC (History)
6 users (show)

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


Attachments
warsow-2.1.ebuild (warsow-2.1.ebuild,2.09 KB, text/plain)
2016-04-27 16:28 UTC, Wojciech Myrda
Details
warsow-2.0.1-warsow-2.1.ebuild.patch (file_567392.txt,1.36 KB, patch)
2016-04-27 19:33 UTC, jospezial
Details | Diff
warsow-2.1.ebuild (warsow-2.1.ebuild,2.17 KB, text/plain)
2016-04-27 22:12 UTC, Wojciech Myrda
Details
warsow-2.1.ebuild (warsow-2.1.ebuild,2.61 KB, text/plain)
2017-02-02 20:44 UTC, Petross404(Petros S)
Details
warsow-2.1.2.ebuild (warsow-2.1.2.ebuild,2.12 KB, text/plain)
2018-04-03 15:16 UTC, Wojciech Myrda
Details
warsow-2.1.2-r1.ebuild (warsow-2.1.2-r1.ebuild,2.09 KB, text/plain)
2018-04-13 15:01 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iamsylvie 2015-12-02 22:18:29 UTC
Warsow 2.0 has been released on 30 November, over 48 hours ago.

I am not knowledgeable enough with Gentoo to be able to assist in creating an ebuild for this release, but I'd like to thank the games team in advance for the work needed to create one.
Comment 1 jospezial 2016-01-22 04:01:31 UTC
https://www.warsow.gg/blog

Warsow 2.01 released


:: :: Changes from 2.0 to 2.01

General:
+ Rewinding demos no longer breaks POV switching.
+ Fixed client-side crashes in CTF: Tactics game mode.
+ Corrected the list of assets released under Creative Commons Attribution-NoDerivatives license (see license.txt).

Server:
+ Fixed race condition which was preventing multiple server instances to complete initialization in case they were sharing the same home directory.
+ Bugfixes and improved performance for the built-in HTTP server.

UI:
+ Fixed memory leaks, improved peformance for the server browser with l10n enabled.

Renderer:
+ Automatically disable multithreading if Nouveau graphics driver is detected (Linux).
+ Automatically use discrete GPU's on laptops with both integrated and discrete GPU's.

HUD:
+ Updated adem HUD.
+ Updated strafe.hud for all HUDs.
Comment 2 jospezial 2016-01-23 21:13:58 UTC
Warning!

https://bugs.gentoo.org/show_bug.cgi?id=572724
games-fps/warsow-1.5.1-r1 wrong SRC_URI

www.warsow.eu is a warez site.

www.warsow.net and www.warsow.gg are the real domains.
Comment 3 jospezial 2016-01-23 22:38:57 UTC
downloadlink on website for warsow_201_unified.tar.gz is
https://www.warsow.gg/download?dl=warsow201
which results in
http://mirror.null.one/warsow_201_unified.tar.gz

I can't find the link for the engine package on the website.
There is an SDK (source code + tools) package with 534MB.

URL for the engine tarball could be
https://github.com/Warsow/qfusion/tarball/master

All a bit complicated. I don't know what all is needed but I want to have the most of it to compile on my computer and not as binary download.

Can we use libRocket-1.3.0.0 for this version now?
Comment 4 jospezial 2016-01-23 23:57:57 UTC
Now I see it is in games-overlay since 11 days.
https://github.com/hasufell/games-overlay/blob/master/games-fps/warsow/warsow-2.0.1.ebuild

It could have saved me a few hours if I had seen that earlier.
Compiles und runs.

Nice work Hasufell!

That ebuild has no dep on libRocket.
Comment 5 Wojciech Myrda 2016-04-27 16:28:21 UTC
Created attachment 432278 [details]
warsow-2.1.ebuild

There is new version 2.1 available. See https://www.warsow.gg/forum/thread/16924/1 for quite long changelog details

Using games overlay ebuild with slight changes the game builds and installs for me just fine, but during the start it does not work as it trows out an error saying "Error during initialization: Could not find any shaders!" I would think that my Intel Skylake GPU has some ;)

Maybe it is due to the broken link during install?
* QA Notice: Symbolic link /usr/share/warsow/basewsw/*.so points to /usr/libexec/warsow/*.so which does not exist.

Please take a look at the ebuild whether something can be done about it
Comment 6 jospezial 2016-04-27 19:33:50 UTC
Created attachment 432318 [details, diff]
warsow-2.0.1-warsow-2.1.ebuild.patch
Comment 7 jospezial 2016-04-27 19:41:22 UTC
I tried the same today as I read about the new release on Phoronix.
Thanks to your attached ebuild I found the new names for the newexe part.

For the dosym error I change basewsw to base.

I get the same error about the shaders on Radeon HD 4850 with radeon driver and mesa.
Comment 8 jospezial 2016-04-27 20:54:18 UTC
The shaders error has something to do with the installed folders and a not correct set path to the working or data dir.
Comment 9 Wojciech Myrda 2016-04-27 21:08:16 UTC
Yeah what will one do without Phoronix :) I read about it there too.
 Hence You have confirmed same finding about problem staring the game I went ahead and asked upstream about it https://www.warsow.gg/forum/thread/t/231946 Hopefully they would be able to help with the issue if we do not solve it earlier than that
Comment 10 jospezial 2016-04-27 21:11:54 UTC
We need

cmake -DQFUSION_GAME="Warsow"

But where to write it in the ebuild?

See
/var/tmp/portage/games-fps/warsow-2.1/work/warsow_21_sdk/source/source/CMakeLists.txt
Comment 11 jospezial 2016-04-27 21:26:20 UTC
I removed the "if" lines in beginning of 

and this is what I get after compiling:

ls -l /var/tmp/portage/games-fps/warsow-2.1/work/warsow_21_sdk/source/source/build/
insgesamt 1676
drwxr-xr-x 2 portage portage   4096 27. Apr 23:21 basewsw
drwxr-xr-x 2 portage portage   4096 27. Apr 23:21 libs
-rwxr-xr-x 1 portage portage 804496 27. Apr 23:21 warsow.x86_64
-rwxr-xr-x 1 portage portage 449768 27. Apr 23:21 wsw_server.x86_64
-rwxr-xr-x 1 portage portage 448096 27. Apr 23:21 wswtv_server.x86_64

Doesn't this look great?
Comment 12 jospezial 2016-04-27 21:28:03 UTC

"if" lines in /var/tmp/portage/games-fps/warsow-2.1/work/warsow_21_sdk/source/source/CMakeLists.txt

> I removed the "if" lines in beginning of 
> 
> and this is what I get after compiling:
> 
> ls -l
> /var/tmp/portage/games-fps/warsow-2.1/work/warsow_21_sdk/source/source/build/
> insgesamt 1676
> drwxr-xr-x 2 portage portage   4096 27. Apr 23:21 basewsw
> drwxr-xr-x 2 portage portage   4096 27. Apr 23:21 libs
> -rwxr-xr-x 1 portage portage 804496 27. Apr 23:21 warsow.x86_64
> -rwxr-xr-x 1 portage portage 449768 27. Apr 23:21 wsw_server.x86_64
> -rwxr-xr-x 1 portage portage 448096 27. Apr 23:21 wswtv_server.x86_64
> 
> Doesn't this look great?
Comment 13 jospezial 2016-04-27 21:52:20 UTC
Game is running. ;-)
Comment 14 Wojciech Myrda 2016-04-27 22:12:30 UTC
Created attachment 432350 [details]
warsow-2.1.ebuild

Here comes working ebuild :)
Comment 15 Alex 2016-08-23 16:11:48 UTC
latest ebuild works fine for me on amd64

no one really plays 1.5 anymore, and having outdated ebuild in portage tree fragments small playerbase even more.
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-16 06:11:36 UTC
*** Bug 596736 has been marked as a duplicate of this bug. ***
Comment 17 jospezial 2016-10-16 09:29:35 UTC
@Jer, Summary should be "games-fps/warsow-2.1 version bump."
Comment 18 Pacho Ramos gentoo-dev 2016-11-28 16:18:05 UTC
is anyone willing to proxy maintain this and libRocket? :/
Comment 19 Alex 2016-11-28 19:09:43 UTC
I can proxy maintain warsow, I am still playing it.

regarding librocket - I don't know of any other project using it, and it is already bundled with warsow sources.
Comment 20 Pacho Ramos gentoo-dev 2016-11-28 21:09:41 UTC
I will CC proxy-maint, regarding libRocket, I think the needed version is already in the tree and, since using system-libs instead of bundled is preferred, I guess we can stick with system one without much burden :/
Comment 21 Petross404(Petros S) 2017-02-02 20:44:10 UTC
Created attachment 462286 [details]
warsow-2.1.ebuild
Comment 22 Petross404(Petros S) 2017-02-02 20:45:47 UTC
(In reply to Petross404(Petros S) from comment #21)
> Created attachment 462286 [details]
> warsow-2.1.ebuild

This ebuild works for me. Needless to say the new warsow is so GOOD and plays so smoothly on my ancient gpu!

Please, please take it to the official tree.
Comment 23 Dennis Schridde 2017-05-13 19:00:06 UTC
Could someone please adjust the summary?
Comment 24 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-14 20:03:39 UTC
One more month for someone to care enough to actually submit a pull request.


commit b4b93e2a9f396f409e9c4da116a751f0fdea027f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Mon Aug 14 21:52:38 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Mon Aug 14 21:58:54 2017

    package.mask: Prolong the mask for games-fps/warsow, #567392
Comment 25 Larry the Git Cow gentoo-dev 2017-10-03 22:13:04 UTC
The bug has been closed via the following commit(s):

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

commit adf5ba788e71beab319d444fe7f6672e7fc6e2f7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2017-10-03 21:54:32 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2017-10-03 22:12:21 +0000

    games-fps/warsow: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/567392

 games-fps/warsow/Manifest                        |   4 -
 games-fps/warsow/files/warsow-1.5.1-openal.patch |  12 --
 games-fps/warsow/files/warsow-1.5.1-pic.patch    |  11 --
 games-fps/warsow/metadata.xml                    |  12 --
 games-fps/warsow/warsow-1.5.1-r1.ebuild          | 181 -----------------------
 profiles/package.mask                            |   1 -
 6 files changed, 221 deletions(-)
Comment 26 Wojciech Myrda 2018-04-03 15:16:23 UTC
Created attachment 526444 [details]
warsow-2.1.2.ebuild

I am not sure of the reason why this game in version 1.5 has been removed from portage instead of being updated into 2.1, but hence there is 2.1.2 I updated an ebuild for it. Ebuild updates were around website changes and versioning needed a bit of tweaking.

PS I would also like to see this bug reopened as removing old version from portage does not really solves what this bug was about which was updating it to new version.
Comment 27 jospezial 2018-04-04 16:21:05 UTC
(In reply to Wojciech Myrda from comment #26)
>Ebuild updates were around website changes and
> versioning needed a bit of tweaking.

ENGINE_PV=21
Is it possible to use something generic depending on PV?
What we modify the old ENGINE_PV=${PV//./} ?

> 
> PS I would also like to see this bug reopened as removing old version from
> portage does not really solves what this bug was about which was updating it
> to new version.

(In reply to Michał Górny from comment #24)
> One more month for someone to care enough to actually submit a pull request.
> 
> 
> commit b4b93e2a9f396f409e9c4da116a751f0fdea027f
> Author:     Michał Górny <mgorny@gentoo.org>
> AuthorDate: Mon Aug 14 21:52:38 2017
> Commit:     Michał Górny <mgorny@gentoo.org>
> CommitDate: Mon Aug 14 21:58:54 2017
> 
>     package.mask: Prolong the mask for games-fps/warsow, #567392


So the only cause for the full removal from the tree was no one made a pull request with the latest attachment of this bug?
Or bundled libRocket? https://bugs.gentoo.org/600680
Or because version 1.5 was to outdated?
Can't Gentoo Games Project maintain this?
Comment 28 Alex 2018-04-13 15:01:32 UTC
Created attachment 527264 [details]
warsow-2.1.2-r1.ebuild

> So the only cause for the full removal from the tree was no one made a pull request with the latest attachment of this bug?
Well, I've been sitting on this ebuild for a while, but didn't post it because it is sub-par comparing to old 1.5 ebuilds: It doesn't allow building dedicated version or toggle builtin irc client with use flag - it just builds full game no matter what. 
I didn't figure out how to bring it back — shouldn't be THAT hard, but it worked for me and I didn't care enough.

Another thing, warsow wants its loadable libraries in /usr/share/warsow which is against FHS, in  /usr/share should be only architecture-independent files.

Apart from these two issues games works perfectly. 
Comparing to Wojciech's ebuild - added two data-only hotfixes released after 2.1.2, removed clang patch (it's not needed, tested with clang 4 and 6) and some other misc stuff. Thank you for bumping this and reminding me btw.

> Or bundled libRocket? https://bugs.gentoo.org/600680
I still don't see point in unbundling librocket. Upstream is dead by now (at least site is, last github commit was 2 years ago) and warsow is the only game I know that uses it. I checked repology and only two distros that unbundle it are arch (in AUR for freeablo and panda3d) and opensuse (in their on-demand build service, I didn't figure out how to see rdeps there). 
And, taking in account that warsow development is oficially stalled, I see zero point in separating it.

> Or because version 1.5 was to outdated?
I don't know what's worse - having outdated version that no one plays in the tree or not having any at all.

> Can't Gentoo Games Project maintain this?
I'll get my ass to proxy-maintain this as soon as I sign up to proxy maintainers. Meanwhile it is in my overlay: https://pzskc383.dp.ua/code/overlay/tree/games-fps/warsow/