Commit Graph

47914 Commits

Author SHA1 Message Date
Ludovic Courtès a725504a3a
ui: Add 'current-message-language'.
* guix/ui.scm (%default-message-language): New variable.
(current-message-language): New procedure.
2019-09-23 10:38:44 +02:00
Ludovic Courtès 9719e8d37a
channels: Allow news entries to refer to a tag.
Suggested by Ricardo Wurmus <rekado@elephly.net>.

* guix/channels.scm (<channel-news-entry>)[tag]: New field.
(sexp->channel-news-entry): Accept either 'commit' or 'tag' in 'entry'
forms.
(resolve-channel-news-entry-tag): New procedure.
(channel-news-for-commit): Move 'with-repository' form one level
higher.  Call 'resolve-channel-news-entry-tag' on all the news entries.
* guix/tests/git.scm (populate-git-repository): Add clause for 'tag'.
* tests/channels.scm ("channel-news, one entry"): Create a tag and add
an entry with a tag.  Check that the tag is resolved and also visible in
the <channel-news-entry> record.
* doc/guix.texi (Channels): Mention tags in news entries.
2019-09-23 10:38:44 +02:00
Ludovic Courtès 8ba7fd3cd6
channels: Add support for a news file.
* guix/channels.scm (<channel-metadata>)[news-file]: New field.
(read-channel-metadata): Set the 'news-file' field.
(read-channel-metadata-from-source): Likewise.
(<channel-news>, <channel-news-entry>): New record types.
(sexp->channel-news-entry, read-channel-news)
(channel-news-for-commit): New procedures.
* guix/tests/git.scm (populate-git-repository): For 'add', allow
CONTENTS to be a procedure.
* tests/channels.scm ("channel-news, no news")
("channel-news, one entry"): New tests.
* doc/guix.texi (Channels): Document it.
2019-09-23 10:38:44 +02:00
Ludovic Courtès 873f6f1334
git: Add 'commit-difference'.
* guix/git.scm (commit-closure, commit-difference): New procedures.
* guix/tests/git.scm, tests/git.scm: New files.
* Makefile.am (dist_noinst_DATA): Add guix/tests/git.scm.
(SCM_TESTS): Add tests/git.scm.
2019-09-23 10:38:43 +02:00
Ludovic Courtès a78dcb3d59
git: 'update-cached-checkout' avoids network access when unnecessary.
* guix/git.scm (reference-available?): New procedure.
(update-cached-checkout): Avoid call to 'remote-fetch' when REPOSITORY
already contains REF.
2019-09-23 10:38:43 +02:00
Ludovic Courtès 961b95c985
pull: '--news' shows the list of channels added or removed.
* guix/scripts/pull.scm (display-channel, channel=?)
(display-channel-news, display-news): New procedures.
(process-query): Call 'display-news' instead of 'display-profile-news'.
2019-09-23 10:38:43 +02:00
Efraim Flashner acedaec798
gnu: wl-clipboard: Update to 2.0.0_beta2.
* gnu/packages/xdisorg.scm (wl-clipboard): Update to 2.0.0_beta2.
2019-09-23 10:21:02 +03:00
Efraim Flashner 4d70a8fe1b
gnu: gdb-8.3: Update to 8.3.1.
* gnu/packages/gdb.scm (gdb-8.3): Update to 8.3.1.
2019-09-23 10:05:59 +03:00
Efraim Flashner 23cc2793e1
gnu: datamash: Update to 1.5.
* gnu/packages/datamash.scm (datamash): Update to 1.5.
2019-09-23 09:38:50 +03:00
Brian Leung d5fcb61ea7
gnu: emacs-suggest: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-suggest): Enable tests.
2019-09-23 06:27:04 +02:00
Brian Leung 4455def416
gnu: emacs-helpful: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-helpful): Enable tests.
2019-09-23 06:19:01 +02:00
Brian Leung 48efcdafd8
gnu: emacs-ht: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-ht): Enable tests.
2019-09-23 06:15:30 +02:00
Brian Leung 97d4dab0a6
gnu: emacs-tco-el: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-tco-el): Enable tests.
2019-09-22 22:37:22 +02:00
Brian Leung 08a36df874
gnu: emacs-loop: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-loop): Enable tests.
2019-09-22 22:36:20 +02:00
Brian Leung 99b63bf820
gnu: emacs-elisp-refs: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-elisp-refs): Enable tests.
2019-09-22 22:33:10 +02:00
Brian Leung fc60a8b714
gnu: emacs-realgud: Update to 1.5.1.
* gnu/packages/emacs-xyz.scm (emacs-realgud): Update to 1.5.1.
2019-09-22 22:24:31 +02:00
Brian Leung cbf4481a59
gnu: emacs-company-lsp: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-company-lsp): Enable tests.
2019-09-22 21:32:47 +02:00
Efraim Flashner 0920b41c1d
gnu: js-datatables: Update to 1.10.19.
* gnu/packages/javascript.scm (js-datatables): Update to 1.10.19.
2019-09-22 21:20:07 +03:00
Tobias Geerinckx-Rice b5677e61bf
gnu: parallel: Update to 20190922.
* gnu/packages/parallel.scm (parallel): Update to 20190922.
2019-09-22 20:00:57 +02:00
John Soo 4cd9de6068
gnu: Add freecad.
* gnu/packages/engineering.scm (freecad): New variable.
2019-09-22 08:58:20 +02:00
John Soo 704853fb7a
gnu: Add libmedfile.
* gnu/packages/engineering.scm (libmedfile): New variable.
2019-09-22 08:47:53 +02:00
John Soo 2003e837f4
gnu: Add libarea.
* gnu/packages/engineering.scm (libarea): New variable.
2019-09-22 08:47:52 +02:00
John Soo 2895a87fbf
gnu: Add libspnav.
* gnu/packages/engineering.scm (libspnav): New variable.
2019-09-22 08:47:52 +02:00
John Soo 2ea8b51a71
gnu: Add python-pyside-2-tools.
* gnu/packages/qt.scm (python-pyside-2-tools): New variable.
2019-09-22 08:47:52 +02:00
John Soo f1c4dbfa55
gnu: Add python-pyside-2.
* gnu/packages/qt.scm (python-pyside-2): New variable.
2019-09-22 08:47:52 +02:00
John Soo 8b5107d209
gnu: Add libcxx-6
* gnu/packages/llvm.scm (libcxx-6): New variable.
2019-09-22 08:47:52 +02:00
John Soo 37a3abb1c6
gnu: Add python-shiboken-2.
* gnu/packages/qt.scm (python-shiboken-2): New variable.
2019-09-22 08:47:51 +02:00
John Soo f36617cbf1
gnu: Add coin3D.
* gnu/packages/graphics.scm (coin3D): New variable.
2019-09-22 08:47:45 +02:00
Brian Leung 4b48101012
gnu: emacs-company-lua: Update to 0.1-2.29f6819.
* gnu/packages/emacs-xyz.scm (emacs-company-lua): Update to 0.1-2.29f6819.
[arguments]: Include extra directory.
2019-09-22 07:03:43 +02:00
Brian Leung c5c197cf25
gnu: emacs-crux: Update to 0.3.0-2.308f17d.
* gnu/packages/emacs-xyz.scm (emacs-crux): Update to 0.3.0-2.308f17d.
2019-09-22 07:03:12 +02:00
Brian Leung ee0a392fa0
gnu: emacs-lispy: Update included files.
* gnu/packages/emacs-xyz.scm (emacs-lispy): Update included files.
2019-09-22 05:00:49 +02:00
Vagrant Cascadian aaeb2b34cb
gnu: diffoscope: Adjust native-inputs for architecture limitations.
* gnu/packages/diffoscope (diffoscope)[native-inputs]: Only add ghc on
  x86_64-linux and i686-linux.
  Only add openjdk and enjarify on x86_64-linux.
