Re: [PATCH 1/3] emacs: Display guix command errors in the minibuffer.

2015-09-14 Thread Alex Kost
Alex Kost (2015-09-13 22:39 +0300) wrote: [...] > (define (guix-command-output . args) > - "Return string with 'guix ARGS ...' output." > - (with-output-to-string > -(lambda () (apply guix-command args > + "Return 2 strings with 'guix ARGS ...' output and error output." > + (output+er

Re: [PATCH] doc: Use the recommended Scheme format.

2015-09-14 Thread Ludovic Courtès
Cyril Roelandt skribis: > On 09/13/2015 10:57 PM, Mathieu Lirzin wrote: >> Apply the recommended formatting rules from '.dir-locals.el' to the >> examples in the manual in order to fulfill it's purpose of being a >> reference. > > Isn't there a tool that can reformat the Guile code according to t

Re: IBus and different GTK versions

2015-09-14 Thread Ludovic Courtès
宋文武 skribis: > Ricardo Wurmus writes: > >> [...] >> >> It seems that GTK3 only looks for >> ‘$libdir/gtk-3.0/3.0.0/immodules.cache’ and GTK2 only looks for >> ‘$libdir/gtk-2.0/2.10.0/immodules.cache’ by default, where ‘$libdir’ is >> ‘$out/lib’ of the GTK package. (According to >> https://devel

Re: [PATCH] build: ruby: Add support for tarball and directory sources.

2015-09-14 Thread Ludovic Courtès
David Thompson skribis: > From 612a4a692375f241934de03d24064dbef1c7294c Mon Sep 17 00:00:00 2001 > From: David Thompson > Date: Mon, 7 Sep 2015 22:58:05 -0400 > Subject: [PATCH] build: ruby: Add support for tarball and directory sources. > > Previously, the Ruby build system only knew how to wor

Re: gnutls fail for cert-tests.pkcs7 when build with libtans1-4.6.

2015-09-14 Thread Ludovic Courtès
宋文武 skribis: > 宋文武 writes: > >> when update libtasn1 from 4.5 to 4.6, gnutls fail to pass the >> cert-tests.pkcs7 test, get: >> import error: ASN1 parser: Error in DER parsing. >> >> with libtasn1-4.5, the test does pass. >> is this an known issue? > And the gnutls is 3.4.4.1. Same with GnuTL

Re: IBus and different GTK versions

2015-09-14 Thread Ricardo Wurmus
宋文武 writes: > Ricardo Wurmus writes: > >> [...] >> >> It seems that GTK3 only looks for >> ‘$libdir/gtk-3.0/3.0.0/immodules.cache’ and GTK2 only looks for >> ‘$libdir/gtk-2.0/2.10.0/immodules.cache’ by default, where ‘$libdir’ is >> ‘$out/lib’ of the GTK package. (According to >> https://devel

Re: IBus and different GTK versions

2015-09-14 Thread 宋文武
2015-09-14 16:28 GMT+08:00, Ricardo Wurmus : > > 宋文武 writes: > >> Ricardo Wurmus writes: >> >>> [...] >>> >>> It seems that GTK3 only looks for >>> ‘$libdir/gtk-3.0/3.0.0/immodules.cache’ and GTK2 only looks for >>> ‘$libdir/gtk-2.0/2.10.0/immodules.cache’ by default, where ‘$libdir’ is >>> ‘$out

Re: [PATCH 02/19] gnu: Add r-lazyeval.

2015-09-14 Thread Ricardo Wurmus
Hi Vicente, > * gnu/packages/statistics.scm (r-lazyeval): New variable. [...] > +(home-page "https://github.com/hadley/lazyeval";) > +(synopsis "Lazy (Non-Standard) Evaluation") > +(description > + "A disciplined approach to non-standard evaluation.") For the synopsis, please us

Re: [PATCH 03/19] gnu: Add r-dbi.

2015-09-14 Thread Ricardo Wurmus
Vicente Vera writes: > * gnu/packages/statistics.scm (r-dbi): New variable. [...] > +(synopsis "R Database Interface") Please use lower case here. > +(description > + "A database interface (DBI) definition for communication between R > +and relational database management systems.

Re: [PATCH 04/19] gnu: Add r-bh.

2015-09-14 Thread Ricardo Wurmus
> * gnu/packages/statistics.scm (r-bh): New variable. [...] > +(synopsis "Boost C++ Header Files") > +(description > + "Boost provides free peer-reviewed portable C++ source libraries. > +A large part of Boost is provided as C++ template code which is > +resolved entirely at compile-

Re: [PATCH 05/19] gnu: Add r-evaluate.

2015-09-14 Thread Ricardo Wurmus
> * gnu/packages/statistics.scm (r-evaluate): New variable. [...] > +(synopsis "Parsing and Evaluation Tools that Provide More Details > than the Default") This synopsis is a bit long (and again: please use lower case). How about “Parsing and evaluation tools for R”? > +(descriptio

Re: [PATCH 09/19] gnu: Add r-markdown.

2015-09-14 Thread Ricardo Wurmus
> From 7e291c7f87498368be556941f6eb7315f94a7c74 Mon Sep 17 00:00:00 2001 > From: Vicente Vera Parra > Date: Sun, 13 Sep 2015 13:17:39 -0300 > Subject: [PATCH 09/19] gnu: Add r-markdown. > * gnu/packages/statistics.scm (r-markdown): New variable. [...] > +;; Skip check phase because the tes

Re: [PATCH 11/19] gnu: Add r-knitr.

2015-09-14 Thread Ricardo Wurmus
Hi Vicente, > From 36f94f07cba5edea4897ac36b92a73bfc6a3258b Mon Sep 17 00:00:00 2001 > From: Vicente Vera Parra > Date: Sun, 13 Sep 2015 13:20:29 -0300 > Subject: [PATCH 11/19] gnu: Add r-knitr. > * gnu/packages/statistics.scm (r-knitr): New variable. [...] > +(synopsis "General-Purpose Pa

Re: [PATCH 0/3] emacs: Add 'guix-build-log-mode' and friends.

2015-09-14 Thread Ludovic Courtès
Alex Kost skribis: > Wow, thanks, I enjoy it! I didn't notice ‘--log-file’ before (shame on > me). Now it is really useful! So this pushed me to add major and minor > modes for highlighting build logs and to add an alternative way to > receive/view them in Emacs (through "M-x guix RET b" popup

Re: [PATCH 1/3] emacs: Display guix command errors in the minibuffer.

2015-09-14 Thread Ludovic Courtès
Alex Kost skribis: > * emacs/guix-main.scm (output+error): New procedure. > (guix-command-output): Use it. > * emacs/guix-base.el (guix-command-output): Display error output in the > minibuffer. LGTM.

Re: [PATCH 1/3] emacs: Display guix command errors in the minibuffer.

2015-09-14 Thread Ludovic Courtès
Alex Kost skribis: > Alex Kost (2015-09-13 22:39 +0300) wrote: > > [...] >> (define (guix-command-output . args) >> - "Return string with 'guix ARGS ...' output." >> - (with-output-to-string >> -(lambda () (apply guix-command args >> + "Return 2 strings with 'guix ARGS ...' output and

Re: [PATCH 2/3] emacs: Add modes for viewing build logs.

2015-09-14 Thread Ludovic Courtès
Alex Kost skribis: > * emacs/guix-build-log.el: New file. > * emacs.am (ELFILES): Add it. > * doc/emacs.texi (Emacs Build Log): Document it. New node. > (Emacs Interface): Add it. > * doc/guix.texi (Top): Likewise. This is awesome. M-n and M-p are super useful. OK to push. Thanks! Ludo’.

Re: [PATCH 3/3] emacs: Add "View build log" action to build popup.

2015-09-14 Thread Ludovic Courtès
Alex Kost skribis: > * emacs/guix-command.el (guix-run-view-build-log): New function. > (guix-command-additional-execute-arguments, > guix-command-special-executors): Add entries for "View build log" > action. > * emacs/guix-utils.el (guix-find-file-or-url): New function. OK, thanks! Ludo

Re: [PATCH 2/3] emacs: Add modes for viewing build logs.

2015-09-14 Thread Ludovic Courtès
As future work ;-), it would be neat if tab and S-tab would do folding/unfolding of build phases as in Magit and Org. Ludo’.

Re: [PATCH] build: ruby: Add support for tarball and directory sources.

2015-09-14 Thread Thompson, David
On Mon, Sep 14, 2015 at 4:08 AM, Ludovic Courtès wrote: > David Thompson skribis: > >> From 612a4a692375f241934de03d24064dbef1c7294c Mon Sep 17 00:00:00 2001 >> From: David Thompson >> Date: Mon, 7 Sep 2015 22:58:05 -0400 >> Subject: [PATCH] build: ruby: Add support for tarball and directory sou

[PATCH] gnu: Add ruby-bio-locus.

2015-09-14 Thread Pjotr Prins
* gnu/packages/ruby.scm (ruby-bio-locus): New variable. --- gnu/packages/ruby.scm | 20 1 file changed, 20 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ee0acc8..0a0fc1a 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1124,3

Re: [PATCH] Add (guix scripts).

2015-09-14 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2015-09-08 23:10 +0300) wrote: > >> Alex Kost skribis: >> >>> We have some code in (guix scripts …) that is rather common (I mean not >>> specific to the current module), but there is no better place for it, >>> usually because it uses (guix ui). >>> >>> So

Re: [PATCH] gnu: Add ruby-bio-locus.

2015-09-14 Thread Thompson, David
On Mon, Sep 14, 2015 at 9:24 AM, Pjotr Prins wrote: > * gnu/packages/ruby.scm (ruby-bio-locus): New variable. Awesome! Just a couple of minor comments below. > --- > gnu/packages/ruby.scm | 20 > 1 file changed, 20 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu

Re: [PATCH] gnu: Add ruby-bio-locus.

2015-09-14 Thread Pjotr Prins
I am at the biohackathon in Japan - planning to submit more of these. Many people here are interested in our work :) http://2015.biohackathon.org/hackathon OK, yes, it probably belongs in bioinformatics.scm. Note the gem contains tests that pass ;). I love the abstraction that guix offers for g

Re: [PATCH] gnu: Add ruby-bio-locus.

2015-09-14 Thread Thompson, David
On Mon, Sep 14, 2015 at 10:18 AM, Pjotr Prins wrote: > I am at the biohackathon in Japan - planning to submit more of these. > Many people here are interested in our work :) > > http://2015.biohackathon.org/hackathon Awesome. Thanks for giving Guix such good promotion! > OK, yes, it probably

[PATCH] gnu: Add ruby-bio-locus.

2015-09-14 Thread Pjotr Prins
* gnu/packages/ruby.scm (ruby-bio-locus): New variable. --- gnu/packages/bioinformatics.scm | 24 1 file changed, 24 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 03eb2df..c4ba0e0 100644 --- a/gnu/packages/bioinformati

Re: ‘core-updates’ freeze approaching!

2015-09-14 Thread Ludovic Courtès
Since we’ve sidestepped the GnuTLS/libtasn1 issue 宋文武 reported by reverting the libtasn1 upgrade, Hydra is now building all of ‘core-updates’: http://hydra.gnu.org/jobset/gnu/core-updates Please keep an eye on it so we can fix breakage as quickly as possible. Ludo’.

New package: ifstatus

2015-09-14 Thread Stefan Reichör
Hi there, I am new to this list. I am already monitoring the progress of guix for some months. I really like the idea behind it (I am a longterm emacs user). At the moment I have installed guix on one of my Ubuntu machines. I jump in with the description of the tool ifstatus. I am not sure where

Re: [PATCH] Add (guix scripts).

2015-09-14 Thread Alex Kost
Ludovic Courtès (2015-09-14 16:34 +0300) wrote: > Alex Kost skribis: [...] >> Also our 'guix' executable will be changed, I'm not sure what >> consequences it will lead to. > > I knew I’d overlook something: That’s a showstopper. Basically, ‘guix > pull’ assumes that ‘guix’ is immutable. Maybe

Re: [PATCH] gnu: Add ruby-bio-locus.

2015-09-14 Thread Thompson, David
On Mon, Sep 14, 2015 at 10:32 AM, Pjotr Prins wrote: > > * gnu/packages/ruby.scm (ruby-bio-locus): New variable. Cleaned this up and pushed. Thanks! - Dave

Re: New package: ifstatus

2015-09-14 Thread Ricardo Wurmus
Hello Stefan, thank you for the contribution! I think this would best fit to the module in ‘networking.scm’. Usually, we use git to track changes and create patches from committed changes. You could add your package recipe to ‘networking.scm’ and create a commit with the message: gnu: Add i

Re: [PATCH 02/19] gnu: Add r-lazyeval.

2015-09-14 Thread Vicente Vera
Hello Ricardo, thank you for your replies. Actually, nearly every synopsis and description in these patches are taken verbatim from CRAN. I'm not familiar enough with this package to amend the description provided by the author, so I replaced it with the one offered in the package's GitHub reposi

Re: [PATCH 03/19] gnu: Add r-dbi.

2015-09-14 Thread Vicente Vera
New patch attached. 2015-09-14 7:46 GMT-03:00 Ricardo Wurmus : > > Vicente Vera writes: > >> * gnu/packages/statistics.scm (r-dbi): New variable. > > [...] > >> +(synopsis "R Database Interface") > > Please use lower case here. > >> +(description >> + "A database interface (DBI) defin

Re: [PATCH 04/19] gnu: Add r-bh.

2015-09-14 Thread Vicente Vera
Hello, I don't know if the boost package in the distribution could be used to comply with the requirements. IMO it is safer to incorporate r-bh as it is needed by dplyr. New patch with corrections attached. 2015-09-14 7:50 GMT-03:00 Ricardo Wurmus : > >> * gnu/packages/statistics.scm (r-bh): New

Re: [PATCH 05/19] gnu: Add r-evaluate.

2015-09-14 Thread Vicente Vera
Hi, Sure, once the upgraded package is available at CRAN the corresponding changes will be added. Thank you for the heads up. New patch attached. 2015-09-14 7:57 GMT-03:00 Ricardo Wurmus : > >> * gnu/packages/statistics.scm (r-evaluate): New variable. > > [...] > >> +(synopsis "Parsing and E

Re: [PATCH 09/19] gnu: Add r-markdown.

2015-09-14 Thread Vicente Vera
Hello Ricardo, Both the code and the comment related to the check phase were changed. Indeed, the comment was pretty much unreadable. Hope the new one is better. New patch attached. 2015-09-14 8:10 GMT-03:00 Ricardo Wurmus : > >> From 7e291c7f87498368be556941f6eb7315f94a7c74 Mon Sep 17 00:00:00

Re: [PATCH 11/19] gnu: Add r-knitr.

2015-09-14 Thread Vicente Vera
Hello, I'm not sure if it's correct, but I changed the license from gpl3+ to gpl2+ to keep it consistent with the r-markdown package (https://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility). Thanks for figuring that out. New patch attached. 2015-09-14 8:17 GMT-03:00 Ricardo Wurmus : > Hi Vi

[PATCH 1/4] gnu: Add python-oslo.serialization.

2015-09-14 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-oslo.serialization, python2-oslo.serialization): New variables. --- gnu/packages/openstack.scm | 39 +++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index a9db3f2..

[PATCH 0/4] Add more dependencies of OpenStack.

2015-09-14 Thread Cyril Roelandt
These packages would be really useful to have for a demo of guix-tox :) -- Cyril Roelandt (4): gnu: Add python-oslo.serialization. gnu: Add python-oslo.context. gnu: Add python-webob. gnu: Add python-requests-mock. gnu/packages/openstack.scm | 101

[PATCH 4/4] gnu: Add python-requests-mock.

2015-09-14 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-requests-mock, python2-requests-mock): New variables. --- gnu/packages/openstack.scm | 31 +++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 1a2af79..2f3e883 100644 ---

[PATCH 3/4] gnu: Add python-webob.

2015-09-14 Thread Cyril Roelandt
* gnu/packages/python.scm (python-webob, python2-webob): New variables. --- gnu/packages/python.scm | 27 +++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index c58d7f3..919573f 100644 --- a/gnu/packages/python.scm +++ b/g

[PATCH 2/4] gnu: Add python-oslo.context.

2015-09-14 Thread Cyril Roelandt
* gnu/packages/openstack.scm (python-oslo.context, python2-oslo.context): New variables. --- gnu/packages/openstack.scm | 31 +++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 04ddbb3..1a2af79 100644 --- a

Re: [PATCH] build: Fix potential type error when generating human-friendly byte count strings.

2015-09-14 Thread Steve Sprang
Hi Mark, Does the updated patch look okay? I'm making some related changes and it would be easier if this patch was integrated. Thanks! -Steve On Wed, Sep 9, 2015 at 8:31 PM, Steve Sprang wrote: > Sure thing. Here you go. > > -Steve > > On Wed, Sep 9, 2015 at 7:42 PM, Mark H Weaver wrote: >

Re: [PATCH] build: Fix potential type error when generating human-friendly byte count strings.

2015-09-14 Thread Mark H Weaver
Steve Sprang writes: > Does the updated patch look okay? I'm making some related changes and > it would be easier if this patch was integrated. Pushed to 'master' with some modifications to the commit log. Sorry for the delay. Thanks! Mark

Re: [PATCH] guix: lint: Check for version-only origin file names.

2015-09-14 Thread Eric Bavier
On Sun, 13 Sep 2015 18:59:53 +0200 l...@gnu.org (Ludovic Courtès) wrote: > Eric Bavier skribis: > > > From 8db3e5978394b99ad14d69494b00343b70f918e1 Mon Sep 17 00:00:00 2001 > > From: Eric Bavier > > Date: Thu, 10 Sep 2015 15:39:44 -0500 > > Subject: [PATCH 1/2] guix: packages: Add origin-actual

[PATCH] substitute: Improve readability of substitute-related output.

2015-09-14 Thread Steve Sprang
Here's my attempt at making substitute-related logging a little easier to grok. I added newlines to split up output and visually separate multiple substitutions. Since the download size is unknown, we can't use a progress bar, but I made the output more consistent with the progress bar behavior. I