Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189303 - games-simulation/openttd-svn-0.6.0 (new ebuild)
Summary: games-simulation/openttd-svn-0.6.0 (new ebuild)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Lars Weiler (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-08-18 05:00 UTC by Kenny Bentley
Modified: 2007-09-06 21:44 UTC (History)
0 users

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


Attachments
games-simulation/openttd-svn-0.6.0.ebuild (openttd-svn-0.6.0.ebuild,5.19 KB, text/plain)
2007-08-18 05:02 UTC, Kenny Bentley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenny Bentley 2007-08-18 05:00:17 UTC
I'm posting this ebuild, because they completely changed their build system in the svn. This will be useful for the next major release.

There are a notes:
1. iconv support needs libiconv -- which is masked -- but the configure tells me that I only need iconv if I'm on a mac.
2. added static useflag -- untested
3. In configure, I s/openttd/openttd-svn/ -- easy remove this for next major :)
4. I'm unsure how to get the svn revision number, so I put the date instead
5. I configure make install to go into the image/ dir -- not sure if this is the correct way to do things. -- The other way is commented out.
6. I have no idea how to get the pixmaps into icons and a desktop icon -- that part is broken
7. timidity is probably broken too, tester?
8. openttd stable and openttd-svn can coexist in the same system.

Reproducible: Always

Steps to Reproduce:
games-simulation/openttd-svn-0.6.0
Comment 1 Kenny Bentley 2007-08-18 05:02:14 UTC
Created attachment 128459 [details]
games-simulation/openttd-svn-0.6.0.ebuild
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2007-09-06 21:44:46 UTC
I'm not a fan of svn-ebuilds.  Also, the portage-guideline says to avoid svn-ebuilds, but use snapshots instead.  But svn-ebuilds can be used in overlays of course.

Your svn-ebuild is based on a quite old version of the openttd-ebuild.  The one for version 0.5.2 is in a better shape.  But I used your ebuild for impressions in order to create a nicer 0.5.3-RC3 ebuild.  The configure-part is already changed, but unfortunately make install is still in a very early testing phase in this version of openttd.  I'll switch to it later when it is usable.

I'll mark this bug as LATER for now.