branch master updated (6e32aa5 -> dc57d52)

2015-11-03 Thread Ludovic Court�s
civodul pushed a change to branch master
in repository guix.

  from  6e32aa5   gnu: tcpdump: Update to 4.7.4.
   new  dc57d52   gnu: guix: Update development snapshot.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/package-management.scm |   15 +--
 1 files changed, 13 insertions(+), 2 deletions(-)



branch master updated (dc57d52 -> ef54b61)

2015-11-03 Thread Ludovic Court�s
civodul pushed a change to branch master
in repository guix.

  from  dc57d52   gnu: guix: Update development snapshot.
   new  ef54b61   doc: './pre-inst-env guix pull' won't upgrade local 
source tree.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 doc/contributing.texi |5 +
 doc/guix.texi |4 +++-
 2 files changed, 8 insertions(+), 1 deletions(-)



01/01: doc: './pre-inst-env guix pull' won't upgrade local source tree.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit ef54b61dc6f67712c8a448b5fb17767b6b886ba4
Author: Alex Vong 
Date:   Mon Nov 2 23:34:16 2015 +0800

doc: './pre-inst-env guix pull' won't upgrade local source tree.

* doc/contributing.texi (Running Guix Before It Is Installed): Clarify
  './pre-inst-env guix pull' won't upgrade local source tree.
* doc/guix.texi (Invoking guix pull): Mention ~/.config/guix/latest.

Co-authored-by: Ludovic Courtès 
---
 doc/contributing.texi |5 +
 doc/guix.texi |4 +++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/doc/contributing.texi b/doc/contributing.texi
index f855daf..cdc3f6d 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -116,6 +116,11 @@ $1 = 361
 The @command{pre-inst-env} script sets up all the environment variables
 necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}.
 
+Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the
+local source tree; it simply updates the @file{~/.config/guix/latest}
+symlink (@pxref{Invoking guix pull}).  Run @command{git pull} instead if
+you want to upgrade your local source tree.
+
 
 @node The Perfect Setup
 @section The Perfect Setup
diff --git a/doc/guix.texi b/doc/guix.texi
index 3afa496..836a0b4 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1814,7 +1814,9 @@ On completion, @command{guix package} will use packages 
and package
 versions from this just-retrieved copy of Guix.  Not only that, but all
 the Guix commands and Scheme modules will also be taken from that latest
 version.  New @command{guix} sub-commands added by the update also
-become available.
+become available@footnote{Under the hood, @command{guix pull} updates
+the @file{~/.config/guix/latest} symbolic link to point to the latest
+Guix, and the @command{guix} command loads code from there.}.
 
 The @command{guix pull} command is usually invoked with no arguments,
 but it supports the following options:



01/01: gnu: guix: Update development snapshot.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit dc57d527aee4eb18ec5fb345f90d6637bbd1a4d2
Author: Ludovic Courtès 
Date:   Tue Nov 3 09:37:52 2015 +0100

gnu: guix: Update development snapshot.

* gnu/packages/package-management.scm (guix-0.8.3)[arguments]: In
  'disable-container-tests' phase, modify
  "tests/guix-environment-container.sh".  Add 'set-SHELL' phase.
* gnu/packages/package-management.scm (guix-devel): Update to b485f75.
---
 gnu/packages/package-management.scm |   15 +--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/package-management.scm 
b/gnu/packages/package-management.scm
index 65464f7..c1ef2e1 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -82,6 +82,7 @@
   (string-append "--with-libgcrypt-prefix="
  (assoc-ref %build-inputs
 "libgcrypt")))
