Re: [PATCH] build: pull: Compile .scm files in one process.

2015-12-02 Thread Taylan Ulrich Bayırlı/Kammer
l...@gnu.org (Ludovic Courtès) writes: > taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") skribis: > >> After some tinkering around I realized that the problem is that our >> workaround of loading files explicitly causes the package record type to >> be redefined after some packages have a

Re: [PATCH] Add cereal + sparsehash

2015-12-02 Thread Andreas Enge
On Tue, Dec 01, 2015 at 11:44:06AM +0100, Ricardo Wurmus wrote: > I’d like to do this, but I’m pretty bad at naming things. How about a > new module “datastructures.scm” where this could comfortably fit in? I also did not know a good name, so did not suggest anything concrete... I like your sugge

Re: Lint on line

2015-12-02 Thread Andreas Enge
On Wed, Dec 02, 2015 at 08:36:30AM +0100, Jan Synáček wrote: > On Tue, Dec 1, 2015 at 11:04 PM, Ludovic Courtès wrote: > > Initially I left them so that each package at gnu.org/s/guix/packages > > could contain a reference to its (possibly empty) issue list (each > > package has an anchor in issue

Re: package updater: operate on package structs, not names?

2015-12-02 Thread Ludovic Courtès
Ricardo Wurmus skribis: > There are two ways to approach this: we change the Guix package names to > closely match those of the upstream packages, or we pass the complete > package structure to ‘latest-release’. The latter approach would allow > the CRAN updater to extract the appropriate name f

Re: [PATCH] services: nginx: Allow for server extensions.

2015-12-02 Thread Ludovic Courtès
David Thompson skribis: > Looking for some feedback on my first stab at making the nginx service > extensible. With this extension mechanism, future web applications > (such as GNU MediaGoblin) that use nginx as a front-end web server will > be able to extend nginx with the server configuration

[PATCH 2/3] system: Add /etc/environment.

2015-12-02 Thread 宋文武
* gnu/system.scm: (operating-system-environment-variables): New procedure. Adapted and moved environment variables from /etc/profile. (operating-system-etc-service): Adjust accordingly. (essential-services): Add an instance of SESSION-ENVIRONMENT-SERVICE-TYPE. --- gnu/system.scm | 39 +

[PATCH 1/3] services: Add 'session-environment-service'.

2015-12-02 Thread 宋文武
* gnu/services/base.scm (session-environment-service): New procedure. (session-environment-service-type): New variable. (environment-variables->environment-file): New procedure. --- gnu/services/base.scm | 33 + 1 file changed, 33 insertions(+) diff --git a/gnu/ser

[PATCH 3/3] system: pam: Honor /etc/environment.

2015-12-02 Thread 宋文武
* gnu/system/pam.scm (unix-pam-service): Add pam_env module to the session group. --- gnu/system/pam.scm | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/system/pam.scm b/gnu/system/pam.scm index d8470f0..9823916 100644 --- a/gnu/system/pam.scm +++ b/gnu/system/pam

Re: proposal: add "packagers" field (list of strings (names)) to package definition

2015-12-02 Thread Andy Wingo
On Tue 01 Dec 2015 08:12, Florian Paul Schmidt writes: > ...and encourage its use. The intended semantics is to list people > that have contributed to the packaging effort. The motivation behind > this proposal is that in many free software projects attribution can > be a major source of motivati

Re: proposal: add "packagers" field (list of strings (names)) to package definition

2015-12-02 Thread Thompson, David
On Wed, Dec 2, 2015 at 8:43 AM, Andy Wingo wrote: > On Tue 01 Dec 2015 08:12, Florian Paul Schmidt writes: > >> ...and encourage its use. The intended semantics is to list people >> that have contributed to the packaging effort. The motivation behind >> this proposal is that in many free software

Re: proposal: add "packagers" field (list of strings (names)) to package definition

2015-12-02 Thread Florian Paul Schmidt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/02/2015 03:09 PM, Thompson, David wrote: >> The kind of ego-based positive feedback that having a maintainer >> field would introduce is negative IMO. It is good if people feel >> attached to Guix-the-project and >> GuixSD-the-software-distri

Re: proposal: add "packagers" field (list of strings (names)) to package definition

2015-12-02 Thread Andy Wingo
On Wed 02 Dec 2015 14:59, Florian Paul Schmidt writes: > Aww, too bad. I think it's a missed opportunity to be inclusive and > generous with attribution which might motivate people to contribute. > Guix is in a unique position with this opportunity. If there are other ways we can recognize peopl

Re: proposal: add "packagers" field (list of strings (names)) to package definition

2015-12-02 Thread Andreas Enge
On Wed, Dec 02, 2015 at 03:59:52PM +0100, Florian Paul Schmidt wrote: > Aww, too bad. I think it's a missed opportunity to be inclusive and > generous with attribution which might motivate people to contribute. > Guix is in a unique position with this opportunity. The problem with attributions is

[PATCH] daemon: Add 'buildMode' parameter to 'buildPaths' RPC.

2015-12-02 Thread Ludovic Courtès
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x10f. * nix/libstore/remote-store.cc (RemoteStore::buildPaths): Send the BUILDMODE when the daemon supports it. Reject invalid values of BUILDMODE for old daemons. * nix/nix-daemon/nix-daemon.cc (performOp) : Read the build mode when

Re: Tkinter moved to separate output

2015-12-02 Thread Federico Beffa
On Tue, Dec 1, 2015 at 11:00 PM, Ludovic Courtès wrote: > I gather this addresses http://bugs.gnu.org/20888, right? Well, it partially solves it: Now there is a working backend suitable for interactive plotting which is enabled by default. However, the 'GTK3Agg' backend is still there and still n

Re: [Nix-dev] [PATCH] daemon: Add 'buildMode' parameter to 'buildPaths' RPC.

2015-12-02 Thread Shea Levy
Can you resend with paths appropriate to the nix repo? There is no nix/ directory there. ~Shea On 2015-12-02 12:03, Ludovic Courtès wrote: * nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x10f. * nix/libstore/remote-store.cc (RemoteStore::buildPaths): Send the BUILDMODE when the

Re: proposal: add "packagers" field (list of strings (names)) to package definition

2015-12-02 Thread Florian Paul Schmidt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/02/2015 05:50 PM, Andreas Enge wrote: > The problem with attributions is that it is also exclusive of > others who might contribute to the package otherwise. It can create > tendencies to "own" packages, which creates a barrier for others to >

Re: proposal: add "packagers" field (list of strings (names)) to package definition

2015-12-02 Thread Florian Paul Schmidt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/02/2015 05:12 PM, Andy Wingo wrote: > If there are other ways we can recognize people's work, we should > consider them :) Think of it this way though, a packager is a > person who packages. The value is in the verb, not the noun; > packagi

Parallel (de-)compression

2015-12-02 Thread Andreas Enge
Hello, on my relatively slow ARM build machine with relatively fast storage (SSD), I notice that often there is an xz process taking 100% of CPU, while there is never more than 20MB/s written to disk. For instance, texlive-texmf takes a very long time to build and install into the store. Would it

Re: [PATCH 1/3] services: Add 'session-environment-service'.

2015-12-02 Thread Alex Kost
宋文武 (2015-12-02 16:38 +0300) wrote: > +(define (environment-variables->environment-file vars) > + "Return a file for pam_env(8) that contains environment variables VARS." > + (apply mixed-text-file "environment" > + (fold-right (lambda (pair result) > + (cons* (car

Re: Parallel (de-)compression

2015-12-02 Thread Andreas Enge
How about this: http://anthon.home.xs4all.nl/rants/2013/parallel_xz/ ? Andreas

Re: Parallel (de-)compression

2015-12-02 Thread Efraim Flashner
On Wed, 2 Dec 2015 19:52:17 +0100 Andreas Enge wrote: > How about this: >http://anthon.home.xs4all.nl/rants/2013/parallel_xz/ > ? > > Andreas > > From what I've read, parallel bzip breaks everything into chunks and then reassembles everything into a .tar.bz2 file. On one of my mail folder

Re: proposal: add "packagers" field (list of strings (names)) to package definition

2015-12-02 Thread Ricardo Wurmus
Andy Wingo writes: >> Aww, too bad. I think it's a missed opportunity to be inclusive and >> generous with attribution which might motivate people to contribute. >> Guix is in a unique position with this opportunity. > > If there are other ways we can recognize people's work, we should > conside

Re: proposal: add "packagers" field (list of strings (names)) to package definition

2015-12-02 Thread Florian Paul Schmidt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/01/2015 06:35 PM, Leo Famulari wrote: > All the contributors do get attribution in the copyright notice at > the top of each file, although that information is not linked to > their actual contributions except through git. If they feel their

[PATCH] gnu: Add docopt.

2015-12-02 Thread Kyle Meyer
* gnu/packages/python.scm (python-docopt, python2-docopt): New variables. --- gnu/packages/python.scm | 26 ++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 45222e9..5b31ae8 100644 --- a/gnu/packages/python.scm +++

[PATCH] gtk+: Support GUIX_GTK{2,3}_PATH variables.

2015-12-02 Thread Ricardo Wurmus
Hi Guix, a couple of months ago we discussed how to make IBus and GTK themes work across different GTK versions. See: http://lists.gnu.org/archive/html/guix-devel/2015-09/msg00617.html To summarise, GTK itself only supports path environment variables that are recognised by *all* versions of G