Commit graph

33802 commits

Author SHA1 Message Date
Christopher Baines
0d354666d3
ruby-build-system: Error or return #t from all phases.
Previously, if the tests didn't pass, the check phase would evaluate to #f,
but the package would be built sucessfully. This changes all the phases to
raise exceptions if errors are encountered, and return #t otherwise.

This involves using invoke rather than system*, so that exceptions are raised
if the program exits with a status other than 0, and also returning #t at the
end of functions.

* gnu/build/ruby-build-system.scm (unpack): Use invoke rather than system*,
and return #t at the end.
(build, check): Use invoke rather than system*.
(install): Remove the use of "and", and rewrite the error handling to raise an
exception.
(wrap): Return #t.
2018-07-15 22:19:39 +01:00
Efraim Flashner
ae608622f3
gnu: tor.scm: Fix copyright line.
This is a follow-up to 2c6f0438d8.
2018-07-15 23:14:03 +03:00
Efraim Flashner
5041d03a41
gnu: libraw: Use libjpeg@9.
* gnu/packages/photo.scm (libraw)[inputs]: Replace libjpeg@8 with
libjpeg.
2018-07-15 23:00:25 +03:00
Efraim Flashner
0998278519
gnu: openimageio: Use libjpeg@9.
* gnu/packages/graphics.scm (openimageio)[inputs]: Replace libjpeg@8
with libjpeg.
2018-07-15 22:59:26 +03:00
Efraim Flashner
1cd968e854
gnu: openimageio: Don't use unstable tarball.
* gnu/packages/graphics.scm (openimageio)[source]: Download the source
from a git repository.
2018-07-15 22:59:26 +03:00
Efraim Flashner
22f003880c
gnu: podofo: Update to 0.9.6.
* gnu/packages/pdf.scm (podofo): Update to 0.9.6.
[native-inputs]: Add cppunit, pkg-config.
[inputs]: Replace libjpeg@8 with libjpeg. Order alphabetically.
2018-07-15 22:59:26 +03:00
Efraim Flashner
74f99ee42a
gnu: gimp: Use libjpeg@9.
* gnu/packages/gimp.scm (gimp)[inputs]: Replace libjpeg@8 with libjpeg.
2018-07-15 22:59:25 +03:00
Efraim Flashner
cb570156b6
gnu: gegl: Use libjpeg@9.
* gnu/packages/gimp.scm (gegl)[inputs]: Replace libjpeg@8 with libjpeg.
2018-07-15 22:59:25 +03:00
Efraim Flashner
080e11b48e
gnu: rust@1.25: Fix build on aarch64-linux.
* gnu/packages/rust.scm (rust@1.25)[arguments]: Replace inherited custom
'patch-aarch64-test phase. Make sure all phases return #t.
2018-07-15 22:59:25 +03:00
Efraim Flashner
4f963b6f29
gnu: rust@1.19: Don't make public.
* gnu/packages/rust.scm (rust@1.19): Don't make it a public variable.
2018-07-15 22:59:25 +03:00
Efraim Flashner
97dd1b154b
gnu: postgresql@9.6: Update to 9.6.9.
* gnu/packages/databases.scm (postgresql@9.6): Update to 9.6.9.
2018-07-15 22:59:24 +03:00
Efraim Flashner
71e304ed28
gnu: emacs: Build with libjpeg@9.
* gnu/packages/emacs.scm (emacs)[inputs]: Replace libjpeg@8 with
libjpeg.
2018-07-15 22:59:21 +03:00
Efraim Flashner
2c6f0438d8
gnu: tor: Update to 0.3.3.9.
* gnu/packages/tor.scm (tor): Update to 0.3.3.9.
2018-07-15 21:16:32 +03:00
Efraim Flashner
6c10675928
gnu: python-xenon: Update to 0.5.4.
* gnu/packages/python.scm (python-xenon): Update to 0.5.4.
[arguments]: Remove part of custom 'patch-test-requirements phase.
2018-07-14 23:19:42 +03:00
Efraim Flashner
5743ba4979
gnu: debootstrap: Update to 1.0.106.
* gnu/packages/debian.scm (debootstrap): Update to 1.0.106.
[source]: Download from git repository.
[home-page]: Update to new home-page.
2018-07-14 22:51:34 +03:00
Efraim Flashner
f52ddd6236
gnu: gnu-pw-mgr: Update to 2.3.3.
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 2.3.3.
2018-07-14 22:10:09 +03:00
Efraim Flashner
0a34402b19
Merge remote-tracking branch 'origin/master' into qt-updates 2018-07-14 20:56:03 +03:00
Ben Woodcroft
5908818e30
gnu: python-h5py: Update to 2.8.0.
* gnu/packages/python.scm (python-h5py): Update to 2.8.0.
2018-07-15 00:43:57 +10:00
Julien Lepiller
daf823ad27
gnu: services: Export virtlog-configuration.
* gnu/services/virtualization.scm (virtlog-configuration): Export.
2018-07-14 13:19:37 +02:00
Mark H Weaver
f3c9a5d2d4
gnu: linux-libre: Update to 4.17.6.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.17.6.
(%linux-libre-hash): Update hash.
2018-07-14 01:44:54 -04:00
Mark H Weaver
be9bab8654
gnu: linux-libre@4.14: Update to 4.14.55.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.55.
(%linux-libre-4.14-hash): Update hash.
2018-07-14 01:44:01 -04:00
Mark H Weaver
16e2bb5cd5
gnu: linux-libre@4.9: Update to 4.9.112.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.112.
2018-07-14 01:43:11 -04:00
Mark H Weaver
df74221a22
gnu: linux-libre@4.4: Update to 4.4.140.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.140.
2018-07-14 01:42:20 -04:00
Kei Kebreau
a49eb85c34
gnu: Add inchi.
* gnu/packages/chemistry.scm (inchi): New variable.
2018-07-13 22:21:45 -04:00
Leo Famulari
27f7cbc91d
utils: Really clean up temporary directories.
Fixes <https://bugs.gnu.org/32126>.

