From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:36540) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIhSJ-0001Ab-Is for guix-patches@gnu.org; Sun, 29 Mar 2020 19:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIhSI-000631-9g for guix-patches@gnu.org; Sun, 29 Mar 2020 19:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48523) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIhSI-00062a-5v for guix-patches@gnu.org; Sun, 29 Mar 2020 19:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIhSH-00085B-Ro for guix-patches@gnu.org; Sun, 29 Mar 2020 19:35:01 -0400 Subject: [bug#40284] [PATCH] gnu: emacs-arduino-mode: Change to a maintained fork. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:36491) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIhRY-00018e-Qs for guix-patches@gnu.org; Sun, 29 Mar 2020 19:34:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIhRX-00055F-Kb for guix-patches@gnu.org; Sun, 29 Mar 2020 19:34:16 -0400 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:43029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIhRX-00053X-Cs for guix-patches@gnu.org; Sun, 29 Mar 2020 19:34:15 -0400 Received: by mail-pf1-x443.google.com with SMTP id f206so7690699pfa.10 for ; Sun, 29 Mar 2020 16:34:15 -0700 (PDT) Received: from virtualplaza ([2600:6c50:677f:fd7e:3ae1:7063:7a8d:5d31]) by smtp.gmail.com with ESMTPSA id mq6sm9065153pjb.38.2020.03.29.16.34.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Mar 2020 16:34:12 -0700 (PDT) From: Evan Straw Date: Sun, 29 Mar 2020 16:34:10 -0700 Message-ID: <87k13220st.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40284@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-emacs-arduino-mode-Change-to-a-maintained-fork.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: emacs-arduino-mode: Change to a maintained fork. From=20603fe12010817b41a4d1e93fab6b8356cbf2f50f Mon Sep 17 00:00:00 2001 From: Evan Straw Date: Sun, 29 Mar 2020 16:27:34 -0700 Subject: [PATCH] gnu: emacs-arduino-mode: Change to a maintained fork. * gnu/packages/emacs-xyz.scm (emacs-arduino-mode): Change to a maintained fork. =2D-- gnu/packages/emacs-xyz.scm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 782d8650dd..d23905075f 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -17092,23 +17092,34 @@ other frame parameters.") (license license:gpl3+))) =20 (define-public emacs-arduino-mode =2D (let ((commit "3e2bad4569ad26e929e6db2cbcff0d6d36812698")) ;no release= yet + (let ((commit "23ae47c9f28f559e70b790b471f20310e163a39b")) ;no release y= et (package (name "emacs-arduino-mode") (version (git-version "0" "0" commit)) (source (origin (method git-fetch) (uri (git-reference =2D (url "https://github.com/bookest/arduino-mode.git") + (url "https://github.com/stardiviner/arduino-mode.gi= t") (commit commit))) (sha256 (base32 =2D "1yvaqjc9hadbnnay5fprnh890xsp53kidad1zpb4a5z4a5z61n3c"= )) + "08vnbz9gpah1l93fzfd87aawrhcnh2v1kyfxgsn88pdwg8awz8rx")) (file-name (git-file-name name version)))) (build-system emacs-build-system) + (inputs + `(("spinner" ,emacs-spinner) + ("flycheck" ,emacs-flycheck))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-obsolete + (lambda _ + (substitute* "ede-arduino.el" + (("defmethod") "cl-defmethod") + (("defgeneric") "cl-defgeneric"))))))) (synopsis "Emacs major mode for editing Arduino sketches") (description "Emacs major mode for editing Arduino sketches.") =2D (home-page "https://github.com/bookest/arduino-mode") + (home-page "https://github.com/stardiviner/arduino-mode") (license license:gpl3+)))) =20 (define-public emacs-annalist =2D-=20 2.20.1 --=-=-= Content-Type: text/plain Hello! The Emacs Arduino mode that is currently packaged in Guix is an old, unmaintained version, and there is a newer fork of the project by the same name that has much more functionality. The patch attached to this email replaces the package emacs-arduino-mode with this newer version, which basically just amounts to changing the Git repository, hash, and commit. There's also a substitution done that stops Emacs from complaining about obsolete macros. I have no idea if this is the correct way of going about this, or if I should instead make another package with a different name to refer to the new fork of arduino-mode. Please let me know if I should change or revise anything. Thanks, -- Evan --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6f/SZXb4DLdwy+VR9TDDtKKp8G0FAl6BMHIACgkQ9TDDtKKp 8G2jZQ/+MQK6BbeSGP1yr3yfuAg6saD5cPEWQpSF3sD2je47Rh6hX6CQlE9cVEyu S/YqArlYbQwaMH6+kgm1vgzxdRNlUaDfKLsFdNeY/Z1T/EU795saIUT+6s3P52lp uQg6X86CTiq638E5WxHHdJ+/JqlFc7931AIVlU8tR+jZHJBRMAchaP3TxfgwVBD8 gjYHmlZIsnIkm3eVnw0KDvXExrhio/mPau5vvXFxc7ENtMiam2VGIb4zJkC7SHuP xP+OmOxODKl8qtqyUlRnCr0szGfFOjJ7JjsNYYbUaNwflKkylfpBFajtKQpMMxK2 RS9V894lUSsRSM/Pa7DiJ5ny+WyWVZWgSV8ccI01ZI3U8aIZ0vgUrEzdK64fzUk2 A6wKtBH3Re/O3i9gh+HU6C4lmNMnaCetpE/ZvSEXTCBcG+HWCsnoOKbKKC8blED+ fu+QOm+Ljc38MHxCeLoCSW9kqCgjUPdYbsD6BZSEtsfe+azZszs57TxYo6gHAIkb 2MOmhouB4VHK6Jm+fBG4hzx22b6pPpI9sWGmsjp5HmXKDz+24LYHQnhTjG4X4ZTF iWc1NnvSdKifBgnl/xc87SfjZeBXO6+5RXq9ZHJveOvY6FNFXP8cfE7GoD7KUcAL +dGRngDFntiu+xq3zWBhDOKKMQdIrW2kGsD1rLG9OxhbfCfsWzQ= =LMBy -----END PGP SIGNATURE----- --==-=-=--