[PATCH] guix package: Rename generation-related procedures.

2013-09-12 Thread Nikita Karetnikov
Can I push this patch to ‘master’? From adb7b8383bd6748d12a0b782ab0f67b0b3e2995a Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Thu, 12 Sep 2013 17:31:53 + Subject: [PATCH] guix package: Rename generation-related procedures. * guix/scripts/package.scm

Re: [PATCH] guix package: Rename generation-related procedures.

2013-09-12 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Can I push this patch to ‘master’? From adb7b8383bd6748d12a0b782ab0f67b0b3e2995a Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Thu, 12 Sep 2013 17:31:53 + Subject: [PATCH] guix package: Rename

Re: New ‘--list-generations’ and ‘--delete-generations’ options

2013-09-13 Thread Nikita Karetnikov
I’d prefer clearer case analysis as shown above. OK, what do you think about this diff? If everything is fine, I’ll make it output generations in the recutils format. (Is it necessary to mention that ‘maybe-comma-separated-integers’ accepts something like ‘1,2,3,’ or ‘1,,,2’. Or should I

Python

2013-09-13 Thread Andreas Enge
Hello, recently I added a few more python packages, and things seem to work well (except for the surprising realisation that more projects than not seem to still depend on python 2 instead of python 3). So I do not expect big changes to the python build system in the near future. I considered

Re: Python

2013-09-13 Thread Cyril Roelandt
On 09/13/2013 05:46 PM, Andreas Enge wrote: Hello, recently I added a few more python packages, and things seem to work well (except for the surprising realisation that more projects than not seem to still depend on python 2 instead of python 3). So I do not expect big changes to the python

Re: Python

2013-09-14 Thread Andreas Enge
On Fri, Sep 13, 2013 at 06:25:00PM +0200, Cyril Roelandt wrote: See http://www.python.org/download/ : we should stick to 3.3.2. I see, so the a1 and a2 are not the first bugfix releases, but alpha versions. The python branch is now merged back into master and deleted. Andreas

Treating patches as part of ‘origin’

2013-09-15 Thread Ludovic Courtès
Hello! We had an interesting discussion on the gnu-linux-libre list [0], where we identified an issue wrt. honoring the free system distribution guidelines (FSDG). The problem boils down to the fact that ‘guix build --source’ returns the unmodified upstream tarball. This is a problem because

Re: [PATCH] gnu: Add gobject-introspection.

2013-09-15 Thread Ludovic Courtès
Cyril Roelandt tipec...@gmail.com skribis: On 09/12/2013 10:41 AM, Ludovic Courtès wrote: No. Could you try to grep the source to see what produces this message? Oh, I thought the message was directly produced by libtool or the linker, but yes, it's definitely an error message from

Re: Treating patches as part of ‘origin’

2013-09-15 Thread Alex Sassmannshausen
Hi, Ludovic Courtès l...@gnu.org writes: What do people think? For what it's worth, I think it sounds like an elegant solution to the problem outlined. The 'bonus' sounds valuable to me too, simplifying the implementation of new build systems. I’ll go ahead and implement that in

Re: Treating patches as part of ‘origin’

2013-09-16 Thread Ludovic Courtès
Alex Sassmannshausen alex.sassmannshau...@gmail.com skribis: I’ll go ahead and implement that in ‘core-updates’ if there are no objections. Presumably this would mean retrospectively fixing all current packages? Yes, but that’s a mechanic change: moving the list of patches from the

Re: New ‘--list-generations’ and ‘--delete-generations’ options

2013-09-16 Thread Nikita Karetnikov
Cool. The diff looks great... but it lacks tests. Yes, I wanted to finish the recutils part first. I’ve been thinking about that, and I don’t like that we’d have to use two record sets. It’d be necessary to post-process the output nearly every time. Then why bother? We can already filter

Re: New ‘--list-generations’ and ‘--delete-generations’ options

2013-09-16 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Cool. The diff looks great... but it lacks tests. Yes, I wanted to finish the recutils part first. I think it’s reasonable to have a first milestone without recutils output. I’ve been thinking about that, and I don’t like that we’d have to

Re: [PATCH] gnu: Add gobject-introspection.

2013-09-16 Thread Cyril Roelandt
On 09/15/2013 11:38 PM, Ludovic Courtès wrote: l...@gnu.org (Ludovic Courtès) skribis: I believe this wonderful patch fixes the problem: --- glibc-2.17/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed~ 2012-12-25 04:02:13.0 +0100 +++

Some thoughts on installers

2013-09-17 Thread Nikita Karetnikov
I know it’s too early to talk about these issues. But I’m afraid that I’ll forget about them, and we’ll make the same mistakes as everyone else. I haven’t seen an installer that isn’t organized in a step-by-step fashion. A user is forced to press the “Next” button every 5 minutes or so. It’s

Re: Some thoughts on installers

2013-09-17 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: I haven’t seen an installer that isn’t organized in a step-by-step fashion. A user is forced to press the “Next” button every 5 minutes or so. It’s impossible to do anything else because that will increase the installation time. So the user

PRELIMINARY: [PATCH] guix package: Add '--list-generations'.

2013-09-17 Thread Nikita Karetnikov
I think it’s reasonable to have a first milestone without recutils output. OK. Not sure what you mean by “two record sets”. “You can have two record sets: one for generations, one for packages.” [1] I see two use cases: one where you just want human-friendly output, for when one is

Re: Treating patches as part of ‘origin’

2013-09-18 Thread Andreas Enge
On Sun, Sep 15, 2013 at 11:05:25PM +0200, Ludovic Courtès wrote: comply (like TeX Live’s ‘getnonfreefonts’) Just as a comment, this is, as far as I can tell, not contained in the regular texlive distribution. I cannot locate it on my system. Andreas

Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'.

2013-09-18 Thread Nikita Karetnikov
I’ve just found a bug. On my machine, ‘guix package -p test -l 2d’ and ‘guix package -p test -l’ should return the same set of generations, but the fourth generation is shown twice in the former case. Generations 4 and 5 have the same creation date for some reason: scheme@(guix ui)

derivation objects supplant ‘.drv’ file names in the API

2013-09-18 Thread Ludovic Courtès
Commit 59688fc introduces notable changes: ‘derivation’, ‘build-expression-derivation’, ‘package-derivation’ and similar procedures now return a single value, which is a derivation object (previously they would return two values: the .drv file name, and the derivation object.) The derivation

Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'.

2013-09-18 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Not sure what you mean by “two record sets”. “You can have two record sets: one for generations, one for packages.” [1] Ah so I was referring to recutils record sets (I thought you were talking about SRFI-9 records or something.) So what’s

Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'.

2013-09-18 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: 3. ‘guix package -l -p test’ returns ‘guix package: error: test: extraneous argument’. (However, the same happens with ‘-I’.) That’s because -p is interpreted as the optional argument to -l, and so ‘test’ is considered an extra argument.

Re: Treating patches as part of ‘origin’

2013-09-18 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: On Sun, Sep 15, 2013 at 11:05:25PM +0200, Ludovic Courtès wrote: comply (like TeX Live’s ‘getnonfreefonts’) Just as a comment, this is, as far as I can tell, not contained in the regular texlive distribution. I cannot locate it on my system. It used to

[PATCH] guix package: Add '--list-generations'.

2013-09-18 Thread Nikita Karetnikov
Ah so I was referring to recutils record sets (I thought you were talking about SRFI-9 records or something.) So what’s the question? :-) I was trying to explain why we shouldn’t always output generations in the recutils format. It works for ‘--search’ because there’s only one record. I’m

