Commit Graph

36456 Commits

Author SHA1 Message Date
Ludovic Courtès 23784f0c33
services: udev: Don't attempt to read "modules.devname" from a container.
Fixes <https://bugs.gnu.org/32814>.
Reported by Julien Lepiller <julien@lepiller.eu>.

* gnu/services/base.scm (udev-shepherd-service)[start]: Check whether
DIRECTORY exists and skip 'make-static-device-nodes' call if it doesn't.
2018-09-26 23:40:37 +02:00
Ludovic Courtès a56c4eb8f4
services: shepherd: Add workaround for 0.5.0 in containers.
* gnu/services/shepherd.scm (%containerized-shepherd-service): New service.
* gnu/system.scm (essential-services): Use it when CONTAINER? is true.
2018-09-26 23:40:36 +02:00
Ludovic Courtès 6f03b08089
services: dhcp-client: Use 'read-pid-file'.
* gnu/services/networking.scm (dhcp-client-service-type)[start]: Use
'read-pid-file' instead of the custom and possibly infinite loop.
2018-09-26 23:40:36 +02:00
Ludovic Courtès 2a5f2b1f75
gnu: Remove incorrect Emacs package deprecations.
This is a followup to 5c8031ff73.  An
upgrade would wrongfully report things like:

  guix package: package 'emacs-typo' has been superseded by 'emacs-typo'
  guix package: package 'emacs-org-tree-slide' has been superseded by 'emacs-org-tree-slide'
  guix package: package 'emacs-emms' has been superseded by 'emacs-emms'

* gnu/packages/emacs.scm (flycheck, emms, typo, org-tree-slide)
(butler): Remove.
(emacs-emms-mode-line-cycle)[propagated-inputs]: Use EMACS-EMMS instead
of EMMS.
2018-09-26 23:40:36 +02:00
Carlo Zancanaro 4245ddcbc9
guix system: Load all services on reconfigure, not just stopped ones.
This uses the 'replacement' service slot introduced in the Shepherd
version 0.5.0.

* gnu/services/shepherd.scm (shepherd-service-upgrade): Return a list of
  services that need to be restarted to complete their upgrade.
* guix/scripts/system.scm (call-with-service-upgrade-info): Rename an internal
  variable to reflect the change to shepherd-service-upgrade.
  (upgrade-shepherd-services): Call 'load-services/safe' instead of
  'load-services'.  Print a message about services that need to be
  manually restarted.
* gnu/services/herd.scm (load-services/safe): New procedure.
* doc/guix.texi (Invoking guix system): Document the new behaviour.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2018-09-26 23:40:36 +02:00
Ludovic Courtès 9bd85a785f
gnu: shepherd: Update to 0.5.0.
* gnu/packages/admin.scm (shepherd): Update to 0.5.0.
2018-09-26 23:40:36 +02:00
Pierre Neidhardt 0661912827
Fix URL in emacs-magit and emacs-groovy-modes.
* gnu/packages/emacs.scm (emacs-magit)[source]: Fix URL.
* gnu/packages/emacs.scm (emacs-groovy-modes)[source]: Fix URL.
2018-09-26 10:37:51 +02:00
Mark H Weaver fe73352e80
gnu: linux-libre: Enable SHPC PCI Hotplug driver, now built-in only.
Fixes <https://bugs.gnu.org/32840>.

* gnu/packages/aux-files/linux-libre/4.18-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.18-i686.conf: Add
CONFIG_HOTPLUG_PCI_SHPC=y, plus updates made by 'make oldconfig'.
2018-09-25 23:17:20 -04:00
Mark H Weaver 6d32887937
gnu: icecat: Rebundle NSPR and NSS [security fix].
Works around <https://bugs.gnu.org/32833>.

