[PATCH] gnu: Add rhythmbox.

2015-06-17 Thread David Hashe
* gnu/packages/gnome.scm (rhythmbox): New variable. --- gnu/packages/gnome.scm | 48 1 file changed, 48 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 4af1d13..bfe4b30 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/

Re: [PATCH] Add diamond

2015-06-17 Thread Mark H Weaver
Ben Woodcroft writes: > On 17/06/15 14:54, Mark H Weaver wrote: >> I wouldn't normally do this, but I went ahead and tested it with these >> changes and here's what it comes out to: > Thanks very much for taking the time to do this. I've attached the > updated patch. Pushed, thanks! > Wasn't su

Re: emacs packages

2015-06-17 Thread Alex Kost
Mark H Weaver (2015-06-17 21:42 +0300) wrote: > Federico Beffa writes: > >> What do you think about the attached implementation? > > [...] > >> +(define (emacs-byte-compile files) >> + "Byte compile FILES, a list of file names." >> + (if (pair? files) >> + (for-each (lambda (f) >> +

Re: decoding error

2015-06-17 Thread Ludovic Courtès
Federico Beffa skribis: > On Tue, Jun 16, 2015 at 6:12 PM, Federico Beffa wrote: >> On Tue, Jun 16, 2015 at 1:20 PM, Ludovic Courtès wrote: >>> (paramaterize ((%default-port-encoding "ISO-8859-1")) >>> (substitute* ...)) > > By the way, '%default-port-encoding' is a fluid and therefore, i

Re: [PATCH] gnu: cross-base: Build the correct cross-mig.

2015-06-17 Thread Ludovic Courtès
Manolis Ragkousis skribis: > From eece3c8f30d0eb5ad939106e08e621120b83c3b6 Mon Sep 17 00:00:00 2001 > From: Manolis Ragkousis > Date: Tue, 16 Jun 2015 22:47:16 +0300 > Subject: [PATCH] gnu: cross-base: Build the correct cross-mig. > > * gnu/packages/cross-base.scm (xmig): Pass '--target=' instea

Re: [PATCH] offload: Memoize the 'machine-load' procedure

2015-06-17 Thread Ludovic Courtès
Mark H Weaver skribis: > This patch memoizes the 'machine-load' procedure so that the load of > each build slave is queried only once per call to 'guix offload'. Apart > from avoiding wasteful repeated ssh connections, this is needed to > ensure that all calls to the sorting predicate are consis

Re: [PATCH] offload: Fix sorting bug in 'choose-build-machine'

2015-06-17 Thread Ludovic Courtès
Mark H Weaver skribis: > From c2deca27e9310b53457849a5cdb3010989e027ef Mon Sep 17 00:00:00 2001 > From: Mark H Weaver > Date: Wed, 17 Jun 2015 13:55:21 -0400 > Subject: [PATCH] offload: Fix sorting bug in 'choose-build-machine'. > > * guix/scripts/offload.scm (choose-build-machine)[undecorate]:

Re: guix edit

2015-06-17 Thread Ludovic Courtès
Eric Bavier skribis: > For immediate use, would we expect the user to save the file to a > directory in $GUIX_PACKAGE_PATH? Perhaps we could initially open the > file in ~/.config/guix somewhere. We could do that, but should we copy the whole file that contains the recipe? If so should we chan

Re: guix edit

2015-06-17 Thread Ludovic Courtès
"Claes Wallin (韋嘉誠)" skribis: > On Jun 16, 2015 10:27 PM, "Ludovic Courtès" wrote: >> >> While looking at another package manager for ideas to steal, I found >> this one to be a good candidate: >> >> guix edit gcc-4.8 > > Looks familiar. OSX Homebrew? Anyway, it's an awesome idea and deserves

Re: guix edit

2015-06-17 Thread Ludovic Courtès
Amirouche Boubekki skribis: > A usecase, I have in mind from experience, is being in vm/container > and having to edit the recipe for that specific vm *but* that recipe > is in the main normal repository. Like for instance, gcc for a > specific target. `guix edit gcc:4.5' should open or clone the

Re: emacs packages

2015-06-17 Thread Mark H Weaver
Federico Beffa writes: > What do you think about the attached implementation? [...] > +(define (emacs-byte-compile files) > + "Byte compile FILES, a list of file names." > + (if (pair? files) > + (for-each (lambda (f) > + (let ((expr `(let () > +

[PATCH] offload: Memoize the 'machine-load' procedure

2015-06-17 Thread Mark H Weaver
This patch memoizes the 'machine-load' procedure so that the load of each build slave is queried only once per call to 'guix offload'. Apart from avoiding wasteful repeated ssh connections, this is needed to ensure that all calls to the sorting predicate are consistent with each other, which is pa

Re: emacs packages

2015-06-17 Thread Alex Kost
Federico Beffa (2015-06-17 10:42 +0300) wrote: > On Tue, Jun 16, 2015 at 6:00 PM, Ludovic Courtès wrote: [...] >>> To make those packages automatically available in Emacs without the >>> need for any code in the user '.emacs' file, I would suggest to >>> include in our Emacs package site initiali

[PATCH] offload: Fix sorting bug in 'choose-build-machine'

2015-06-17 Thread Mark H Weaver
I noticed that hydra was often offloading builds to the most heavily loaded of the two MIPS machines. This patch should fix the problem. Mark >From c2deca27e9310b53457849a5cdb3010989e027ef Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 17 Jun 2015 13:55:21 -0400 Subject: [PATCH] o

Re: guix edit

2015-06-17 Thread 韋嘉誠
On Jun 16, 2015 10:27 PM, "Ludovic Courtès" wrote: > > While looking at another package manager for ideas to steal, I found > this one to be a good candidate: > > guix edit gcc-4.8 Looks familiar. OSX Homebrew? Anyway, it's an awesome idea and deserves being stolen. > For “regular users,” it’s

Re: [PATCH] Add (minimal) BioPerl.

2015-06-17 Thread Ricardo Wurmus
Ludovic Courtès writes: +(native-search-paths (list (search-path-specification +(variable "PERL5LIB") +(files '("lib/perl5/site_perl") >>> >>> Why is it needed? At first sight it looks wrong because PERL5LIB

Re: [PATCH] Add idr.

2015-06-17 Thread Ricardo Wurmus
Ludovic Courtès writes: >> + 'install 'wrap-program >> + (lambda* (#:key outputs #:allow-other-keys) >> +(let ((out (assoc-ref %outputs "out")) >> + (path (getenv "PYTHONPATH"))) >> + (wrap-program (string-append out "/bin/idr") >> +

[PATCH] Fixes for MISO.

2015-06-17 Thread Ricardo Wurmus
The current recipe for MISO fails to install the executables. The first patch fixes this by patching "setup.py" to use "setuptools" rather than "distutils.core". It also adds new native inputs, because these executables require testing. The second patch changes the protocol of the tarball URL fr

Re: [PATCH] Add diamond

2015-06-17 Thread Ben Woodcroft
On 17/06/15 14:54, Mark H Weaver wrote: I wouldn't normally do this, but I went ahead and tested it with these changes and here's what it comes out to: Thanks very much for taking the time to do this. I've attached the updated patch. Wasn't sure if there a standard way to thank you in the commi

Re: decoding error

2015-06-17 Thread Federico Beffa
On Tue, Jun 16, 2015 at 6:12 PM, Federico Beffa wrote: > On Tue, Jun 16, 2015 at 1:20 PM, Ludovic Courtès wrote: >> (paramaterize ((%default-port-encoding "ISO-8859-1")) >> (substitute* ...)) By the way, '%default-port-encoding' is a fluid and therefore, if I use 'parameterize' instead of

Re: emacs packages

2015-06-17 Thread Federico Beffa
On Tue, Jun 16, 2015 at 6:00 PM, Ludovic Courtès wrote: >> - An ELPA package importer >> - An 'emacs-build-system' > > Sounds very useful to me! Thanks for the interest! >> To make those packages automatically available in Emacs without the >> need for any code in the user '.emacs' file, I would