From patchwork Mon Apr 12 08:11:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 28470 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 9065627BC72; Mon, 12 Apr 2021 16:30:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DC83827BC73 for ; Mon, 12 Apr 2021 16:29:54 +0100 (BST) Received: from localhost ([::1]:33868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVyVd-0000RY-HR for patchwork@mira.cbaines.net; Mon, 12 Apr 2021 11:29:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVxN8-0000WK-T6 for guix-patches@gnu.org; Mon, 12 Apr 2021 10:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVxN8-0005ub-CW for guix-patches@gnu.org; Mon, 12 Apr 2021 10:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVxN8-0000En-8R for guix-patches@gnu.org; Mon, 12 Apr 2021 10:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47726] [PATCH] gnu: Add vice emulator Resent-From: balbi@kernel.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Apr 2021 14:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47726 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47726@debbugs.gnu.org Cc: Felipe Balbi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1618236995858 (code B ref -1); Mon, 12 Apr 2021 14:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2021 14:16:35 +0000 Received: from localhost ([127.0.0.1]:57644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVxMg-0000Dk-NX for submit@debbugs.gnu.org; Mon, 12 Apr 2021 10:16:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:42008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVrfY-000107-CP for submit@debbugs.gnu.org; Mon, 12 Apr 2021 04:11:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVrfY-0001lw-7t for guix-patches@gnu.org; Mon, 12 Apr 2021 04:11:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:44808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVrfV-0000o5-3l for guix-patches@gnu.org; Mon, 12 Apr 2021 04:11:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 304C96120B; Mon, 12 Apr 2021 08:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618215093; bh=FT6kUjhVJqRxldlyu9Ra/jbEKh81yUApK/V2mLX6694=; h=From:To:Cc:Subject:Date:From; b=Snv1wTtWFsjE93fYnR8/P7TGQuejVNBYUmI4MJUSDMF8B91wZG3JR+ALt1+e9jER/ 5S602JW47x2u25XyluVDs21SHYyDu2SExDpcaWy9cZRjL66kMhsfN+0m1rydCdg1ui NIh1bUZ36n3WQ80mhtATOhEUQ32iC5NRsDuGRulQFsJk4+27EXkukQOynrje8LZLYa 5TJqBa2CgsTtxc1QwwAkBm6WO82kRlYMRcmRdKfd1HitXlUuOH+4caVsGTVHOizfJ3 PjexCPt5HC925v8V/VbU4i+mzUalHMu2dKGR55DJT83q7R2NY+xe2kCG0k1nvn3Vr8 MCi4JNExxKt9g== From: balbi@kernel.org Date: Mon, 12 Apr 2021 11:11:26 +0300 Message-Id: <20210412081126.165435-1-balbi@kernel.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Received-SPF: pass client-ip=198.145.29.99; envelope-from=balbi@kernel.org; helo=mail.kernel.org X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 12 Apr 2021 10:16:34 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 12 Apr 2021 11:29:47 -0400 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" X-getmail-retrieved-from-mailbox: Patches From: Felipe Balbi * gnu/packages/emulators.scm (vice): New variable. Signed-off-by: Felipe Balbi --- gnu/packages/emulators.scm | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 8482f679e2c3..5c41e0fc22cb 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2019 David Wilson ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Christopher Howard +;;; Copyright © 2021 Felipe Balbi ;;; ;;; This file is part of GNU Guix. ;;; @@ -44,6 +45,7 @@ #:use-module (gnu packages autogen) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages backup) #:use-module (gnu packages cdrom) @@ -53,6 +55,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages digest) #:use-module (gnu packages elf) + #:use-module (gnu packages flex) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -97,6 +100,45 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python)) +(define-public vice + (package + (name "vice") + (version "3.5") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/vice-emu/releases/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "03nwcldg2h7dxj6aa77ggqc0442hqc1lsq5x69h8kcmqmvx7ifan")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--disable-pdf-docs"))) + (native-inputs + `(("bison" ,bison) + ("dos2unix" ,dos2unix) + ("flex" ,flex) + ("glib" ,glib "bin") ; for glib-genmarshal, etc. + ("pkg-config" ,pkg-config))) + (inputs + `(("alsa-lib" ,alsa-lib) + ("glew" ,glew) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("pulseaudio" ,pulseaudio) + ("sdl" ,sdl) + ("sdl-image" ,sdl-image) + ("xa" ,xa))) + (home-page "https://vice-emu.sourceforge.io/") + (synopsis "The Versatile Commodore Emulator") + (description + "VICE is a program that emulates the C64, the C64DTV, the C128, the +VIC20, practically all PET models, the PLUS4 and the CBM-II (aka +C610/C510). An extra emulator is provided for C64 expanded with the CMD +SuperCPU.") + (license license:gpl2+))) + (define-public desmume (package (name "desmume")