[PATCH 2/2] build-system: cargo: Use correct cargo.

2016-12-29 Thread David Craven
* gnu/packages/rust.scm (cargo-bootstrap): Make private. * guix/build-system/cargo.scm (default-cargo): Use cargo. * guix/build/cargo-build-system.scm (install): Pass correct path to --root. --- gnu/packages/rust.scm | 4 +--- guix/build-system/cargo.scm | 3 +--

[PATCH 1/2] gnu: Add cargo.

2016-12-29 Thread David Craven
* gnu/packages/rust.scm (cargo): New variable. --- gnu/packages/rust.scm | 55 +++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 8aa867317..c6c4f3171 100644 --- a/gnu/packages/rust.scm +++

asdf-build-system: Problem running tests for cl-unicode

2016-12-29 Thread Ricardo Wurmus
Hi, I’m trying to build a package for sbcl-cl-unicode, which I need for a JS uglifier (to be able to generate minified JS files in other packages’ build processes). Unfortunately, the tests fail with "The name NIL does not designate any package." “cl-unicode” seems to have more problems.

Re: staging: django fails to build

2016-12-29 Thread Hartmut Goebel
Am 29.12.2016 um 02:21 schrieb Leo Famulari: > Django is failing its test suite on the staging branch: > I can reproduce this here, too. It's a subtle bug in Django related to leap years :-( The test suite only fails in the last week of a leap year. So the test-suite will work again in three

Re: hplip: Add qt5 gui.

2016-12-29 Thread ng0
ng0 writes: > We need to explicitly tell the configure to disable qt3 and qt4 to make it > accept qt5 which is annoying. > Tested was just running hp-setup, worked for me. I just fixed the policykit issue (in theory, no more errors in the build), so I change this patch a bit

hplip: Add qt5 gui, try to fix policykit support

2016-12-29 Thread ng0
[PATCH 1/2] gnu: hplip: Add qt5 gui. Same as before, removed the --enable-dbus and ... [PATCH 2/2] gnu: hplip: Add policykit support. ... moved it here, with the additional policykit stuff. I really have no idea how hplip is supposed to be used in Guix after reading the note about the base

[PATCH 2/2] gnu: hplip: Add policykit support.

2016-12-29 Thread ng0
* gnu/packages/cups.scm (hplip): Add policykit support. [arguments](configure-flags): Add "--enable-dbus-build", "--enable-policykit". [arguments](make-flags): Add "policykit_dbus_etcdir", "policykit_dir", "policykit_dbus_sharedir". (inputs): Add "polkit". --- gnu/packages/cups.scm | 20

[PATCH 1/2] gnu: hplip: Add qt5 gui.

2016-12-29 Thread ng0
* gnu/packages/cups.scm (hplip): Add gui. [arguments](configure-flags): Add "--enable-gui-build", "--disable-qt4", "--enable-qt5". [inputs]: Add python-pyqt, python-pygobject and python-sip. --- gnu/packages/cups.scm | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

