Re: [PATCH] gnu: powertop: Patch absolute file names.

2016-04-18 Thread Ricardo Wurmus
Mathieu Lirzin writes: > * gnu/packages/linux.scm (powertop)[inputs]: Add kmod. > [arguments]: Patch absolute file names. Before that launching powertop > was failing because 'modprobe' was not found. Looks good to me, but I have one thing to nitpick below. > + (lambda* (#:key input

Re: Reorganizing guix package commands

2016-04-18 Thread John Darrington
On Mon, Apr 18, 2016 at 05:50:14PM -0400, myglc2 wrote: l...@gnu.org (Ludovic Court??s) writes: > Alex Kost skribis: > >> I've just sent a message to bug#22587??, but I realized it is better to >> discuss it here in a separate thread. >> >> So, I think ther

Re: Reorganizing guix package commands

2016-04-18 Thread myglc2
l...@gnu.org (Ludovic Courtès) writes: > Alex Kost skribis: > >> I've just sent a message to bug#22587¹, but I realized it is better to >> discuss it here in a separate thread. >> >> So, I think there are inconsistencies in guix commands. For example, we >> have "guix system build" to build a sy

Re: Reorganizing guix package commands

2016-04-18 Thread Hartmut Goebel
Am 18.04.2016 um 10:57 schrieb Alex Kost: > In general, I think it would be good to move package commands inside > "guix package", e.g, to make "guix package lint", "guix package size", > etc. When changing this, we could also think about making "options" into real sub-commands, eg. "guix package

Re: GuixSD encrypted root?

2016-04-18 Thread Danny Milosavljevic
> I tried to patch gnu/system/mapped-devices.scm to pass additional arguments > but that didn't do anything either (I can see guix's cryptsetup running when > I do "ps -ef", and it didn't receive the new arguments). After a reboot it did add them and it "system reconfigure"d fine now. The argu

Re: [PATCH 6/7] gnu: add comment pointing to python-requests-mock in openstack

2016-04-18 Thread Leo Famulari
On Mon, Apr 18, 2016 at 04:21:26PM -0400, Leo Famulari wrote: > On Sun, Apr 17, 2016 at 10:50:56PM +0200, Hartmut Goebel wrote: > > I did expect this package to be defined in python.scm. > > You can figure out where package foo is defined with `guix package > --show=foo`. That is more discoverable

GuixSD encrypted root?

2016-04-18 Thread Danny Milosavljevic
Hi, with the latest luks-related commits in guix I figured it's time to try disk encryption again (after updating guix from git). I added a mapped-devices section to my config and then did guix reconfigure ... which made it hang at making '/gnu/store/5df8pzbsbk2pn2s99hj8r6kb45smy3dv-system'

Re: [PATCH 2/7] gnu: add python-sqlparse and python2-sqlparse

2016-04-18 Thread Hartmut Goebel
Am 18.04.2016 um 22:23 schrieb Leo Famulari: > Is this running the python3 interpreter with no arguments in order to > see if it exists, and then doing 2to3 if it does? Ack. I asume one could do this by manipulating the output of "packaged-wiht-python2". But I only learned of how to manipulate thi

Re: [PATCH 4/7] gnu: Add python2-ipaddr, a Python-2-only package

2016-04-18 Thread Hartmut Goebel
Am 18.04.2016 um 22:20 schrieb Leo Famulari: >> > +(synopsis "IP address manipulation library by Google") >> > +(description >> > + "Library for working with IP addresses, both IPv4 and IPv6.") > Can you give any more information about the software? Pardon? That's all the project seay.

Re: [PATCH 5/7] gnu: add python-maxminddb and python2-maxminddb

2016-04-18 Thread Hartmut Goebel
Am 18.04.2016 um 22:14 schrieb Leo Famulari: > Should the maxminddb be packaged so that we can run the tests? When installing the package, this database in not installed. The installation instructions of that package does not a hint on it. I assume this database being quite large (several GB), si

[PATCH] gnu: Add acpi.

2016-04-18 Thread Mathieu Lirzin
* gnu/packages/linux.scm (acpi): New variable. --- gnu/packages/linux.scm | 20 1 file changed, 20 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 88afa8e..ca7697c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2123,6 +21

[PATCH] gnu: powertop: Patch absolute file names.

2016-04-18 Thread Mathieu Lirzin
* gnu/packages/linux.scm (powertop)[inputs]: Add kmod. [arguments]: Patch absolute file names. Before that launching powertop was failing because 'modprobe' was not found. --- gnu/packages/linux.scm | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/gnu

Re: [PATCH 0/7] Some new python packages

2016-04-18 Thread Hartmut Goebel
Am 18.04.2016 um 22:08 schrieb Leo Famulari: > I'm going to review these superficially; I won't try to actually build > or run them until the django test suite is ready to be tested, unless > you can tell me how to do so. I'll briefly answer on your comments. Please not that mot motivation for in

Re: guix-daemon hitting systemd TasksMax

2016-04-18 Thread Joram Schrijver
Heh, no I'm not. I have to do it with 4 cores + hyperthreading. My first `guix pull` did have to build many things though, spawning numerous threads in some cases. I eye-sampled the thread counts during one try and they were certainly in the hundreds. I installed Guix from the AUR[1], so I was run

Re: guix-daemon hitting systemd TasksMax

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 12:46:16AM +0200, Ludovic Courtès wrote: > Leo Famulari skribis: > > > On Sat, Apr 16, 2016 at 03:12:15PM +0200, Joram Schrijver wrote: > >> I am running Arch Linux, also with systemd 229. It doesn't look like > >> Debian applies any patches to systemd, so our installation

Re: [PATCH] version bump libgcrypt -> 1.7

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 11:53:51AM +0200, ng0 wrote: > Updated libgcrypt patch. Is there a consensus on upgrading from 1.6.5 and making the change on core-updates?

Re: [PATCH 2/7] gnu: add python-sqlparse and python2-sqlparse

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:50:52PM +0200, Hartmut Goebel wrote: > * gnu/packages/python.scm (python-sqlparse) (python2-sqlparse): > New functions. [...] > +(build-system python-build-system) > +(arguments > + `(#:phases > + (modify-phases %standard-phases > + (replace

Re: [PATCH 6/7] gnu: add comment pointing to python-requests-mock in openstack

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:50:56PM +0200, Hartmut Goebel wrote: > I did expect this package to be defined in python.scm. You can figure out where package foo is defined with `guix package --show=foo`. That is more discoverable than a comment in the code base.

Re: [PATCH 4/7] gnu: Add python2-ipaddr, a Python-2-only package

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:50:54PM +0200, Hartmut Goebel wrote: > * gnu/packages/python.scm: (python2-ipaddr): New function. [...] > +(synopsis "IP address manipulation library by Google") > +(description > + "Library for working with IP addresses, both IPv4 and IPv6.") Can you give

Re: [PATCH 1/7] gnu: Add python-tblib and python2-tblib

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:50:51PM +0200, Hartmut Goebel wrote: > * packages/python.scm (python-tblib) (python2-tblib): New > functions. [...] > +(arguments > + `(#:phases > + (modify-phases %standard-phases > +(replace 'check > + (lambda _ > + (zero? (sy

Re: [PATCH 7/7] gnu: add python-geoip2 and python2-geoip2

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:50:57PM +0200, Hartmut Goebel wrote: > * gnu/packages/python.scm (python-geoip2) (pythons-geoip2): > New functions. [...] > +(arguments `(#:tests? #f)) ; tests require a copy of the database The maxminddb database? > +(inputs > + `(("python-maxminddb" ,p

Re: [PATCH 5/7] gnu: add python-maxminddb and python2-maxminddb

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:50:55PM +0200, Hartmut Goebel wrote: > * gnu/packages/python.scm: (python-maxminddb) (python2-maxminddb): > New functions. [...] > +(arguments > + ;; tests require a copy of the maxminddb which is not included > + `(#:tests? #f)) Should the maxminddb be p

Re: [PATCH 3/7] gnu: add python-selenium and python2-selenium

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:50:53PM +0200, Hartmut Goebel wrote: > * gnu/packages/python.scm (python-selenium) (python2-selenium): > New functions. We use the phrase "New variables" when adding new package definitions to an existing package module. > --- > gnu/packages/python.scm | 35 +

Re: [PATCH 0/7] Some new python packages

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:50:50PM +0200, Hartmut Goebel wrote: > Enclosed please find patches adding nwe Python packages for both Python 3 and > Python 2. These are needed for run the django test-suite (more to come). Thanks for the patches! I'm going to review these superficially; I won't try t

Re: [PATCH] gnu: dillo: New module

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:14:55AM -0400, Kei Yamashita wrote: > On Sun, 17 Apr 2016 10:57:21 +0300 > Alex Kost wrote: > > > Kei Yamashita (2016-04-17 05:53 +0300) wrote: > > > > > I'm not sure what the process is for a new module. Please guide me > > > in this if something else needs to be done

Re: [PATCH] gnu: Add Xft support to FLTK.

2016-04-18 Thread Leo Famulari
On Sat, Apr 16, 2016 at 10:50:41PM -0400, Kei Yamashita wrote: > This patch is in preparation for the Dillo browser package. Looks good!

Re: [PATCH] IPython: Use 'python2-variant'.

2016-04-18 Thread Leo Famulari
On Sun, Apr 17, 2016 at 10:54:03AM +1000, Ben Woodcroft wrote: > Hi, > > This hopefully should be a pretty straightforward patch, but I just wanted > to check that I was doing the correct thing this first time. Seems to make > the code much cleaner. > > Does it make sense to go through all the py

Re: [PATCH] linux: alsa: update to 1.1.1

2016-04-18 Thread Leo Famulari
On Sat, Apr 16, 2016 at 08:51:36PM +0200, Danny Milosavljevic wrote: > Hi, > > this updates ALSA to 1.1.1. Thanks for paying attention to upstream updates :) > I removed alsa-lib-mips-atomic-fix.patch since I don't have MIPS and thus > can't test it. So could someone please check it and re-add?

Re: [PATCH 4/6] gnu: gnome-documents

2016-04-18 Thread Leo Famulari
On Thu, Apr 14, 2016 at 10:35:00AM -0500, ren...@openmailbox.org wrote: > On 2016-03-29 14:25, l...@gnu.org wrote: > >ren...@openmailbox.org skribis: > > > >>+ `(#:configure-flags > >>+ '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt") > > > >AFAICS glib-networking uses GnuTL

Re: [PATCH] build: syscalls: Delay syscalls evaluation.

2016-04-18 Thread Ludovic Courtès
Manolis Ragkousis skribis: > From 761d4b04701b62042fba810b04da82ca2200b862 Mon Sep 17 00:00:00 2001 > From: Mark H Weaver > Date: Wed, 10 Feb 2016 14:17:33 +0200 > Subject: [PATCH] syscalls: If a syscall is not available, defer the error. > > * guix/build/syscalls.scm (syscall->procedure): New p

Re: Application Request

2016-04-18 Thread ng0
l...@gnu.org (Ludovic Courtès) writes: > ng0 skribis: > >> akhilesh writes: >> >>> This is a general list of applications I use and would like to see it being >>> made for the gnu guix project. I'm not a developer, otherwise I would try >>> doing it myself . >>> >>> tor-browser >> >> this one

Re: Application Request

2016-04-18 Thread Ludovic Courtès
ng0 skribis: > akhilesh writes: > >> This is a general list of applications I use and would like to see it being >> made for the gnu guix project. I'm not a developer, otherwise I would try >> doing it myself . >> >> tor-browser > > this one is on my todo list, should be relatively easy with t

Re: Reorganizing guix package commands

2016-04-18 Thread Ludovic Courtès
Alex Kost skribis: > I've just sent a message to bug#22587¹, but I realized it is better to > discuss it here in a separate thread. > > So, I think there are inconsistencies in guix commands. For example, we > have "guix system build" to build a system, but "guix build" to build a > package. IM

Re: Application Request

2016-04-18 Thread ng0
akhilesh writes: > This is a general list of applications I use and would like to see it being > made for the gnu guix project. I'm not a developer, otherwise I would try > doing it myself . > > tor-browser this one is on my todo list, should be relatively easy with the knowledge about packagi

Re: Application Request

2016-04-18 Thread John Darrington
On Mon, Apr 18, 2016 at 01:38:14PM +0530, akhilesh wrote: This is a general list of applications I use and would like to see it being made for the gnu guix project. I'm not a developer, otherwise I would try doing it myself . One of the nice things about guix, is that (compared t

Re: Reorganizing guix package commands

2016-04-18 Thread John Darrington
On Mon, Apr 18, 2016 at 11:57:59AM +0300, Alex Kost wrote: I've just sent a message to bug#22587??, but I realized it is better to discuss it here in a separate thread. So, I think there are inconsistencies in guix commands. For example, we have "guix system build" to bui

Application Request

2016-04-18 Thread akhilesh
This is a general list of applications I use and would like to see it being made for the gnu guix project. I'm not a developer, otherwise I would try doing it myself . tor-browser gummi synapse liferea focus writer winusb yakuake gpodder firejail qownnotes livestreamer copay bitcoin wallet krit

Re: [PATCH] Add GAP.

2016-04-18 Thread Nicolas Goaziou
Hello, Andreas Enge writes: > the attached patch adds the computer algebra system for group theory GAP. > I am only interested in it as an input to SAGE, but it appears that someone > on IRC was also trying to package it yesterday, so it would be nice if you > could check whether this package me

Reorganizing guix package commands

2016-04-18 Thread Alex Kost
I've just sent a message to bug#22587¹, but I realized it is better to discuss it here in a separate thread. So, I think there are inconsistencies in guix commands. For example, we have "guix system build" to build a system, but "guix build" to build a package. IMO "guix package build" would be

[PATCH 3/3] emacs: Add "edit" command to a list of licenses.

2016-04-18 Thread Alex Kost
* emacs/guix-ui-license.el (guix-license-list-edit): New command. (guix-license-list-mode-map): Bind it to "e" key. --- emacs/guix-ui-license.el | 7 +++ 1 file changed, 7 insertions(+) diff --git a/emacs/guix-ui-license.el b/emacs/guix-ui-license.el index 772a168..cf1b5cd 100644 --- a/emacs/

[PATCH 1/3] emacs: Add 'guix-find-license-definition' command.

2016-04-18 Thread Alex Kost
* emacs/guix-license.el (guix-license-file): New procedure. (guix-find-license-definition): New command. * doc/emacs.texi (Emacs Licenses): Document it. --- doc/emacs.texi| 3 +++ emacs/guix-license.el | 21 + 2 files changed, 24 insertions(+) diff --git a/doc/emacs.t

[PATCH 2/3] emacs: Add license definition button to License Info buffer.

2016-04-18 Thread Alex Kost
* emacs/guix-ui-license.el (guix-license-insert-file): New procedure. (guix-license-info-format): Use it. --- emacs/guix-ui-license.el | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/emacs/guix-ui-license.el b/emacs/guix-ui-license.el index ab1d25b..772a168 1006

[PATCH 0/3] emacs: Add possibilities to move to license definition.

2016-04-18 Thread Alex Kost
As a user can move to a package definition (with "guix edit"), (s)he can also want to go to a license definition (why not?). This patchset adds this possibility in 3 places: 1. As a standalone command (analog of "M-x guix-edit"): M-x guix-find-license-definition Or maybe it should be call

Re: [PATCH 1/6] emacs: Add 'guix-packages-by-location' command.

2016-04-18 Thread Alex Kost
Ludovic Courtès (2016-04-17 18:40 +0300) wrote: > Alex Kost skribis: > >> Ludovic Courtès (2016-04-16 01:23 +0300) wrote: > > [...] > >>> If you choose to take the ‘define-values’ approach above, I think you >>> can just list they keys already in the vhash: >>> >>> (define-values (package-by-so