From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: [PATCH 5/5] gnu: Add emacs-mmm-mode Date: Sat, 18 Jul 2015 11:16:59 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGOEw-0004Yh-Sb for guix-devel@gnu.org; Sat, 18 Jul 2015 05:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZGOEu-0003xC-Vb for guix-devel@gnu.org; Sat, 18 Jul 2015 05:17:02 -0400 Received: from mail-ig0-x231.google.com ([2607:f8b0:4001:c05::231]:37895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGOEu-0003wR-QE for guix-devel@gnu.org; Sat, 18 Jul 2015 05:17:00 -0400 Received: by iggf3 with SMTP id f3so52312900igg.1 for ; Sat, 18 Jul 2015 02:16:59 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: alezost@gmail.com, "Mark H. Weaver" Cc: Guix-devel Alex Kost writes: > ... If people agree on this, > what about the attached patch? Does it install the documentation info file? If so, just push it. Thanks, Fede > > > From 35e622f13b5971ffab154da2ed316c2076c0c652 Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Thu, 9 Jul 2015 11:48:12 +0300 > Subject: [PATCH] gnu: emacs-mmm-mode: Use gnu-build-system. > > * gnu/packages/emacs.scm (emacs-mmm-mode): Replace melpa-stable URL with > the github URL and use 'gnu-build-system' instead of > 'emacs-build-system'. Fix typo (add missing space before the > description). > --- > gnu/packages/emacs.scm | 26 ++++++++++++++++++-------- > 1 file changed, 18 insertions(+), 8 deletions(-) > > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > index f00e15c..32b27fc 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -812,17 +812,27 @@ or XEmacs.") > (origin > (method url-fetch) > (uri (string-append > - "http://stable.melpa.org/packages/mmm-mode-" > - version > - ".tar")) > + "https://github.com/purcell/mmm-mode/archive/" > + version ".tar.gz")) > + (file-name (string-append name "-" version ".tar.gz")) > (sha256 > (base32 > - "1llkzb6d978ym3zv3yfzwj0w5zzmmj3ksrm5swrx1papxcnqnkb9")))) > - (build-system emacs-build-system) > + "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv")))) > + (build-system gnu-build-system) > + (arguments > + '(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'autogen > + (lambda _ > + (zero? (system* "sh" "autogen.sh"))))))) > + (native-inputs > + `(("autoconf" ,autoconf) > + ("automake" ,automake) > + ("emacs" ,emacs-no-x) > + ("texinfo" ,texinfo))) > (home-page "https://github.com/purcell/mmm-mode") > - (synopsis > - "Allow multiple major modes in an Emacs buffer") > + (synopsis "Allow multiple major modes in an Emacs buffer") > (description > - "MMM Mode is a minor mode that allows multiple major modes to coexist in a > + "MMM Mode is a minor mode that allows multiple major modes to coexist in a > single buffer.") > (license license:gpl3+)))