From unknown Sun Jun 22 08:05:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#46095] [PATCH] gnu: Add mingw-w64-tools. Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Jan 2021 10:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46095 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46095@debbugs.gnu.org Cc: =?UTF-8?Q?L=C3=A9o?= Le Bouter X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16115701279454 (code B ref -1); Mon, 25 Jan 2021 10:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jan 2021 10:22:07 +0000 Received: from localhost ([127.0.0.1]:37968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3z0Z-0002SQ-Eq for submit@debbugs.gnu.org; Mon, 25 Jan 2021 05:22:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:39560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3z0X-0002SH-EB for submit@debbugs.gnu.org; Mon, 25 Jan 2021 05:22:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3z0X-0002DY-6x for guix-patches@gnu.org; Mon, 25 Jan 2021 05:22:05 -0500 Received: from mail.zaclys.net ([178.33.93.72]:39281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3z0U-0002Sj-MM for guix-patches@gnu.org; Mon, 25 Jan 2021 05:22:04 -0500 Received: from localhost.localdomain (lam21-1_migr-78-196-200-185.fbx.proxad.net [78.196.200.185] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 10PALjhX035732 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 25 Jan 2021 11:21:58 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 10PALjhX035732 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1611570118; bh=IfhMGtPyu+vSmJ2VtrhrtmPLZxBFodykZ9tFK5sZA6M=; h=From:To:Cc:Subject:Date:From; b=UvONpun7SK5qbujrjX3xRq/8qGCPb9yJ5PCb3yks8yXgufjRSBczhlMobB+NnDR8W 2HYp5bs67JeTea4oLMys6VoWCgVWl4zq4vmJYHCLUygbf7N0D4EKt4cR1r1mDKRZXb y/CtW6o75upuXQHpXgbkuYmA9HpbIFevhGVH2Xv4= From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Date: Mon, 25 Jan 2021 11:21:35 +0100 Message-Id: <20210125102135.13874-1-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/mingw.scm (mingw-w64-tools): New variable. --- gnu/packages/mingw.scm | 75 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/mingw.scm b/gnu/packages/mingw.scm index b37f6c69bd..884cb7e39f 100644 --- a/gnu/packages/mingw.scm +++ b/gnu/packages/mingw.scm @@ -133,3 +133,78 @@ several new APIs such as DirectX and DDK, and 64-bit support.") #:with-winpthreads? #t)) (define-public mingw-w64 mingw-w64-i686) + +(define-public mingw-w64-tools + (package + (name "mingw-w64-tools") + (version "7.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/mingw-w64/mingw-w64/" + "mingw-w64-release/mingw-w64-v" version ".tar.bz2")) + (sha256 + (base32 "0a5njsa2zw2ssdz10jkb10mhrf3cb8qp9avs89zqmw4n6pzxy85a")))) + (build-system gnu-build-system) + (arguments + `(#:modules (((guix build gnu-build-system) #:prefix gnu:) + ,@%gnu-build-system-modules) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'cd-gendef + (lambda _ (chdir "mingw-w64-tools/gendef") + #t)) + + (add-after 'install 'cd-genidl + (lambda _ (chdir "../genidl") + #t)) + (add-after 'cd-genidl 'configure-genidl + (assoc-ref gnu:%standard-phases 'configure)) + (add-after 'configure-genidl 'build-genidl + (assoc-ref gnu:%standard-phases 'build)) + (add-after 'build-genidl 'check-genidl + (assoc-ref gnu:%standard-phases 'check)) + (add-after 'check-genidl 'install-genidl + (assoc-ref gnu:%standard-phases 'install)) + + (add-after 'install-genidl 'cd-genlib + (lambda _ (chdir "../genlib") + #t)) + (add-after 'cd-genlib 'configure-genlib + (assoc-ref gnu:%standard-phases 'configure)) + (add-after 'configure-genlib 'build-genlib + (assoc-ref gnu:%standard-phases 'build)) + (add-after 'build-genlib 'check-genlib + (assoc-ref gnu:%standard-phases 'check)) + (add-after 'check-genlib 'install-genlib + (assoc-ref gnu:%standard-phases 'install)) + + (add-after 'install-genlib 'cd-genpeimg + (lambda _ (chdir "../genpeimg") + #t)) + (add-after 'cd-genpeimg 'configure-genpeimg + (assoc-ref gnu:%standard-phases 'configure)) + (add-after 'configure-genpeimg 'build-genpeimg + (assoc-ref gnu:%standard-phases 'build)) + (add-after 'build-genpeimg 'check-genpeimg + (assoc-ref gnu:%standard-phases 'check)) + (add-after 'check-genpeimg 'install-genpeimg + (assoc-ref gnu:%standard-phases 'install))))) + (home-page "https://mingw-w64.org") + (synopsis "Tools of Minimalist GNU for Windows") + (description + "This package provides tools of Minimalist GNU for Windows. + +Minimalist GNU for Windows (@dfn{MinGW}) is a complete software +development environment for creating native Microsoft Windows applications. + +It includes a set of Windows-specific header files and static import libraries +which enable the use of the Windows API. It does not rely on any third-party C +runtime dynamic-link libraries (@dfn{DLL}s). + +Mingw-w64 is an advancement of the original mingw.org project and provides +several new APIs such as DirectX and DDK, and 64-bit support.") + (license (list + license:gpl3+ + license:lgpl2.1+)))) -- 2.30.0 From unknown Sun Jun 22 08:05:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#46095] [PATCH] gnu: Add mingw-w64-tools. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Feb 2021 05:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46095 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?L=C3=A9o?= Le Bouter Cc: 46095@debbugs.gnu.org Received: via spool by 46095-submit@debbugs.gnu.org id=B46095.161232905225741 (code B ref 46095); Wed, 03 Feb 2021 05:11:01 +0000 Received: (at 46095) by debbugs.gnu.org; 3 Feb 2021 05:10:52 +0000 Received: from localhost ([127.0.0.1]:36552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7ARH-0006h6-SY for submit@debbugs.gnu.org; Wed, 03 Feb 2021 00:10:52 -0500 Received: from mail-qv1-f44.google.com ([209.85.219.44]:46012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7ARC-0006gn-Lf for 46095@debbugs.gnu.org; Wed, 03 Feb 2021 00:10:49 -0500 Received: by mail-qv1-f44.google.com with SMTP id w11so11085479qvz.12 for <46095@debbugs.gnu.org>; Tue, 02 Feb 2021 21:10:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=PoUU73oq750rRgAZ6AxxRcgVCBycrZj8RC3d8lWCvMc=; b=Cy0i0y7cCL5lqF35EApm8fsSHsqUnOvE2jfyy6KN2cb4XnzB87WAE0zhKXnyGGObel XmFhSUUsYSynwQ8CZO/V9cyc80E+ojKjAh0t8KZcynprcdIWzI2Jgqnak8timbRLw6Yp KmV6MxW80VU/AkSj9lQoeowjDSkRSvHfdhWnlPDVyDs04HW9nnMGyAdnTbeT9gUjVBtH L0a11CdJCX7690KuRW/QAU/zqJe0VrHF+9Oxn3oLN08uQ7t9l8vtaZR4zm1No2zX1QO+ sfbxa11mM79WwyDZwObb4WN42Ri23xguDJV2cBcIxokF4zhRL0r5brAKiURCL7sUlPRK D+IQ== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=PoUU73oq750rRgAZ6AxxRcgVCBycrZj8RC3d8lWCvMc=; b=BoAwbLJZGscvokCrCA78i9Cs69C6Ubvj9QWYYhhwNNbQ6HuD4tLo2nV8uYqtxr5heu 5795I7OkC5LiZI99LKLcv41Ir/7oNdDNOuxb/TsRRj02vNRKE+woUfrKqFdQUAD8p1VJ Pt8kbM7JmwrzA9Md2YyKbgbcqb/EApOQeLBywWsYdid7dRxbT1M/vl84zR2P1LyhZf0y 4veIV/k6HamK+9FZjQbn6YJbJ2Yj+W1QypIp0JJ2/n9GITC9s5EcwT17W/VYfuyp9lwV WWsuVRcXLnea8bRktq5LCFAmP3690NQHdREZ/mftCO99Mdaw9Kur4CPCU72Dk+xbKRs+ iiYg== X-Gm-Message-State: AOAM533c3gm6S9SyssMA/KwjoT00sAEBezntEchYtGpVxvPHGBcunP5t DlLTrXkVauiB4bue/jeGjvQqmgsdGcqhkA== X-Google-Smtp-Source: ABdhPJzKG+YGup0zXNwfx/jOti5yvE/2Z79OklQkp2DhBh3pEKg0se4T6bX+VkL+s0fCi0dxy49teA== X-Received: by 2002:a05:6214:906:: with SMTP id dj6mr1399059qvb.28.1612329040960; Tue, 02 Feb 2021 21:10:40 -0800 (PST) Received: from hurd (dsl-157-110.b2b2c.ca. [66.158.157.110]) by smtp.gmail.com with ESMTPSA id h25sm846955qkh.133.2021.02.02.21.10.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 21:10:40 -0800 (PST) From: Maxim Cournoyer References: <20210125102135.13874-1-lle-bout@zaclys.net> Date: Wed, 03 Feb 2021 00:10:39 -0500 In-Reply-To: <20210125102135.13874-1-lle-bout@zaclys.net> ("=?UTF-8?Q?L=C3=A9o?= Le Bouter"'s message of "Mon, 25 Jan 2021 11:21:35 +0100") Message-ID: <878s85pwhc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, L=C3=A9o Le Bouter writes: > * gnu/packages/mingw.scm (mingw-w64-tools): New variable. > --- > gnu/packages/mingw.scm | 75 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 75 insertions(+) > > diff --git a/gnu/packages/mingw.scm b/gnu/packages/mingw.scm > index b37f6c69bd..884cb7e39f 100644 > --- a/gnu/packages/mingw.scm > +++ b/gnu/packages/mingw.scm > @@ -133,3 +133,78 @@ several new APIs such as DirectX and DDK, and 64-bit= support.") > #:with-winpthreads? #t)) >=20=20 > (define-public mingw-w64 mingw-w64-i686) > + > +(define-public mingw-w64-tools > + (package > + (name "mingw-w64-tools") > + (version "7.0.0") That doesn't seem to be the latest version. Is there a good reason why? If so, please add a comment, else use the latest version. > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "mirror://sourceforge/mingw-w64/mingw-w64/" > + "mingw-w64-release/mingw-w64-v" version ".tar.bz2")) > + (sha256 > + (base32 "0a5njsa2zw2ssdz10jkb10mhrf3cb8qp9avs89zqmw4n6pzxy85a"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:modules (((guix build gnu-build-system) #:prefix gnu:) > + ,@%gnu-build-system-modules) > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'cd-gendef > + (lambda _ (chdir "mingw-w64-tools/gendef") > + #t)) It's a recent change, but ending phases by #t is no longer required. > + > + (add-after 'install 'cd-genidl > + (lambda _ (chdir "../genidl") > + #t)) > + (add-after 'cd-genidl 'configure-genidl > + (assoc-ref gnu:%standard-phases 'configure)) > + (add-after 'configure-genidl 'build-genidl > + (assoc-ref gnu:%standard-phases 'build)) > + (add-after 'build-genidl 'check-genidl > + (assoc-ref gnu:%standard-phases 'check)) > + (add-after 'check-genidl 'install-genidl > + (assoc-ref gnu:%standard-phases 'install)) > + > + (add-after 'install-genidl 'cd-genlib > + (lambda _ (chdir "../genlib") > + #t)) > + (add-after 'cd-genlib 'configure-genlib > + (assoc-ref gnu:%standard-phases 'configure)) > + (add-after 'configure-genlib 'build-genlib > + (assoc-ref gnu:%standard-phases 'build)) > + (add-after 'build-genlib 'check-genlib > + (assoc-ref gnu:%standard-phases 'check)) > + (add-after 'check-genlib 'install-genlib > + (assoc-ref gnu:%standard-phases 'install)) > + > + (add-after 'install-genlib 'cd-genpeimg > + (lambda _ (chdir "../genpeimg") > + #t)) > + (add-after 'cd-genpeimg 'configure-genpeimg > + (assoc-ref gnu:%standard-phases 'configure)) > + (add-after 'configure-genpeimg 'build-genpeimg > + (assoc-ref gnu:%standard-phases 'build)) > + (add-after 'build-genpeimg 'check-genpeimg > + (assoc-ref gnu:%standard-phases 'check)) > + (add-after 'check-genpeimg 'install-genpeimg > + (assoc-ref gnu:%standard-phases 'install))))) > + (home-page "https://mingw-w64.org") > + (synopsis "Tools of Minimalist GNU for Windows") > + (description > + "This package provides tools of Minimalist GNU for Windows. > + > +Minimalist GNU for Windows (@dfn{MinGW}) is a complete software > +development environment for creating native Microsoft Windows applicatio= ns. > + > +It includes a set of Windows-specific header files and static import lib= raries > +which enable the use of the Windows API. It does not rely on any third-= party C > +runtime dynamic-link libraries (@dfn{DLL}s). > + > +Mingw-w64 is an advancement of the original mingw.org project and provid= es > +several new APIs such as DirectX and DDK, and 64-bit support.") I'd make it a single paragraph. > + (license (list > + license:gpl3+ > + license:lgpl2.1+)))) There should be a comment expliciting why there are two possible licenses (different files? which ones? dual license? etc.) Thank you! Maxim From unknown Sun Jun 22 08:05:42 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?L=C3=A9o?= Le Bouter Subject: bug#46095: closed (Re: bug#46095: [PATCH] gnu: Add mingw-w64-tools.) Message-ID: References: <87zh0lnp9p.fsf_-_@gmail.com> <20210125102135.13874-1-lle-bout@zaclys.net> X-Gnu-PR-Message: they-closed 46095 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 46095@debbugs.gnu.org Date: Wed, 03 Feb 2021 15:30:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1612366202-14814-1" This is a multi-part message in MIME format... ------------=_1612366202-14814-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #46095: [PATCH] gnu: Add mingw-w64-tools. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 46095@debbugs.gnu.org. --=20 46095: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46095 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1612366202-14814-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 46095-done) by debbugs.gnu.org; 3 Feb 2021 15:29:31 +0000 Received: from localhost ([127.0.0.1]:38623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7K5y-0003pL-F5 for submit@debbugs.gnu.org; Wed, 03 Feb 2021 10:29:30 -0500 Received: from mail-qk1-f179.google.com ([209.85.222.179]:46288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7K5x-0003p4-EW for 46095-done@debbugs.gnu.org; Wed, 03 Feb 2021 10:29:29 -0500 Received: by mail-qk1-f179.google.com with SMTP id a7so23682717qkb.13 for <46095-done@debbugs.gnu.org>; Wed, 03 Feb 2021 07:29:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=xvpomW9mMkJSlyGi+TS2pgoM1QrdotJd7EzIajItSvs=; b=hYIvIhj2XfG2cGRtxzoID2RLFJQijkqAafpExIXztytVgJkB+xxqs5bkM01qnt4O2s u2NDo2meW6/O50CedaqXrFRzQssBO55gRPK4XQPD9m0MbccHO3N5vVfDMn2xcxmYwAj8 N3tHy5HO+Diz6tYgGkiJ+GtOk+vGQ61FI/mEjzEQK+oIaGZFLkdjlZ1Q8Kjo0DMWTnes TjdhFtv4TeijrK320rTLJyN04/T94gheVlSLqdGCeeJ5LZaFnjBOmpSBc5hEevwC9NEY bwvkb+4Jq5m7p3PR5pAzV6uaCLNNqEB640KjLwUZB13Bq6ahHmVjPg0yhycGKYIyB5kM DMkQ== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=xvpomW9mMkJSlyGi+TS2pgoM1QrdotJd7EzIajItSvs=; b=SBuPa/BxcOjLypj8LSLWOEY8gGUxWuTLhWvGGtzWdCoM7vWw6+KXxxaGw3WLtFpuVK ZxRTQX9k8W/BmpjxIfFqBP/+B77A2owSMY/iZaGNeLHdedtBl983f4v13nFdU0n2rhAd 00gzFEvW6QqhB+IuWAk7GQRE8Lry3UPwWLgIhvpIROTaZXdj6OnkUnR2dstz82ja+nNK gpb/G4TL7P14ApIPf+8fHvM4onegueCoaerbQMPDFp2MLuj7Wa2SWBm0Mr/Lls4gYH6J FAEJh7fAEawuupwWfimkb/Eb6rTD9E2jWGPrlfgCIaF1mGanaXLIVyq+EAtp6RiN7hwy S28g== X-Gm-Message-State: AOAM533n/YMUrUfVlUSLQaH/ZU3dIk7Tg47sxKJEQujGc09PYpAI24wY TWHGZ0IAITeHqjoPsillTqKA8KV5aD8= X-Google-Smtp-Source: ABdhPJx6mqVhafPcMPDLU4o7hUKuMGmd/oQyUfGOwFcpE46rPX1tmgc/ExYXX26G8xfIGjzTBjdKng== X-Received: by 2002:a37:a992:: with SMTP id s140mr3006825qke.286.1612366163859; Wed, 03 Feb 2021 07:29:23 -0800 (PST) Received: from hurd (dsl-157-110.b2b2c.ca. [66.158.157.110]) by smtp.gmail.com with ESMTPSA id o76sm1816868qke.104.2021.02.03.07.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 07:29:23 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?Q?L=C3=A9o?= Le Bouter Subject: Re: bug#46095: [PATCH] gnu: Add mingw-w64-tools. References: <20210125102135.13874-1-lle-bout@zaclys.net> <878s85pwhc.fsf@gmail.com> Date: Wed, 03 Feb 2021 10:29:22 -0500 In-Reply-To: <878s85pwhc.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 03 Feb 2021 00:10:39 -0500") Message-ID: <87zh0lnp9p.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46095-done Cc: 46095-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Maxim Cournoyer writes: > Hello, > > L=C3=A9o Le Bouter writes: > >> * gnu/packages/mingw.scm (mingw-w64-tools): New variable. >> --- >> gnu/packages/mingw.scm | 75 ++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 75 insertions(+) >> >> diff --git a/gnu/packages/mingw.scm b/gnu/packages/mingw.scm >> index b37f6c69bd..884cb7e39f 100644 >> --- a/gnu/packages/mingw.scm >> +++ b/gnu/packages/mingw.scm >> @@ -133,3 +133,78 @@ several new APIs such as DirectX and DDK, and 64-bi= t support.") >> #:with-winpthreads? #t)) >>=20=20 >> (define-public mingw-w64 mingw-w64-i686) >> + >> +(define-public mingw-w64-tools >> + (package >> + (name "mingw-w64-tools") >> + (version "7.0.0") > > That doesn't seem to be the latest version. Is there a good reason why? > If so, please add a comment, else use the latest version. > >> + (source >> + (origin >> + (method url-fetch) >> + (uri (string-append >> + "mirror://sourceforge/mingw-w64/mingw-w64/" >> + "mingw-w64-release/mingw-w64-v" version ".tar.bz2")) >> + (sha256 >> + (base32 "0a5njsa2zw2ssdz10jkb10mhrf3cb8qp9avs89zqmw4n6pzxy85a")= ))) >> + (build-system gnu-build-system) >> + (arguments >> + `(#:modules (((guix build gnu-build-system) #:prefix gnu:) >> + ,@%gnu-build-system-modules) >> + #:phases >> + (modify-phases %standard-phases >> + (add-after 'unpack 'cd-gendef >> + (lambda _ (chdir "mingw-w64-tools/gendef") >> + #t)) > > It's a recent change, but ending phases by #t is no longer required. > >> + >> + (add-after 'install 'cd-genidl >> + (lambda _ (chdir "../genidl") >> + #t)) >> + (add-after 'cd-genidl 'configure-genidl >> + (assoc-ref gnu:%standard-phases 'configure)) >> + (add-after 'configure-genidl 'build-genidl >> + (assoc-ref gnu:%standard-phases 'build)) >> + (add-after 'build-genidl 'check-genidl >> + (assoc-ref gnu:%standard-phases 'check)) >> + (add-after 'check-genidl 'install-genidl >> + (assoc-ref gnu:%standard-phases 'install)) >> + >> + (add-after 'install-genidl 'cd-genlib >> + (lambda _ (chdir "../genlib") >> + #t)) >> + (add-after 'cd-genlib 'configure-genlib >> + (assoc-ref gnu:%standard-phases 'configure)) >> + (add-after 'configure-genlib 'build-genlib >> + (assoc-ref gnu:%standard-phases 'build)) >> + (add-after 'build-genlib 'check-genlib >> + (assoc-ref gnu:%standard-phases 'check)) >> + (add-after 'check-genlib 'install-genlib >> + (assoc-ref gnu:%standard-phases 'install)) >> + >> + (add-after 'install-genlib 'cd-genpeimg >> + (lambda _ (chdir "../genpeimg") >> + #t)) >> + (add-after 'cd-genpeimg 'configure-genpeimg >> + (assoc-ref gnu:%standard-phases 'configure)) >> + (add-after 'configure-genpeimg 'build-genpeimg >> + (assoc-ref gnu:%standard-phases 'build)) >> + (add-after 'build-genpeimg 'check-genpeimg >> + (assoc-ref gnu:%standard-phases 'check)) >> + (add-after 'check-genpeimg 'install-genpeimg >> + (assoc-ref gnu:%standard-phases 'install))))) >> + (home-page "https://mingw-w64.org") >> + (synopsis "Tools of Minimalist GNU for Windows") >> + (description >> + "This package provides tools of Minimalist GNU for Windows. >> + >> +Minimalist GNU for Windows (@dfn{MinGW}) is a complete software >> +development environment for creating native Microsoft Windows applicati= ons. >> + >> +It includes a set of Windows-specific header files and static import li= braries >> +which enable the use of the Windows API. It does not rely on any third= -party C >> +runtime dynamic-link libraries (@dfn{DLL}s). >> + >> +Mingw-w64 is an advancement of the original mingw.org project and provi= des >> +several new APIs such as DirectX and DDK, and 64-bit support.") > > I'd make it a single paragraph. > >> + (license (list >> + license:gpl3+ >> + license:lgpl2.1+)))) > > There should be a comment expliciting why there are two possible > licenses (different files? which ones? dual license? etc.) > > Thank you! > > Maxim I've addressed the above comments, refactored the phases and added the widl tool; you can see the result in commit 44c98c997933c4dc531775f1bb0848b39c7abf37. The version of mingw-w64 is now 8.0.0. Closing, Maxim ------------=_1612366202-14814-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Jan 2021 10:22:07 +0000 Received: from localhost ([127.0.0.1]:37968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3z0Z-0002SQ-Eq for submit@debbugs.gnu.org; Mon, 25 Jan 2021 05:22:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:39560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3z0X-0002SH-EB for submit@debbugs.gnu.org; Mon, 25 Jan 2021 05:22:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3z0X-0002DY-6x for guix-patches@gnu.org; Mon, 25 Jan 2021 05:22:05 -0500 Received: from mail.zaclys.net ([178.33.93.72]:39281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3z0U-0002Sj-MM for guix-patches@gnu.org; Mon, 25 Jan 2021 05:22:04 -0500 Received: from localhost.localdomain (lam21-1_migr-78-196-200-185.fbx.proxad.net [78.196.200.185] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 10PALjhX035732 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 25 Jan 2021 11:21:58 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 10PALjhX035732 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1611570118; bh=IfhMGtPyu+vSmJ2VtrhrtmPLZxBFodykZ9tFK5sZA6M=; h=From:To:Cc:Subject:Date:From; b=UvONpun7SK5qbujrjX3xRq/8qGCPb9yJ5PCb3yks8yXgufjRSBczhlMobB+NnDR8W 2HYp5bs67JeTea4oLMys6VoWCgVWl4zq4vmJYHCLUygbf7N0D4EKt4cR1r1mDKRZXb y/CtW6o75upuXQHpXgbkuYmA9HpbIFevhGVH2Xv4= From: =?UTF-8?q?L=C3=A9o=20Le=20Bouter?= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add mingw-w64-tools. Date: Mon, 25 Jan 2021 11:21:35 +0100 Message-Id: <20210125102135.13874-1-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?L=C3=A9o=20Le=20Bouter?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/mingw.scm (mingw-w64-tools): New variable. --- gnu/packages/mingw.scm | 75 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/mingw.scm b/gnu/packages/mingw.scm index b37f6c69bd..884cb7e39f 100644 --- a/gnu/packages/mingw.scm +++ b/gnu/packages/mingw.scm @@ -133,3 +133,78 @@ several new APIs such as DirectX and DDK, and 64-bit support.") #:with-winpthreads? #t)) (define-public mingw-w64 mingw-w64-i686) + +(define-public mingw-w64-tools + (package + (name "mingw-w64-tools") + (version "7.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/mingw-w64/mingw-w64/" + "mingw-w64-release/mingw-w64-v" version ".tar.bz2")) + (sha256 + (base32 "0a5njsa2zw2ssdz10jkb10mhrf3cb8qp9avs89zqmw4n6pzxy85a")))) + (build-system gnu-build-system) + (arguments + `(#:modules (((guix build gnu-build-system) #:prefix gnu:) + ,@%gnu-build-system-modules) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'cd-gendef + (lambda _ (chdir "mingw-w64-tools/gendef") + #t)) + + (add-after 'install 'cd-genidl + (lambda _ (chdir "../genidl") + #t)) + (add-after 'cd-genidl 'configure-genidl + (assoc-ref gnu:%standard-phases 'configure)) + (add-after 'configure-genidl 'build-genidl + (assoc-ref gnu:%standard-phases 'build)) + (add-after 'build-genidl 'check-genidl + (assoc-ref gnu:%standard-phases 'check)) + (add-after 'check-genidl 'install-genidl + (assoc-ref gnu:%standard-phases 'install)) + + (add-after 'install-genidl 'cd-genlib + (lambda _ (chdir "../genlib") + #t)) + (add-after 'cd-genlib 'configure-genlib + (assoc-ref gnu:%standard-phases 'configure)) + (add-after 'configure-genlib 'build-genlib + (assoc-ref gnu:%standard-phases 'build)) + (add-after 'build-genlib 'check-genlib + (assoc-ref gnu:%standard-phases 'check)) + (add-after 'check-genlib 'install-genlib + (assoc-ref gnu:%standard-phases 'install)) + + (add-after 'install-genlib 'cd-genpeimg + (lambda _ (chdir "../genpeimg") + #t)) + (add-after 'cd-genpeimg 'configure-genpeimg + (assoc-ref gnu:%standard-phases 'configure)) + (add-after 'configure-genpeimg 'build-genpeimg + (assoc-ref gnu:%standard-phases 'build)) + (add-after 'build-genpeimg 'check-genpeimg + (assoc-ref gnu:%standard-phases 'check)) + (add-after 'check-genpeimg 'install-genpeimg + (assoc-ref gnu:%standard-phases 'install))))) + (home-page "https://mingw-w64.org") + (synopsis "Tools of Minimalist GNU for Windows") + (description + "This package provides tools of Minimalist GNU for Windows. + +Minimalist GNU for Windows (@dfn{MinGW}) is a complete software +development environment for creating native Microsoft Windows applications. + +It includes a set of Windows-specific header files and static import libraries +which enable the use of the Windows API. It does not rely on any third-party C +runtime dynamic-link libraries (@dfn{DLL}s). + +Mingw-w64 is an advancement of the original mingw.org project and provides +several new APIs such as DirectX and DDK, and 64-bit support.") + (license (list + license:gpl3+ + license:lgpl2.1+)))) -- 2.30.0 ------------=_1612366202-14814-1--