Summary: | games-sports/speed-dreams new version 2.0 available - please update | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | n1ghtmare |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | bugs, orzel, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.speed-dreams.org/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 578918 | ||
Bug Blocks: | |||
Attachments: |
speed-dreams-2.0.0.ebuild
metadata.xml speed-dreams-1.4-2.0.ebuild.diff speed-dreams-2.2.0.ebuild |
Description
n1ghtmare
2012-05-14 11:24:33 UTC
Created attachment 336686 [details]
speed-dreams-2.0.0.ebuild
On my system, the program compiles fine, and it starts fine so that I can navigate the menus, change settings, and so on. However, when I actually try to start a race, the program segfaults. Also, when installing, Portage complains about several of the shared libraries having insecure RPATHS. I've tried several cmake options without finding a fix for it. From what I gather, all the shared libraries have an RPATH during the build phase, but a small number of them are given a null RPATH during installation.
I've also written a live ebuild for Speed Dreams, and I have had no problem with segfaults, so the segfault problem seems to be an upstream issue. However, the RPATH issue still exists.
One more thing, I'm wondering whether it would be proper to slot this ebuild with "2" because all of the upstream defaults append "-2" to the binaries and install paths so that it should be possible to have Speed Dreams 1.4 and Speed Dreams 2 simultaneously installed (if anyone wished to do so).
Created attachment 336688 [details]
metadata.xml
please attach a diff to the old ebuild Created attachment 337064 [details, diff]
speed-dreams-1.4-2.0.ebuild.diff
the useflags confuse me, couldn't we just add a "addons" flag to pull in all the additional tracks/cars/whatever? games.eclass has to be last in inherit line (don't forget to call cmake-utils_src_compile explicitly then) DSD_BINDIR and DSD_DATADIR should not be hardcoded, but use $GAMES_BINDIR and $GAMES_DATADIR if that is creating problems with CMAKE_INSTALL_PREFIX then you have to either patch or work around it for the icon do: newicon -s scalable data/data/icons/icon.png ${PN}-2.svg and then inherit gnome2-utils and do: pkg_preinst() { games_pkg_preinst ; gnome2_icon_savelist ; } pkg_postinst() { games_pkg_postinst ; gnome2_icon_cache_update ; } pkg_postrm() { gnome2_icon_cache_update ; } did you test with media-libs/libpng:1.2 when media-libs/libpng:0 is _not_ installed? 1.2 does not even provide headers and is only available for backwardscompat, so in most cases we just want :0 It does not happen often that plain media-libs/libsdl suffices. Double check if we need any useflags for libsdl. Also, libsdl, enet and jpeg only being build-time deps is uncommon, did you double check? why SLOT=2? That means we are able to install them in parallel. Do we need/want that? you need eutils inherited, because you are calling newicon/make_desktop_entry Created attachment 429556 [details] speed-dreams-2.2.0.ebuild There is new version 2.2 available. I tried to update the ebuild but I could not get it to configure as I only found "partial build patch" for version 2.0. Maybe other will have more luck. I also did try to incorporate some of the below hints from Julian and also added stuff required by new INSTALL file instructions including out of tree library https://bugs.gentoo.org/show_bug.cgi?id=578918 for which I believe most appropriate place is dev-games/libsolid I just found that Arch Linux lists fewer dependencies than originaly included but has extra openscenegraph as dependency. https://www.archlinux.org/packages/community/i686/speed-dreams/ I didn't find any info at speed games about it but might be worth checking as well The update to the game has been released to version 2.2.1 What's new: This is a maintenance release that primarily fixes a sticking throttle issue when driving with the keyboard. Please fix the ebuild to include that game in the tree Version 2.1 is out now. The version of games-sports/speed-dreams in Portage is 1.4.0 from 2010! Please update to 2.1. In fact scratch that, 2.1 is very old as well. 2.2.2-rc2 would be a good choice until 2.2.2-final comes out. https://sourceforge.net/p/speed-dreams/code/HEAD/tree/tags/ The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b33038110b1b2092d48f14a3e5208ade3bcfe9e commit 5b33038110b1b2092d48f14a3e5208ade3bcfe9e Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2021-08-06 11:05:39 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2021-08-06 12:43:27 +0000 games-sports/speed-dreams: add 2.2.3_rc1 Long overdue 2.x bump with entirely new ebuild. With 2.2.2 being nearly 3 years old, picked the newer 2.2.3_rc1. Addons uncondtional unlike formerly proposed given currently doesn't build without WIP addons and upstream no longer provides a patch. Use of ${PN}-2 not strictly necessary (won't be slotting), but it matches what upstream uses. Closes: https://bugs.gentoo.org/415913 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> games-sports/speed-dreams/Manifest | 4 ++ .../speed-dreams-2.2.3_rc1-xmlversion-rpath.patch | 11 +++ games-sports/speed-dreams/metadata.xml | 22 +++--- .../speed-dreams/speed-dreams-2.2.3_rc1.ebuild | 83 ++++++++++++++++++++++ 4 files changed, 110 insertions(+), 10 deletions(-) There's 2.2.3 (no -rc) in portage now. It emerges and run fine, thanks ! The website doesn't mention this version though, you have to dig deeply in sourceforge to find this one.. |