[GSoC] DHCP client

2015-03-16 Thread Rémi Birot-Delrue
Hello, I’m a CS student interested in contributing to Guix for the Summer of Code. I would be happy to work on the idea of writing a DHCP client for the GSD, as proposed on the GNU ideas page. Currently finishing my Licence d’Informatique at Clermont-Ferrand (France), roughly equivalent to a CS B

Re: improve error message for `guix environment'

2015-03-16 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> From 13113846f0f19b57f271dc71b5cbc606d8c2b68a Mon Sep 17 00:00:00 2001 >> From: David Thompson >> Date: Mon, 16 Mar 2015 08:59:59 -0400 >> Subject: [PATCH] scripts: environment: Improve error messages. >> >> * guix/scripts/environment.scm (

Re: [ART] Updated SLiM theme with GuixSD logo

2015-03-16 Thread 白い熊@相撲道
On 2015-03-16 23:38, l...@gnu.org wrote: Oops yes, should be commit 94e6111 with hash 0aax85mygpq4lbyn8sriafikyg54yss3lisin6pwkvlvp23a3v1j. Yes, it's good now. (You can look at the revision history of gnu/artwork.scm to find out.) Thanks a lot. I'm learning many things working with Guix. It

Re: [ART] Updated SLiM theme with GuixSD logo

2015-03-16 Thread Ludovic Courtès
白い熊@相撲道 skribis: > On 2015-03-16 21:40, l...@gnu.org wrote: >> Hmm could you post your config file? > (define %old-artwork > (origin > (method git-fetch) > (uri (git-reference > (url "git://git.savannah.gnu.org/guix/guix-artwork.git") > (commit "3236581"))) ;pre-Gui

Re: [ART] Updated SLiM theme with GuixSD logo

2015-03-16 Thread 白い熊@相撲道
On 2015-03-16 21:40, l...@gnu.org wrote: Hmm could you post your config file? (use-modules (gnu) (gnu packages) (gnu system) (guix) (guix git-download)) (use-service-modules xorg networking dbus avahi) (use-package-modules avahi ratpoison wicd

Re: Bash completions

2015-03-16 Thread Ludovic Courtès
I forgot to mention it but commit 1d167b6 implements that. Now, when the ‘bash-completion’ package is available in the global profile (which is the case by default), Bash completions are automatically loaded, included those found in user profiles. Ludo’.

Re: [PATCH] gnu: Add xcape.

2015-03-16 Thread Axel
David and Ricardo, thank for a review! I followed your advices and prepared new patch. 2015-03-16 17:53 GMT+03:00 Ricardo Wurmus : > >> From 0ad9b0eea2cd6151072d27f5e2505db9db083b37 Mon Sep 17 00:00:00 2001 >> From: "Alexander I.Grafov (Axel)" >> Date: Sun, 15 Mar 2015 20:01:03 +0300 >> Subject:

Re: System configuration, ~/.profile, custom path etc.

2015-03-16 Thread Ludovic Courtès
白い熊@相撲道 skribis: > The .bashrc created after install is readonly by default. I understand > I can chmod it and change it, but I thought the reason for this is > exactly that it is the idea of Guix to modify it via the skeleton > pairs in sysconfig and not edit it directly. > > Is this not so? No

Re: [ART] Updated SLiM theme with GuixSD logo

2015-03-16 Thread Ludovic Courtès
白い熊@相撲道 skribis: > On 2015-03-16 18:02, l...@gnu.org wrote: >> Currently one has to reboot after running ‘guix system reconfigure’ for >> changes to services to take effect (yes it will be fixed in the >> future.) >> >> Did you reboot? > > Yes, I assumed you need a reboot. Rebooted and no change.

Re: System configuration, ~/.profile, custom path etc.

2015-03-16 Thread 白い熊@相撲道
On 2015-03-16 19:48, Andreas Enge wrote: On Mon, Mar 16, 2015 at 07:20:27PM +0100, 白い熊@相撲道 wrote: Let's say I want to add "~/sh" to PATH and also export TEST="This is a test." How exactly do I add this to sysconfig.scm? What speaks against doing this as a user in .bashrc? Andreas The .bashr

Re: Texlive

2015-03-16 Thread Andreas Enge
On Sun, Mar 15, 2015 at 12:16:58PM +0100, Federico Beffa wrote: > Just to clarify: the idea would be that the "--aggregate" command > would produce a new package in the store. The new in store package > would inherit the content of the "--with" packages, but with the > possibility to replace some p

Re: System configuration, ~/.profile, custom path etc.

2015-03-16 Thread Andreas Enge
On Mon, Mar 16, 2015 at 07:20:27PM +0100, 白い熊@相撲道 wrote: > Let's say I want to add "~/sh" to PATH and also export TEST="This is a > test." > How exactly do I add this to sysconfig.scm? What speaks against doing this as a user in .bashrc? Andreas

Re: make packagers life easier

2015-03-16 Thread Andreas Enge
On Mon, Mar 16, 2015 at 06:01:15PM +0100, Ludovic Courtès wrote: > > How to implement? > > - inject always failing phase into phases list > I’d like to read what others think because I’m probably biased, but my > first reaction is that (1) I’ve rarely if ever felt the need for this, > (2) adding a

Re: Texlive

2015-03-16 Thread Andreas Enge
On Mon, Mar 16, 2015 at 05:54:22PM +0100, Ludovic Courtès wrote: > I don’t want to spoil the party ;-), but could it be that there are > programs outside of TeX Live that use libkpathsea & co.? Theoretically yes, but practically I do not think so. Andreas

System configuration, ~/.profile, custom path etc.

2015-03-16 Thread 白い熊@相撲道
Hello: I'm trying to understand the "desired" way to configure GuixSD, regarding modifying environment variables etc. Studying the manual, it seems to me that the system doesn't source ~/.profile etc. and instead the systematic way to modify the environment is via the sysconfig.scm file and

Re: [ART] Updated SLiM theme with GuixSD logo

2015-03-16 Thread 白い熊@相撲道
On 2015-03-16 18:02, l...@gnu.org wrote: Currently one has to reboot after running ‘guix system reconfigure’ for changes to services to take effect (yes it will be fixed in the future.) Did you reboot? Yes, I assumed you need a reboot. Rebooted and no change. It's the GuixSD logo. -- 白い熊@相

Re: [ART] Updated SLiM theme with GuixSD logo

2015-03-16 Thread Ludovic Courtès
白い熊@相撲道 skribis: > On 2015-03-16 09:52, l...@gnu.org wrote: >> You need to add: >> >> (use-modules (guix)) > > Thank you. I tried various modules, for some reason didn't think of > guix... > > Now it reconfigured, however the logo is still the new GuixSD. In the > store I now have three git-che

Re: make packagers life easier

2015-03-16 Thread Ludovic Courtès
Hi! Tomáš Čech skribis: > Stop after/before phase > === > > What it can help with? > > - download sources of package without constructing URL > - prepare sources for creating or applying patch I think ‘guix build -S foo’ does exactly that, doesn’t it? > - when preparing con

Re: Texlive

2015-03-16 Thread Ludovic Courtès
Andreas Enge skribis: > the attached patch does what its commit message says. It is the fruit of many > trials and discussions with Ludovic. The tricky thing was to link to the > kpsewhich binary in texlive-bin, but to make it take its configuration file > texmf.cnf from texlive-data. I ended up

Re: Texlive

2015-03-16 Thread Ludovic Courtès
Federico Beffa skribis: > It would be nice to have an incremental strategy with a hierarchy, say > texlive-base, texlive-common, texlive-extra, texlive-all, where each > package is non-overlapping with other ones. Then a new functionality to > aggregate packages into a new package where you speci

Re: improve error message for `guix environment'

