[PATCH] gnu: Add python-pyodbc-c.

2017-01-25 Thread Danny Milosavljevic
* gnu/packages/databases.scm (python-pyodbc-c, python2-pyodbc-c): New variables. --- gnu/packages/databases.scm | 26 ++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index e8be17980..fc576888d 100644 --- a/gnu/pack

Re: [PATCH] gnu: Add python-pyodbc-c.

2017-01-26 Thread Danny Milosavljevic
Hi, On Thu, 26 Jan 2017 19:14:41 +0100 Marius Bakke wrote: > >> +(arguments > >> + `(#:tests? #f ; no tests exist > >> + )) > > Please move these to the previous line. How? I'm not supposed to use block comment and the line comment doesn't end properly if I move the closing par

[PATCH v2] gnu: Add python-pyodbc-c.

2017-01-26 Thread Danny Milosavljevic
* gnu/packages/databases.scm (python-pyodbc-c, python2-pyodbc-c): New variables. --- gnu/packages/databases.scm | 28 1 file changed, 28 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index e8be17980..232c46985 100644 --- a/gnu/pa

Re: [PATCH v2 1/2] gnu: Add dub.

2017-01-29 Thread Danny Milosavljevic
Pushed, commit 4fdcc5026fb6a1fe007363eb32af891f35704e28.

Re: Debugging and source code

2017-01-30 Thread Danny Milosavljevic
Hi, for example when you try guix build -S ldc it will not put phobos in the correct place (which is unpacked to the correct place in a phase). It would be nice if there was a way to run gdb after the build phase ran. [I guess easiest would be if one could insert something after the 'build

[PATCH v2] gnu: Add dub-build-system.

2017-01-30 Thread Danny Milosavljevic
+;;; Copyright © 2016 Danny Milosavljevic +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or

[PATCH] gnu: Add liboauth.

2017-01-30 Thread Danny Milosavljevic
* gnu/packages/gnuzilla.scm (liboauth): New variable. --- gnu/packages/gnuzilla.scm | 28 1 file changed, 28 insertions(+) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 7758f27f8..3b7e81108 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/pa

[PATCH v2] gnu: dtc: Update description to reference HOWTO.

2017-01-31 Thread Danny Milosavljevic
* gnu/packages/u-boot.scm (dtc)[description]: Modify. --- gnu/packages/u-boot.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/u-boot.scm b/gnu/packages/u-boot.scm index cdd52d874..3468fe5a7 100644 --- a/gnu/packages/u-boot.scm +++ b/gnu/packages/u-boot.scm

[PATCH] gnu: dub: Patch pkg-config name.

2017-01-31 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (dub)[arguments]: Add 'patch-paths' phase. --- gnu/packages/ldc.scm | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ldc.scm b/gnu/packages/ldc.scm index 4b10ac25e..e131c473d 100644 --- a/gnu/packages/ldc.scm +++ b/gnu/packages/ldc.s

[PATCH 1/2] gnu: ldc: Rename ldc 0.17.2 to ldc-bootstrap.

2017-02-01 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (ldc): Rename to... (ldc-bootstrap): ... this. (ldc-1.1.0-beta6): Replace ldc by ldc-bootstrap. [native-inputs]: Replace ldc by ldc-bootstrap. --- gnu/packages/ldc.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ldc.scm b/gnu/

[PATCH 2/2] gnu: ldc: Update to 1.1.0.

2017-02-01 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (ldc-1.1.0-beta6): Rename to... (ldc): ... this. [version]: Modify. [source]: Modify. (ldc-beta): Remove variable. --- gnu/packages/ldc.scm | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/gnu/packages/ldc.scm b/gnu/packages/ldc.sc

[PATCH 0/2] Update ldc to 1.1.0.

2017-02-01 Thread Danny Milosavljevic
Danny Milosavljevic (2): gnu: ldc: Rename ldc 0.17.2 to ldc-bootstrap. gnu: ldc: Update to 1.1.0. gnu/packages/ldc.scm | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-)

[PATCH] gnu: rdmd: Update to 2.073.0.

2017-02-01 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (rdmd): Remove local variable "commit". [version]: Modify. [source]: Modify. --- gnu/packages/ldc.scm | 67 +--- 1 file changed, 32 insertions(+), 35 deletions(-) diff --git a/gnu/packages/ldc.scm b/gnu/packages/ldc.scm in

Re: [PATCH v2] gnu: dtc: Update description to reference HOWTO.

2017-02-01 Thread Danny Milosavljevic
Pushed, commit 4ae2a54df637b40aa3da662e7f812f0b9d1d1183.

[PATCH v2] gnu: u-boot: Use scandir.

2017-02-01 Thread Danny Milosavljevic
* gnu/packages/u-boot.scm (make-u-boot-package): Modify. --- gnu/packages/u-boot.scm | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gnu/packages/u-boot.scm b/gnu/packages/u-boot.scm index 3468fe5a7..e60e61db2 100644 --- a/gnu/packages/u-boot.scm +++ b/gnu/pa

Re: [PATCH v2] gnu: Add dub-build-system.

2017-02-02 Thread Danny Milosavljevic
Hi Ludo, > Do you have experience using it on real DUB packages? IOW, how complete > is it? :-) Yeah, I've tested it on a small subset of all code.dlang.org packages. About half of the ones I tested work fine. This is my log: OK: (define-public d-taggedalgebraic OK: (define-public d-memutils

Re: [PATCH 7/7] gnu: Enable CONFIG_HOTPLUG_PCI.

2017-02-02 Thread Danny Milosavljevic
Hi David, I have an Atheros AR9285 in GuixSD and it works. /sys/class/net/wlp2s0/device/driver says it's using the driver ath9k PCI. On Thu, 2 Feb 2017 18:07:22 +0100 David Craven wrote: > I'm having trouble finding information. The opened atheros firmware is > only for the AR7010 and AR9271 U

Re: [PATCH] gnu: dub: Patch pkg-config name.

2017-02-02 Thread Danny Milosavljevic
Hi Ludo, On Wed, 01 Feb 2017 23:22:32 +0100 l...@gnu.org (Ludovic Courtès) wrote: > Is it necessary? It might be a case where picking whatever’s in $PATH > (“late binding”) is good enough; for instance, ‘gcc’ picks ‘ld’ from > $PATH, and that’s fine. I don't know. What's the policy for pkg-conf

Re: [PATCH 7/7] gnu: Enable CONFIG_HOTPLUG_PCI.

2017-02-02 Thread Danny Milosavljevic
Hi David, On Thu, 2 Feb 2017 21:18:06 +0100 David Craven wrote: > > I don't think the firmware needs to be uploaded at all to the AR9285 > > device. > > I don't understand: > > 1. free firmware - anyone can update the firmware > 2. binary blob - the vendor can update the firmware > 3. fixed

Re: [PATCH] gnu: dub: Patch pkg-config name.

2017-02-03 Thread Danny Milosavljevic
>So either > (a) dub needs it as input (like this patch would do) or > (b) every D package needs it as native-input (maybe the build system would > auto-add it as native-input to every D package - like it does add ldc and dub) (c) dub propagates pkg-config

Re: [PATCH] gnu: dub: Patch pkg-config name.

2017-02-03 Thread Danny Milosavljevic
Hi Ludo, On Fri, 03 Feb 2017 17:49:38 +0100 l...@gnu.org (Ludovic Courtès) wrote: > I think ‘dub-build-system’ could add it as an implicit input, much like > ‘gnu-build-system’ adds binutils as an implicit input. Okay, but it's directly used only by dub (it its function of building D packages).

Re: [PATCH 7/7] gnu: Enable CONFIG_HOTPLUG_PCI.

2017-02-03 Thread Danny Milosavljevic
> If the device has internal storage and if someone wanted to > target you and did have the resources to do so, they could reflash the > chip and you'd never know. They can't if it's read-only (and if they are without physical access to the room). On the other hand, if they had physical access th

Re: [PATCH 2/2] gnu: ldc: Update to 1.1.0.

2017-02-03 Thread Danny Milosavljevic
Hi, On Fri, 3 Feb 2017 18:45:22 +0200 Efraim Flashner wrote: > On Wed, Feb 01, 2017 at 10:51:32AM +0100, Danny Milosavljevic wrote: > > ;; files left with the --keep-failed flag to guix build. > > (patches (search-patches > > "ldc-1.1

Re: [PATCH] gnu: Add python-alabaster

2017-02-04 Thread Danny Milosavljevic
Hi, On Sat, 4 Feb 2017 15:12:47 +0300 Frederick Muriithi wrote: > Adds a new package definition [python-alabaster] What's wrong with python-sphinx-alabaster-theme which is already in master? Do you object to the name?

Re: [PATCH] gnu: Add python-alabaster

2017-02-04 Thread Danny Milosavljevic
Hi, okay, thanks anyway :) Comparing them, the existing alabaster packagespec lists bsd-3 as license. But you list license:non-copyleft "https://github.com/bitprophet/alabaster/blob/master/LICENSE";. Is it actually different? It seems

Re: [PATCH -v2] Fix gtk-im-modules for Gtk+3

2017-02-04 Thread Danny Milosavljevic
Hi, On Mon, 30 Jan 2017 11:06:49 +0800 huang_ying_cari...@163.com wrote: > -(define* (manifest-lookup-package manifest name #:optional version) > +(define* (manifest-lookup-package manifest name #:optional version output) >"Return as a monadic value the first package or store path referenced

[PATCH] gnu: Add python-pprofile.

2017-02-06 Thread Danny Milosavljevic
* gnu/packages/python.scm (python-pprofile, python2-pprofile): New variables. --- gnu/packages/python.scm | 23 +++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d53eea189..be9ba856f 100644 --- a/gnu/packages/python.scm +

[PATCH v3] gnu: Add dub-build-system.

2017-02-06 Thread Danny Milosavljevic
Karetnikov +;;; Copyright © 2016 David Craven +;;; Copyright © 2016 Danny Milosavljevic +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free

Re: Packaging leiningen (feedback desired)

2017-02-07 Thread Danny Milosavljevic
Hmmm... works for me with: $ java -cp "${HOME}/.guix-profile/share/java/clojure-1.8.0.jar" clojure.main (Note: java -> /gnu/store/4lnjmsr4szhqyixy238xjl83k8h5f0ck-icedtea-3.2.0/bin/java) Also works within guix environment --ad-hoc clojure.

Re: [PATCH] gnu: Add new package definitions

2017-02-07 Thread Danny Milosavljevic
Hi, +(name "python-pycosat") +(version "0.6.1") +(source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/76/0f/16edae7bc75b79376f2c260b7a459829785f"; + "08e463ecf74a8ccdef62dd4a/pycosat-" + ve

Re: [PATCH 1/9] gnu: python-dateutils-2: Update to 2.5.3.

2017-02-07 Thread Danny Milosavljevic
Hi ng0, I've fixed the typo in the commit message (s/dateutils/dateutil/) and applied to master, commit 6bd9ad6942d29163b87ca732ce562a098147513b. It causes rebuild of 56 packages.

Re: [PATCH 1/2] gnu: ldc: Rename ldc 0.17.2 to ldc-bootstrap.

2017-02-10 Thread Danny Milosavljevic
Applied as beffaf9a124e846eddd1519020c08ec6628fcd78 and pushed.

Re: [PATCH 2/2] gnu: ldc: Update to 1.1.0.

2017-02-10 Thread Danny Milosavljevic
Applied as 836cbd9f72fa3e2bcd4102c3db1b6f3c0671ed2f and pushed.

Re: [PATCH] gnu: rdmd: Update to 2.073.0.

2017-02-10 Thread Danny Milosavljevic
Applied as 4ad3c3840990571d72ea69106c5c0d9b1c4384e1 and pushed to master.

Re: [PATCH v3] gnu: Add dub-build-system.

2017-02-10 Thread Danny Milosavljevic
Pushed a variant of v3 as 65e862d1a2914ad61201236c155058bcf33b5b9c to master. Changes: Uses the tempdir also for the "vendor" directory - this allows us to avoid chmod of the checkout directory (which contained the "vendor" directory previously).

[PATCH] gnu: python-pyodbc-c: Update to 3.1.4.

2017-02-10 Thread Danny Milosavljevic
* gnu/packages/databases.scm (python-pyodbc-c): Update to 3.1.4. --- gnu/packages/databases.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index b74551c5b..39287efd9 100644 --- a/gnu/packages/databases.scm +++ b/g

Re: [PATCH 5/6] gnu: gcc: Force Aarch64 to use /lib.

2017-02-11 Thread Danny Milosavljevic
> + ;; Force Aarch64 libdir to be /lib and not /lib64 > + (substitute* "gcc/config/aarch64/t-aarch64-linux" > +(("lib64") "lib")) > + I'd amend the comment to say why.

[FIXME] build: dub-build-system: Don't use "dub run" at all.

2017-02-13 Thread Danny Milosavljevic
* guix/build/dub-build-system.scm (build): Modify. --- guix/build/dub-build-system.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/guix/build/dub-build-system.scm b/guix/build/dub-build-system.scm index 7c7cd8803..b2cb02e63 100644 --- a/guix/build/dub-build-system.scm ++

[PATCH] build: dub-build-system: Don't use "dub run" at all.

2017-02-13 Thread Danny Milosavljevic
* guix/build/dub-build-system.scm (build): Modify. --- guix/build/dub-build-system.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/guix/build/dub-build-system.scm b/guix/build/dub-build-system.scm index 7c7cd8803..b2cb02e63 100644 --- a/guix/build/dub-build-system.scm ++

[PATCH v2] build: dub-build-system: Don't use "dub run" at all.

2017-02-13 Thread Danny Milosavljevic
It doesn't make sense to run non-test executables (which is what "dub run" would do). The "check" function already invokes "dub test" and that's enough. * guix/build/dub-build-system.scm (build): Remove "dub run" invocation. --- guix/build/dub-build-system.scm | 4 +--- 1 file changed, 1 inserti

Re: server and client in one package -> security issue (was: Add murmur)

2017-02-14 Thread Danny Milosavljevic
Hi, I think the argument that things that don't exist can't be abused is a good one. However, a regular user can install it anyway. I don't remember when I last ran "guix package -i" as root. I just run it using my regular user account. So to separate the outputs adds just a miniscule step. In

Re: [PATCH v2] build: dub-build-system: Don't use "dub run" at all.

2017-02-14 Thread Danny Milosavljevic
Pushed to master, commit 80345600faae388f508822818adfc990b1ebac66.

Re: [PATCH] gnu: font-gnu-unifont: Call mkfontdir for pcf output

2017-02-14 Thread Danny Milosavljevic
Hi, > One problem of this solution is that some font packages (for example, > fonts-misc-misc) already have fonts.dir, to avoid conflict, it is better > to remove fonts.dir in all font packages and generate fonts.dir in > fonts-dir-file, I think that is good. But I don't know whether others > th

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

2017-02-14 Thread Danny Milosavljevic
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/install -c -m 644 twconfig.4 twpolicy.4 twc

python-tests: python-oslosphinx fixed. Please evaluate.

2017-02-18 Thread Danny Milosavljevic
Hi, so we finally got to the bottom of the problem with python-oslosphinx. It should be fixed now (the main fix is in python-pbr-minimal). @Leo: Can you please start a new evaluation of python-tests?

ntfs-3g: Does it build?

2017-02-18 Thread Danny Milosavljevic
Hi, does ntfs-3g build for you using Guix master? For me, it doesn't - because of a whitespace problem in the patch "ntfs-3g-CVE-2017-0358.patch".

Re: ntfs-3g: Does it build?

2017-02-18 Thread Danny Milosavljevic
Hi Kei, I think the empty line except for the whitespace is the only important line - see below. The number of spaces is different. diff --git a/gnu/packages/patches/ntfs-3g-CVE-2017-0358.patch b/gnu/packages/patches/ntfs-3g-CVE-2017-0358.patch index 6edd676e3..dfaeca080 100644 --- a/gnu/packag

Re: ntfs-3g: Does it build?

2017-02-18 Thread Danny Milosavljevic
> Was there any change for you using the patch I just sent? That one also works.

[PATCH] gnu: Add binutils-vc4.

2017-02-19 Thread Danny Milosavljevic
* gnu/packages/embedded.scm (binutils-vc4): New variable. --- gnu/packages/embedded.scm | 53 +++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 70de5e53b..3e1f87d74 100644 --- a/gnu/packages/em

[PATCH] gnu: python-pygame: Update to 1.9.3.

2017-02-21 Thread Danny Milosavljevic
* gnu/packages/game-development.scm (python-pygame)[version]: Update to 1.9.3. [source]: Use pypi-uri. [inputs]: Add freetype. [arguments]: Remove python-2. Substitute "FREETYPE". Remove "src/movie.c" dummy substitution. (python2-pygame): New variable. --- gnu/packages/game-development.s

[PATCH] gnu: xonsh: Update to 0.5.5.

2017-02-21 Thread Danny Milosavljevic
* gnu/packages/shells.scm (xonsh): Update to 0.5.5. --- gnu/packages/shells.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 5aada5434..2ea23acd3 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@

Re: [PATCH] gnu: python-pygame: Update to 1.9.3.

2017-02-22 Thread Danny Milosavljevic
Applied as 052f75da754b1d6aae00049f732a3bb549147e0f to master.

Re: [PATCH] gnu: xonsh: Update to 0.5.5.

2017-02-22 Thread Danny Milosavljevic
Applied as f59a20cb6ccbde86a4b06428c9dbfe43ef813983 to master.

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

2017-02-24 Thread Danny Milosavljevic
Hi, yeah, I've looked at it and I see what you are trying to do. You modified 'union to replicate the directory tree and symlink only the non-directory files - in order to be able to add "fonts.dir" in those directories. The previous version symlinked entire directories, too, and you wouldn't

Re: Input needed: Plan for packaging scala

2017-02-24 Thread Danny Milosavljevic
Hi, On Fri, 24 Feb 2017 08:39:24 -0600 Katherine Cox-Buday wrote: > So, to untangle this knot to achieve reproducibility, I was planning on > first packaging scala 2.9.2, then the latest version of sbt that could > be built with scala, then sbt 0.13 (which would be useful in its own > right as a

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

2017-02-27 Thread Danny Milosavljevic
Hi Mark, On Fri, 24 Feb 2017 17:13:53 -0500 Mark H Weaver wrote: > If the purpose here is to facilitate mutating anything in the store, That's not what it does. It's used in the profile hook. 'union-build is basically just reused to avoid code duplication. See PATCH 2/2. > then we cannot acce

Re: export variable CONFFLAGS

2017-02-28 Thread Danny Milosavljevic
Hi, On Mon, 27 Feb 2017 23:45:36 -0600 ren...@openmailbox.org wrote: > Hello, > I am trying to export the variable 'CONFFLAGS' for 'apr' package on > GNU/Hurd as follows: > > (arguments > #:make-flags ("CONFFLAGS+=apr_cv_struct_ipmreq=no" > (string-append "PREFIX=

Re: [PATCH 5/8] vm: Remove hard coded kernel file name.

2017-02-28 Thread Danny Milosavljevic
Applied as 43fe431cce107bd311a68dea59ac0f672ac13615 to master.

Re: [PATCH 6/8] vm: Improve readability of run-vm.sh generation.

2017-02-28 Thread Danny Milosavljevic
Applied as 26a076ed693167dd4d501a880933a75da894a57f to master.

Re: [PATCH 1/8] file-systems: Add FAT32 support.

2017-03-01 Thread Danny Milosavljevic
Applied as b0377e58c30c399f9844a1607d677e525bb1d05f to master.

Re: [PATCH] services: openssh: Enable PAM.

2017-03-01 Thread Danny Milosavljevic
LGTM!

Re: [PATCH 3/4] services: openssh: Fix 'PrintLastLog' default behaviour.

2017-03-01 Thread Danny Milosavljevic
Hi, On Tue, 21 Feb 2017 00:53:54 +0100 Clément Lassieur wrote: > * gnu/services/ssh.scm (openssh-config-file): Add 'pring-last-log?' option. ^ typo > ()[print-last-log?]: Add it. > (openssh-activation): Touch /var/log/lastlog. Indent

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

2017-03-01 Thread Danny Milosavljevic
Hi, On Tue, 21 Feb 2017 00:53:55 +0100 Clément Lassieur wrote: > +This is a list of two-element tuples, list of pairs. >where each tuple contains the each pair > +subsystem name and a command (with optional arguments) to execute upon > +subsystem request. > + > +The command @command{sftp-ser

Re: [PATCH 2/4] services: openssh: Remove deprecated options.

2017-03-01 Thread Danny Milosavljevic
LGTM!

Re: [PATCH 1/3] services: openssh: Enable PAM.

2017-03-03 Thread Danny Milosavljevic
LGTM!

Re: [PATCH 2/3] services: openssh: Remove deprecated options.

2017-03-03 Thread Danny Milosavljevic
LGTM!

Re: [PATCH 3/3] services: openssh: Fix 'PrintLastLog' default behaviour.

2017-03-03 Thread Danny Milosavljevic
LGTM! By the way everyone, can we eventually put 'touch into a common module? By now lots of files reimplement it.

Re: [PATCH] gnu: Add binutils-vc4.

2017-03-05 Thread Danny Milosavljevic
Pushed to master as 8ea42482141d3f091980d52537c3eea50ec7c91e.

SIGINT in guix environment

2017-03-05 Thread Danny Milosavljevic
Hi Leo, >'test_regrtest_sigint'] failed with exit code 0 >print('pdb %d: %s' % (i, sess._previous_sigint_handler)) That's strange. I've tried to enable Rust tests and there, too, is a problem with SIGINT (that's the ONLY failing test remaining for my version of Rust (which only patches "/bin/s

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: [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 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
> "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

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: [WIP Patch] tripwire; "install" duplicate filenames?

2017-03-08 Thread Danny Milosavljevic
Hi Ludo, On Tue, 07 Mar 2017 15:44:41 +0100 l...@gnu.org (Ludovic Courtès) wrote: > Danny Milosavljevic skribis: > > > Hi, > > > > does anyone know how I can easily fix "install" complaining about a file > > being specified multiple times (in an upstrea

Re: [PATCH 1/5] gnu: Add python2-cliapp.

2017-03-08 Thread Danny Milosavljevic
> +(inputs > + `(("python2-pyaml" ,python2-pyaml))) propagated-inputs ? > +(description "Cliapp is a python framework for command line > +programs. It contains the typical stuff such programs need to do, > +such as parsing the command line for options, and iterating over input > +fil

Re: Could anyone help me to pack the shellcheck (haskell)

2017-03-08 Thread Danny Milosavljevic
Hi, On Wed, 08 Mar 2017 20:08:41 +0800 "Huang\, Ying" wrote: > I know very little about Haskell, but I use shellcheck > (https://github.com/koalaman/shellcheck) to check my shell scripts. I > tried myself, but found it is hard for me. Could anyone help me on > that? If it's distributed by Has

Re: Could anyone help me to pack the shellcheck (haskell)

2017-03-09 Thread Danny Milosavljevic
Hi, On Thu, 09 Mar 2017 19:39:19 +0800 "Huang\, Ying" wrote: > Danny Milosavljevic writes: > > > Hi, > > > > On Wed, 08 Mar 2017 20:08:41 +0800 > > "Huang\, Ying" wrote: > > > >> I know very little about Haskell, but I use

Re: [PATCH 1/3] services: openssh: Enable PAM.

2017-03-10 Thread Danny Milosavljevic
All 3 committed to master (as commits f895dce41b5495849a7e26fef747db14f6dd4ef0, 1806a670f06bd745e7e3744046f50bb6f9113d26, 563c5d42c954eacc54151d46a04ae14b9dbb1a10).

Re: [PATCH 1/1] gnu: icestorm: Replace reference in icebox_vlog.

2017-03-10 Thread Danny Milosavljevic
Sorry, the previously attached patch didn't apply using "git am" so I forgot about it. I fixed it now and commited it as b500dc2e83adc5529b890349af48655d0adaf1f8 to master.

Re: [PATCH] gnu: Add fpc. (version 2)

2017-03-12 Thread Danny Milosavljevic
Hi Kei, is anything holding this up? I've tested it and can confirm it works fine.

Re: [PATCH] gnu: Add fpc. (version 2)

2017-03-14 Thread Danny Milosavljevic
Hi, >+ (copy-file (assoc-ref inputs "fpc-binary") >+ "fpc-bin.tar") >+ (zero? (system* "tar" "xvf" "fpc-bin.tar") Why the copy-file and then untar ? Can't it be untarred immediately from where it is? If it is useful, maybe add

Re: bug#26075: [PATCH -v3 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-15 Thread Danny Milosavljevic
Both LGTM!

Re: 01/01: bug#26152: [PATCH] gnu: limnoria: Update to 20170110.

2017-03-18 Thread Danny Milosavljevic
> > bug#26152: [PATCH] gnu: limnoria: Update to 20170110. > > Make sure to clean up the subject line before pushing in the future. > :-) Oh sorry. P.S. What happened to the idea of making the subject prefix "[bug#26152: ]" (or "[bug#26152]") ? I tried it just now - git am would trim it a

Re: [PATCH] gnu: Add LDFLAGS=-lpthread to configure-flags where needed.

2017-03-21 Thread Danny Milosavljevic
Hi John, thanks for looking into the problem. On Tue, 21 Mar 2017 02:22:11 +0100 John Darrington wrote: > + (arguments `(#:configure-flags '("LDFLAGS=-lpthread"))) Hmm, that seems to be a very unsafe thing to do. In order to actually use pthread, one has to switch gcc into pthread mode (whi

Re: [PATCH] gnu: Add LDFLAGS=-lpthread to configure-flags where needed.

2017-03-21 Thread Danny Milosavljevic
Hi, I forgot to say: gcc pthread mode is activated via option "-pthread". It enables thread-local storage for some things (errno etc) and uses reentrant versions of some functions. Which packages are the ones that is depending on libpng and failing? I can have a look...

Re: [PATCH] gnu: node: Update to 7.8.0.

2017-03-31 Thread Danny Milosavljevic
Pushed to master as 3346add16a6cbc2027bc14b7fa011cfa1b7bc815.

Re: the importance of rust-build-system [Fwd: [tor-dev] Tor in a safer language: Network team update from Amsterdam]

2017-04-02 Thread Danny Milosavljevic
Hi ng0, On Sat, 1 Apr 2017 07:58:41 + ng0 wrote: > Danny, could you list what's left for completion? Is it just circular > dependencies? Very little is missing: - Rustc and cargo should be disentangled. Right now they have to be updated in lockstep. - Rust has a new optional maker (inste

Re: problem with commit abae042

2017-04-15 Thread Danny Milosavljevic
Hi, On Sat, 15 Apr 2017 20:17:59 +0200 Mathieu Othacehe wrote: > I think there's a problem with commit abae042 : > > * profile-grub-entries become unused and is still present. I know, I can't remove it without review, far too dangerous. > * When using switch-generation, operating-system-bootc

bootloader and kernel arguments "--root", "--system", "--load"

2017-04-15 Thread Danny Milosavljevic
Ok, I'm in the process of reverting the patches to grub. -- Problem analysis: - (profile-boot-parameters ...) doesn't pick up the correct kernel-arguments. It's reading them from a parameters file for the system generation back then, for example from /gnu/store/x8ymiksnhfyvjdi8ms38ysc4yr9

Re: bug#26339: problem with commit abae042

2017-04-15 Thread Danny Milosavljevic
It has been reverted.

G-Expressions for boot-parameters or grub-configuration-file ?

2017-04-16 Thread Danny Milosavljevic
Hi, I'm trying to simplify the bootloader support in master a bit and am running into trouble when trying to refactor operating-system-bootcfg: When applying the attached patch and then doing guix system reconfigure /etc/config.scm --fallback ... I get: ERROR: In procedure memoize-variable-

Re: G-Expressions for boot-parameters or grub-configuration-file ?

2017-04-16 Thread Danny Milosavljevic
Forgot to mention the following chunk: --- gnu/system/grub.scm 2017-04-16 02:01:46.621445795 +0200 +++ /home/dannym/src/guix/gnu/system/grub.scm 2017-04-16 00:26:19.654626204 +0200 @@ -267,6 +267,15 @@ (#f #~(format #f "search --file --set ~a" #$file) +(define (boot-par

Re: G-Expressions for boot-parameters or grub-configuration-file ?

2017-04-17 Thread Danny Milosavljevic
Hi Mathieu, > Here's a sligtly modified version of your patch that works for "guix > reconfigure", I didn't tried any other use-cases. Thanks! I can confirm that it works for that use-case. I think it would be a possible way to get a handle on the "--load" complexity. Since it's not possible t

Re: [PATCH] gnu: node: Update to 7.8.0.

2017-04-17 Thread Danny Milosavljevic
Hi Jelle, since the node build seems to fail by timeout quite often I pushed the update of node to 7.8.0 to master as 3759deaba1413270e623be7b56b7a4b3856fb6e8 and added a timeout of 1 h. We might need to increase it some more later, let's see.

texlive texmf hash value incorrect?

2017-04-19 Thread Danny Milosavljevic
Hi, so I've downloaded approximately 6 GB of texlive today and it always fails at the verification of the hash value: Starting download of /gnu/store/xdjl5wxdjghq85nbc9qacgyzh8d54f6y-texlive-20160523b-texmf.tar.xz From ftp://tug.org/historic/systems/texlive/2016/texlive-20160523b-texmf.tar.xz.

Re: Defining user services in Guix.

2017-04-22 Thread Danny Milosavljevic
Hi Mathieu, personally, I'd just start it inside ~/.xinitrc, ~/.xsession, ~/.fluxbox/startup or similar. That's a little old-school, though, but it's how I always did those things. The disadvantage is that if redshift crashes, it's not being brought back up. But you can start your own shephe

Re: [PATCH] New package: aspell-dict-pt-br

2017-04-22 Thread Danny Milosavljevic
Hi, for simplicity, I'd prefer if the variable was called aspell-dict-pt_BR like the package. I don't like pointless aliases much. What do you think?

Debugging info unavailability

2017-04-22 Thread Danny Milosavljevic
Hi, just now I had to debug a doxygen Segmentation Fault. I tried to install doxygen:debug but that wasn't available. I think it would be nice if these outputs were available by default (but not installed by default). If we wanted to do that, we could just adapt guix/build-system/cmake.scm,

Re: [PATCH] New package: aspell-dict-pt-br

2017-04-22 Thread Danny Milosavljevic
No, Ludo has applied it already (with changes), it's in master now. He's fixed it the other way around: now the package is also called aspell-dict-pt-br. Thanks for the patch!

<    3   4   5   6   7   8   9   10   11   12   >