From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4PGNLD+++V9RbgAA0tVLHw (envelope-from ) for ; Sat, 09 Jan 2021 14:31:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8CZ6KD+++V8mCAAAB5/wlQ (envelope-from ) for ; Sat, 09 Jan 2021 14:31:27 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 398FE940483 for ; Sat, 9 Jan 2021 14:31:27 +0000 (UTC) Received: from localhost ([::1]:57936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyFH4-0001bX-5i for larch@yhetil.org; Sat, 09 Jan 2021 09:31:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyFGg-0001bA-BF for guix-patches@gnu.org; Sat, 09 Jan 2021 09:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyFGg-0005q8-3T for guix-patches@gnu.org; Sat, 09 Jan 2021 09:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kyFGf-0006r9-UG for guix-patches@gnu.org; Sat, 09 Jan 2021 09:31:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45742] [PATCH] gnu: Add x86emu. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Jan 2021 14:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45742 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45742@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161020265726342 (code B ref -1); Sat, 09 Jan 2021 14:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2021 14:30:57 +0000 Received: from localhost ([127.0.0.1]:51395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyFGb-0006qo-1D for submit@debbugs.gnu.org; Sat, 09 Jan 2021 09:30:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:52082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyFGZ-0006qf-81 for submit@debbugs.gnu.org; Sat, 09 Jan 2021 09:30:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyFGZ-0001ay-1U for guix-patches@gnu.org; Sat, 09 Jan 2021 09:30:55 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:55909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyFGW-0005mi-Qi for guix-patches@gnu.org; Sat, 09 Jan 2021 09:30:54 -0500 Received: by mail-wm1-x32a.google.com with SMTP id c124so10039630wma.5 for ; Sat, 09 Jan 2021 06:30:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Rn++WYVUfCUE/nm6E0aLSY4X0/HymrURYDsWn3xw0CU=; b=IwAxpUVcJ3V9JZxnht/bBbCrPrUe2BH/UA1fOQBu3SBMADNOPyheUtg42qreiBQLgx Dpe77vBAPim3IFmaOZPYNxP47P3ifD1rdlIcqggxFw7olP1YAEUfoyW4MhFbxgqs7obB S7VneeBKh9oR+hlG6w1+yn4Xol7buMdo/kHxQyJoTGHfai9zMcnKS/mIHbFh4eBZkR6M tVovuHLBBByfQ/ufk/dHCAKSpXANzAeovNkHJ2b6pIqATd+Q0RtPqnLfcmKEp7l8oaL2 v4BEi5sQHAqKOzVqMkRD9qGPZikAoJL1LtTkKWu6JbPvumr6n/zdvqFXpx9O/Mrew0gV mUJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Rn++WYVUfCUE/nm6E0aLSY4X0/HymrURYDsWn3xw0CU=; b=ZH5r6Vim25qwv3B6qpmKIkiJ5zMP2b3OvouBMmgtJzMecqqtLGTCMZBs/7Twze9asb DeaFsXrkho+GPmgjg/gUMFqXeFj3yxcoSw55zLNVx/oKx2GKYzm7Q/PnRfPPU55QT0SA D6XqmlX8vX+EeykVDmiWBypn2SrWVTnw3qsBWXeonFh8236JU+7OqXc055UgOzwWUh3N Zwrq4RImOAFFkOCXA8xA2h7A9Q8uQFCGjeJ9S7O3uywsqVLyoaK/B1If1Y6uY5VqqLUP Li4u/3ACaIeL5SIVnqNrb5IKB6WqD3k7hKLedM5Ikozg0dFbYbFePXLGGO9YzIy4T2Vf E7cA== X-Gm-Message-State: AOAM533dEBC6k7BFiA8X8Fyt3y8ygQ4lDBgcsY/coMK1iamAC7O3uqNY gzuAevi/7CtEFva+SAIvx29U3VNXFg0= X-Google-Smtp-Source: ABdhPJwa/i6Jk+iL1h5n752juYkH6YO5ngWPZJIXGrnNsfmUd8+baWQtWHqeO66J7M5Il84wwS6g7Q== X-Received: by 2002:a1c:e083:: with SMTP id x125mr7706770wmg.0.1610202650911; Sat, 09 Jan 2021 06:30:50 -0800 (PST) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id a17sm18184505wrs.20.2021.01.09.06.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Jan 2021 06:30:50 -0800 (PST) From: Vincent Legoll Date: Sat, 9 Jan 2021 15:30:38 +0100 Message-Id: <20210109143038.1918-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=vincent.legoll@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Cc: Vincent Legoll Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.75 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=IwAxpUVc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 398FE940483 X-Spam-Score: 2.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0ZWiwOLl8rZo * gnu/packages/linux.scm (x86emu): New variable. --- gnu/packages/linux.scm | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 8317723bbf..cb712dd8a4 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -74,6 +74,7 @@ #:use-module (gnu packages acl) #:use-module (gnu packages admin) #:use-module (gnu packages algebra) + #:use-module (gnu packages assembly) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages backup) @@ -98,6 +99,7 @@ #:use-module (gnu packages gawk) #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) + #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages golang) #:use-module (gnu packages gperf) @@ -5767,6 +5769,49 @@ not as a replacement for it.") license:public-domain ; nist/dfft.c license:gpl3+)))) ; everything else +(define-public x86emu + (let ((revision "0") + (commit "cbc65a99d0f7d291b7c72444b8afa71649d214c4")) + (package + (name "x86emu") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shift-crops/x86emu") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16q69m5zb71pgwsw5w0ilkd0vqh0hrmgq10fqba3x604chb90a87")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda* (#:key inputs outputs #:allow-other-keys) + (invoke "make" "all"))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (outbin (string-append out "/bin"))) + (mkdir-p outbin) + (copy-file "x86emu" (string-append outbin "/x86emu")) + (copy-recursively "include" (string-append out "/include")) + #t)))))) + (native-inputs + `(("nasm" ,nasm))) + (inputs + `(("glfw" ,glfw))) + (home-page "https://github.com/shift-crops/x86emu") + (synopsis "simple x86 emulator") + (description "x86emu is an emulator of the x86 architecture. It supports +multiple CPU modes (16bit/32bit, Real/Protected), and some devices. You can +boot via FDD simulator (DMA not supported), and operate with mouse and keyboard.") + (license license:x11)))) + (define-public ecryptfs-utils (package (name "ecryptfs-utils") -- 2.30.0