2015-03-16 Thread Thompson, David
On Mon, Mar 16, 2015 at 12:12 PM, Ricardo Wurmus wrote: > > Ludovic Courtès writes: > >> David Thompson skribis: >> >>> From 13113846f0f19b57f271dc71b5cbc606d8c2b68a Mon Sep 17 00:00:00 2001 >>> From: David Thompson >>> Date: Mon, 16 Mar 2015 08:59:59 -0400 >>> Subject: [PATCH] scripts: environm

Re: improve error message for `guix environment'

2015-03-16 Thread Ricardo Wurmus
Ludovic Courtès writes: > David Thompson skribis: > >> From 13113846f0f19b57f271dc71b5cbc606d8c2b68a Mon Sep 17 00:00:00 2001 >> From: David Thompson >> Date: Mon, 16 Mar 2015 08:59:59 -0400 >> Subject: [PATCH] scripts: environment: Improve error messages. >> >> * guix/scripts/environment.scm (

Re: improve error message for `guix environment'

2015-03-16 Thread Ludovic Courtès
David Thompson skribis: > From 13113846f0f19b57f271dc71b5cbc606d8c2b68a Mon Sep 17 00:00:00 2001 > From: David Thompson > Date: Mon, 16 Mar 2015 08:59:59 -0400 > Subject: [PATCH] scripts: environment: Improve error messages. > > * guix/scripts/environment.scm (guix-environmnet): Wrap procedure b

Re: [ART] Updated SLiM theme with GuixSD logo

