Re: Cross-compilation fixes

2013-12-14 Thread John Darrington
On Sat, Dec 14, 2013 at 05:55:53PM +0100, Ludovic Courtès wrote: John Darrington j...@darrington.wattle.id.au skribis: Attached are several patches addressing cross-compilation issues, culminating in a large patch affecting lots of files, moving various inputs to

Re: Cross-compilation fixes

2013-12-14 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: On Sat, Dec 14, 2013 at 05:55:53PM +0100, Ludovic Courtès wrote: [...] (‘git format-patch’ and ‘git send-email’ can be used for that, as noted in HACKING.) I can't find any mention of git send-email in HACKING, Right. and

[PATCH 1/5] gnu: libxml2: Fixed cross-compilation.

2013-12-14 Thread John Darrington
* gnu/packages/xml.scm (libxml2): [(eq? (%current-target-system) #f)] assign cross-libc to the variable glibc --- gnu/packages/xml.scm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index e2bab7b..a5b8c78 100644 ---

[PATCH 3/5] gnu: tzdata: Added source as input.

2013-12-14 Thread John Darrington
* gnu/packages/base.scm (tzdata): Add source as input. --- gnu/packages/base.scm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 02f1b91..5f74271 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -535,7

Re: [PATCH 1/5] gnu: libxml2: Fixed cross-compilation.

2013-12-14 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: * gnu/packages/xml.scm (libxml2): [(eq? (%current-target-system) #f)] assign cross-libc to the variable glibc No need to show the condition in the log. --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -75,7 +75,7 @@ things

Re: [PATCH 4/5] gnu: openssl: Fixed cross-compile issues.

2013-12-14 Thread John Darrington
On Sat, Dec 14, 2013 at 06:57:59PM +0100, Ludovic Court??s wrote: @@ -52,8 +52,8 @@ (string-append --prefix= out) (alist-cons-before 'patch-source-shebangs 'patch-tests -(lambda* (#:key inputs

Re: [PATCH 2/5] gnu: gnupg: Fixed cross-compile issues.

2013-12-14 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: *gnu/packages/gnupg.scm (libgpg-error): Added gcc as a native input, and set the CC_FOR_BUILD variable. The implicit inputs when cross-compiling include both the cross-gcc and the native gcc (see build-system/gnu.scm.) AFAICS setting

Re: [PATCH 3/5] gnu: tzdata: Added source as input.

2013-12-14 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -535,7 +535,8 @@ with the Linux kernel.) (delete-file-recursively (string-append out /share/zoneinfo-posix)) (delete-file-recursively (string-append

Re: [PATCH 2/5] gnu: gnupg: Fixed cross-compile issues.

2013-12-14 Thread John Darrington
On Sat, Dec 14, 2013 at 07:19:03PM +0100, Ludovic Courtès wrote: John Darrington j...@darrington.wattle.id.au skribis: *gnu/packages/gnupg.scm (libgpg-error): Added gcc as a native input, and set the CC_FOR_BUILD variable. The implicit inputs when cross-compiling

Re: [PATCH] guix package: allow multiple arguments after -i, -r, and -u

2013-12-14 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Looks great to me! Excellent! Here's an updated patch incorporating your suggestions, and also with the following additional changes: * Arguments to install and remove are now optional, so --install a b works without the '='. * I fixed a bug where

Re: [PATCH 4/5] gnu: openssl: Fixed cross-compile issues.

2013-12-14 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: On Sat, Dec 14, 2013 at 06:57:59PM +0100, Ludovic Court??s wrote: @@ -52,8 +52,8 @@ (string-append --prefix= out) (alist-cons-before 'patch-source-shebangs

Re: [PATCH] guix package: allow multiple arguments after -i, -r, and -u

2013-12-14 Thread Ludovic Courtès
Mark H Weaver m...@netris.org skribis: Excellent! Here's an updated patch incorporating your suggestions, and also with the following additional changes: * Arguments to install and remove are now optional, so --install a b works without the '='. * I fixed a bug where --upgrade gcc

Re: [PATCH] gnu: libxml2: Fixed cross-compilation.

2013-12-14 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: * gnu/packages/xml.scm (libxml2): [(eq? (%current-target-system) #f)] assign cross-libc to the variable glibc Pushed with minor formatting adjustments, thanks! Ludo’.

Re: [PATCH 5/5] gnu: Changed many inputs which should be native-inputs.

2013-12-14 Thread Ludovic Courtès
Thanks for auditing all this! John Darrington j...@darrington.wattle.id.au skribis: * gnu/packages/avahi.scm : Moved dependencies from inputs to native-inputs * gnu/packages/cdrom.scm : Moved dependencies from inputs to native-inputs Please use standard notation, like: *

[PATCH] gnu: openssl: Fix cross-compile issues.

2013-12-15 Thread John Darrington
* gnu/packages/openssl.scm (openssl): Move perl from inputs to native-inputs. Replace reference to target bash with the native bash or target bash as appropriate. --- gnu/packages/openssl.scm |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 2/5] gnu: gnupg: Fixed cross-compile issues.

2013-12-15 Thread John Darrington
On Sat, Dec 14, 2013 at 10:06:13PM +0100, Ludovic Court??s wrote: John Darrington j...@darrington.wattle.id.au skribis: On Sat, Dec 14, 2013 at 07:19:03PM +0100, Ludovic Court??s wrote: John Darrington j...@darrington.wattle.id.au skribis:

[PATCH] gnu: gnupg: Fix cross-compile issues.

2013-12-15 Thread John Darrington
From: John Darrington j...@darrington.wattle.id.au * gnu/packages/gnupg.scm (libgpg-error): Add gcc as a native input, and set the CC_FOR_BUILD variable. * gnu/packages/gnupg.scm (libgcrypt): Add libgpg-error as a native input and set the --with-gpg-error-prefix configure option. *

Re: [PATCH 5/5] gnu: Changed many inputs which should be native-inputs.

2013-12-15 Thread John Darrington
On Sat, Dec 14, 2013 at 10:48:07PM +0100, Ludovic Court??s wrote: Thanks for auditing all this! --- a/gnu/packages/gdb.scm +++ b/gnu/packages/gdb.scm @@ -56,9 +56,10 @@ (gmp ,gmp) (readline ,readline) (ncurses ,ncurses) -

Re: [PATCH 2/5] gnu: gnupg: Fixed cross-compile issues.

2013-12-15 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: However, is --with-gpg-error-prefix really needed? By default the cross gcc will find the target libgpg-error in its search path, and not the native one, so I would guess this is OK. Without --with-gpg-error-prefix

Re: [PATCH] gnu: openssl: Fix cross-compile issues.

2013-12-15 Thread Ludovic Courtès
John Darrington j...@gnu.org skribis: * gnu/packages/openssl.scm (openssl): Move perl from inputs to native-inputs. Replace reference to target bash with the native bash or target bash as appropriate. Applied, thanks! Ludo’.

Re: [PATCH] gnu: gnupg: Fix cross-compile issues.

2013-12-15 Thread Ludovic Courtès
John Darrington j...@gnu.org skribis: From: John Darrington j...@darrington.wattle.id.au * gnu/packages/gnupg.scm (libgpg-error): Add gcc as a native input, and set the CC_FOR_BUILD variable. * gnu/packages/gnupg.scm (libgcrypt): Add libgpg-error as a native input and set the

Re: [PATCH] gnu: Move numerous inputs which should be native-inputs.

2013-12-15 Thread Ludovic Courtès
John Darrington j...@gnu.org skribis: * gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm, gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,

Re: [PATCH] gnu: gnu-build-system: Add CC_FOR_BUILD to configure flags.

2013-12-17 Thread Ludovic Courtès
John Darrington j...@gnu.org skribis: * guix/build/gnu-build-system.scm: Add new configure flag: CC_FOR_BUILD=gcc * gnu/packages/gnupg.scm, gnu/packages/guile.scm, gnu/packages/make-bootstrap.scm: remove CC_FOR_BUILD from these package descriptions. Applied to the just-reopened

[PATCH] gnu: gnu-build-system: Add CC_FOR_BUILD to configure flags.

2013-12-17 Thread John Darrington
From: John Darrington j...@darrington.wattle.id.au * guix/build/gnu-build-system.scm: Add new configure flag: CC_FOR_BUILD=gcc * gnu/packages/gnupg.scm, gnu/packages/guile.scm, gnu/packages/make-bootstrap.scm: remove CC_FOR_BUILD from these package descriptions. --- gnu/packages/gnupg.scm

Run ./nix/sync-with-upstream after pull!

2013-12-18 Thread Ludovic Courtès
Hi! After pulling commit 0c5028f, you’ll should get an error like this when building: --8---cut here---start-8--- nix/libutil/hash.cc:244:13: error: member ‘guix_hash_context nix::Ctx::md5’ with constructor not allowed in union MD5_CTX md5;

Re: Run ./nix/sync-with-upstream after pull!

2013-12-18 Thread Andreas Enge
On Thu, Dec 19, 2013 at 12:06:49AM +0100, Ludovic Courtès wrote: Make sure to run ./nix/sync-with-upstream to fix that (this script has an additional patch rule to fix that.) When doing this, I get: sync-with-upstream: `..' is not the valid top-level source directory When I do cd nix;

Re: Run ./nix/sync-with-upstream after pull!

2013-12-18 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: On Thu, Dec 19, 2013 at 12:06:49AM +0100, Ludovic Courtès wrote: Make sure to run ./nix/sync-with-upstream to fix that (this script has an additional patch rule to fix that.) When doing this, I get: sync-with-upstream: `..' is not the valid top-level

Re: Signed archive export/import

2013-12-20 Thread Andreas Enge
Hello! The check of the crypto part fails with FAIL: tests/pk-crypto = Starting test pk-crypto (Writing full log to pk-crypto.log) FAIL string-gcry-sexp-string # of expected passes 6 # of unexpected failures 1 using an older libgcrypt 1.5.3 from Guix; is version

Re: Signed archive export/import

2013-12-20 Thread Andreas Enge
On Fri, Dec 20, 2013 at 06:54:50PM +0100, Ludovic Courtès wrote: Could you post $top_builddir/{pk-cryto,store}.log ? Here they are! Andreas Starting test pk-crypto Group begin: pk-crypto Test begin: test-name: string-gcry-sexp-string Test end: result-kind: fail actual-value: ((foo

Re: Signed archive export/import

2013-12-20 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: On Fri, Dec 20, 2013 at 06:54:50PM +0100, Ludovic Courtès wrote: Could you post $top_builddir/{pk-cryto,store}.log ? [...] Test begin: test-name: string-gcry-sexp-string Test end: result-kind: fail actual-value: ((foo bar) \Àÿî\ (genkey \n (rsa

The road to Guix 1.0

2013-12-21 Thread Ludovic Courtès
Hi! So, time has come to refine the road map, and see in more details what can be done in the next 2–5 months that would lead to something we could call “1.0”. I think roughly half of it can be achieved for 0.6 (end of January or February?). • distributed builds (see

Re: Signed archive export/import

2013-12-21 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: - a ‘guix archive’ command to easily import/export archives, and to generate a key pair; Done in commit 760c60d; see the doc below. Ludo’. 3.6 Invoking ‘guix archive’ === The ‘guix archive’ command allows users to export

mesa in xorg.scm

2013-12-26 Thread John Darrington
I wondered why mesa is defined in the module xorg.scm since it really doesn't have much to do with X, other than X is one graphics system it supports. Wouldn't the module gl.scm be a better location? J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67

[PATCH 1/2] gnu: gnome: Add new package gtkglext

2013-12-26 Thread jmd
From: John Darrington j...@gnu.org * gnu/packages/gnome.scm (gtkglext): New procedure --- gnu/packages/gnome.scm | 27 .../patches/disable-disable-deprecated.patch | 36 ++ .../patches/remove-pangox-dependency.patch | 132

[PATCH 2/2] gnu: games: New module

2013-12-26 Thread jmd
From: John Darrington j...@gnu.org * gnu/packages/games.scm (gnubik): New procdeure --- gnu/packages/games.scm | 59 1 file changed, 59 insertions(+) create mode 100644 gnu/packages/games.scm diff --git a/gnu/packages/games.scm

Re: mesa in xorg.scm

2013-12-27 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: I wondered why mesa is defined in the module xorg.scm since it really doesn't have much to do with X, other than X is one graphics system it supports. Wouldn't the module gl.scm be a better location? Probably yes, although several Xorg

Re: [PATCH 1/2] gnu: gnome: Add new package gtkglext

2013-12-27 Thread Ludovic Courtès
j...@gnu.org skribis: From: John Darrington j...@gnu.org * gnu/packages/gnome.scm (gtkglext): New procedure s/procedure/variable./ gnu/packages/gnome.scm | 27 .../patches/disable-disable-deprecated.patch | 36 ++

Re: [PATCH 2/2] gnu: games: New module

2013-12-27 Thread Ludovic Courtès
j...@gnu.org skribis: * gnu/packages/games.scm (gnubik): New procdeure Looks good to me, will push along with v2 of the other one. Ludo’.

[PATCH 2/2] gnu: games: New module

2013-12-27 Thread John Darrington
* gnu/packages/games.scm (gnubik): New variable --- gnu-system.am |1 + gnu/packages/games.scm | 59 2 files changed, 60 insertions(+) create mode 100644 gnu/packages/games.scm diff --git a/gnu-system.am b/gnu-system.am index

Re: mesa in xorg.scm

2013-12-27 Thread Andreas Enge
On Fri, Dec 27, 2013 at 11:05:22PM +0100, Ludovic Courtès wrote: John Darrington j...@darrington.wattle.id.au skribis: I wondered why mesa is defined in the module xorg.scm since it really doesn't have much to do with X, other than X is one graphics system it supports. Wouldn't the

[PATCH] gnu: mesa: Move out of xorg.scm and into gl.scm

2013-12-28 Thread John Darrington
The driver dependencies on mesa are probably correct. The history is interesting: X11 of course predates OpenGL. X11 provides a 2D graphics system. OpenGL provides a 3D system. Early OpenGL implementations for *nix like systems used the X11 primitives for their implementation. This was

[PATCH] gnu: mesa: Move out of xorg.scm and into gl.scm

2013-12-28 Thread John Darrington
* gnu/packages/xorg.scm: Remove variable mesa gnu/packages/gl.scm: Add variable mesa --- gnu/packages/gl.scm | 62 + gnu/packages/xorg.scm | 59 +- 2 files changed, 63 insertions(+), 58

Dependency of gnutls-dane on openssl?

2013-12-28 Thread Andreas Enge
Hello, gnutls as currently packaged for guix, the gnu system, issues the following warning at configuration: *** libunbound was not found. Libdane will not be built. I tried to build libunbound, but it depends on SSL, which I take to mean openssl. If this is true, then gnutls with dane support

Re: [PATCH 1/2] gnu: gnome: Add new package gtkglext

2013-12-29 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: On Fri, Dec 27, 2013 at 11:09:33PM +0100, Ludovic Courtès wrote: Also, please add them to gnu-system.am. Thanks for the reminder. Why didn't I get an error when I ran make ? It just didn’t build that file, which doesn’t

Re: [gnutls-devel] Dependency of gnutls-dane on openssl?

2013-12-29 Thread Andreas Metzler
On 2013-12-28 Andreas Enge andr...@enge.fr wrote: gnutls as currently packaged for guix, the gnu system, issues the following warning at configuration: *** libunbound was not found. Libdane will not be built. I tried to build libunbound, but it depends on SSL, which I take to mean openssl.

Re: [PATCH 2/2] gnu: games: New module

2013-12-29 Thread Ludovic Courtès
John Darrington j...@gnu.org skribis: * gnu/packages/games.scm (gnubik): New variable Pushed, thanks! Ludo’.

Re: Guix signed archive export/import

2013-12-29 Thread Ludovic Courtès
Hi, Niels, Thanks for the quick feedback! ni...@lysator.liu.se (Niels Möller) skribis: l...@gnu.org (Ludovic Courtès) writes: [...] libspki/lsh supports password-protected keys, with a specific sexp format, whereas libgcrypt doesn't. About this format, one known problem (if it is a

Re: Guix signed archive export/import

2013-12-29 Thread Niels Möller
l...@gnu.org (Ludovic Courtès) writes: We're using SPKI-style signatures and ACLs in Guix now, to determine whether to authorize the import of an archive of binaries (I say SPKI-style because we don't use your libspki, just libgcrypt and a bunch of higher-level sexps taken from the SPKI RFCs

Package Definition Place

2013-12-29 Thread Kete
Where does a package definition go to build a local package with Guix: /nix/store?

Re: Package Definition Place

2013-12-29 Thread John Darrington
I'm not sure that I understand the question correctly. Package definitions reside in gnu/package/*.scm The packages themselves, once built, get automatically put into /nix/store. J' On Sun, Dec 29, 2013 at 10:55:59PM -0500, Kete wrote: Where does a package definition go to build a local

Re: [PATCH] gnu: mesa: Move out of xorg.scm and into gl.scm

2013-12-30 Thread Ludovic Courtès
Thanks for the explanations! John Darrington j...@gnu.org skribis: * gnu/packages/xorg.scm: Remove variable mesa gnu/packages/gl.scm: Add variable mesa Pushed. Several modules that expected ‘mesa’ to be in (gnu packages xorg) had to be adjusted. A simple way to find about unbound

Re: [PATCH] gnu: mesa: Move out of xorg.scm and into gl.scm

2013-12-30 Thread John Darrington
On Mon, Dec 30, 2013 at 04:56:18PM +0100, Ludovic Courtès wrote: A simple way to find about unbound variables like this is to run ‘make clean-go make’ via Emacs M-x compile and to iterate over the warnings. Thanks. I didn't know about that. J' -- PGP Public

Re: Guix signed archive export/import

2013-12-30 Thread Niels Möller
l...@gnu.org (Ludovic Courtès) writes: Sure, but again, all we have is a small subset of SPKI, and no delegations. I think spki gets really interesting once you have delegations. I intend to add that to lsh, for both user and host keys. But it's been some years without any progress on that

[PATCH] gnu: games: Add new package gnubg

2013-12-30 Thread John Darrington
* gnu/packages/games.scm (gnubg): New variable --- gnu/packages/games.scm | 36 1 file changed, 36 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 746ca49..0f5ae41 100644 --- a/gnu/packages/games.scm +++

Re: Guix signed archive export/import

2013-12-30 Thread Ludovic Courtès
ni...@lysator.liu.se (Niels Möller) skribis: l...@gnu.org (Ludovic Courtès) writes: Sure, but again, all we have is a small subset of SPKI, and no delegations. I think spki gets really interesting once you have delegations. I intend to add that to lsh, for both user and host keys. But it's

Re: [PATCH] gnu: games: Add new package gnubg

2013-12-30 Thread Ludovic Courtès
John Darrington j...@gnu.org skribis: * gnu/packages/games.scm (gnubg): New variable Pushed, thanks! Ludo’.

Re: Package Definition Place

2014-01-01 Thread John Darrington
On Mon, Dec 30, 2013 at 07:37:26PM -0500, Kete wrote: make ./pre-inst-env guix build pkg-name Thanks, what do you do with the scm (Scheme) package definition file? Does it play a part in that? Do we place it in the current directory? The .scm file usually stays in the

Re: Package Definition Place

2014-01-01 Thread Kete
On Wednesday, January 01, 2014 01:52:35 PM you wrote: The .scm file usually stays in the directory gnu/packages/ If you mean http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/, then how do I contribute to the project? guix download is a convenience function for package developers.

Re: Package Definition Place

2014-01-01 Thread Kete
On Wednesday, January 01, 2014 05:09:18 PM John Darrington wrote: When it's ready rpPost a patch to the list. Ludovic will commit it to the repository (if he likes it). This is my problem. How do I know if it works if I can't test it by building the package? Thanks

Re: Package Definition Place

2014-01-01 Thread John Darrington
On Wed, Jan 01, 2014 at 11:32:35AM -0500, Kete wrote: On Wednesday, January 01, 2014 05:09:18 PM John Darrington wrote: When it's ready rpPost a patch to the list. Ludovic will commit it to the repository (if he likes it). This is my problem. How do I know if it works

Re: Package Definition Place

2014-01-01 Thread Kete
On Wednesday, January 01, 2014 08:55:07 PM John Darrington wrote: the pre-inst-env file should exist in your build directory (after you have built guix of course) If I finish this process, maybe somebody could use the instructions. The location of pre-inst-env was one of my earlier

Re: Package Definition Place

2014-01-01 Thread Nikita Karetnikov
Am I supposed to add a module to gnu-system.am? Yes, here’s an example [1]. make[2]: *** No rule to make target `gnu/packages/zsh.scm', needed by `all- am'. Stop. I’ve just tried the following. Could you do the same and report any issues? $ git clone git://git.sv.gnu.org/guix.git $ cd

Re: Package Definition Place

2014-01-02 Thread Kete
On Thursday, January 02, 2014 06:50:25 AM Nikita Karetnikov wrote: make[2]: *** No rule to make target `gnu/packages/zsh.scm', needed by `all- am'. Stop. Sorry, I totally misunderstood the context. Are you trying to add Zsh? It seems you added a line to ‘gnu-system.am’ but forgot to

Re: Package Definition Place

2014-01-02 Thread Kete
On Thursday, January 02, 2014 06:58:47 PM Nikita Karetnikov wrote: Hm, I’m a bit puzzled. How did you change ‘gnu-system.am’, then? gnu-system.am was at the top level. I didn't have a packages folder in my gnu dir. Did you clone the repository or download the tarball? If not, could you

Re: Package Definition Place

2014-01-02 Thread Kete
On Thursday, January 02, 2014 06:44:00 AM Nikita Karetnikov wrote: $ git clone git://git.sv.gnu.org/guix.git $ cd guix $ ./bootstrap ./configure --localstatedir=/nix/var make make check (See ‘HACKING’ for more information.) Then you could add a recipe (i.e., the definition of a

Re: Package Definition Place

2014-01-03 Thread Kete
On Friday, January 03, 2014 06:50:40 AM John Darrington wrote: This would suggest that you haven't got a guix daemon running. Install guix and set up the daemon as described in Chapter 2 of the GUIX manual. Thanks, here are the results: gnu/packages/zsh.scm:12:2: warning: possibly

Re: Package Definition Place

2014-01-03 Thread Nikita Karetnikov
Thanks, here are the results: gnu/packages/zsh.scm:12:2: warning: possibly unbound variable `mit' The license is like MIT. guix build: error: zsh: unknown package I guess it would be easier to help if you provide the code. pgpy4oI5TndsZ.pgp Description: PGP signature

Re: Package Definition Place

2014-01-03 Thread Ludovic Courtès
Kete k...@ninthfloor.org skribis: On Friday, January 03, 2014 06:50:40 AM John Darrington wrote: This would suggest that you haven't got a guix daemon running. Install guix and set up the daemon as described in Chapter 2 of the GUIX manual. Thanks, here are the results:

Re: Overrding the localstatedir

2014-01-03 Thread Ludovic Courtès
Hi! And happy new year to everyone, where applicable! :-) John Darrington j...@darrington.wattle.id.au skribis: After a while I run guix package -i guix which installs just fine. (Note that there’s little point in doing that since it gives you the same version that you just installed. If

Re: Overrding the localstatedir

2014-01-03 Thread John Darrington
On Fri, Jan 03, 2014 at 04:23:57PM +0100, Ludovic Court??s wrote: Hi! And happy new year to everyone, where applicable! :-) John Darrington j...@darrington.wattle.id.au skribis: After a while I run guix package -i guix which installs just fine.

Re: Overrding the localstatedir

2014-01-03 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: So so sum up, my suggestions are: 1. Either a) remove --localstatedir=/var from the configure-flags of the definition of guix in package-management.scm; No, because the setup here is as we (will) use it in the stand-alone GNU system,

Re: Package Definition Place

2014-01-03 Thread John Darrington
On Fri, Jan 03, 2014 at 08:10:56PM -0500, Kete wrote: On Friday, January 03, 2014 04:19:26 PM Ludovic Courtès wrote: It is called ‘x11’ (to avoid ambiguity with other licenses originating from MIT) in the (guix licenses) module. So you would write (define-module

Re: Package Definition Place

2014-01-04 Thread Kete
On Saturday, January 04, 2014 08:15:40 AM John Darrington wrote: The example in bash.scm is over complicated. Look at some of the examples in xorg.scm to see how to set configure-flags. That got me a little further. Src/../Src/mkmakemod.sh: line 467: /bin/sh: No such file or directory

Re: Package Definition Place

2014-01-04 Thread Kete
On Saturday, January 04, 2014 12:47:06 PM Ludovic Courtès wrote: I’d recommend looking at how that tcsetpgrp check is implemented, to see what makes it think it doesn’t work. In particular what does ‘config.log’ report about this test? I didn't find any mention. The ‘license’ field should

Re: Package Definition Place

2014-01-04 Thread John Darrington
This is where you have to start doing some detective work and probably some patching! Based on what you pasted, it looks as if CONFIG_SHELL isn't getting passed to the mkmakemod.sh file. Probably the zsh devs have done something wierd. What I do at this stage is to build with the -K flag, then

Re: Package Definition Place

2014-01-05 Thread Ludovic Courtès
Kete k...@ninthfloor.org skribis: On Saturday, January 04, 2014 12:47:06 PM Ludovic Courtès wrote: I’d recommend looking at how that tcsetpgrp check is implemented, to see what makes it think it doesn’t work. In particular what does ‘config.log’ report about this test? I didn't find any

autoconf command not found

2014-01-06 Thread Kete
starting phase `build' cd . autoconf /nix/store/97vnvqq5daji73b71v4cnmyaa7r3hzk2-bash-4.2/bin/sh: autoconf: command not found Makefile:371: recipe for target 'configure' failed make: *** [configure] Error 127 phase `build' failed after 0 seconds $ guix package -I autoconf2.69out

Re: autoconf command not found

2014-01-06 Thread Ludovic Courtès
Kete k...@ninthfloor.org skribis: starting phase `build' cd . autoconf /nix/store/97vnvqq5daji73b71v4cnmyaa7r3hzk2-bash-4.2/bin/sh: autoconf: command not found Makefile:371: recipe for target 'configure' failed make: *** [configure] Error 127 phase `build' failed after 0 seconds Where

Re: autoconf command not found

2014-01-06 Thread Kete
On Monday, January 06, 2014 01:56:00 PM Ludovic Courtès wrote: Where does this build log come from? Apparently the log above comes from a build, i.e., something run in the build environment (chroot, etc.) Yes, this comes from './pre-inst-env guix build zsh'. What’s installed in the users’

Re: autoconf command not found

2014-01-06 Thread Ludovic Courtès
Kete k...@ninthfloor.org skribis: On Monday, January 06, 2014 01:56:00 PM Ludovic Courtès wrote: Where does this build log come from? Apparently the log above comes from a build, i.e., something run in the build environment (chroot, etc.) Yes, this comes from './pre-inst-env guix build

Package synopses and blurbs translation

2014-01-06 Thread Ludovic Courtès
Hello, and best wishes! As discussed before [0], Guix needs to provide users with translated package synopses and descriptions. It gets its synopses and descriptions for GNU packages from the Womb [1,2] (so does GSRC, IIRC), and has its own for non-GNU packages. There’s gettext infrastructure

Re: [bug-womb] Package synopses and blurbs translation

2014-01-06 Thread Karl Berry
http://cvs.savannah.gnu.org/viewvc/*checkout*/gnumaint/pkgblurbs.txt Looking at www/server, it seems there are currently some translations of the blurbs for ru, fr, de, ja (just judging by file sizes). I suggest the path of least resistance is to take these web translations as the source for

Re: Package synopses and blurbs translation

2014-01-07 Thread John Darrington
Packages which have a GUI, also need a .desktop file, which contains two translatable strings: GenericName, and Comment. For example, here is the .desktop file from pspp: [Desktop Entry] Name=GNU PSPP GenericName=Statistical Software GenericName[ca]=Programari estad??stic

Re: Package synopses and blurbs translation

2014-01-07 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: Packages which have a GUI, also need a .desktop file, which contains two translatable strings: GenericName, and Comment. For example, here is the .desktop file from pspp: [Desktop Entry] Name=GNU PSPP GenericName=Statistical Software

Re: [PATCH 2/5] gnu: gnupg: Fixed cross-compile issues.

2014-01-07 Thread John Darrington
On Sat, Dec 14, 2013 at 10:06:13PM +0100, Ludovic Court??s wrote: John Darrington j...@darrington.wattle.id.au skribis: On Sat, Dec 14, 2013 at 07:19:03PM +0100, Ludovic Court??s wrote: John Darrington j...@darrington.wattle.id.au skribis:

GUIX on fedora 14

2014-01-07 Thread Omar Tarabai
Hello, I have Guix 0.5 installed on a fedora 14, 2.6.32 kernel. Running the following: guix package --verbose -i tar I get the error: guix package: error: build failed: unable to fork: Operation not permitted I traced the error to the clone() operation in build.cc. As mentioned by Ludovic in a

Re: GUIX on fedora 14

2014-01-07 Thread Ludovic Courtès
Hello, Omar Tarabai tara...@devegypt.com skribis: I have Guix 0.5 installed on a fedora 14, 2.6.32 kernel. Running the following: guix package --verbose -i tar I get the error: guix package: error: build failed: unable to fork: Operation not permitted I traced the error to the clone()

Re: Package synopses and blurbs translation

2014-01-07 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: On Tue, Jan 07, 2014 at 11:17:35AM +0100, Ludovic Court??s wrote: John Darrington j...@darrington.wattle.id.au skribis: I think the most desirable approach is to encourage package maintainers, to append the

Re: GUIX on fedora 14

2014-01-08 Thread Omar Tarabai
Hi, On Tue, Jan 7, 2014 at 11:55 PM, Ludovic Courtès l...@gnu.org wrote: Hello, Omar Tarabai tara...@devegypt.com skribis: I have Guix 0.5 installed on a fedora 14, 2.6.32 kernel. Running the following: guix package --verbose -i tar I get the error: guix package: error: build

Re: GUIX on fedora 14

2014-01-08 Thread Ludovic Courtès
Omar Tarabai tara...@devegypt.com skribis: On Tue, Jan 7, 2014 at 11:55 PM, Ludovic Courtès l...@gnu.org wrote: Hello, Omar Tarabai tara...@devegypt.com skribis: I have Guix 0.5 installed on a fedora 14, 2.6.32 kernel. Running the following: guix package --verbose -i tar I get

Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation

2014-01-09 Thread Ineiev via RT
On 01/09/2014 02:57 PM, Ludovic Courtès via RT wrote: Ineiev via RT web-translat...@gnu.org skribis: If there are other (non-web) translators, we may want to arrange a cron job to commit their translations to www. There would likely be duplicated work if there were both www and non www

Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation

2014-01-09 Thread John Darrington
On Thu, Jan 09, 2014 at 06:25:37AM -0500, Ineiev via RT wrote: No, I'm suggesting that it's possible to delegate the work to groups other than GNU web translators (especially when we have no active team for a language), and www.gnu.org can take advantage of it. I agree - and

Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation

2014-01-09 Thread John Darrington via RT
On Thu, Jan 09, 2014 at 06:25:37AM -0500, Ineiev via RT wrote: No, I'm suggesting that it's possible to delegate the work to groups other than GNU web translators (especially when we have no active team for a language), and www.gnu.org can take advantage of it. I agree - and

Re: GUIX on fedora 14

2014-01-09 Thread Ludovic Courtès
Omar Tarabai tara...@devegypt.com skribis: No luck with setcap either. Its possible that since planetlab nodes we are using are running on linux-vservers http://www.linux-vserver.org/Paperwhich is an operating system-level visualization and perhaps it applies some restrictions on the user

Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation

2014-01-09 Thread Ludovic Courtès
Ineiev via RT web-translat...@gnu.org skribis: I think it can be organized this way: (0) when a new (or corrected) translation is committed to www, www translators send updates to TP, and they merge it to their PO files; (1) when a new translation is submitted to TP, the translators send a

Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation

2014-01-09 Thread Ineiev via RT
On 01/10/2014 03:12 AM, Ludovic Courtès via RT wrote: (0) when a new (or corrected) translation is committed to www, www translators send updates to TP, and they merge it to their PO files; (1) when a new translation is submitted to TP, the translators send a copy to the respective

Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation

2014-01-10 Thread Ludovic Courtès via RT
Ineiev via RT web-translat...@gnu.org skribis: On 01/10/2014 03:12 AM, Ludovic Courtès via RT wrote: (0) when a new (or corrected) translation is committed to www, www translators send updates to TP, and they merge it to their PO files; (1) when a new translation is submitted to

Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation

2014-01-10 Thread John Darrington via RT
On Fri, Jan 10, 2014 at 12:44:25AM -0500, Ineiev via RT wrote: Then, there are also tts (which may translate into something different, like code or em) and a few other substitutions [1]. I wonder whether it would be easier if guix used HTML in PO files and converted it to

Re: [gnu.org #881181] Re: [gnu.org #881518] Re: Package synopses and blurbs translation

2014-01-10 Thread John Darrington
On Fri, Jan 10, 2014 at 12:44:25AM -0500, Ineiev via RT wrote: Then, there are also tts (which may translate into something different, like code or em) and a few other substitutions [1]. I wonder whether it would be easier if guix used HTML in PO files and converted it to

Re: Signed archive export/import

2014-01-10 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: l...@gnu.org (Ludovic Courtès) skribis: The good news is that, with a bit of work in (guix nar), ‘substitute-binary’ will be able to use that mechanism too. So we can change Hydra to always sign its archives (simple), and ‘substitute-binary’ to

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