From patchwork Mon Jun 26 23:38:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 51382 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 F2C7E27BBEA; Tue, 27 Jun 2023 00:39:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1626027BBE2 for ; Tue, 27 Jun 2023 00:39:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDvnV-0004Cm-G6; Mon, 26 Jun 2023 19:39:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qDvnS-0004Ca-Hk for guix-patches@gnu.org; Mon, 26 Jun 2023 19:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDvnS-0003w7-88 for guix-patches@gnu.org; Mon, 26 Jun 2023 19:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDvnR-0002jM-PX for guix-patches@gnu.org; Mon, 26 Jun 2023 19:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57625] [PATCH v3 4/4] gnu: Add pnetlib. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Jun 2023 23:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57625 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 57625@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 57625-submit@debbugs.gnu.org id=B57625.168782269810440 (code B ref 57625); Mon, 26 Jun 2023 23:39:01 +0000 Received: (at 57625) by debbugs.gnu.org; 26 Jun 2023 23:38:18 +0000 Received: from localhost ([127.0.0.1]:47270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDvmj-0002iJ-RY for submit@debbugs.gnu.org; Mon, 26 Jun 2023 19:38:18 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDvmh-0002i5-BP for 57625@debbugs.gnu.org; Mon, 26 Jun 2023 19:38:16 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E877944EA3; Tue, 27 Jun 2023 01:38:10 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TrZNsu9W_cPF; Tue, 27 Jun 2023 01:38:09 +0200 (CEST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1687822689; bh=GpDK5BDwA/VgSibwYrNy27B9IKqMyfca/PpOQDiLYEM=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=ROSUSxoFgSLL+AOXReh2jVA4nOiw0boR43vujFrGVcP0WZvhsUwMczofSq0pPdmoN a4HPAopfS21U+PQWB5/9FfMyCEXrc3weMah7nxllAAPJcnDLUIkeQ8kan+ygSwwOPB uRcOGvTbmGDjwRC/XdkY70Fwn3Q5cwbJRCeVWnzVyyI0TDxwpX1kC8PVI4KK5noVvb uzX20awF9P0OuIc5iG2ziFQlpoQ8VxOjt1FuUlIjUKhvQgKwHa1a0bTmWKhzMUSZuF QloXV5C3gWBwwX07FZv++BfWPgi2zOmApJzkoK+bRualCS8aVbajKY8PXKP2+mln4k uEqtRQgm0jqlA== Date: Tue, 27 Jun 2023 07:38:05 +0800 MIME-Version: 1.0 References: <01d10129-3aad-cf8e-7616-2718b465f70f@disroot.org> <1bbde14e-a13f-7bf3-cb09-f6f9158140ca@disroot.org> Content-Language: en-US In-Reply-To: <1bbde14e-a13f-7bf3-cb09-f6f9158140ca@disroot.org> 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From 32aaac1e57b195273020a3babd54d1ecf42c3d69 Mon Sep 17 00:00:00 2001 Message-Id: <32aaac1e57b195273020a3babd54d1ecf42c3d69.1687822593.git.adam.faiz@disroot.org> In-Reply-To: <94149f940fc7dd3c052cfa9765933303abb7a4ee.1687822593.git.adam.faiz@disroot.org> References: <94149f940fc7dd3c052cfa9765933303abb7a4ee.1687822593.git.adam.faiz@disroot.org> From: AwesomeAdam54321 Date: Mon, 26 Jun 2023 20:20:12 +0800 Subject: [PATCH v3 4/4] gnu: Add pnetlib. * gnu/packages/dotgnu.scm (pnetlib): New variable. --- gnu/packages/dotgnu.scm | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/dotgnu.scm b/gnu/packages/dotgnu.scm index 283168c5c0..e4a42035e3 100644 --- a/gnu/packages/dotgnu.scm +++ b/gnu/packages/dotgnu.scm @@ -144,3 +144,54 @@ (define-public pnet to build and execute .NET applications, including a C# compiler, assembler, disassembler, and runtime engine.") (license license:gpl2+))) + +(define-public pnetlib + (package + (name "pnetlib") + (version "0.8.0") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://savannah/dotgnu-pnet/pnetlib-" + version ".tar.gz")) + (sha256 + (base32 + "1adr5nyrx6ip3rlcilr5kyahw11bpzj1ijb5zdjpn2lvn218ksms")) + (modules '((guix build utils))) + (snippet + #~(begin + (for-each delete-file '("configure" + "config.guess" + "config.sub" + "install-sh" + "ltmain.sh")) + (for-each delete-file (find-files "." "Makefile\\.in")) + (substitute* "tests/runtime/Makefile.am" + (("TESTS_ENVIRONMENT.*") + (string-append + "LOG_COMPILER = $(SHELL)\n" + "AM_LOG_FLAGS = $(top_builddir)/tools/run_test.sh" + " $(top_builddir)"))) + (substitute* "tools/run_test.sh.in" + (("en_US") "en_US.utf8")) + (substitute* "tools/wrapper.sh.in" + (("exec .LN_S clrwrap ..1." all) + (string-append + "echo '#!@SHELL@' >> $1\n" + "echo exec $CLRWRAP" + " $(dirname $(dirname $1))" + "/lib/cscc/lib/$(basename $1).exe '$*' >> $1\n" + "chmod +x $1"))))))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f)) ; 4 tests fail + (native-inputs + (list autoconf automake libtool treecc)) + (inputs + (list pnet)) + (home-page "http://www.gnu.org/software/dotgnu/html2.0/pnet.html") + (synopsis "Libraries for the C# programming language") + (description + "DotGNU Portable.NET Library contains an implementation of the C# library, +for use with .NET-capable runtime engines and applications.") + (license license:gpl2+)))