* guix/utils.scm (call-with-temporary-directory): Use DELETE-FILE-RECURSIVELY
instead of RMDIR.
2018-07-13 17:33:45 -04:00
Leo Famulari
92bcccc51f
tests: Don't rely on temporary directories being permanent.
* tests/gexp.scm ("gexp->script #:module-path",
"program-file #:module-path"): Use run-with-store.
2018-07-13 17:33:45 -04:00
Julien Lepiller
82da291abe
gnu: faba-icon-theme: Fix build.
* gnu/packages/gnome.scm (faba-icon-theme)[arguments]: Disable running
gtk-update-icon-cache after installation.
2018-07-13 20:52:26 +02:00
Jan Nieuwenhuizen
00c86a8884
gnu: mes: Update to 0.16.1.
* gnu/packages/mes.scm (mes): Update to 0.16.1.
2018-07-13 19:43:38 +02:00
Julien Lepiller
34aff57c82
gnu: antlr3: Fix compilation.
* gnu/packages/java.scm (antlr3)[arguments]: Fix 'generate-grammar' phase.
2018-07-13 18:39:28 +02:00
Theodoros Foradis
a811bca289
gnu: Add miniupnpc-monero.
* gnu/packages/upnp.scm (monero-miniupnpc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-13 17:28:40 +02:00
Theodoros Foradis
f6c8771463
gnu: Add cppzmq.
* gnu/packages/networking.scm (cppzmq): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-13 17:28:40 +02:00
Ludovic Courtès
bca302c67a
pull: Display new/upgraded packages upon completion.
* guix/scripts/pull.scm (display-profile-news): New procedure.
(build-and-install): Call it.
(display-new/upgraded-packages): Add #:heading and honor it.
2018-07-13 17:28:40 +02:00
Ludovic Courtès
dc733e6a12
pull: Use (guix inferior) to display new and upgraded packages.
* guix/scripts/pull.scm (display-profile-content): Call
'display-generation'.
(display-new/upgraded-packages, display-profile-content-diff): New
procedures.
(process-query)[list-generation]: Remove.
[list-generations]: New procedure.
Adjust accordingly.
* doc/guix.texi (Invoking guix pull): Update example of '-l'.
2018-07-13 17:28:40 +02:00
Ludovic Courtès
2ca299caf6
Add (guix inferior) and (guix scripts repl).
* guix/inferior.scm, guix/scripts/repl.scm, tests/inferior.scm: New
files.
* Makefile.am (MODULES): Add 'guix/scripts/repl.scm' and
'guix/inferior.scm'.
(SCM_TESTS): Add 'tests/inferior.scm'.
* doc/guix.texi (Invoking guix repl): New node.
2018-07-13 17:28:39 +02:00
Ludovic Courtès
bc6e291ef0
guix package: Use relative symlinks to generations.
Reported by Roel Janssen <roel@gnu.org>
at <https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00036.html>.

* guix/profiles.scm (switch-to-generation): Use (basename generation) as
the symlink target.
* guix/scripts/package.scm (build-and-use-profile): Likewise,
use (basename name) as the symlink target.
* tests/guix-package.sh: Adjust --roll-back test accordingly.  Add
explicitly test with '-p foo/prof'.
2018-07-13 17:28:39 +02:00
Oleg Pykhalov
0bc2d3e42b
gnu: Add ddclient.
* gnu/packages/dns.scm (ddclient): New variable.
2018-07-13 17:49:37 +03:00
Oleg Pykhalov
ffc3fcade3
git: Call 'url-cache-directory' outside 'update-cached-checkout'.
* guix/git.scm (update-cached-checkout): Call 'url-cache-directory' in
'cache-directory' key argument.
(latest-repository-commit): Call 'url-cache-directory'.
2018-07-13 16:24:48 +03:00
Danny Milosavljevic
e29067d22e
import: hackage: Fix typo.
* guix/import/cabal.scm (cabal-custom-setuo-name): Rename to...
(cabal-custom-setup-name): ...this.
2018-07-13 15:23:40 +02:00
Julien Lepiller
e3ebfe6ca0
gnu: bind: Update to 9.12.2.
* gnu/packages/dns.scm (bind): Update to 9.12.2.
* gnu/packages/patches/bind-CVE-2018-5738.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-07-13 15:01:08 +02:00
Julien Lepiller
d4b8fa5d3a
gnu: hunspell-dict-fr: Update to 6.2.
* gnu/packages/libreoffice.scm (dicollecte-french-dictionary): Update to 6.2.
2018-07-13 14:16:07 +02:00
Arun Isaac
9286c29504
etc: snippets: Add guix-commit-message-use-https-home-page.
* etc/snippets/text-mode/guix-commit-message-use-https-home-page: New file.
* doc/contributing.texi (The Perfect Setup): Document new snippet.
2018-07-13 12:45:11 +05:30
Arun Isaac
202befb4ae
etc: snippets: Add new build systems to package snippet.
* etc/snippets/scheme-mode/guix-package: Add android-ndk-build-system and
scons-build-system as possibilities for the build-system field.
2018-07-13 09:27:31 +05:30
Leo Famulari
b11844034d
gnu: curl: Update replacement to 7.61.0 [fixes CVE-2018-0500].
* gnu/packages/curl.scm (curl)[replacement]: Update to 7.61.0.
(curl-7.60.0): Replace with ...
(curl-7.61.0): ... new variable.
2018-07-12 18:51:22 -04:00
Marius Bakke
49b6dc2b4e
Merge branch 'staging' 2018-07-13 00:25:45 +02:00
Marius Bakke
7519dc95c7
gnu: xapian: Fix notmuch test failure.
* gnu/packages/patches/xapian-revert-5489fb2f8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/search.scm (xapian)[source](patches): Use it.
2018-07-13 00:12:35 +02:00
Tim Gesthuizen
9866825961
gnu: emacs-biblio: Add missing dependencies.
* gnu/packages/emacs.scm (emacs-biblio)[propagated-inputs]: Add emacs-seq,
  emacs-dash and emacs-let-alist.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-13 00:09:26 +02:00
Vasile Dumitrascu
f6a9b345a7
gnu: faba-icon-theme: Switch to meson-build-system.
* gnu/packages/gnome.scm (faba-icon-theme):
[build-system]: Switch to meson-build-system.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-13 00:08:56 +02:00
Vasile Dumitrascu
2eee7ee3ec
gnu: faba-icon-theme: Update to 4.3.
* gnu/packages/gnome.scm (faba-icon-theme) Update to 4.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-13 00:08:55 +02:00
Vasile Dumitrascu
105a362578
gnu: moka-icon-theme: Update to 5.4.0.
* gnu/packages/gnome.scm (moka-icon-theme): Update to 5.4.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-13 00:08:55 +02:00
Rouby Pierre-Antoine
d2c5e91278
gnu: Add go-gopkg-in-yaml-v2.
* gnu/packages/golang.scm (go-gopkg-in-yaml-v2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-07-13 00:08:55 +02:00