From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 02:33:48 2025 Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 07:33:48 +0000 Received: from localhost ([127.0.0.1]:51546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlNXf-0001rd-JV for submit@debbugs.gnu.org; Fri, 21 Feb 2025 02:33:48 -0500 Received: from lists.gnu.org ([2001:470:142::17]:50174) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlNXc-0001q7-E9 for submit@debbugs.gnu.org; Fri, 21 Feb 2025 02:33:45 -0500 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 1tlNXU-0003xh-WD for guix-patches@gnu.org; Fri, 21 Feb 2025 02:33:37 -0500 Received: from qs51p00im-qukt01071901.me.com ([17.57.155.8]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tlNXT-0001Jw-65 for guix-patches@gnu.org; Fri, 21 Feb 2025 02:33:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=10saz79USkKaaclaa5TZ+k8zGrr3dddKptTRut+mw8w=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=BQOtySnfFmNyK3q+hp+764gqcLy9AUVoD6QZjbvL0UbaYHfydiBnvqQClcHTSuVj+ 1yGiL6kNhL0iepYIgJEy1L8YFtog3y0C9bzJgPwDi77opaF3MOCOs1fXcU59RzEwyu 6LUq4kfWvXwmIZGRmBQiqIVcFPJcjpVAbzPxeUpz31JWxT3mS6PBkxdnIIVjDvcOb9 5nt9d1NYc4BJH1WnLu/JLsE1mq9SzYD0Ldmlchg3RlztitQTqQcTyIAiWUSCibNNAB FYN1AHIlBv5lrQOfg3TKviFaa0tv3KveOHXRLLtZOustahVDsZvCgfjhpVnQJKrbpu tPxdi6Zibt8uQ== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01071901.me.com (Postfix) with ESMTPSA id F2D8262801C3; Fri, 21 Feb 2025 07:33:29 +0000 (UTC) From: Andrew Wong To: guix-patches@gnu.org Subject: [PATCH v2] gnu: Add flycast. Date: Fri, 21 Feb 2025 02:32:07 -0500 Message-ID: X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-Debbugs-Cc: Adam Faiz , Liliana Marie Prikler , 宋文武 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: PTl27cKC8k2jrEY-ju_rDHncF6ssONOT X-Proofpoint-GUID: PTl27cKC8k2jrEY-ju_rDHncF6ssONOT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-21_01,2025-02-20_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 phishscore=0 malwarescore=0 spamscore=0 adultscore=0 bulkscore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2502210056 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 Received-SPF: pass client-ip=17.57.155.8; envelope-from=wongandj@icloud.com; helo=qs51p00im-qukt01071901.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Andrew Wong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/emulators.scm (flycast): New variable. Change-Id: I358235492a3493c3126f7ca9f738ed2706e36105 --- I sent an earlier version of this patch, but it got mixed up in another thread(#75856). This version addresses the previous issues. gnu/packages/emulators.scm | 71 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 0eafc3df9e..579f1e1f0f 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -4072,6 +4072,77 @@ (define-public exomizer ;; zlib license with an (non-)advertising clause. (license license:zlib))) +(define-public flycast + (package + (name "flycast") + (version "2.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flyinghead/flycast") + (commit (string-append "v" version)) + ;; There are many bundled packages here included as git + ;; submodules. Removing many of them would require patching the + ;; source code and repository layout. + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ainy75gkrvilcm89hq6wq9md41w0mxgp6l27q5fzrxxykpjh6ym")) + (modules '((guix build utils))) + (snippet #~(begin + (substitute* "CMakeLists.txt" + (("add_subdirectory\\(core/deps/Vulkan-Headers\\)") + "find_package(VulkanHeaders)")) + (with-directory-excursion "core/deps" + (for-each delete-file-recursively + '("SDL" + "Spout" + "Syphon" + "Vulkan-Headers" + "breakpad" + "discord-rpc" + "libzip" + "oboe"))))))) + (build-system cmake-build-system) + (inputs (list alsa-lib + ao + curl + glslang + libzip + lua + miniupnpc + pulseaudio + sdl2 + spirv-tools + vulkan-headers + pkg-config)) + (arguments + (list + #:tests? #f + ;; There are no test targets. Instead, there are configuration options + ;; which turn the main target (bin/flymake) into a set of unit tests. + #:configure-flags + #~(list "-DUSE_ALSA=ON" + "-DUSE_BREAKPAD=OFF" + "-DUSE_DX11=OFF" + "-DUSE_DX9=OFF" + "-DUSE_HOST_GLSLANG=OFF" + ;; ^^ This option is not implemented correctly, but may be in + ;; the future. Review all of these options on the next update! + ;; (see: https://github.com/flyinghead/flycast/issues/1843) + "-DUSE_HOST_LIBZIP=ON" + "-DUSE_HOST_SDL=ON" + "-DUSE_LIBAO=ON" + "-DUSE_LUA=ON" + "-DUSE_PULSEAUDIO=ON" + "-DUSE_VULKAN=ON"))) + (home-page "https://github.com/flyinghead/flycast") + (synopsis "Sega Dreamcast, Naomi, Naomi 2, and Atomiswave emulator") + (description "Flycast is a multi-platform Sega Dreamcast, Naomi, Naomi 2, +and Atomiswave emulator derived from reicast.") + (license license:gpl2+))) + (define-public freedisksysrom ;; There is no release; use the latest commit. (let ((commit "0d5f95f109bb3aadf2bb9510bfda13879bbd5266") base-commit: cd20619cfcb32c2631fb602729512740bc510550 -- 2.48.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 03:42:38 2025 Received: (at 76458) by debbugs.gnu.org; 21 Feb 2025 08:42:38 +0000 Received: from localhost ([127.0.0.1]:52630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlOcH-00044C-1g for submit@debbugs.gnu.org; Fri, 21 Feb 2025 03:42:38 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:53719) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tlOcA-00042P-Pm for 76458@debbugs.gnu.org; Fri, 21 Feb 2025 03:42:31 -0500 Received: by mail-wm1-x341.google.com with SMTP id 5b1f17b1804b1-439a4fc2d65so15541095e9.3 for <76458@debbugs.gnu.org>; Fri, 21 Feb 2025 00:42:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740127344; x=1740732144; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=xGbOBiVkjZDa6p5QaKvzzaCmfoeR0x3Uays4vsA6FdA=; b=OkWerUKEiUNtKSulXeUgo0CNQyMrBD8saiFelc+Lq7CPIUVBYUGaJ2qwyIhiKcdZjJ XxJ12u85igqQw2ZGeWEkCRSyzRxn+JE2xg4cypQNdPQzzkCbGYrgAP5FY9GBdlhN+la5 M6l0baXAGXJxsMHD+xHvJu9/X6ZQqEkGKPw5+vL4tg3rt93yFEhki4+Kq0oMndr+Jmul QpfZP/xySpmLVhNwDdAHmkKS74h7QizDPwM8tSgaNWQFQ4oz38cO180m1B10A1SN7znN Xz6H9zycOl1BCFkQbIEALexdYx0kmhuUNBI0XNpF1BfCqORvWyfclYgasB6GRzw+n0lf Bn+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740127344; x=1740732144; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xGbOBiVkjZDa6p5QaKvzzaCmfoeR0x3Uays4vsA6FdA=; b=ah2KfchPPIWc7Rl9yZm75WIVBCvs5v6r7nz25Yv4TZuxJxlS8tYOFBsrAQ13hgb2Uj i1MJJkMEF4DuTBTwNKCW+U5C1VG7mUCbaOrnZCC8PemGvjW+YTEZto1XqPpgxbQHSeN/ QG5uYyxKPlDm3IM5cU79YZNox2VtowfFtPrEQj2y3RmfJ3arzOZRy+ZTd/WbwRiT1iqb SMX2TQdRnSGAGFzsgP20l05DBP61dMTPMCA4xz4GDEK4RxBaBo5FaUkp4LC1vTMo96Ok ajdByvZWGwogQx9J0l8omuMeEIwGHfCzro35CRULiZuZ4VBeP4NZ5XsTspeFnSZFKeJZ 0BnQ== X-Forwarded-Encrypted: i=1; AJvYcCWWVKeEz9yC3N2ju8ul1cVr4C7BXhXd9EZVKQKMFyLxT70nhPGk9PK2Jtx1HE+vvToPlrIlfg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxQhS1gSb37SScRzhC4PKb+HLOc+htyOS5yaIUhD6LSLJcmDx5c YpxiQSlYpSr8MoSkMF6GeHbPzmEvMa8yodgm21lc42dyVnQuaz0P X-Gm-Gg: ASbGncupMCgU8vFtHl+qoyrAtfGt7v7IowNXbtUEN10bcno7E9ky5oEENoO80iQ3yVe bprGPgUj7Fjb2/tu0XHyTNOGfxLOzUjhs/+uX6F984h0PbcP2IE+nKEGdJjuJsZAtpGojlP87WE 0lHgnQ6zolbMUmUDaux+EZ+RVdg4RTiAK+0nNmqfahz+6unn/8VmqiHb5iJ2PovZqWKiZMkSZ1m sjgEYoXv4/tKLiAgR6hkIX6US/bdDaJJk02wipiRYyJJ+ZJt70fpT8ETkKpfYib3JfV8SJjR1H/ 6Z9noySNtWlXLRDC103MM7u8IX5tT9CVNjjh45Ze03+d2MKCL5MUJMo8pFnE/baFgA0xzlBKhNK hZA== X-Google-Smtp-Source: AGHT+IGuwZZeuMmbE9z7pDt7nhLSfWSZW6/0WcKTSTlnSDZrLto0noeMO+e2x94lfcTjqGK5pUBc9w== X-Received: by 2002:a05:600c:3c86:b0:439:9b80:ca6f with SMTP id 5b1f17b1804b1-439ae1d7272mr22348425e9.5.1740127343983; Fri, 21 Feb 2025 00:42:23 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-439b02ce740sm10584225e9.4.2025.02.21.00.42.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2025 00:42:23 -0800 (PST) Message-ID: <248117eaa819096a2a383b189e2792d31ffaab84.camel@gmail.com> Subject: Re: [bug#76458] [PATCH v2] gnu: Add flycast. From: Liliana Marie Prikler To: Andrew Wong , 76458@debbugs.gnu.org Date: Fri, 21 Feb 2025 09:43:01 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76458 Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Adam Faiz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) QW0gRnJlaXRhZywgZGVtIDIxLjAyLjIwMjUgdW0gMDI6MzIgLTA1MDAgc2NocmllYiBBbmRyZXcg V29uZzoKPiAqIGdudS9wYWNrYWdlcy9lbXVsYXRvcnMuc2NtIChmbHljYXN0KTogTmV3IHZhcmlh YmxlLgo+IAo+IENoYW5nZS1JZDogSTM1ODIzNTQ5MmEzNDkzYzMxMjZmN2NhOWY3MzhlZDI3MDZl MzYxMDUKPiAtLS0KPiBJIHNlbnQgYW4gZWFybGllciB2ZXJzaW9uIG9mIHRoaXMgcGF0Y2gsIGJ1 dCBpdCBnb3QgbWl4ZWQgdXAgaW4KPiBhbm90aGVyIHRocmVhZCgjNzU4NTYpLiBUaGlzIHZlcnNp b24gYWRkcmVzc2VzIHRoZSBwcmV2aW91cyBpc3N1ZXMuCj4gwqBnbnUvcGFja2FnZXMvZW11bGF0 b3JzLnNjbSB8IDcxCj4gKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKPiDC oDEgZmlsZSBjaGFuZ2VkLCA3MSBpbnNlcnRpb25zKCspCj4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4gwqAoZGVmaW5lLXB1YmxpYyBmcmVlZGlza3N5c3JvbQo+IMKgwqAgOzsgVGhlcmUgaXMg bm8gcmVsZWFzZTsgdXNlIHRoZSBsYXRlc3QgY29tbWl0Lgo+IMKgwqAgKGxldCAoKGNvbW1pdCAi MGQ1Zjk1ZjEwOWJiM2FhZGYyYmI5NTEwYmZkYTEzODc5YmJkNTI2NiIpCj4gCj4gYmFzZS1jb21t aXQ6IGNkMjA2MTljZmNiMzJjMjYzMWZiNjAyNzI5NTEyNzQwYmM1MTA1NTAKQ2hlZXJzCg== From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 02:41:36 2025 Received: (at 76458) by debbugs.gnu.org; 22 Feb 2025 07:41:37 +0000 Received: from localhost ([127.0.0.1]:45881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlk8l-0004Mp-Pq for submit@debbugs.gnu.org; Sat, 22 Feb 2025 02:41:36 -0500 Received: from qs51p00im-qukt01072301.me.com ([17.57.155.12]:3331) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlk8j-0004Le-Qy for 76458@debbugs.gnu.org; Sat, 22 Feb 2025 02:41:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=yuFJc7RNM3HmXCp3bxcMhuvCHliHK6GCJ5SCLal4Ukc=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type:x-icloud-hme; b=ZwS2HTVSzY87WRr6Ld6Vv68dbIasZK+9GSqJwLWbpg1Krb8a0mjxXbrQqwtQIwkWV 1NwDKeyasKPV0UD8B7Fi6Q4Xpcxy1jNDjbf0B1p2nw0uzI10FSklqr+7WL7g2pY4x/ ZzKeSatpfCnCOHo02+ncNZEgh9Ku0JisZWwbkYsekjy7V76a7I4TXIN0MjssvcaYgQ VhAn9duP85AJb4jy0+VEVpwIRcr4WvCxNuLzpeVvPVq1I03FiRom2AsrcZjxu6Y1Pj nghXmsExDrQUzI+N9OGWTVeY6xPgRRC4sX1LsuPsLhbyumXp5B3b2ECEM+xxepKKvv chAoPXVs7LgXQ== Received: from [192.168.86.109] (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072301.me.com (Postfix) with ESMTPSA id A75DE2540156; Sat, 22 Feb 2025 07:41:26 +0000 (UTC) Message-ID: <906d9188-6110-4701-9c49-13d768f6f31f@icloud.com> Date: Sat, 22 Feb 2025 02:41:25 -0500 MIME-Version: 1.0 User-Agent: Icedove Daily Subject: Re: [bug#76458] [PATCH v2] gnu: Add flycast. To: Liliana Marie Prikler References: <248117eaa819096a2a383b189e2792d31ffaab84.camel@gmail.com> Content-Language: en-US From: Andrew Wong In-Reply-To: <248117eaa819096a2a383b189e2792d31ffaab84.camel@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: AcGoXGeqLdOYwdIzsaAh2qn2aeXVw9px X-Proofpoint-ORIG-GUID: AcGoXGeqLdOYwdIzsaAh2qn2aeXVw9px X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-22_03,2025-02-20_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 spamscore=0 mlxlogscore=721 mlxscore=0 bulkscore=0 clxscore=1011 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2502220059 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 76458 Cc: 76458@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > The preferred way is to use a keep list. What do you mean by 'keep list'? If you mean defining (delete-all-but) and naming only the kept directories*, the issue is that there are 37(!) bundled directories in total, so this list would be shorter. So also, yes, the recursive checkout is still necessary. > Interesting design.  Maybe we can make a patch that provides them as > an extra target instead?  Otherwise it's fine to say "; no test suite" > or use this comment as a prefix. I would do that if I knew how; unfortunately I don't have the CMake chops to make such a fix, given how tangled this project's build system is. What do you mean 'use this comment as a prefix'? > We prefer comments to be above a line of code or in the same line as > the code.  For the others you could add a line comment like > "; XXX: review when updating" Will do. *Also, would the project appreciate a patch integrating that function into (guix build utils) or other guix module? I count a total of 11 times delete-all-but is defined in gnu/packages. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 04 14:00:18 2025 Received: (at 76458) by debbugs.gnu.org; 4 Mar 2025 19:00:18 +0000 Received: from localhost ([127.0.0.1]:60961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tpXV4-0007SD-3c for submit@debbugs.gnu.org; Tue, 04 Mar 2025 14:00:18 -0500 Received: from qs51p00im-qukt01071901.me.com ([17.57.155.8]:59537) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tpXUz-0007MB-LR for 76458@debbugs.gnu.org; Tue, 04 Mar 2025 14:00:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=OQ32bMJ8LwR8ymYQ7467fKHr4Gb4ygeyqexcctxzjG8=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:x-icloud-hme; b=Rw2604ygdZqKHYqV2+lXONgXL1oItIkHpsnfuW1oYxX6nta5t193Vp5oH8xjZ3UPk FQze3Bo0jL/HAWuXJQUn/N/6udSwNFZ0SQeOj2B54vjkmpOIA/QsD6slddl6k886+q sLPFKG5mNOq0WHpWABJx2G/a71Csuvpu55DL6jbCyd8yG5A1rjVxwX5JIw9ZrXaQtZ ipcljSLymXgNamap6wmaIu2unVpYB+hHlrcWfXA/KJ0o1T6j7cmfiCwZl6/PFN4QL2 r7i+1uza0UnRb7+JQMn5Gt9aQoTLkrh+JwP5YWVnYsTwGnLJCWbi0gW8gyU+yg2+hf Eh9oiPtUZlZBg== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01071901.me.com (Postfix) with ESMTPSA id 675D76280F79; Tue, 4 Mar 2025 19:00:06 +0000 (UTC) From: Andrew Wong To: 76458@debbugs.gnu.org Subject: [PATCH] gnu: Add flycast. Date: Tue, 4 Mar 2025 13:57:49 -0500 Message-ID: <8d608fcaf5c240f6c0a91f8ed4a2f07d9b137730.1741114669.git.wongandj@icloud.com> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-Debbugs-Cc: Adam Faiz , Liliana Marie Prikler , 宋文武 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: ViOBeJBoOo62LwrMJqMPBv-6namTiyE8 X-Proofpoint-GUID: ViOBeJBoOo62LwrMJqMPBv-6namTiyE8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-04_08,2025-03-03_04,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 suspectscore=0 phishscore=0 clxscore=1015 spamscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2503040152 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 76458 Cc: Andrew Wong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/emulators.scm (flycast): New variable. Change-Id: I358235492a3493c3126f7ca9f738ed2706e36105 --- gnu/packages/emulators.scm | 69 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 0eafc3df9e..70e5fad00c 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Artyom V. Poptsov ;;; Copyright © 2025 Ricardo Wurmus +;;; Copyright © 2025 Andrew Wong ;;; ;;; This file is part of GNU Guix. ;;; @@ -4072,6 +4073,74 @@ (define-public exomizer ;; zlib license with an (non-)advertising clause. (license license:zlib))) +(define-public flycast + (package + (name "flycast") + (version "2.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flyinghead/flycast") + (commit (string-append "v" version)) + ;; There are many bundled packages here included as git + ;; submodules. Removing many of them would require patching the + ;; source code and repository layout. + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ainy75gkrvilcm89hq6wq9md41w0mxgp6l27q5fzrxxykpjh6ym")) + (modules '((guix build utils))) + (snippet #~(begin + (substitute* "CMakeLists.txt" + (("add_subdirectory\\(core/deps/Vulkan-Headers\\)") + "find_package(VulkanHeaders)")) + (with-directory-excursion "core/deps" + (for-each delete-file-recursively + '("SDL" + "Spout" + "Syphon" + "Vulkan-Headers" + "breakpad" + "discord-rpc" + "libzip" + "oboe"))))))) + (build-system cmake-build-system) + (inputs (list alsa-lib + ao + curl + glslang + libzip + lua + miniupnpc + pulseaudio + sdl2 + spirv-tools + vulkan-headers + pkg-config)) + (arguments + (list + #:tests? #f ; no test suite + #:configure-flags + #~(list "-DUSE_ALSA=ON" + "-DUSE_BREAKPAD=OFF" + "-DUSE_DX11=OFF" + "-DUSE_DX9=OFF" + ;; The USE_HOST_GLSLANG option is not implemented correctly. + ;; (see: https://github.com/flyinghead/flycast/issues/1843) + "-DUSE_HOST_GLSLANG=OFF" + "-DUSE_HOST_LIBZIP=ON" + "-DUSE_HOST_SDL=ON" + "-DUSE_LIBAO=ON" + "-DUSE_LUA=ON" + "-DUSE_PULSEAUDIO=ON" + "-DUSE_VULKAN=ON"))) + (home-page "https://github.com/flyinghead/flycast") + (synopsis "Sega Dreamcast, Naomi, Naomi 2, and Atomiswave emulator") + (description "Flycast is a multi-platform Sega Dreamcast, Naomi, Naomi 2, +and Atomiswave emulator derived from reicast.") + (license license:gpl2+))) + (define-public freedisksysrom ;; There is no release; use the latest commit. (let ((commit "0d5f95f109bb3aadf2bb9510bfda13879bbd5266") base-commit: cd20619cfcb32c2631fb602729512740bc510550 -- 2.48.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 04 14:01:22 2025 Received: (at 76458) by debbugs.gnu.org; 4 Mar 2025 19:01:23 +0000 Received: from localhost ([127.0.0.1]:60969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tpXW6-0007Vm-DF for submit@debbugs.gnu.org; Tue, 04 Mar 2025 14:01:22 -0500 Received: from qs51p00im-qukt01072302.me.com ([17.57.155.13]:21997) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tpXW2-0007VT-N7 for 76458@debbugs.gnu.org; Tue, 04 Mar 2025 14:01:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=OQ32bMJ8LwR8ymYQ7467fKHr4Gb4ygeyqexcctxzjG8=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:x-icloud-hme; b=JG76tB83Pu3s1+tw4NUFhFwwi+pk3MBHwCFY8t49qQO5vWbyxqMWS8JM2wingdWxz 8upA3hILBK+ZMJanXriTq/MTqz9RZQ4ybzxXGxmQRnCb9fi/VRTHFi4eS9zqKfTBfz e8F4dhjy+8WIkZgixVCGOmuHmZDbGAutA5gH6gihKABluzBT52tL2ffO6wflRwfxuY sXIhtUHszHAOXNOYo9ZjU0LciVT95oWAbZseUhQPgVgJGijjbvznGAPgZ8kF0vICgS LdtJLBYRecktoq0HyD64k0nklEoJcTp9TYd6vSTetzw9iapCqZ/6wm0smRBlUDCPZ+ RcM53J+zcYxLw== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072302.me.com (Postfix) with ESMTPSA id 646036300F75; Tue, 4 Mar 2025 19:01:11 +0000 (UTC) From: Andrew Wong To: 76458@debbugs.gnu.org Subject: [PATCH v3] gnu: Add flycast. Date: Tue, 4 Mar 2025 14:01:00 -0500 Message-ID: <8d608fcaf5c240f6c0a91f8ed4a2f07d9b137730.1741114860.git.wongandj@icloud.com> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-Debbugs-Cc: Adam Faiz , Liliana Marie Prikler , 宋文武 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: 4cqQLc6ZpqKffgllTVzox19sGgZEBiHO X-Proofpoint-ORIG-GUID: 4cqQLc6ZpqKffgllTVzox19sGgZEBiHO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-04_08,2025-03-03_04,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 clxscore=1015 mlxlogscore=999 bulkscore=0 suspectscore=0 adultscore=0 mlxscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2503040153 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 76458 Cc: Andrew Wong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/emulators.scm (flycast): New variable. Change-Id: I358235492a3493c3126f7ca9f738ed2706e36105 --- gnu/packages/emulators.scm | 69 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 0eafc3df9e..70e5fad00c 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Artyom V. Poptsov ;;; Copyright © 2025 Ricardo Wurmus +;;; Copyright © 2025 Andrew Wong ;;; ;;; This file is part of GNU Guix. ;;; @@ -4072,6 +4073,74 @@ (define-public exomizer ;; zlib license with an (non-)advertising clause. (license license:zlib))) +(define-public flycast + (package + (name "flycast") + (version "2.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flyinghead/flycast") + (commit (string-append "v" version)) + ;; There are many bundled packages here included as git + ;; submodules. Removing many of them would require patching the + ;; source code and repository layout. + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ainy75gkrvilcm89hq6wq9md41w0mxgp6l27q5fzrxxykpjh6ym")) + (modules '((guix build utils))) + (snippet #~(begin + (substitute* "CMakeLists.txt" + (("add_subdirectory\\(core/deps/Vulkan-Headers\\)") + "find_package(VulkanHeaders)")) + (with-directory-excursion "core/deps" + (for-each delete-file-recursively + '("SDL" + "Spout" + "Syphon" + "Vulkan-Headers" + "breakpad" + "discord-rpc" + "libzip" + "oboe"))))))) + (build-system cmake-build-system) + (inputs (list alsa-lib + ao + curl + glslang + libzip + lua + miniupnpc + pulseaudio + sdl2 + spirv-tools + vulkan-headers + pkg-config)) + (arguments + (list + #:tests? #f ; no test suite + #:configure-flags + #~(list "-DUSE_ALSA=ON" + "-DUSE_BREAKPAD=OFF" + "-DUSE_DX11=OFF" + "-DUSE_DX9=OFF" + ;; The USE_HOST_GLSLANG option is not implemented correctly. + ;; (see: https://github.com/flyinghead/flycast/issues/1843) + "-DUSE_HOST_GLSLANG=OFF" + "-DUSE_HOST_LIBZIP=ON" + "-DUSE_HOST_SDL=ON" + "-DUSE_LIBAO=ON" + "-DUSE_LUA=ON" + "-DUSE_PULSEAUDIO=ON" + "-DUSE_VULKAN=ON"))) + (home-page "https://github.com/flyinghead/flycast") + (synopsis "Sega Dreamcast, Naomi, Naomi 2, and Atomiswave emulator") + (description "Flycast is a multi-platform Sega Dreamcast, Naomi, Naomi 2, +and Atomiswave emulator derived from reicast.") + (license license:gpl2+))) + (define-public freedisksysrom ;; There is no release; use the latest commit. (let ((commit "0d5f95f109bb3aadf2bb9510bfda13879bbd5266") base-commit: cd20619cfcb32c2631fb602729512740bc510550 -- 2.48.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 10:45:31 2025 Received: (at 76458-done) by debbugs.gnu.org; 23 Mar 2025 14:45:32 +0000 Received: from localhost ([127.0.0.1]:52003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twMZv-00007d-AM for submit@debbugs.gnu.org; Sun, 23 Mar 2025 10:45:31 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:59700) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1twMZO-0008O7-Q3 for 76458-done@debbugs.gnu.org; Sun, 23 Mar 2025 10:45:00 -0400 Received: by mail-wm1-x341.google.com with SMTP id 5b1f17b1804b1-43d0c18e84eso16145535e9.3 for <76458-done@debbugs.gnu.org>; Sun, 23 Mar 2025 07:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742741092; x=1743345892; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=0P6yb0UtYpYsIU4DiWltNpbvlDBLgvVgY4a1v4QmeSM=; b=eQCHABBu/PMFa6Kf09Cj7VEmAQo9UKOZywK0qWwehY/Ng27/Q0Xy4VVp947qn5XCGi zl+79hDSYxlgfHVk9GXQWUO+GN1fRsw5ph4ntLXTVqcTp+/xOMToZeJ9/j4NOpO4e60Q I/4yRBNbfQDMgOkuUGJ7/04CSX153wIYY3LWKjQKMoEDs8BC2dKcP5YqFEuOXm1FaUSb RptOSHpTzDAN8Ir7xRrY/kJMlcMb1lt6m5xC1SnpwAMHRQvC5MQqy7gwOFfPgF/BYBX6 wtw5anv7S5cGD8RlKdmMF0FRucaJUeAb/ayHPAcG7zUCJIrc7OLcbHKWTXZ4BkCYUvlW Hc1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742741092; x=1743345892; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0P6yb0UtYpYsIU4DiWltNpbvlDBLgvVgY4a1v4QmeSM=; b=nA5ehcDrWO2fjnx5qL+N5SltFoLNnEJvpq9uNcQ3lE+84nkmA/F9KlSzK7VFOirj8a UOYvVFdFF4LVVl+oyYt1RdbAHMUZaM6e0BlEKBST73Wer70Q00+IWJQYf6wMtOps3BcF aCldH2MCd/b+y2FllENtwXvnwdWGu5ojJ8TodBx1mDq7yZVWdr9TI9GMWwGGFh+lJnwm qpFSzpBBQx60/+6AgDN/quV9UTTWbgiUUTuOkDUxLHPIhe6PVKalFdcWuefJTNmM6DzH vlPdgWCiiCqfRm25ctllnw81zl5h02RLCWZXf92jXAxAxm6IlXrikNpIHZBKf0lYpOtO YrYg== X-Forwarded-Encrypted: i=1; AJvYcCXxrbFdrqSdXOJn4sx8fHm96IVZ62uH347t32atpYo7YphmcYbODuq0wppxXXtTduKWjt2CDgG+cw3A@debbugs.gnu.org X-Gm-Message-State: AOJu0YyMfpy+DuTpmx7oGyHT7lw554dTtcl5MZX2X2K9s+++VuiqwtVG aqy5DQTNv0OZIu3NQ20mYuE0ijzZFnM7Juv7g75sPFtJJ53SSdQM X-Gm-Gg: ASbGncs/S6eEmpzFWOJMkVwcUraF0bHeKDVoExMa1Pjys2pEB9Uz8CCdSBofftHhE+X qfy1J7JjRbN+YqtSrCS9xOy7QC/BIUd18r8KjcUQirWLn9tJY8Tg8GQ+B8cris47q9HPFTY+f2m F2DEGjKbgdo7bIeCO+LuYBUNqeiv4Yqmy/OAZgq2uLYlCbSJH0P/Ny54Z/Ox0i+muZejZNaexZ2 9+clwHecVgc9WAh5GwVceiWpxeVeGbsfUntyikmhy8/NRoNUHzTEaC4FnnwdSeYKhyLuLX9QgmP 5bLWrrF9cynNS0hsvU4NVL1yDes436bG1UenDenSnksT8k4iKChMwJHplWLmP/lB5aqurgXgIaD KxJzhMe+GBpxseLD6rPyVHn6R+qAvT2k= X-Google-Smtp-Source: AGHT+IEfrBMpBYGNWxr52jMFLIxICeOcPUR250KwfnJBddU354sUAE9n/R8PCE5Gsnh3AI8Zs1CJCw== X-Received: by 2002:a05:600c:1d95:b0:43c:fd72:f028 with SMTP id 5b1f17b1804b1-43d50a4b226mr98939935e9.29.1742741092245; Sun, 23 Mar 2025 07:44:52 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d4fceafb7sm90224835e9.1.2025.03.23.07.44.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Mar 2025 07:44:51 -0700 (PDT) Message-ID: Subject: Re: [bug#76458] [PATCH v3] gnu: Add flycast. From: Liliana Marie Prikler To: Andrew Wong , 76458-done@debbugs.gnu.org Date: Sun, 23 Mar 2025 15:44:50 +0100 In-Reply-To: <8d608fcaf5c240f6c0a91f8ed4a2f07d9b137730.1741114860.git.wongandj@icloud.com> References: <8d608fcaf5c240f6c0a91f8ed4a2f07d9b137730.1741114860.git.wongandj@icloud.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76458-done Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Adam Faiz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Dienstag, dem 04.03.2025 um 14:01 -0500 schrieb Andrew Wong: > * gnu/packages/emulators.scm (flycast): New variable. >=20 > Change-Id: I358235492a3493c3126f7ca9f738ed2706e36105 > --- Pushed From unknown Sat Aug 16 21:18:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Apr 2025 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator