Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611282 - games-action/super-hexagon-20160217: version bump
Summary: games-action/super-hexagon-20160217: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2017-03-01 06:12 UTC by Sophie Hamilton
Modified: 2018-03-15 23:44 UTC (History)
0 users

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


Attachments
ebuild for games-action/super-hexagon-20160217 (super-hexagon-20160217.ebuild,1.73 KB, text/plain)
2017-03-01 06:12 UTC, Sophie Hamilton
Details
build.log for super-hexagon-20160217.ebuild (build.log,3.87 KB, text/x-log)
2017-03-04 01:56 UTC, Sophie Hamilton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sophie Hamilton 2017-03-01 06:12:50 UTC
Created attachment 465618 [details]
ebuild for games-action/super-hexagon-20160217

The Humble Freedom Bundle comes with the 20160217 version of Super Hexagon, so I've updated the ebuild for this new version - the new ebuild is attached.

A few notes about the new ebuild:

* I've updated it to use EAPI 6, so the wrapper will now install to /usr/bin rather than /usr/games/bin.

* The older ebuild didn't depend on media-libs/glew:1.6 even when the "bundled-libs" USE flag wasn't enabled, because the ebuild author felt that just having one consumer of the slot wasn't worth it. I wasn't sure what to do with this but in the end reversed that decision because otherwise the there can be odd interactions with FEATURES="preserve-libs" in some cases. I'm willing to remove the dependency and go back to the bundled library if it's requested.

* I couldn't find an equivalent for the GAMES_PREFIX_OPT environment variable, and the other binary ebuilds I've seen seem to hardcode /opt into the ebuilds, so I've done the same.

* I wasn't certain whether calling eapply_user at the end of the src_prepare was necessary or not for a binary ebuild, but the documentation says it should go at the end of all src_prepare functions so I did so.

Thank you!
Comment 1 Sophie Hamilton 2017-03-04 01:56:15 UTC
Created attachment 465896 [details]
build.log for super-hexagon-20160217.ebuild

I notice it's helpful to have build.log files uploaded for new packages/version bumps, so here's the build log from a successful "ebuild super-hexagon-20160217.ebuild install qmerge" on amd64 without the "bundled-libs" USE flag enabled.

Not much to see, obviously, as it's installing binaries, but hopefully it's helpful. I can also confirm that I've tested this in a 32-bit chroot for x86 arch support, too, both with and without bundled-libs.
Comment 2 Larry the Git Cow gentoo-dev 2018-03-15 23:44:30 UTC
The bug has been closed via the following commit(s):

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

commit 48c72dfeb8f5b9e501a4ffe5c9eaab0e13a18517
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2018-03-15 23:43:07 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-03-15 23:43:07 +0000

    games-action/super-hexagon: Bump to 20160217, EAPI 6, no bundling
    
    This previously bundled SDL 2, probably because it wasn't packaged
    when this was first added. With that unbundled, there are far fewer
    dependencies and this makes unbundling everything less likely to
    break. SDL is particularly stable in this regard. Because of this and
    in the interests of security, I have dropped the bundled-libs
    flag. Anyone experiencing issues can obviously file a bug report.
    
    Closes: https://bugs.gentoo.org/611282
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 games-action/super-hexagon/Manifest                |  2 +-
 games-action/super-hexagon/metadata.xml            |  5 --
 .../super-hexagon/super-hexagon-20141027.ebuild    | 84 ----------------------
 .../super-hexagon/super-hexagon-20160217.ebuild    | 60 ++++++++++++++++
 4 files changed, 61 insertions(+), 90 deletions(-)