Re: [PATCH] guix package: Add '--list-generations'.

2013-09-19 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Ah so I was referring to recutils record sets (I thought you were talking about SRFI-9 records or something.) So what’s the question? :-) I was trying to explain why we shouldn’t always output generations in the recutils format. It works

Re: [PATCH] guix package: Add '--list-generations'.

2013-09-19 Thread Nikita Karetnikov
That’s not necessarily a bug: it could be that generation 1 is just slightly more than 48 hours old (the time should also be displayed, I think.) Right, that’s what I was trying to show. Anyway, it shouldn’t be an issue now. OK, I added ‘~T’. This should be present tense overall (for

Re: [PATCH] guix package: Add '--list-generations'.

2013-09-19 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Can I push the attached patch to ‘master’? Yep! Done. Great, thank you! Ludo’.

Re: The fixed-point project

2013-09-19 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: Thanks again to Christian for insisting ;-) and for the enlightening discussions we’ve had, and to Mark H. Weaver for pushing some more. ... and I forgot to thank Andreas for his insightful comments in Paris and afterward. Ludo’. pgpXkc6Tgy2Cl.pgp

The fixed-point project

2013-09-19 Thread Ludovic Courtès
Hello! Our wonderful manual, under “Building the Bootstrap Binaries” [0], questions when we reach fixed point. I rebuilt the bootstrap binaries in an attempt to answer that question. Basically, after two runs I got the bit-for-bit identical tarball for Binutils, but the other 4 tarballs

