From patchwork Mon Jan 13 15:28:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 37046 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 2C10327BBE9; Mon, 13 Jan 2025 15:29:29 +0000 (GMT) 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 4273627BBE2 for ; Mon, 13 Jan 2025 15:29:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tXMNG-00042Q-RB; Mon, 13 Jan 2025 10:29:06 -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 1tXMNF-00042A-8g for guix-patches@gnu.org; Mon, 13 Jan 2025 10:29:05 -0500 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 1tXMND-0003NU-U0 for guix-patches@gnu.org; Mon, 13 Jan 2025 10:29:05 -0500 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=XGV2xOppg6OoLSNFbuDo/WTBdHgh0RBmcF/yLY2mxaE=; b=bBKNgBt/rlpQnAhmXujgRWGTph3UuL9JJUcE05rxkiiInIC8jD3UV7QslxYJ3zLLUhYgfkkh5XowDIxqKXz7Wvyfl+aMDwoK9OKc4xNB21vckxAHqMb9r959DkzOBPfdlUBcwP8WJb813RViEpFclo03VOVAWtnjOPAkX7xHSX4x5BMK1mOp1QDSnWBjy0aBjQoW316dZGd1ZWqXID1mhJedeUN3AdG1WPFT04inOT/xOfsZngfNobbFLYT449fw+rUkV9fAW7r1MsaY6bvxCswyHpey2w/WZgyHuaPFD7t+s8yR0Vhoh+A5IrC2hquVCh5c1mBInD1Dcdgt6dj70Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tXMNC-0001Cy-HB; Mon, 13 Jan 2025 10:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75537] [PATCH 1/2] gnu: Add bsnes-hd. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Mon, 13 Jan 2025 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75537 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75537@debbugs.gnu.org Cc: Maxim Cournoyer , Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 75537-submit@debbugs.gnu.org id=B75537.17367821344614 (code B ref 75537); Mon, 13 Jan 2025 15:29:02 +0000 Received: (at 75537) by debbugs.gnu.org; 13 Jan 2025 15:28:54 +0000 Received: from localhost ([127.0.0.1]:52494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXMN4-0001CM-9F for submit@debbugs.gnu.org; Mon, 13 Jan 2025 10:28:54 -0500 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]:42246) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tXMN0-0001C5-Pz for 75537@debbugs.gnu.org; Mon, 13 Jan 2025 10:28:52 -0500 Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-6d88cb85987so38306946d6.1 for <75537@debbugs.gnu.org>; Mon, 13 Jan 2025 07:28:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736782124; x=1737386924; 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=XGV2xOppg6OoLSNFbuDo/WTBdHgh0RBmcF/yLY2mxaE=; b=JJIKE16J/uAo0kb0V1TBJjH8eLP4fzOvcqmVOQlPXQMIOWopSo54iiUm1cFdgFKHZz CtMpHh4zw/u/Q4sMzmCbJpkOZSBYRYxonBrflxqfKUGts4HvMCxdR7GA+dqdRkbhiqr1 c/h9z/VKFyD4bGqbxozrGCMXJpRxfrmE12qzfGqVSyUFuswJI459tIzwKEfSSj4xZBPm RnXnTNxGS5PD0C7kTLMqBIyLazXJU77br75HyeB2q+uROu7VY8uiFpLdigwgE3sVwTVQ p6MoCsZ5+g63A3W3WidqDnEAqy+MctQbS0N+nB7eDJj6Z6wMKBfJbUGavhPEJ+e/YFIL Sszg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736782124; x=1737386924; 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=XGV2xOppg6OoLSNFbuDo/WTBdHgh0RBmcF/yLY2mxaE=; b=nbAxAlwKvAag8za+TFz4DaQxjmUqvMplLJXbrPhOHrB+cxHdgZuW04lR1z2VTmWD0z vSnX0ZiYxHVy6eHrgraL+tMu9ISlnXH2GkIgiWbi0rPFlagg78cd+LWckY6TuL3X4nfY ipEhMECH+KpOZ+nPJhN23rvVXcAf+5lmE0rAJ/CaCAuSeSeC5zjATBKL9EVve9d5ORLN 2Ms4y//EeBmJMeOcTmVBRrRzqg4+lvaSFqfhTyMhnA+0Maa6CIrcSrPIpYMn03nqd45F 5EHe8NP5s8FTfBDH8GrnrTbVA3KyR05ADnL/UhFkCNNG80S2RBFkABkKXdEVofpgIhsz 4mAA== X-Gm-Message-State: AOJu0Yyu4kwkmfMXzNnju3urEW8Y6M8Q85rrvvcSgaBm3aAhTWFFZQQq 3fO+9Fz3GWgKY/53nG43Ic/YY4zYPDPw1kPi5oUYXYuA6pCdS2BAoDQ5pyrG X-Gm-Gg: ASbGncu7IfyPFYo+A+qAdFRL7kisTGY2D5f24XNT5Qvuprri8uRKBTSNkyPfW3Cin60 R/t8t1vREvEZKCMWWrwGEMZymmBJDMCJarnoRS2yhyga4CIs2uJRDkaNcTkgcOK8vuUbakeaa1a rVy98+HXZ58aMl9WCEcWoHb3SfVdi3p4gvs6YTuksertzM739MMWjLOBaH0apL0rL8B4rvE+9RV oIiV28jTNXWNQtLHDKp192DPx9iAf/CupQg3rs0su3qR759ekbAao8KMNKMi8XFa3DnFS07thqq QDzUaUNpMs267fa+V20qc2o= X-Google-Smtp-Source: AGHT+IGashULZMCnT2lsvg7VusQuhMsdH91woaoFk9vZUlHidSAx7DmtCpBdgzm9c28XhsqTFK8qaA== X-Received: by 2002:a05:6214:4286:b0:6d8:8a0b:db25 with SMTP id 6a1803df08f44-6dfbaa205a4mr139320906d6.21.1736782124477; Mon, 13 Jan 2025 07:28:44 -0800 (PST) Received: from localhost.localdomain (vps-6234970c.vps.ovh.ca. [51.222.13.224]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6dfad85f686sm42186506d6.8.2025.01.13.07.28.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2025 07:28:44 -0800 (PST) From: Maxim Cournoyer Date: Tue, 14 Jan 2025 00:28:10 +0900 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: References: 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/emulators.scm (bsnes-hd): New variable. Change-Id: Id3654e1231e24084e219c4d060eff2b4d888f62d --- gnu/packages/emulators.scm | 42 +++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index b65c91cdf5..5a2ac8846f 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2020 Christopher Howard ;;; Copyright © 2021 Felipe Balbi ;;; Copyright © 2021, 2024 Felix Gruber -;;; Copyright © 2021, 2024 Maxim Cournoyer +;;; Copyright © 2021, 2025 Maxim Cournoyer ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2023 c4droid ;;; Copyright © 2023 Yovan Naumovski @@ -3190,6 +3190,46 @@ (define-public bsnes performance, features, and ease of use.") (license license:gpl3))) +(define-public bsnes-hd + (package + (inherit bsnes) + (name "bsnes-hd") + ;; As of 10.6, there only ever was beta releases -- treat these as the + ;; stable releases for now. + (version "10.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DerKoun/bsnes-hd") + (commit (string-append + "beta_" + (string-replace-substring version "." "_"))))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0f3cd89fd0lqskzj98cc1pzmdbscq0psdjckp86w94rbchx7iw4h")))) + (build-system gnu-build-system) + (home-page "https://github.com/DerKoun/bsnes-hd/") + (synopsis "Fork of bsnes with added HD video features") + (description "bsnes-hd (called ``HD Mode 7 mod, for bsnes'' in early +betas) is a fork of bsnes (the great SNES emulator by Near) that adds HD video +features, such as: +@table @asis +@item HD Mode 7 +Renders the rotated, scaled or pseudo perspective backgrounds at +higher resolutions. This does not involve new custom imagery or upscaling +algorithms. It is a higher resolution version of the process the SNES uses. +@item Widescreen +Extends the scenes to the left and right, without distorting them. It works +for most Mode 7 scenes, but also for some other scenes/games, after some +settings tweaking. +@item True color +Color calculation are done at true color instead of the SNES color depth (3x8 +instead of 3x5 bit). With the optional line color smoothing color ``steps'' +turn into actual gradients (without influencing the sharpness of the artwork). +@end table") + (license license:gpl3+))) + (define-public jg-api (package (name "jg-api")