Commit Graph

13521 Commits

Author SHA1 Message Date
Ludovic Courtès 41c569d9b9
build: Add 'run-system-tests.scm'.
This file was meant to be added as part of
commit e9f693d06f.

* build-aux/run-system-tests.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2016-05-04 23:56:42 +02:00
Ludovic Courtès e9f693d06f
tests: Add whole-system test.
* gnu/system/vm.scm (virtualized-operating-system): Export.
* gnu/tests/base.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* Makefile.am (check-system): New target.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 957afcae3c
Add (gnu tests) and (gnu build marionette).
* gnu/build/marionette.scm, gnu/tests.scm: New files.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add them.
* gnu/system/vm.scm (common-qemu-options): Remove '-serial stdio'.
2016-05-04 23:35:55 +02:00
Ludovic Courtès b2fef041fc
system: Add procedures to access user accounts and service names.
* gnu/system.scm (operating-system-user-accounts)
(operating-system-shepherd-service-names): New procedures.
2016-05-04 23:35:55 +02:00
Ludovic Courtès b13cf17fcf
gnu: java-qdox: Escape "@" in description.
* gnu/packages/java.scm (java-qdox-1.12)[description]: Use "@@tag", not
"@tag".
2016-05-04 23:35:55 +02:00
Ludovic Courtès 4d9ed58498
build: Preserve stderr for shell tests.
Fixes a regression introduced in
a9edb211e7 where the .log files of the .sh
tests would not contain stderr.

* build-aux/test-env.in: Redirect stderr only when --quiet-stderr is
passed.
* Makefile.am (SCM_LOG_DRIVER): Add --quiet-stderr.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 958dd3ce68
utils: Move combinators to (guix combinators).
* guix/utils.scm (compile-time-value, memoize, fold2)
(fold-tree, fold-tree-leaves): Move to...
* guix/combinators: ... here.  New file.
* tests/utils.scm ("fold2, 1 list", "fold2, 2 lists")
(fold-tree tests): Move to...
* tests/combinators.scm: ... here.  New file.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* gnu/packages.scm, gnu/packages/bootstrap.scm,
gnu/services/herd.scm, guix/build-system/gnu.scm,
guix/build-system/python.scm, guix/derivations.scm,
guix/gnu-maintenance.scm, guix/import/elpa.scm,
guix/scripts/archive.scm, guix/scripts/build.scm,
guix/scripts/graph.scm, guix/scripts/lint.scm,
guix/scripts/size.scm, guix/scripts/substitute.scm,
guix/serialization.scm, guix/store.scm, guix/ui.scm: Adjust imports
accordingly.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 4b6fa8b339
utils: Remove 'split'.
This procedure was redundant with SRFI-1's 'break'.

* guix/utils.scm (split): Remove.
* tests/utils.scm ("split, element is in list")
("split, element is not in list"): Remove.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 6aaf3ea62d
environment: Use 'break' instead of 'split'.
* guix/scripts/environment.scm (parse-args): Use 'break' instead of
'split'.
2016-05-04 23:35:55 +02:00
Ludovic Courtès 8bf92e3904
services: herd: Move UI handling to 'guix system'.
This makes (gnu services herd) independent of (guix ui).

* gnu/services/herd.scm (&shepherd-error, &service-not-found-error)
(&action-not-found-error, &action-exception-error)
(&unknown-shepherd-error): New error condition types.
(report-action-error): Remove.
(raise-shepherd-error): New procedure.
(display-message): Do not use 'info' and '_'.
(invoke-action): Use 'raise-shepherd-error' instead of
'report-action-error'.  Do not use 'warning'.
(current-services): Do not use 'warning'.
* guix/scripts/system.scm (with-shepherd-error-handling): New macro.
(report-shepherd-error, call-with-service-upgrade-info): New
procedures.
(upgrade-shepherd-services): Use it.
2016-05-04 23:35:55 +02:00
Alex Kost af5640d1dd gnu: tvtime: Update to 1.0.10.
* gnu/packages/tv.scm (tvtime): Update to 1.0.10.
[source]: Remove patches.
[inputs]: Add 'alsa-lib'.
* gnu/packages/patches/tvtime-gcc41.patch,
gnu/packages/patches/tvtime-pngoutput.patch,
gnu/packages/patches/tvtime-videodev2.patch,
gnu/packages/patches/tvtime-xmltv.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2016-05-04 23:08:39 +03:00
Alex Kost 41447b3199 gnu: libcue: Update to 2.1.0.
* gnu/packages/cdrom.scm (libcue): Update to 2.1.0.
[build-system]: Use 'cmake-build-system' (the upstream moved to it).
[native-inputs]: Add 'bison' and 'flex'.
2016-05-04 23:08:39 +03:00
Alex Kost ee5f1e5204 Update .mailmap.
* .mailmap: Add new entries for Danny Milosavljevic, Nils Gillmann and
  Raymond Nicholson.
