Re: [PATCH] guix package: Export generation procedures.

2014-10-04 Thread Ludovic Courtès
Hi! Alex Kost skribis: > What about the attached patch? Some comments and questions: > > - I added 'store' argument to the exported procedures, however it is > used only in one particular case: when we need to create an empty > profile (i.e. to call ‘link-to-empty-profile’). Is there a way

Re: GUIX 0.7 under QEMU/KVM with virtio

2014-10-04 Thread Ludovic Courtès
Hi, Assaf, Assaf Gordon skribis: > First, > I can provide another recipe: Thanks for the recipe. We should probably add a subsection on how to install to a VM image in the manual. Would you like to amend guix.texi for that? > Second, > I can confirm Nate's observation that using QEMU's "-usb

Re: Enable debugging by default for CMake?

2014-10-04 Thread Ludovic Courtès
Andreas Enge skribis: > On Mon, Sep 29, 2014 at 10:43:27AM +0200, Ludovic Courtès wrote: >> Apparently the default for CMake is to compile without -g, unlike what >> Autoconf-generated configure does. This is changed by passing >> ‘-DCMAKE_BUILD_TYPE=RelWithDebInfo’ as a c

Re: GUIX 0.7 under QEMU/KVM with virtio

2014-10-05 Thread Ludovic Courtès
Assaf Gordon skribis: > On 10/04/2014 04:42 PM, Ludovic Courtès wrote: > >>> Is there a way to fix this? force the kernel to load virto driver? >> >> Currently all the drivers needed to mount the root partition must be >> explicitly loaded in the initrd. S

Re: [PATCH 1/1] gnu: add feh

2014-10-05 Thread Ludovic Courtès
I agree with Alex’s comments. Ian, could you post an updated patch? Alex Kost skribis: > Ian Denhardt (2014-10-05 07:32 +0400) wrote: >> +(description (string-append >> + "feh is an X11 image viewer aimed mostly at console >> users. " >> + "Unlike most

Re: [PATCH] emacs: Add support for deleting generations.

2014-10-05 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-10-05 00:23 +0400) wrote: [...] >> To sum up, I would imagine two followups to this: >> >> 1. Move these procedures to (guix profiles). >> 2. Convert them to monadic style. >> >> WDYT? > > I like the

Re: [PATCH] emacs: Add support for deleting generations.

2014-10-05 Thread Ludovic Courtès
Alex Kost skribis: > Thanks for the comments, the updated patch is attached. I also fixed > another “i.e.” thing there and used ‘with-store’ in > ‘process-package-actions’ procedure as well. Is it OK to make these > changes in this commit (the ‘with-store’ change is small but many lines > were

Re: [PATCH] guix package: Export generation procedures.

2014-10-05 Thread Ludovic Courtès
Andreas Enge skribis: > So how about the following: > --switch-generation=1 > goes to generation 1; > --switch-generation=-1 > goes 1 generation back; > --switch-generation=+1 > goes one generation forward. Sounds like a good idea. Ludo’.

Re: Bags

2014-10-05 Thread Ludovic Courtès
I’ve merged the ‘wip-bags’ branch (which means you’ll find yourself downloading or rebuilding a number of things.) Please report any test suite failure or other problem. I would particularly welcome feedback from David wrt. the suitability for ‘guix environment’. :-) Ludo’.

Re: [PATCH] emacs: Add support for deleting generations.

2014-10-06 Thread Ludovic Courtès
Alex Kost skribis: > Pushed, thanks. Here is another patch for fixing ‘process-package-actions’. > > > From 6ef2a8b88007840ffa6648563356021770bbb6e6 Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Sun, 5 Oct 2014 23:52:52 +0400 > Subject: [PATCH] emacs: Use 'with-store' in 'process-package-a

Re: [PATCH 1/1] gnu: add feh

2014-10-06 Thread Ludovic Courtès
Ian Denhardt skribis: > * gnu/packages/feh.scm: New File I pushed the patch with a slightly tweaked commit message (gnu-system.am was not mentioned) and with: > +(license x11-style))) ... this changed to: +;; The license is really the Expat license, with additional wording in the +

Re: [PATCH] gnu: libxdamage: Move inputs to propagated-inputs

2014-10-06 Thread Ludovic Courtès
John Darrington skribis: > * gnu/packages/xorg.scm (libxdamage): Move all existing inputs > to propagated-inputs. OK! > +(propagated-inputs ; These are all in the Requires or Requires.private > field of xdamage.pc Please make it a double-semicolon comment on the next line. Thanks, Lud

Re: [PATCHv2 1/5] guix lint: make sure check-patches retrieves patch names.

2014-10-06 Thread Ludovic Courtès
Cyril Roelandt skribis: > * guix/lint (check-patches): Test the output of origin-patches. OK, please push. Ludo’.

Re: [PATCH 3/5] guix lint: check whether descriptions and synopses start with an upper-case letter.

2014-10-06 Thread Ludovic Courtès
Cyril Roelandt skribis: > On 09/28/2014 06:09 PM, Ludovic Courtès wrote: >> Cyril Roelandt skribis: >> >>> * guix/scripts/lint.scm (check-description-style, >>> check-synopsis-start-upper-case): New methods >>> * tests/lint.scm: Test them. >>

Re: [PATCHv2 3/5] guix lint: check whether descriptions and synopses start with an upper-case letter.

2014-10-06 Thread Ludovic Courtès
Cyril Roelandt skribis: > * guix/scripts/lint.scm (check-description-style, > check-synopsis-start-upper-case): New methods. > * tests/lint.scm ("description: does not start with an upper-case letter", > "synopsis: does not start with an upper-case letter"): New tests. LGTM, please push. Th

Re: [PATCH] gnu: clucene: Enable the contrib-libs.

2014-10-06 Thread Ludovic Courtès
John Darrington skribis: > * gnu/packages/rdf.scm (clucene): Enable the contribs-lib directory. LGTM. (Andreas is our Clucene expert now ;-), so you could leave him a one-day delay before committing just in case.) Ludo’.

Re: [PATCH] guix package: Add '--switch-generation' option.

2014-10-06 Thread Ludovic Courtès
Alex Kost skribis: > A patch is attached. Some comments: > > - ‘shitted-generation’ is not a very good name, I think. Ideas? ‘shifted-generation’ is better :-), but otherwise maybe ‘relative-generation’? No strong opinion. > - ‘previous-generation-number’ may use ‘shifted-generation’ now: >

Re: GUIX 0.7 under QEMU/KVM with virtio

2014-10-06 Thread Ludovic Courtès
Assaf Gordon skribis: > On 10/05/2014 08:29 AM, Ludovic Courtès wrote: >>>> I haven’t tried agetty, but it seems to have a hard-coded default login >>>> program of “/bin/login”, which doesn’t exist here. Could you try >>>> invoking it

Re: [PATCH] gnu: eudev: Update to 1.10.

2014-10-06 Thread Ludovic Courtès
"Jason Self" skribis: > From 9b0a71a35143ffbea75896960a5dc501b46ae87d Mon Sep 17 00:00:00 2001 > From: Jason Self > Date: Mon, 6 Oct 2014 11:58:40 -0700 > Subject: [PATCH 1/1] gnu: eudev: Update to 1.10. > > * gnu/packages/linux.scm (eudev): Update to version 1.10. OK to push if there’s no visi

Re: [PATCH] glib-or-gtk-build-system: new build-system

2014-10-06 Thread Ludovic Courtès
Federico Beffa skribis: > Please find attached a new build system for applications making use of > glib or gtk+. > It uses wrappers as previously discussed on this list. > > I've successfully tested it with three packages: emacs, libcanberra and gtk+. Excellent! Would be nice to check Evince an

Re: guix build failure

2014-10-06 Thread Ludovic Courtès
Federico Beffa skribis: > today I pulled from the git repository and now make stops with the > following error: [...] > In unknown file: >?: 2 [primitive-load-path "gnu/packages/which" ...] > In gnu/packages/which.scm: > 27: 1 [#] > In ice-9/boot-9.scm: > 106: 0 [# args)> unbound-variabl

Re: [PATCH] gnu: eudev: Update to 1.10.

2014-10-07 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > "Jason Self" skribis: > >> From 9b0a71a35143ffbea75896960a5dc501b46ae87d Mon Sep 17 00:00:00 2001 >> From: Jason Self >> Date: Mon, 6 Oct 2014 11:58:40 -0700 >> Subject: [PATCH 1/1] gnu: eudev: Update to 1.1

Re: guix build failure

2014-10-07 Thread Ludovic Courtès
Federico Beffa skribis: >> Not sure what happened. I just did ‘make clean-go && make’ with commit >> 177088a and it builds flawlessly. Perhaps try ‘make clean-go’? > > On top of make clean-go I had to delete the cached files in ~/.cache/... Oh, OK. Normally the local .go have higher precedenc

Re: [PATCH] guix package: Add '--switch-generation' option.

2014-10-07 Thread Ludovic Courtès
Alex Kost skribis: > Thanks, I've added a couple of tests. The new patches are attached. Thanks for the quick reply. > Further improvements (documentation may be unsatisfactory)? > From 9493421a4e094be6686ff6f28749946d491f81cd Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Tue, 7 Oct 201

Re: [PATCH 1/4] gnu: Add potrace.

2014-10-07 Thread Ludovic Courtès
Eric Bavier skribis: > From f178a122f3805cbc23119b20c2144cf2a59bed3f Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Tue, 7 Oct 2014 11:13:35 -0500 > Subject: [PATCH 1/4] gnu: Add potrace. > > * gnu/packages/fontutils.scm (potrace): New variable. This part looks good to me, but... > gnu/

Re: [PATCH 2/4] gnu: Add libspiro.

2014-10-07 Thread Ludovic Courtès
Eric Bavier skribis: > From f843feeef69ae5ebf56d3c4f342b589b5a726b39 Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Tue, 7 Oct 2014 11:14:39 -0500 > Subject: [PATCH 2/4] gnu: Add libspiro. > > * gnu/packages/fontutils.scm (libspiro): New variable. OK to push! Ludo’.

Re: [PATCH 3/4] gnu: Add libuninameslist.

2014-10-07 Thread Ludovic Courtès
Eric Bavier skribis: > From 6888ebc0265608ce5727d28666f92fa2101d03a8 Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Tue, 7 Oct 2014 11:18:36 -0500 > Subject: [PATCH 3/4] gnu: Add libuninameslist. > > * gnu/packages/fontutils.scm (libuninameslist): New variable. OK! Ludo'.

Re: [PATCH 4/4] gnu: Add fontforge.

2014-10-07 Thread Ludovic Courtès
Eric Bavier skribis: > From 32cbf42d1e8615cab130d0f58f3c16cd18d6ba01 Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Tue, 7 Oct 2014 11:20:20 -0500 > Subject: [PATCH 4/4] gnu: Add fontforge. > > * gnu/packages/fontutils.scm (fontforge): New variable. OK! > +(define-public fontforge > + (

Re: [PATCH 1/4] gnu: Add potrace.

2014-10-07 Thread Ludovic Courtès
Eric Bavier skribis: > Ludovic Courtès writes: > >> Eric Bavier skribis: >> >>> From f178a122f3805cbc23119b20c2144cf2a59bed3f Mon Sep 17 00:00:00 2001 >>> From: Eric Bavier >>> Date: Tue, 7 Oct 2014 11:13:35 -0500 >>> Subject: [PATCH 1/4]

Re: [PATCH] guix package: Add '--switch-generation' option.

2014-10-08 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-10-07 20:00 +0400) wrote: > >> Alex Kost skribis: [...] >> It’d be enough for me to just call ‘switch-symlinks’ and let it throw >> ‘system-error’ if something’s wrong. The exception will be caught, the >> user will s

Re: [PATCH] gnu: conkeror: install conkeror-spawn-helper.

2014-10-08 Thread Ludovic Courtès
Eric Bavier skribis: > From 16e2259eb3860686a30d40e94c4c5bd39d60dfe0 Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Tue, 7 Oct 2014 17:33:00 -0500 > Subject: [PATCH] gnu: conkeror: install conkeror-spawn-helper. > > * gnu/packages/conkeror.scm (conkeror)[build-system]: Change to > gnu-bu

Re: [PATCH] glib-or-gtk-build-system: new build-system

2014-10-08 Thread Ludovic Courtès
Federico Beffa skribis: > On Wed, Oct 8, 2014 at 9:28 AM, Federico Beffa wrote: >> Attached an updated patch. If it is fine, I will update the >> documentation in a separate patch to follow. > > I forgot to mention that I'm not sure how to update gnu-system.am. I > looked for cmake-build-system

Re: [PATCH] glib-or-gtk-build-system: new build-system

2014-10-08 Thread Ludovic Courtès
Federico Beffa skribis: > On Mon, Oct 6, 2014 at 11:32 PM, Ludovic Courtès wrote: >> Excellent! Would be nice to check Evince and EOG, which were known to >> have this kind of problem. > > I've checked Evince and it works fine. Great. > I couldn't find EOG.

Re: [PATCH] glib-or-gtk-build-system: new build-system

2014-10-08 Thread Ludovic Courtès
Federico Beffa skribis: > On Wed, Oct 8, 2014 at 12:04 PM, Ludovic Courtès wrote: >> Federico Beffa skribis: >>> I've checked Evince and it works fine. >> > > By the way, note that when started, it complains about missing > libcanberra as does em

Re: [PATCH] gnu: cmake: Use our curl, zlib, expat, bzip2, and libarchive.

2014-10-08 Thread Ludovic Courtès
Eric Bavier skribis: > Sending this patch to the list, as it would likely cause a lot of > rebuilds. > > > From c824d34faecc173bafc513d0b2052597a46dddfd Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Wed, 8 Oct 2014 11:55:40 -0500 > Subject: [PATCH] gnu: cmake: Use our curl, zlib, expat, b

Re: ui: Move 'show-manifest-transaction' from (guix profiles).

2014-10-08 Thread Ludovic Courtès
Alex Kost skribis: >?: 16 [primitive-load-path "guix/profiles" ...] > In guix/profiles.scm: > 21: 15 [#] > In ice-9/boot-9.scm: > 2951: 14 [define-module* (guix profiles) #:filename ...] > 2926: 13 [resolve-imports (((guix utils)) ((guix records)) ((guix > derivations)) ...)] > 2864: 12 [r

Re: [PATCH] glib-or-gtk-build-system: added documentation

2014-10-08 Thread Ludovic Courtès
I took the freedom to slightly amend the text (see diff below), tweaked the commit log, and pushed it. Thanks! Ludo’. diff --git a/doc/guix.texi b/doc/guix.texi index 36337f1..ed2b81b 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1644,27 +1644,27 @@ debugging information''), which roughly m

Re: [PATCH] gnu: icecat: Update to 31.1.1

2014-10-09 Thread Ludovic Courtès
Mark H Weaver skribis: > Mark H Weaver writes: >> This is technically a pre-release, but given that our current Icecat has >> at least one security hole (and probably others), and fails to build on >> i686, I'm inclined to push it to master immediately. > > After some more testing, I went ahead

Re: [PATCH] scripts: Add 'environment' command.

2014-10-09 Thread Ludovic Courtès
Hey! David Thompson skribis: > The purpose of 'guix environment' is to assist hackers in creating > reproducible development environments without polluting their package > profile. 'guix environment' takes a package (or packages), builds all > of the necessary inputs, and creates a shell enviro

Re: Having trouble packaging 'tidy'

2014-10-09 Thread Ludovic Courtès
I had packaged it in Nixpkgs and I ended up using a CVS checkout. However, you would need to first write (guix cvs-download), based on (guix svn-download). :-) Ludo’.

Re: ui: Move 'show-manifest-transaction' from (guix profiles).

2014-10-09 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-10-08 23:55 +0400) wrote: [...] >> However, back to the initial problem, is this a problem if the error >> conditions are defined in (guix profiles), which is then imported by >> (guix ui)? This is suboptimal, but this kind

