From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add ffmpeg. Date: Mon, 02 Dec 2013 13:38:22 +0100 Message-ID: <87pppftold.fsf@gnu.org> References: <20131031221901.GA21979@debian> <87mwln66dr.fsf@gnu.org> <20131102074708.GA18924@debian> <20131127225054.GA11343@debian> <20131130204426.GA4174@debian> <87mwkltrex.fsf@gnu.org> <20131201145129.GA6641@debian> 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]:37806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnSli-0001Fg-GR for guix-devel@gnu.org; Mon, 02 Dec 2013 07:38:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnSlc-0007b8-AT for guix-devel@gnu.org; Mon, 02 Dec 2013 07:38:30 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:48522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnSlc-0007Z5-42 for guix-devel@gnu.org; Mon, 02 Dec 2013 07:38:24 -0500 In-Reply-To: <20131201145129.GA6641@debian> (Andreas Enge's message of "Sun, 1 Dec 2013 15:51:29 +0100") 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: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Sun, Dec 01, 2013 at 12:12:54AM +0100, Ludovic Court=C3=A8s wrote: >> The samples wouldn=E2=80=99t really have to be =E2=80=9Cpackaged=E2=80= =9D: they=E2=80=99d just be an >> input. For someone using substitutes, the samples are not going to be a >> problem (because they=E2=80=99ll never be downloaded.) However, it is i= ndeed a >> problem when building things locally. > > Well, so far the only way I have been told to get them is via rsync. > So one might need to create a .tar(.gz?) from the download. Not necessarily. It could fetch the directory as is. There could be an =E2=80=98rsync-fetch=E2=80=99 method for , just like we have =E2=80= =98url-fetch=E2=80=99. (A little bit of work, but that seems doable, if we want to.) > And in any case, an input means a package variable, no? I would rather make it an (assuming there=E2=80=99s a way to get a= t an immutable version of those samples), and it doesn=E2=80=99t need to be boun= d a variable: (define ffmpeg (package ... (inputs `(("samples" ,(origin (method rsync-fetch) ...)))))) Back to the problem at hand: the short-term answer is to add #:tests? #f with a link to this discussion. The longer term answer may be to try to run those FATE tests. WDYT? Ludo=E2=80=99.