From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YNEXKikUwmDIWwEAgWs5BA (envelope-from ) for ; Thu, 10 Jun 2021 15:31:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0GydJSkUwmDpKQAAB5/wlQ (envelope-from ) for ; Thu, 10 Jun 2021 13:31:21 +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 D9DD418368 for ; Thu, 10 Jun 2021 15:31:20 +0200 (CEST) Received: from localhost ([::1]:38268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrKmE-0005X0-Q4 for larch@yhetil.org; Thu, 10 Jun 2021 09:31:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrKlz-0005SN-Sa for guix-patches@gnu.org; Thu, 10 Jun 2021 09:31:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrKly-0002NZ-T1 for guix-patches@gnu.org; Thu, 10 Jun 2021 09:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrKly-0006gD-CN for guix-patches@gnu.org; Thu, 10 Jun 2021 09:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48947] [PATCH] gnu: proof-general: Update to 4.4-0.bc86736. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Jun 2021 13:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48947 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48947@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162333182525621 (code B ref -1); Thu, 10 Jun 2021 13:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jun 2021 13:30:25 +0000 Received: from localhost ([127.0.0.1]:35819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrKlJ-0006f6-BQ for submit@debbugs.gnu.org; Thu, 10 Jun 2021 09:30:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:52856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrKlG-0006ex-U6 for submit@debbugs.gnu.org; Thu, 10 Jun 2021 09:30:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrKlG-0004VF-Kq for guix-patches@gnu.org; Thu, 10 Jun 2021 09:30:18 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:55100 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrKlD-0001kO-QC for guix-patches@gnu.org; Thu, 10 Jun 2021 09:30:18 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1623331808; bh=5IxzRa5ASZzHFAV/lFxoX8Bo6OPSI1cxGkrgUGUuuqk=; h=From:To:Subject:Date; b=lTZI7SF7t6Fv+JJCzBHjtb+OWSln5KmJN5Be4ULaWI/YKd+lMewKLf/IO6vwu9Xt/ g2Y+OB8YKB9k9gm3rSxo9Q2BimOSlp3lvvGnz+a7MgOLIKnFczvqYm760Y/HeUZaWx n2yHPT+5TwEN4ivTIosYYR/Wi2heFgAn1CN+IxfE= Message-Id: <287f5f7500552106833f349c1f9493ab89470b39.1623331764.git.public@yoctocell.xyz> Date: Thu, 10 Jun 2021 15:30:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 30 X-Spam_score: 3.0 X-Spam_bar: +++ X-Spam_report: (3.0 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.596, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623331881; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Vs0BBXu2w51QHmqUD3Y01JA1dW1J/TMC48OZrzJr0q0=; b=jxjYWRR67PNQ3VPvy6Y2TmjcacAD4zSQPrfk9/JKqGZ/TacjmvbRzg9t8uYlLKhJPGqVoV jHUa7skxtfE7yR9TZSKLqVhKxh+Q4S0u699PQNYApXMyjn0xzMKhcTp3tJ6yWCl0PSeugf z3g666N7Uut6/3M2IYSAyC37nZotBKyzBVCHScCezSvBuy3xSK+Iz9v9iSrLFuctfvQtP4 jK2UKvrFd1RQ/XxWhKDh+HZco0rx5+eKMwoBrp8kUf98TiRpQix4+6Vjo2mXY9Vs0ncWxe V0WKOjAEHMJwrbAlBTFGdaFWTfMQj60iH/U3iSjw/IF5nXnzObv98e/8AEOBbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623331881; a=rsa-sha256; cv=none; b=K9Tf3ET/3sB8aLJW+lAhzQo9xsfNy0Ukr+BHNEUQkezqrk6sAmHMjoeRUB/ymQ7+wh4NI2 G6ReaaDvg7fZQZQEhpU2MxzZOBrbH9MSPg1/UystPOPJlQaBV0TeMReJe8/jemw0EMQST7 nz+mqQ2ed6LqvvFbMaVh6SwAiALOZLrU6wTOU525FtUUugt8UebxVkIeKoTFKq9yHoZKHn tJPO/uPQdXP2gV0wIDkvi1YN5tNBcDN/DN7oDB0cu7yPcDWRfTprrUy1vfWQQCNnUCKihK s2yXw+b1/clQepJ8OBs/ySjsNer5PpY/dGoosE57Ll0hz2MCFwlqL8WOWp/jbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=lTZI7SF7; 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-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=lTZI7SF7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: D9DD418368 X-Spam-Score: -0.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8/WLsSoSzo5J There hasn=E2=80=99t been a new release since 2016 and there has been more = than 450 new commits since then. * gnu/packages/coq.scm (proof-general): Update to 4.4-0.bc86736. [arguments]<#:make-flags>: Set ELISP_START. <#:phases>: Remove =E2=80=98coq-prog=E2=80=99 procedure which was unused; d= on=E2=80=99t run =E2=80=98substitute*=E2=80=99 on bin/proofgeneral since it no longer exists= . Don=E2=80=99t end phases with #t, this will be unnecessary once the =E2=80=98core-updates=E2=80=99 b= ranch is merged. [home-page]: Remove trailing whitesapce. --- gnu/packages/coq.scm | 140 +++++++++++++++++++++---------------------- 1 file changed, 69 insertions(+), 71 deletions(-) diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm index fb6a899b48..fa1f4078b8 100644 --- a/gnu/packages/coq.scm +++ b/gnu/packages/coq.scm @@ -6,6 +6,7 @@ ;;; Copyright =C2=A9 2020 Bj=C3=B6rn H=C3=B6fling ;;; Copyright =C2=A9 2020 raingloom ;;; Copyright =C2=A9 2020 Robin Green +;;; Copyright =C2=A9 2021 Xinglu Chen ;;; ;;; This file is part of GNU Guix. ;;; @@ -142,79 +143,76 @@ It is developed using Objective Caml and Camlp5.") (license (list license:lgpl2.1 license:opl1.0+)))) =20 (define-public proof-general - (package - (name "proof-general") - (version "4.4") - (source (origin - (method git-fetch) - (uri (git-reference - (url (string-append - "https://github.com/ProofGeneral/PG")) - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0bdfk91wf71z80mdfnl8hpinripndcjgdkz854zil6521r84nqk8")))) - (build-system gnu-build-system) - (native-inputs - `(("which" ,which) - ("emacs" ,emacs-minimal) - ("texinfo" ,texinfo))) - (inputs - `(("host-emacs" ,emacs) - ("perl" ,perl) - ("coq" ,coq))) - (arguments - `(#:tests? #f ; no check target - #:make-flags (list (string-append "PREFIX=3D" %output) - (string-append "DEST_PREFIX=3D" %output)) - #:modules ((guix build gnu-build-system) - (guix build utils) - (guix build emacs-utils)) - #:imported-modules (,@%gnu-build-system-modules - (guix build emacs-utils)) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (add-after 'unpack 'disable-byte-compile-error-on-warn - (lambda _ - (substitute* "Makefile" - (("\\(setq byte-compile-error-on-warn t\\)") - "(setq byte-compile-error-on-warn nil)")) - #t)) - (add-after 'unpack 'patch-hardcoded-paths - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (coq (assoc-ref inputs "coq")) - (emacs (assoc-ref inputs "host-emacs"))) - (define (coq-prog name) - (string-append coq "/bin/" name)) - (substitute* "Makefile" - (("/sbin/install-info") "install-info")) - (substitute* "bin/proofgeneral" - (("^PGHOMEDEFAULT=3D.*" all) - (string-append all - "PGHOME=3D$PGHOMEDEFAULT\n" - "EMACS=3D" emacs "/bin/emacs"))) - #t))) - (add-after 'unpack 'clean - (lambda _ - ;; Delete the pre-compiled elc files for Emacs 23. - (invoke "make" "clean"))) - (add-after 'install 'install-doc - (lambda* (#:key make-flags #:allow-other-keys) - ;; XXX FIXME avoid building/installing pdf files, - ;; due to unresolved errors building them. - (substitute* "Makefile" - ((" [^ ]*\\.pdf") "")) - (apply invoke "make" "install-doc" make-flags)))))) - (home-page "https://proofgeneral.github.io/ ") - (synopsis "Generic front-end for proof assistants based on Emacs") - (description - "Proof General is a major mode to turn Emacs into an interactive proof + ;; The latest release is from 2016 and there has been more than 450 comm= its + ;; since then. + ;; Commit from 2021-06-07. + (let ((commit "bc86736abb728ec0d28abc90ef0adae21d29a66a") + (revision "0")) + (package + (name "proof-general") + (version (git-version "4.4" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ProofGeneral/PG") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "00cga3n9nj2xa3ivb0fdkkdx3k11fp4879y188738631yd1x2lsa"))= )) + (build-system gnu-build-system) + (native-inputs + `(("which" ,which) + ("emacs" ,emacs-minimal) + ("texinfo" ,texinfo))) + (inputs + `(("host-emacs" ,emacs) + ("perl" ,perl) + ("coq" ,coq))) + (arguments + `(#:tests? #f ; no check target + #:make-flags (list (string-append "PREFIX=3D" %output) + (string-append "DEST_PREFIX=3D" %output) + (string-append "ELISP_START=3D" %output + "/share/emacs/site-lisp/ProofGe= neral")) + #:modules ((guix build gnu-build-system) + (guix build utils) + (guix build emacs-utils)) + #:imported-modules (,@%gnu-build-system-modules + (guix build emacs-utils)) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'disable-byte-compile-error-on-warn + (lambda _ + (substitute* "Makefile" + (("\\(setq byte-compile-error-on-warn t\\)") + "(setq byte-compile-error-on-warn nil)")))) + (add-after 'unpack 'patch-hardcoded-paths + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (coq (assoc-ref inputs "coq")) + (emacs (assoc-ref inputs "host-emacs"))) + (substitute* "Makefile" + (("/sbin/install-info") "install-info"))))) + (add-after 'unpack 'clean + (lambda _ + ;; Delete the pre-compiled elc files for Emacs 23. + (invoke "make" "clean"))) + (add-after 'install 'install-doc + (lambda* (#:key make-flags #:allow-other-keys) + ;; XXX FIXME avoid building/installing pdf files, + ;; due to unresolved errors building them. + (substitute* "Makefile" + ((" [^ ]*\\.pdf") "")) + (apply invoke "make" "install-doc" make-flags)))))) + (home-page "https://proofgeneral.github.io/") + (synopsis "Generic front-end for proof assistants based on Emacs") + (description + "Proof General is a major mode to turn Emacs into an interactive pr= oof assistant to write formal mathematical proofs using a variety of theorem provers.") - (license license:gpl2+))) + (license license:gpl2+)))) =20 (define-public coq-flocq (package base-commit: ac886034020b11b647f893116824f7d7b998ce82 --=20 2.32.0