2016-05-04 23:08:39 +03:00
Efraim Flashner 8c3e9a6a8d
gnu: gnupg: Update to 2.1.12.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.12.
[source]: Remove patch.
* gnu/packages/patches/gnupg-simple-query-ignore-status-messages.patch:
Remove file.
* gnu/local.mk (dist_patch_DATA): Remove reference.
2016-05-04 22:20:45 +03:00
Jelle Licht cbb6239bed
gnu: jemalloc: Update to 4.1.0.
* gnu/packages/jemalloc.scm (jemalloc): Upodate to 4.1.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-05-04 21:47:04 +03:00
Mark H Weaver 8c15e084fe gnu: imlib2: Update to 1.4.9 [fixes CVE-2011-5326, CVE-2016-{3993,3994}].
* gnu/packages/image.scm (imlib2): Update to 1.4.9.
[source]: Remove patch.
* gnu/packages/patches/imlib2-CVE-2016-4024.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-05-04 13:51:48 -04:00
David Thompson d663e5e600
gnu: imagemagick: Update to 6.9.3-10.
Fixes CVE-2016–3714.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.3-10.
[source]: Remove patch.
* gnu/packages/patches/imagemagick-test-segv.patch: Delete.
* gnu/local.mk (dist_patch_DATA): Remove patch file from distribution.
2016-05-04 13:22:52 -04:00
Mark H Weaver 4e9d04a80b Merge branch 'master' into gnome-updates 2016-05-04 11:43:50 -04:00
Andy Wingo 11057c4b58 gnu: bitlbee: Incorporate upstream pre-release patches.
* gnu/packages/messaging.scm (%bitlbee-buddy-nick-change-patch):
(%bitlbee-always-use-nicks-patch): New variables.
(bitlbee): Add new patches.
2016-05-04 17:00:02 +02:00
Andy Wingo ac47ad99a4 gnu: bitlbee: Update to 3.4.2.
* gnu/packages/messaging.scm (bitlbee): Update to 3.4.2.
2016-05-04 17:00:02 +02:00
Ricardo Wurmus 83b84fa812 gnu: edirect: Update to 4.10.
* gnu/packages/bioinformatics.scm (edirect): Update to 4.10.
2016-05-04 16:45:43 +02:00
Efraim Flashner 54df75582f
gnu: Add pinentry-qt.
* gnu/packages/gnupg.scm (pinentry-qt): New variable.
2016-05-04 12:57:23 +03:00
Efraim Flashner c607b7011c
gnu: Add pinentry-tty.
* gnu/packages/gnupg.scm (pinentry-tty): New variable.
[arguments]: Add pinentry-tty flag.
(pinentry-gtk2): Inherit from pinentry-tty.
[inputs]: Use gtk+-2, glib for pinentry-gtk2 only.
[description]: Modify description based on inputs.
2016-05-04 12:57:23 +03:00
Efraim Flashner 940f8d39a5
gnu: pinentry: Rename to pinentry-gtk2.
* gnu/packages/gnupg.scm (pinentry): Rename to pinentry-gtk2.
Define pinentry as pinentry-gtk2.
2016-05-04 12:57:23 +03:00
Ludovic Courtès 0a0884c991
gnu: cross: Fix typo.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Remove erroneous
'else' introduced in efc4eb1475.
2016-05-03 23:43:49 +02:00
Roel Janssen 1b39a196f8
gnu: Add nlopt.
* gnu/packages/maths.scm (nlopt): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-03 21:57:05 +02:00
Andreas Enge 5ef819cc01 gnu: redeclipse: Rename to red-eclipse.
* gnu/packages/games.scm (redeclipse): Rename to...
(red-eclipse): ...this.

This is a follow-up to commit 5b8a85431d,
which changed only the name field of the package.
2016-05-03 21:25:31 +02:00
Kei Yamashita 5b8a85431d gnu: Rename redeclipse package to red-eclipse.
* gnu/packages/games.scm (redeclipse): Rename to...
(red-eclipse): ...this.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-05-03 19:48:15 +02:00
Mark H Weaver 3c1d2981ff gnu: openssl: Replace with 1.0.2h [security fixes].
Fixes CVE-2016-{2105,2106,2107,2109,2176}.

