From patchwork Mon Oct 21 15:11:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 32305 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7EBF527BBE9; Mon, 21 Oct 2024 16:14:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9087827BBE2 for ; Mon, 21 Oct 2024 16:14:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2u6E-0007hq-OA; Mon, 21 Oct 2024 11:13:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2u6C-0007fg-PJ for guix-patches@gnu.org; Mon, 21 Oct 2024 11:13:36 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2u6C-0004IE-FL for guix-patches@gnu.org; Mon, 21 Oct 2024 11:13:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=upT5yeW4fXJPYb6b8Ao6BRVr+XvvianOaUlqWnE80Zw=; b=ROjowQxj5Wc/FNTbuRQ8NxGA0szIEIzYy0FaCH80cfkHyivH+f+Rpy9Z49+dZmk7OPZR7By7GWe1J2klRKV5wDEAuFuyxHHGlfz9+wCNHoE2NDBe4qiK+3ndvcIeEFQvWI+e6pw+zhJlKpZnSDlgvAtQ3VFCH0844kNmT1d/Y2l4QYDQz1vb5R2KIi/TCj0crMqVfsiCzLjxJVhsscEoakSxhftS44Y2g68cbCfeA2WKE+xxKf56rNIV2CdPxKGqjb4uJgGXu5+E6+e3/pyPMpKC4s3cNifilYrD2bJugszYMlU/MQEeDmk7gKwRn5ijUl8adH00kaRiPxhZCZZQWQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2u6c-0006fv-Al; Mon, 21 Oct 2024 11:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73931] [PATCH 2/2] gnu: Add vdrift. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Mon, 21 Oct 2024 15:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73931 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73931@debbugs.gnu.org Cc: Maxim Cournoyer , Maxim Cournoyer , Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Maxim Cournoyer , Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 73931-submit@debbugs.gnu.org id=B73931.172952362325622 (code B ref 73931); Mon, 21 Oct 2024 15:14:02 +0000 Received: (at 73931) by debbugs.gnu.org; 21 Oct 2024 15:13:43 +0000 Received: from localhost ([127.0.0.1]:52860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2u6J-0006fC-5Y for submit@debbugs.gnu.org; Mon, 21 Oct 2024 11:13:43 -0400 Received: from mail-pg1-f176.google.com ([209.85.215.176]:48152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2u6H-0006ex-Oc for 73931@debbugs.gnu.org; Mon, 21 Oct 2024 11:13:42 -0400 Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-7ead1edbf1dso1485966a12.0 for <73931@debbugs.gnu.org>; Mon, 21 Oct 2024 08:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729523529; x=1730128329; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=upT5yeW4fXJPYb6b8Ao6BRVr+XvvianOaUlqWnE80Zw=; b=fJGcflR0RkOZxAdfCRvIGiTxBVKTTXHiemNv8kafaEpB8aQlwOtxOZ11CjyPZSp8tm uQ159QjHVXuqDuH75/GUsIxQHkh+MpQj1gWhSbtnHozp0LUbWD0OZGLyNvrChaQPlSYH oHjlKmCrqBujZwHVQ4rN/C1nWdQTNntC4SlnpA4uB/hg7inapSsIlXLPjwsvFFuNBaQ/ i6BOC0ZzeHopH2Dih54p+0nN9D2sA3IC13iOPYtHe6y00G+NCOCcYYwMkzoTlpkbeFj0 nNlvfwggr4IbcmUsXSW/uMe4kuAl/YBemsXWeKzENnjyI9NBmluA946ECGUQKlA9mb41 Q6fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729523529; x=1730128329; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=upT5yeW4fXJPYb6b8Ao6BRVr+XvvianOaUlqWnE80Zw=; b=Zyi9q0k8QHVIl1KHUu8PF0OWWww7WFevbKAE1hPNHwtALy2OIRcTJr74EwDgcDmTgR ycrsTHyhcOLOgoRz9f8JC6JAnqB7RN2ILtf/Qu0cy7H4lkbM+EnF7P55wSqvhZOlz2U5 6PsYxvjPWGo0wrVrnUIF1ukUnTBVJK1+0XPnXi0XZGpsNwaYsaOhyfz4hyh68vT/8ETo DbUU7VMGwU/wjdZhc70AliRvUrFmL/Nmzmg1FJ9dLiVB4RKXbR3SgMh97c0/yIpc+yQK mbZ55Zq6rVB4+qbu3sWglMWc3kTqKeLw14/0/v8RbV0AB3RFuEMWB6i5Rg39THmS6Zh+ bEjw== X-Gm-Message-State: AOJu0YxjeWKPz1MP9UCk/nKmkPsYm1kLsAzsP6zSdOjjvVulcnNY6DTX EUgHnQKfbCnSITZzxBSuLW6PBWwNOTapf0n5O01Ze2nPStDNQy179ZhaiQ== X-Google-Smtp-Source: AGHT+IF0M33dAxgpgk17pe9WBhZZXc5yRVB0r9quPB5lIemC5uEjHR/nXVYugmwIFSv5mAOaRzqEwA== X-Received: by 2002:a05:6a21:b8b:b0:1d9:21fb:d31f with SMTP id adf61e73a8af0-1d92c585abdmr15532558637.45.1729523528708; Mon, 21 Oct 2024 08:12:08 -0700 (PDT) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1332f53sm3012004b3a.73.2024.10.21.08.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 08:12:08 -0700 (PDT) From: Maxim Cournoyer Date: Tue, 22 Oct 2024 00:11:48 +0900 Message-ID: <7c1afc74305f5533fce6b2f0c64c634eb15c72ee.1729522372.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <5324807744be977b885a4fc655ef7b701cf62929.1729522372.git.maxim.cournoyer@gmail.com> References: <5324807744be977b885a4fc655ef7b701cf62929.1729522372.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/games.scm (vdrift): New variable. Change-Id: I55b5884a9d7d4a9e874e76c6a7c8af4974dce701 --- gnu/packages/games.scm | 63 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 0f64040ae1..686475612e 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -822,6 +822,69 @@ (define-public vdrift-data game.") (license license:gpl3+))))) ;assumed same as Vdrift itself +(define-public vdrift + ;; The latest release is from 2014, and lacks build system and other + ;; unreleased improvements; use the latest commit. + (let ((commit "c85725b7b861db3f7e579456ec704f0134d46812") + (revision "0")) + (package + (name "vdrift") + (version (git-version "2014-10-20" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/VDrift/vdrift") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1fndwrjdy1rxnhn8vpw2hv02vgdg3p5qnjmvx679dhwn57cd0773")))) + (build-system scons-build-system) + (arguments + (list + #:tests? #f ;no test suite + #:scons-flags #~(list (string-append "prefix=" #$output) + "release=1" + "verbose=1") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'setup-vdrift-data + (lambda _ + ;; The locale data must be made writable, as gettext + ;; translation files are generated and written there as part + ;; of the installation script. + (copy-recursively (search-input-directory + %build-inputs + "share/games/vdrift/data") + "data") + (for-each make-file-writable (find-files "data/locale"))))))) + (native-inputs (list gettext-minimal pkg-config vdrift-data)) + (inputs (list bullet curl libvorbis mesa sdl2 zlib)) + (home-page "https://vdrift.net/") + (synopsis "Racing simulator") + (description "VDrift aims to provide an accurate driving physics +emulation, based on real world data of the actual vehicles, employing a full +rigid body simulation and a complex tire model. VDrift features: +@itemize +@item Over 45 tracks based on famous real-world tracks +@item Over 45 cars based on real-world vehicles +@item Very realistic, simulation-grade driving physics +@item Mouse/joystick/gamepad/wheel/keyboard support +@item Fully modeled tracks, scenery and terrain +@item Several different camera modes +@item Basic replay system with Skip Forward/Skip Backward +@item Fully customizable controls +@item Joystick, mouse and keyboard input filtering +@item Brake and reverse lights +@item Driver aids: automatic shifting, traction control, anti-lock braking +@item Experimental force feedback +@item Race against up to 3 AI with variable difficultly +@item Engine and road sounds +@end itemize +The recommended input method is a steering wheel with pedals and force +feedback support.") + (license license:gpl3+)))) + (define-public vitetris (package (name "vitetris")