From nobody Tue Feb 07 07:03:21 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P9vGx2Zfhz3pGbl; Tue, 7 Feb 2023 07:03:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P9vGx20Jhz4670; Tue, 7 Feb 2023 07:03:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675753401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mUljwmq8vK6m6VyQcyiAXMzN4YSPJu2xRnH5HEAwvV4=; b=J48rbXjL2cbq1Z6jDlfwSZzQA9g7t90lKILXXu1KQHEpy6uZiv816/jhjBrpdO2iQu1gPG Mq7kTAwAGwNGvqLr9uW/BNHbWGyjIsjPVgUcQ7Sbq61vc/KmLUF798UFCbpllPZW5I/z6W D89bx/Gslr45/psRTrbSPjXp4ibvuz/oah5qVZs6P0uK0c79ogkc6DnQcMeymJS6x0Ve10 HW2P8GZdilQ4WQDiOMHc1E14uD1qaNseujsq8OR3bqgdxlttsAwYVO16CqSqOrAl0+5jP0 fRhnFowQVg+kcJalDqNgnDeRi6Hzpp1+lV4vnuf5E/BaicmTi7tjpfO68FOuUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675753401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mUljwmq8vK6m6VyQcyiAXMzN4YSPJu2xRnH5HEAwvV4=; b=btocnS3oygSEjwd8Cv/LIysaxi1mhy6CBTc76BQk/rf412Wr2mTqV0AjB9TMg66X2Cyjgo VxN6nW0R9dGMn/o9dK2j9YhWgzET5Z7BMgd7yixuEGY2/bM7EFtVuYnbFFscqPd0BD5wBy Tjy5lYZeIAswWXWYA5sh8mRic9IxBHxs7mVNgQL0KheiHfUtRI4jCUvlTKEFCR2XtiSCWN nW+own5hwMLtwUhA8BSSLfAsw2FT59Ieafqm94MWa/2Gm5ovMNALdT6SZ/E2jy4lqXz9hn 0EsI74xYyC8jxiPP45YVn4pxoATg9CRrpzIjoyeBQBtXdyBKwHcHPFpqUsApag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675753401; a=rsa-sha256; cv=none; b=TYNhqCwjRg1pC6lHJb7BpMNHtGXtA4W8TPOtufa4/OzR62CZPJ0Lj9uV50IEPp/rOeSYoV q9ysxD75r46Jd8tkEgB0GpQwfkP/JePHuITyaCs/JMp3bOAotiGq5a1wjMNG9KnkZbmtO/ IMlVp6L0CRuxthvXxDyqIKRDYnryRGa68fLotuadkUyM09+XKh3dMNbxkjjtA/AvImp484 TbqzNHOMB5TH7Z0sXB9sNO2k17oRQnYq61c+fuRwLQ4Vr/hOWaCJGCF7fmxxtTy2ACNm0F ZuZEOqRjp1IhzRxFSOAuVv0ciDR5xsvj4xJR71wB3Z0CneofgnM4OoMuGHrOew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P9vGx11xDz16RN; Tue, 7 Feb 2023 07:03:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31773L2g006582; Tue, 7 Feb 2023 07:03:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31773LoQ006581; Tue, 7 Feb 2023 07:03:21 GMT (envelope-from git) Date: Tue, 7 Feb 2023 07:03:21 GMT Message-Id: <202302070703.31773LoQ006581@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: f9524ac49ca3 - main - games/openttd: update OpenTTD to the latest version 13.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f9524ac49ca356296dd87f2084e4a8fabd9390d1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9524ac49ca356296dd87f2084e4a8fabd9390d1 commit f9524ac49ca356296dd87f2084e4a8fabd9390d1 Author: Alexey Dokuchaev AuthorDate: 2023-02-07 07:02:14 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-02-07 07:02:14 +0000 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/Makefile | 5 +---- games/openttd/distinfo | 6 +++--- games/openttd/files/extra-patch-save-passwords | 2 +- games/openttd/{files/pkg-message.in => pkg-message} | 0 games/openttd/pkg-plist | 2 ++ 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/games/openttd/Makefile b/games/openttd/Makefile index 7a61527202a4..12ef1dbac690 100644 --- a/games/openttd/Makefile +++ b/games/openttd/Makefile @@ -1,6 +1,5 @@ PORTNAME= openttd -DISTVERSION= 12.2 -PORTREVISION= 1 +DISTVERSION= 13.0 CATEGORIES= games MASTER_SITES= https://proxy.binaries.openttd.org/openttd-releases/${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-source @@ -20,8 +19,6 @@ CMAKE_ARGS= -DCMAKE_INSTALL_BINDIR:PATH=bin \ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} -SUB_FILES= pkg-message - OPTIONS_DEFINE= DOCS FLUIDSYNTH SAVE_PASSWORDS SERVER SERVER_PREVENTS= FLUIDSYNTH diff --git a/games/openttd/distinfo b/games/openttd/distinfo index 11f80bca2a3d..2b588f925aa5 100644 --- a/games/openttd/distinfo +++ b/games/openttd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1648897817 -SHA256 (openttd-12.2-source.tar.xz) = 81508f0de93a0c264b216ef56a05f8381fff7bffa6d010121a21490b4dace95c -SIZE (openttd-12.2-source.tar.xz) = 7377496 +TIMESTAMP = 1675619840 +SHA256 (openttd-13.0-source.tar.xz) = 339df8e0e0827087c83afe78f8efc6a73b0a3d8a950a0b53137ce6e8aad7ab67 +SIZE (openttd-13.0-source.tar.xz) = 7422316 diff --git a/games/openttd/files/extra-patch-save-passwords b/games/openttd/files/extra-patch-save-passwords index 37374d77683d..becd87ea8e82 100644 --- a/games/openttd/files/extra-patch-save-passwords +++ b/games/openttd/files/extra-patch-save-passwords @@ -103,7 +103,7 @@ @@ -1046,6 +1046,10 @@ void SwitchToMode(SwitchMode new_mode) OnStartGame(_network_dedicated); /* Decrease pause counter (was increased from opening load dialog) */ - DoCommandP(0, PM_PAUSED_SAVELOAD, 0, CMD_PAUSE); + Command::Post(PM_PAUSED_SAVELOAD, false); + // Try to load password + if (_settings_client.network.save_password) { + NetworkLoadPassword( ); diff --git a/games/openttd/files/pkg-message.in b/games/openttd/pkg-message similarity index 100% rename from games/openttd/files/pkg-message.in rename to games/openttd/pkg-message diff --git a/games/openttd/pkg-plist b/games/openttd/pkg-plist index 9c49e916c09b..1301465a3592 100644 --- a/games/openttd/pkg-plist +++ b/games/openttd/pkg-plist @@ -18,6 +18,7 @@ share/man/man6/openttd.6.gz %%DATADIR%%/ai/compat_1.10.nut %%DATADIR%%/ai/compat_1.11.nut %%DATADIR%%/ai/compat_12.nut +%%DATADIR%%/ai/compat_13.nut %%DATADIR%%/baseset/no_music.obm %%DATADIR%%/baseset/no_sound.obs %%DATADIR%%/baseset/openttd.32.bmp @@ -43,6 +44,7 @@ share/man/man6/openttd.6.gz %%DATADIR%%/game/compat_1.10.nut %%DATADIR%%/game/compat_1.11.nut %%DATADIR%%/game/compat_12.nut +%%DATADIR%%/game/compat_13.nut %%DATADIR%%/lang/afrikaans.lng %%DATADIR%%/lang/arabic_egypt.lng %%DATADIR%%/lang/basque.lng