2019-09-21 15:35:53 -07:00
Tobias Geerinckx-Rice 265f30c9c4
gnu: mutt: Update to 1.12.2.
* gnu/packages/mail.scm (mutt): Update to 1.12.2.
2019-09-21 23:58:39 +02:00
Brian Leung 71ace914cf
gnu: emacs-attrap: Update to 1.0-2.18cd1f7.
* gnu/packages/emacs-xyz.scm (emacs-attrap): Update to 1.0-2.18cd1f7.
2019-09-21 22:57:45 +02:00
Brian Leung 2f587b3f97
gnu: emacs-github-review: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-github-review): Enable tests.
2019-09-21 22:31:48 +02:00
Brian Leung e13b354a77
gnu: emacs-elfeed: Update to 3.2.0.
* gnu/packages/emacs-xyz.scm (emacs-elfeed): Update to 3.2.0.
2019-09-21 20:35:04 +02:00
Tobias Geerinckx-Rice d47fa82dfc
gnu: libgnomekbd: Don't use NAME in source URI.
* gnu/packages/gnome.scm (libgnomekbd)[source]: Hard-code NAME.
2019-09-21 19:17:53 +02:00
Tobias Geerinckx-Rice 10097e585e
gnu: libgnomekbd: Update to 3.26.1.
* gnu/packages/gnome.scm (libgnomekbd): Update to 3.26.1.
2019-09-21 19:17:52 +02:00
Tobias Geerinckx-Rice ca2ead31d2
gnu: wxmaxima: Update to 19.09.0.
* gnu/packages/maths.scm (wxmaxima): Update to 19.09.0.
2019-09-21 19:17:52 +02:00
Christopher Baines b64fa7f062
services: virtualization: Change libvirtd use syslog by default.
As defaulting by stderr, along with the shepherd service not directing the
output to a log file makes seeing the output difficult, compared to logging to
syslog.

