From patchwork Fri Jan 4 17:24:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 658 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 1A71E16A18; Fri, 4 Jan 2019 17:25:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from listsout.gnu.org (listsout.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A906216A17 for ; Fri, 4 Jan 2019 17:25:13 +0000 (GMT) Received: from localhost ([127.0.0.1]:37334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfTDd-0000xA-4b for patchwork@mira.cbaines.net; Fri, 04 Jan 2019 12:25:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfTDX-0000tK-UY for guix-patches@gnu.org; Fri, 04 Jan 2019 12:25:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfTDT-0006dl-0u for guix-patches@gnu.org; Fri, 04 Jan 2019 12:25:07 -0500 Received: from debbugsout.gnu.org ([209.51.188.43]:54556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfTDS-0006dY-TZ for guix-patches@gnu.org; Fri, 04 Jan 2019 12:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gfTDS-0004JC-2T for guix-patches@gnu.org; Fri, 04 Jan 2019 12:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33976] [PATCH] gnu: Add dev86. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Jan 2019 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33976 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33976@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154662267716524 (code B ref -1); Fri, 04 Jan 2019 17:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jan 2019 17:24:37 +0000 Received: from localhost ([127.0.0.1]:47029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfTD3-0004IR-KO for submit@debbugs.gnu.org; Fri, 04 Jan 2019 12:24:37 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:49168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfTD2-0004II-5f for submit@debbugs.gnu.org; Fri, 04 Jan 2019 12:24:36 -0500 Received: from lists.gnu.org ([208.118.235.17]:52932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfTD1-0006TK-Ik for submit@debbugs.gnu.org; Fri, 04 Jan 2019 12:24:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfTD0-0000gL-E4 for guix-patches@gnu.org; Fri, 04 Jan 2019 12:24:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfTCv-0006Qn-He for guix-patches@gnu.org; Fri, 04 Jan 2019 12:24:34 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:43322) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfTCt-0006NA-HX for guix-patches@gnu.org; Fri, 04 Jan 2019 12:24:29 -0500 Received: from dayas.3.home (77.116.172.253.wireless.dyn.drei.com [77.116.172.253]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 1B72B3367F14; Fri, 4 Jan 2019 18:24:16 +0100 (CET) From: Danny Milosavljevic Date: Fri, 4 Jan 2019 18:24:14 +0100 Message-Id: <20190104172414.21142-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Tags: patch X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.51.188.43 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 * gnu/packages/assembly.scm (dev86): New variable. --- gnu/packages/assembly.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm index 763d183cf..63f799f41 100644 --- a/gnu/packages/assembly.scm +++ b/gnu/packages/assembly.scm @@ -122,3 +122,37 @@ abstracts over the target CPU by exposing a standardized RISC instruction set to the clients.") (home-page "https://www.gnu.org/software/lightning/") (license license:gpl3+))) + +(define-public dev86 + (package + (name "dev86") + (version "0.16.21") + (source (origin + (method url-fetch) + (uri (string-append "http://v3.sk/~lkundrak/dev86/Dev86src-" + version ".tar.gz")) + (sha256 + (base32 + "154dyr2ph4n0kwi8yx0n78j128kw29rk9r9f7s2gddzrdl712jr3")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "-j" "1" ; They use submakes wrong + "CC=gcc" + (string-append "PREFIX=" + (assoc-ref %outputs "out"))) + #:system "i686-linux" ; Standalone ld86 had problems otherwise + #:tests? #f ; No tests exist + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'install 'mkdir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/bin")) + (mkdir-p (string-append out "/man/man1")) + #t)))))) + (synopsis "X86 16-bit assembler, C compiler and linker") + (description "This package provides a X86 16-bit assembler, a C compiler +and a linker.") + (home-page "https://github.com/jbruchon/dev86") + (license license:gpl2)))