From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: not tarred source file Date: Mon, 16 May 2016 23:04:24 +0300 Message-ID: <87wpmtpy5z.fsf@gmail.com> References: <878tzb11ll.fsf@gnu.org> 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]:58885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2Okh-0005Oe-Fk for help-guix@gnu.org; Mon, 16 May 2016 16:04:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2Okd-0004Rl-8T for help-guix@gnu.org; Mon, 16 May 2016 16:04:31 -0400 In-Reply-To: <878tzb11ll.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 15 May 2016 22:57:10 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix@gnu.org Ludovic Court=C3=A8s (2016-05-15 23:57 +0300) wrote: > Catonano 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=E2=80=99s OK if the =E2=80=98origin=E2=80=99 denotes a file that is no= t a tarball. > > However, the build procedure will have to pay attention for that. For > instance, the default sequence of phases of =E2=80=98gnu-build-system=E2= =80=99 includes > an =E2=80=98unpack=E2=80=99 phase, which is inappropriate here: Specifically for this case Federico added 'uncompressed-file-fetch' method. Sorry, I forgot to answer at the time, so I answer here. You said it's a rare use case=C2=B9, 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. =C2=B9 http://lists.gnu.org/archive/html/guix-devel/2016-01/msg00378.html > https://www.gnu.org/software/guix/manual/html_node/Build-Systems.html > > There are a couple of examples, e.g., paredit in emacs.scm. Most of > them use =E2=80=98trivial-build-system=E2=80=99, which requires explicitl= y writing the > build/install operations. --=20 Alex