From 71b92d36cec52e2f4694c71982dc55497c9fc392 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Sat, 10 Jun 2023 12:46:23 +0000 Subject: [PATCH 1/3] [PATCH 1/2]: nongnu: Add wine-mono. * nongnu/packages/wine-xyz.scm: New file. --- nongnu/packages/wine-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 nongnu/packages/wine-xyz.scm diff --git a/nongnu/packages/wine-xyz.scm b/nongnu/packages/wine-xyz.scm new file mode 100644 index 0000000..358413f --- /dev/null +++ b/nongnu/packages/wine-xyz.scm @@ -0,0 +1,32 @@ +;;; SPDX-License-Identifier: GPL-3.0-or-later +;;; Copyright © 2023 Sughosha + +(define-module (nongnu packages wine-xyz) + #:use-module (gnu packages wine) + #:use-module (guix download) + #:use-module (guix build-system copy) + #:use-module (guix gexp) + #:use-module ((guix licenses) :prefix license:) + #:use-module (guix packages)) + +(define-public wine-mono + (package + (name "wine-mono") + (version "8.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://dl.winehq.org/wine/wine-mono/" version + "/wine-mono-" version "-x86.tar.xz")) + (sha256 + (base32 + "0xvsrhl22yzf9mljwvj0n8mk7ynwgag7blfriqnwd7dph1kxgiql")))) + (build-system copy-build-system) + (arguments + (list #:install-plan + #~(list (list "." "share/wine/mono/")))) + (home-page "https://wiki.winehq.org/Mono") + (synopsis "Implementation of the .NET Framework") + (description + "Mono is an implementation of the .NET Framework for Wine.") + (license license:expat))) From 6d0e92b920fa407bdf6e8a39c38805e37297ddd8 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Sat, 10 Jun 2023 12:49:41 +0000 Subject: [PATCH 2/3] [PATCH 2/2]: nongnu: Add wine-gecko. * nongnu/packages/wine-xyz.scm (wine-gecko): New variable. --- nongnu/packages/wine-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/nongnu/packages/wine-xyz.scm b/nongnu/packages/wine-xyz.scm index 358413f..e26814f 100644 --- a/nongnu/packages/wine-xyz.scm +++ b/nongnu/packages/wine-xyz.scm @@ -30,3 +30,26 @@ (description "Mono is an implementation of the .NET Framework for Wine.") (license license:expat))) + +(define-public wine-gecko + (let ((arch (if (target-64bit?) "x86_64" "x86"))) + (package + (name "wine-gecko") + (version "2.47.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://dl.winehq.org/wine/wine-gecko/" version + "/wine-gecko-" version "-" arch ".tar.xz")) + (sha256 + (base32 + "0518m084f9bdl836gs3d8qm8jx65j2y1w35zi9x8s1bxadzgr27x")))) + (build-system copy-build-system) + (arguments + (list #:install-plan + #~(list (list "." "share/wine/gecko/")))) + (home-page "https://wiki.winehq.org/Gecko") + (synopsis "Internet explorer for Wine") + (description + "Gecko is an internet explorer for Wine.") + (license license:expat)))) From e73566de6386a751aee2284f3b4892a52fb10bfa Mon Sep 17 00:00:00 2001 From: Sughosha Date: Wed, 14 Jun 2023 08:28:39 +0000 Subject: [PATCH 3/3] nongnu: wine-xyz.scm: Add missing entry of #:use-module in the module definition. * nongnu/packages/wine-xyz.scm: Add "#:use-module (guix utils)" to the module definition. --- nongnu/packages/wine-xyz.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nongnu/packages/wine-xyz.scm b/nongnu/packages/wine-xyz.scm index e26814f..b3f9ba5 100644 --- a/nongnu/packages/wine-xyz.scm +++ b/nongnu/packages/wine-xyz.scm @@ -7,7 +7,8 @@ #:use-module (guix build-system copy) #:use-module (guix gexp) #:use-module ((guix licenses) :prefix license:) - #:use-module (guix packages)) + #:use-module (guix packages) + #:use-module (guix utils)) (define-public wine-mono (package