[PATCH 1/1] gnu: httpd: Fix CVE-2016-8740.

2016-12-05 Thread Leo Famulari
* gnu/packages/patches/httpd-cve-2016-8740.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/web.scm (httpd)[source]: Use it. --- gnu/local.mk | 1 + gnu/packages/patches/httpd-cve-2016-8740.patch | 43 ++ gnu/packa

Re: [PATCH] gnu: Add seq24.

2016-12-05 Thread Leo Famulari
On Mon, Dec 05, 2016 at 11:02:28AM +0100, Ricardo Wurmus wrote: > * gnu/packages/music.scm (seq24): New variable. > * gnu/packages/patches/seq24-rename-mutex.patch: New file. > * gnu/local.mk (dist_patch_DATA): Register patch. > diff --git a/gnu/packages/patches/seq24-rename-mutex.patch > b/gnu/p

Re: [PATCH 0/2] i3 window manager update 4.13

2016-12-05 Thread Leo Famulari
On Mon, Dec 05, 2016 at 12:47:56AM +0100, Marius Bakke wrote: > Leo Famulari writes: > > > These patches update i3 to the latest upstream version, 4.13. > > > > The first seems necessary since xcb-util-cursor's pkg-config file > > includes the propagated packages in its 'Requires.private' field.

Re: [PATCH 2/3] gnu: python-ipython-genutils: Update description.

2016-12-05 Thread Leo Famulari
On Mon, Dec 05, 2016 at 01:21:04PM +0100, Hartmut Goebel wrote: > * gnu/packages/python.scm (python-ipython-genutils)[description]: Add > deprecation note. > --- > gnu/packages/python.scm | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/python.scm b/gnu/

Re: [PATCH 3/3] gnu: python2-notebook: Fix build.

2016-12-05 Thread Leo Famulari
On Mon, Dec 05, 2016 at 01:21:05PM +0100, Hartmut Goebel wrote: > * gnu/packages/python.scm (python2-notebook)[properties]: Add > python2-variant. > (python2-notebook)[native-packages] add python2-mock. [arguments] Add > phase "disable-test-case" for disabling a failing test. immediately s/ immedi

Re: [PATCH 1/3] gnu: python-ipython: Update to 4.0.3

2016-12-05 Thread Leo Famulari
On Mon, Dec 05, 2016 at 01:21:03PM +0100, Hartmut Goebel wrote: > * gnu/packages/python.scm (python-ipython, python2-ipython): Update to > version 4.0.3. LGTM > --- > gnu/packages/python.scm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gnu/packages/python.scm b/g

Pytest update to 2.9.2