* gnu/packages/gnuzilla.scm (icecat)[source]: In snippet, don't remove NSS.
[inputs]: Remove 'nspr' and 'nss'.
[arguments]: Remove --with-system-{nspr,nss} from configure flags.
2018-09-25 19:59:08 -04:00
Mark H Weaver 94e96f7f68
gnu: icecat: Unbundle libevent, libogg, and libvorbis.
* gnu/packages/patches/icecat-use-system-media-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/patches/icecat-avoid-bundled-libraries.patch: Add
another hunk to enable removal of libevent.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patch.  In the snippet, add
libevent, libogg, libvorbis, and libtremor to the list of bundled libraries to
remove.  Add a comment regarding theora.  Remove comments regarding unbundling
cairo, which is no longer supported.
[inputs]: Add libevent, libogg, and libvorbis.
[arguments]: Add --with-system-{libevent,ogg,vorbis} to configure flags.
Add custom bootstrap phase.  Add comments.
2018-09-25 19:59:06 -04:00
Mark H Weaver 257e324791
gnu: icecat: Unbundle graphite2 and harfbuzz.
* gnu/packages/patches/icecat-use-system-graphite2+harfbuzz.patch: New file.
* gnu/packages/patches/icecat-use-system-graphite2.patch,
gnu/packages/patches/icecat-use-system-harfbuzz.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add new patch.  Delete
bundled graphite2 and harfbuzz in snippet.
[inputs]: Add graphite2 and harfbuzz.
[arguments]: Add --with-system-{graphite2,harfbuzz} to configure flags.
2018-09-25 19:58:58 -04:00
Marius Bakke 3b97a1779f
services: Add Varnish service.
* gnu/services/web.scm (<varnish-configuration>): New record type.
(%varnish-accounts, %varnish-service-type): New variables.
(varnish-shepherd-service): New procedure.
* gnu/tests/web.scm (%varnish-vcl, %varnish-os): New variables.
(%test-varnish): New test.
* doc/guix.texi (Web Services): Document it.
2018-09-26 00:33:01 +02:00
Marius Bakke 5f33e9063b
gnu: varnish: Use absolute file name of "rm".
* gnu/packages/web.scm (varnish)[arguments]: Rename 'patch-bin-sh-phase to
'use-absolute-file-names and add substitution.
2018-09-26 00:33:01 +02:00
Marius Bakke e789b85841
gnu: Add Node LTS.
* gnu/packages/node.scm (node)[arguments]: Adjust 'patch-files' phase to
ignore missing files.
(node-lts): New public variable.
2018-09-26 00:33:01 +02:00
Marius Bakke 020c4ef18e
gnu: node: Delete expired tests.
* gnu/packages/node.scm (node)[arguments]: Delete tests for which the TLS
certificates have expired.
2018-09-26 00:33:01 +02:00
Marius Bakke a0c9ba1d64
gnu: webkitgtk: Remove obsolete phase.
* gnu/packages/webkit.scm (webkitgtk)[arguments]: Remove #:phases.
(webkitgtk-2.22)[arguments]: Don't reference removed phase.
2018-09-26 00:33:01 +02:00
Marius Bakke 9b1bb75781
gnu: gspell: Update to 1.8.1.
* gnu/packages/gnome.scm (gspell): Update to 1.8.1.
[propagated-inputs]: Change ENCHANT-1.6 to ENCHANT.
2018-09-26 00:33:01 +02:00
Marius Bakke c1d59b3c2a
gnu: enchant: Update to 2.2.3.
* gnu/packages/enchant.scm (enchant): Update to 2.2.3.
[arguments]: Add "--enable-relocatable" to #:configure-flags.
[native-inputs]: Add UNITTEST-CPP.
(enchant-1.6): New public variable.
* gnu/packages/fcitx.scm (fcitx)[inputs]: Change ENCHANT to ENCHANT-1.6.
* gnu/packages/gnome.scm (gspell): Likewise.
* gnu/packages/mate.scm (pluma): Likewise.
* gnu/packages/gtk.scm (gtkspell3)[propagated-inputs]: Likewise.
[inputs]: Remove duplicate ENCHANT.
2018-09-26 00:33:01 +02:00
Marius Bakke 9a59b29411
gnu: enchant: Propagate Glib.
* gnu/packages/enchant.scm (enchant)[inputs]: Move GLIB ...
[propagated-inputs]: ... here.  New field.
2018-09-26 00:33:01 +02:00
Marius Bakke 18ef85b64a
gnu: enchant: Don't build libenchant.a.
* gnu/packages/enchant.scm (enchant)[arguments]: Add #:configure-flags.
2018-09-26 00:33:01 +02:00
Marius Bakke 52b87855ea
gnu: enchant: Update home page.
* gnu/packages/enchant.scm (enchant)[home-page]: Set to URL mentioned on the
legacy home page.
2018-09-26 00:33:00 +02:00
Marius Bakke 280fc83512
git-download: Don't assume the working directory is the parent of ".git".
This makes it do the right thing w.r.t. git worktrees.