* gnu/services/virtualization.scm (libvirt-configuration)[log-outputs]: Change
default from "3:stderr" to "3:syslog:libvirtd".
2019-09-21 17:40:04 +01:00
Christopher Baines c219104c78
gnu: guile-email: Add phase to patch the module directory.
Otherwise the .go files appear within share, and Guile doesn't find them. With
this patch they appear in lib within the output. One thing this means is that
stack traces include the filenames.

* gnu/packages/guile-xyz.scm (guile-email)[arguments]: Add 'patch-module-dir
phase.
2019-09-21 17:27:22 +01:00
Ludovic Courtès 660dbe6564
guix package: '--show' ignores deprecated packages.
* guix/scripts/package.scm (process-query) <'show>: Remove superseded
packages.
* tests/guix-package-aliases.sh: Add test.
2019-09-21 16:48:36 +02:00
zimoun aeb51370da
guix package: Add 'guix show' alias.
* guix/scripts/show.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* tests/guix-package-aliases.sh: Add test.
* doc/guix.texi (Invoking guix package): Document it and use it in a example.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-21 16:48:36 +02:00
Wiktor Żelazny c1bbef6920
gnu: Add python-bibtexparser.
* gnu/packages/python-xyz.scm (python-bibtexparser): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-21 16:48:36 +02:00
Wiktor Żelazny 9ba1e308c7
gnu: Add autocutsel.
* gnu/packages/xdisorg.scm (autocutsel): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-21 16:48:36 +02:00
Alexey Abramov ad34409e85
services: dovecot: Fix predicate names for free-form fields
* gnu/services/mail.scm (free-form-fields?, free-form-args?): Change
'string' to 'string?'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-21 16:48:36 +02:00
Ludovic Courtès 7150743522
inferior: Propagate '&store-protocol-error' error conditions.
Until now '&store-protocol-error' conditions raised in the inferior
would not be correctly propagated because SRFI-35 records lack a read
syntax.

Reported at <https://bugs.gnu.org/37449>
by Carl Dong <contact@carldong.me>.

* guix/inferior.scm (port->inferior): Import (srfi srfi-34) in the inferior.
(inferior-eval-with-store): Define 'error?' and 'error-message'.  Wrap
call to PROC in 'guard'.  Check the response of INFERIOR for a
'store-protocol-error' or a 'result' tag.
* tests/inferior.scm ("inferior-eval-with-store, &store-protocol-error"):
New test.
2019-09-21 16:48:36 +02:00
Ludovic Courtès a43e9157ef
services: gdm: Ensure /var/lib/gdm is owned by "gdm".
Fixes <https://bugs.gnu.org/37423>.
Reported by Jan <tona_kosmicznego_smiecia@interia.pl>.

* gnu/services/xorg.scm (%gdm-activation): New variable.
(gdm-service-type)[extensions]: Add 'activation-service-type'.
2019-09-21 16:48:36 +02:00
Brian Leung 5122209dde
gnu: emacs-counsel-etags: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-counsel-etags): Enable tests.
2019-09-21 08:57:20 +02:00
Brian Leung 44799c9f11
gnu: emacs-rjsx-mode: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-rjsx-mode): Enable tests.
2019-09-21 08:53:43 +02:00