Re: [PATCH] gnu: Add ffmpeg.

2013-12-02 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis:

 On Sun, Dec 01, 2013 at 12:12:54AM +0100, Ludovic Courtès wrote:
 The samples wouldn’t really have to be “packaged”: they’d just be an
 input.  For someone using substitutes, the samples are not going to be a
 problem (because they’ll never be downloaded.)  However, it is indeed a
 problem when building things locally.

 Well, so far the only way I have been told to get them is via rsync.
 So one might need to create a .tar(.gz?) from the download.

Not necessarily.  It could fetch the directory as is.  There could be an
‘rsync-fetch’ method for origin, just like we have ‘url-fetch’.  (A
little bit of work, but that seems doable, if we want to.)

 And in any case, an input means a package variable, no?

I would rather make it an origin (assuming there’s a way to get at an
immutable version of those samples), and it doesn’t need to be bound a
variable:

  (define ffmpeg
(package
  ...
  (inputs `((samples ,(origin
  (method rsync-fetch)
  ...))

Back to the problem at hand: the short-term answer is to add
#:tests? #f with a link to this discussion.  The longer term answer
may be to try to run those FATE tests.

WDYT?

Ludo’.



Re: [PATCH] pspp

2013-12-02 Thread John Darrington
On Mon, Dec 02, 2013 at 01:53:46PM +0100, Ludovic Court??s wrote:
 John Darrington j...@darrington.wattle.id.au skribis:
 
  From 1e5f4146bbe1d1ba4d73a5ff52b9e80e461bbe8c Mon Sep 17 00:00:00 2001
  From: John Darrington j...@darrington.wattle.id.au
  Date: Sat, 30 Nov 2013 11:11:54 +0100
  Subject: [PATCH 1/2] gnu: Added gtksourceview
 
  * gnu/packages/gtk.scm (gtksourceview): New variable.
 
 Pushed.  The formatting still wasn???t as expected, so I just changed
 that as suggested.

Sorry.  I thought I had changed everything that you asked.  I'll check harder 
next time.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.




Re: Clean build from Git HEAD fails

2013-12-02 Thread John Darrington
On Mon, Dec 02, 2013 at 01:56:03PM +0100, Ludovic Court??s wrote:
 John Darrington j...@darrington.wattle.id.au skribis:
 
  /bin/mkdir -p `dirname guix/scripts/build.go` ;   \
  LC_ALL=C\
  ./pre-inst-env  \
  /usr/bin/guild compile -L . -L .\
-Wformat -Wunbound-variable -Warity-mismatch  \
--target=i686-pc-linux-gnu   
   \
-o guix/scripts/build.go guix/scripts/build.scm
 
 [...]
 
  In ice-9/psyntax.scm:
  1267: 7 [expand (make-session connection-end/client) (# # #) (# # #) ...]
  1196: 6 [syntax-type (make-session connection-end/client) (# # #) (# # 
#) ...]
   582: 5 [syntax-type make-session (# # #) (# # #) ...]
   292: 4 [get-global-definition-hook make-session (hygiene guix build 
download)]
  In unknown file:
 ?: 3 [module-variable #directory (guix build download) a865870 
make-session]
  In ice-9/boot-9.scm:
  2718: 2 [b #autoload (gnutls) a7786c0 make-session #f]
  In unknown file:
 ?: 1 [scm-error misc-error #f ...]
  In ice-9/boot-9.scm:
   106: 0 [#procedure a19d440 at ice-9/boot-9.scm:97:6 (thrown-k . args) 
misc-error ...]
 
 What does /usr/bin/guile -c '(use-modules (gnutls))' report on your
 system?

Backtrace:
In ice-9/boot-9.scm:
 149: 16 [catch #t #catch-closure 84f1310 ...]
 157: 15 [#procedure 84ba8c0 ()]
In unknown file:
   ?: 14 [catch-closure]
In ice-9/boot-9.scm:
  63: 13 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 407: 12 [eval # #]
In unknown file:
   ?: 11 [call-with-input-string (use-modules (gnutls)) ...]
In ice-9/command-line.scm:
 174: 10 [#procedure 84f33a0 at ice-9/command-line.scm:169:3 (port) #input: 
string 83d6c30]
In unknown file:
   ?: 9 [eval (use-modules (gnutls)) #directory (guile-user) 84986c0]
In ice-9/eval.scm:
 480: 8 [#procedure 8440720 at ice-9/eval.scm:474:4 (exp) (use-modules 
(gnutls))]
In ice-9/psyntax.scm:
1101: 7 [expand-top-sequence ((use-modules (gnutls))) () ...]
 986: 6 [scan ((use-modules (gnutls))) () ...]
 270: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3244: 4 [process-use-modules (((gnutls)))]
 545: 3 [map #procedure 84b91c0 at ice-9/boot-9.scm:3244:25 (mif-args) ((#))]
3245: 2 [#procedure 84b91c0 at ice-9/boot-9.scm:3244:25 (mif-args) ((gnutls))]
2583: 1 [resolve-interface (gnutls) #:select ...]
In unknown file:
   ?: 0 [scm-error misc-error #f ~A ~S (no code for module (gnutls)) #f]



-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.




Re: [PATCH] gnu: Add ffmpeg.

2013-12-02 Thread Jason Self
Ludovic Courtès asked:
 Anyway, I agree that it’s a major inconvenience, but I wonder if we
 should be concerned about shipping without testing.  What do people
 think?

I have no objection.


GNU dmd 0.1 released

2013-12-02 Thread Ludovic Courtès
We are pleased to announce GNU dmd version 0.1, the first of a series of
alpha releases having a positive version number.


• About

  GNU dmd is a “daemon managing daemons” (or “daemons-managing
  daemon”?)–i.e., a service manager that provides a replacement for the
  service-managing capabilities of SysV init (or any other init) with a
  powerful dependency-based system with a convenient interface.  dmd may
  also be used by unprivileged users to manage per-user daemons (e.g.,
  tor, privoxy, mcron, etc.)  It is written in Guile Scheme, and is
  configured and extended using Guile.

  GNU dmd is developed jointly with the GNU Guix project, with the goal
  of being used as the init system of GNU.

  http://www.gnu.org/software/dmd/


• Download

  Here are the compressed sources and a GPG detached signature[*]:
ftp://alpha.gnu.org/gnu/dmd/dmd-0.1.tar.gz
ftp://alpha.gnu.org/gnu/dmd/dmd-0.1.tar.gz.sig

  Use a mirror for higher download bandwidth:
http://www.gnu.org/order/ftp.html

  Here are the MD5 and SHA1 checksums:

  f14c138bc03b819d7ad3bb184141acdd  dmd-0.1.tar.gz
  6ba20ff0e0f4bb9f708918cc473901f928116b50  dmd-0.1.tar.gz

  [*] Use a .sig file to verify that the corresponding file (without the
  .sig suffix) is intact.  First, be sure to download both the .sig file
  and the corresponding tarball.  Then, run a command like this:

gpg --verify dmd-0.1.tar.gz.sig

  If that command fails because you don't have the required public key,
  then run this command to import it:

gpg --keyserver keys.gnupg.net --recv-keys EA52ECF4

  and rerun the 'gpg --verify' command.

  This release was bootstrapped with the following tools:
Autoconf 2.69
Automake 1.14
Makeinfo 5.2


• Changes since version -0.4 (excerpt from the NEWS file)

  ** A single socket is used for communication with dmd, with a new protocol.

  The new communication protocol between 'dmd' and 'deco' is simpler,
  versioned, and extensible.

  ** The default socket name is now independent of the calling user.
  ** The socket directory is now created under $(localstatedir).
  ** The 'dmd' service has new actions 'power-off' and 'halt'; 'stop' reboots

  When dmd is running as root, as is the case when it is used as a
  PID-one init system, these actions allow 'root' to cleanly reboot or
  halt the machine.

  ** New 'reboot' and 'halt' commands.
  ** 'dmd' only write to stdout when no client is connected.
  ** The configuration file is loaded in a fresh module.
  ** 'make-forkexec-constructor' closes all file descriptors after forking.
  ** License upgraded to GPL version 3 or later.
  ** Manual license upgraded to FDL version 1.3 or later.
  ** Many bug fixes, documentation improvements, etc.

Please report bugs to bug-g...@gnu.org.
Join guix-devel@gnu.org and gnu-system-disc...@gnu.org for discussions.

Ludovic.


pgpjgLsoX0eMD.pgp
Description: PGP signature


Re: Clean build from Git HEAD fails

2013-12-02 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis:

 On Mon, Dec 02, 2013 at 01:56:03PM +0100, Ludovic Court??s wrote:
  John Darrington j...@darrington.wattle.id.au skribis:
  
   /bin/mkdir -p `dirname guix/scripts/build.go` ;  
  \
   LC_ALL=C   
  \
   ./pre-inst-env  \
   /usr/bin/guild compile -L . -L .\
 -Wformat -Wunbound-variable -Warity-mismatch 
  \
 --target=i686-pc-linux-gnu 
  \
 -o guix/scripts/build.go guix/scripts/build.scm
  
  [...]
  
   In ice-9/psyntax.scm:
   1267: 7 [expand (make-session connection-end/client) (# # #) (# # #) 
 ...]
   1196: 6 [syntax-type (make-session connection-end/client) (# # #) (# # 
 #) ...]
582: 5 [syntax-type make-session (# # #) (# # #) ...]
292: 4 [get-global-definition-hook make-session (hygiene guix build 
 download)]
   In unknown file:
  ?: 3 [module-variable #directory (guix build download) a865870 
 make-session]
   In ice-9/boot-9.scm:
   2718: 2 [b #autoload (gnutls) a7786c0 make-session #f]
   In unknown file:
  ?: 1 [scm-error misc-error #f ...]
   In ice-9/boot-9.scm:
106: 0 [#procedure a19d440 at ice-9/boot-9.scm:97:6 (thrown-k . 
 args) misc-error ...]
  
  What does /usr/bin/guile -c '(use-modules (gnutls))' report on your
  system?

 Backtrace:

[...]

?: 0 [scm-error misc-error #f ~A ~S (no code for module (gnutls)) #f]

Does it work if you do:

  make clean-go  make guix/build/download.go  make

?

Thanks,
Ludo’.