From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 3/5] build: Add 'emacs-build-system' Date: Sun, 21 Jun 2015 23:40:55 +0300 Message-ID: <87twu06bhk.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6m35-0004h5-T4 for guix-devel@gnu.org; Sun, 21 Jun 2015 16:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6m30-0001WT-Tr for guix-devel@gnu.org; Sun, 21 Jun 2015 16:41:03 -0400 Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]:36119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6m30-0001W9-Lz for guix-devel@gnu.org; Sun, 21 Jun 2015 16:40:58 -0400 Received: by lacny3 with SMTP id ny3so99064275lac.3 for ; Sun, 21 Jun 2015 13:40:58 -0700 (PDT) In-Reply-To: (Federico Beffa's message of "Sun, 21 Jun 2015 10:31:22 +0200") 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: Federico Beffa Cc: Guix-devel Federico Beffa (2015-06-21 11:31 +0300) wrote: [...] > diff --git a/doc/guix.texi b/doc/guix.texi > index 3ca105a..00fe5bb 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -2404,6 +2404,17 @@ Which Haskell compiler is used can be specified wi= th the @code{#:haskell} > parameter which defaults to @code{ghc}. > @end defvr >=20=20 > +@defvr {Scheme Variable} emacs-build-system > +This variable is exported by @code{(guix build-system haskell)}. It Typo (haskell =E2=86=92 emacs): This variable is exported by @code{(guix build-system emacs)}. It > +implements an installation procedure similar to the one of Emacs own > +packaging system. It first creates the @code{PACKAGE-autoloads.el} > +file, then it byte compiles all Emacs Lisp files. Differently from the > +Emacs packaging system, the @code{info} documentation files are moved to > +the standard documentation direcotry and the @code{dir} file is deleted. Typo (direcotry =E2=86=92 directory): the standard documentation directory and the @code{dir} file is deleted. > +Each package is installed in its own directory under > +@code{share/emacs/site-lisp/guix.d}. > +@end defvr > + > Lastly, for packages that do not need anything as sophisticated, a > ``trivial'' build system is provided. It is trivial in the sense that > it provides basically no support: it does not pull any implicit inputs, > diff --git a/guix/build-system/emacs.scm b/guix/build-system/emacs.scm > new file mode 100644 > index 0000000..da2b594 > --- /dev/null > +++ b/guix/build-system/emacs.scm [...] > + #:tests? ,tests? > + #:phases ,phases > + #:outputs %outputs > + #:search-paths ',(map search-path-specification->sexp > + search-paths) > + #:inputs %build-inputs))) > +=20=20 spaces on this line ^ --=20 Alex