OpenTTD is a clone of Transport Tycoon Deluxe, a popular Microprose game
originally written by Chris Sawyer. It attempts to mimic the original game
as closely as possible while extending it with new features.
===> The following configuration options are available for openttd-15.3:
DOCS=on: Build and/or install documentation
FLUIDSYNTH=off: MIDI playback support via FluidSynth
SERVER=off: Build dedicated server only (no GUI)
===> Use 'make config' to modify these settings
OpenTTD can use free (libre) data files, split into OpenGFX for
graphics, OpenSFX for sounds, and OpenMSX for music; it will offer
to download them upon running the program. Alternatively, they
can be installed as corresponding `games/opengfx', `games/opensfx',
and `games/openmsx' ports or packages.
If you'd rather use data files from the original Windows version
of ``Transport Tycoon Deluxe'', copy the following files to your
$HOME/.openttd/data directory:
sample.cat
trg1r.grf
trgcr.grf
trghr.grf
trgir.grf
trgtr.grf
If you want the TTD music, copy the gm/ folder from the Windows
version of TTD to your OpenTTD folder (not your data folder). The
music from the DOS version does not work.
If you are using a non-Latin language, you may see lots of `?'s on
the screen. Please open your configuration file and add desired
fonts (file name with full path). Bold fonts might look better:
[misc]
small_font =
medium_font =
large_font =
Enjoy!!
games/openttd: update: 15.2 -> 15.3
<ChangeLog>
- Fix: Conditional orders could require a maximum reliability over
100% (#15409)
- Fix: Improve appearance of toolbars and main menu images/text with
some non-default base sets (#15402)
- Fix: [Script] IsBuildableRectangle for a 0x0 tile should return
false (#15357)
- Fix: Desync caused by train crashes (#15338)
- Fix: Incorrect scroll bar capacity for train details window total
cargo tab (#15329)
- Fix #15310: Crash caused by a helicopter running out of fuel near
map edge (#15311)
</ChangeLog>
PR: 294594
Approved by: danfe (maintainer)
Sponsored by: tipi.work
games/openttd: update OpenTTD to the latest version 15.0
- Companies in multiplayer no longer have passwords, remove the
user-contributed patch to save them between server restarts
which was also raising concerns over storing them clear-text
- Sadly, SDL 1.2 support had been dropped in January 2025
- Added support for sound effects in Ogg Opus format
PR: 278117
games/openttd: try to unbreak the port's build on recent -CURRENT
GCC 15 and Clang 19 are more aggressive in checking for dependent
names (downcasting/CRTP mechanism). Use the proper Yapf() call.
Obtained from: Gentoo Linux (https://bugs.gentoo.org/936417)
Reported by: pkg-fallout
games/openttd: update OpenTTD to version 14.1 (major update)
Users and server operators should read the announcement:
https://www.openttd.org/news/2024/04/13/openttd-14-0
Drop nowadays needless USES+=gnome: as explained by tobik@,
it was required for INSTALLS_ICONS which only did something
when `gnome.mk' was loaded, but this knob is long gone.
games/openttd: update OpenTTD to the latest version 13.4
- By popular demand, prefer SDL 2.x by default but leave the option
to use the previous stable version
- Drop incomplete work-around for strange Clang bug added in commit
f2488f960dc8: the problem is not specific to PowerPC but versions
13.1 and later no longer trigger it (pending investigation)
PR: 272428, 272623
Reported by: portscout, pkg-fallout
Clang bug: https://github.com/llvm/llvm-project/issues/49093
games/openttd: fix build with LLVM 15 on powerpc*
Use LLVM 16 instead:
Assertion failed: (!KnownValid && "Explicit template arguments?"), function
AddOverloadedCallCandidate, file
/usr/local/poudriere/jails/main-powerpc64le/usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp,
line 12672.
games/openttd: update OpenTTD to the latest version 13.0
This is one of the largest releases they've done in several
years, with numerous features and improvements covering the
user interface, gameplay features, and modding extensions.
Rename files/pkg-message.in -> pkg-message now that it does
not use any %%-substitutions.
Via: https://www.opennet.ru/opennews/art.shtml?num=58608
games/openttd: handle port's dependencies somewhat better (+)
- Prevent Fluidsynth detection if it was explicitly disabled
- Depend on SDL2 if it's being installed (but prefer SDL1 by
default); this should only affect local (manual) builds
- Original proprietary game data files had not been required
for a while, rephrase the installation message accordingly
PR: 267862
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
games/openttd: update OpenTTD to version 12.0
Disable __builtin_mul_overflow() on i386 for the time being as it
breaks the build. Yes, they have dropped the leading digit in the
version scheme; it seems like a common trend, unfortunately.
Reported on: OpenNET
INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
- Update OpenTTD to version 1.11.0
- Now requires C++17 and built with CMake
- Finally, convert to options and helpers
- Drop no longer needed Makefile targets
Update OpenTTD to version 1.10.1, mandatory bugfix release.
Some server administrators complained about us breaking the admin
port protocol. Sorry about that, we're bringing the old protocol
back now, your old tools will now work again.
Someone also found two crash bugs to fix, game script goal question
id's being truncated, and a display issue when refitting incredibly
large trains.
Found out via: repology.org
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
- Update OpenTTD to the latest stable version 1.9.0
- Collapse per-mirror MASTER_SITES into single CDN entry point:
old mirrors do not carry 1.9.0 distfile and I could not find
current mirror list, should be OK as new entry point works
with "fetch -A": it either does not redirect at all, or sends
301 (permanent), not 302 (temporary) redirect response
- Allow to build with Fluidsynth music driver (off by default)
- Install more complete set of documentation and game files
- Move docfiles installation under `post-install-DOCS-on'
- Add `sdl' to USES list and make pkg-plist file better sorted
PR: 237094 (patchless update request)
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
games/openttd: unbreak with ICU 61
src/language.h:108:8: error: unknown type name 'Collator'; did you mean
'UCollator'?
extern Collator *_current_collator;
^~~~~~~~
UCollator
/usr/local/include/unicode/ucol.h:58:26: note: 'UCollator' declared here
typedef struct UCollator UCollator;
^
https://ssl.icu-project.org/trac/changeset/40705
PR: 227042
Reported by: antoine (via exp-run)
devel/icu: drop C++98 compatibility workarounds
Now that both USE_GCC and -CURRENT default to C++14 there's little
reason to complicate maintenance. Revert r449685 to usher consumers
into post-C++11 world.
PR: 222433222434222435
Update of LLVM components in -head to version 5.0.0 apparently had broken
OpenTTD due to a conflict of ``type'' being defined (differently) and used
in both libc++ and the game itself:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:234:95: error: member reference base type 'int'
is not a structure or union
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN()
_NOEXCEPT {return type(0);}
.../openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:25: note:
expanded from macro 'type'
#define type(obj) ((obj)._type)
Mend the problem by #includ'ing <math.h> prior to Squirrel's (programming
language OpenTTD uses internally for scripting).
Reported by: pkg-fallout
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Reported by: swills
games/openttd: move ICU dep where it belongs
Before r425890 ICU was pulled via INSTALLS_ICONS. It's also not used
even if installed for dedicated server build.
- Update devel/icu to 57.1.
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
--disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU. The code wanted to use BYTE_ORDER
defined in machine/endian.h, but this isn't visible because ICU is
compiled with _XOPEN_SOURCE. Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
a C++11 runtime library now. Add this to all ports that depend on it
so their executables load the right libstdc++.so on FreeBSD 9.
PR: 205120
Exp-run by: antoine
Approved by: portmgr (antoine)
- Update to version 1.5.0, fixup optional persistent password saving patch
- Replace references to PORTVERSION with DISTVERSION throughout Makefile to
make testing of beta- and RC-versions easier (e.g., just set DISTVERSION=
1.x.y-RCz and go)
Unbreak the build against new freetype2 (v2.5.4).
This is sed(1) version of submitted patch; it is slightly less accurate,
but functionally equivalent.
PR: 195869
Submitted by: amdmi3
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
- Update OpenTTD to version 1.4.4
- Mention that one can copy game data files to ~/.openttd/data/ rather
than %%DATADIR%%/data/ (and thus avoid polluting system domain)
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
- Update OpenTTD to version 1.4.1 which fixes a regression with the order
of how some packets are sent to the admin port
- Add another mirror (per http://devs.openttd.org/~truebrain/mirror.txt)
- Remove trivial files/liblzma.pc and handle liblzma the same way as zlib
and lzo2; this also allows to simplify `post-patch' target
The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:
NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE
This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.
This patch also contains updates of libxcb and related ports, pixman, as well
(Only the first 15 lines of the commit message are shown above )
Update to version 1.3.3, which fixes an important crashy bug: denial of
service (server) using forcefully crashed aircrafts.
While here, reduce the diffs between other OpenTTD's VuXML entries; and
limit build logs verbosity to bulk package builders (or batch builds).
PR: ports/184434, ports/184435
Submitted by: Ilya A. Arkhipov
Security: CVE-2013-6411
- Update to version 1.3.0
- Drop an article from COMMENT line
- Remove one defunct mirror
- NOPORTDOCS -> PORT_OPTIONS:MDOCS
- Sort pkg-plist a bit while here
Feature safe: yes
Number of commits found: 152 (showing only 100 on this page)