Bug 1035756

Summary: RFE: update supertuxkart to 0.8.1
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: supertuxkartAssignee: Igor Gnatenko <ignatenko>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: gwync, ignatenko, kevin
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: supertuxkart-0.8.1-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 03:44:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1035757    
Bug Blocks:    
Attachments:
Description Flags
Patch to use systemlibs with cmake
none
Updated specfile for 0.8.1
none
Updated desktop patch file (updated to apply to 0.8.1) none

Description Hans de Goede 2013-11-28 11:49:56 UTC
Created attachment 830191 [details]
Patch to use systemlibs with cmake

0.8.1 has been released.

I was busy preparing an update to it, but my local testbuild hit this but if new code:

/* Build-time check that the Irrlicht we're building against works for us.
 * Should help prevent distros building against an incompatible library.
 */

#if IRRLICHT_VERSION_MAJOR < 1 || IRRLICHT_VERSION_MINOR < 7 || \
    _IRR_MATERIAL_MAX_TEXTURES_ < 8 || !defined(_IRR_COMPILE_WITH_OPENGL_) || \
    !defined(_IRR_COMPILE_WITH_B3D_LOADER_)
#error "Building against an incompatible Irrlicht. Distros, please use the included version."
#endif

So I'm filing a bug against irrlicht to bump _IRR_MATERIAL_MAX_TEXTURES_ to 8 (which is the problem) and rebuild. Once that is done, we should be good to go.

Note that the autotools stuff still includes with supertuxkart is even more broken with 0.8.1 then it was with 0.8, it seems it is no longer maintained. So I've switched to cmake in my local spec-file for 0.8.1

This requires a little patch to build against system libs. I'll attach the patch and my modified spec here, in case someone else wants to work on this before I get around to it.

Comment 1 Hans de Goede 2013-11-28 11:53:57 UTC
Bug for tracking fixing irrlicht is bug 1035757

Comment 2 Hans de Goede 2013-11-28 11:54:48 UTC
Created attachment 830193 [details]
Updated specfile for 0.8.1

Comment 3 Hans de Goede 2013-11-28 11:56:12 UTC
Created attachment 830194 [details]
Updated desktop patch file (updated to apply to 0.8.1)

Comment 4 Igor Gnatenko 2013-11-28 12:07:57 UTC
Hans, thank you. I closing this bug because I've prepared update to 0.8.1 ;)

*** This bug has been marked as a duplicate of bug 1035278 ***

Comment 5 Fedora Update System 2014-01-09 10:17:46 UTC
supertuxkart-0.8.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/supertuxkart-0.8.1-1.fc20

Comment 6 Fedora Update System 2014-01-15 06:06:26 UTC
supertuxkart-0.8.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Kevin Kofler 2014-02-03 17:03:38 UTC
We need this also for Fedora 19! (Or a rebuild for the new Irrlicht, but then why not push the bugfix release?) The current build segfaults now:
https://bugzilla.redhat.com/show_bug.cgi?id=1035757#c16

Comment 8 Fedora Update System 2014-02-04 07:48:13 UTC
supertuxkart-0.8.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/supertuxkart-0.8.1-1.fc19

Comment 9 Fedora Update System 2014-02-05 03:44:10 UTC
supertuxkart-0.8.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.