Guix with U-Boot

2016-08-29 Thread Danny Milosavljevic
Hi, On Sun, 28 Aug 2016 14:28:31 +0200 David Craven wrote: > Thanks for your suggestions. I pushed the packages. > > Is there a git repo somewhere I can pull your uboot stuff from? I'd > like to test it =) There's no such repo right now. I'd prefer merging into master soon to creating a fork

Re: Guix with U-Boot

2016-08-29 Thread Danny Milosavljevic
with what I have here :) ) ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès ;;; 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

Re: [PATCH] gnu: Add dtc.

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 16:53:10 +0200 David Craven wrote: > I made some stylistic changes, updated the license, updated to 1.4.1, > removed the patches (checked the arch package and the nixos package, > both don't patch dtc) > > I forgot to add u-boot.scm to local.mk... > > Danny, WDYT? Is it an i

Re: Guix with U-Boot

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 18:51:45 +0200 David Craven wrote: > So I think that dtc and uboot are good now, I'll give it a few days > before merging... > > I'm getting an Unbound variable: error :/ > > Here's my bootloader configuration. Any suggestions? =) > > (bootloader (u-boot-configuration >

Re: Guix with U-Boot

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 18:51:45 +0200 David Craven wrote: > So I think that dtc and uboot are good now, I'll give it a few days > before merging... > > I'm getting an Unbound variable: error :/ > > Here's my bootloader configuration. Any suggestions? =) > > (bootloader (u-boot-configuration >

Re: Guix with U-Boot

2016-08-29 Thread Danny Milosavljevic
> > (bootloader (u-boot-configuration > >(board "vexpress_ca9x4") > >(device "/dev/sdX") > >(u-boot armhf-linux-uboot))) Note: It should infer the correct u-boot to use on its own - at least that's the intention with the whole make-u-boot-packag

Re: Guix with U-Boot

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 19:52:23 +0200 Danny Milosavljevic wrote: > > > (bootloader (u-boot-configuration > > >(board "vexpress_ca9x4") > > >(device "/dev/sdX") > > >(u-boot armhf-linux-uboot

Re: Guix with U-Boot

2016-08-29 Thread Danny Milosavljevic
If I forgot any other things, see my working copy http://www.scratchpost.org/software/Guix/guix.tar.gz - warning: there be dragons. The existing files that I touched for U-Boot are: ./gnu/build/vm.scm ; initialize-hard-disk has a key #:grub.cfg ./gnu/build/install.scm ; actual invocation of gru

Re: [PATCH] gnu: Add u-boot.

2016-08-29 Thread Danny Milosavljevic
> +(define (make-u-boot-package board triplet xgcc) ... > + (begin > + (display "Invalid boardname. Valid boardnames would > have been:") > + (newline) > + (system* "ls" "-1" "configs") > + #f) I

Re: [PATCH] gnu: Add u-boot.

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 20:27:52 +0200 Danny Milosavljevic wrote: > (find-files "." ".*\\.(bin|efi)$")) Also in order to support Novena it should be (find-files "." ".*\\.(bin|efi|spl)$"))

How does install-grub work?

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 20:20:30 +0200 David Craven wrote: > > Note: It should infer the correct u-boot to use on its own - at least > > that's the intention with the whole make-u-boot-package thing. > > Did you see the updated u-boot patch? It includes support for > cross-compilation, Nice! >

Re: Guix with U-Boot

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 20:56:53 +0200 David Craven wrote: > FYI your editor is using dos style /n/r newlines. Don't know if that > is your intention. Are you on windows? O.O xD Thanks for the heads-up! No, it's nano on GuixSD. (Guile emacs on Guix broke a long time ago and while there was a worka

Re: How does install-grub work?

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 22:29:40 +0200 David Craven wrote: >So for booting a vm we don't actually need a boot loader, since it passes the >kernel image through the -kernel flag. Huh, that appears to be the case. Back when I used VMs the first time they simulated the entire PC, BIOS and all and th

Re: How does install-grub work?

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 22:54:27 +0200 David Craven wrote: > for actual boards, isn't uboot usually written to flash instead of to a MBR? That depends on the board - sometimes it's written to flash. For Allwinner hardware, it's written to a fixed section (fixed sectors) on either a SD card or NAND

Re: How does install-grub work?

2016-08-29 Thread Danny Milosavljevic
Hi, On Mon, 29 Aug 2016 23:19:30 +0200 David Craven wrote: > So I'd say the next steps are: > > 1. Pick out your changes that are related to renaming grub to > bootloader and add a shim for the uboot parts. That should be enough > to get vm's booting. Yes. Note that Ludo said that it might mak

Re: How does install-grub work?

2016-08-29 Thread Danny Milosavljevic
Before I forget it again - maybe it makes sense to always generate and install both the U-Boot and the Grub configuration file. While the bootloaders are [probably] mutually exclusive, I don't think that the config files are!

Re: How does install-grub work?

2016-08-29 Thread Danny Milosavljevic
On Tue, 30 Aug 2016 00:00:35 +0200 David Craven wrote: > >> 1. Pick out your changes that are related to renaming grub to > >> bootloader and add a shim for the uboot parts. That should be enough > >> to get vm's booting. > > > Yes. Note that Ludo said that it might make sense to separate the

[PATCH] gnu: Add mtd-utils.

2016-08-29 Thread Danny Milosavljevic
* gnu/packages/linux.scm (mtd-utils): New variable. --- gnu/packages/linux.scm | 35 +++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 07fd6e5..7ab9b3c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/lin

[PATCH v2 3/3] gnu: update ldc to 0.17.1.

2016-08-29 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (ldc): Update to 0.17.1. * gnu/packages/patches/ldc-0.17.1-disable-tests.patch: New patch. * gnu/local.mk: Added reference to patch. --- gnu/packages/ldc.scm | 39 +- .../patches/ldc-0.17.1-disable-tests.patch | 84 ++

[PATCH v2 0/3] Fix ldc.

2016-08-29 Thread Danny Milosavljevic
This patch series fixes ldc up so it works again and updates it to the newest C++-bootstrappable version. Danny Milosavljevic (3): gnu: ldc: make isnan and isinf work. gnu: Add python-lit, python2-lit. gnu: update ldc to 0.17.1. gnu/packages/ldc.scm | 33

[PATCH v2 2/3] gnu: Add python-lit, python2-lit.

2016-08-29 Thread Danny Milosavljevic
* gnu/packages/python.scm (python-lit, python2-lit): New variables. --- gnu/packages/python.scm | 26 ++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 77bb8a4..070bef4 100644 --- a/gnu/packages/python.scm +++ b/gnu/pa

[PATCH v2 1/3] gnu: ldc: make isnan and isinf work.

2016-08-29 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (ldc): Added substitution. --- gnu/packages/ldc.scm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/ldc.scm b/gnu/packages/ldc.scm index 1709f59..601804a 100644 --- a/gnu/packages/ldc.scm +++ b/gnu/packages/ldc.scm @@ -101,6 +101,12 @@ and freshness wi

Re: No package from hydra

2016-08-29 Thread Danny Milosavljevic
On Fri, 19 Aug 2016 14:19:03 +0200 Pjotr Prins wrote: > On Fri, Aug 19, 2016 at 02:15:19PM +0200, Pjotr Prins wrote: > > ldc is broken since May 2016. > > > > http://hydra.gnu.org/job/gnu/master/ldc-0.16.1.x86_64-linux > > > > hmmm. > > Include file gone missing: I've posted a patch to fix

Re: [PATCH] gnu: Add mtd-utils.

2016-08-30 Thread Danny Milosavljevic
On Tue, 30 Aug 2016 11:08:17 +0300 Alex Kost wrote: > It would be good if you write a comment before licenses, like what files > have what licenses. Also is it really 'gpl2'? If the license says "or > any later version", it should be 'gpl2+'. They are: ./compr.c: " * JFFS2 -- Journalling Fla

[PATCH v2 1/2] gnu: Add arduino-libraries.

2016-08-30 Thread Danny Milosavljevic
index 000..6649456 --- /dev/null +++ b/gnu/packages/arduino.scm @@ -0,0 +1,90 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Danny Milosavljevic +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify

[PATCH v2 2/2] gnu: Add arduino-makefile.

2016-08-30 Thread Danny Milosavljevic
* gnu/packages/arduino.scm (arduino-makefile): New variable. --- gnu/packages/arduino.scm | 81 1 file changed, 81 insertions(+) diff --git a/gnu/packages/arduino.scm b/gnu/packages/arduino.scm index 6649456..0305e51 100644 --- a/gnu/packages/ardui

[PATCH v2 0/2] Add Arduino tools

2016-08-30 Thread Danny Milosavljevic
Danny Milosavljevic (2): gnu: Add arduino-libraries. gnu: Add arduino-makefile. gnu/local.mk | 2 + gnu/packages/arduino.scm | 171 +++ 2 files changed, 173 insertions(+) create mode 100644 gnu/packages/arduino.scm

[PATCH v3 1/2] gnu: Add arduino-libraries.

2016-08-30 Thread Danny Milosavljevic
b/gnu/packages/arduino.scm new file mode 100644 index 000..6649456 --- /dev/null +++ b/gnu/packages/arduino.scm @@ -0,0 +1,90 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Danny Milosavljevic +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free

[PATCH v3 0/2] Add Arduino tools

2016-08-30 Thread Danny Milosavljevic
Danny Milosavljevic (2): gnu: Add arduino-libraries. gnu: Add arduino-makefile. gnu/local.mk | 2 + gnu/packages/arduino.scm | 171 +++ 2 files changed, 173 insertions(+) create mode 100644 gnu/packages/arduino.scm

[PATCH v3 2/2] gnu: Add arduino-makefile.

2016-08-30 Thread Danny Milosavljevic
* gnu/packages/arduino.scm (arduino-makefile): New variable. --- gnu/packages/arduino.scm | 81 1 file changed, 81 insertions(+) diff --git a/gnu/packages/arduino.scm b/gnu/packages/arduino.scm index 6649456..0305e51 100644 --- a/gnu/packages/ardui

[PATCH v3 2/3] gnu: Add python-lit, python2-lit.

2016-08-30 Thread Danny Milosavljevic
* gnu/packages/python.scm (python-lit, python2-lit): New variables. --- gnu/packages/python.scm | 26 ++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 77bb8a4..070bef4 100644 --- a/gnu/packages/python.scm +++ b/gnu/pa

[PATCH v3 0/3] Fix ldc.

2016-08-30 Thread Danny Milosavljevic
This patch series fixes ldc up so it works again and updates it to the newest C++-bootstrappable version. Danny Milosavljevic (3): gnu: ldc: make isnan and isinf work. gnu: Add python-lit, python2-lit. gnu: update ldc to 0.17.1. gnu/packages/ldc.scm | 33

[PATCH v3 3/3] gnu: update ldc to 0.17.1.

2016-08-30 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (ldc): Update to 0.17.1. * gnu/packages/patches/ldc-0.17.1-disable-tests.patch: New patch. * gnu/local.mk: Added reference to patch. --- gnu/local.mk | 1 + gnu/packages/ldc.scm | 39 +- .../patches/

[PATCH v3 1/3] gnu: ldc: make isnan and isinf work.

2016-08-30 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (ldc): Added substitution. --- gnu/packages/ldc.scm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/ldc.scm b/gnu/packages/ldc.scm index 1709f59..601804a 100644 --- a/gnu/packages/ldc.scm +++ b/gnu/packages/ldc.scm @@ -101,6 +101,12 @@ and freshness wi

[PATCH v4 2/2] gnu: Add arduino-makefile.

2016-08-30 Thread Danny Milosavljevic
* gnu/packages/arduino.scm (arduino-makefile): New variable. --- gnu/packages/arduino.scm | 81 1 file changed, 81 insertions(+) diff --git a/gnu/packages/arduino.scm b/gnu/packages/arduino.scm index 5309587..08ed1cf 100644 --- a/gnu/packages/ardui

[PATCH v4 1/2] gnu: Add arduino-libraries.

2016-08-30 Thread Danny Milosavljevic
/arduino.scm new file mode 100644 index 000..5309587 --- /dev/null +++ b/gnu/packages/arduino.scm @@ -0,0 +1,91 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Danny Milosavljevic +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can

[PATCH v4 0/2] gnu: Add Arduino tools

2016-08-30 Thread Danny Milosavljevic
Danny Milosavljevic (2): gnu: Add arduino-libraries. gnu: Add arduino-makefile. gnu/local.mk | 2 + gnu/packages/arduino.scm | 172 + ...aries-hardware-remove-__cxa_guard_acquire.patch | 13 ++ 3 files

[PATCH v5 0/2] gnu: Add Arduino tools

2016-08-30 Thread Danny Milosavljevic
Danny Milosavljevic (2): gnu: Add arduino-libraries. gnu: Add arduino-makefile. gnu/local.mk | 2 + gnu/packages/arduino.scm | 172 + ...aries-hardware-remove-__cxa_guard_acquire.patch | 13 ++ 3 files

[PATCH v5 2/2] gnu: Add arduino-makefile.

2016-08-30 Thread Danny Milosavljevic
* gnu/packages/arduino.scm (arduino-makefile): New variable. --- gnu/packages/arduino.scm | 81 1 file changed, 81 insertions(+) diff --git a/gnu/packages/arduino.scm b/gnu/packages/arduino.scm index 5309587..08ed1cf 100644 --- a/gnu/packages/ardui

[PATCH v5 1/2] gnu: Add arduino-libraries.

2016-08-30 Thread Danny Milosavljevic
/arduino.scm new file mode 100644 index 000..5309587 --- /dev/null +++ b/gnu/packages/arduino.scm @@ -0,0 +1,91 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Danny Milosavljevic +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can

[PATCH v6 2/2] gnu: Add arduino-makefile.

2016-08-30 Thread Danny Milosavljevic
* gnu/packages/arduino.scm (arduino-makefile): New variable. --- gnu/packages/arduino.scm | 81 1 file changed, 81 insertions(+) diff --git a/gnu/packages/arduino.scm b/gnu/packages/arduino.scm index 5309587..08ed1cf 100644 --- a/gnu/packages/ardui

[PATCH v6 1/2] gnu: Add arduino-libraries.

2016-08-30 Thread Danny Milosavljevic
/arduino.scm new file mode 100644 index 000..5309587 --- /dev/null +++ b/gnu/packages/arduino.scm @@ -0,0 +1,91 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Danny Milosavljevic +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can

[PATCH v6 0/2] gnu: Add Arduino tools

2016-08-30 Thread Danny Milosavljevic
Danny Milosavljevic (2): gnu: Add arduino-libraries. gnu: Add arduino-makefile. gnu/local.mk | 2 + gnu/packages/arduino.scm | 172 + ...aries-hardware-remove-__cxa_guard_acquire.patch | 13 ++ 3 files

Re: [PATCH v6 2/2] gnu: Add arduino-makefile.

2016-08-31 Thread Danny Milosavljevic
Hi Ricardo, On Wed, 31 Aug 2016 22:02:55 +0200 Ricardo Wurmus wrote: > > + (let ((avr-gcc (assoc-ref inputs "avr-gcc-5")) > > + (avr-binutils (assoc-ref inputs "avr-binutils"))) > > + (substitute* "bin/ard-reset-arduino" > > +(("#!/usr/bi

Re: [PATCH v6 1/2] gnu: Add arduino-libraries.

2016-08-31 Thread Danny Milosavljevic
> As this is only used by “arduino-libraries” and probably no other > package I’d move this into the definition of “arduino-libraries”. I suppressed arduino-core in this patch series. It will be used by others. > Could you expand the description a little? Maybe one more sentence. What should I

Re: [PATCH] gnu: Add u-boot.

2016-08-31 Thread Danny Milosavljevic
Hi Ludo, On Wed, 31 Aug 2016 22:40:57 +0200 l...@gnu.org (Ludovic Courtès) wrote: > > + (lambda* (#:key outputs make-flags #:allow-other-keys) > > + (let ((configname (string-append ,board "_defconfig"))) > > Should be ‘config-name’ per our conventions, but ‘config’ is pr

[PATCH v2 0/2] Add u-boot package and its dependent packages

2016-08-31 Thread Danny Milosavljevic
Danny Milosavljevic (2): gnu: Add dtc. gnu: Add u-boot. gnu/local.mk | 4 + gnu/packages/patches/dtc-01_build_doc.patch| 22 +++ ...t-Add-missing-functions-to-shared-library.patch | 30 + ...t-Add-some-missing-symbols-to-version.lds.patch

[PATCH v2 2/2] gnu: Add u-boot.

2016-08-31 Thread Danny Milosavljevic
gnu: Add u-boot. * gnu/packages/u-boot.scm (u-boot, make-u-boot-package, armhf-linux-uboot, mips64el-linux-uboot): New variables. Co-authored-by: David Craven --- gnu/packages/u-boot.scm | 90 ++--- 1 file changed, 86 insertions(+), 4 deletions(-)

[PATCH v2 1/2] gnu: Add dtc.

2016-08-31 Thread Danny Milosavljevic
ocal: + *; +-- +2.8.1 + diff --git a/gnu/packages/u-boot.scm b/gnu/packages/u-boot.scm new file mode 100644 index 000..5f3fd49 --- /dev/null +++ b/gnu/packages/u-boot.scm @@ -0,0 +1,65 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Danny Milosav

Re: [PATCH] gnu: Add mtd-utils.

2016-08-31 Thread Danny Milosavljevic
On Wed, 31 Aug 2016 22:59:11 +0200 l...@gnu.org (Ludovic Courtès) wrote: > Are there GPLv2 license headers that lack the “or any later version” > wording, or anything that explicitly says “version 2 only”? If not, > it’s v2-or-later. ./ftl_format.c: ' Ported to MTD system. * Based on: ===

[PATCH v2] gnu: Add mtd-utils.

2016-09-01 Thread Danny Milosavljevic
gnu: Add mtd-utils. * gnu/packages/linux.scm (mtd-utils): New variable. --- gnu/packages/linux.scm | 36 1 file changed, 36 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index aac2cd1..4c690a6 100644 --- a/gnu/packages/linux.scm +

[PATCH] gnu: dtc: Add missing exports

2016-09-01 Thread Danny Milosavljevic
gnu: dtc: Add missing exports: - fdt_first_subnode - fdt_next_subnode - fdt_address_cells - fdt_size_cells - fdt_stringlist_contains - fdt_resize --- gnu/local.mk | 1 + .../patches/dtc-add-missing-symbols-to-lds.patch | 59

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

2016-09-01 Thread Danny Milosavljevic
Hi David, I've posted just the one patch that is adding the exports now. Leaving those exports out was certainly an oversight by the dtc developers. Not adding them would mean that libfdt.h contained prototypes for functions which don't exist. This is something that is really annoying to have as

Re: [PATCH v6 2/2] gnu: Add arduino-makefile.

2016-09-01 Thread Danny Milosavljevic
Hi Ricardo, On Thu, 01 Sep 2016 16:57:32 +0200 Ricardo Wurmus wrote: >> > + (substitute* "bin/ard-reset-arduino" >> > +(("#!/usr/bin/env python") "#!/usr/bin/python3")) >> > >> This looks unnecessary. When “python-wrapper” is among the inputs the > >> shebang w

Re: [PATCH v6 2/2] gnu: Add arduino-makefile.

2016-09-01 Thread Danny Milosavljevic
On Thu, 1 Sep 2016 20:44:20 +0200 Danny Milosavljevic wrote: > I don't know about this. I thought propagated meant that if I installed > arduino-makefile into the profile it would also install avrdude into the > profile. That is not what I wanted. The Makefile refers to the

Re: [PATCH] updated: gnu: add asn1c

2016-09-01 Thread Danny Milosavljevic
* gnu/packages/tsl.scm (asn1c): New variable. ^^ typo Otherwise LGTM! Someone can probably fix that up when pushing.

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

2016-09-03 Thread Danny Milosavljevic
Hi, they've integrated these patches into their new dtc release 1.4.2 :)

[FIXME] gnu: dtc: Update to 1.4.2. Remove patches since they are integrated upstream now.

2016-09-03 Thread Danny Milosavljevic
--- gnu/local.mk | 1 - .../patches/dtc-add-missing-symbols-to-lds.patch | 59 -- gnu/packages/u-boot.scm| 6 +-- 3 files changed, 2 insertions(+), 64 deletions(-) delete mode 100644 gnu/packages/patches/dtc

[PATCH] gnu: dtc: Update to 1.4.2. Remove patches since they are integrated upstream now.

2016-09-03 Thread Danny Milosavljevic
--- gnu/local.mk | 1 - .../patches/dtc-add-missing-symbols-to-lds.patch | 59 -- gnu/packages/u-boot.scm| 6 +-- 3 files changed, 2 insertions(+), 64 deletions(-) delete mode 100644 gnu/packages/patches/dtc

Re: [PATCH 4/5] gnu: kernel-config: Add armhf kernel config.

2016-09-05 Thread Danny Milosavljevic
> I wonder if it makes sense to have a single “armhf” configuration. My > understanding is that the config is often tweaked for the specific ARM > board that is targeted. Even worse, it used to be the case that ARM kernels only worked on one specific ARM board. However, the multi configuration

wip u-boot support

2016-09-05 Thread Danny Milosavljevic
(mwhen grub? - (install-grub* (derivation->output-path grub.cfg) -device "/" + (install-bootloader* (derivation->output-path grub) + (derivation->output-path grub.cfg) +

Re: [PATCH 2/3] guix: ant-build-system: add empty `tests` target to default build.xml.

2016-09-05 Thread Danny Milosavljevic
Hi Hartmut, On Mon, 5 Sep 2016 13:32:44 +0200 Hartmut Goebel wrote: > When specifying #:jar-file, the ant-builder will create a build.xml. > This build.xml did not include a test-target at all. So one *always* had > to include "#:tests? #f" to disable calling the (non-existing) > test-target - o

wip v2 u-boot support

2016-09-05 Thread Danny Milosavljevic
Whoops, now with the correct u-boot.scm On Mon, 5 Sep 2016 21:58:03 +0200 Danny Milosavljevic wrote: > Hi David, > > I thought I'd post a minimal version for U-Boot support without any renames > that aren't absolutely necessary. In this way, the patch is quite smal

Re: [PATCH] scripts: hash: Add --exclude-.git option.

2016-09-05 Thread Danny Milosavljevic
Hi Jan, On Mon, 05 Sep 2016 10:43:28 +0200 Jan Nieuwenhuizen wrote: > Added an -g/--exclude-.git option for guix hash. It is very specific: > it skips toplevel .git directory. Why?

Re: "move-phase-after"?

2016-09-06 Thread Danny Milosavljevic
Hi, On Tue, 6 Sep 2016 10:03:34 +0200 Hartmut Goebel wrote: > for some package I need to switch the install and check phase. Could > please someone point me to a function like "move-phase-after"? Thanks. I don't think this exists yet. See the ./guix/build/utils.scm for the macro definition.

Re: [PATCH] gnu: lua-5.1: install pkg-config file.

2016-09-06 Thread Danny Milosavljevic
Hi, it works for me (and has been adapted from the newer lua's patch where it also worked) and it's necessary for celestia. No idea why it's still pending...

Re: "move-phase-after"?

2016-09-06 Thread Danny Milosavljevic
Maybe something like this (has NOT been tested): diff --git a/guix/build/utils.scm b/guix/build/utils.scm index 2988193..c2cf25d 100644 --- a/guix/build/utils.scm +++ b/guix/build/utils.scm @@ -517,6 +517,7 @@ following forms: (replace ) (add-before ) (add-after ) + (move-after )

Re: [PATCH] service: Honor #:log-file in make-forkexec-constructor.

2016-09-06 Thread Danny Milosavljevic
On Tue, 6 Sep 2016 14:36:35 +0200 David Craven wrote: > Not syslog, but helps with debugging... That definitely helps - however, in the long run, I think that using syslog is better. Syslog does the splitting up in different files (or not) and onto different machines (or not), filtering (or no

Re: [PATCH v2] gnu: Add mtd-utils.

2016-09-07 Thread Danny Milosavljevic
Hi Leo, On Tue, 6 Sep 2016 17:49:41 -0400 Leo Famulari wrote: > I imported the acl module, used #:make-flags to set PREFIX, and made a > minor adjustment to the description. > > What do you think? Looks good and works :)

[PATCH] gnu: Simplify dtc package definition.

2016-09-07 Thread Danny Milosavljevic
--- gnu/packages/u-boot.scm | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gnu/packages/u-boot.scm b/gnu/packages/u-boot.scm index e9a4b90..7949d8a 100644 --- a/gnu/packages/u-boot.scm +++ b/gnu/packages/u-boot.scm @@ -47,15 +47,11 @@ ("flex" ,flex))) (

Re: [PATCH] gnu: Simplify dtc package definition.

2016-09-07 Thread Danny Milosavljevic
Hi David, On Wed, 7 Sep 2016 10:15:29 +0200 David Craven wrote: > LGTM. Are these changes part of the debian patchset? No, I found out that GNU make allows you to override variables used inside Makefiles from make's command line. To test: write a Makefile containing: #- PREFIX = /foo a

Re: Guile 2.2 packages

2016-09-07 Thread Danny Milosavljevic
Hi Ludo, does that mean we can fix guile-emacs? I've just updated to the latest version that is in Guix and I get: Throw to key system-error with args ("load-thunk-from-memory" "A" ("No such file or directory") (2))Threads explicit registering is not previously enabled. The same problem existe

Re: [PATCH v2 0/5] Add FPGA Tools

2016-09-07 Thread Danny Milosavljevic
Ping. This is the newest version of the patch series that includes the changes you suggested.

Re: [PATCH] gnu: Add nfs-utils

2016-09-07 Thread Danny Milosavljevic
> + `("--without-tcp-wrappers" ^^^ Since you also provided tcp-wrappers in a seperate patch, was this on purpose?

Re: Guile 2.2 packages

2016-09-07 Thread Danny Milosavljevic
Hi, On Wed, 07 Sep 2016 22:49:12 +0200 l...@gnu.org (Ludovic Courtès) wrote: > I don’t know. >What you describe sounds a lot like a search path issue. It is a search path issue. Does package-for-guile-2.2 take it into account? Your E-mail contains: The following environment variable definitio

Re: Guile 2.2 packages

2016-09-07 Thread Danny Milosavljevic
On Wed, 7 Sep 2016 23:15:22 +0200 Danny Milosavljevic wrote: >export PATH="foo/bin${PATH:+:}$PATH" >export > GUILE_LOAD_PATH="foo/share/guile/site/2.0${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH" >export > GUILE_LOAD_COMPILED_PATH="foo/lib/g

Re: [PATCH] gnu: Simplify dtc package definition.

2016-09-08 Thread Danny Milosavljevic
Hi David, On Thu, 8 Sep 2016 17:09:12 +0200 David Craven wrote: > Why aren't you using git format-patch? :) > > git format-patch -1 > git send-email *.patch --to guix-devel@gnu.org > > is what I do... That's exactly what I do too - the exact same commands. I don't know what magical options o

Re: [PATCH] gnu: Simplify dtc package definition.

2016-09-08 Thread Danny Milosavljevic
Hi, I think that's because I set it up to use attachments (Luda asked me to). The E-Mail, raw as git send-email sent it, looks like this: From 7e7c30119aebab0ee48c4e55d8c7471f0fde487c Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Wed, 7 Sep 2016 09:44:55 +0200 Subject: [PATCH

Re: wip v2 u-boot support

2016-09-08 Thread Danny Milosavljevic
Hi David, Hi Ludo, On Fri, 9 Sep 2016 00:09:57 +0200 David Craven wrote: > I'm testing your new u-boot code. I fixed a few bugs, but there is > still some work to do... ;-) > > guix system vm u-boot-test.scm --no-grub > > This should work without giving any errors and boot (it doesn't matter >

Re: wip v2 u-boot support

2016-09-08 Thread Danny Milosavljevic
New wip patch attached - applies to git guix... diff --git a/gnu.scm b/gnu.scm index 932e4cd..9207e38 100644 --- a/gnu.scm +++ b/gnu.scm @@ -35,6 +35,7 @@ (gnu system mapped-devices) (gnu system file-systems) (gnu system grub) ; 'grub-configuration

How to use "every"?

2016-09-09 Thread Danny Milosavljevic
Hi, how do I use "every" in a guix package declaration? When I add #:modules (sfri sfri-1) I get a message that guix-build is undefined (?). ;; FIXME import "every" somehow (define-public pypy3.3 (package (name "pypy3.3") (version "5.2.0") (source (origin (method url

Re: wip v2 u-boot support

2016-09-09 Thread Danny Milosavljevic
diff --git a/gnu.scm b/gnu.scm index 932e4cd..9207e38 100644 --- a/gnu.scm +++ b/gnu.scm @@ -35,6 +35,7 @@ (gnu system mapped-devices) (gnu system file-systems) (gnu system grub) ; 'grub-configuration' +(gnu system u-boot)

Re: wip v2 u-boot support

2016-09-09 Thread Danny Milosavljevic
Hi David, On Fri, 9 Sep 2016 14:02:53 +0200 David Craven wrote: > It still doesn't work. Can you please also include gnu system u-boot > in the patch? git randomly decided to leave things off the patch when I do "git diff". Sigh. > It's nice if you can simply apply (all required) patches and

[WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-09 Thread Danny Milosavljevic
t; #$size #$image #$output) +(define (grub-configuration-package config os) + grub) + (define* (grub-background-image config #:key (width 1024) (height 768)) "Return the GRUB background image defined in CONFIG with a ratio of WIDTH/HEIGHT, or #f if none was found." diff -

Re: [PATCH 13/17] gnu: make-linux-libre: Add zImage to output.

2016-09-12 Thread Danny Milosavljevic
> I suppose “zImage” is for ARM, right? Yes. Newer U-Boot support booting from zImage (using command "bootz" on the U-Boot prompt). (Older U-Boot needed a special "uImage" which had beeen created by a tool "mkimage" which contain loader (target) information (using command "bootm" on the U-Boot

Re: [PATCH v3 2/3] gnu: Add python-lit, python2-lit.

2016-09-13 Thread Danny Milosavljevic
> I think we should probably say this package is NCSA, since it's part of > LLVM. What do you think? I agree.

[PATCH v4 3/3] gnu: Update ldc to 0.17.1.

2016-09-13 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (ldc): Update to 0.17.1. --- gnu/packages/ldc.scm | 15 ++- .../patches/ldc-0.17.1-disable-tests.patch | 147 + 2 files changed, 156 insertions(+), 6 deletions(-) create mode 100644 gnu/packages/patches/ldc-0.17.1-

[PATCH v4 2/3] gnu: Make ldc work again

2016-09-13 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (ldc): Added substitution. Added zlib input. Fix llvm and clang inputs to 3.7. --- gnu/packages/ldc.scm | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ldc.scm b/gnu/packages/ldc.scm index 1709f59..560fa49 100644 --- a/gnu

[PATCH v4 0/3] Fix ldc

2016-09-13 Thread Danny Milosavljevic
Fixes ldc and updates it to the latest C++-bootstrappable version. Danny Milosavljevic (3): gnu: Add python-lit, python2-lit. gnu: Make ldc work again (patch isnan, isinf). gnu: Update ldc to 0.17.1. gnu/packages/ldc.scm | 31 +++-- .../patches/ldc-0.17.1

[PATCH v4 1/3] gnu: Add python-lit, python2-lit.

2016-09-13 Thread Danny Milosavljevic
* gnu/packages/python.scm (python-lit, python2-lit): New variables. --- gnu/packages/python.scm | 26 ++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b839f22..eb407c2 100644 --- a/gnu/packages/python.scm +++ b/gnu/p

[PATCH v5] gnu: Update ldc to 0.17.1.

2016-09-13 Thread Danny Milosavljevic
gnu: Update ldc to 0.17.1. * gnu/packages/ldc.scm (ldc): Update to 0.17.1. --- gnu/packages/ldc.scm | 22 +-- .../patches/ldc-0.17.1-disable-tests.patch | 147 + 2 files changed, 159 insertions(+), 10 deletions(-) create mode 100644 gnu/

Re: [PATCH v4 3/3] gnu: Update ldc to 0.17.1.

2016-09-13 Thread Danny Milosavljevic
Sigh. Yeah, I've researched a bit why that happens. The story is this: glibc wanted to have isinf work with double AND float etc without conversion. Therefore, there is a special gcc construct where you can find out what type a parameter is IN A MACRO. Therefore, in C, isnan is a macro and so i

[PATCH v6] gnu: Update ldc to 0.17.1.

2016-09-13 Thread Danny Milosavljevic
* gnu/packages/ldc.scm (ldc): Changed. * gnu/packages/patches/ldc-0.17.1-disable-tests.patch: New patch. --- gnu/packages/ldc.scm | 24 ++-- .../patches/ldc-0.17.1-disable-tests.patch | 147 + 2 files changed, 161 insertions(+), 10 deleti

[PATCH v7] gnu: Update ldc to 0.17.1.

2016-09-13 Thread Danny Milosavljevic
gnu: Update ldc to 0.17.1. * gnu/packages/ldc.scm (ldc): Changed. * gnu/packages/patches/ldc-0.17.1-disable-tests.patch: New patch. --- gnu/packages/ldc.scm | 24 +++--- .../patches/ldc-0.17.1-disable-tests.patch | 86 ++ 2 files changed,

[PATCH v8] gnu: Update ldc to 0.17.1.

2016-09-13 Thread Danny Milosavljevic
gnu: Update ldc to 0.17.1. * gnu/packages/ldc.scm (ldc): Changed. * gnu/packages/patches/ldc-0.17.1-disable-tests.patch: New patch. --- gnu/packages/ldc.scm | 25 --- .../patches/ldc-0.17.1-disable-tests.patch | 86 ++ 2 files changed,

Re: [PATCH 4/7] gnu: Add llvm-for-extempore.

2016-09-14 Thread Danny Milosavljevic
> + (patches (list (search-patch "llvm-for-extempore.patch"))) Hmm... is this patch file somewhere?

Re: [PATCH] gnu: Add mcelog.

2016-09-14 Thread Danny Milosavljevic
> >> +(home-page "http://mcelog.org/";) > > Nit-pick: the trailing slash is unnecessary :) If you don't include the trailing slash it will require an additional round-trip to the server in order to add it via a (302) redirect.

Re: [PATCH] gnu: Add mcelog.

2016-09-14 Thread Danny Milosavljevic
DESTDIR is a feature which lets you install into a tempdir. The idea is that you install it all there and then atomically replace the ORIGINAL version at the non-DESTDIR location. It's very bad to set DESTDIR to out because the outdir is used after installation, too (your program will stay at t

Re: [PATCH v8] gnu: Update ldc to 0.17.1.

2016-09-14 Thread Danny Milosavljevic
Hi, > With this patch I got: > > The following tests FAILED: > 238 - std.datetime (Failed) > 296 - std.regex.internal.tests (Failed) > 568 - std.datetime-debug (Failed) > 626 - std.regex.internal.tests-debug (Failed) > 670 - dmd-testsuite-debug (Failed) Huh really? I just cloned the guix git re

[PATCH] gnu: Update flashrom to 0.9.9

2016-09-14 Thread Danny Milosavljevic
gnu: Update flashrom to 0.9.9 * gnu/packages/flashing-tools.scm (flashrom): Changed. * gnu/packages/patches/flashrom-use-libftdi1.patch: Removed. * gnu/local.mk: Remove mention of "flashrom-use-libftdi1.patch". --- gnu/local.mk | 1 - gnu/packages/flashing-to

  1   2   3   4   5   6   7   8   9   10   >