Re: [GSoC] Draft proposal for an Install Wizard for Guix

2016-03-26 Thread Thomas Ingram
On 03/26/2016 07:39 AM, Ludovic Courtès wrote: Personally, I would like to view the “wizard” as a helper, and not as something that hides everything and turns people into “end users.” I don’t know how this could translate in the design of the tool. Perhaps showing the ‘operating-system’ declarat

[PATCH] gnu: pspp: Update to 0.10.0

2016-03-26 Thread John Darrington
* gnu/packages/math.scm (pspp): Update to 0.10.0 --- gnu/packages/maths.scm | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 6d3d134..659d8a2 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm

Re: RFC: Install Wizard considerations

2016-03-26 Thread Thomas Ingram
On 03/25/2016 03:35 PM, myglc2 wrote: o) Since GuixSD is much more bleeding-edge than Guix, if we make it easier to install GuixSD, we make it easier for new users to bleed. o) The fact of the matter is that GuixSD hardware support is weak (examples: no boot from MDADM, missing solutio

Re: [PATCH 1/3] licenses: Add beerware license.

2016-03-26 Thread Christopher Allan Webber
Leo Famulari writes: > +(define beerware > + (license "Beerware" > + "http://people.freebsd.org/~phk/"; ; Scroll down > + "https://fedoraproject.org/wiki/Licensing/Beerware";)) > + Now there's a license name bound to cause some confusion! It looks free... I think it would be

Re: [PATCH 2/2] Add jq

2016-03-26 Thread Jelle Licht
2016-03-27 0:26 GMT+01:00 Leo Famulari : > On Sat, Mar 26, 2016 at 11:53:24PM +0100, Jelle Licht wrote: > > From jq's README: > > > > To get regexp support you'll also need to install Oniguruma (note that > jq's > > > tests require regexp support to pass). > > > > > > So it seems to be an optional

Re: [PATCH 2/2] Add jq

2016-03-26 Thread Leo Famulari
On Sat, Mar 26, 2016 at 11:53:24PM +0100, Jelle Licht wrote: > From jq's README: > > To get regexp support you'll also need to install Oniguruma (note that jq's > > tests require regexp support to pass). > > > So it seems to be an optional dependency (which allows tests to pass and > adds functi

[PATCH 3/3] gnu: Add signify.

2016-03-26 Thread Leo Famulari
* gnu/packages/crypto.scm (signify): New variable. --- gnu/packages/crypto.scm | 35 +++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index a8d675b..56e2a90 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/c

[PATCH 1/3] licenses: Add beerware license.

2016-03-26 Thread Leo Famulari
* guix/licenses.scm (beerware): New variable. --- guix/licenses.scm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/guix/licenses.scm b/guix/licenses.scm index 71c0736..9d5335b 100644 --- a/guix/licenses.scm +++ b/guix/licenses.scm @@ -29,6 +29,7 @@ #:export (license? license-name lic

[PATCH 2/3] gnu: Add libbsd.

2016-03-26 Thread Leo Famulari
* gnu/packages/libbsd.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/libbsd.scm | 43 +++ 2 files changed, 44 insertions(+) create mode 100644 gnu/packages/libbsd.scm diff --git a/gnu-system.am

[PATCH 0/3] Adding libbsd and signify

2016-03-26 Thread Leo Famulari
This adds libbsd [0] and a port [1] of OpenBSD's signify tool. [2] I couldn't figure out where to put libbsd so I made a new module, but I'm open to advice. There is one more thing to be resolved: What should I do about the unusual license from IBM [3] on base64.c? [4] I searched the net, and al

Re: [PATCH 2/2] Add jq

2016-03-26 Thread Alex Griffin
Usually a second package is added which is just a variant on the first. Something like this: (define-public jq-no-oniq   (package (inherit jq)     (name "jq-no-onig")     (inputs '( But in this case I'm not sure it's worth it. Maybe just remove the part about zero depe

Re: [PATCH 2/2] Add jq

2016-03-26 Thread Jelle Licht
>From jq's README: To get regexp support you'll also need to install Oniguruma (note that jq's > tests require regexp support to pass). So it seems to be an optional dependency (which allows tests to pass and adds functionality). I could make it a build-time dependency, or not. What is the 'guix

On my way to my first patch, need review

2016-03-26 Thread vincent
Even though I don't know if I am accepted for GSoC yet, I thought it would be nice to start contributing now! :) I started by adding the gem wayback_machine_downloader (a very useful piece of software by the way). So I used `guix edit ruby` and I copied it in the Documents folder. Then I added

Re: [PATCH 2/2] Add jq

2016-03-26 Thread Leo Famulari
On Sat, Mar 26, 2016 at 11:06:15PM +0100, Jelle Licht wrote: > +(inputs > + `(("oniguruma" ,oniguruma))) [...] > +(description "jq is like sed for JSON data – you can use it to slice and > +filter and map and transform structured data with the same ease that sed, > awk, > +grep and f

Re: [PATCH 2/2] Add jq

2016-03-26 Thread Jelle Licht
Thanks for your feedback Alex. I have seen some other packages including multiple licenses in the list of licenses, so I took that approach. I also took the liberty of taking your description, which seems to also be coming directly from the jq website. While digging into the valgrind issue, I fo

Re: [PATCH] scripts: environment: Properly handle SIGINT.

2016-03-26 Thread Thompson, David
On Sat, Mar 26, 2016 at 2:33 PM, Thompson, David wrote: > On Sat, Mar 26, 2016 at 2:23 PM, Ludovic Courtès wrote: >> David Thompson skribis: >> >>> * tests/guix-environment-container.sh: Remove obsolete test. >> >> [...] >> >>> -if guix environment --bootstrap --container \ >>> - --ad-hoc bo

Re: [PATCH] environment: container: Do not remount network files as read-only.

2016-03-26 Thread Thompson, David
On Sat, Mar 26, 2016 at 2:43 PM, Ludovic Courtès wrote: > "Thompson, David" skribis: > >> On Fri, Mar 18, 2016 at 4:51 PM, Ludovic Courtès wrote: >>> "Thompson, David" skribis: >>> I noticed that 'guix environment --container --network' didn't work on an Ubuntu machine I was on, and t

Re: [PATCH 2/2] Add jq

2016-03-26 Thread Alex Griffin
Heh, I've had this packaged for ages (along with some others) and I've put off submitting because I don't have a good workflow yet for git+email. I should probably do something about that. Anyway, your oniguruma package looks good to me. Here's a few notes about jq: You listed jq's license at cc-b

Re: [PATCH] environment: container: Do not remount network files as read-only.

2016-03-26 Thread Drew C
On Sat, Mar 26, 2016 at 11:43 AM, Ludovic Courtès wrote: > "Thompson, David" skribis: > > > On Fri, Mar 18, 2016 at 4:51 PM, Ludovic Courtès wrote: > >> "Thompson, David" skribis: > >> > >>> I noticed that 'guix environment --container --network' didn't work on > >>> an Ubuntu machine I was on

Re: [PATCH] environment: container: Do not remount network files as read-only.

2016-03-26 Thread Drew C
It is Linux Mint 17.3, which is based on Ubuntu Trusty. So, yes, as far as I know, it should be the same on a modern Ubuntu distro. http://manpages.ubuntu.com/manpages/lucid/man8/resolvconf.8.html -- drewc On Sat, Mar 26, 2016 at 9:49 AM, Thompson, David wrote: > On Sat, Mar 26, 2016 at 12:29

Re: [PATCH] environment: container: Do not remount network files as read-only.

2016-03-26 Thread Drew C
On Sat, Mar 26, 2016 at 7:06 AM, Thompson, David wrote: > On Fri, Mar 18, 2016 at 4:51 PM, Ludovic Courtès wrote: > > "Thompson, David" skribis: > > > >> I noticed that 'guix environment --container --network' didn't work on > >> an Ubuntu machine I was on, and the culprit was remounting things

Re: [PATCH] environment: container: Do not remount network files as read-only.

2016-03-26 Thread Ludovic Courtès
"Thompson, David" skribis: > On Fri, Mar 18, 2016 at 4:51 PM, Ludovic Courtès wrote: >> "Thompson, David" skribis: >> >>> I noticed that 'guix environment --container --network' didn't work on >>> an Ubuntu machine I was on, and the culprit was remounting things like >>> /etc/resolv.conf read-o

Re: [PATCH] scripts: environment: Properly handle SIGINT.

2016-03-26 Thread Thompson, David
On Sat, Mar 26, 2016 at 2:23 PM, Ludovic Courtès wrote: > David Thompson skribis: > >> Has anyone ever been really annoyed that C-c doesn't work in a bash >> shell spawned by 'guix environment'? Me too! And I finally got around >> to fixing it. I would like to get this in before 0.10.0 is rele

Re: [PATCH] scripts: environment: Properly handle SIGINT.

2016-03-26 Thread Ludovic Courtès
David Thompson skribis: > Has anyone ever been really annoyed that C-c doesn't work in a bash > shell spawned by 'guix environment'? Me too! And I finally got around > to fixing it. I would like to get this in before 0.10.0 is released. Indeed, that’s annoyed me a few times. :-) (C-z does w

[PATCH 2/2] Add jq

2016-03-26 Thread Jelle Licht
... and the actual package I wanted to use on guix! From 83cfc9414fca3ab57c949e18c1ceb375a179b59c Mon Sep 17 00:00:00 2001 From: Jelle Licht Date: Sat, 26 Mar 2016 18:31:23 +0100 Subject: [PATCH 2/2] gnu: Add jq * gnu/packages/web.scm (jq): New variable --- gnu/packages/web.scm | 21

[PATCH 1/2] Add oniguruma

2016-03-26 Thread Jelle Licht
Hello guix! I packaged my first set of guix packages, following the guidelines mentioned in the online manual as closely as I could. If I still forgot or misinterpreted one of the steps, some pointers are always welcome. ~Jelle From 1748b97890d0fc90e81c0e0a302c7e55562873d3 Mon Sep 17 00:00:00 200

rfc/rfh: i686-w64-mingw32 cross target

2016-03-26 Thread Jan Nieuwenhuizen
Hi, I'm working on a cross target in an effort to get rid of GUB 1) in favour of Guix and could do with some help. I have just succeeded in cross-building hello and running it, doing 18:18:36 janneke@drakenvlieg:~/src/mingw-guix $ ./pre-inst-env guix build --keep-failed --target=i686-w64-m

Re: security-updates merged

2016-03-26 Thread Mark H Weaver
Danny Milosavljevic writes: > guix$ git pull # master branch > guix$ guix environment guix > guix$ make > ... > configure: error: Package requirements (sqlite3 >= 3.6.19) were not met: l...@gnu.org (Ludovic Courtès) writes: > Please see: > > https://www.gnu.org/software/guix/manual/html_node/Re

Re: Removing compilers that cannot be bootstrapped

2016-03-26 Thread Christopher Allan Webber
Ludovic Courtès writes: > Ricardo Wurmus skribis: > >> It is probably easier for us to try to write primitive compilers in >> Guile than to start from scratch each time. Then the only blob we need >> to figure out how to bootstrap would be Guile itself. > > +1 > > Though of course, writing a fai

Re: [PATCH] environment: container: Do not remount network files as read-only.

2016-03-26 Thread Thompson, David
On Sat, Mar 26, 2016 at 12:29 PM, Drew C wrote: > > On Sat, Mar 26, 2016 at 7:06 AM, Thompson, David > wrote: >> >> On Fri, Mar 18, 2016 at 4:51 PM, Ludovic Courtès wrote: >> > "Thompson, David" skribis: >> > >> >> I noticed that 'guix environment --container --network' didn't work on >> >> an

Re: [PATCH 13/13] gnu: Add beets.

2016-03-26 Thread Alex Griffin
I tried building with --rounds=4 on my GuixSD machine, but it errored out after the first build with the same error. Then I tried building with --check on my Debian machine and it succeeded. Last night on IRC we were discussing this more and I think Leo was going to try incorporating something fro

[PATCH] gnu: font-gnu-freefont-ttf: Update to 20120503 and build from source.

2016-03-26 Thread alírio eyng
From dac1dfe1d9b6716d1aefa339e5145c26dd798565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?al=C3=ADrio=20eyng?= Date: Sat, 26 Mar 2016 14:39:27 + Subject: [PATCH] gnu: font-gnu-freefont-ttf: Update to 20120503 and build from source. * gnu/packages/fonts.scm (font-gnu-freefont-ttf): Update to 20

Re: [PATCH] gnu: Add Icedtea 3.0.0pre09

2016-03-26 Thread Ludovic Courtès
Ricardo Wurmus skribis: > Actually, in this case it’s (again) the ETag header. > > ~~~ > rekado in guix: wget -S --spider > http://icedtea.classpath.org/hg/icedtea/archive/icedtea-3.0.0pre09.tar.gz > > [...] > > --2016-03-26 10:02:08-- > http://icedtea.wildebeest.org/hg/icedtea

Re: security-updates merged

2016-03-26 Thread Ludovic Courtès
Danny Milosavljevic skribis: > configure: error: Package requirements (sqlite3 >= 3.6.19) were not met: Please see: https://www.gnu.org/software/guix/manual/html_node/Requirements.html Ludo’.

Re: Removing compilers that cannot be bootstrapped

2016-03-26 Thread Ludovic Courtès
Ricardo Wurmus skribis: > It is probably easier for us to try to write primitive compilers in > Guile than to start from scratch each time. Then the only blob we need > to figure out how to bootstrap would be Guile itself. +1 Though of course, writing a faithful C or Haskell or OCaml compiler

Re: GSOC draft

2016-03-26 Thread Ludovic Courtès
Alex Vong skribis: > First, I have withdrawn my proposal since I think it is not good enough. > Of course I will be exploring guix during summer, since it is a fun > thing to do. My original thought is to first port a working make-like > tool and then change it to output g-exps instead of actuall

Re: [PATCH] environment: container: Do not remount network files as read-only.

2016-03-26 Thread Thompson, David
On Fri, Mar 18, 2016 at 4:51 PM, Ludovic Courtès wrote: > "Thompson, David" skribis: > >> I noticed that 'guix environment --container --network' didn't work on >> an Ubuntu machine I was on, and the culprit was remounting things like >> /etc/resolv.conf read-only after the initial bind mount. >

Re: Removing compilers that cannot be bootstrapped

2016-03-26 Thread Alex Vong
Chris Marusich writes: > Chris Marusich writes: > > > Sorry for replying to my own post, but I couldn't help myself. If > anyone thinks the above sounds too paranoid, remember the Ken Thompson > hack: > > http://www.c2.com/cgi/wiki?TheKenThompsonHack > There is a way to defeat this kind of atta

Re: [PATCH] environment: container: Create dummy home directory and /etc/passwd.

2016-03-26 Thread Thompson, David
On Fri, Mar 18, 2016 at 5:16 PM, Ludovic Courtès wrote: > David Thompson skribis: > >> In my recent adventures using 'guix environment --container --network', >> I noticed that certain tools *really* want to read user information out >> of /etc/passwd, such as 'git clone' over SSH. I initially h

[PATCH] scripts: environment: Properly handle SIGINT.

2016-03-26 Thread David Thompson
Has anyone ever been really annoyed that C-c doesn't work in a bash shell spawned by 'guix environment'? Me too! And I finally got around to fixing it. I would like to get this in before 0.10.0 is released. Ludo, I removed one of the tests in guix-environment-container.sh because it seems obsol

Re: [PATCH] gnu: Add gnu-maintain and gnu-standards.

2016-03-26 Thread Jan Nieuwenhuizen
Ludovic Courtès writes: Hi, > Please add it to gnu-system.am as well. Ah yes. > The ‘miscfiles’ package should probably go to the same module (in a > separate commit.) Ok. Separate patch attached. > This is an unversioned URL where the file occasionally gets updated in > place, so it’s unsui

Re: IMPORTANT: expat security update

2016-03-26 Thread Ludovic Courtès
Mark H Weaver skribis: > Mark H Weaver writes: >> I just pushed a security update for expat. See: >> >>https://lwn.net/Articles/681356/ > > Bah, nevermind. I already fixed this bug last July, in commit > 99e29da15690a696690b28b065e0d1b19c9610db. That's embarrassing. No, it means you’re t

Re: [PATCH 13/13] gnu: Add beets.

2016-03-26 Thread Ludovic Courtès
Leo Famulari skribis: > Can you try building with '#:parallel-tests? #f', as shown in this link? I was also going to suggest something along these lines. Could you try building with with --rounds=4, say, on your machine? (Or --check if it’s already there.) Thanks, Ludo’.

Re: [GSoC] Draft proposal for an Install Wizard for Guix

2016-03-26 Thread Ludovic Courtès
Thomas Ingram skribis: > On 03/25/2016 09:09 AM, Ludovic Courtès wrote: >> I like the goals you’re proposing for this installer. How would you >> go implementing it? The proposal does not explicitly mention a UI >> library that would be used, and how the UI code would interact with >> Guix and Gu

Re: GSOC 2016 Application

2016-03-26 Thread Ludovic Courtès
sapient...@openmailbox.org skribis: > On 2016-03-25 09:03, Chris Marusich wrote: [...] >> While it's good to plan for both text and graphical UI, maybe it >> will be >> more efficient to pick one to focus on, and treat the other as a >> stretch >> goal? > > I agree and should turn the GUI interf

Re: [PATCH] Add MilkyTracker to Guix

2016-03-26 Thread Nils Gillmann
k...@openmailbox.org writes: > The attached is a patch to gnu/packages/music.scm that allows a > minimal and functional build of MilkyTracker. I'm unsure if this is > formatted correctly, but I'm willing to learn. :-) Thanks! For Guix we follow the GNU coding standard for patches, which also inc

Re: Removing compilers that cannot be bootstrapped

2016-03-26 Thread Jookia
On Sat, Mar 26, 2016 at 09:12:52AM +0100, Ricardo Wurmus wrote: > GCC itself is not sufficient to build many compilers. For GHC, for > example, you need a Haskell compiler such as GHC. I looked at nhc98 and > other defunct Haskell compilers, but they all have a bootstrapping step > that either re

Re: [PATCH] gnu: Add Icedtea 3.0.0pre09

2016-03-26 Thread Ricardo Wurmus
Ludovic Courtès writes: >> On IRC there was the idea to provide “url-fetch/wget” which would be >> less strict compared to the default Guile HTTP client. > > We could do that, but I would prefer fixing and/or monkey-patching the > date header check in Guile. > > In this case, if the problem is d

Re: Removing compilers that cannot be bootstrapped

2016-03-26 Thread Jookia
Hey, I have a few quick notes that aren't that relevant. On Fri, Mar 25, 2016 at 11:55:44PM -0700, Chris Marusich wrote: > > 1) Write the simplest possible program (or collection of programs) in > > the simplest possible machine code. This program serves only one > > purpose: to enable you to wr

Re: security-updates merged

2016-03-26 Thread Danny Milosavljevic
Possibly unrelated, but: guix$ git pull # master branch guix$ guix environment guix guix$ make ... configure: error: Package requirements (sqlite3 >= 3.6.19) were not met: No package 'sqlite3' found

Re: Removing compilers that cannot be bootstrapped

2016-03-26 Thread Ricardo Wurmus
Chris Marusich writes: > Leo Famulari writes: > >> `wget https://blob` doesn't count as reproducible :) > > Very true. > > Self-hosting compilers are a cute trick, but they're a far cry from > being reproducible. They're just inscrutable binary blobs. If we want > true reproducibility from th

[PATCH] Add MilkyTracker to Guix

2016-03-26 Thread kei
The attached is a patch to gnu/packages/music.scm that allows a minimal and functional build of MilkyTracker. I'm unsure if this is formatted correctly, but I'm willing to learn. :-)--- music.scm.bak 2016-03-25 17:39:35.959715114 -0400 +++ music.scm 2016-03-25 19:39:44.754396091 -0400 @@ -78,6 +7

Re: GSOC 2016 Application

2016-03-26 Thread sapientech
Hi Chris thanks for the response! On 2016-03-25 09:03, Chris Marusich wrote: I would be happy to share with you the hacky little shell scripts I use to do this today. They're simple automations of the manual procedure, really, but perhaps they could be useful. I am not familiar with the implem

Re: GSOC 2016 Application

2016-03-26 Thread sapientech
Hi George, On 2016-03-25 13:11, myglc2 wrote: Reading your proposal and another on installation prompted me to write some general thoughts about Guix installation which you might find interesting: http://article.gmane.org/gmane.comp.gnu.guix.devel/18206 You bring up some really good points abo