Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312993 - games-simulation/openttd version bump 1.0
Summary: games-simulation/openttd version bump 1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 313057 (view as bug list)
Depends on: 300328 308355
Blocks:
  Show dependency tree
 
Reported: 2010-04-03 16:39 UTC by Opportunist
Modified: 2010-04-18 07:36 UTC (History)
12 users (show)

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


Attachments
openttd-1.0.0.ebuild (openttd-1.0.0.ebuild,4.15 KB, text/plain)
2010-04-07 10:39 UTC, Ai Locke Shinseiko (Wizzleby)
Details
openttd-1.0.0.ebuild (openttd-1.0.0.ebuild,4.23 KB, text/plain)
2010-04-07 10:49 UTC, Ai Locke Shinseiko (Wizzleby)
Details
openttd-0.7.5-to-1.0.0.ebuild.patch (openttd-0.7.5-to-1.0.0.ebuild.patch,4.37 KB, patch)
2010-04-07 10:51 UTC, Ai Locke Shinseiko (Wizzleby)
Details | Diff
metadata.xml.patch (metadata.xml.patch,931 bytes, text/plain)
2010-04-07 10:54 UTC, Ai Locke Shinseiko (Wizzleby)
Details
openmsx-0.2.1.ebuild (openmsx-0.2.1.ebuild,793 bytes, text/plain)
2010-04-07 11:03 UTC, Ai Locke Shinseiko (Wizzleby)
Details
openmsx-0.2.1.ebuild (openmsx-0.2.1.ebuild,853 bytes, text/plain)
2010-04-07 16:04 UTC, Ai Locke Shinseiko (Wizzleby)
Details
openttd-1.0.0-build.patch (openttd-1.0.0-build.patch,14.13 KB, patch)
2010-04-14 10:20 UTC, Ai Locke Shinseiko (Wizzleby)
Details | Diff
openttd-1.0.0.ebuild (openttd-1.0.0.ebuild,4.46 KB, text/plain)
2010-04-15 18:34 UTC, Ai Locke Shinseiko (Wizzleby)
Details
openttd-1.0.0.ebuild (openttd-1.0.0.ebuild,4.46 KB, text/plain)
2010-04-15 18:34 UTC, Ai Locke Shinseiko (Wizzleby)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Opportunist 2010-04-03 16:39:28 UTC
6 years. What were you doing 6 years ago? 

In March 2004 OpenTTD 0.1 was released. Hardly a month later in April 2004 OpenTTD 0.2. And today, six years later... OpenTTD 1.0.0. It was a lot of work, hundreds of thousands of translations, tens of thousands of commits, thousands of graphics, hundreds of patches, dozen of sounds and musics, and one goal. How many people contributed? Dozen of artists, translators and developers, hundreds of testers and bug reporters, and also the thousands of players. Looking at the readmes and credit sections only gives a small hint. Some of those who were main contributors left long ago, and there are only a few who know them all and talked to them once via IRC or the forums. But if you consider all contributors, including those of the used libraries, and the external artists of OpenSFX... Well, then most likely not every contributor actually knows OpenTTD :) 

So in the end, what was most fun in the past 6 years of OpenTTD? Playing? Contributing? Modding? Talking? Or just taking part in a large crowed moving in one direction? One direction? Well, at least in bigger scope :) But in more detail there were quite some parties involved in the process. Sometimes pulling in the same direction, sometimes maybe pulling in slightly different ones. Let's just mention some of the projects around OpenTTD which influenced it in this or that direction: The various integrated builds and patchpacks, first of all the MiniIN. Then the first Town Growth Challenge, TTDPatch, #openttdcoop, Goal Servers and the big patches (Subsidiaries, YAPF, YAPP, CargoDist, 32bpp & ExtraZoom). And not everything which made it into main trunk was happy sunshine, just to mention the first approach to Path Based Signalling, or the attempts around the AI. 

But when looking back, most turned out fun. Thank you!

http://www.openttd.org/en/download-stable

Reproducible: Always
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2010-04-05 00:14:00 UTC
*** Bug 313057 has been marked as a duplicate of this bug. ***
Comment 2 Kilian 2010-04-06 15:51:10 UTC
Yes! We want this :-)
Comment 3 Mario Kicherer 2010-04-06 17:43:13 UTC
I simply renamed the 0.7.5 ebuild to 1.0.0 and it works for me on amd64.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2010-04-06 17:44:25 UTC
No, we're not going to do that.  1.0 will have the open media support added.
Comment 5 Ai Locke Shinseiko (Wizzleby) 2010-04-07 10:39:51 UTC
Created attachment 226849 [details]
openttd-1.0.0.ebuild

=games-simulation/openttd-1.0.0.ebuild
Comment 6 Ai Locke Shinseiko (Wizzleby) 2010-04-07 10:49:47 UTC
Created attachment 226851 [details]
openttd-1.0.0.ebuild

