From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wBNqIWPJs16RSQAA0tVLHw (envelope-from ) for ; Thu, 07 May 2020 08:40:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KByjJ2/Js17KHgAAB5/wlQ (envelope-from ) for ; Thu, 07 May 2020 08:40:15 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 AAA0F940058 for ; Thu, 7 May 2020 08:40:11 +0000 (UTC) Received: from localhost ([::1]:44692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWc4g-0006wm-LY for larch@yhetil.org; Thu, 07 May 2020 04:40:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWc4Z-0006uY-BF for guix-patches@gnu.org; Thu, 07 May 2020 04:40:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWc4Z-0005km-2e for guix-patches@gnu.org; Thu, 07 May 2020 04:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWc4Y-0002sX-W4 for guix-patches@gnu.org; Thu, 07 May 2020 04:40:02 -0400 Subject: bug#36776: WIP: upgrade emacs-ess to 18.10.2 Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 07 May 2020 08:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 36776 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 36776-close@debbugs.gnu.org Mail-Followup-To: 36776@debbugs.gnu.org, anothersms@gmail.com, anothersms@gmail.com Received: via spool by 36776-done@debbugs.gnu.org id=D36776.158884079611039 (code D ref 36776); Thu, 07 May 2020 08:40:02 +0000 Received: (at 36776-close) by debbugs.gnu.org; 7 May 2020 08:39:56 +0000 Received: from localhost ([127.0.0.1]:42039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWc4S-0002rz-2V for submit@debbugs.gnu.org; Thu, 07 May 2020 04:39:56 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:35004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWc4Q-0002rk-Eu for 36776-close@debbugs.gnu.org; Thu, 07 May 2020 04:39:54 -0400 Received: by mail-wm1-f66.google.com with SMTP id r26so5806277wmh.0 for <36776-close@debbugs.gnu.org>; Thu, 07 May 2020 01:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=6YMDXLqcpnlZYTfgYbsDl0dOQtV9ro7jdjupDn3g07E=; b=gN0dh10w8ER2wdHnWC4XngcXuuW89VV0Ibl4hZXOz9NjTXu5ITKbT55VfIBoeLb/V7 l4u+d3AUb5K9A3CBaD+1vg+AKENZCdCBcYB1yWDRUvJYaOZPGbCnIi3hFru/z5QbjrG0 uImAsjKjqhJQjI03szYik9ClkLKaeC4AYXTlpvqUYXisaXfO4TFZXjUXN2n41wso13jU c1dcpzKH4x6cVZYC5UJMQWl2ddd1MWw2TiS8Yru2qn+AgptepvYDDZYcHTX0sziJqR8n +IhwkA0fEvgy4dDeL1V/cBhNi3bFHtwMu/EDrJ6bcXrsdXGdRlGgevW2RnlDsN4kJbcW cmeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=6YMDXLqcpnlZYTfgYbsDl0dOQtV9ro7jdjupDn3g07E=; b=OxPtaHOTgc3NVy2pRO78MBOGxRqTqVTtafrH9gP0lvK/UQoluhxE9oD9Z5vgN5yL6y A8TGOrefPtQ3fR8dHN3y4nDIk9Jag8J+bamZ8T3xO2v1EawBj7tMFjacBfjIJY+8J3BR dJf2IVsMBTZ1FUJyJtxE3JJMJIe7SXmekiPqFK/jw89sgRajFnmusEfQdReyu3gX6Qdt iZhJiOFSfJvQLbC2B9GOZzwg6ZmpFHO4Tp962rGrcqC31dDORcxZy8c8PsKvjP3b+Ufc 5AVyxXY4ltA/rHM/hN0v8jYAgfmhTAtpzmjy/T47qmRpFK6OmrE4hqcHPolbdSEYVByI PHdw== X-Gm-Message-State: AGi0PubVpnQK/3v4lsDrKtKveCL/yjzz02Hy7VBnFwLrR97ANdJE3LIu pljqN65FwDeFaQdxNAFvnF1jR3yc X-Google-Smtp-Source: APiQypKxzU+HJgjg3p+0TMVMnlSSHkyBDXfndB4bEfCcKaPn9Yl0B7/RCVwj+lxn16MLOeI4DvUCxQ== X-Received: by 2002:a1c:4989:: with SMTP id w131mr9563234wma.137.1588840787998; Thu, 07 May 2020 01:39:47 -0700 (PDT) Received: from guixSD ([95.237.164.204]) by smtp.gmail.com with ESMTPSA id w4sm6909360wro.28.2020.05.07.01.39.46 for <36776-close@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2020 01:39:47 -0700 (PDT) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti In-Reply-To: References: Date: Thu, 07 May 2020 10:39:45 +0200 Message-ID: <87tv0sp29a.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 1.0 (+) 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-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=gN0dh10w; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [0.09 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49763837135656]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.11), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; DKIM_TRACE(0.00)[gmail.com:-]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[anothersms@gmail.com,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[95.237.164.204:received]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[nixo.xyz:email]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[36776-close@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: G0XWZ/wOLDP7 Closing as another patch has been merged in 51ac5ce4b509fac151e646deaff41a5= 27270a74f. Nicol=C3=B2 Balzarotti writes: > Hello guix! > I'm sorry for this work in progress. I got emacs-ess 18 working, but I > really don't like how I did it (I don't think the way I'm helping emacs > finding julia-mode during the build is right), so I'm asking help here! > > On irc, @rekado expressed interest in helping. > > Thanks everybody, > Nicol=C3=B2 > From 39420bfed259d22bf0368fa0da0a6093a42e0f78 Mon Sep 17 00:00:00 2001 > From: nixo > Date: Wed, 24 Jul 2019 00:04:37 +0200 > Subject: [PATCH] wip: gnu packages: Upgrade emacs-ess to 18.10.2 > > --- > gnu/packages/statistics.scm | 62 ++++++++++++++++++------------------- > 1 file changed, 30 insertions(+), 32 deletions(-) > > diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm > index eb5e5b4b76..35af00c58e 100644 > --- a/gnu/packages/statistics.scm > +++ b/gnu/packages/statistics.scm > @@ -5877,35 +5877,15 @@ Java package that provides routines for various s= tatistical distributions.") > (define-public emacs-ess > (package > (name "emacs-ess") > - (version "17.11") > + (version "18.10.2") > (source (origin > (method url-fetch) > (uri (string-append "https://github.com/emacs-ess/ESS/arch= ive/v" > version ".tar.gz")) > (sha256 > (base32 > - "0cbilbsiwvcyf6d5y24mymp57m3ana5dkzab3knfs83w4a3a4c5c")) > - (file-name (string-append name "-" version ".tar.gz")) > - (modules '((guix build utils))) > - (snippet > - '(begin > - ;; Stop ESS from trying to bundle an external julia-mo= de.el. > - (substitute* "lisp/Makefile" > - (("^\tjulia-mode.elc\\\\\n") "") > - (("^dist: all julia-mode.el") > - "dist: all")) > - ;; No need to build docs in so many formats. Also, sk= ipping > - ;; pdf lets us not pull in texlive. > - (substitute* "doc/Makefile" > - (("all : info text html pdf") > - "all : info") > - (("install: install-info install-other-docs") > - "install: install-info")) > - ;; Test fails upstream > - (substitute* "test/ess-r-tests.el" > - (("ert-deftest ess-r-namespaced-eval-no-srcref-in-er= rors ()") > - "ert-deftest ess-r-namespaced-eval-no-srcref-in-err= ors () :expected-result :failed")) > - #t)))) > + "0akz3wf6b4dvwm55875ap45rdb52m4fwxfs6nlfpccmm1q55nvbb")) > + (modules '((guix build utils))))) > (build-system gnu-build-system) > (arguments > (let ((base-directory "/share/emacs/site-lisp/guix.d/ess")) > @@ -5917,20 +5897,38 @@ Java package that provides routines for various s= tatistical distributions.") > #:phases > (modify-phases %standard-phases > (delete 'configure) > + (delete 'check) ;; emacs: standard input is not a tty > (add-before 'build 'more-shebang-patching > - (lambda* (#:key inputs #:allow-other-keys) > - (substitute* "Makeconf" > - (("SHELL =3D /bin/sh") > - (string-append "SHELL =3D " (which "sh")))) > - #t)) > - (replace 'check > - (lambda _ > - (invoke "make" "test"))))))) > + (lambda* (#:key inputs propagated-inputs #:allow-other-keys) > + (substitute* "Makeconf" > + (("SHELL =3D /bin/sh") > + (string-append "SHELL =3D " (which "sh")))) > + ;; No need to build docs in so many formats. Also, skipping > + ;; pdf lets us not pull in texlive. > + (substitute* "doc/Makefile" > + (("install: install-info install-other-docs") > + "install: install-info")) > + ;; This seems too much like a hack > + (substitute* "Makeconf" > + (("-no-site-file") > + (string-append "-no-site-file -L " > + (string-append > + (assoc-ref inputs "emacs-julia-mode") > + "/share/emacs/site-lisp/guix.d/*/" > + )))) > + (substitute* "lisp/Makefile" > + (("^\tjulia-mode.elc\\\\\n") "") > + (("^all: julia-mode.el") > + "all: ") > + (("^ess-julia.elc: julia-mode.elc") > + "")) > + #t) > + ))))) > (inputs > `(("emacs" ,emacs-minimal) > ("r-minimal" ,r-minimal))) > (native-inputs > - `(("perl" ,perl) > + `(("which" ,which) > ("texinfo" ,texinfo))) > (propagated-inputs > `(("emacs-julia-mode" ,emacs-julia-mode))) > --=20 > 2.22.0