* gnu/packages/tls.scm (openssl)[replacement]: New field.
(openssl/fixed): New variable.
2016-05-03 13:31:50 -04:00
Ludovic Courtès e760ec4187
gnu: gcc: Add 6.1.0.
* gnu/packages/gcc.scm (gcc-6): New variable.
* gnu/packages/commencement.scm (gcc-toolchain-6): New variable.
2016-05-03 17:45:29 +02:00
Jan Nieuwenhuizen efc4eb1475
gnu: cross: Use CROSS_*_INCLUDE_PATH for system headers.
* gnu/packages/patches/gcc-cross-environment-variables.patch: Also use CROSS_
variants: CROSS_C_INCLUDE_PATH, CROSS_CPLUS_INCLUDE_PATH,
CROSS_OBJC_INCLUDE_PATH, CROSS_OBJCPLUS_INCLUDE_PATH to be used for system
libraries, see
https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00620.html.
* gnu/packages/cross-base.scm (cross-gcc, cross-gcc-arguments, cross-libc):
Use CROSS_*_INCLUDE_PATH (WAS: CPATH).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-03 17:45:29 +02:00
Ludovic Courtès a8f3424b25
syscalls: Wrap TCSA* constants in 'tcsetattr-action' macro.
* guix/build/syscalls.scm (tcsetattr-action): New macro.
(TCSANOW, TCSADRAIN, TCSAFLUSH): Remove.
(tcsetattr): Adjust docstring accordingly.
* tests/syscalls.scm ("tcsetattr"): Adjust accordingly.
2016-05-03 17:45:29 +02:00
Mark H Weaver 0a17fd7c0b gnu: wpa-supplicant: Add fixes for CVE-2016-{4476,4477}.
* gnu/packages/patches/wpa-supplicant-CVE-2016-4476.patch,
gnu/packages/patches/wpa-supplicant-CVE-2016-4477-pt1.patch,
gnu/packages/patches/wpa-supplicant-CVE-2016-4477-pt2.patch,
gnu/packages/patches/wpa-supplicant-CVE-2016-4477-pt3.patch,
gnu/packages/patches/wpa-supplicant-CVE-2016-4477-pt4.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (wpa-supplicant-minimal)[source]: Add patches.
2016-05-03 09:39:59 -04:00
Roel Janssen 4c6aa73b8f
gnu: Add 4store.
* gnu/packages/databases.scm (4store): New variable.
* gnu/packages/patches/4store-fix-buildsystem.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch file entry.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-02 14:45:57 -04:00
Leo Famulari 3854f3d7e4
gnu: ocaml: Fix CVE-2015-8869.
* gnu/packages/patches/ocaml-CVE-2015-8869.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ocaml.scm (ocaml): Use it.
2016-05-02 14:30:49 -04:00
Ricardo Wurmus 73124d3422 gnu: bristol: Do not check for JACK with ldd.
* gnu/packages/music.scm (bristol)[arguments]: Add build phase to
  disable runtime check for JACK.
2016-05-02 20:02:20 +02:00
Ricardo Wurmus 6855b34754 gnu: frescobaldi: Add MIDI support.
* gnu/packages/music.scm (frescobaldi)[inputs]: Add portmidi and
  python-pyportmidi.
2016-05-02 20:02:20 +02:00
Ricardo Wurmus f65d59fc8e gnu: Add python-pyportmidi.
* gnu/packages/music.scm (python-pyportmidi): New variable.
2016-05-02 20:02:20 +02:00
Ricardo Wurmus aacb52fb0f gnu: Add portmidi.
* gnu/packages/music.scm (portmidi): New variable.
* gnu/packages/patches/portmidi-modular-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2016-05-02 20:02:20 +02:00
Mathieu Lirzin 62063d8546 gnu: Add reposurgeon.
* gnu/packages/version-control.scm (reposurgeon): New variable.
2016-05-02 17:58:23 +02:00
Mathieu Lirzin 4c48bf5502 gnu: powertop: Patch absolute file names.
* gnu/packages/linux.scm (powertop)[inputs]: Add kmod.
[arguments]: Patch absolute file names.
2016-05-02 17:58:23 +02:00
Ricardo Wurmus d0184f44d3 gnu: Add java-junit.
* gnu/packages/java.scm (java-junit): New variable.
2016-05-02 17:35:51 +02:00
Ricardo Wurmus 87c31a21a5 gnu: Add java-hamcrest-core.
* gnu/packages/java.scm (java-hamcrest-core): New variable.
2016-05-02 17:35:51 +02:00
Ricardo Wurmus e7e28510bb gnu: Add java-jarjar.
* gnu/packages/java.scm (java-jarjar): New variable.
2016-05-02 17:35:50 +02:00
Ricardo Wurmus 04100c3bbb gnu: Add java-qdox-1.12.
* gnu/packages/java.scm (java-qdox-1.12): New variable.
2016-05-02 17:35:50 +02:00
宋文武 ad1b7d8baf gnu: yelp: Add gsettings-desktop-schemas to inputs.
* gnu/packages/gnome.scm (yelp)[inputs]: Add gsettings-desktop-schemas.
2016-05-02 22:06:47 +08:00
宋文武 0510440b4e gnu: gom: Update to 0.3.2.
* gnu/packages/gnome.scm (gom): Update to 0.3.2.
2016-05-02 22:06:47 +08:00
宋文武 d72d783301 profiles: Factor out 'manifest-lookup-package'.
* guix/profiles.scm (manifest-lookup-package): New procedure.
(gtk-icon-themes, xdg-desktop-database, xdg-mime-database): Use it.
2016-05-02 22:06:46 +08:00
宋文武 7236045314 gnu: gnome: Add desktop-file-utils.
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Add desktop-file-utils.
2016-05-02 22:06:46 +08:00
宋文武 6c06b1fdac profiles: Add xdg-mime-database hook.
* guix/profiles.scm (xdg-mime-database): New function.
(%default-profile-hooks): Add it.
2016-05-02 22:06:46 +08:00