=missed a few obsolete elogs, tweaked the elogs to be more relevant
Comment 7 Marek Królikowski 2010-04-07 10:50:38 UTC
(In reply to comment #5)
> Created an attachment (id=226849) [details]
> openttd-1.0.0.ebuild
> 
> =games-simulation/openttd-1.0.0.ebuild
> 

emerge: there are no ebuilds to satisfy "games-misc/opensfx".
(dependency required by "games-simulation/openttd-1.0.0" [ebuild])

First u need add to portage:
		games-misc/opengfx
		games-misc/opensfx
		games-misc/openmsx
Comment 8 Ai Locke Shinseiko (Wizzleby) 2010-04-07 10:51:08 UTC
Created attachment 226853 [details, diff]
openttd-0.7.5-to-1.0.0.ebuild.patch

the same as above, in diff form
Comment 9 Ai Locke Shinseiko (Wizzleby) 2010-04-07 10:54:18 UTC
Created attachment 226855 [details]
metadata.xml.patch

metadata.xml updates wrt new USE flag
Comment 10 Ai Locke Shinseiko (Wizzleby) 2010-04-07 10:58:19 UTC
Just relalized I left the maintainer line in metadata.xml when porting it from gamerlay.  It can either be taken out, or considered as an offer to proxy maintain openttd + deps
Comment 11 Ai Locke Shinseiko (Wizzleby) 2010-04-07 11:01:49 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > Created an attachment (id=226849) [details] [details]
> > openttd-1.0.0.ebuild
> > 
> > =games-simulation/openttd-1.0.0.ebuild
> > 
> 
> emerge: there are no ebuilds to satisfy "games-misc/opensfx".
> (dependency required by "games-simulation/openttd-1.0.0" [ebuild])
> 
> First u need add to portage:
>                 games-misc/opengfx
>                 games-misc/opensfx
>                 games-misc/openmsx
> 
Yes, see bugs 300328, 308355, exist for opengfx, opensfx, and their respective build dependencies which are not in tree. No bug exists for openmsx, so I will attach it to this bug
Comment 12 Ai Locke Shinseiko (Wizzleby) 2010-04-07 11:03:05 UTC
Created attachment 226857 [details]
openmsx-0.2.1.ebuild

games-misc/openmsx-0.2.1.ebuild
Comment 13 Ai Locke Shinseiko (Wizzleby) 2010-04-07 16:04:11 UTC
Created attachment 226889 [details]
openmsx-0.2.1.ebuild

games-misc/openmsx-0.2.1

inherit python, set active version of python to 2, clean up quoting
Comment 14 Alec Meyers 2010-04-12 20:37:18 UTC
Thanks a lot!

Works great for me on ~amd64
Comment 15 Ai Locke Shinseiko (Wizzleby) 2010-04-14 10:20:59 UTC
Created attachment 227765 [details, diff]
openttd-1.0.0-build.patch
Comment 16 Ai Locke Shinseiko (Wizzleby) 2010-04-14 10:22:34 UTC
Comment on attachment 227765 [details, diff]
openttd-1.0.0-build.patch

Separate CFLAGS and CXXFLAGS, don't pass CFLAGS to CXX, and make sure that CXXFLAGS and CFLAGS both contain enough info to compile
Comment 17 Ai Locke Shinseiko (Wizzleby) 2010-04-15 04:28:30 UTC
Upon discussion with upstream, I am chagrined to discover that the build patch may be unecessary. If it is not a bad thing, CFLAGS may be overridden with CXXFLAGS, or CFLAGS passed as a blank string to the configure script. Openttd is compiled entirely with the C++ compiler. Upstream incorporates CFLAGS because that is the workflow of their developers: to pass options with CFLAGS. I have tested the ebuild with the configure line starting as: CFLAGS="" ./configure
I also tested with CFLAGS=${CXXFLAGS} though that results in the contents of CXXFLAGS being passed twice.
Overriding CFLAGS with an empty string does prevent passing the contents of a user's CFLAGS (provided they don't simply CXXFLAGS=${CFLAGS} in /etc/make.conf), but I am unsure if it is The Right Thing to do.
Comment 18 Ai Locke Shinseiko (Wizzleby) 2010-04-15 18:34:35 UTC
Created attachment 227951 [details]
openttd-1.0.0.ebuild

The alternative to the build.patch. CFLAGS= ./configure
Comment 19 Ai Locke Shinseiko (Wizzleby) 2010-04-15 18:34:47 UTC
Created attachment 227953 [details]
openttd-1.0.0.ebuild

The alternative to the build.patch. CFLAGS="" ./configure
Comment 20 Mr. Bones. (RETIRED) gentoo-dev 2010-04-18 07:36:09 UTC
in portage.  thanks for the bug report and ebuild.