* [bug#47726] [PATCH] gnu: Add vice emulator
@ 2021-04-12 8:11 balbi
2021-04-26 18:55 ` bug#47726: " Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: balbi @ 2021-04-12 8:11 UTC (permalink / raw)
To: 47726; +Cc: Felipe Balbi
From: Felipe Balbi <balbi@kernel.org>
* gnu/packages/emulators.scm (vice): New variable.
Signed-off-by: Felipe Balbi <balbi@kernel.org>
---
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 <david@daviwil.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Christopher Howard <christopher@librehacker.com>
+;;; Copyright © 2021 Felipe Balbi <balbi@kernel.org>
;;;
;;; 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")
--
2.31.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#47726: [PATCH] gnu: Add vice emulator
2021-04-12 8:11 [bug#47726] [PATCH] gnu: Add vice emulator balbi
@ 2021-04-26 18:55 ` Nicolas Goaziou
2021-04-26 18:57 ` [bug#47726] " Felipe Balbi
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2021-04-26 18:55 UTC (permalink / raw)
To: balbi; +Cc: 47726-done
Hello,
balbi@kernel.org writes:
> From: Felipe Balbi <balbi@kernel.org>
>
> * gnu/packages/emulators.scm (vice): New variable.
Thank you! I applied it.
> Signed-off-by: Felipe Balbi <balbi@kernel.org>
We don't have the habit of signing our own patches.
> + (uri (string-append "mirror://sourceforge/vice-emu/releases/"
> + name "-" version ".tar.gz"))
Nitpick: we hard-code the name in the URI.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#47726] [PATCH] gnu: Add vice emulator
2021-04-26 18:55 ` bug#47726: " Nicolas Goaziou
@ 2021-04-26 18:57 ` Felipe Balbi
0 siblings, 0 replies; 3+ messages in thread
From: Felipe Balbi @ 2021-04-26 18:57 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: 47726-done
Hi,
On Mon, Apr 26, 2021 at 9:55 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> Hello,
>
> balbi@kernel.org writes:
>
> > From: Felipe Balbi <balbi@kernel.org>
> >
> > * gnu/packages/emulators.scm (vice): New variable.
>
> Thank you! I applied it.
Awesome, thanks :-)
> > Signed-off-by: Felipe Balbi <balbi@kernel.org>
>
> We don't have the habit of signing our own patches.
>
> > + (uri (string-append "mirror://sourceforge/vice-emu/releases/"
> > + name "-" version ".tar.gz"))
>
> Nitpick: we hard-code the name in the URI.
sure thing, I'll keep that in mind next time :-)
I did see a couple packages doing that, though.
--
balbi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-26 18:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 8:11 [bug#47726] [PATCH] gnu: Add vice emulator balbi
2021-04-26 18:55 ` bug#47726: " Nicolas Goaziou
2021-04-26 18:57 ` [bug#47726] " Felipe Balbi
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.