From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KOUDCMdjYGcyjwAA62LTzQ:P1 (envelope-from ) for ; Mon, 16 Dec 2024 17:30:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KOUDCMdjYGcyjwAA62LTzQ (envelope-from ) for ; Mon, 16 Dec 2024 18:30:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jnJIfCOD; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cdKxciKr; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734370246; a=rsa-sha256; cv=none; b=lLL/sJQTwPc4jUZQR2WHKfsmxROn36dHaYkoXO32MLiRZZrV1eCvTaLL+bM9bhkeNHfiK8 gikFPWi/eUy1GsVIMC81Z7FjHUKYfZFOFuuxV588yytfZGEvc14D5QbCuTLnbUVoVIEOcA z/uBheqLn04qK7Vry2WKIa5BFxhhrpSU0osfNTzi8CRdox+NUCAYyTlx7ZcPpoqvjDcnkL t7hdjSJ2laYjuaSKKWFowjjIy5e5fb35yg6ze76LxU9x11ESsLStKVYd1MgcSJXDquTm51 1GnAAxWoK1HqVMffO4MovU4B2D0E+pkebjRFZlxiAMV+1FWKB8i12XzyIu72Lw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jnJIfCOD; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cdKxciKr; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734370246; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hXN8vUIttydVUEhWxnQM0yas68bOVM4N1jvu4vu6uFU=; b=QDk/hODTPUIpZwaPNehXc7wE6FDvSDsk1FXAtm6nsW9RKDnSz0i5bD/TSi55DxPAXqXAWl up2suWcyU1D16W3hZPyumVfG7y7fc+ozN4DbaTpqrCAoJEdCa7fNnYR+2iBtJ5gOVGrQr9 /MYSp91ef+dEBmunr8w/BQkwnchbwVJSsIZcXxHQ5hzt/e/e6LVvbjtqpoR6ynxy4p2cPV UfE4aoOt1rqmFlEKeVyVgEkVDTErglOwOM73DNAHRNTL5pRSMTLM/RMZe248OOEuyMKwhj aLw85UGT7QLmpBM3EmYhUF+KOzDbGGjFEQV932o6CFqaZ/Xy9WgEFl3V21Lddw== 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 8EB661852F for ; Mon, 16 Dec 2024 18:30:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNEue-0000cR-0N; Mon, 16 Dec 2024 12:29:45 -0500 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 1tNEuD-0000OO-Sl for guix-patches@gnu.org; Mon, 16 Dec 2024 12:29:19 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNEu8-0001wk-JL for guix-patches@gnu.org; Mon, 16 Dec 2024 12:29:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=hXN8vUIttydVUEhWxnQM0yas68bOVM4N1jvu4vu6uFU=; b=jnJIfCODviuCxKDUsHO1cj1az9qDC/0dq2enjqdHM0oHESH4zstNVkLVd2+09acmKsVEZOjJdnZrLTXrHQkQ+ulR8Z1BEDLwClGkJorkSjfAGbRlRIML5I4qnEjCzsLBCLM6LhlXTr+fIaLHJXntanqn/VDawkH60AYty1YMAP+grEaDM2wMpkubKBJPgP3M5oz6UXTWe2IwXlhHZwAWL1cUOffer7iNhl7zZgrOtZQY5zQWWHtdN6fF2uiphLKKcvhii7H0XXN5KwQJVegF6yjreJvRX6PSZelV/02xGz8JOBAmOCuOThdI+K2dOkDC/Kh+0e1vgwaeveoVGOndLQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNEu8-0006Lq-E9 for guix-patches@gnu.org; Mon, 16 Dec 2024 12:29:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74609] [PATCH 12/21] gnu: Add mono-5.0.1. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Dec 2024 17:29:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74609 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74609@debbugs.gnu.org Cc: aaron.covrig.us@ieee.org, ludo@gnu.org, unmush , richard@freakingpenguin.com, unmush@proton.me, janneke@gnu.org Received: via spool by 74609-submit@debbugs.gnu.org id=B74609.173437012424161 (code B ref 74609); Mon, 16 Dec 2024 17:29:12 +0000 Received: (at 74609) by debbugs.gnu.org; 16 Dec 2024 17:28:44 +0000 Received: from localhost ([127.0.0.1]:55863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNEtf-0006HP-H2 for submit@debbugs.gnu.org; Mon, 16 Dec 2024 12:28:44 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:57454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNEtW-0006GN-DZ for 74609@debbugs.gnu.org; Mon, 16 Dec 2024 12:28:35 -0500 Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4362f61757fso31859405e9.2 for <74609@debbugs.gnu.org>; Mon, 16 Dec 2024 09:28:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734370054; x=1734974854; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=hXN8vUIttydVUEhWxnQM0yas68bOVM4N1jvu4vu6uFU=; b=cdKxciKr6bSQNuV+SnCjjpcOPwNN6VO2+LNxkT8JZRnS85WgyksNOutxVikq9Erdh3 RCvaqPc9d5dPlnNqTe6PNo6c+lLx2BTfC6+FakJxiScJ31USrL32i3TSPwSXQKNKKcBJ I6zxuBJQ+2U2U8mRZdzLVXxYrSyQqtg0rLEKNfvQ3Euv5CxMDtRxo8Lfr4Y86dNSAXLa WNnL7SZY5Jb66HGwDApIF+Wi1DD295viCDYwLyxCZLJELqJK7kxOZSY1xLxw/MJpK1SX 8iVBRA99g6Mxyf2SVchLRxAyeHMJPbj0K8g600z6FqwO0c/C712eMzfQhQfJ3hDXGfou MQnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734370054; x=1734974854; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=hXN8vUIttydVUEhWxnQM0yas68bOVM4N1jvu4vu6uFU=; b=iaeMC142w9FImaSXfLwegGyePKPZ007kdB4KpDo4iQdJ3l9nOso7d2tFUPyYyKjUdk A3smqSFTiQBmXy1DlFNIKK19jijSWeqRDoPY5kpv+EGk5iaVR12K7rCAU88cOCNgNgWr 1y8o1RPJDCzVz5aWb8DGzue4+OKYOC0WI/DLIt7pr2QcI8HV1VuQxSwVbi6/I6F6cUxY hjgFn9/23mwpdL1NU357PKXTu+gDWkbHrKMcZv5Vosa80zVnLMxD3mUB7jWRHOrA/L9Q Ow63H8cmdn54xrSLBR//fEx8/YCDv6XCJu1U4I87U4zCaaYAoKrW1IPM/iCNKwKnwG0o ZJ0A== X-Gm-Message-State: AOJu0Yw3xqW+N++OUwRQSUw6/hxk2mGDqSJUXcBiDra+BQs/COtZFfYW Kr1FqthlPszYEaCdY6gSxVsfjrjhvD5tAbEf6fRCmn9MLQYZlNdhO8k/Xn5l X-Gm-Gg: ASbGncta/dhxCT8FeNd5zFPZ7+CN1jujT9R/fJ+pP+HFBAkQz+oQxrg1MGBzTjBfCo4 1aNClhvvpNP3JXESVQR7FMrkCR0NuMGhFdD5ScvwtYo7Le93LrnSCCiEbBjs5GTey6NfQireCxC /gzWh7cbCe452hZOi6+l+uFjvtBbjRg9pe4f73sS/ZXIzdWHpNx51Dit/hKeX5LjzgLGGSIXicm MIBEcUaFLEIZYg1QOwYqskng+8784vJJEseg0xVZZpcShKj8/mRk879SumloA== X-Google-Smtp-Source: AGHT+IE3bz1lEfcuITEZcUa9QfT2QHt37Px3W0QqlkVUpmg8GPxXcBTQo/HNpNAw5Cyqd2uwOdxwGA== X-Received: by 2002:a05:600c:a4f:b0:435:21a1:b109 with SMTP id 5b1f17b1804b1-4362aa26d8dmr136979485e9.2.1734370053496; Mon, 16 Dec 2024 09:27:33 -0800 (PST) Received: from localhost ([31.210.180.118]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436255531b1sm149541765e9.2.2024.12.16.09.27.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 09:27:33 -0800 (PST) From: Efraim Flashner Date: Mon, 16 Dec 2024 19:26:35 +0200 Message-ID: <3196ffc09aa6c8debefd48dbfbb7dde61518a39c.1734369314.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.65 X-Spam-Score: -7.65 X-Migadu-Queue-Id: 8EB661852F X-Migadu-Scanner: mx10.migadu.com X-TUID: vjd+5bzpi7fd From: unmush * gnu/packages/dotnet.scm (mono-5.0.1-external-repo-specs, mono-5.0.1): New variables. Change-Id: I165ef8238c4adddcf92667c34dbb366f98d288bd --- gnu/packages/dotnet.scm | 133 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm index e658edf8649..5bebb3929c7 100644 --- a/gnu/packages/dotnet.scm +++ b/gnu/packages/dotnet.scm @@ -836,3 +836,136 @@ (define-public mono-4.9.0 license:mpl1.1 ;; API Documentation license:cc-by4.0)))) + +(define mono-5.0.1-external-repo-specs + '(("aspnetwebstack" "e77b12e6cc5ed260a98447f609e887337e44e299" + "0rks344qr4fmp3fs1264d2qkmm348m8d1kjd7z4l94iiirwn1fq1") + ;; snippet in the actual package will delete all dlls and exes, so this + ;; should be rebuilt from scratch. + (("reference-assemblies" "binary-reference-assemblies") + "febc100f0313f0dc9d75dd1bcea45e87134b5b55" + "0lpj911m2lq23r22dpy4i02fy4ykf27dx8fvqpxsxknysj2jl6y4") + ("bockbuild" "512ba41a94bec35ff0c395eb71a180fda23da95c" + "16m00la8svx8v07sxy4zxbpq0cbq7d3nzy53w8kqml8b18h5dabg") + ("boringssl" "c06ac6b33d3e7442ad878488b9d1100127eff998" + "187zpi1rvh9i6jfccwzqq337rxxi1rgny6mjq79r08dlrh0lydzc") + ("buildtools" "9b6ee8686be55a983d886938165b6206cda50772" + "0sjw3swavcmijynmaxh647qpkjsbgihdr8lhkyzf8dsprhlq4fxd") + ("cecil" "7801534de1bfed97c844821c3244e05fc7ffcfb8" + "0dmfyzkm57n3lbgllx6ffz4g84x1slkib9hb4cfp3nhz852qim7b") + (("cecil" "cecil-legacy") "33d50b874fd527118bc361d83de3d494e8bb55e1" + "1p4hl1796ib26ykyf5snl6cj0lx0v7mjh0xqhjw6qdh753nsjyhb") + ("corefx" "bd96ae5f1485ae8541fe476dfd944efde76bcd9c" + "0j51lc54dmwa4fzna2vjfj4pcd1lk1s5bp5dfix1aqcncyzivazi") + ("corert" "d87c966d80c1274373ddafe3375bf1730cd430ed" + "078v5ks7inm2g1hf96x19k42jnv1qhhh7r8jxrfc7jk4v4lgmqyf") + ("ikdasm" "e4deabf61c11999f200dcea6f6d6b42474cc2131" + "1frbf70y7n7l72j393avdiwk6153cvfwwpighkf2m46clqmq4han") + (("ikvm-fork" "ikvm") "367864ef810859ae3ce652864233b35f2dd5fdbe" + "0ig99kbma4s0mzb13nzsk1vm200ygfr11q6mzgh6jj46s2fc35px") + ("linker" "e4d9784ac37b9ebf4757175c92bc7a3ec9fd867a" + "0ga7br9lqdsycz22dndkbiwbd0c60ml6nl22xlsnjr7lwdccfjvl") + ("Lucene.Net.Light" "85978b7eb94738f516824341213d5e94060f5284" + "0d118i52m3a0vfjhfci81a2kc4qvnj23gs02hrvdrfpd1q92fyii") + ("Newtonsoft.Json" "471c3e0803a9f40a0acc8aeceb31de6ff93a52c4" + "0dgngd5hqk6yhlg40kabn6qdnknm32zcx9q6bm2w31csnsk5978s") + (("NuGet.BuildTasks" "nuget-buildtasks") + "8d307472ea214f2b59636431f771894dbcba7258" + "1h1frnj0x8k7b29ic4jisch0vlpmsmghjw554pz277f2nxaidljj") + (("NUnitLite" "nunit-lite") "690603bea98aae69fca9a65130d88591bc6cabee" + "1f845ysjzs3yd9gcyww66dnkx484z5fknb8l0xz74sjmxk2mngwc") + ;; ("roslyn-binaries" "0d4198b1299bcb019973749da4d47e90f15a1e46" + ;; "") + ("rx" "b29a4b0fda609e0af33ff54ed13652b6ccf0e05e" + "1n1jwhmsbkcv2d806immcpzkb72rz04xy98myw355a8w5ah25yiv"))) + +(define-public mono-5.0.1 + (package + (inherit mono-4.9.0) + (version "5.0.1") + (name "mono") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.winehq.org/mono/mono.git") + (commit "mono-5.0.1.1"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05z9bddljp8xwsw7qw3f7bic8i202wrc60pjb9fn4igwfz9278n5")) + (modules '((guix build utils) + (ice-9 string-fun))) + (snippet #~(begin + #$(add-external-repos + mono-5.0.1-external-repo-specs) + #$@prepare-mono-source-0)))) + (native-inputs (modify-inputs (package-native-inputs mono-4.9.0) + (replace "mono" mono-4.9.0) + (append cmake-minimal))) + (arguments + (substitute-keyword-arguments (package-arguments mono-4.9.0) + ((#:make-flags _ #f) + ;; Build system is buggy here, it does some weird wildcard expansion + ;; that assumes there's only at most one file in a directory + #~(list "V=1" "SKIP_AOT=1")) + ((#:phases phases #~%standard-phases) + #~(modify-phases #$phases + (add-after 'unpack 'disable-roslyn-install + ;; For some reason there is no predefined way to persuade mono to + ;; not install the binary blobs it assumes are there. + (lambda _ + (substitute* "mcs/packages/Makefile" + (("^install-local:") + (string-append "install-local: + echo \"Skipping blob install\" + +unused0:"))))) + (delete 'use-old-mono-libraries) + (add-after 'build 'build-reference-assemblies + (lambda* (#:key make-flags #:allow-other-keys) + (let ((top (getcwd))) + (with-directory-excursion "external/binary-reference-assemblies" + ;; No clue why all these references are missing, just + ;; power through I guess. + (substitute* (find-files "." "^Makefile$") + (("CSC_COMMON_ARGS := " all) + (string-append all "-delaysign+ ")) + (("IBM\\.Data\\.DB2_REFS := " all) + (string-append all "System.Xml ")) + (("Mono\\.Data\\.Sqlite_REFS := " all) + (string-append all "System.Xml ")) + (("System\\.Data\\.DataSetExtensions_REFS := " all) + (string-append all "System.Xml ")) + (("System\\.Data\\.OracleClient_REFS := " all) + (string-append all "System.Xml ")) + (("System\\.IdentityModel_REFS := " all) + (string-append all "System.Configuration ")) + (("System\\.Design_REFS := " all) + (string-append all "Accessibility ")) + (("System\\.Web\\.Extensions\\.Design_REFS := " all) + (string-append all "System.Windows.Forms System.Web ")) + (("System\\.ServiceModel\\.Routing_REFS := " all) + (string-append all "System.Xml ")) + (("System\\.Web\\.Abstractions_REFS := " all) + (string-append all "System ")) + (("System\\.Reactive\\.Windows\\.Forms_REFS := " all) + (string-append all "System ")) + (("System\\.Windows\\.Forms\\.DataVisualization_REFS := " all) + (string-append all "Accessibility ")) + (("Facades/System\\.ServiceModel\\.Primitives_REFS := " all) + (string-append all "System.Xml ")) + (("Facades/System\\.Dynamic\\.Runtime_REFS := " all) + (string-append all "System ")) + (("Facades/System\\.Xml\\.XDocument_REFS := " all) + (string-append all "System.Xml ")) + (("Facades/System\\.Runtime\\.Serialization.Xml_REFS := " all) + (string-append all "System.Xml "))) + (apply invoke "make" + (string-append "CSC=MONO_PATH=" + top "/mcs/class/lib/build" + " " + top "/runtime/mono-wrapper" + " " + top "/mcs/class/lib/build/mcs.exe") + make-flags))))))))))) -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted