Re: [PATCH -v2 2/2] guix: profiles: create fonts.dir/scale for all fonts directories

2017-03-07 Thread huang ying
On Wed, Mar 8, 2017 at 4:24 AM, Danny Milosavljevic wrote: > Hi, > >> +(with-directory-excursion dir >> + (and (file-exists? fonts-scale-file) >> + (delete-file fonts-scale-file)) >> +

Re: [PATCH -v2 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-07 Thread huang ying
On Wed, Mar 8, 2017 at 4:35 AM, Danny Milosavljevic wrote: > Hi, > > On Tue, 7 Mar 2017 19:07:48 +0800 > Huang Ying wrote: > >> * guix/build/union.scm (union-build): Add create-all-directories? keyword >> parameter. To add/remove some files from the directory. > > Maybe without "To add/remove

Re: Let’s freeze and build ‘core-updates’!

2017-03-07 Thread Leo Famulari
On Tue, Mar 07, 2017 at 02:59:39PM +0100, Ludovic Courtès wrote: > I guess it could be called ‘xorg-server-1.9.12’ and technically inherit > from ‘xorg-server’ but override the version and source. I've attached patches updating xorg-server and creating a special package to be used for building GTK

Re: core-updates: flex is broken [was: GRUB fails to build]

2017-03-07 Thread Leo Famulari
On Mon, Mar 06, 2017 at 11:14:37AM +0100, Ludovic Courtès wrote: > Any idea how many packages aside from GRUB are affected? Would it work > to simply provide the old Flex in addition to the new one, and have GRUB > use it? I don't have a good idea yet. When reconfiguring my headless GuixSD system

Re: [PATCH] Fix & update guile-lib to 0.2.5

2017-03-07 Thread David Pirotte
Hi, > > Running test suite: -suite --- > > Running test case: test-util-equivalent-to-class > > Running test case: test-fill-equivalent-to-joined-lines > > Running test case: test-no-collapse-ws > > Running test case: test-no-word-break > > test-util-equivalent-to-class: except

Using cross-compiler and host compiler in the same package

2017-03-07 Thread Danny Milosavljevic
Hi, I wanted to make sunxi-tools also compile the target tools. If one is on a non-armhf architecture some of the programs need to be compiled with an armhf cross compiler and some (almost all) need to be compiled using the host compiler. Since the cross compiler is called "arm-linux-gnueabih

Re: [PATCH 4/4] services: openssh: Add 'subsystems' option.

2017-03-07 Thread Clément Lassieur
> Hi ng0, > > On Sun, 5 Mar 2017 14:50:26 + > ng0 wrote: > >> What I take from the discussion is, all is good to go except for >> subsystems. I'm okay with reviewing subsystems as an individual patch >> later on. For me this works. Push the 3 patches, and send the subsystems >> one later as a

Re: [PATCH -v2 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-07 Thread Danny Milosavljevic
> "Build in the OUTPUT directory a symlink tree that is the union of all > the INPUTS. As a special case, if CREATE-ALL-DIRECTORIES?, creates > the direct subdirectories in the output directory to make sure the > user can add to them later." Or without "direct" if it's intended to do it re

Re: [PATCH 4/4] services: openssh: Add 'subsystems' option.

2017-03-07 Thread Danny Milosavljevic
Hi ng0, On Sun, 5 Mar 2017 14:50:26 + ng0 wrote: > What I take from the discussion is, all is good to go except for > subsystems. I'm okay with reviewing subsystems as an individual patch > later on. For me this works. Push the 3 patches, and send the subsystems > one later as a new discussi

Re: [PATCH -v2 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-07 Thread Danny Milosavljevic
Hi, On Tue, 7 Mar 2017 19:07:48 +0800 Huang Ying wrote: > * guix/build/union.scm (union-build): Add create-all-directories? keyword > parameter. To add/remove some files from the directory. Maybe without "To add/remove some files from the directory." ? If you'd like to document your new fu

Re: [PATCH -v2 2/2] guix: profiles: create fonts.dir/scale for all fonts directories

2017-03-07 Thread Danny Milosavljevic
Hi, > +(with-directory-excursion dir > + (and (file-exists? fonts-scale-file) > + (delete-file fonts-scale-file)) > + (and (file-exists? fonts-dir-file) > +

Re: [Whonix-devel] GNU Guix Questions

2017-03-07 Thread bancfc
On 2017-03-07 12:05, ng0 wrote: On 17-03-07 00:59:08, ban...@openmailbox.org wrote: On 2017-03-06 17:15, ng0 wrote: > Hi bancfc, > Hi ng0, great to see you here :) > On 17-03-06 16:14:08, ban...@openmailbox.org wrote: > > Hi Guix devs, I am a privacy distro dev and we are looking at using > >

[PATCH 1/2] gnu: octave: Build with curl and graphicsmagick.

2017-03-07 Thread Arun Isaac
* gnu/packages/maths.scm (octave)[inputs]: Add curl and graphicsmagick. --- gnu/packages/maths.scm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 9533f5f0a..d274d50bb 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packag

[PATCH 2/2] gnu: graphicsmagick: Build with 16 bit quantum depth.

2017-03-07 Thread Arun Isaac
Octave requires graphicsmagick to be built with 16 bit quantum depth. * gnu/packages/imagemagick.scm (graphicsmagick)[arguments]: Add "--with-quantum-depth=16" to #:configure-flags. --- gnu/packages/imagemagick.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/imagemagick.scm

Re: [PATCH 1/2] gnu: octave: Build with curl and graphicsmagick.

2017-03-07 Thread ng0
Arun Isaac transcribed 4.8K bytes: > * gnu/packages/maths.scm (octave)[inputs]: Add curl and graphicsmagick. > --- > gnu/packages/maths.scm | 107 > + > 1 file changed, 55 insertions(+), 52 deletions(-) > > diff --git a/gnu/packages/maths.scm b/gnu

[PATCH 1/2] gnu: octave: Build with curl and graphicsmagick.

2017-03-07 Thread Arun Isaac
* gnu/packages/maths.scm (octave)[inputs]: Add curl and graphicsmagick. --- gnu/packages/maths.scm | 107 + 1 file changed, 55 insertions(+), 52 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 9533f5f0a..3abdf5375 100

[PATCH 2/2] gnu: graphicsmagick: Build with 16 bit quantum depth.

2017-03-07 Thread Arun Isaac
Octave requires graphicsmagick to be built with 16 bit quantum depth. * gnu/packages/imagemagick.scm (graphicsmagick)[arguments]: Add "--with-quantum-depth=16" to #:configure-flags. --- gnu/packages/imagemagick.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/imagemagick.scm

Re: guix system delete-generations -- advice?

2017-03-07 Thread Thomas Danckaert
From: l...@gnu.org (Ludovic Courtès) Subject: Re: guix system delete-generations -- advice? Date: Tue, 07 Mar 2017 15:42:44 +0100 One thing I'm not satisfied with is this: `reinstall-grub' does not reproduce custom grub menu entries added in the (grub-configuration) section of a system's bootl

Re: [PATCH] Fix & update guile-lib to 0.2.5

2017-03-07 Thread Maxim Cournoyer
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: > Hi Maxim, > > Maxim Cournoyer skribis: > >> From 34ffe35bb78409d255f1987d38d7ce4fe77f12d3 Mon Sep 17 00:00:00 2001 >> From: Maxim Cournoyer >> Date: Sat, 4 Mar 2017 22:10:41 -0800 >> Subject: [PATCH] gnu: guile-lib: Update to 0.2.5 >> >> The

Re: [PATCH] Fix & update guile-lib to 0.2.5

2017-03-07 Thread Ludovic Courtès
Hi Maxim, Maxim Cournoyer skribis: > From 34ffe35bb78409d255f1987d38d7ce4fe77f12d3 Mon Sep 17 00:00:00 2001 > From: Maxim Cournoyer > Date: Sat, 4 Mar 2017 22:10:41 -0800 > Subject: [PATCH] gnu: guile-lib: Update to 0.2.5 > > The build was broken since the URL of version 0.2.3 was changed. The

Summer of code!

2017-03-07 Thread Ludovic Courtès
Hello Guix! Last week GNU was accepted as an organization for Google’s Summer of Code (GSoC), which means we can have students working on Guix and the Shepherd. Now’s the time to recruit! If you’d like to mentor, please follow the instructions in this email: https://lists.gnu.org/archive/html

[PATCH -v2 2/2] guix: profiles: create fonts.dir/scale for all fonts directories

2017-03-07 Thread Huang Ying
* guix/profiles.scm (fonts-dir-file): Create fonts.dir/scale files for all fonts directories. --- guix/profiles.scm | 56 ++- 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/guix/profiles.scm b/guix/profiles.scm index de82eae34.

[PATCH -v2 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-07 Thread Huang Ying
* guix/build/union.scm (union-build): Add create-all-directories? keyword parameter. To add/remove some files from the directory. --- guix/build/union.scm | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/guix/build/union.scm b/guix/build/union.scm index 6640b5652..

[PATCH Resend] services: dict.scm: Support more dicod configuration

2017-03-07 Thread Huang Ying
* gnu/services/dict.scm (): Rename databases to items to reflect more general configuration. (): Add new record type to describe handler (module). (): Add more fields. (dicod-configuration-file): Support convert more configuration items to config file. --- gnu/services/dict.scm | 50

Re: 'guix build --target=' handling questions

2017-03-07 Thread Ludovic Courtès
Sergei Trofimovich skribis: > About the 'guix environment --target=' / 'guix build --target=' part or > question: > > Would it make sense to have '--target=' support in 'guix environment' tool or > is it > too tricky? I think it would make sense (at least without --ad-hoc) and shouldn’t be too

Re: [WIP Patch] tripwire; "install" duplicate filenames?

2017-03-07 Thread Ludovic Courtès
Danny Milosavljevic skribis: > Hi, > > does anyone know how I can easily fix "install" complaining about a file > being specified multiple times (in an upstream project)? > > The error messages I get (among other similar ones): > > /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/

Re: [V2 PATCH 1/1] services: Add agetty service.

2017-03-07 Thread Ludovic Courtès
Leo Famulari skribis: > Veering off-topic, I wonder what created that device node /dev/ttyS1? I > have 32 of them, but (gnu build linux-boot) appears to only create the > first one: udev did! Ludo’.

Re: guix system delete-generations -- advice?

2017-03-07 Thread Ludovic Courtès
Hi Thomas, and apologies for the delay! Thomas Danckaert skribis: > I added `guix system delete-generations' in my git checkout, WIP patch > attached. I had started to adapt the corresponding code from `guix > package delete-generations', but then realized that > `delete-matching-generations` f

Re: Let’s freeze and build ‘core-updates’!

2017-03-07 Thread Ludovic Courtès
Leo Famulari skribis: > On Mon, Mar 06, 2017 at 04:39:56PM +0100, Ludovic Courtès wrote: >> It’s been 3 days since their message and it hasn’t happened yet, so >> perhaps we should simply run autoreconf. >> >> Thoughts? > > Okay. > >> BTW, xorg-server is a build-time dependency of gtk+@3 (for te

Re: GNU Guix Questions

2017-03-07 Thread Ludovic Courtès
Hi! ban...@openmailbox.org skribis: > * Does Guix defend against the variety of attacks described in the TUF > threat model document? (described in link below) How resilient is it > against key compromise? (TUF was designed from the ground up to > provide a highly resilient and secure update fram

Re: gnu-patches back log

2017-03-07 Thread Ricardo Wurmus
Catonano writes: > Wrapping up, I think 2 interesting ideas popped up in this thread > > One is the automation of building of new packages patches I wouldn’t know how to set this up. Hydra isn’t powerful enough for our *current* purposes, so I wouldn’t want to increase the load at this point.

Re: gnu-patches back log

2017-03-07 Thread Hartmut Goebel
Am 06.03.2017 um 17:14 schrieb Ludovic Courtès: > add Reviewed-by tags Can git add this automatically? Otherwise it would mean additional manual work. -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com | compilers which y

Re: [Whonix-devel] GNU Guix Questions

2017-03-07 Thread ng0
On 17-03-07 00:59:08, ban...@openmailbox.org wrote: > On 2017-03-06 17:15, ng0 wrote: > > Hi bancfc, > > > > Hi ng0, great to see you here :) > > > On 17-03-06 16:14:08, ban...@openmailbox.org wrote: > > > Hi Guix devs, I am a privacy distro dev and we are looking at using > > > Guix in > > > ou

[PATCH WIP] linux-initrd: Add a raw-initrd and use it to define base-initrd.

2017-03-07 Thread Mathieu Othacehe
* gnu/system/linux-initrd.scm (raw-initrd): New exported variable. (base-initrd): Use raw-initrd to build the initrd. --- Hi Guix, Here's a draft patch to provide a raw-initrd. The raw-initrd doesn't try to guess kernel modules to be included in the initrd. It has been discussed here : https://l