package.scm: (profile-derivation (%store) '())

2013-09-20 Thread Nikita Karetnikov
I’d like to know how ‘roll-back’ creates an empty generation because it’s necessary to do the same for ‘--delete-generations’. However, I fail to understand how (profile-derivation (%store) ‘()) works (or any other function that uses (%store)). I assume that some code should set ‘%store’ to

Re: package.scm: (profile-derivation (%store) '())

2013-09-20 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: I’d like to know how ‘roll-back’ creates an empty generation because it’s necessary to do the same for ‘--delete-generations’. However, I fail to understand how (profile-derivation (%store) ‘()) works (or any other function that uses

Re: package.scm: (profile-derivation (%store) '())

2013-09-20 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: ‘%store’ is a SRFI-39 parameter (info (guile) Parameters), aka. a dynamically-scoped variable. It is initialized with the ‘parameterize’ form, which sets its value for the dynamic extent of its body. I don’t understand what code initializes

Re: The fixed-point project

2013-09-20 Thread Mark H Weaver
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: However, in theory, that doesn’t save us from trusting-trust attacks [1]: the bootstrap GCC could contain a trap, such that the trap is always preserved across recompilations of GCC, even if it’s absent From the GCC source being compiled.

Re: package.scm: (profile-derivation (%store) '())

2013-09-20 Thread Nikita Karetnikov
‘%store’ is a SRFI-39 parameter (info (guile) Parameters), aka. a dynamically-scoped variable. It is initialized with the ‘parameterize’ form, which sets its value for the dynamic extent of its body. I don’t understand what code initializes ‘%store’. For example, I have one generation in

Re: The fixed-point project

2013-09-20 Thread Ludovic Courtès
Mark H Weaver m...@netris.org skribis: Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: However, in theory, that doesn’t save us from trusting-trust attacks [1]: the bootstrap GCC could contain a trap, such that the trap is always preserved across recompilations of GCC, even if it’s

QEMU image boots into dmd

2013-09-20 Thread Ludovic Courtès
So (gnu system vm) and its friends are now able to build a bootable QEMU image. That’s still *very* rough on the edges, but it boots into dmd (version -0.4 is out BTW, 10 years later ;-)). To build it, do something like: --8---cut here---start-8--- $

Re: QEMU image boots into dmd

2013-09-21 Thread Andreas Enge
On Sat, Sep 21, 2013 at 01:09:43AM +0200, Ludovic Courtès wrote: (version -0.4 is out BTW, 10 years later ;-)). The - is not a typo? It looks very weird. Andreas

Re: QEMU image boots into dmd

2013-09-21 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: So (gnu system vm) and its friends are now able to build a bootable QEMU image. That’s still *very* rough on the edges, but it boots into dmd (version -0.4 is out BTW, 10 years later ;-)). That's great news! :) (: :) Once logged in you can run

Re: QEMU image boots into dmd

2013-09-21 Thread Ludovic Courtès
Mark H Weaver m...@netris.org skribis: l...@gnu.org (Ludovic Courtès) writes: [...] Once logged in you can run incredible things such as ‘/nix/store/*dmd*/bin/deco detailed-status dmd’. I ran this command, and a strange thing happened: every character in the output was written twice,

Re: QEMU image boots into dmd

2013-09-21 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: On Sat, Sep 21, 2013 at 01:09:43AM +0200, Ludovic Courtès wrote: (version -0.4 is out BTW, 10 years later ;-)). The - is not a typo? It looks very weird. Not even a typo! http://lists.gnu.org/archive/html/guile-user/2003-06/msg00019.html I think we

Re: [PATCH] guix package: Add '--list-generations'.

2013-09-21 Thread Ludovic Courtès
Commit 99882c6 modifies ‘--list-generations’ so that generations are listed in numerical order: --8---cut here---start-8--- $ LC_ALL=fr_FR.utf8 ./pre-inst-env guix package --list-generations|grep ^G|head -13|tail -3 Generation 99 août 24 2013 10:37:50

Packages with libraries and binaries

2013-09-22 Thread Andreas Enge
When trying to use cdparanoia, I noticed the following: $ ldd `which cdparanoia` linux-vdso.so.1 = (0x7fff1e9dd000) libcdda_interface.so.0 = not found libcdda_paranoia.so.0 = not found libm.so.6 =

[PATCH] guix package: Add '--delete-generations'.

2013-09-22 Thread Nikita Karetnikov
Can I push this patch to ‘master’? Do you see any problems? I had noticed that ‘--roll-back’ doesn’t output anything with ‘--dry-run’, so I implemented ‘--delete-generations’ similarly. Maybe it would be better to print something. WDYT? From ede983c90bd4cdece708820e1d52a2d1894a51c8 Mon Sep 17

Re: Order of listed packages

2013-09-22 Thread Cyril Roelandt
On 09/22/2013 03:29 PM, Andreas Enge wrote: Currently, guix package -I lists the latest installed package first, which often ends up scrolling out of the window. However, this is most of the time where things happen, new packages get installed or rolled back. Honestly, I'd like to have

Re: Order of listed packages

2013-09-22 Thread Andreas Enge
On Sun, Sep 22, 2013 at 09:18:50PM +0200, Cyril Roelandt wrote: On 09/22/2013 03:29 PM, Andreas Enge wrote: Currently, guix package -I lists the latest installed package first, which often ends up scrolling out of the window. However, this is most of the time where things happen, new

Re: Order of listed packages

2013-09-22 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: So I would suggest to revert the order of packages, listing them from the first to the most recently installed. I agree. Me too. I’ll push the obvious fix in a moment. Ludo’.

Generation 0 (was: [PATCH] guix package: Add '--delete-generations'.)

2013-09-22 Thread Nikita Karetnikov
I think we should change ‘--list-generations’ to not output the zeroth generation. Even though it could be present in the profile, users shouldn’t be concerned about it. Currently, ‘--delete-generations’ ignores the zeroth generation. Other options seem even more confusing: 1. If you don’t

Re: [PATCH] guix package: Add '--delete-generations'.

2013-09-22 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Can I push this patch to ‘master’? Do you see any problems? Looks good! Minor issues discussed below. I had noticed that ‘--roll-back’ doesn’t output anything with ‘--dry-run’, so I implemented ‘--delete-generations’ similarly. Maybe it

Re: Generation 0

2013-09-22 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: I think we should change ‘--list-generations’ to not output the zeroth generation. Even though it could be present in the profile, users shouldn’t be concerned about it. Agreed. Currently, ‘--delete-generations’ ignores the zeroth

Re: Installing multiple packages at once

2013-09-22 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Someone on IRC said that they would prefer to write ‘-i foo bar baz’ instead of ‘-i foo -i bar -i baz’. Should we change this or allow both variants? And how hard would it be? Currently -i takes an argument, hence this syntax. What would be

Re: Installing multiple packages at once

2013-09-22 Thread Mark H Weaver
Nikita Karetnikov nik...@karetnikov.org writes: Someone on IRC said that they would prefer to write ‘-i foo bar baz’ instead of ‘-i foo -i bar -i baz’. Should we change this or allow both variants? And how hard would it be? You can do this: guix package --install={foo,bar,baz} which the

Re: [PATCH] guix package: Add '--delete-generations'.

2013-09-23 Thread Nikita Karetnikov
“Delete the generations matching @var{patterns} or ... when omitted.” Or what actually? I would expect it to delete all the generations but the current one when PATTERN is omitted, right? ‘--delete-generations’ deletes everything and points the profile to the zeroth generation. There are

Re: Generation 0

2013-09-23 Thread Nikita Karetnikov
I think we should change ‘--list-generations’ to not output the zeroth generation. Even though it could be present in the profile, users shouldn’t be concerned about it. Agreed. Good. I think it should be impossible to remove Generation 0 through the command-line tools, because that

Re: Patches: Progressive Enhancement

2013-09-23 Thread Ludovic Courtès
Hi Alex! Alex Sassmannshausen alex.sassmannshau...@gmail.com skribis: It's been a while, but if still desired, here the cosmetic revisions for the list-packages page. Of course it’s still desired! :-) Ludovic Courtès writes: [...] As a slight complication, I no longer have access to my

FAIL: tests/guix-register.sh

2013-09-23 Thread Nikita Karetnikov
HEAD (caf96debc257dee9ad8b0ea74cc6a8241c30dad4) fails. ‘guix-register.log’: + type -P sqlite3 /usr/local/bin/sqlite3 + echo 'select * from ValidPaths where path=/nix/store/z4pyj3rbgpqpd3mj0rxpbbpg45hlfcbh-guile-bootstrap-2.0;' + sqlite3

Re: Generation 0

2013-09-23 Thread Nikita Karetnikov
I think we should change ‘--list-generations’ to not output the zeroth generation. Even though it could be present in the profile, users shouldn’t be concerned about it. Agreed. Can I push these patches to ‘master’? Should I document that the zeroth generation is always ignored? From

Re: [PATCH] guix package: Add '--delete-generations'.

2013-09-24 Thread Nikita Karetnikov
Nothing has to be changed; it’s just that I’d prefer to put the bits that introduce ‘link-to-empty-environment’ in a separate patch, for clarity. I could do it, but it may be easier for you to do it, no? Ah, I simply misunderstood. I’ll do it. pgpBmYpaLw3VH.pgp Description: PGP signature

Re: [PATCH] guix package: Show which generation is the current one.

2013-09-24 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Could we instead of a global (current-generation-number profile) procedure? We’d store the number in a local variable here, to avoid repeated ‘readlink’ calls. I don’t see how the former implies the latter. Could you expand on this? I’m

Re: GNU Guix hackathon on Sep. 28-29

2013-09-24 Thread Nikita Karetnikov
I will be physically present at the hackathon in Cambridge. Most Guix developers are not in the US, but it would be great if you could find interested people in Cambridge. I have experience with Guile, but I haven't done much work with package management systems before. That’s not a problem

Re: FAIL: tests/guix-register.sh

2013-09-24 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: HEAD (caf96debc257dee9ad8b0ea74cc6a8241c30dad4) fails. ‘guix-register.log’: + type -P sqlite3 /usr/local/bin/sqlite3 + echo 'select * from ValidPaths where path=/nix/store/z4pyj3rbgpqpd3mj0rxpbbpg45hlfcbh-guile-bootstrap-2.0;' + sqlite3

Re: Generation 0

2013-09-24 Thread Nikita Karetnikov
What about these patches? Should the first patch also test the following case? +(let ((numbers (generation-numbers profile))) + (if (equal? numbers '(0)) + (exit 1) + (for-each list-generation numbers From

Re: Goals for 0.4

2013-09-25 Thread Andreas Enge
On Thu, Aug 29, 2013 at 10:42:23PM +0200, Andreas Enge wrote: On Thu, Aug 29, 2013 at 02:34:27PM +0200, Ludovic Courtès wrote: • Manual: improve as we see fit; notably add a section on font usage for X applications. I would volunteer for this one. The main problem that gtk+

Re: Generation 0

2013-09-25 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: What about these patches? Should the first patch also test the following case? +(let ((numbers (generation-numbers profile))) + (if (equal? numbers '(0)) + (exit 1) +

Re: [PATCH] guix package: Show which generation is the current one.

2013-09-25 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: I’m suggesting to have a procedure like this: (define (current-generation-number profile) ;; Return the current generation number of PROFILE. ...) We already have such a procedure. It’s called ‘generation-number’. Oh, OK. What

Re: [PATCH] guix package: Add '--delete-generations'.

2013-09-25 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Oh. I’d prefer if it would delete all generations but the current one. That’s a fairly useful pattern: suppose you want to make space on your disk (and you know you won’t need to roll back), it’d be handy to run: guix package

Re: FAIL: tests/guix-register.sh

2013-09-25 Thread Nikita Karetnikov
Could it be that something’s wrong with your setup? (Erroneous LD_LIBRARY_PATH, etc.) Maybe. This test also fails on a different machine of mine. LD_LIBRARY_PATH is not set. pgpMTcknFjC6O.pgp Description: PGP signature

Re: FAIL: tests/guix-register.sh

2013-09-25 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Could it be that something’s wrong with your setup? (Erroneous LD_LIBRARY_PATH, etc.) Maybe. This test also fails on a different machine of mine. LD_LIBRARY_PATH is not set. Are you using a distro-provide SQLite package, or something you

Re: FAIL: tests/guix-register.sh

2013-09-25 Thread Nikita Karetnikov
Are you using a distro-provide SQLite package, or something you built yourself? If the problem is widespread, we can just remove this test. No need. I solved the problem by installing SQLite from Guix. pgpwaGLweKqG9.pgp Description: PGP signature

Re: Generation 0

2013-09-25 Thread Nikita Karetnikov
There are two cases: 1. A generation does not exist. 2. The profile points to the zeroth generation, and there are no other generations. ‘tests/guix-package.sh’ tests the first case. Should we test the second case too? What would be the best way to do so? The second case is valid.

Re: [PATCH] guix package: Add '--delete-generations'.

2013-09-25 Thread Nikita Karetnikov
Frankly, I don’t like it. I think the default behavior should not be to let the user shoot themself in the foot. WDYT? OK, what about these patches? Can I push them? From 86d29a8b233d5cf6549fbcddf43b185086b7d178 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date:

Re: Generation 0

2013-09-26 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Anyway, can I push this patch? Yes, please push. From 00188949e6c49592f6f2dc30bf21731ae142afc0 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Thu, 26 Sep 2013 02:00:06 + Subject: [PATCH 1/3] guix package:

Re: [PATCH] guix package: Add '--delete-generations'.

2013-09-26 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Frankly, I don’t like it. I think the default behavior should not be to let the user shoot themself in the foot. WDYT? OK, what about these patches? Can I push them? From 86d29a8b233d5cf6549fbcddf43b185086b7d178 Mon Sep 17 00:00:00 2001

Re: Goals for 0.4

2013-09-26 Thread Andreas Enge
On Wed, Sep 25, 2013 at 03:13:25PM +0200, Ludovic Courtès wrote: Yes, so normally installed GTK+ apps will work out of the box now. The only thing we could document is that fonts installed in the user profile will automatically be picked up. Probably, one will still need to install

Add Package Mercurial

2013-09-27 Thread Arne Babenhauserheide (IMK)
Hi, I include the patch and file for adding Mercurial to version-tracking. I cannot test it right now, because the package requires a new version of guix, but guix pull does not work. But since I’ll be away till tuesday, I want to get it out of my unfinished-business-need-to-care-for-that list.

GNU Guix 0.4 released

2013-09-27 Thread Ludovic Courtès
We are pleased to celebrate GNU’s 30th anniversary with the release of GNU Guix version 0.4, representing 300 commits by 5 people over 2 months. This release comes with a QEMU virtual machine image that demonstrates preliminary work toward building a stand-alone GNU system with Guix. The image

Re: Add Package Mercurial

2013-09-27 Thread Ludovic Courtès
Arne Babenhauserheide (IMK) arne.babenhauserhe...@kit.edu skribis: I include the patch and file for adding Mercurial to version-tracking. Nice! The patch is in git diff format with commit message, so I hope you can apply it. The patch is not in ‘git format-patch’ format, which makes it more

Re: Goals for 0.4

2013-09-28 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: On Wed, Sep 25, 2013 at 03:13:25PM +0200, Ludovic Courtès wrote: Yes, so normally installed GTK+ apps will work out of the box now. The only thing we could document is that fonts installed in the user profile will automatically be picked up. Probably,

Add Package FTGL

2013-09-28 Thread Joshua Youlysses S. Grant
So here's another package expression (attached) -- which is dependent on glu of the freeglut.scm package, fyi. Everything in the process seems to build and install, just fine -- but there is a warning when I run through it, that says: WARNING: (gnu packages ftgl): `freetype' imported from both

Re: Add Package Freeglut

2013-09-28 Thread Ludovic Courtès
Joshua \Youlysses\ S. Grant youlys...@riseup.net skribis: Attached is the actual expression and the general output I got from it. Glu build/installs without a problem on my machine, but Freeglut seems to fail due to inputs not matching what it's looking for -- though I've seen the same inputs

Add Package Gl

2013-09-28 Thread Joshua Youlysses S. Grant
Attached, is file containing several different package expressions for various Opengl tools and/or utilities (at the time of posting this, they would be: glu, freeglut, and ftgl). This is my first real submission to any GNU project, and hopefully is far from the last. I again want to thank Ludo

Re: Add Package Gl

2013-09-28 Thread Joshua Youlysses S. Grant
Hey Cyril, Thanks for the pointers! I don't know what the deal is with the missing spaces, between home -page ... but it's certainly there on my end. In regards to using versions, how technically would I be able to do that? Freeglut seems doable, but I assume, due to the ~ not matching 1:1 from

Re: Add Package Gl

2013-09-28 Thread Cyril Roelandt
On 09/28/2013 09:11 PM, Joshua Youlysses S. Grant wrote: Hey Cyril, Thanks for the pointers! I don't know what the deal is with the missing spaces, between home -page ... but it's certainly there on my end. Oh, sorry, it's a problem with my mail client. In regards to using versions, how

Re: Add Package Gl

2013-09-28 Thread Nikita Karetnikov
Minor issues… #:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:)) It’d better to use 'l: as a prefix to avoid (license license:something). You could also use #:select if it’s possible. #:use-module (gnu packages fontutils)) Extra newline.

Re: Add Package Gl

2013-09-28 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: #:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:)) It’d better to use 'l: as a prefix to avoid (license license:something). You could also use #:select if it’s possible. I actually suggested that

Re: GNU Guix 0.4 released

2013-09-28 Thread Alex Sassmannshausen
Fantastic, congratulations to all involved and kudos to ludo, andreas and nikita in particular for you commitment! Best wishes, Alex On Fri Sep 27 16:17:42 2013 Ludovic Courtès l...@gnu.org wrote: We are pleased to celebrate GNU’s 30th anniversary with the release of GNU Guix version 0.4,

[PATCH v2] gnu: Add gobject-introspection.

2013-09-29 Thread Cyril Roelandt
* gnu/packages/glib.scm (gobject-introspection): New variable. --- gnu/packages/glib.scm | 47 +++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 815fafc..58cd1c5 100644 --- a/gnu/packages/glib.scm

Re: Goals for 0.4

2013-09-29 Thread Alex Sassmannshausen
Probably, one will still need to install fontconfig. Maybe you could try out if emacs works for you without fontconfig. It did, to my surprise, for me. I just upgraded my profile and remove gs-fonts, and Emacs still displays properly. So unless there’s an evil cache somewhere, I’d say that

Re: [PATCH] gnu: add GL

2013-09-30 Thread Ludovic Courtès
Hi! Thanks for joining the hackathon this week-end! youlys...@riseup.net skribis: Attached is a patch to add gl.scm, a set of a applications, extensions, utilities, or what have-you, related to Opengl-- that don't really deserve/fit to be in there own file and/or module. Freeglut still

Re: [PATCH] gnu: add GL

2013-09-30 Thread Andreas Enge
On Mon, Sep 30, 2013 at 09:31:48PM +0200, Ludovic Courtès wrote: youlys...@riseup.net skribis: Attached is a patch to add gl.scm, a set of a applications, extensions, utilities, or what have-you, related to Opengl-- that don't really deserve/fit to be in there own file and/or module. When

Re: Glib 2.38.0

2013-09-30 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Notice the duplications in the command lines; the culprit seems to be the lines in the recipe ;; Honor $(TESTS_ENVIRONMENT). (substitute* (find-files . ^Makefile(\\.in)?$)

Re: MIPS64/N64 support

2013-09-30 Thread Nikita Karetnikov
Could you try running the statically-linked bash from ‘static-binaries.tar.xz’ and see if the same error occurs? Perhaps strace it so we can see where that error comes from. I don’t see anything similar. Looking at http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/syscalls/?cvsroot=src,

Re: Bootstrapping GHC

2013-09-30 Thread Nikita Karetnikov
I don’t know GHC, but apparently it can be bootstrapped from intermediate generated C files: http://www.haskell.org/ghc/docs/6.4.1/html/building/sec-porting-ghc.html Wouldn’t that be better than fiddling with binaries out-of-band? The recent versions of the compiler don’t support this.

Re: MIPS64/N64 support

2013-10-01 Thread Lluís Batlle i Rossell
On Tue, Oct 01, 2013 at 12:55:53PM +0400, Nikita Karetnikov wrote: In fact I was reluctant to raise again the ext4 topic ;) But I think 3.5.3 has a broken readdir() syscall in ext4. I think it's not a problem of kernel options active. You simply have to avoid using ext4 (or even ext3,

Re: MIPS64/N64 support

2013-10-01 Thread Lluís Batlle i Rossell
On Tue, Oct 01, 2013 at 02:06:06PM +0400, Nikita Karetnikov wrote: I also seem to recall that gNewSense had only o32 support, years ago. And not any n32/n64. Can it be? I think this is correct. I'd simply try to avoid ext4 or even ext3, without changing the kernel. I don't know of

The store monad

2013-10-01 Thread Ludovic Courtès
Hi! I just pushed the ‘wip-monad’ branch for review (like we do in Guile, ‘wip-’ means that I may rebase it until it’s complete.) So far in Guix we had two things: store primitives from (guix store) that explicitly manipulate the store via effectful RPCs, and package definitions, which are

Re: Add Package Mercurial

2013-10-01 Thread Ludovic Courtès
Hi, Arne Babenhauserheide (IMK) arne.babenhauserhe...@kit.edu skribis: I attached an adapted version of the patch reusing the solution from Bazaar. Thanks. I had to add #:tests? #f so that it would build (because ‘python setup.py test’ is not supported): diff --git

Re: Gtk+ 3

2013-10-02 Thread Andreas Enge
On Wed, Oct 02, 2013 at 12:14:47AM +0200, Ludovic Courtès wrote: So that means GTK+ 3 actually works, right? That’s cool! This is a good question, since none of the packages I am interested in uses gtk+ so far. But I am working on packaging one ;-) I tried to use the slideshow binary from the

Re: The store monad

2013-10-02 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Thanks, this is definitely a step in the right direction. That’s the first time I use monads after just reading about it. I hope that you checked the monad laws. Left identity: --8---cut here---start-8---

Re: Gtk+ 3

2013-10-02 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: On Wed, Oct 02, 2013 at 12:14:47AM +0200, Ludovic Courtès wrote: So that means GTK+ 3 actually works, right? That’s cool! This is a good question, since none of the packages I am interested in uses gtk+ so far. But I am working on packaging one ;-) I

Re: Gtk+ 3

2013-10-02 Thread Andreas Enge
On Wed, Oct 02, 2013 at 02:16:42PM +0200, Ludovic Court??s wrote: I’ll check if Geeqie works and report back. Geeqie does not compile, whence commit 8b0275b6443. Andreas

Brasero, or gnome without gnome

2013-10-02 Thread Andreas Enge
Hi, the attached patch is supposed to add the gnome cd burner brasero. It compiles, but starting brasero fails on my debian kde desktop with the following messages: ** (brasero:15560): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name

<    1   2   3   4   5   6   7   8   9   10   >