2015-03-16 Thread 白い熊@相撲道
On 2015-03-16 12:03, 白い熊@相撲道 wrote: Now it reconfigured, however the logo is still the new GuixSD. In the store I now have three git-checkout dirs with 0.8 theme, however none of these contains the GNU image, just the blue "wave" background. There is a git-checkout that has a panel.png (was not

Re: [PATCH] gnu: Add xcape.

2015-03-16 Thread Ricardo Wurmus
> From 0ad9b0eea2cd6151072d27f5e2505db9db083b37 Mon Sep 17 00:00:00 2001 > From: "Alexander I.Grafov (Axel)" > Date: Sun, 15 Mar 2015 20:01:03 +0300 > Subject: [PATCH] gnu: Add xcape. > > * gnu/packages/xdisorg.scm (xcape): New variable. > --- > + > +(define-public xcape > + (package > +(na

Re: [PATCH] gnu: Add xcape.

2015-03-16 Thread David Thompson
Axel writes: > Xcape allows to use modifier key as another key when pressed and > released on its own. > > -- > Александр Графов > From 0ad9b0eea2cd6151072d27f5e2505db9db083b37 Mon Sep 17 00:00:00 2001 > From: "Alexander I.Grafov (Axel)" > Date: Sun, 15 Mar 2015 20:01:03 +0300 > Subject: [PATC

Re: improve error message for `guix environment'

2015-03-16 Thread David Thompson
Tomáš Čech writes: > When network issue occurs during `guix environment ' call, > the error message is too cryptic: If you can reproduce it, could you please apply this patch and tell me if it makes things any better? The 'with-error-handling' form will catch a bunch of possible errors and prin

Package not found in Vala API or GObject-Introspection GIR directories

2015-03-16 Thread Andreas Enge
Hello, the attached package fails to build with the following error message: Making all in datahub make[2]: Entering directory '/tmp/nix-build-zeitgeist-0.9.14.drv-0/build/datahub' /gnu/store/lrqwgyq5m29pgjrzs6g3wjicm2v4pwii-vala-0.26.1/bin/valac \ --target-glib=2.26 --pkg gio-2.0 --pkg g

Re: [ART] Updated SLiM theme with GuixSD logo

2015-03-16 Thread 白い熊@相撲道
On 2015-03-16 09:52, l...@gnu.org wrote: You need to add: (use-modules (guix)) Thank you. I tried various modules, for some reason didn't think of guix... Now it reconfigured, however the logo is still the new GuixSD. In the store I now have three git-checkout dirs with 0.8 theme, howeve

Re: [PATCH] gnu: sdcv: Add new variable.

2015-03-16 Thread Tomáš Čech
On Mon, Mar 16, 2015 at 10:54:52AM +0100, Andreas Enge wrote: Hello, just a tiny comment: Please use gnu: Add sdcv. gnu: Add agg. as first lines of your commits; I find this convention quite useful when grepping through the output of "git log". Will doo. Changed. S_W

Re: [PATCH] gnu: sdcv: Add new variable.

2015-03-16 Thread Andreas Enge
Hello, just a tiny comment: Please use gnu: Add sdcv. gnu: Add agg. as first lines of your commits; I find this convention quite useful when grepping through the output of "git log". Andreas

[PATCH] gnu: sdcv: Add new variable.

2015-03-16 Thread Tomáš Čech
* gnu/packages/dictionaries.scm (sdcv): New variable. --- gnu/packages/dictionaries.scm | 47 ++- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 345d0a2..b18e02a 100644 --- a

[PATCH] gnu: agg: New variable.

2015-03-16 Thread Tomáš Čech
* gnu/packages/graphics.scm (agg): New variable. --- gnu/packages/graphics.scm | 55 ++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 1ee4d7e..27513fd 100644 --- a/gnu/packages/

Re: [PATCH] Add MISO.

2015-03-16 Thread Ludovic Courtès
Ricardo Wurmus skribis: > From aca149cc5c6c808535894b98d2f0b9ee96fe973c Mon Sep 17 00:00:00 2001 > From: Ricardo Wurmus > Date: Fri, 13 Mar 2015 10:31:49 +0100 > Subject: [PATCH] gnu: Add MISO. > > * gnu/packages/bioinformatics.scm (miso): New variable. LGTM! Ludo’.

Re: [ART] Updated SLiM theme with GuixSD logo

2015-03-16 Thread Ludovic Courtès
白い熊@相撲道 skribis: > On 2015-03-15 14:47, l...@gnu.org wrote: [...] >> To use the “GNU” SLiM screen, you need to use an older revision of the >> guix-artwork.git repository. So, in your OS config file, you can write >> something like this (untested): > ... > > ERROR: Unbound variable: origin Yo

Re: 01/01: gnu: vlc: Update to 2.2.0

2015-03-16 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: [...] >> Now, I think libc’s --enable-kernel can specify a baseline older than >> the available kernel headers. So it may be that we can use 3.14 headers >> but build a libc that assumes a kernel possibly as old as 3.4. > > One da

improve error message for `guix environment'

2015-03-16 Thread Tomáš Čech
When network issue occurs during `guix environment ' call, the error message is too cryptic: $ guix environment gnash ;;; note: source file /Devel/git/guix/gnu/packages/dictionaries.scm ;;; newer than compiled /Devel/git/guix/gnu/packages/dictionaries.go ;;; note: source file /Devel/git/gu

[PATCH] Add IBus.

2015-03-16 Thread Ricardo Wurmus
Hi Guix, attached are patches to add IBus. This was a bit difficult to package because I discovered two things rather late: - our gtk+-2 package doesn't install its typelib file (see http://lists.gnu.org/archive/html/guix-devel/2015-03/msg00456.html) - the python2-pygobject-2 package is not