2016-12-05 Thread Leo Famulari
I think this should get built in its own branch to make sure nothing breaks. From fb0f51fe4261de846672e42dd3c59d4d005325c4 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sun, 4 Dec 2016 18:24:02 -0500 Subject: [PATCH] gnu: python-pytest: Update to 2.9.2. * gnu/packages/python.scm (python-pytes

[PATCH] gnu: Add lua-lpeg

2016-12-05 Thread José Miguel Sánchez García
Add lua-lpeg (I hope it's finally correct!) -- José Miguel Sánchez García From 4ebd6648b2dcf1e02d39532173781b91850e4f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Miguel=20S=C3=A1nchez=20Garc=C3=ADa?= Date: Mon, 5 Dec 2016 15:15:33 +0100 Subject: [PATCH] gnu: Add lua-lpeg --- gnu/pa

[PATCH] gnu: Add vis

2016-12-05 Thread José Miguel Sánchez García
Add vis (I hope it's finally correct!). Remember to add it after adding libtermkey and lua-lpeg. -- José Miguel Sánchez García From 9bdbc2064c0dc62e66291d18718932ca8b7f67f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Miguel=20S=C3=A1nchez=20Garc=C3=ADa?= Date: Mon, 5 Dec 2016 15:17:40

[PATCH] gnu: Add libtermkey

2016-12-05 Thread José Miguel Sánchez García
Add libtermkey (I hope it's finally correct!) -- José Miguel Sánchez GarcíaFrom 8ad5713a25aeb40b9021b30beba7b11d3cf432df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Miguel=20S=C3=A1nchez=20Garc=C3=ADa?= Date: Mon, 5 Dec 2016 15:12:56 +0100 Subject: [PATCH] gnu: Add libtermkey. --- gn

Re: Preparing mass-packaging of 338 KDE application - how to do?

2016-12-05 Thread Ludovic Courtès
Efraim Flashner skribis: > Back in March KDE started an outreach program to help distributions in > their KDE packaging efforts. > https://dot.kde.org/2016/03/03/announcing-kde-communitys-distribution-outreach-program I think you (Hartmut) and everyone interested in KDE on GuixSD should subscrib

Re: How to deal with Latin1 filenames?

2016-12-05 Thread Ludovic Courtès
Marius Bakke skribis: > Marius Bakke writes: > >> Hello Guix, >> >> I'm trying to package the Norwegian Bokmål Aspell dictionary, which >> contains a 'bokmål.alias' in the source archive. This causes 'readdir' >> to throw a decoding-error. > > I'm sorry, the file name is actually ISO-8859-1 enco

Re: Add a pastebin client to the next guixsd image release

2016-12-05 Thread Ludovic Courtès
Alex Kost skribis: > ng0 (2016-12-04 18:16 +) wrote: > >> I think the next release image for GuixSD should include >> wgetpaste as a tool. This would make it possible for people who >> are stuck in the image and who are doing the installation, to >> paste the config.scm or any other command o

Re: [PATCH 1/2] gnu: Add btrfs-progs/static.

2016-12-05 Thread Ludovic Courtès
David Craven skribis: >> Add #:allowed-references () to make sure you get the desired effect. > > Isn't this a key of the gnu-build-system? Oh indeed (and this is ridiculous). Sorry for the confusion. Ludo’.

Re: [PATCH] system: Remove spec->file-system.

2016-12-05 Thread Ludovic Courtès
Hi! David Craven skribis: > Ah yes, that makes sense. Thank you for explaining. I think I'm > understanding the general design pattern better: > > Build side code that uses a record from gnu/system is a gexp in > gnu/system. This gexp is passed to a function in gnu/build so that > gnu/build itse

Re: [Patch v2] daemon: Set ownership of kept build directories to the calling user.

2016-12-05 Thread Hartmut Goebel
Am 01.12.2016 um 01:01 schrieb Danny Milosavljevic: > So I'd say to compare with (uid_t)-1 would be fine > > if (settings.clientUid != (uid_t) -1) { > ... > } Thanks for this tip, Danny. This made it work and I just posted the updated patch. > > And casting uid_t to unisgned int m

Re: [PATCH] gnu: Add libtermkey.

2016-12-05 Thread rennes
Hello, some tips: Add libtermkey after fixing some inconveniences found in my last attempt . I can't run guix lint on it now, but I haven't changed anything too important, so it should be fine. (source (origin

[PATCH v3] daemon: Set ownership of kept build directories to the calling user.

2016-12-05 Thread Hartmut Goebel
Fixes . * nix/libstore/globals.hh (Settings) Add clientUid and clientGid. * nix/nix-daemon/nix-daemon.cc (daemonLoop] Store UID and GID of the caller in settings. * nix/libstore/build.cc (_chown): New function. (DerivationGoal::deleteTmpDir): Use it, change ownership

Re: [PATCH] Add guile-fibers (needs help)

2016-12-05 Thread Ricardo Wurmus
Christopher Allan Webber writes: > Hello, > > I started a patch to add guile-fibers, which I know many of us are > intertested in giving a spin, but I haven't gotten things to build > right. The funny thing is I can get it to build fine from the tarball > itself. I'm missing something in the p

Re: [PATCH 2/2] system: Add btrfs file system support.

2016-12-05 Thread Ludovic Courtès
David Craven skribis: > The nice thing about having the check procedure be part of the > is that it can be overridden. I'm not sure what use > cases there are yet. One I can think of is that btrfs device scan is > only required when using a multi-device configuration like raid. So I > don't know

Re: recent master hardware problems

2016-12-05 Thread Ludovic Courtès
ng0 skribis: > Chris Marusich writes: > >> ng0 writes: >> >>> I'm not sure how to describe this bug. I've just build and >>> reconfigured a system update. All went well, but then I >>> rebooted. >>> Everything loads, until: >>> … >>> floppy0: no floppy controllers found (ok, this is normal and

Re: New python build system merged

2016-12-05 Thread Leo Famulari
On Tue, Nov 29, 2016 at 07:09:27PM +0100, Hartmut Goebel wrote: > Am 29.11.2016 um 15:27 schrieb Ludovic Courtès: > > Good. When you fix it (and other failures, if any), we can start a new > > evaluation or merge directly in master (the sooner the better!). > > Done. > > I'm very glad the new py

[PATCH] Add guile-fibers (needs help)

2016-12-05 Thread Christopher Allan Webber
Hello, I started a patch to add guile-fibers, which I know many of us are intertested in giving a spin, but I haven't gotten things to build right. The funny thing is I can get it to build fine from the tarball itself. I'm missing something in the package, but I don't know what. Here's the erro

[PATCH 2/2] services: Add tlsdate-service.

2016-12-05 Thread ng0
* gnu/services/networking.scm (): New record type. (%tlsdate-accounts): New variables. (tlsdate-shepherd-service): New procedure. (tlsdate-service-type): New variable. * doc/guix.texi (Networking Services): Document it. --- doc/guix.texi | 32 + gnu/services/networkin

[PATCH 1/2] gnu: tlsdate: Use the system provided certificate store.

2016-12-05 Thread ng0
* gnu/packages/ntp.scm (tlsdate)[arguments]: Configure with unprivileged user and group. [arguments]: Build with the system provided certificates in a new phase. --- gnu/packages/ntp.scm | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ntp.scm b/gnu

v2 tlsdate-service

2016-12-05 Thread ng0
version 2, removes dbus from the tlsdate-service requirements.

[PATCH 2/2] services: Add tlsdate-service.

2016-12-05 Thread ng0
* gnu/services/networking.scm (): New record type. (%tlsdate-accounts): New variables. (tlsdate-shepherd-service): New procedure. (tlsdate-service-type): New variable. * doc/guix.texi (Networking Services): Document it. --- doc/guix.texi | 32 + gnu/services/networkin

[no subject]

2016-12-05 Thread ng0
[PATCH 1/2] gnu: tlsdate: Use the system provided certificate store. So far it looks like we are using the application bundled certificates. This should fix it to use the system provided certificates. [PATCH 2/2] services: Add tlsdate-service. Because I still need to learn how make network bridg

Re: [PATCH 2/2] services: Add tlsdate-service.

2016-12-05 Thread ng0
ng0 writes: > * gnu/services/networking.scm (): New record type. > (%tlsdate-accounts): New variables. > (tlsdate-shepherd-service): New procedure. > (tlsdate-service-type): New variable. > * doc/guix.texi (Networking Services): Document it. > --- > doc/guix.texi | 32 +

[PATCH 1/2] gnu: tlsdate: Use the system provided certificate store.

2016-12-05 Thread ng0
* gnu/packages/ntp.scm (tlsdate)[arguments]: Configure with unprivileged user and group. [arguments]: Build with the system provided certificates in a new phase. --- gnu/packages/ntp.scm | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ntp.scm b/gnu

[PATCH] gnu: Add vis.

2016-12-05 Thread José Miguel Sánchez García
Add vis after fixing some inconveniences found in my last attempt . I can't run guix lint on it now, but I haven't changed anything too important, so it should be fine. This package requires libtermkey and lua-lpeg, for which

[PATCH] gnu: Add lua-lpeg.

2016-12-05 Thread José Miguel Sánchez García
Add lua-lpeg after fixing some inconveniences found in my last attempt . I can't run guix lint on it now, but I haven't changed anything too important, so it should be fine. José Miguel Sánchez García From 4ebd6648b2dcf1e02d39

[PATCH] gnu: Add libtermkey.

2016-12-05 Thread José Miguel Sánchez García
Add libtermkey after fixing some inconveniences found in my last attempt . I can't run guix lint on it now, but I haven't changed anything too important, so it should be fine. José Miguel Sánchez García From 8ad5713a25aeb40b90

Re: Add a pastebin client to the next guixsd image release

2016-12-05 Thread ng0
Tomas Cech writes: > On Sun, 04 Dec 2016 19:16:28 +0100, > ng0 wrote: >> >> I think the next release image for GuixSD should include >> wgetpaste as a tool. This would make it possible for people who >> are stuck in the image and who are doing the installation, to >> paste the config.scm or any

Re: [PATCH] gnu: libreoffice: Add 'libreoffice' symlink.

2016-12-05 Thread ng0
Hartmut Goebel writes: > Am 05.12.2016 um 13:25 schrieb ng0: >> + (symlink >> + (string-append out "/lib/libreoffice/program/soffice") >> + (string-append bin "/libreoffice"))) > > That's a good idea. But why not a relative sym-link? > > -- > R

Re: Add a pastebin client to the next guixsd image release

2016-12-05 Thread Tomas Cech
On Sun, 04 Dec 2016 19:16:28 +0100, ng0 wrote: > > I think the next release image for GuixSD should include > wgetpaste as a tool. This would make it possible for people who > are stuck in the image and who are doing the installation, to > paste the config.scm or any other command output. > > Are

Re: [PATCH 2/3] gnu: python-pyqt-5.5: Use non-inherited "configure" phase.

2016-12-05 Thread Hartmut Goebel
Am 05.12.2016 um 10:12 schrieb Hartmut Goebel: > * gnu/packages.qt.scm (python-pyqt-5.5, python2-pyqt-5.5)[arguments]: Copy > from (python-pyqt)[arguments]. @ricardo: Despite our discussion on Saturday I did simply copy the phase. This is much easier than creating a function to return the phase. T

Re: [PATCH] gnu: libreoffice: Add 'libreoffice' symlink.

2016-12-05 Thread Hartmut Goebel
Am 05.12.2016 um 13:25 schrieb ng0: > + (symlink > + (string-append out "/lib/libreoffice/program/soffice") > + (string-append bin "/libreoffice"))) That's a good idea. But why not a relative sym-link? -- Regards Hartmut Goebel | Hartmut Goebe

[PATCH] gnu: libreoffice: Add 'libreoffice' symlink.

2016-12-05 Thread ng0
* gnu/packages/libreoffice.scm (libreoffice)[arguments] Create symlink to libreoffice in new phase. --- gnu/packages/libreoffice.scm | 10 ++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index e02e4f4cd..245e932d4 100644 --- a/g

[PATCH] Add libreoffice symlink to libreoffice

2016-12-05 Thread ng0
The historic(?) remains of soffice (I guess it's from back when it was StarOffice) for libreoffice is on most systems symlinked to libreoffice. When people install libreoffice, they expect that there'll be an exectuable which is very similar to the name of the application libreoffice. This patch

[PATCH 3/3] gnu: python2-notebook: Fix build.

2016-12-05 Thread Hartmut Goebel
* gnu/packages/python.scm (python2-notebook)[properties]: Add python2-variant. (python2-notebook)[native-packages] add python2-mock. [arguments] Add phase "disable-test-case" for disabling a failing test. immediately --- gnu/packages/python.scm | 20 +++- 1 file changed, 19 inserti

[PATCH 1/3] gnu: python-ipython: Update to 4.0.3

2016-12-05 Thread Hartmut Goebel
* gnu/packages/python.scm (python-ipython, python2-ipython): Update to version 4.0.3. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0df9496..67022d2 100644 --- a/gnu/packages/python.scm ++

[PATCH 2/3] gnu: python-ipython-genutils: Update description.

2016-12-05 Thread Hartmut Goebel
* gnu/packages/python.scm (python-ipython-genutils)[description]: Add deprecation note. --- gnu/packages/python.scm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 67022d2..66c297c 100644 --- a/gnu/packages/python.sc

Re: tlsdate behaves funny

2016-12-05 Thread ng0
ng0 writes: > ng0 writes: > >> So I'm trying to improve our tlsdate package and write a service >> for it. Improvement first, service afterwards. >> >> I can not attach the patch for the package right now, but >> basically I added dbus support, defined the users it should use, >> and made it use

Re: Add a pastebin client to the next guixsd image release

2016-12-05 Thread ng0
Alex Kost writes: > ng0 (2016-12-04 18:16 +) wrote: > >> I think the next release image for GuixSD should include >> wgetpaste as a tool. This would make it possible for people who >> are stuck in the image and who are doing the installation, to >> paste the config.scm or any other command ou

[PATCH] gnu: Add seq24.

2016-12-05 Thread Ricardo Wurmus
* gnu/packages/music.scm (seq24): New variable. * gnu/packages/patches/seq24-rename-mutex.patch: New file. * gnu/local.mk (dist_patch_DATA): Register patch. --- gnu/local.mk | 1 + gnu/packages/music.scm| 30 +++ gnu/packages/patches/

Re: [PATCH] Generate multiple paginated packages pages.

2016-12-05 Thread Alex Sassmannshausen
Ludovic Courtès writes: > Alex Sassmannshausen skribis: > >> * website/www.scm (%web-pages): Add code for generating our packages >> pages. >> * website/www/packages.scm (packages-by-grouping): New procedure. >> (paginated-packages-page): New procedure. >> (packages-page): Tweak for use by

Re: Add a pastebin client to the next guixsd image release

2016-12-05 Thread Alex Kost
ng0 (2016-12-04 18:16 +) wrote: > I think the next release image for GuixSD should include > wgetpaste as a tool. This would make it possible for people who > are stuck in the image and who are doing the installation, to > paste the config.scm or any other command output. I agree: some *simpl

[PATCH 3/3 v2] gnu: python-pyqt: Fix build by explicitly setting the stubsdir.

2016-12-05 Thread Hartmut Goebel
* gnu/packages.qt.scm (python-pyqt, python2-pyqt)[arguments]: In phase 'configure' pass option --stubsdir. --- gnu/packages/qt.scm | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index aaa7e1c..4a8fb6c 100644 --- a/gnu/packages/q

[PATCH 2/3] gnu: python-pyqt-5.5: Use non-inherited "configure" phase.

2016-12-05 Thread Hartmut Goebel
This allows passing different options for 5.5 than for the main version (which is currently 5.6). * gnu/packages.qt.scm (python-pyqt-5.5, python2-pyqt-5.5)[arguments]: Copy from (python-pyqt)[arguments]. --- gnu/packages/qt.scm | 30 ++ 1 file changed, 30 insertions(+)

[PATCH 1/3] gnu: python2-pyqt-4: Change package name to python2-pyqt.

2016-12-05 Thread Hartmut Goebel
* gnu/packages/qt.scm (python2-pyqt-4)[package]: Change "name" python2-pyqt. --- gnu/packages/qt.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index ae951aa..fc4700e 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1

[PATCH 0/3] Fixes for python-pyqt

2016-12-05 Thread Hartmut Goebel
gnu: python2-pyqt-4: Change package name to python2-pyqt. The package *name* contained the version, makeing it impossible to install via python2-pyqt@4. Curiously the Pyhton 3 package (python-pyqt) already had the correct name. gnu: python-pyqt-5.5: Use non-inherited "con

Re: [PATCH] gnu: python-pyqt: Fix build by explicitly setting the stubsdir.

2016-12-05 Thread Hartmut Goebel
Am 03.12.2016 um 17:12 schrieb Ricardo Wurmus: > The patch looks okay to me, but I’d prefer to see your comment about why > this is needed inline above the option. “PEP 484…” doesn’t tell me > anything, whereas your description in this email was very clear. You are right. I'll send an updated pat

Re: How to deal with Latin1 filenames?

2016-12-05 Thread Marius Bakke
Marius Bakke writes: > Hello Guix, > > I'm trying to package the Norwegian Bokmål Aspell dictionary, which > contains a 'bokmål.alias' in the source archive. This causes 'readdir' > to throw a decoding-error. I'm sorry, the file name is actually ISO-8859-1 encoded. I've updated the subject. From