+   #:parallel-tests? #f   ;work around 
#:phases (modify-phases %standard-phases
   (add-before
'configure 'copy-bootstrap-guile
@@ -117,7 +118,17 @@
  (substitute* "tests/containers.scm"
(("^\\(test-assert" all)
 (string-append "(test-skip 1)\n" all)))
+ (when (file-exists? "tests/guix-environment-container.sh")
+   (substitute* "tests/guix-environment-container.sh"
+ (("guix environment --version")
+  "exit 77\n")))
  #t))
+  (add-before 'check 'set-SHELL
+(lambda _
+  ;; 'guix environment' tests rely on 'SHELL' having a
+  ;; correct value, so set it.
+  (setenv "SHELL" (which "sh"))
+  #t))
   (add-after
'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
@@ -184,7 +195,7 @@ the Nix package manager.")
   ;;
   ;; Note: use a short commit id; when using the long one, the limit on socket
   ;; file names is exceeded while running the tests.
-  (let ((commit "abbe2c6"))
+  (let ((commit "b485f75"))
 (package (inherit guix-0.8.3)
   (version (string-append "0.8.3." commit))
   (source (origin
@@ -194,7 +205,7 @@ the Nix package manager.")
   (commit commit)))
 (sha256
  (base32
-  "1zgjj5knpz3qbbqdjm4yh436bzfgasc6p0k3xnx58hfjd88mdsga"))
+  "1frn74y5c3n91qxs5b3sxbr8ai43s6svlb2djfnp7nqbr1ax3mph"))
 (file-name (string-append "guix-" version "-checkout"
   (arguments
(substitute-keyword-arguments (package-arguments guix-0.8.3)



01/01: gnu: Add nestopia-ue.

2015-11-03 Thread Taylan Ulrich Bay?rl?/Kammer
taylanub pushed a commit to branch master
in repository guix.

commit 03d521f92e7ab2dec20c576d2fd9f391bd29d725
Author: Taylan Ulrich Bayırlı/Kammer 
Date:   Sun Nov 1 19:38:53 2015 +0100

gnu: Add nestopia-ue.

* gnu/packages/games.scm (nestopia-ue): New variable.
---
 gnu/packages/games.scm |   60 
 1 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 546944a..9c57a88 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -38,6 +38,7 @@
   #:use-module (guix svn-download)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages backup)
   #:use-module (gnu packages base)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages audio)
@@ -1212,3 +1213,62 @@ world}, @uref{http://evolonline.org, Evol Online} and
 ;; "data/themes/{golden-delicious,jewelry}/*" are under CC-BY-SA.
 ;; The rest is under GPL2+.
 (license (list license:gpl2+ license:zlib license:cc-by-sa4.0
+
+(define-public nestopia-ue
+  (package
+(name "nestopia-ue")
+(version "1.46.2")
+(source (origin
+  (method url-fetch)
+  (uri (string-append
+"https://github.com/rdanbrook/nestopia/archive/;
+version ".tar.gz"))
+  (file-name (string-append name "-" version ".tar.gz"))
+  (sha256
+   (base32
+"07h49xwvg61dx20rk5p4r3ax2ar5y0ppvm60cqwqljyi9rdfbh7p"))
+  (modules '((guix build utils)))
+  ;; We don't need libretro for the GNU/Linux build.
+  (snippet
+   '(delete-file-recursively "libretro"
+(build-system gnu-build-system)
+(native-inputs
+ `(("pkg-config" ,pkg-config)))
+(inputs
+ `(("ao" ,ao)
+   ("glu" ,glu)
+   ("gtk+" ,gtk+)
+   ("libarchive" ,libarchive)
+   ("mesa" ,mesa)
+   ("sdl2" ,sdl2)))
+(arguments
+ '(#:phases
+   (modify-phases %standard-phases
+ ;; The Nestopia build system consists solely of a Makefile.
+ (delete 'configure)
+ ;; XXX Should be unnecessary with the next release.
+ (add-before
+  'build 'patch-makefile
+  (lambda _
+(substitute* "Makefile"
+  (("@mkdir \\$@") "@mkdir -p $@")
+  (("CC =") "CC ?=")
+  (("CXX =") "CXX ?=")
+  (("PREFIX =") "PREFIX ?=")
+  (("^install:\n$") "install:\n\tmkdir -p $(BINDIR)\n"
+ (add-before
+  'build 'remove-xdg-desktop-menu-call
+  (lambda _
+(substitute* "Makefile"
+  (("xdg-desktop-menu install .*") "")
+   #:make-flags (let ((out (assoc-ref %outputs "out")))
+  (list "CC=gcc" "CXX=g++" (string-append "PREFIX=" out)))
+   ;; There are no tests.
+   #:tests? #f))
+(home-page "http://0ldsk00l.ca/nestopia/;)
+(synopsis "Nintendo Entertainment System (NES/Famicom) emulator")
+(description
+ "Nestopia UE (Undead Edition) is a fork of the Nintendo Entertainment
+System (NES/Famicom) emulator Nestopia, with enhancements from members of the
+emulation community.  It provides highly accurate emulation.")
+(license license:gpl2+)))



branch master updated (ef54b61 -> 03d521f)

2015-11-03 Thread Taylan Ulrich Bay?rl?/Kammer
taylanub pushed a change to branch master
in repository guix.

  from  ef54b61   doc: './pre-inst-env guix pull' won't upgrade local 
source tree.
   new  03d521f   gnu: Add nestopia-ue.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/games.scm |   60 
 1 files changed, 60 insertions(+), 0 deletions(-)



01/01: doc: Linux-libre 3.19 is needed for using containers.

2015-11-03 Thread David Thompson
davexunit pushed a commit to branch master
in repository guix.

commit cfd35b4e23ed4b8e31401a9e88a0ce521babf65d
Author: David Thompson 
Date:   Tue Nov 3 08:14:57 2015 -0500

doc: Linux-libre 3.19 is needed for using containers.

* doc/guix.texi ("invoking guix environment", "invoking guix system"):
  3.10 is actually too old without backported patches, so change to 3.19.
---
 doc/guix.texi |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 836a0b4..2ec25b2 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4730,7 +4730,7 @@ guix environment --ad-hoc --container guile -- guile
 @end example
 
 @quotation Note
-The @code{--container} option requires Linux-libre 3.10 or newer.
+The @code{--container} option requires Linux-libre 3.19 or newer.
 @end quotation
 
 The available options are summarized below.
@@ -7441,7 +7441,7 @@ guix system container my-config.scm \
 @end example
 
 @quotation Note
-This option requires Linux-libre 3.10 or newer.
+This option requires Linux-libre 3.19 or newer.
 @end quotation
 
 @end table



branch master updated (03d521f -> cfd35b4)

2015-11-03 Thread David Thompson
davexunit pushed a change to branch master
in repository guix.

  from  03d521f   gnu: Add nestopia-ue.
   new  cfd35b4   doc: Linux-libre 3.19 is needed for using containers.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 doc/guix.texi |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)



branch master updated (c869eed -> 9ff7827)

2015-11-03 Thread Taylan Ulrich Bay?rl?/Kammer
taylanub pushed a change to branch master
in repository guix.

  from  c869eed   gnu: gst-libav: Update to 1.6.1.
   new  9ff7827   gnu: nestopia-ue: Use system zlib.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/games.scm |   12 +---
 1 files changed, 9 insertions(+), 3 deletions(-)



01/01: gnu: nestopia-ue: Use system zlib.

2015-11-03 Thread Taylan Ulrich Bay?rl?/Kammer
taylanub pushed a commit to branch master
in repository guix.

commit 9ff7827a21c13e67fb72196da10ab1ad30d79ddf
Author: Taylan Ulrich Bayırlı/Kammer 
Date:   Tue Nov 3 16:22:56 2015 +0100

gnu: nestopia-ue: Use system zlib.

* gnu/packages/games.scm (nestopia-ue): Remove bundled zlib, patch files
  to include system zlib.h, and add zlib as input.
---
 gnu/packages/games.scm |   12 +---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 9c57a88..f522db3 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1228,9 +1228,14 @@ world}, @uref{http://evolonline.org, Evol Online} and
(base32
 "07h49xwvg61dx20rk5p4r3ax2ar5y0ppvm60cqwqljyi9rdfbh7p"))
   (modules '((guix build utils)))
-  ;; We don't need libretro for the GNU/Linux build.
   (snippet
-   '(delete-file-recursively "libretro"
+   '(begin
+  ;; We don't need libretro for the GNU/Linux build.
+  (delete-file-recursively "libretro")
+  ;; Use system zlib.
+  (delete-file-recursively "source/zlib")
+  (substitute* "source/core/NstZlib.cpp"
+(("#include \"../zlib/zlib.h\"") "#include "))
 (build-system gnu-build-system)
 (native-inputs
  `(("pkg-config" ,pkg-config)))
@@ -1240,7 +1245,8 @@ world}, @uref{http://evolonline.org, Evol Online} and
("gtk+" ,gtk+)
("libarchive" ,libarchive)
("mesa" ,mesa)
-   ("sdl2" ,sdl2)))
+   ("sdl2" ,sdl2)
+   ("zlib" ,zlib)))
 (arguments
  '(#:phases
(modify-phases %standard-phases



branch master updated (00bfa7e -> 6e82863)

2015-11-03 Thread Ludovic Court�s
civodul pushed a change to branch master
in repository guix.

  from  00bfa7e   scripts: environment: Display friendly container error 
messages.
   new  1c52181   services: Add 'guix-publish-service'.
   new  6e82863   system: Rename (gnu system linux) to (gnu system pam).

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 doc/guix.texi |   16 +
 gnu-system.am |2 +-
 gnu.scm   |2 +-
 gnu/services/base.scm |   63 -
 gnu/services/desktop.scm  |2 +-
 gnu/services/networking.scm   |2 +-
 gnu/services/ssh.scm  |2 +-
 gnu/services/xorg.scm |2 +-
 gnu/system.scm|2 +-
 gnu/system/{linux.scm => pam.scm} |5 +--
 gnu/system/vm.scm |2 +-
 11 files changed, 88 insertions(+), 12 deletions(-)
 rename gnu/system/{linux.scm => pam.scm} (98%)



01/02: services: Add 'guix-publish-service'.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit 1c52181f33ec6c2b91f1361f7251769dd29c6ef2
Author: Ludovic Courtès 
Date:   Tue Nov 3 17:23:10 2015 +0100

services: Add 'guix-publish-service'.

* gnu/services/base.scm (): New record
  type.
  (guix-publish-dmd-service): New procedure.
  (%guix-publish-accounts, guix-publish-service-type): New variables.
  (guix-publish-service): New procedure.
* doc/guix.texi (Invoking guix publish): Add xref to
  'guix-publish-service' anchor.
  (Base Services): Document 'guix-publish-service'.
---
 doc/guix.texi |   16 +
 gnu/services/base.scm |   61 +
 2 files changed, 77 insertions(+), 0 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 2ec25b2..996192c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4918,6 +4918,11 @@ Reference Manual}) on @var{port} (37146 by default).  
This is used
 primarily for debugging a running @command{guix publish} server.
 @end table
 
+Enabling @command{guix publish} on a GuixSD system is a one-liner: just
+add a call to @code{guix-publish-service} in the @code{services} field
+of the @code{operating-system} declaration (@pxref{guix-publish-service,
+@code{guix-publish-service}}).
+
 
 @node Invoking guix challenge
 @section Invoking @command{guix challenge}
@@ -6428,6 +6433,17 @@ Return a service to load console keymap from @var{file} 
using
 @command{loadkeys} command.
 @end deffn
 
+@anchor{guix-publish-service}
+@deffn {Scheme Procedure} guix-publish-service [#:guix @var{guix}] @
+   [#:port 80] [#:host "localhost"]
+Return a service that runs @command{guix publish} listening on @var{host}
+and @var{port} (@pxref{Invoking guix publish}).
+
+This assumes that @file{/etc/guix} already contains a signing key pair as
+created by @command{guix archive --generate-key} (@pxref{Invoking guix
+archive}).  If that is not the case, the service will fail to start.
+@end deffn
+
 
 @node Networking Services
 @subsubsection Networking Services
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 604416b..9d49556 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -76,6 +76,10 @@
 guix-configuration?
 guix-service
 guix-service-type
+guix-publish-configuration
+guix-publish-configuration?
+guix-publish-service
+guix-publish-service-type
 
 %base-services))
 
@@ -705,6 +709,11 @@ If configuration file name @var{config-file} is not 
specified, use some
 reasonable default settings."
   (service syslog-service-type config-file))
 
+
+;;;
+;;; Guix services.
+;;;
+
 (define* (guix-build-accounts count #:key
   (group "guixbuild")
   (first-uid 30001)
@@ -842,6 +851,58 @@ failed to register hydra.gnu.org public key: ~a~%" 
status
 @var{config}."
   (service guix-service-type config))
 
+
+(define-record-type* 
+  guix-publish-configuration make-guix-publish-configuration
+  guix-publish-configuration?
+  (guixguix-publish-configuration-guix;package
+   (default guix))
+  (portguix-publish-configuration-port;number
+   (default 80))
+  (hostguix-publish-configuration-host;string
+   (default "localhost")))
+
+(define guix-publish-dmd-service
+  (match-lambda
+(($  guix port host)
+ (list (dmd-service
+(provision '(guix-publish))
+(requirement '(guix-daemon))
+(start #~(make-forkexec-constructor
+  (list (string-append #$guix "/bin/guix")
+"publish" "-u" "guix-publish"
+"-p" #$(number->string port)
+(string-append "--listen=" #$host
+(stop #~(make-kill-destructor)))
+
+(define %guix-publish-accounts
+  (list (user-group (name "guix-publish") (system? #t))
+(user-account
+ (name "guix-publish")
+ (group "guix-publish")
+ (system? #t)
+ (comment "guix publish user")
+ (home-directory "/var/empty")
+ (shell #~(string-append #$shadow "/sbin/nologin")
+
+(define guix-publish-service-type
+  (service-type (name 'guix-publish)
+(extensions
+ (list (service-extension dmd-root-service-type
+  guix-publish-dmd-service)
+   (service-extension account-service-type
+  (const %guix-publish-accounts))
+
+(define* (guix-publish-service #:key (guix guix) (port 80) (host "localhost"))
+  "Return a service that runs @command{guix publish} listening on @var{host}
+and @var{port} (@pxref{Invoking guix publish}).
+
+This assumes that @file{/etc/guix} already contains a signing key pair as
+created by @command{guix 

02/02: system: Rename (gnu system linux) to (gnu system pam).

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit 6e82863463c641571e852291481e2b64401c2fe2
Author: Ludovic Courtès 
Date:   Tue Nov 3 18:08:47 2015 +0100

system: Rename (gnu system linux) to (gnu system pam).

* gnu/system/linux.scm: Rename to...
* gnu/system/pam.scm: ... this.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu.scm, gnu/services/base.scm, gnu/services/desktop.scm,
  gnu/services/networking.scm, gnu/services/ssh.scm,
  gnu/services/xorg.scm, gnu/system.scm, gnu/system/vm.scm: Likewise.
---
 gnu-system.am |2 +-
 gnu.scm   |2 +-
 gnu/services/base.scm |2 +-
 gnu/services/desktop.scm  |2 +-
 gnu/services/networking.scm   |2 +-
 gnu/services/ssh.scm  |2 +-
 gnu/services/xorg.scm |2 +-
 gnu/system.scm|2 +-
 gnu/system/{linux.scm => pam.scm} |5 ++---
 gnu/system/vm.scm |2 +-
 10 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu-system.am b/gnu-system.am
index 36e7b6e..c5b87cc 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -359,11 +359,11 @@ GNU_SYSTEM_MODULES =  \
   gnu/system/file-systems.scm  \
   gnu/system/grub.scm  \
   gnu/system/install.scm   \
-  gnu/system/linux.scm \
   gnu/system/linux-container.scm   \
   gnu/system/linux-initrd.scm  \
   gnu/system/locale.scm\
   gnu/system/nss.scm   \
+  gnu/system/pam.scm   \
   gnu/system/shadow.scm\
   gnu/system/vm.scm\
\
diff --git a/gnu.scm b/gnu.scm
index e3147b3..f9a1324 100644
--- a/gnu.scm
+++ b/gnu.scm
@@ -34,7 +34,7 @@
   '((gnu system)
 (gnu system file-systems)
 (gnu system grub) ; 'grub-configuration'
-(gnu system linux); 'base-pam-services'
+(gnu system pam)
 (gnu system shadow)   ; 'user-account'
 (gnu system linux-initrd)
 (gnu system nss)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 9d49556..6165410 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -23,8 +23,8 @@
   #:use-module (gnu services)
   #:use-module (gnu services dmd)
   #:use-module (gnu services networking)
+  #:use-module (gnu system pam)
   #:use-module (gnu system shadow); 'user-account', etc.
-  #:use-module (gnu system linux) ; 'pam-service', etc.
   #:use-module (gnu system file-systems)  ; 'file-system', etc.
   #:use-module (gnu packages admin)
   #:use-module ((gnu packages linux)
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 1986764..0b4ed56 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -27,7 +27,7 @@
   #:use-module (gnu services xorg)
   #:use-module (gnu services networking)
   #:use-module (gnu system shadow)
-  #:use-module (gnu system linux) ; unix-pam-service
+  #:use-module (gnu system pam)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages freedesktop)
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 8f67976..a097144 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -22,7 +22,7 @@
   #:use-module (gnu services dmd)
   #:use-module (gnu services dbus)
   #:use-module (gnu system shadow)
-  #:use-module (gnu system linux) ;PAM
+  #:use-module (gnu system pam)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages tor)
diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm
index d3a6cfb..18556d2 100644
--- a/gnu/services/ssh.scm
+++ b/gnu/services/ssh.scm
@@ -21,7 +21,7 @@
   #:use-module (guix records)
   #:use-module (gnu services)
   #:use-module (gnu services dmd)
-  #:use-module (gnu system linux) ; 'pam-service'
+  #:use-module (gnu system pam)
   #:use-module (gnu packages lsh)
   #:export (lsh-service))
 
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index f4bc824..dc2625d 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -21,7 +21,7 @@
   #:use-module (gnu artwork)
   #:use-module (gnu services)
   #:use-module (gnu services dmd)
-  #:use-module (gnu system linux) ; 'pam-service'
+  #:use-module (gnu system pam)
   #:use-module ((gnu packages base) #:select (canonical-package))
   #:use-module (gnu packages guile)
   #:use-module (gnu packages xorg)
diff --git a/gnu/system.scm b/gnu/system.scm
index 85a596d..be6b1ac 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -50,7 

07/08: import: pypi: Make downloads silent.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit 32728adb958560268b793b4a3e48d94111b5ed2d
Author: Ludovic Courtès 
Date:   Wed Nov 4 00:08:30 2015 +0100

import: pypi: Make downloads silent.

* guix/import/pypi.scm (pypi-fetch): Wrap body in
  'call-with-output-file' and 'with-error-to-port'.
---
 guix/import/pypi.scm |9 -
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index f58efd9..7ca0cc9 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -45,7 +45,14 @@
 (define (pypi-fetch name)
   "Return an alist representation of the PyPI metadata for the package NAME,
 or #f on failure."
-  (json-fetch (string-append "https://pypi.python.org/pypi/; name "/json")))
+  ;; XXX: We want to silence the download progress report, which is especially
+  ;; annoying for 'guix refresh', but we have to use a file port.
+  (call-with-output-file "/dev/null"
+(lambda (null)
+  (with-error-to-port null
+(lambda ()
+  (json-fetch (string-append "https://pypi.python.org/pypi/;
+ name "/json")))
 
 (define (latest-source-release pypi-package)
   "Return the latest source release for PYPI-PACKAGE."



branch master updated (465b61f -> bab020d)

2015-11-03 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  465b61f   gnu: Add python-tempest-lib.
   new  bab020d   import: pypi: add updater

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 doc/guix.texi|2 +
 guix/import/pypi.scm |   50 +-
 guix/scripts/refresh.scm |4 ++-
 3 files changed, 54 insertions(+), 2 deletions(-)



01/01: import: pypi: add updater

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit bab020d7ca50e4153cf24832d119389a37fa8f63
Author: Cyril Roelandt 
Date:   Tue Nov 3 22:38:49 2015 +0100

import: pypi: add updater

* guix/import/pypi.scm (guix-package->pypi-name,
  latest-release): New procedures.
  (%pypi-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %PYPI-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention PyPI
---
 doc/guix.texi|2 +
 guix/import/pypi.scm |   50 +-
 guix/scripts/refresh.scm |4 ++-
 3 files changed, 54 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 996192c..23f9c3c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4291,6 +4291,8 @@ the updater for GNU packages;
 the updater for @uref{http://elpa.gnu.org/, ELPA} packages;
 @item cran
 the updater fro @uref{http://cran.r-project.org/, CRAN} packages.
+@item pypi
+the updater fro @uref{https://pypi.python.org, PyPI} packages.
 @end table
 
 For instance, the following commands only checks for updates of Emacs
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 647ef61..f1988a7 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -30,12 +30,16 @@
   #:use-module (guix ui)
   #:use-module (guix utils)
   #:use-module (guix import utils)
+  #:use-module ((guix download) #:prefix download:)
   #:use-module (guix import json)
   #:use-module (guix packages)
+  #:use-module (guix upstream)
   #:use-module (guix licenses)
   #:use-module (guix build-system python)
+  #:use-module (gnu packages)
   #:use-module (gnu packages python)
-  #:export (pypi->guix-package))
+  #:export (pypi->guix-package
+%pypi-updater))
 
 (define (pypi-fetch name)
   "Return an alist representation of the PyPI metadata for the package NAME,
@@ -60,6 +64,16 @@ package."
   (snake-case name)
   (string-append "python-" (snake-case name
 
+(define (guix-package->pypi-name package)
+  "Given a Python PACKAGE built from pypi.python.org, return the name of the
+package on PyPI."
+  (let ((source-url (and=> (package-source package) origin-uri)))
+;; The URL has the form:
+;; 'https://pypi.python.org/packages/source/' +
+;; first letter of the package name +
+;; '/' + package name + '/' + ...
+(substring source-url 42 (string-rindex source-url #\/
+
 (define (maybe-inputs package-inputs)
   "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' field of a
 package definition."
@@ -190,3 +204,37 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and 
LICENSE."
(license (string->license (assoc-ref* package "info" 
"license"
(make-pypi-sexp name version release home-page synopsis
description license)
+
+(define (pypi-package? package)
+  "Return true if PACKAGE is a Python package from PyPI."
+
+  (define (pypi-url? url)
+(string-prefix? "https://pypi.python.org/; url))
+
+  (let ((source-url (and=> (package-source package) origin-uri))
+(fetch-method (and=> (package-source package) origin-method)))
+(and (eq? fetch-method download:url-fetch)
+ (match source-url
+   ((? string?)
+(pypi-url? source-url))
+   ((source-url ...)
+(any pypi-url? source-url))
+
+(define (latest-release guix-package)
+  "Return an  for the latest release of GUIX-PACKAGE."
+  (let* ((pypi-name (guix-package->pypi-name
+ (specification->package guix-package)))
+ (metadata (pypi-fetch pypi-name))
+ (version (assoc-ref* metadata "info" "version"))
+ (url (assoc-ref (latest-source-release metadata) "url")))
+(upstream-source
+ (package guix-package)
+ (version version)
+ (urls (list url)
+
+(define %pypi-updater
+  (upstream-updater
+   (name 'pypi)
+   (description "Updater for PyPI packages")
+   (pred pypi-package?)
+   (latest latest-release)))
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 0df4121..3984a0b 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -30,6 +30,7 @@
   #:use-module ((guix gnu-maintenance) #:select (%gnu-updater))
   #:use-module (guix import elpa)
   #:use-module (guix import cran)
+  #:use-module (guix import pypi)
   #:use-module (guix gnupg)
   #:use-module (gnu packages)
   #:use-module ((gnu packages commencement) #:select (%final-inputs))
@@ -152,7 +153,8 @@ specified with `--select'.\n"))
   ;; List of "updaters" used by default.  They are consulted in this order.
   (list %gnu-updater
 %elpa-updater
-%cran-updater))
+%cran-updater
+%pypi-updater))
 
 (define (lookup-updater name)
   "Return the updater called NAME."



01/01: scripts: container: Fix 'exec' command line parsing.

2015-11-03 Thread David Thompson
davexunit pushed a commit to branch master
in repository guix.

commit d431b232403fbf4d41617ba29664dcd3fff23f96
Author: David Thompson 
Date:   Tue Nov 3 18:05:43 2015 -0500

scripts: container: Fix 'exec' command line parsing.

* guix/scripts/container/exec.scm (partition-args): Reimplement such
  that all args up to and including the PID are returned as the first of
  the two values.
---
 guix/scripts/container/exec.scm |   16 
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/guix/scripts/container/exec.scm b/guix/scripts/container/exec.scm
index b842fd3..10e7056 100644
--- a/guix/scripts/container/exec.scm
+++ b/guix/scripts/container/exec.scm
@@ -50,10 +50,18 @@ Execute COMMMAND within the container process PID.\n"))
 (define (partition-args args)
   "Split ARGS into two lists; one containing the arguments for this program,
 and the other containing arguments for the command to be executed."
-  (break (lambda (arg)
-   ;; Split after the pid argument.
-   (not (false-if-exception (string->number arg
- args))
+  (define (number-string? str)
+(false-if-exception (string->number str)))
+
+  (let loop ((a '())
+ (b args))
+(match b
+  (()
+   (values (reverse a) '()))
+  (((? number-string? head) . tail)
+   (values (reverse (cons head a)) tail))
+  ((head . tail)
+   (loop (cons head a) tail)
 
 (define (guix-container-exec . args)
   (define (handle-argument arg result)



branch master updated (bab020d -> d431b23)

2015-11-03 Thread David Thompson
davexunit pushed a change to branch master
in repository guix.

  from  bab020d   import: pypi: add updater
   new  d431b23   scripts: container: Fix 'exec' command line parsing.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 guix/scripts/container/exec.scm |   16 
 1 files changed, 12 insertions(+), 4 deletions(-)



02/08: gnu: cmake: Download over HTTPS.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit 4ebdefc07a852842b5c9ff816bd8ed73ea7c9775
Author: Ludovic Courtès 
Date:   Tue Nov 3 22:39:18 2015 +0100

gnu: cmake: Download over HTTPS.

Reported by Gxsdnewb on #guix.

* gnu/packages/cmake.scm (cmake)[source]: Use 'https' URL.
---
 gnu/packages/cmake.scm |   10 +-
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 9b8ebde..a58284b 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -39,12 +39,12 @@
 (version "3.3.2")
 (source (origin
  (method url-fetch)
- (uri (string-append
-   "http://www.cmake.org/files/v;
-   (version-major+minor version)
-   "/cmake-" version ".tar.gz"))
+ (uri (string-append "https://www.cmake.org/files/v;
+ (version-major+minor version)
+ "/cmake-" version ".tar.gz"))
  (sha256
-  (base32 "08pwy9ip9cgwgynhn5vrjw8drw29gijy1rmziq22n65zds6ifnp7"))
+  (base32
+   "08pwy9ip9cgwgynhn5vrjw8drw29gijy1rmziq22n65zds6ifnp7"))
  (patches (list (search-patch "cmake-fix-tests.patch")
 (build-system gnu-build-system)
 (arguments



branch master updated (d431b23 -> f856fcb)

2015-11-03 Thread Ludovic Court�s
civodul pushed a change to branch master
in repository guix.

  from  d431b23   scripts: container: Fix 'exec' command line parsing.
   new  b18812b   doc: Explain that 'guix publish' relies on the key pair.
   new  4ebdefc   gnu: cmake: Download over HTTPS.
   new  f194445   Update NEWS.
   new  3931607   gnu: guile-ncurses: Mask test failure with ncurses 6.0.
   new  b9d044e   doc: Fix typos.
   new  d1cb7e9   import: pypi: Add missing copyright line.
   new  32728ad   import: pypi: Make downloads silent.
   new  f856fcb   build-system/python: 'package-with-python2' preserves 
source location.

The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 NEWS |   73 ++
 doc/guix.texi|8 +++-
 gnu/packages/cmake.scm   |   10 +++---
 gnu/packages/guile.scm   |4 ++
 guix/build-system/python.scm |1 +
 guix/import/pypi.scm |   10 +-
 6 files changed, 98 insertions(+), 8 deletions(-)



06/08: import: pypi: Add missing copyright line.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit d1cb7e9562a1b645fcd374067b4f98577fea3723
Author: Ludovic Courtès 
Date:   Tue Nov 3 23:54:06 2015 +0100

import: pypi: Add missing copyright line.

* guix/import/pypi.scm: Add missing copyright line for bab020d.
---
 guix/import/pypi.scm |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index f1988a7..f58efd9 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014 David Thompson 
+;;; Copyright © 2015 Cyril Roelandt 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;



03/08: Update NEWS.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit f194445a65d8f2798c23528d4be8e8ed06f34d79
Author: Ludovic Courtès 
Date:   Tue Nov 3 23:23:29 2015 +0100

Update NEWS.
---
 NEWS |   73 ++
 1 files changed, 73 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index e33e2ac..5b884e3 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,79 @@ Copyright © 2013, 2014, 2015 Ludovic Courtès 
 
 Please send Guix bug reports to bug-g...@gnu.org.
 
+* Changes in 0.9.0 (since 0.8.3)
+
+** Package management
+
+*** New ‘guix graph’ command, to draw package graphs
+*** New ‘guix challenge’ command, to challenge the authenticity of binaries
+*** ‘guix environment’ has a new ‘--container’ option
+*** ‘guix substitute’ now honors all the specified substitute URLs
+*** New ‘guix import cran’ command, to import R packages from CRAN
+*** Package descriptions can now include Texinfo markup rendered on the fly
+*** ‘guix package’ has a new ‘--install-from-file’ option
+*** ‘guix package --search’ shows package outputs
+*** ‘guix refresh’ can refresh selected non-GNU package definitions
+*** The ‘--ad-hoc’ option of ‘guix environment’ is now positional
+*** The ‘--exec’ option of ‘guix environment’ is deprecated; use ‘--’ instead
+*** ‘guix build’ has a new ‘--file’ option
+*** ‘guix build --log-file’ can now return URLs
+*** ‘guix size’ now has a ‘--substitute-urls’ option and is much faster
+*** New ‘guix lint’ checkers: ‘formatting’, ‘license’, ‘source-file-name’
+*** Download progress report has been improved
+*** Emacs shell-mode completions for ‘guix’ commands updated
+*** Emacs: New ‘M-x guix’ popup interface
+
+** Distribution
+
+*** New extensible service composition API
+
+The operating system service API in (gnu services) has been completely
+rewritten, significantly improving extensibility and modularity, while
+providing a framework that makes it easy to reason about service composition.
+Consequently, several sources of redundancy and confusion in
+‘operating-system’ declarations have been eliminated.  See “Service
+Composition” in the manual.
+
+*** New ‘extension-graph’ and ‘dmd-graph’ sub-commands for ‘guix system’
+*** New ‘container’ sub-command for ‘guix system’
+*** New ‘guix container’ command, to deal with GuixSD containers
+*** New ‘list-generations’ sub-command for ‘guix system’
+*** ‘operating-system’ has a new ‘locale-libcs’ field
+*** New services: ‘nginx-service’, ‘udisks-service’, ‘guix-publish-service’
+*** ‘dbus-daemon’ now has proper support for lazy service activation
+*** ‘wicd-service’ automatically adds Wicd to the system profile
+*** ‘slim-service’ automatically adds xterm to the system profile
+*** hydra.gnu.org now provides substitutes for ‘armhf-linux’
+*** /run/systemd is mounted as tmpfs by default, for use by elogind
+*** ‘glibc’ package no longer contains Bash in its bin/ directory
+*** libc now looks for locale data in a versioned sub-directory
+*** libc honors the new ‘GUIX_LOCPATH’ environment variable
+*** Xfce now defaults to the GNOME icon theme
+
+** Programming interfaces
+
+*** Rewritten (gnu services) module; (gnu services …) modules adjusted
+*** New Emacs development tools, see “Development” in the manual
+*** (guix gexp) provides the declarative ‘computed-file’, ‘program-file’, etc.
+*** New (guix upstream) module, for generalized upstream release tracking
+
+** Noteworthy bug fixes
+
+*** Passwords in /etc/shadow are SHA512-hashed (http://bugs.gnu.org/21318)
+*** daemon: Require a signature for imports made by root
+(http://bugs.gnu.org/21354)
+*** emacs: Fix guix-guile-program default value (http://bugs.gnu.org/21127)
+*** Compressed initrds no longer include timestamps
+*** Fix handling of encrypted root partitions (http://bugs.gnu.org/19190)
+*** Python now includes tkinter (http://bugs.gnu.org/20889)
+*** Memoize the results of ‘package-with-python2’ (http://bugs.gnu.org/21675)
+*** Use the daemon's substitute URLs by default (http://bugs.gnu.org/20217)
+
+** Native language support
+
+*** Updated translations: da
+
 * Changes in 0.8.3 (since 0.8.2)
 
 ** Package management



05/08: doc: Fix typos.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit b9d044ef7fd5c011c5b2591c7e76850ddb089cfe
Author: Ludovic Courtès 
Date:   Tue Nov 3 23:50:27 2015 +0100

doc: Fix typos.

* doc/guix.texi (Invoking guix refresh): Fix typos.
---
 doc/guix.texi |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 73913ee..7898a1d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4290,9 +4290,9 @@ the updater for GNU packages;
 @item elpa
 the updater for @uref{http://elpa.gnu.org/, ELPA} packages;
 @item cran
-the updater fro @uref{http://cran.r-project.org/, CRAN} packages.
+the updater for @uref{http://cran.r-project.org/, CRAN} packages;
 @item pypi
-the updater fro @uref{https://pypi.python.org, PyPI} packages.
+the updater for @uref{https://pypi.python.org, PyPI} packages.
 @end table
 
 For instance, the following commands only checks for updates of Emacs



01/08: doc: Explain that 'guix publish' relies on the key pair.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit b18812b6a42f822ea5ec25639b42335ffe458a0f
Author: Ludovic Courtès 
Date:   Tue Nov 3 22:37:07 2015 +0100

doc: Explain that 'guix publish' relies on the key pair.

* doc/guix.texi (Invoking guix publish): Mention 'guix archive
  --generate-key'.
---
 doc/guix.texi |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 23f9c3c..73913ee 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4877,6 +4877,10 @@ their authenticity and integrity (@pxref{Substitutes}).  
Because
 readable by the system administrator, it must be started as root; the
 @code{--user} option makes it drop root privileges early on.
 
+The signing key pair must be generated before @command{guix publish} is
+launched, using @command{guix archive --generate-key} (@pxref{Invoking
+guix archive}).
+
 The general syntax is:
 
 @example



04/08: gnu: guile-ncurses: Mask test failure with ncurses 6.0.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit 3931607e4b215ff8e24d910575c5e80e9e0a38eb
Author: Ludovic Courtès 
Date:   Tue Nov 3 23:29:24 2015 +0100

gnu: guile-ncurses: Mask test failure with ncurses 6.0.

Fixes .

* gnu/packages/guile.scm (guile-ncurses)[arguments]: Add #:make-flags.
---
 gnu/packages/guile.scm |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index ac9e9c7..9698f2b 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -296,6 +296,10 @@ many readers as needed).")
(string-append "--with-guilesitedir="
   (assoc-ref %outputs "out")
   "/share/guile/site/2.0"))
+
+   ;; Work around .
+   #:make-flags '("XFAIL_TESTS=curses_034_util.test")
+
#:phases (alist-cons-after
  'install 'post-install
  (lambda* (#:key outputs #:allow-other-keys)



08/08: build-system/python: 'package-with-python2' preserves source location.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit f856fcb558eb59f9bb0d4b0651bd7508370321f4
Author: Ludovic Courtès 
Date:   Wed Nov 4 00:09:49 2015 +0100

build-system/python: 'package-with-python2' preserves source location.

* guix/build-system/python.scm (package-with-explicit-python): Add
  'location' field.
---
 guix/build-system/python.scm |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index 1a5d9df..2532210 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -92,6 +92,7 @@ NEW-PREFIX; otherwise, NEW-PREFIX is prepended to the name."
  (if (eq? (package-build-system p) python-build-system)
  (package
(inherit p)
+   (location (package-location p))
(name (let ((name (package-name p)))
(string-append new-prefix
   (if (string-prefix? old-prefix name)



01/02: gnu: Add libesmtp.

2015-11-03 Thread Andy Wingo
wingo pushed a commit to branch master
in repository guix.

commit f5dceecb0ce704491237bd6ad4a121088b0f47c1
Author: Andy Wingo 
Date:   Tue Nov 3 15:46:33 2015 +0100

gnu: Add libesmtp.

* gnu/packages/mail.scm (libesmtp): New public variable.
---
 gnu/packages/mail.scm |   24 
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 1e3ba8f..3ba956e 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -939,4 +939,28 @@ Email::Send library.")
 format and headers.")
 (license (package-license perl
 
+(define-public libesmtp
+  (package
+(name "libesmtp")
+(version "1.0.6")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "http://www.stafford.uklinux.net/libesmtp/libesmtp-;
+   version ".tar.bz2"))
+   (sha256
+(base32
+ "02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh"
+(build-system gnu-build-system)
+(propagated-inputs
+ `(("openssl" ,openssl)))
+(home-page "http://www.stafford.uklinux.net/libesmtp/;)
+(synopsis "Library for sending mail via remote hosts using SMTP")
+(description "libESMTP is an SMTP client which manages posting (or
+submission of) electronic mail via a preconfigured Mail Transport Agent (MTA).
+It may be used as part of a Mail User Agent (MUA) or other program that must
+be able to post electronic mail where mail functionality may not be that
+program's primary purpose.")
+(license (list lgpl2.1+ gpl2+
+
 ;;; mail.scm ends here



03/12: gnu: Update python-requests.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit cbaa6a1e41178fa96c6911eb503e6ae1cc191eac
Author: Cyril Roelandt 
Date:   Sun Oct 11 05:16:28 2015 +0200

gnu: Update python-requests.

* gnu/packages/python.scm (python-requests, python2-requests): Bump to 
2.8.0.
---
 gnu/packages/python.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1055c6f..70b297d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2073,7 +2073,7 @@ with sensible defaults out of the box.")
 (define-public python-requests
   (package
 (name "python-requests")
-(version "2.4.0")
+(version "2.8.0")
 (source (origin
  (method url-fetch)
  (uri
@@ -2082,7 +2082,7 @@ with sensible defaults out of the box.")
version ".tar.gz"))
  (sha256
   (base32
-   "0gknlfx1wakrrm1zi8gi03x2lzj4dsns0vjw0nsmgqvkphyf01vh"
+   "0yrvj8hfnabrdxds59w6d6887sn5j0jlgpmcq04lk4k0kdc07w5j"
 (build-system python-build-system)
 (inputs
  `(("python-setuptools" ,python-setuptools)



branch master updated (f8ae32a -> 465b61f)

2015-11-03 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  f8ae32a   gnu: Add esmtp.
   new  3009334   guix: Add a "pypi-uri" helper method.
   new  d8bdd38   import: pypi: Use "pypi-uri" instead of building the URL 
manually.
   new  cbaa6a1   gnu: Update python-requests.
   new  7477fbb   gnu: Add python-mccabe 0.2.1
   new  abf21ef   gnu: Add python-flake8-2.2.4
   new  2ac9ba6   gnu: Add python-hacking.
   new  f4c7dc5   gnu: Add python-oslosphinx.
   new  2931f46   gnu: Add python-os-testr.
   new  a3fc12d   gnu: paramiko: Move python-pycrypto to the propagated 
inputs.
   new  aee6412   gnu: Add python-oslo.log.
   new  39d3f2e   gnu: python-oslotest: move mox3 to the propagated-inputs
   new  465b61f   gnu: Add python-tempest-lib.

The 12 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/openstack.scm   |  186 +-
 gnu/packages/python.scm  |   46 ++-
 guix/build-system/python.scm |   10 ++-
 guix/import/pypi.scm |2 +-
 tests/pypi.scm   |3 +-
 5 files changed, 238 insertions(+), 9 deletions(-)



02/12: import: pypi: Use "pypi-uri" instead of building the URL manually.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit d8bdd38201328b95d849dc95073f842db6eb3b8d
Author: Cyril Roelandt 
Date:   Mon Oct 12 01:03:25 2015 +0200

import: pypi: Use "pypi-uri" instead of building the URL manually.

* guix/import/pypi.scm (make-pypi-sexp): Use "pypi-uri".
* tests/pypi.scm: Update the tests accordingly.
---
 guix/import/pypi.scm |2 +-
 tests/pypi.scm   |3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index d04a685..647ef61 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -165,7 +165,7 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and 
LICENSE."
  (version ,version)
  (source (origin
(method url-fetch)
-   (uri (string-append ,@(factorize-uri source-url 
version)))
+   (uri (pypi-uri ,name version))
(sha256
 (base32
  ,(guix-hash-url temp)
diff --git a/tests/pypi.scm b/tests/pypi.scm
index c772474..960b8cd 100644
--- a/tests/pypi.scm
+++ b/tests/pypi.scm
@@ -84,8 +84,7 @@ baz > 13.37")
  ('version "1.0.0")
  ('source ('origin
 ('method 'url-fetch)
-('uri ('string-append "https://example.com/foo-;
-  'version ".tar.gz"))
+('uri (pypi-uri "foo" version))
 ('sha256
  ('base32
   (? string? hash)



09/12: gnu: paramiko: Move python-pycrypto to the propagated inputs.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit a3fc12daa7ee35d78180c21fa5d62616108fef53
Author: Cyril Roelandt 
Date:   Mon Oct 12 02:31:38 2015 +0200

gnu: paramiko: Move python-pycrypto to the propagated inputs.

* gnu/packages/python.scm (python-paramiko): Move python-pycrypto to the
  propagated-inputs.
---
 gnu/packages/python.scm |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ce42467..4e54ef9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -413,9 +413,10 @@ John the Ripper).")
 (build-system python-build-system)
 (native-inputs
  `(("python-setuptools" ,python-setuptools)))
+(propagated-inputs
+ `(("python-pycrypto" ,python-pycrypto)))
 (inputs
- `(("python-ecdsa" ,python-ecdsa)
-   ("python-pycrypto" ,python-pycrypto)))
+ `(("python-ecdsa" ,python-ecdsa)))
 (home-page "http://www.paramiko.org/;)
 (synopsis "SSHv2 protocol library")
 (description "Paramiko is a python implementation of the SSHv2 protocol,



05/12: gnu: Add python-flake8-2.2.4

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit abf21efcae3bb52b463c6b92f7b9132ba1c0bfa8
Author: Cyril Roelandt 
Date:   Sun Oct 11 05:21:12 2015 +0200

gnu: Add python-flake8-2.2.4

* gnu/packages/python.scm (python-flake8-2.2.4,
  python2-flake8-2.2.4): New variables.
---
 gnu/packages/python.scm |   23 +++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e6b66f0..ce42467 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4979,6 +4979,29 @@ complexity of Python source code.")
 (define-public python2-flake8
   (package-with-python2 python-flake8))
 
+;; This will only be needed by the python-hacking package and will not be
+;; necessary once python-hacking > 0.10.2 is released.
+(define-public python-flake8-2.2.4
+  (package (inherit python-flake8)
+(inputs
+  `(("python-setuptools" ,python-setuptools)
+("python-pep8" ,python-pep8-1.5.7)
+("python-pyflakes" ,python-pyflakes-0.8.1)
+("python-mccabe" ,python-mccabe-0.2.1)
+("python-mock" ,python-mock)
+("python-nose" ,python-nose)))
+(version "2.2.4")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "flake8" version))
+(sha256
+  (base32
+"1r9wsry4va45h1rck5hxd3vzsg2q3y6lnl6pym1bxvz8ry19jwx8"))
+
+(define-public python2-flake8-2.2.4
+  (package-with-python2 python-flake8-2.2.4))
+
 (define-public python-mistune
   (package
 (name "python-mistune")



10/12: gnu: Add python-oslo.log.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit aee6412ad8525f25b7dabe02ef5af23485f1e196
Author: Cyril Roelandt 
Date:   Mon Oct 12 23:27:16 2015 +0200

gnu: Add python-oslo.log.

* gnu/packages/openstack.scm (python-oslo.log,
  python2-oslo.log): New variables.
---
 gnu/packages/openstack.scm |   41 +
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index d8f3bd3..7581e6a 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -460,6 +460,47 @@ in an application or library.")
 (define-public python2-oslo.i18n
   (package-with-python2 python-oslo.i18n))
 
+(define-public python-oslo.log
+  (package
+  (name "python-oslo.log")
+  (version "1.6.0")
+  (source
+(origin
+  (method url-fetch)
+  (uri (string-append
+ "https://pypi.python.org/packages/source/o/oslo.log/oslo.log-;
+ version
+ ".tar.gz"))
+  (sha256
+(base32
+  "1fhy6yvbd565nv4x4i3ppyrlbmz3yy9d0xsvw5nkqsa7g43nmf8z"
+  (build-system python-build-system)
+  (propagated-inputs
+   `(("python-debtcollector" ,python-debtcollector)
+ ("python-oslo.config" ,python-oslo.config)
+ ("python-oslo.context" ,python-oslo.context)
+ ("python-oslo.i18n" ,python-oslo.i18n)
+ ("python-oslo.utils" ,python-oslo.utils)
+ ("python-oslo.serialization" ,python-oslo.serialization)
+ ("python-six" ,python-six)))
+  (inputs
+`(("python-babel" ,python-babel)
+  ("python-iso8601" ,python-iso8601)
+  ("python-mock" ,python-mock)
+  ("python-oslotest" ,python-oslotest)
+  ("python-pbr" ,python-pbr)
+  ("python-setuptools" ,python-setuptools)))
+  (home-page "http://launchpad.net/oslo;)
+  (synopsis "Python logging library of the Oslo project")
+  (description
+"The oslo.log (logging) configuration library provides standardized
+configuration for all OpenStack projects.  It also provides custom formatters,
+handlers and support for context specific logging (like resource id’s etc).")
+  (license asl2.0)))
+
+(define-public python2-oslo.log
+  (package-with-python2 python-oslo.log))
+
 (define-public python-oslo.serialization
   (package
 (name "python-oslo.serialization")



07/12: gnu: Add python-oslosphinx.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit f4c7dc5582d02de79fcec640046486b86024bf1d
Author: Cyril Roelandt 
Date:   Mon Oct 12 00:48:40 2015 +0200

gnu: Add python-oslosphinx.

* gnu/packages/openstack.scm (python-oslosphinx,
  python2-oslosphinx): New variables.
---
 gnu/packages/openstack.scm |   30 ++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index fc86881..34e482b 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -465,6 +465,36 @@ in transmittable and storable formats, such as JSON and 
MessagePack.")
 (define-public python2-oslo.serialization
   (package-with-python2 python-oslo.serialization))
 
+(define-public python-oslosphinx
+  (package
+(name "python-oslosphinx")
+(version "3.1.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "oslosphinx" version))
+   (sha256
+(base32
+ "0zcshdc9s1f7hnvg0fm2ps5rak3dpnm8kqg4i21lknhmsvb7p5cb"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-requests" ,python-requests)))
+(inputs
+  `(("python-pbr" ,python-pbr)
+("python-docutils" ,python-docutils)
+("python-hacking" ,python-hacking)
+("python-setuptools" ,python-setuptools)
+("python-sphinx" ,python-sphinx)))
+(home-page "http://www.openstack.org/;)
+(synopsis "OpenStack sphinx extensions and theme")
+(description
+  "This package provides themes and extensions for Sphinx documentation
+from the OpenStack project.")
+(license asl2.0)))
+
+(define-public python2-oslosphinx
+  (package-with-python2 python-oslosphinx))
+
 (define-public python-oslotest
   (package
 (name "python-oslotest")



01/12: guix: Add a "pypi-uri" helper method.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 3009334e3b3c148d7a36c76952fbb32addfa2c07
Author: Cyril Roelandt 
Date:   Sat Oct 10 22:50:34 2015 +0200

guix: Add a "pypi-uri" helper method.

* guix/download.scm (mirrors): New "pypi" mirror.
* guix/build-system/python.scm (pypi-uri): New method.
---
 guix/build-system/python.scm |   10 +-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index aeb04c8..1a5d9df 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -31,7 +31,8 @@
   #:export (%python-build-system-modules
 package-with-python2
 python-build
-python-build-system))
+python-build-system
+pypi-uri))
 
 ;; Commentary:
 ;;
@@ -40,6 +41,13 @@
 ;;
 ;; Code:
 
+(define (pypi-uri name version)
+  "Return a URI string for the Python package hosted on the Python Package
+Index (PyPI) corresponding to NAME and VERSION."
+  (string-append "https://pypi.python.org/packages/source/;
+ (string-take name 1) "/" name "/"
+ name "-" version ".tar.gz"))
+
 (define %python-build-system-modules
   ;; Build-side modules imported by default.
   `((guix build python-build-system)



08/12: gnu: Add python-os-testr.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 2931f46454c3755b8c478db8dbb45e48928080cd
Author: Cyril Roelandt 
Date:   Mon Oct 12 02:06:30 2015 +0200

gnu: Add python-os-testr.

* gnu/packages/openstack.scm (python-ostestr,
  python2-ostestr): New variables.
---
 gnu/packages/openstack.scm |   34 ++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 34e482b..d8f3bd3 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -206,6 +206,40 @@ tested on Python version 3.2, 2.7 and 2.6.")
 (define-public python2-mox3
   (package-with-python2 python-mox3))
 
+(define-public python-os-testr
+  (package
+(name "python-os-testr")
+(version "0.4.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "os-testr" version))
+   (sha256
+(base32
+ "0474z0mxb7y3vfk4s097wf1mzji5d135vh27cvlh9q17rq3x9r3w"
+(build-system python-build-system)
+(arguments
+ ;; os-testr uses itself to run the tests. It seems like pbr writes the
+ ;; exectuable in the virtualenv when using tox. Not sure how to do this
+ ;; when building the package. Skip the tests for now.
+ `(#:tests? #f))
+(propagated-inputs
+ `(("python-pbr" ,python-pbr)
+   ("python-subunit" ,python-subunit)
+   ("python-testtools" ,python-testtools)))
+(inputs
+  `(("python-babel" ,python-babel)
+("python-setuptools" ,python-setuptools)))
+(home-page "http://www.openstack.org/;)
+(synopsis "Testr wrapper to provide functionality for OpenStack projects")
+(description
+  "Os-testr provides developers with a testr wrapper and an output filter
+  for subunit.")
+(license asl2.0)))
+
+(define-public python2-os-testr
+  (package-with-python2 python-os-testr))
+
 (define-public python-pbr
   (package
 (name "python-pbr")



12/12: gnu: Add python-tempest-lib.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 465b61fcd638e9dffe2cdd6d52f36bd692fab9a9
Author: Cyril Roelandt 
Date:   Mon Oct 12 23:33:52 2015 +0200

gnu: Add python-tempest-lib.

* gnu/packages/openstack.scm (python-tempest-lib,
  python2-tempest-lib): New variables.
---
 gnu/packages/openstack.scm |   45 
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 308590e..daec050 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -354,6 +354,51 @@ extensions.")
 (define-public python2-stevedore
   (package-with-python2 python-stevedore))
 
+(define-public python-tempest-lib
+  (package
+(name "python-tempest-lib")
+(version "0.9.0")
+(source
+ (origin
+  (method url-fetch)
+  (uri (pypi-uri "tempest-lib" version))
+  (sha256
+   (base32
+"1s32rpxw86p41ip9nr7zbqxd60mw1cqz2isirby36rh4vl68bfhx"
+(build-system python-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (add-before
+  'check 'pre-check
+  (lambda _
+(substitute* "tempest_lib/tests/cli/test_execute.py"
+  (("/bin/ls") (which "ls"
+(propagated-inputs
+  `(("python-fixtures" ,python-fixtures)
+("python-httplib2" ,python-httplib2)
+("python-iso8601" ,python-iso8601)
+("python-jsonschema" ,python-jsonschema)
+("python-oslo.log" ,python-oslo.log)
+("python-paramiko" ,python-paramiko)
+("python-pbr" ,python-pbr)
+("python-six" ,python-six)))
+(inputs
+  `(("python-babel" ,python-babel)
+("python-mock" ,python-mock)
+("python-os-testr" ,python-os-testr)
+("python-oslotest" ,python-oslotest)
+("python-setuptools" ,python-setuptools)))
+(home-page "http://www.openstack.org/;)
+(synopsis "OpenStack functional testing library")
+(description
+  "Tempest-lib is a functional testing library for OpenStack.  It provides
+common features used in Tempest.")
+(license asl2.0)))
+
+(define-public python2-tempest-lib
+  (package-with-python2 python-tempest-lib))
+
 ;; Packages from the Oslo library
 (define-public python-oslo.config
   (package



04/12: gnu: Add python-mccabe 0.2.1

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 7477fbb1bed276b9cf2252126ad9ae9b2ed7e669
Author: Cyril Roelandt 
Date:   Sun Oct 11 05:20:08 2015 +0200

gnu: Add python-mccabe 0.2.1

* gnu/packages/python.scm (python-mccabe-0.2.1,
  python2-mccabe-0.2.1): New variables.
---
 gnu/packages/python.scm |   14 ++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 70b297d..e6b66f0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4895,6 +4895,20 @@ complexity of Python source code.")
 (define-public python2-mccabe
   (package-with-python2 python-mccabe))
 
+(define-public python-mccabe-0.2.1
+  (package (inherit python-mccabe)
+(version "0.2.1")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "mccabe" version))
+(sha256
+  (base32
+"0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs"))
+
+(define-public python2-mccabe-0.2.1
+  (package-with-python2 python-mccabe-0.2.1))
+
 ;; Flake8 2.4.1 requires an older version of pep8.
 ;; This should be removed ASAP.
 (define-public python-pep8-1.5.7



06/12: gnu: Add python-hacking.

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 2ac9ba6a2914c73ff83dbd7b4ba7b47333476685
Author: Cyril Roelandt 
Date:   Mon Oct 12 00:47:16 2015 +0200

gnu: Add python-hacking.

* gnu/packages/openstack.scm (python-hacking,
  python2-hacking): New variables.
---
 gnu/packages/openstack.scm |   34 ++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 4fd1c80..fc86881 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -100,6 +100,40 @@ manner.")
 (define-public python2-debtcollector
   (package-with-python2 python-debtcollector))
 
+(define-public python-hacking
+  (package
+(name "python-hacking")
+(version "0.10.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "hacking" version))
+   (sha256
+(base32
+ "1a310k3dv04jg7zvmk37h2ql7y9kf4hvdxb74bjlwdxgmy6h4wap"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-flake8-2.2.4" ,python-flake8-2.2.4)
+("python-mccabe-0.2.1" ,python-mccabe-0.2.1)
+("python-pbr" ,python-pbr)
+("python-pep8-1.5.7" ,python-pep8-1.5.7)
+("python-pyflakes-0.8.1" ,python-pyflakes-0.8.1)
+("python-six" ,python-six)))
+(inputs
+  `(("python-setuptools" ,python-setuptools)
+;; Tests
+("python-testscenarios" ,python-testscenarios)))
+(home-page "http://github.com/openstack-dev/hacking;)
+(synopsis "OpenStack hacking guideline enforcement")
+(description
+  "Python-hacking is a set of flake8 plugins that test and enforce the
+@uref{http://docs.openstack.org/developer/hacking/, OpenStack style
+guidelines}.")
+(license asl2.0)))
+
+(define-public python2-hacking
+  (package-with-python2 python-hacking))
+
 (define-public python-mox3
   (package
 (name "python-mox3")



11/12: gnu: python-oslotest: move mox3 to the propagated-inputs

2015-11-03 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 39d3f2edce74247f09e7461f79e98a24ce18f89e
Author: Cyril Roelandt 
Date:   Wed Oct 28 02:30:51 2015 +0100

gnu: python-oslotest: move mox3 to the propagated-inputs

* gnu/packages/openstack.scm (python-oslotest): move mox3 to the propagated
  inputs.
---
 gnu/packages/openstack.scm |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 7581e6a..308590e 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -588,10 +588,10 @@ from the OpenStack project.")
 (propagated-inputs
   `(("python-fixtures" ,python-fixtures)
 ("python-mock" ,python-mock)
+("python-mox3" ,python-mox3)
 ("python-six" ,python-six)))
 (inputs
   `(("python-pbr" ,python-pbr)
-("python-mox3" ,python-mox3)
 ("python-os-client-config" ,python-os-client-config)
 ("python-setuptools" ,python-setuptools)
 ("python-subunit" ,python-subunit)



branch master updated (6e82863 -> f8ae32a)

2015-11-03 Thread Andy Wingo
wingo pushed a change to branch master
in repository guix.

  from  6e82863   system: Rename (gnu system linux) to (gnu system pam).
   new  f5dceec   gnu: Add libesmtp.
   new  f8ae32a   gnu: Add esmtp.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/mail.scm |   65 +
 1 files changed, 65 insertions(+), 0 deletions(-)



02/02: gnu: Add esmtp.

2015-11-03 Thread Andy Wingo
wingo pushed a commit to branch master
in repository guix.

commit f8ae32a26a5f41466f5c7792261fdf2e78d1d35f
Author: Andy Wingo 
Date:   Tue Nov 3 15:46:44 2015 +0100

gnu: Add esmtp.

* gnu/packages/mail.scm (esmtp): New public variable.
---
 gnu/packages/mail.scm |   41 +
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 3ba956e..d4f3dec 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -30,6 +30,7 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages bash)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cyrus-sasl)
   #:use-module (gnu packages databases)
@@ -43,6 +44,7 @@
   #:use-module (gnu packages gsasl)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages linux)
@@ -68,6 +70,7 @@
   (expat . license:expat)))
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system perl)
@@ -963,4 +966,42 @@ be able to post electronic mail where mail functionality 
may not be that
 program's primary purpose.")
 (license (list lgpl2.1+ gpl2+
 
+(define-public esmtp
+  (package
+(name "esmtp")
+(version "1.2")
+(source
+ (origin
+   (method git-fetch)
+   (uri (git-reference
+ (url "https://github.com/andywingo/esmtp.git;)
+ (commit "01bf9fc")))
+   (sha256
+(base32
+ "1ay282rrl92h0m0m8z5zzjnwiiagi7c78aq2qvhia5mw7prwfyw2"))
+   (file-name (string-append name "-" version "-checkout"
+(arguments
+ `(#:phases (modify-phases %standard-phases
+  (add-before
+   'configure 'autoconf
+   (lambda _ (zero? (system* "autoreconf" "-vfi")))
+(build-system gnu-build-system)
+(native-inputs
+ `(("bison" ,bison)
+   ("flex" ,flex)
+   ("autoconf" ,autoconf)
+   ("automake" ,automake)
+   ("libtool" ,libtool)))
+(inputs
+ `("libesmtp" ,libesmtp))
+(home-page "http://sourceforge.net/projects/esmtp/;)
+(synopsis "Relay-only mail transfer agent (MTA)")
+(description "Esmtp is a simple relay-only mail transfer agent built using
+libESMTP.  It sends e-mail via a remote SMTP server using credentials from the
+user's @file{$HOME/.esmtprc} configuration file; see the @command{esmtprc} man
+page for more on configuration.  This package also provides minimal
+compatibility shims for the @command{sendmail}, @command{mailq}, and
+@command{newaliases} commands.")
+(license gpl2+)))
+
 ;;; mail.scm ends here



01/01: gnu: esmtp: Fix 'inputs' field.

2015-11-03 Thread Mark H. Weaver
mhw pushed a commit to branch master
in repository guix.

commit 718c5dd6e1f009540c6876a0f69ebe4d1268151a
Author: Mark H Weaver 
Date:   Tue Nov 3 19:01:38 2015 -0500

gnu: esmtp: Fix 'inputs' field.

This is a followup to commit f8ae32a26a5f41466f5c7792261fdf2e78d1d35f.

* gnu/packages/mail.scm (esmtp)[inputs]: Add missing parentheses.
---
 gnu/packages/mail.scm |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index d4f3dec..7f7a8e3 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -993,7 +993,7 @@ program's primary purpose.")
("automake" ,automake)
("libtool" ,libtool)))
 (inputs
- `("libesmtp" ,libesmtp))
+ `(("libesmtp" ,libesmtp)))
 (home-page "http://sourceforge.net/projects/esmtp/;)
 (synopsis "Relay-only mail transfer agent (MTA)")
 (description "Esmtp is a simple relay-only mail transfer agent built using



branch master updated (f856fcb -> 718c5dd)

2015-11-03 Thread Mark H. Weaver
mhw pushed a change to branch master
in repository guix.

  from  f856fcb   build-system/python: 'package-with-python2' preserves 
source location.
   new  718c5dd   gnu: esmtp: Fix 'inputs' field.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/mail.scm |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



01/02: gnu: newt: Build python bindings.

2015-11-03 Thread Eric Bavier
bavier pushed a commit to branch master
in repository guix.

commit e5930e5a13b878f8ea46aa87f0c638421f32ab59
Author: Eric Bavier 
Date:   Sun Nov 1 09:48:35 2015 -0600

gnu: newt: Build python bindings.

* gnu/packages/slang.scm (newt)[outputs]: New field.
  [arguments]: Add #:make-flags argument.  Add 'move-python' phase.
---
 gnu/packages/slang.scm |   24 ++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/slang.scm b/gnu/packages/slang.scm
index a00fa7b..24ec71e 100644
--- a/gnu/packages/slang.scm
+++ b/gnu/packages/slang.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2015 Ludovic Courtès 
 ;;; Copyright © 2015 Mark H Weaver 
+;;; Copyright © 2015 Eric Bavier 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,6 +21,7 @@
 (define-module (gnu packages slang)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages readline)
@@ -28,7 +30,8 @@
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages pcre))
+  #:use-module (gnu packages pcre)
+  #:use-module (gnu packages python))
 
 (define-public slang
   (package
@@ -85,15 +88,22 @@ slsh, which is part of the S-Lang distribution.")
(base32
 "07n9f2mqsjfj35wx5ldhvl9sqcjqpcl0g4fdd9mawmny9rihw6vp"
 (build-system gnu-build-system)
+(outputs '("out" "python"))
 (inputs
  `(("slang" ,slang)
("popt" ,popt)
+   ("python" ,python)
("fribidi" ,fribidi)))
 (arguments
  `(#:tests? #f; no test suite
#:configure-flags
;; Set the correct RUNPATH in binaries.
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
+   #:make-flags
+   ;; configure does not allow us to override this variable from the
+   ;; command-line.  Fortunately, the Makefile does, so provide it here.
+   (list (string-append "PYTHONVERS=python"
+,(version-major+minor (package-version python
#:phases
(modify-phases %standard-phases
  (add-after
@@ -101,7 +111,17 @@ slsh, which is part of the S-Lang distribution.")
   (lambda _
 (substitute* "po/Makefile"
   (("/usr/bin/install") "install"))
-#t)
+#t))
+ (add-after
+  'install 'move-python
+  (lambda* (#:key outputs #:allow-other-keys)
+(let ((out  (assoc-ref outputs "out"))
+  (py   (assoc-ref outputs "python"))
+  (ver ,(version-major+minor (package-version python
+  (mkdir-p (string-append py "/lib"))
+  (rename-file (string-append out "/lib/python" ver)
+   (string-append py  "/lib/python" ver))
+  #t))
 (home-page "https://fedorahosted.org/newt/;)
 (synopsis "Not Erik's Windowing Toolkit - text mode windowing with slang")
 (description



branch master updated (718c5dd -> b95bcb8)

2015-11-03 Thread Eric Bavier
bavier pushed a change to branch master
in repository guix.

  from  718c5dd   gnu: esmtp: Fix 'inputs' field.
   new  e5930e5   gnu: newt: Build python bindings.
   new  b95bcb8   gnu: Add byobu.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu-system.am|1 +
 gnu/packages/patches/byobu-writable-status.patch |   13 +
 gnu/packages/screen.scm  |   53 ++
 gnu/packages/slang.scm   |   24 +-
 4 files changed, 89 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/byobu-writable-status.patch



02/02: gnu: Add byobu.

2015-11-03 Thread Eric Bavier
bavier pushed a commit to branch master
in repository guix.

commit b95bcb8ae0a8a4f5c29bce8f6486a91d6d5441cc
Author: Eric Bavier 
Date:   Sun Nov 1 09:56:05 2015 -0600

gnu: Add byobu.

* gnu/packages/screen.scm (byobu): New variable.
* gnu/packages/patches/byobu-writable-status.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
---
 gnu-system.am|1 +
 gnu/packages/patches/byobu-writable-status.patch |   13 +
 gnu/packages/screen.scm  |   53 ++
 3 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/gnu-system.am b/gnu-system.am
index c5b87cc..946b77e 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -411,6 +411,7 @@ dist_patch_DATA =   
\
   gnu/packages/patches/bitlbee-configure-doc-fix.patch \
   gnu/packages/patches/bluez-tests.patch   \
   gnu/packages/patches/boost-mips-avoid-m32.patch  \
+  gnu/packages/patches/byobu-writable-status.patch \
   gnu/packages/patches/calibre-drop-unrar.patch\
   gnu/packages/patches/calibre-no-updates-dialog.patch \
   gnu/packages/patches/cdparanoia-fpic.patch   \
diff --git a/gnu/packages/patches/byobu-writable-status.patch 
b/gnu/packages/patches/byobu-writable-status.patch
new file mode 100644
index 000..2858280
--- /dev/null
+++ b/gnu/packages/patches/byobu-writable-status.patch
@@ -0,0 +1,13 @@
+Skeleton status files are installed read-only.  When copying to the config dir
+upon initialization, make sure they end up writable.
+
+--- byobu-5.98/usr/bin/byobu-janitor.in
 byobu-5.98/usr/bin/byobu-janitor.in
+@@ -82,6 +82,7 @@
+   if [ ! -r "$BYOBU_CONFIG_DIR/$f" ]; then
+   # Copy from skeleton, if possible
+   cp -f "$BYOBU_PREFIX/share/$PKG/status/$f" 
"$BYOBU_CONFIG_DIR/$f"
++  chmod +w "$BYOBU_CONFIG_DIR/$f"
+   # Enable ec2_cost, if we're in ec2 and seeding a new setup
+   if metadata_available; then
+   $BYOBU_SED_INLINE -e "s/#ec2_cost/ec2_cost/g" 
"$($BYOBU_READLINK -f $BYOBU_CONFIG_DIR/$f)"
diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm
index 84cc8c9..fa5235c 100644
--- a/gnu/packages/screen.scm
+++ b/gnu/packages/screen.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Cyril Roelandt 
 ;;; Copyright © 2014 Mark H Weaver 
+;;; Copyright © 2015 Eric Bavier 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,6 +26,8 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages slang)
   #:use-module (gnu packages texinfo))
 
 (define-public screen
@@ -90,3 +93,53 @@ view to show two terminals at once.")
 allowing you to run a program in an environment that is protected from the
 controlling terminal and attach to it later.")
 (license gpl2+)))
+
+(define-public byobu
+  (package
+(name "byobu")
+(version "5.98")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "https://launchpad.net/byobu/trunk/;
+   version "/+download/byobu_"
+   version ".orig.tar.gz"))
+   (sha256
+(base32
+ "1s8nh4wbds1nh52i0d1hy1b308jjf4siwpq92lna1zh9ll4x71j5"))
+   (patches (list (search-patch "byobu-writable-status.patch")
+(build-system gnu-build-system)
+(inputs
+ `(("python" ,python-wrapper)   ;for config and session GUIs
+   ("python-newt" ,newt "python")))
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (add-before
+  'configure 'provide-locale
+  (lambda* (#:key inputs #:allow-other-keys)
+(let ((libc   (assoc-ref inputs "libc"))) ;implicit input
+  (substitute* "usr/bin/byobu.in"
+(("locale") (string-append libc "/bin/locale"))
+ (add-after
+  'install 'wrap-python-scripts
+  (lambda* (#:key inputs outputs #:allow-other-keys)
+(let* ((python (string-append (assoc-ref inputs "python")
+  "/bin/python"))
+   (out(assoc-ref outputs "out"))
+   (config (string-append out "/bin/byobu-config"))
+   (select (string-append out "/bin/byobu-select-session")))
+  (wrap-program config
+`("BYOBU_PYTHON" = (,python))
+`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"
+  (wrap-program select
+`("BYOBU_PYTHON" = (,python)))
+  #t))
+(home-page "http://byobu.co/index.html;)
+(synopsis "Text-based window manager and terminal 

04/05: gnu: libassuan: Update to 2.3.0.

2015-11-03 Thread Efraim Flashner
efraim pushed a commit to branch master
in repository guix.

commit 7b543d1ba449a43f8480e5e0cdf359c4abfa4dd4
Author: Efraim Flashner 
Date:   Wed Nov 4 09:33:47 2015 +0200

gnu: libassuan: Update to 2.3.0.

* gnu/packages/gnupg.scm (libassuan): Update to 2.3.0.
---
 gnu/packages/gnupg.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 333e883..44e1835 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -110,7 +110,7 @@ generation.")
 (define-public libassuan
   (package
 (name "libassuan")
-(version "2.2.1")
+(version "2.3.0")
 (source
  (origin
   (method url-fetch)
@@ -118,7 +118,7 @@ generation.")
   version ".tar.bz2"))
   (sha256
(base32
-"1pp2kl5gc2vja41g3wk03h1hgh7gxy6pj354fb5n4lrlg6xqb4ll"
+"0lh4698pgb2wjrrrbdk14llizad5l74f8pdbg4ma4zq4fbsrkjc7"
 (build-system gnu-build-system)
 (propagated-inputs
  `(("libgpg-error" ,libgpg-error) ("pth" ,pth)))



02/05: gnu: ucommon: Update to 6.6.2.

2015-11-03 Thread Efraim Flashner
efraim pushed a commit to branch master
in repository guix.

commit 7e096dd290aa192f4ed8d96ee4712f8deefe9923
Author: Efraim Flashner 
Date:   Wed Nov 4 09:16:04 2015 +0200

gnu: ucommon: Update to 6.6.2.

* gnu/packages/telephony.scm (ucommon): Update to 6.6.2.
  [license]: Change to gpl3+.
---
 gnu/packages/telephony.scm |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 6f90843..2cb070d 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2014 John Darrington 
 ;;; Copyright © 2015 Andreas Enge 
 ;;; Copyright © 2015 David Hashe 
+;;; Copyright © 2015 Efraim Flashner 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -59,20 +60,20 @@ reimplementation.")
 (define-public ucommon
   (package
(name "ucommon")
-   (version "6.6.0")
+   (version "6.6.2")
(source (origin
 (method url-fetch)
 (uri (string-append "mirror://gnu/commoncpp/" name "-"
version ".tar.gz"))
 (sha256 (base32
- "09y6rs51wl2851xp5zlxlqqb97xfi39v0yna3njb62swwr1n1ky1"
+ "16haqzq97axiyhgpca95rhr5y5s7fl8b65if5vil7v4lcqxp3hqn"
(build-system gnu-build-system)
(synopsis "Common C++ framework for threaded applications")
(description "GNU uCommon C++ is meant as a very light-weight C++ library
 to facilitate using C++ design patterns even for very deeply embedded
 applications, such as for systems using uclibc along with posix threading
 support.")
-   (license gpl2+) ; plus runtime exception
+   (license gpl3+)
(home-page "http://www.gnu.org/software/commoncpp;)))
 
 (define-public ccrtp



05/05: gnu: libmicrohttpd: Update to 0.9.45.

2015-11-03 Thread Efraim Flashner
efraim pushed a commit to branch master
in repository guix.

commit 29852c8a99519954fb085e57d6fe02874a1f6cf0
Author: Efraim Flashner 
Date:   Wed Nov 4 09:46:35 2015 +0200

gnu: libmicrohttpd: Update to 0.9.45.

* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.45.
---
 gnu/packages/gnunet.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 9b273ac..6d1a1a8 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -111,14 +111,14 @@ tool to extract metadata from a file and print the 
results.")
 (define-public libmicrohttpd
   (package
(name "libmicrohttpd")
-   (version "0.9.44")
+   (version "0.9.45")
(source (origin
 (method url-fetch)
 (uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-"
 version ".tar.gz"))
 (sha256
  (base32
-  "07j1p21rvbrrfpxngk8xswzkmjkh94bp1971xfjh1p0ja709qwzj"
+  "0saawnamxjp7nr5gpg7l5fp9y5941m3a7x214ki7ncm9ipsdwx8h"
(build-system gnu-build-system)
(inputs
 `(("curl" ,curl)



branch master updated (b95bcb8 -> 29852c8)

2015-11-03 Thread Efraim Flashner
efraim pushed a change to branch master
in repository guix.

  from  b95bcb8   gnu: Add byobu.
   new  ae3d99e   gnu: parallel: Update to 20151022.
   new  7e096dd   gnu: ucommon: Update to 6.6.2.
   new  3b6f7a0   gnu: sipwitch: Update to 1.9.14.
   new  7b543d1   gnu: libassuan: Update to 2.3.0.
   new  29852c8   gnu: libmicrohttpd: Update to 0.9.45.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/gnunet.scm|4 ++--
 gnu/packages/gnupg.scm |4 ++--
 gnu/packages/parallel.scm  |4 ++--
 gnu/packages/telephony.scm |   11 ++-
 4 files changed, 12 insertions(+), 11 deletions(-)



01/05: gnu: parallel: Update to 20151022.

2015-11-03 Thread Efraim Flashner
efraim pushed a commit to branch master
in repository guix.

commit ae3d99e9da4531a49f1163b31de467c549c01848
Author: Efraim Flashner 
Date:   Wed Nov 4 09:02:51 2015 +0200

gnu: parallel: Update to 20151022.

* gnu/packages/parallel.scm (parallel): Update to 20151022.
---
 gnu/packages/parallel.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index 38ce709..812fac9 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -28,7 +28,7 @@
 (define-public parallel
   (package
 (name "parallel")
-(version "20150922")
+(version "20151022")
 (source
  (origin
   (method url-fetch)
@@ -36,7 +36,7 @@
   version ".tar.bz2"))
   (sha256
(base32
-"05zf3jhjmswfr63lgxw8q26kysd72b8m0zy5jbc94r6appx8bd7j"
+"07cyq3lapbbxf27b47wv1yjqsz48jidqr595r1pq77ajzy4i7zl4"
 (build-system gnu-build-system)
 (inputs `(("perl" ,perl)))
 (home-page "http://www.gnu.org/software/parallel/;)



05/05: gnu: gst-libav: Update to 1.6.1.

2015-11-03 Thread ???
iyzsong pushed a commit to branch master
in repository guix.

commit c869eed1a7034d1930343e70950c50a5a2814963
Author: 宋文武 
Date:   Tue Nov 3 22:02:32 2015 +0800

gnu: gst-libav: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gst-libav): Update to 1.6.1.
---
 gnu/packages/gstreamer.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 6dad2ad..a52106b 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -282,7 +282,7 @@ distribution problems in some jurisdictions, e.g. due to 
patent threats.")
 (define-public gst-libav
   (package
 (name "gst-libav")
-(version "1.4.5")
+(version "1.6.1")
 (source (origin
   (method url-fetch)
   (uri (string-append
@@ -290,7 +290,7 @@ distribution problems in some jurisdictions, e.g. due to 
patent threats.")
 name "-" version ".tar.xz"))
   (sha256
(base32
-"1g7vg9amh3cc3nmc415h6g2rqxqi4wgwqi08hxfbpwq48ri64p30"
+"1a9pc7zp5rg0cvpx8gqkr21w73i6p9xa505a34day9f8p3lfim94"
 (build-system gnu-build-system)
 (arguments
  '(#:configure-flags '("--with-system-libav")



01/05: gnu: gstreamer: Update to 1.6.1.

2015-11-03 Thread ???
iyzsong pushed a commit to branch master
in repository guix.

commit 31e021f8767abb2c37e1c7a2e7aa6be276667bd3
Author: 宋文武 
Date:   Tue Nov 3 21:58:28 2015 +0800

gnu: gstreamer: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gstreamer): Update to 1.6.1.
  [arguments]: Remove #:make-flags.
---
 gnu/packages/gstreamer.scm |7 +++
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 0ac9783..90061b2 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -83,7 +83,7 @@ arrays of data.")
 (define-public gstreamer
   (package
 (name "gstreamer")
-(version "1.4.5")
+(version "1.6.1")
 (source
  (origin
   (method url-fetch)
@@ -91,12 +91,11 @@ arrays of data.")
   version ".tar.xz"))
   (sha256
(base32
-"1bmhbhak6i5wmmb6w86jyyv8lax4gdq983la4lk4a0krz6kim020"
+"172w1bpnkn6mm1wi37n03apdbb6cdkykhzjf1vfxchcd7hhkyflp"
 (build-system gnu-build-system)
 (outputs '("out" "doc"))
 (arguments
- `(#:make-flags '("CC=gcc") ; for g-ir-scanner.
-   #:configure-flags
+ `(#:configure-flags
(list (string-append "--with-html-dir="
 (assoc-ref %outputs "doc")
 "/share/gtk-doc/html"



02/05: gnu: gst-plugins-base: Update to 1.6.1.

2015-11-03 Thread ???
iyzsong pushed a commit to branch master
in repository guix.

commit 7bc36f8d96fb40a449c405a29ecdceb69a658132
Author: 宋文武 
Date:   Tue Nov 3 22:00:04 2015 +0800

gnu: gst-plugins-base: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.6.1.
  [arguments]: Disable parallel tests.
---
 gnu/packages/gstreamer.scm |   11 +--
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 90061b2..619a63f 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -130,7 +130,7 @@ This package provides the core library and elements.")
 (define-public gst-plugins-base
   (package
 (name "gst-plugins-base")
-(version "1.4.5")
+(version "1.6.1")
 (source
  (origin
   (method url-fetch)
@@ -138,7 +138,7 @@ This package provides the core library and elements.")
   version ".tar.xz"))
   (sha256
(base32
-"07ampnfa6p41s0lhia62l9h8bdx3c7vxvdz93pbx64m3wycq3gbp"
+"18sbyjcp281zb3bsqji3pglsdsxi0s6ai7rx90sx8cpflkxdqcwm"
 (build-system gnu-build-system)
 (outputs '("out" "doc"))
 (propagated-inputs
@@ -161,7 +161,8 @@ This package provides the core library and elements.")
 ("gobject-introspection" ,gobject-introspection)
 ("python-wrapper" ,python-wrapper)))
 (arguments
- `(#:configure-flags
+ `(#:parallel-tests? #f ; 'pipelines/tcp' fails in parallel
+   #:configure-flags
(list (string-append "--with-html-dir="
 (assoc-ref %outputs "doc")
 "/share/gtk-doc/html"))
@@ -170,9 +171,7 @@ This package provides the core library and elements.")
 'configure 'patch
 (lambda _
   (substitute* "tests/check/libs/pbutils.c"
-(("/bin/sh") (which "sh")))
-  ;; for g-ir-scanner.
-  (setenv "CC" "gcc"))
+(("/bin/sh") (which "sh"
 %standard-phases)))
 (home-page "http://gstreamer.freedesktop.org/;)
 (synopsis



04/05: gnu: gst-plugins-ugly: Update to 1.6.1.

2015-11-03 Thread ???
iyzsong pushed a commit to branch master
in repository guix.

commit 72131606f1e8b4dcb8f0c4e14823249dab865de6
Author: 宋文武 
Date:   Tue Nov 3 22:01:54 2015 +0800

gnu: gst-plugins-ugly: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.6.1.
---
 gnu/packages/gstreamer.scm |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 2ef22f5..6dad2ad 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -244,7 +244,7 @@ developers consider to have good quality code and correct 
functionality.")
 (define-public gst-plugins-ugly
   (package
 (name "gst-plugins-ugly")
-(version "1.4.5")
+(version "1.6.1")
 (source
  (origin
(method url-fetch)
@@ -252,7 +252,7 @@ developers consider to have good quality code and correct 
functionality.")
name "/" name "-" version ".tar.xz"))
(sha256
 (base32
- "0rwhljn3f8mp2pfchzfcx4pvps1546dndw9mr56lz50qyqffimaw"
+ "0mvasl1pwq70w2kmrkcrg77kggl5q7jqybi7fkvy3vr28c7gkhqc"
 (build-system gnu-build-system)
 (inputs
  `(("gst-plugins-base" ,gst-plugins-base)



branch master updated (c56ab21 -> c869eed)

2015-11-03 Thread ???
iyzsong pushed a change to branch master
in repository guix.

  from  c56ab21   gnu: guix: Do not retain dependency on Graphviz.
   new  31e021f   gnu: gstreamer: Update to 1.6.1.
   new  7bc36f8   gnu: gst-plugins-base: Update to 1.6.1.
   new  a64e5d4   gnu: gst-plugins-good: Update to 1.6.1.
   new  7213160   gnu: gst-plugins-ugly: Update to 1.6.1.
   new  c869eed   gnu: gst-libav: Update to 1.6.1.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/gstreamer.scm |   32 +++-
 1 files changed, 15 insertions(+), 17 deletions(-)



03/05: gnu: gst-plugins-good: Update to 1.6.1.

2015-11-03 Thread ???
iyzsong pushed a commit to branch master
in repository guix.

commit a64e5d451b2aef2a36a92a0b6ed626cb29169def
Author: 宋文武 
Date:   Tue Nov 3 22:01:15 2015 +0800

gnu: gst-plugins-good: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.6.1.
---
 gnu/packages/gstreamer.scm |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 619a63f..2ef22f5 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -184,7 +184,7 @@ for the GStreamer multimedia library.")
 (define-public gst-plugins-good
   (package
 (name "gst-plugins-good")
-(version "1.4.5")
+(version "1.6.1")
 (source
  (origin
   (method url-fetch)
@@ -193,7 +193,7 @@ for the GStreamer multimedia library.")
 version ".tar.xz"))
   (sha256
(base32
-"0hg6qzdpib9nwn3hdxv0d4rvivi1c4bmxsq2a9hqmamwyzrvbcbr"
+"0darc3058kbnql3mnlpizl0sq0hhli7vkm0rpqb7nywz14abim46"
 (build-system gnu-build-system)
 (inputs
  `(("aalib" ,aalib)
@@ -227,7 +227,7 @@ for the GStreamer multimedia library.")
   'unpack 'disable-failing-rtprtx-tests
   (lambda _
 ;; Disable rtprtx tests that frequently fail.
-;; XXX FIXME: Try removing this for version > 1.4.5.
+;; XXX FIXME: Try removing this for version > 1.6.1.
 (substitute* "tests/check/elements/rtprtx.c"
   (("tcase_add_test \\(tc_chain,\
  (test_rtxsender_max_size_packets|test_rtxreceive_data_reconstruction)\\);" 
all)



01/01: gnu: guix: Do not retain dependency on Graphviz.

2015-11-03 Thread Ludovic Court�s
civodul pushed a commit to branch master
in repository guix.

commit c56ab21b2af601bd20af08c6924df2a5121e132a
Author: Ludovic Courtès 
Date:   Tue Nov 3 14:43:42 2015 +0100

gnu: guix: Do not retain dependency on Graphviz.

* gnu/packages/package-management.scm (guix-devel)[arguments]: Add
  ac_cv_path_DOT_USER_PROGRAM=dot to #:configure-flags.
---
 gnu/packages/package-management.scm |5 +
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/package-management.scm 
b/gnu/packages/package-management.scm
index c1ef2e1..1c480be 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -209,6 +209,11 @@ the Nix package manager.")
 (file-name (string-append "guix-" version "-checkout"
   (arguments
(substitute-keyword-arguments (package-arguments guix-0.8.3)
+ ((#:configure-flags flags)
+  ;; Set 'DOT_USER_PROGRAM' to the empty string so we don't keep a
+  ;; reference to Graphviz, whose closure is pretty big (too big for
+  ;; the GuixSD installation image.)
+  `(cons "ac_cv_path_DOT_USER_PROGRAM=dot" ,flags))
  ((#:phases phases)
   `(modify-phases ,phases
  (add-after



branch master updated (cfd35b4 -> c56ab21)

2015-11-03 Thread Ludovic Court�s
civodul pushed a change to branch master
in repository guix.

  from  cfd35b4   doc: Linux-libre 3.19 is needed for using containers.
   new  c56ab21   gnu: guix: Do not retain dependency on Graphviz.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/package-management.scm |5 +
 1 files changed, 5 insertions(+), 0 deletions(-)



02/02: scripts: environment: Display friendly container error messages.

2015-11-03 Thread David Thompson
davexunit pushed a commit to branch master
in repository guix.

commit 00bfa7ea25b4612d730b057308b304d0131bee03
Author: David Thompson 
Date:   Tue Nov 3 09:02:10 2015 -0500

scripts: environment: Display friendly container error messages.

* guix/scripts/environment.scm (assert-container-features): New
  procedure.
  (guix-environment): Use it.
---
 guix/scripts/environment.scm |   18 ++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index 45b54a9..97410f4 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -437,6 +437,21 @@ Otherwise, return the derivation for the Bash package."
   opts
   (alist-cons 'exec command opts)
 
+(define (assert-container-features)
+  "Check if containers can be created and exit with an informative error
+message if any test fails."
+  (unless (user-namespace-supported?)
+(report-error (_ "cannot create container: user namespaces unavailable\n"))
+(leave (_ "is your kernel version < 3.10?\n")))
+
+  (unless (unprivileged-user-namespace-supported?)
+(report-error (_ "cannot create container: unprivileged user cannot create 
user namespaces\n"))
+(leave (_ "please set /proc/sys/kernel/unprivileged_userns_clone to 
\"1\"\n")))
+
+  (unless (setgroups-supported?)
+(report-error (_ "cannot create container: /proc/self/setgroups does not 
exist\n"))
+(leave (_ "is your kernel version < 3.19?\n"
+
 ;; Entry point.
 (define (guix-environment . args)
   (with-error-handling
@@ -474,6 +489,9 @@ Otherwise, return the derivation for the Bash package."
 '()))
   inputs))
 eq?)))
+
+  (when container? (assert-container-features))
+
   (with-store store
 (run-with-store store
   (mlet* %store-monad ((inputs (lower-inputs



branch master updated (9ff7827 -> 00bfa7e)

2015-11-03 Thread David Thompson
davexunit pushed a change to branch master
in repository guix.

  from  9ff7827   gnu: nestopia-ue: Use system zlib.
   new  b7d4831   build: container: Add feature test predicates.
   new  00bfa7e   scripts: environment: Display friendly container error 
messages.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/build/linux-container.scm |   22 +-
 guix/scripts/environment.scm  |   18 ++
 tests/containers.scm  |5 +++--
 tests/syscalls.scm|   11 ---
 4 files changed, 50 insertions(+), 6 deletions(-)



01/02: build: container: Add feature test predicates.

2015-11-03 Thread David Thompson
davexunit pushed a commit to branch master
in repository guix.

commit b7d48312bbfc7bdbb3895eb10edc352eeb555b98
Author: David Thompson 
Date:   Tue Nov 3 08:32:53 2015 -0500

build: container: Add feature test predicates.

* gnu/build/linux-container.scm (user-namespace-supported?,
  unprivileged-user-namespace-supported?, setgroups-supported?): New
  procedures.
* tests/container.scm: Use predicates.
* tests/syscalls.scm: Likewise.
---
 gnu/build/linux-container.scm |   22 +-
 tests/containers.scm  |5 +++--
 tests/syscalls.scm|   11 ---
 3 files changed, 32 insertions(+), 6 deletions(-)

diff --git a/gnu/build/linux-container.scm b/gnu/build/linux-container.scm
index 556422b..eb5dbf9 100644
--- a/gnu/build/linux-container.scm
+++ b/gnu/build/linux-container.scm
@@ -19,16 +19,36 @@
 (define-module (gnu build linux-container)
   #:use-module (ice-9 format)
   #:use-module (ice-9 match)
+  #:use-module (ice-9 rdelim)
   #:use-module (srfi srfi-98)
   #:use-module (guix utils)
   #:use-module (guix build utils)
   #:use-module (guix build syscalls)
   #:use-module ((gnu build file-systems) #:select (mount-file-system))
-  #:export (%namespaces
+  #:export (user-namespace-supported?
+unprivileged-user-namespace-supported?
+setgroups-supported?
+%namespaces
 run-container
 call-with-container
 container-excursion))
 
+(define (user-namespace-supported?)
+  "Return #t if user namespaces are supported on this system."
+  (file-exists? "/proc/self/ns/user"))
+
+(define (unprivileged-user-namespace-supported?)
+  "Return #t if user namespaces can be created by unprivileged users."
+  (let ((userns-file "/proc/sys/kernel/unprivileged_userns_clone"))
+(if (file-exists? userns-file)
+(string=? "1" (call-with-input-file userns-file read-string))
+#t)))
+
+(define (setgroups-supported?)
+  "Return #t if the setgroups proc file, introduced in Linux-libre 3.19,
+exists."
+  (file-exists? "/proc/self/setgroups"))
+
 (define %namespaces
   '(mnt pid ipc uts user net))
 
diff --git a/tests/containers.scm b/tests/containers.scm
index 0ba8149..12982a6 100644
--- a/tests/containers.scm
+++ b/tests/containers.scm
@@ -28,8 +28,9 @@
 
 ;; Skip these tests unless user namespaces are available and the setgroups
 ;; file (introduced in Linux 3.19 to address a security issue) exists.
-(unless (and (file-exists? "/proc/self/ns/user")
- (file-exists? "/proc/self/setgroups"))
+(unless (and (user-namespace-supported?)
+ (unprivileged-user-namespace-supported?)
+ (setgroups-supported?))
   (exit 77))
 
 (test-begin "containers")
diff --git a/tests/syscalls.scm b/tests/syscalls.scm
index 86783b9..a57a9ca 100644
--- a/tests/syscalls.scm
+++ b/tests/syscalls.scm
@@ -20,6 +20,7 @@
 (define-module (test-syscalls)
   #:use-module (guix utils)
   #:use-module (guix build syscalls)
+  #:use-module (gnu build linux-container)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26)
   #:use-module (srfi srfi-64)
@@ -80,7 +81,11 @@
 (define (user-namespace pid)
   (string-append "/proc/" (number->string pid) "/ns/user"))
 
-(unless (file-exists? (user-namespace (getpid)))
+(define perform-container-tests?
+  (and (user-namespace-supported?)
+   (unprivileged-user-namespace-supported?)))
+
+(unless perform-container-tests?
   (test-skip 1))
 (test-assert "clone"
   (match (clone (logior CLONE_NEWUSER SIGCHLD))
@@ -93,7 +98,7 @@
 ((_ . status)
  (= 42 (status:exit-val status
 
-(unless (file-exists? (user-namespace (getpid)))
+(unless perform-container-tests?
   (test-skip 1))
 (test-assert "setns"
   (match (clone (logior CLONE_NEWUSER SIGCHLD))
@@ -122,7 +127,7 @@
  (waitpid fork-pid)
  result
 
-(unless (file-exists? (user-namespace (getpid)))
+(unless perform-container-tests?
   (test-skip 1))
 (test-assert "pivot-root"
   (match (pipe)