Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600856 - games-strategy/widelands-0.19: version bump
Summary: games-strategy/widelands-0.19: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-25 19:23 UTC by Rafał Mużyło
Modified: 2019-04-24 19:55 UTC (History)
2 users (show)

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


Attachments
widelands-0.19.ebuild (widelands-0.19.ebuild,1.47 KB, text/plain)
2016-12-26 06:39 UTC, Wojciech Myrda
Details
widelands-0.19-cxxflags.patch (widelands-0.19-cxxflags.patch,740 bytes, patch)
2016-12-26 06:41 UTC, Wojciech Myrda
Details | Diff
widelands-0.19.ebuild (widelands-0.19.ebuild,1.49 KB, text/plain)
2016-12-26 12:55 UTC, Wojciech Myrda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2016-11-25 19:23:28 UTC
The bump will need a bit work, some of it near trivial (SDL2 migration), some not quite so (the file ebuild uses for desktop entry was moved and the prefix vars were changed; the CFLAGS patch is also invalid now).
Comment 1 Wojciech Myrda 2016-12-21 17:22:12 UTC
Has anyone attempted to bump this ebuild?
Comment 2 Wojciech Myrda 2016-12-26 06:39:41 UTC
Created attachment 457410 [details]
widelands-0.19.ebuild

Ebuild needs some work as one must run the game by typing in console full path "/usr/share/games/widelands/widelands" instead just "widelands". Due to that  desktop entry does not work.

Starting from the console game runs just fine so it is "good enough" to post here.
Comment 3 Wojciech Myrda 2016-12-26 06:41:16 UTC
Created attachment 457412 [details, diff]
widelands-0.19-cxxflags.patch

Seems this patch is enough for game to use only user cxxflags from system.
Comment 4 Wojciech Myrda 2016-12-26 12:55:12 UTC
Created attachment 457420 [details]
widelands-0.19.ebuild

This one uses wrapper from games.eclass to make it work. Until someone figures out better approach this one works like a charm just with the banned in EAPI=6 manner.
Comment 5 MaratIK 2017-12-02 23:06:10 UTC
the last ebuild install executable file of the game to /usr/widelands
Seems weird.
Comment 6 William Pettersson 2018-08-09 22:21:51 UTC
Widelands has shuffled their build process around, it seems. They install binaries to the path "${CMAKE_INSTALL_PREFIX}/." (see cmake/WlFunctions.cmake, line 279), rather than the default "bin". For now, if you want to fix this, set CMAKE_INSTALL_PREFIX to "/usr/bin" if you want the widelands executable in there, but it's a dirty hack imho. I'll try to raise upstream.
Comment 7 William Pettersson 2018-08-09 22:41:14 UTC
https://bugs.launchpad.net/widelands/+bug/1786353 Upstream bug for the oddly placed executable file.
Comment 8 Larry the Git Cow gentoo-dev 2019-04-24 19:55:05 UTC
The bug has been closed via the following commit(s):

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

commit ee0132f10b8752aa31f73ca0f50e671278a965fb
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-04-24 19:54:46 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-04-24 19:54:59 +0000

    games-strategy/widelands: Bump to version 0.20_rc1
    
    Closes: https://bugs.gentoo.org/600856
    Package-Manager: Portage-2.3.64, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 games-strategy/widelands/Manifest                  |  1 +
 .../files/widelands-0.20_rc1-cxxflags.patch        | 24 ++++++++
 games-strategy/widelands/widelands-0.20_rc1.ebuild | 72 ++++++++++++++++++++++
 3 files changed, 97 insertions(+)