* guix/git-download.scm (git-file-list): Use REPOSITORY-WORKING-DIRECTORY to
locate checkout.  Rename from "top" to "workdir".
2018-09-26 00:33:00 +02:00
Ludovic Courtès 88268a34bc
pull: Try harder to use the host's X.509 certificates.
* guix/scripts/pull.scm (honor-x509-certificates): Use commonly-found
certificate bundles.
2018-09-25 18:45:51 +02:00
Ludovic Courtès f85dbc4f3b
substitute: Progress port really closes underlying port.
* guix/scripts/substitute.scm (progress-report-port): Use 'close-port'
instead of 'close-connection'.  Move 'stop' call first.
2018-09-25 18:45:50 +02:00
Ludovic Courtès cfe19684ea
progress: 'progress-reporter-report!' takes any number of arguments.
* guix/progress.scm (progress-reporter-report!): Accept an arbitrary
number of arguments and pass them to REPORT.
2018-09-25 18:45:50 +02:00
Ludovic Courtès 2e3a6250f8
gnupg: Change default keyserver.
* guix/gnupg.scm (%openpgp-key-server): Change default to
"pool.sks-keyservers.net".
2018-09-25 18:45:50 +02:00
Ludovic Courtès a7a887718a
gnu: diffoscope: Update to 102.
* gnu/packages/package-management.scm (diffoscope): Update to 102.
2018-09-25 18:45:50 +02:00
Ludovic Courtès 35f903778a
gnu: Add guile-next.
* gnu/packages/guile.scm (guile-next): Rewrite to refer to Guile 3.0.
2018-09-25 18:45:50 +02:00
Tobias Geerinckx-Rice 38e1095d82
gnu: python-wsgiproxy2: Update to 0.4.5.
* gnu/packages/python-web.scm (python-wsgiproxy2): Update to 0.4.5.
2018-09-25 11:46:54 +02:00
Tobias Geerinckx-Rice 06e6b17bd7
gnu: python-pexpect: Use INVOKE.
* gnu/packages/python.scm (python-pexpect)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-09-25 11:46:54 +02:00
Tobias Geerinckx-Rice 6d7ca74ba6
gnu: 389-ds-base: Fix build.
* gnu/packages/openldap.scm (389-ds-base)[inputs]: Add openssl.
2018-09-25 11:46:54 +02:00
Tobias Geerinckx-Rice 238d950b79
gnu: python-nose-timer: Update to 0.7.3.
* gnu/packages/check.scm (python-nose-timer): Update to 0.7.3.
2018-09-25 11:46:08 +02:00
Tobias Geerinckx-Rice d6ab1d0ac3
gnu: python-flask-login: Update to 0.4.1.
* gnu/packages/python-web.scm (python-flask-login): Update to 0.4.1.
[arguments]: Run the test suite.
[propagated-inputs]: Add python-flask.
[native-inputs]: Add test dependencies.
2018-09-25 11:46:08 +02:00
Tobias Geerinckx-Rice bbc69023d8
gnu: Add python-semantic-version.
* gnu/packages/python.scm (python-semantic-version)
(python2-semantic-version): New public variables.
2018-09-25 11:46:08 +02:00
Tobias Geerinckx-Rice 79374801d0
gnu: python-flask-login: Don't use unstable tarball.
* gnu/packages/python-web.scm (python-flask-login)[source]:
Use GIT-FETCH and GIT-FILE-NAME.
2018-09-25 11:46:08 +02:00
Ricardo Wurmus 932839ff12
gnu: ibus: Update to 1.5.19.
* gnu/packages/ibus.scm (ibus): Update to 1.5.19.
[arguments]: Add configure flags to disable Python 2 support while building
Python 3 bindings; adjust make flags; add phase prepare-ucd-dir.
[inputs]: Replace python2-pygobject with python-pygobject; replace python-2
with python.
[native-inputs]: Add unicode files.
2018-09-25 11:20:32 +02:00
Ricardo Wurmus f1ea0759f4
gnu: qjackctl: Update to 0.5.4.
* gnu/packages/audio.scm (qjackctl): Update to 0.5.4.
2018-09-25 08:18:51 +02:00
Kei Kebreau 116af86f14
gnu: octave: Add a search path for CURLOPT_CAPATH.
* gnu/packages/maths.scm (octave)[native-search-paths]: New field.
2018-09-24 21:42:12 -04:00
Tobias Geerinckx-Rice a68b451423
gnu: Add gandi.cli.
* gnu/packages/networking.scm (gandi.cli): New public variable.
2018-09-24 18:10:48 +02:00
Tobias Geerinckx-Rice e6dcf9ca5f
gnu: rename: Update to 1.00.
* gnu/packages/admin.scm (rename): Update to 1.00.
[arguments]: Wrap executable to find its own library.
2018-09-24 18:10:48 +02:00
Tobias Geerinckx-Rice 4cb4af797a
gnu: lxterminal: Update to 0.3.2.
* gnu/packages/lxde.scm (lxterminal): Update to 0.3.2.
2018-09-24 18:10:48 +02:00
Tobias Geerinckx-Rice 25ab91c85c
gnu: gloox: Update to 1.0.21.
* gnu/packages/messaging.scm (gloox): Update to 1.0.21.
2018-09-24 18:10:47 +02:00
Tobias Geerinckx-Rice b44a18c8f2
gnu: libmesode: Update to 0.9.2.
* gnu/packages/messaging.scm (libmesode): Update to 0.9.2.
2018-09-24 18:10:47 +02:00
Tobias Geerinckx-Rice c60d5a2528
gnu: libmesode: Don't use unstable tarball.
* gnu/packages/messaging.scm (libmesode)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2018-09-24 18:10:47 +02:00
Tobias Geerinckx-Rice 8ae540a2c0
gnu: ocaml-ssl: Don't use unstable tarball.
* gnu/packages/ocaml.scm (ocaml-ssl)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2018-09-24 18:10:46 +02:00
Ricardo Wurmus 000147811b
gnu: eolie: Update to 0.9.37.
* gnu/packages/gnome.scm (eolie): Update to 0.9.37.
[source]: Fetch from gitlab.
[build-system]: Use meson-build-system.
[arguments]: Remove custom phases; set #:glib-or-gtk?.
[native-inputs]: Remove meson-for-build and ninja; add glib:bin.
[inputs]: Add python-pyfxa and python-pycrypto.
2018-09-24 16:21:11 +02:00
Ricardo Wurmus f45bb3cc0f
gnu: Add python-pyfxa.
* gnu/packages/python-web.scm (python-pyfxa): New variable.
2018-09-24 16:20:51 +02:00
Ricardo Wurmus 084e14cc37
gnu: Add python-pybrowserid.
* gnu/packages/python-web.scm (python-pybrowserid): New variable.
2018-09-24 16:20:42 +02:00
Ricardo Wurmus 0750f344ec
gnu: Add python-hawkauthlib.
* gnu/packages/python-web.scm (python-hawkauthlib): New variable.
2018-09-24 16:20:32 +02:00
Ricardo Wurmus d08b325843
gnu: Add python-grequests.
* gnu/packages/python-web.scm (python-grequests): New variable.
2018-09-24 16:20:19 +02:00