Let non-root users use MTP devices (Attempt #2)

2016-12-29 Thread Chris Marusich
Here's a second attempt to fix MTP support for GuixSD. It's simple and requires no special group permissions. It turns out that elogind (like systemd's logind) can be compiled with support for ACLs (provided by libacl), in which case elogind will automatically set an ACL on a device file

[PATCH 2/2] services: desktop: Use libmtp udev rules.

2016-12-29 Thread Chris Marusich
* gnu/services/desktop.scm (%modified-base-services): New variable. (%desktop-services): Use it. --- gnu/services/desktop.scm | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 7555780ad..72f35950b 100644

[PATCH 1/2] gnu: elogind: Enable ACL support.

2016-12-29 Thread Chris Marusich
* gnu/packages/freedesktop.scm (elogind) [inputs]: Add acl. --- gnu/packages/freedesktop.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 37707796e..ddbac762a 100644 --- a/gnu/packages/freedesktop.scm +++

Re: rust: Crate Dependencies

2016-12-29 Thread David Craven
> What does the error message mean? How to fix it? Hard to tell from that description. Using the recursive importer is not supported - use at your own risk ;) There is a reason why it's not in master... While Makefiles and the C standard are defined, the rust language and the Cargo.toml files are

Re: rust: Crate Dependencies

2016-12-29 Thread ng0
Danny Milosavljevic writes: > Hi David, > > On Thu, 29 Dec 2016 11:49:19 +0100 > David Craven wrote: > >> It matters very >> much which versions of rustc and cargo are used > > I used the versions in your v2 patch. I also tried ng0's update which didn't

Re: rust: Crate Dependencies

2016-12-29 Thread David Craven
Hi Danny, > How does rustc find the (Rust) dependencies when building a package in > cargo-build-system? You should be able to override the default rust or cargo version by passing #:rustc or/and #:cargo as arguments to the build-system. See guix/build-system/cargo.scm. > I read that there are

Re: Let non-root users use MTP devices (Attempt #2)

2016-12-29 Thread Chris Marusich
Chris Marusich writes: > Here's a second attempt to fix MTP support for GuixSD. It's simple and > requires no special group permissions. > > It turns out that elogind (like systemd's logind) can be compiled with > support for ACLs (provided by libacl), in which case

Re: [PATCH] gnu: rustc: Update to 1.14.0.

2016-12-29 Thread David Craven
Thanks! Pushed as b9542563375fbd5f25bb77fd476b762916b63bd1.

Re: [PATCH] gnu: hplip: Add qt5 gui.

2016-12-29 Thread Danny Milosavljevic
Hi, > + "--enable-dbus-build" >;; TODO: Make hp-setup find python-dbus. Does that mean that dbus now works in hp-setup?

hplip: Add qt5 gui.

2016-12-29 Thread ng0
We need to explicitly tell the configure to disable qt3 and qt4 to make it accept qt5 which is annoying. Tested was just running hp-setup, worked for me.

[PATCH] gnu: hplip: Add qt5 gui.

2016-12-29 Thread ng0
* gnu/packages/cups.scm (hplip): Add gui. [arguments](configure-flags): Add "--enable-gui-build", "--disable-qt3", "--disable-qt4", "--enable-qt5", "--enable-dbus-build". [inputs]: Add python-pyqt, python-pygobject and python-sip. --- gnu/packages/cups.scm | 12 +++- 1 file changed, 11

Re: Dependencies of pagure, revision of 2016-12-21

2016-12-29 Thread ng0
Leo Famulari writes: > On Wed, Dec 21, 2016 at 11:47:08AM +, ng0 wrote: >> [PATCH 01/11] gnu: Add python-flask-wtf. >> >> > Danny Milosavljevic: >> > Subject: Re: [PATCH 01/11] gnu: Add python-flask-wtf. >> > >> > Date: Wed, 21

Re: rust: Crate Dependencies

2016-12-29 Thread Danny Milosavljevic
Hi David, On Thu, 29 Dec 2016 11:49:19 +0100 David Craven wrote: > It matters very > much which versions of rustc and cargo are used I used the versions in your v2 patch. I also tried ng0's update which didn't improve things. How does rustc find the (Rust) dependencies when

Re: [PATCH] gnu: hplip: Add qt5 gui.

2016-12-29 Thread ng0
Danny Milosavljevic writes: > Hi, > >> + "--enable-dbus-build" >>;; TODO: Make hp-setup find python-dbus. > > Does that mean that dbus now works in hp-setup? > I don't know. Before and afterwards I ran into the problem where no user (in groups lp

Re: [PATCH 1/2] gnu: libpng: Fix a null pointer dereference [fixes security issue].

2016-12-29 Thread Leo Famulari
On Thu, Dec 29, 2016 at 07:26:16PM +0100, Marius Bakke wrote: > Leo Famulari writes: > > > * gnu/packages/patches/libpng-fix-null-ptr-dereference.patch: New file. > > * gnu/local.mk (dist_patch_DATA): Add it. > > * gnu/packages/image.scm (libpng)[replacement]: New field. > >

Re: Staging freeze

2016-12-29 Thread Leo Famulari
On Thu, Dec 29, 2016 at 06:51:46PM +0100, Ludovic Courtès wrote: > Hi! > > John Darrington skribis: > > > For what it's worth, I find that building *anything* related to qemu fails > > for different reasons in about 2/3 attempts. So I think there is a > >

Re: [PATCH] gnu: Add php-hello-world.

2016-12-29 Thread Hartmut Goebel
Am 29.12.2016 um 18:44 schrieb Ludovic Courtès: > Given the popularity of PHP, I would expect tutorials and examples to > abound already, no? > > You can of course roll your own and Guix could distribute it, that’s > fine. I’m just surprised we even have to do that in the first place. I was

Re: Bad signature on commit 6a34f4ccc8a5d (gnu: python-prompt-toolkit: Update to 1.0.9.)

2016-12-29 Thread Leo Famulari
On Thu, Dec 29, 2016 at 04:04:49AM +0100, Tobias Geerinckx-Rice wrote: > Signing seems to fail both seldom and pseudo-randomly. Oh, and > silently[1]. My favourite kind of bug. > > I'm guessing this is what happens: > > $ > $ git commit, am or cherry-pick && git log --show-signatures >

Re: rust: Crate Dependencies

2016-12-29 Thread David Craven
> Same here for libc crate after the update, but I guess that's > because cargo is currently packaged and used from the bootstrap > rust, which is dated one version before the actual rustc you can > use now, so 0.13.0 cargo and 0.14.0 rustc. I submitted some experimental patches to the ML which

Re: 03/03: gnu: nss, nss-certs: Update to 3.27.2.

2016-12-29 Thread Leo Famulari
On Wed, Dec 21, 2016 at 11:38:00AM -0500, Leo Famulari wrote: > From e19cd9120b7e62f88dd5b0a1fae099d1e01650eb Mon Sep 17 00:00:00 2001 > From: Leo Famulari > Date: Tue, 20 Dec 2016 21:29:19 -0500 > Subject: [PATCH] gnu: nss: Fix build failure caused by expired test >

Re: [PATCH 0/1] MPD: Install systemd service files

2016-12-29 Thread Leo Famulari
On Thu, Dec 29, 2016 at 07:24:19PM +0100, Marius Bakke wrote: > Leo Famulari writes: > > > I noticed that MPD 0.19.21 adds a systemd service file for unprivileged > > users: > > > > http://git.musicpd.org/cgit/master/mpd.git/plain/NEWS?h=v0.19.21 > > > > It works for me! > >

Re: [PATCH] gnu: Add php-hello-world.

2016-12-29 Thread Ludovic Courtès
Hi Hartmut! Hartmut Goebel skribis: > Am 21.12.2016 um 17:38 schrieb Ludovic Courtès: >> For other tools we provide what upstream provides. For example, Qt >> comes with examples, which we provide in the ‘qt’ package (IIRC). > > The php source package does not

Re: [ANN] Emacs-Guix 0.2.1

2016-12-29 Thread Ludovic Courtès
Hi! Alex Kost skribis: > Hello, I have updated ‘emacs-guix’ package to 0.2.1. > > It is released mainly to keep it in sync with the Guix release. > Particularly, it supports "d3js" graph backend (thanks Ricardo for > this graph type!) in "M-x guix G". > > Also there is a new

Re: [PATCH 0/1] MPD: Install systemd service files

2016-12-29 Thread Marius Bakke
Leo Famulari writes: > I noticed that MPD 0.19.21 adds a systemd service file for unprivileged > users: > > http://git.musicpd.org/cgit/master/mpd.git/plain/NEWS?h=v0.19.21 > > It works for me! > > This patch installs both the privileged and unprivileged service files. > > I

Re: [PATCH] gnu: libtermkey: Update to 0.19.

2016-12-29 Thread Leo Famulari
On Thu, Dec 29, 2016 at 07:38:24PM +0100, José Miguel Sánchez García wrote: > Just changed the version string from 0.18 to 0.19. This is unusual; isn't there new source code for version 0.19, which would require the source hash to be updated as well?

[PATCH 1/1] gnu: mpd: Install systemd service files.

2016-12-29 Thread Leo Famulari
* gnu/packages/mpd.scm (mpd)[arguments]: Add 'install-service-files' phase. --- gnu/packages/mpd.scm | 11 +++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index 36a31048a..5231c3f7f 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm

[PATCH 0/1] MPD: Install systemd service files

2016-12-29 Thread Leo Famulari
I noticed that MPD 0.19.21 adds a systemd service file for unprivileged users: http://git.musicpd.org/cgit/master/mpd.git/plain/NEWS?h=v0.19.21 It works for me! This patch installs both the privileged and unprivileged service files. I wonder, is this installation path correct? Should they be

Re: Staging freeze

2016-12-29 Thread Leo Famulari
On Wed, Dec 28, 2016 at 10:17:31AM +0100, John Darrington wrote: > On Tue, Dec 27, 2016 at 11:13:05PM -0500, Leo Famulari wrote: > On Tue, Dec 27, 2016 at 06:56:44PM -0500, Leo Famulari wrote: > > On Fri, Dec 23, 2016 at 12:23:39AM -0500, Leo Famulari wrote: > > > The last staging

Re: [PATCH] Elpa importer improvements

2016-12-29 Thread Ludovic Courtès
Hello Guix! Alex Kost skribis: > Carlo Zancanaro (2016-12-14 13:04 +1100) wrote: > >> I was trying to import some elpa packages recently and found some >> issues, so here are some patches to fix them. >> >> 1. call-with-downloaded-file had behaviour different to how it was >>

Re: [PATCH] Remove Emacs interface.

2016-12-29 Thread Ludovic Courtès
Hi! Alex Kost skribis: > The attached patch removes Emacs UI and its documentation (12000 lines > removed, hooray!). I added the only mention about 'emacs-guix' package > in "Package Management" chapter. OK! I was thinking that, even if the Emacs-Guix manual isn’t

Re: Staging freeze

2016-12-29 Thread Ludovic Courtès
Hi! John Darrington skribis: > For what it's worth, I find that building *anything* related to qemu fails > for different reasons in about 2/3 attempts. So I think there is a > fundamental, yet to be diagnosed problem. Yet to be diagnosed… and yet to be reported?

Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system

2016-12-29 Thread Ludovic Courtès
Hi! Christopher Baines skribis: > * gnu/packages/gnome.scm (gnome-tweak-tool): Switch from the gnu build > system to the glib-or-gtk build system, to fix missing gobject > introspection namespaces. Using ‘glib-or-gtk-build-system’ sounds right here, but with this patch, I

[PATCH 1/2] gnu: libpng: Fix a null pointer dereference [fixes security issue].

2016-12-29 Thread Leo Famulari
* gnu/packages/patches/libpng-fix-null-ptr-dereference.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/image.scm (libpng)[replacement]: New field. (libpng/fixed): New variable. --- gnu/local.mk | 1 + gnu/packages/image.scm

[PATCH 2/2] gnu: libpng-1.2: Fix a null pointer dereference [fixes security issue].

2016-12-29 Thread Leo Famulari
* gnu/packages/patches/libpng-1.2-fix-null-ptr-dereference.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/image.scm (libpng-1.2)[replacement]: New field. (libpng-1.2/fixed): New variable. --- gnu/local.mk | 1 +

Re: [PATCH 1/2] gnu: libpng: Fix a null pointer dereference [fixes security issue].

2016-12-29 Thread Marius Bakke
Leo Famulari writes: > * gnu/packages/patches/libpng-fix-null-ptr-dereference.patch: New file. > * gnu/local.mk (dist_patch_DATA): Add it. > * gnu/packages/image.scm (libpng)[replacement]: New field. > (libpng/fixed): New variable. That was quick! Both patches LGTM.

[PATCH] gnu: libtermkey: Update to 0.19.

2016-12-29 Thread José Miguel Sánchez García
Just changed the version string from 0.18 to 0.19. -- José Miguel Sánchez GarcíaFrom 89893f7c39c64a12a5b0f82e96c3cc9fac982730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Miguel=20S=C3=A1nchez=20Garc=C3=ADa?= Date: Thu, 29 Dec 2016 19:08:13 + Subject: [PATCH]

Re: rust: Crate Dependencies

2016-12-29 Thread ng0
David Craven writes: >> Same here for libc crate after the update, but I guess that's >> because cargo is currently packaged and used from the bootstrap >> rust, which is dated one version before the actual rustc you can >> use now, so 0.13.0 cargo and 0.14.0 rustc. > > I

Re: [PATCH] Add r-scran 1.2.0 and all its dependencies

2016-12-29 Thread Ricardo Wurmus
Ra writes: > Hi Ricardo, > there was an issue with the r-shiny patch, the license was wrong. So this > is the new set of patches. Thank you. I updated and pushed all patches up to r-shiny. The changes are: * Changed the descriptions, so that they are made up of full

Re: Let non-root users use MTP devices (Attempt #2)

2016-12-29 Thread Ludovic Courtès
Chris Marusich skribis: > Chris Marusich writes: > >> Here's a second attempt to fix MTP support for GuixSD. It's simple and >> requires no special group permissions. >> >> It turns out that elogind (like systemd's logind) can be compiled with >>

Re: Trouble setting up hplip and cups - printer ppd fails

2016-12-29 Thread Ludovic Courtès
Hello! Danny Milosavljevic skribis: > On Sat, 24 Dec 2016 14:08:44 + > ng0 wrote: > >> > Traceback (most recent call last): >> > File >> > "/gnu/store/95vp3r6n9z7s85achc7a0b8aay1k73qq-hplip-3.16.11/share/hplip/setup.py", >> > line 560, in >> >

Re: [PATCH] Remove Emacs interface.

2016-12-29 Thread Alex Kost
Ludovic Courtès (2016-12-29 18:40 +0100) wrote: > Hi! > > Alex Kost skribis: > >> The attached patch removes Emacs UI and its documentation (12000 lines >> removed, hooray!). I added the only mention about 'emacs-guix' package >> in "Package Management" chapter. > > OK! > > I

Re: Trouble setting up hplip and cups - printer ppd fails

2016-12-29 Thread ng0
Ludovic Courtès writes: > Hello! > > Danny Milosavljevic skribis: > >> On Sat, 24 Dec 2016 14:08:44 + >> ng0 wrote: >> >>> > Traceback (most recent call last): >>> > File >>> >

Re: [PATCH 2/2] services: desktop: Use libmtp udev rules.

2016-12-29 Thread Ludovic Courtès
Chris Marusich skribis: > * gnu/services/desktop.scm (%modified-base-services): New variable. > (%desktop-services): Use it. I pushed a slightly more concise version of that in 3547a5effecfa19f73af29f0d503f5a231025672 (it also makes “mtp” show up in ‘guix system

Re: Let non-root users use MTP devices (Attempt #2)

2016-12-29 Thread Ludovic Courtès
Chris Marusich skribis: > Here's a second attempt to fix MTP support for GuixSD. It's simple and > requires no special group permissions. > > It turns out that elogind (like systemd's logind) can be compiled with > support for ACLs (provided by libacl), in which case

Re: Let non-root users use MTP devices (Attempt #2)

2016-12-29 Thread Chris Marusich
l...@gnu.org (Ludovic Courtès) writes: > Chris Marusich skribis: > >> Chris Marusich writes: >> >>> Here's a second attempt to fix MTP support for GuixSD. It's simple and >>> requires no special group permissions. >>> >>> It turns out that elogind

[PATCH] gnu: Add kakoune

2016-12-29 Thread Carlo Zancanaro
* gnu/packages/patches/kakoune-fix-bash-path.patch: New file. * gnu/packages/patches/kakoune-leave-manpages-uncompressed.patch: * New file. gnu/local.mk (dist_patch_DATA): Register patches. * gnu/packages/text-editors.scm (kakoune): New variable. --- gnu/local.mk

Re: [PATCH 2/2] gnu: multiqc: Update to 0.8.

2016-12-29 Thread Ben Woodcroft
Hi Raoul, On 28/12/16 23:13, Ra wrote: Hi Ben, reading the comments from https://github.com/ewels/MultiQC/issues/376 it seems that in the upcoming release they will solve the problem. Are we going to wait for the next v. 1.0 or include it now and update later ? I just pushed an update to

Re: [PATCH] gnu: Add kakoune

2016-12-29 Thread Carlo Zancanaro
It turns out emacs decided to destroy my whitespace! I'll attach it this time. From 57b2f9e6af20606e302fc4040515d7a92bde73fc Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Fri, 30 Dec 2016 02:15:59 +1100 Subject: [PATCH] gnu: Add kakoune To: guix-devel@gnu.org *

Re: asdf-build-system: Problem running tests for cl-unicode

2016-12-29 Thread ajpatter
Hi Ricardo, On Thu, 29 Dec 2016 17:30:53 +0100 Ricardo Wurmus wrote: Hi, I’m trying to build a package for sbcl-cl-unicode, which I need for a JS uglifier (to be able to generate minified JS files in other packages’ build processes). Since I'm curious, what are you

Re: asdf-build-system: Problem running tests for cl-unicode

2016-12-29 Thread ajpatter
Hi Ricardo, On Thu, 29 Dec 2016 17:30:53 +0100 Ricardo Wurmus wrote: Hi, I’m trying to build a package for sbcl-cl-unicode, which I need for a JS uglifier (to be able to generate minified JS files in other packages’ build processes). Since I'm curious, what are you