Commit Graph

14346 Commits

Author SHA1 Message Date
Ludovic Courtès 7b44cae50a
services: shepherd: Add 'shepherd-service-upgrade', from 'guix system'.
* guix/scripts/system.scm (service-upgrade): Move to...
* gnu/services/shepherd.scm (shepherd-service-upgrade): ... here.
* tests/system.scm ("service-upgrade: nothing to do", "service-upgrade:
one unchanged, one upgraded, one new", "service-upgrade: service
depended on is not unloaded", "service-upgrade: obsolete services that
depend on each other"): Move to...
* tests/services.scm: ... here.  Adjust to 'service-upgrade' rename.
2016-08-31 15:44:20 +02:00
Ludovic Courtès d4f8884fdb
guix system: Do not unload services depended on.
Reported by Mark H Weaver <mhw@netris.org>
at <https://lists.gnu.org/archive/html/guix-devel/2016-08/msg01470.html>.

* guix/scripts/system.scm (service-upgrade)[live-service-required?]: New
procedure.
[obsolete?]: Use it.
* tests/system.scm ("service-upgrade: service depended on is not
unloaded", "service-upgrade: obsolete services that depend on each
other"): New tests.
2016-08-31 15:44:20 +02:00
Ludovic Courtès 6673bddc9a
services: shepherd: Parameterize 'shepherd-service-back-edges'.
* gnu/services/shepherd.scm (shepherd-service-back-edges): Add
  #:provision and #:requirement parameter.  Honor them.
2016-08-31 15:44:20 +02:00
Ludovic Courtès f20a7b8696
guix system: Use 'shepherd-service-lookup-procedure' in 'service-upgrade'.
* guix/scripts/system.scm (service-upgrade)[essential?]: SERVICE is now
a <live-service>.
[lookup-target, lookup-live, running?, stopped, obsolete?]: New
procedures.
[to-load, to-unload]: Use them.  TO-UNLOAD is now a list of
<live-service>.
(call-with-service-upgrade-info): Extract symbols from TO-UNLOAD.
* tests/system.scm ("service-upgrade: one unchanged, one upgraded, one
new"): Adjust accordingly.
2016-08-31 15:44:20 +02:00
Ludovic Courtès a5d78eb64b
services: shepherd: Add 'shepherd-service-lookup-procedure'.
* gnu/services/shepherd.scm (shepherd-service-lookup-procedure): New
procedure.
(shepherd-service-back-edges)[provision->service]: Use it.
* tests/services.scm ("shepherd-service-lookup-procedure"): New test.
2016-08-31 15:44:20 +02:00
Ludovic Courtès b8692e4696
guix system: Extract and test the service upgrade procedure.
* guix/scripts/system.scm (service-upgrade): New procedure, with code
from...
(call-with-service-upgrade-info): ... here.  Use it.
* tests/system.scm (live-service, service-upgrade): New variables.
("service-upgrade: nothing to do", "service-upgrade: one unchanged, one
upgraded, one new"): New tests.
2016-08-31 15:44:20 +02:00
Ludovic Courtès 183605c853
services: herd: Provide <live-service> objects.
* gnu/services/herd.scm (<live-service>): New record type.
(current-services): Change to return a single value: #f or a list of
<live-service>.
* guix/scripts/system.scm (call-with-service-upgrade-info): Adjust
accordingly.
* gnu/tests/base.scm (run-basic-test)["shepherd services"]: Adjust
accordingly.
2016-08-31 15:44:19 +02:00
Ludovic Courtès 1bc4d0c266
doc: Fix 'ntp-service' typo.
Reported by Vincent Legoll <vincent.legoll@gmail.com>.

* doc/guix.texi (Networking Services): Change #:name-service to
  #:servers in 'ntp-service' documentation.
2016-08-31 15:44:19 +02:00
Ricardo Wurmus c180533bb5
gnu: subread: Update to 1.5.1.
* gnu/packages/bioinformatics.scm (subread): Update to 1.5.1.
2016-08-31 15:23:03 +02:00
ng0 840224aadc
gnu: Add emacs-auto-complete.
* gnu/packages/emacs.scm (emacs-auto-complete): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-08-31 10:10:30 +03:00
ng0 9657aba4ed
gnu: Add emacs-cyberpunk-theme.
* gnu/packages/emacs.scm (emacs-cyberpunk-theme): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-08-31 10:10:30 +03:00
ng0 41392b9a3d
gnu: Add emacs-flx.
* gnu/packages/emacs.scm (emacs-flx): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-08-31 10:10:30 +03:00
Ben Woodcroft 7d57ebaa7c
gnu: aragorn: Update to 1.2.37.
* gnu/packages/bioinformatics.scm (aragorn): Update to 1.2.37.
2016-08-31 15:52:49 +10:00
Eric Bavier 0c4520d686
gnu: autojump: Fix failing tests.
This is a followup to 1d33b9e; test script was moved in upgrade to
version 22.3.4.

* gnu/packages/admin.scm (autojump)[arguments]: Adjust unit test script
file name.
2016-08-31 00:46:59 -05:00
Efraim Flashner b0488fe549
gnu: Add bambam.
* gnu/packages/games.scm (bambam): New variable.
2016-08-31 00:46:59 -05:00
Efraim Flashner 4916514503
gnu: alsa-utils: Use 'modify-phases'.
* gnu/packages/linux.scm (alsa-utils)[arguments]: Use 'modify-phases'
syntax.
2016-08-31 08:38:18 +03:00
Efraim Flashner 43043f23f5
gnu: alsa-utils: Update to 1.1.2.
* gnu/packages/linux.scm (alsa-utils): Update to 1.1.2.
2016-08-31 08:38:17 +03:00
John Darrington c9bd15c1d8
gnu: Add gnuastro
* gnu/packages/astronomy.scm (gnuastro): New variable.
2016-08-31 06:17:13 +02:00
John Darrington 2be83f6e8d
gnu: Add wcslib
* gnu/packages/astronomy.scm (wcslib): New variable.
2016-08-31 06:17:07 +02:00
John Darrington 82e4557d56
gnu: Add cfitsio
* gnu/packages/astronomy.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-08-31 06:16:54 +02:00
Efraim Flashner 7a3f940541
gnu: fossil: Update to 1.35.
* gnu/packages/version-control.scm (fossil): Update to 1.35.
[source]: Download from fossil-scm.org, remove patch, remove snippet.
* gnu/packages/patches/fossil-test-fixes.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-08-31 00:57:05 +03:00
Kei Kebreau bb8b543a48
gnu: Add telepathy-idle.
* gnu/packages/freedesktop.scm (telepathy-idle): New variable.
2016-08-30 17:35:53 -04:00
David Craven 72783891fe
gnu: Add kpmcore.
* gnu/packages/kde-frameworks.scm (kpmcore): New variable.
2016-08-30 22:38:33 +02:00
David Craven 0a7c2d0864
gnu: Add plasma-framework.
* gnu/packages/kde-frameworks.scm (plasma-framework): New variable.
2016-08-30 22:38:33 +02:00
David Craven 97bb2dbb2a
gnu: Add kxmlrpcclient.
* gnu/packages/kde-frameworks.scm (kxmlrpcclient): New variable.
2016-08-30 22:38:33 +02:00
David Craven 469a743cd0
gnu: Add kxmlgui.
* gnu/packages/kde-frameworks.scm (kxmlgui): New variable.
2016-08-30 22:38:33 +02:00
David Craven 7ac520dd22
gnu: Add kwallet.
* gnu/packages/kde-frameworks.scm (kwallet): New variable.
2016-08-30 22:38:32 +02:00
David Craven 2128da9a98
gnu: Add ktextwidgets.
* gnu/packages/kde-frameworks.scm (ktextwidgets): New variable.
2016-08-30 22:38:32 +02:00
David Craven def00811a4
gnu: Add ktexteditor.
* gnu/packages/kde-frameworks.scm (ktexteditor): New variable.
2016-08-30 22:38:32 +02:00
David Craven 12b49b6234
gnu: Add kservice.
* gnu/packages/kde-frameworks.scm (kservice): New variable.
2016-08-30 22:38:32 +02:00
David Craven e941775293
gnu: Add krunner.
* gnu/packages/kde-frameworks.scm (krunner): New variable.
2016-08-30 22:38:32 +02:00
David Craven 85e831ec0c
gnu: Add kpeople.
* gnu/packages/kde-frameworks.scm (kpeople): New variable.
2016-08-30 22:38:31 +02:00
David Craven 6609b1a394
gnu: Add kparts.
* gnu/packages/kde-frameworks.scm (kparts): New variable.
2016-08-30 22:38:31 +02:00
David Craven 10ca449af1
gnu: Add knotifyconfig.
* gnu/packages/kde-frameworks.scm (knotifyconfig): New variable.
2016-08-30 22:38:31 +02:00
David Craven 2ac7e35af2
gnu: Add knewstuff.
* gnu/packages/kde-frameworks.scm (knewstuff): New variable.
2016-08-30 22:38:31 +02:00
David Craven 17252110fc
gnu: Add kio.
* gnu/packages/kde-frameworks.scm (kio): New variable.
2016-08-30 22:38:31 +02:00
David Craven 3d6701902b
gnu: Add kinit.
* gnu/packages/kde-frameworks.scm (kinit): New variable.
2016-08-30 22:38:30 +02:00
David Craven 612c254538
gnu: Add kiconthemes.
* gnu/packages/kde-frameworks.scm (kiconthemes): New variable.
2016-08-30 22:38:30 +02:00
David Craven bdfe11a5e7
gnu: Add kglobalaccel.
* gnu/packages/kde-frameworks.scm (kglobalaccel): New variable.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2016-08-30 22:38:30 +02:00
David Craven 3e1ce65be6
gnu: Add kemoticons.
* gnu/packages/kde-frameworks.scm (kemoticons): New variable.
2016-08-30 22:38:30 +02:00
David Craven 40d768485c
gnu: Add kdesu.
* gnu/packages/kde-frameworks.scm (kdesu): New variable.
2016-08-30 22:38:30 +02:00
David Craven d02addd52d
gnu: Add kdesignerplugin.
* gnu/packages/kde-frameworks.scm (kdesignerplugin): New variable.
2016-08-30 22:38:29 +02:00
David Craven ef0f84502c
gnu: Add kded.
* gnu/packages/kde-frameworks.scm (kded): New variable.
2016-08-30 22:38:29 +02:00
David Craven f422ad1275
gnu: Add kdeclarative.
* gnu/packages/kde-frameworks.scm (kdeclarative): New variable.
2016-08-30 22:38:29 +02:00
David Craven ccce03edce
gnu: Add kconfigwidgets.
* gnu/packages/kde-frameworks.scm (kconfigwidgets): New variable.
2016-08-30 22:38:29 +02:00
David Craven 21d381f4ef
gnu: Add kcmutils.
* gnu/packages/kde-frameworks.scm (kcmutils): New variable.
2016-08-30 22:38:29 +02:00
David Craven 5c63ebb846
gnu: Add kbookmarks.
* gnu/packages/kde-frameworks.scm (kbookmarks): New variable.
2016-08-30 22:38:28 +02:00
David Craven fb748c395d
gnu: Add kactivities-stats.
* gnu/packages/kde-frameworks.scm (kactivities-stats): New variable.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2016-08-30 22:38:28 +02:00
David Craven 88549d2e0c
gnu: Add kactivities.
* gnu/packages/kde-frameworks.scm (kactivities): New variable.
2016-08-30 22:38:28 +02:00
David Craven 092ab1c0bc
gnu: Add baloo.
* gnu/packages/kde-frameworks.scm (baloo): New variable.
2016-08-30 22:38:28 +02:00