Re: [PATCH] glib-or-gtk-build-system: new build-system

2014-10-09 Thread Ludovic Courtès
Federico Beffa skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Not sure. Is libcanberra dlopened? Do you know what dlopens it, and >> whether it systematically does? > > I've not found out. I'm attaching the strace log of evince (actually > the w

Re: [PATCH] gnu: icu4c: Correct error in the binaries' runpath

2014-10-09 Thread Ludovic Courtès
John Darrington skribis: > * gnu/packages/icu4c.scm (icu4c): Apply the RUNPATH to the binaries, > instead of the libs OK to commit, thanks. Ludo’.

Re: ui: Move 'show-manifest-transaction' from (guix profiles).

2014-10-09 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > There’s: > > (guix store) -> (guix nar) -> (guix ui) -> (guix store) ... Commit 0363991 fixes that. (Now we must make sure we don’t reintroduce cycles in these modules; probably we should integrate Mark’s cycle detection script some

Re: [PATCH] gnu: Add perl-zip.

2014-10-10 Thread Ludovic Courtès
John Darrington skribis: > * gnu/packages/zip.scm (perl-zip): New variable. OK! Thanks. Ludo’.

Re: ui: Move 'show-manifest-transaction' from (guix profiles).

2014-10-10 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-10-10 02:08 +0400) wrote: [...] >> This is bikeshedding, but I would make a hierarchy like this: >> >> &profile-er

Re: [PATCH] scripts: Add 'environment' command.

2014-10-10 Thread Ludovic Courtès
David Thompson skribis: > From 26cac530c7a1f69864fc819bdc14553eacd9dc23 Mon Sep 17 00:00:00 2001 > From: David Thompson > Date: Sun, 21 Sep 2014 13:40:05 -0400 > Subject: [PATCH] scripts: Add 'environment' command. > > * guix/scripts/environment.scm: New file. > * Makefile.am (MODULES): Add it.

Re: [PATCH] glib-or-gtk-build-system: new build-system

2014-10-10 Thread Ludovic Courtès
Federico Beffa skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Not sure. Is libcanberra dlopened? Do you know what dlopens it, and >> whether it systematically does? > > I've not found out. I'm attaching the strace log of evince (actually > the w

Re: [PATCH] gnu: Add perl-zip.

2014-10-10 Thread Ludovic Courtès
John Darrington skribis: > * gnu/packages/zip.scm (perl-zip): New variable. Looks better, OK to commit (and thanks, Eric.) Ludo’.

Re: [PATCH] guix: refresh: Use bags.

2014-10-10 Thread Ludovic Courtès
Eric Bavier skribis: > This patch allows the `guix refresh --list-dependent` option to be more > accurate in its dependency reporting, mostly by taking into account > implicit dependencies generated at the build-system level (thanks to our > new wonderful bags). Cool! > From ebc348a37addd53bab2

Re: [PATCH] scripts: Add 'environment' command.

2014-10-10 Thread Ludovic Courtès
David Thompson skribis: >> I didn’t mention it before but it would be wonderful if you could come >> up with a little test case. It’s a bit difficult, esp. since the tests >> cannot assume that will download & build the world. So basically the >> test could do, in a tests/guix-environment.sh sc

GNU Hackers Meeting talk on-line

2014-10-11 Thread Ludovic Courtès
The video of my talk at the 2014 GHM is now online: http://www.gnu.org/software/guix/#talks (Sound is not very good.) The other GHM videos are at: http://audio-video.gnu.org/video/ghm2014/ Big thanks to those who made it possible, and in particular to Luca Saiu, Sree Harsha Totakura, and B

Re: [PATCH] glib-or-gtk-build-system: new build-system

2014-10-11 Thread Ludovic Courtès
(Adding guix-devel, which I think was dropped by mistake.) Federico Beffa skribis: > On Fri, Oct 10, 2014 at 10:29 PM, Ludovic Courtès wrote: [...] >> So I’m pretty clueless. Could it be that it receives some message over >> D-Bus (on your machine) telling it to load the th

Re: [PATCH] scripts: Add 'environment' command.

2014-10-11 Thread Ludovic Courtès
David Thompson skribis: > Fixed typo and pushed! Yay! I just noticed that ‘guix environment foo’, without -E, doesn’t work for me because my .bashrc & co. reset PATH, CPATH, etc. Conversely, ‘guix environment foo -E /bin/sh’ works, because when invoked as ‘sh’, Bash does not read .bashrc. I’m

Re: [PATCH] scripts: Add 'environment' command.

2014-10-11 Thread Ludovic Courtès
David Thompson skribis: > I don't think it's something "wrong" with your files, really, but it is > incompatible with the way 'guix environment' currently operates. > > I took another look at nix-build to see how they do things. They create > a bashrc file in a temporary directory and run bash (

Re: ui: Move 'show-manifest-transaction' from (guix profiles).

2014-10-11 Thread Ludovic Courtès
Alex Kost skribis: > OK, I have not pushed anything yet, as the commits were changed a bit. > I'm attaching all 3 patches for adding “Switch to generation” support. > Everything seems OK now (at least “make check” does not fail anymore), > so if you don't have final comments, I would like to comm

Re: [PATCH 1/4] gnu: Add imake.

2014-10-11 Thread Ludovic Courtès
Eric Bavier skribis: > From f311e2b1a081e4fd6c8bd3c3b9b2c2654d75f53c Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Fri, 10 Oct 2014 13:06:33 -0500 > Subject: [PATCH 1/4] gnu: Add imake. > > * gnu/packages/xorg.scm (imake): New variable. [...] > +(define xorg-cf-files > + (origin > +

Re: [PATCH 2/4] gnu: libjpeg: Upgrade to version 9a.

2014-10-11 Thread Ludovic Courtès
Eric Bavier skribis: > From 88a4cc3aa53c73186b5dbb85bf03b2138f24c825 Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Fri, 10 Oct 2014 13:07:55 -0500 > Subject: [PATCH 2/4] gnu: libjpeg: Upgrade to version 9a. > > * gnu/packages/image.scm (libjpeg): Upgrade to version 9a. OK. Ludo'.

Re: [PATCH 3/4] gnu: Add xfig.

2014-10-11 Thread Ludovic Courtès
Eric Bavier skribis: > From fca4924a98e06ec0d2877b14f074515a2a970605 Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Fri, 10 Oct 2014 13:10:42 -0500 > Subject: [PATCH 3/4] gnu: Add xfig. > > * gnu/packages/xfig.scm: New file. > * gnu-system.am (GNU_SYSTEM_MODULES): Add it. Nice, looks good

Re: [PATCH 4/4] gnu: Add transfig.

2014-10-11 Thread Ludovic Courtès
Eric Bavier skribis: > From ece0a8dec5d95ccf84156e9e6c0c582639163b1e Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Fri, 10 Oct 2014 13:11:22 -0500 > Subject: [PATCH 4/4] gnu: Add transfig. > > * gnu/packages/xfig.scm (transfig): New variable. OK! > +(lambda* (#:key inputs output

Re: [PATCH] guix: refresh: Use bags.

2014-10-11 Thread Ludovic Courtès
Eric Bavier skribis: > Ludovic Courtès writes: > >> I’m surprised gzip, diffutils, patch, and tar are very low, even though >> they’re part of %final-inputs. Conversely, bzip2 (also part of >> %final-inputs) is higher. >> >> Any idea? > > I think t

Re: [Ghm-discuss] GNU Hackers Meeting talk on-line

2014-10-12 Thread Ludovic Courtès
John Darrington skribis: > On Sat, Oct 11, 2014 at 11:47:41AM +0200, Ludovic Court??s wrote: > The video of my talk at the 2014 GHM is now online: > >http://www.gnu.org/software/guix/#talks > > (Sound is not very good.) > > This seems to be a recurring problem

Rebuilds and branches

2014-10-12 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Eric Bavier skribis: >> >>> From 88a4cc3aa53c73186b5dbb85bf03b2138f24c825 Mon Sep 17 00:00:00 2001 >>> From: Eric Bavier >>> Date: Fri, 10 Oct 2014 13:07:55 -0500 >>> Su

Re: Rebuilds and branches

2014-10-12 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Mark H Weaver skribis: >> >>> l...@gnu.org (Ludovic Courtès) writes: >>> >>>> Eric Bavier skribis: >>>> >>>>> From 88a4cc3aa53c73186b5dbb85bf03b2138f2

Re: [PATCH] guix lint: add the --checkers option.

2014-10-12 Thread Ludovic Courtès
Cyril Roelandt skribis: > * guix/scripts/lint.scm: add the "--checkers" option. > * doc/guix.texi: Update "Invoking guix lint". Rather: * doc/guix.texi (Invoking guix lint): Document it. > * tests/guix-lint.sh: New file > * Makefile.am (SCM_TESTS): Add it. [...] > +@item --checkers > +@ite

Re: [PATCH 2/2] emacs: Add support for switching generations.

2014-10-12 Thread Ludovic Courtès
Alex Kost skribis: > Thanks, pushed. Now I would like to add support for switching > generations from Emacs UI. The patches for that are attached. > > Currently there is no way to see what generation is the current one – > the first patch will fix it (additional column is added to *Guix > Gener

Re: Setting environment variables in .bashrc vs .bash_profile

2014-10-12 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> I just noticed that ‘guix environment foo’, without -E, doesn’t work for >> me because my .bashrc & co. reset PATH, CPATH, etc. >> >> Conversely, ‘guix environment foo -E /bin/sh’ works, bec

Re: [ANN] Guile-SSH 0.7.0 released

2014-10-12 Thread Ludovic Courtès
Hi, Commit 817efe8 updates to Guile-SSH 0.7.1 (with commit e370381 adding the libssh patch), and no test failures, thanks! BTW, Guile-SSH has an explicit #include somewhere, so it needs libgcrypt as a direct dependency now, but ./configure doesn’t explicitly check for it. Ludo’.

Grafts

2014-10-13 Thread Ludovic Courtès
Hello, I pushed ‘wip-grafts’, a branch that implements “grafts.” Normally security updates deep in the DAG, such as an update of Bash or libc, cause a rebuild of everything, which can some time, as we’ve seen lately. The idea of grafts is to graft the fixed package on any packages users may want

Re: [PATCH] gnu: Add xboing

2014-10-13 Thread Ludovic Courtès
John Darrington skribis: > * gnu/packages/games.scm (xboing): New variable. [...] > +(inputs `(("libx11" ,libx11) > + ("libxext" ,libxext) > + ("libxpm" ,libxpm))) > +(native-inputs `(("imake" ,imake) > + ("inetutils" ,inetutils) > +

Re: [PATCH] gnu: Add xboing

2014-10-13 Thread Ludovic Courtès
John Darrington skribis: > On Mon, Oct 13, 2014 at 02:27:48PM +0200, Ludovic Court??s wrote: > John Darrington skribis: > > > * gnu/packages/games.scm (xboing): New variable. > > [...] > > > +(inputs `(("libx11" ,libx11) > > +("libxext" ,libxe

Re: [PATCH] gnu: Add xboing

2014-10-13 Thread Ludovic Courtès
John Darrington skribis: > On Mon, Oct 13, 2014 at 03:54:50PM +0200, Ludovic Court??s wrote: > > Emacs 23+ loads it automatically. Otherwise, drop: > >(setq indent-tabs-mode nil) > > somewhere in ~/.emacs. > > Thanks! > > But it still tends to format > (argu

Re: [PATCH] guix: refresh: Use bags.

2014-10-13 Thread Ludovic Courtès
Eric Bavier skribis: > Ludovic Courtès writes: > >> Eric Bavier skribis: >> >>> Ludovic Courtès writes: [...] >> Of course it would be good to use the full DAG. For that we’d need >> something that uses ‘fold-packages’ to get the “entry points” of t

Re: [PATCH] gnu: Add xboing

2014-10-13 Thread Ludovic Courtès
John Darrington skribis: > * gnu/packages/games.scm (xboing): New variable. OK, thanks. Ludo’.

Re: [PATCH] guix: refresh: Use bags.

2014-10-14 Thread Ludovic Courtès
Eric Bavier skribis: > Ludovic Courtès writes: > >> Eric Bavier skribis: >> >>> This patch may need to go in core-updates. >> >> Why? > > Would changes in gnu/packages.scm not trigger rebuilds for most > packages? No, because this file is just

Re: [PATCH] emacs: Support auto-updating after performing REPL operation.

2014-10-14 Thread Ludovic Courtès
Alex Kost skribis: > Currently when a user performs some REPL operation using Emacs UI – > e.g. installs a package from *Guix Package Info* buffer, information in > that buffer stays the same, and he needs to press "g" there to revert > the buffer. By “information in the buffer”, what do you hav

Re: [PATCH] emacs: Support auto-updating after performing REPL operation.

2014-10-14 Thread Ludovic Courtès
Alex Kost skribis: > The attached patches will add that missing feature: after finishing a > REPL operation, a buffer from which this operation was performed will be > automatically updated. It seems the second patch also applies to the *Guix Generation List* buffer, right? Ludo’.

Re: Things to do for 0.8

2014-10-14 Thread Ludovic Courtès
Some things didn’t work out as expected, but I think the time has come to get ready for another release, within 2–4 weeks ideally. Comments on what was planned and what’s left to be done: > - ‘ungexp-native’ added, like ‘ungexp’, but to allow a gexp to > explicitly refer to a native package

Re: bug#18524: Guix unable to download from github due to TLS fatal alert

2014-10-14 Thread Ludovic Courtès
I had managed to bork ‘set-session-server-name!’ in GnuTLS (which addresses this bug), so this is fixed in commit 5186158 and upstream: . Sorry about that! Ludo’.

Re: Grafts

2014-10-15 Thread Ludovic Courtès
Mark H Weaver skribis: > If you want a real example, upstream bash is at 4.3.30, whereas we only > have 4.3.27. Yes, I have it in my working tree, and will push shortly. :-) Ludo’.

Re: [PATCH v2] guix lint: add the --checkers option.

2014-10-15 Thread Ludovic Courtès
Cyril Roelandt skribis: > * guix/scripts/lint.scm: add the "--checkers" option. > * doc/guix.texi (Invoking guix lint): Document it. > * tests/guix-lint.sh: New file > * Makefile.am (SCM_TESTS): Add it. [...] > +export GUIX_PACKAGE_PATH=$module_dir I had overlooked this, but it’s also a Bash e

Re: [PATCH] emacs: Support auto-updating after performing REPL operation.

2014-10-15 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-10-14 23:17 +0400) wrote: > >> Alex Kost skribis: >> >>> Currently when a user performs some REPL operation using Emacs UI – >>> e.g. installs a package from *Guix Package Info* buffer, information in >>>

Re: [PATCH] emacs: Support auto-updating after performing REPL operation.

2014-10-15 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-10-14 23:22 +0400) wrote: > >> Alex Kost skribis: >> >>> The attached patches will add that missing feature: after finishing a >>> REPL operation, a buffer from which this operation was performed will be >>&

Re: [PATCH] emacs: Support auto-updating after performing REPL operation.

2014-10-15 Thread Ludovic Courtès
Given that the concerns I raised were already addressed, of course feel free to push these two patches! Ludo’.

Re: [PATCH 2/3] guix import pypi: do not add "python-" to a package name if it's already there.

2014-10-16 Thread Ludovic Courtès
David Thompson skribis: > Cyril Roelandt writes: > >> * guix/import/pypi.scm (make-pypi-sexp): test whether the package name starts >> with "python-" before modifying it. >> --- >> guix/import/pypi.scm | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/guix/import/

Re: [PATCH] emacs: Add 'guix-generations-by-time' command.

2014-10-16 Thread Ludovic Courtès
Alex Kost skribis: > I think sometimes it may be useful to select generations for a > particular period of time. > > > From 91cbf61d8cfb978a877f8c9f1b2174ffd3616556 Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Thu, 16 Oct 2014 21:35:47 +0400 > Subject: [PATCH] emacs: Add 'guix-generations-

Re: Updating gnu-usb-install-0.7 to latest

2014-10-16 Thread Ludovic Courtès
Adam Pribyl skribis: > I am trying to find a way to update the existing installation of guix > I did from gnu-usb-install-0.7 image to latest state of art, but guix > pull fails... could someone point me how to do this, or is it not > possible ATM? You’ll have to run ‘guix pull’ from a recent ch

Re: [PATCH] emacs: Improve interface for working with multiple profiles.

2014-10-17 Thread Ludovic Courtès
Alex Kost skribis: > The main changes are: > > - Now default buffer names look like this: > > *Guix Package List: guix-profile* > *Guix Package Info: test4* > > i.e., a buffer name contains a name of a profile used by this buffer. Neat! > - All commands for displaying generations and

Re: [PATCH] emacs: Improve interface for working with multiple profiles.

2014-10-17 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-10-17 23:29 +0400) wrote: > >> Alex Kost skribis: > > [...] > >> What about renaming ‘guix-set-current-profile’ to >> ‘guix-set-default-profile’? Because now, what it does is just to define >> the profile

Re: Grafts

2014-10-17 Thread Ludovic Courtès
The current status of ‘wip-grafts’ is that it works, there’s no performance issue, etc. However, the ‘graft-derivation’ procedure is not recursive: it grafts the derivation you give it, but doesn’t graft its dependencies. Thus, only direct references are grafted, which isn’t so great: $ guix g

Re: [PATCH 1/1] Factor out a common pattern into a procedure.

2014-10-19 Thread Ludovic Courtès
John Darrington skribis: > On Sat, Oct 18, 2014 at 10:03:42PM -0400, Ian Denhardt wrote: Thanks, Ian, for working on it! [...] > +(define (version-take-api version-string) > + "Return \".\", where major and minor are the major and > +minor version numbers from version-string."

Re: [PATCH] gnu: Add sane-backends

2014-10-19 Thread Ludovic Courtès
John Darrington skribis: > * gnu/packages/scanner.scm: New file. > * gnu-system.am (gnu/packages/scanner.scm): Add it. Should be: * gnu-system.am (GNU_SYSTEM_MODULES): Add it. > + #:use-module ((guix licenses) > +#:renamer (symbol-prefix-proc 'license:))) Use: #:prefix li

Re: [PATCH] gnu: Add sane-backends

2014-10-19 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > John Darrington skribis: [...] >> + (uri (string-append >> + "http://fossies.org/linux/misc/"; name "-" version >> ".tar.gz")) >> + ;;

Re: [PATCH] gnu: Add sane-backends

2014-10-19 Thread Ludovic Courtès
John Darrington skribis: > +;; It would seem that tests are not maintained - fails with > +;; the following: > +;; > +;; < This page was last updated on Wed Jul 31 07:52:48 2013 > +;; < by sane-desc 3.5 from sane-backends 1.0.24git > +;; --- > +;; > This page was last

Re: [PATCH 1/1] Factor out a common pattern into a procedure.

2014-10-19 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> John Darrington skribis: >> >>> How about something like (string-take-fields "1.22.3.04.5" 3) which would >>> return "1.22.3" >> >> Agreed. What ‘versio

Re: [PATCH] gnu: Add sane-backends

2014-10-19 Thread Ludovic Courtès
John Darrington skribis: > On Sun, Oct 19, 2014 at 07:44:28PM +0200, Ludovic Court??s wrote: > John Darrington skribis: > > > +;; It would seem that tests are not maintained - fails with > > +;; the following: > > +;; > > +;; < This page was last up

Re: [PATCH 1/1] Factor out a common pattern into a procedure.

2014-10-19 Thread Ludovic Courtès
Ian Denhardt skribis: > How about this: separate it out into to functions: version-prefix, which > is the same as what I have now, but takes a (mandatory) argument > specifying the number of fields, and feature-version, which is defined > like: > > (define (feature-version version) (version-p

Re: [PATCH v2 1/1] Factor out a common pattern into a procedure.

2014-10-20 Thread Ludovic Courtès
Ian Denhardt skribis: > The procedure version-prefix truncates a version string to a certain > number of components. version-major+minor is a special case of this, > which extracts the "major.minor" part of the string. Previously this > was handled by an expression common to several packages. > >

Re: Update sqlite

2014-10-25 Thread Ludovic Courtès
Hi! Andreas Enge skribis: > needing sqlite, I wondered if I could not quickly update it to the latest > version. It appears that sqlite-large-page-size-fix.patch does not apply > any more. Mark, as you added it, could you maybe check if it is still needed? I can’t tell for the MIPS patch, but ‘

Re: [PATCH] guix: refresh: Use bags.

2014-10-25 Thread Ludovic Courtès
Eric Bavier skribis: > Ludovic Courtès writes: > >> Eric Bavier skribis: >> >>> Ludovic Courtès writes: >>> >>> From 1d22367e0806cea004631e22a782b7db3ffe65b0 Mon Sep 17 00:00:00 2001 >>> From: Eric Bavier >>> Date: Mon, 13 Oct 2

  1   2   3   4   5   6   7   8   9   10   >