[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: not tarred source file

From: Ludovic Courtès
Subject: Re: not tarred source file
Date: Mon, 16 May 2016 22:52:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <address@hidden> skribis:

> Ludovic Courtès (2016-05-15 23:57 +0300) wrote:
>> Catonano <address@hidden> skribis:
>>> after having successfully packaged (locally) the Zenburn theme and
>>> Smartparens, I am preparing the package for clojure-mode
>>> But for the first time it happens that the downloaded source code is not
>>> tarred so tar fails and so does the unpack phase.
>>> How do I instruct the origin object not to attempt untarring my source ?
>> It’s OK if the ‘origin’ denotes a file that is not a tarball.
>> However, the build procedure will have to pay attention for that.  For
>> instance, the default sequence of phases of ‘gnu-build-system’ includes
>> an ‘unpack’ phase, which is inappropriate here:
> Specifically for this case Federico added 'uncompressed-file-fetch'
> method.

Indeed, I had forgotten about that one.

> Sorry, I forgot to answer at the time, so I answer here.  You said
> it's a rare use case¹, but it is actually not.  Many elpa packages are
> just single elisp files, so such method can be really useful.  I'm
> going to switch our "trivial" emacs packages (paredit, let-alist and
> magit-svn) to "emacs-build-system" using this method, if no one will
> do it before me.

Sounds reasonable!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]