Commit Graph

10544 Commits

Author SHA1 Message Date
Alex Kost 1ccdc7f0be emacs: Use socket instead of port.
Suggested by Florian Paul Schmidt.

* emacs/guix-backend.el (guix-default-port): Remove.
  (guix-repl-socket-file-name-function, guix-repl-current-socket): New
  variables.
  (guix-repl-socket-file-name, guix-repl-delete-socket-maybe): New
  procedures.
  (guix-get-guile-program): Take socket as an optional argument.
  (guix-start-repl-maybe): Adjust accordingly.
2015-12-15 21:35:35 +03:00
Alex Kost 7ccb3ad3c1 emacs: 'node-type' is in (guix graph) now.
This is a followup to commit 8fb583714f.

* emacs/guix-main.scm (graph-type-names): Use 'node-type-name'
  from (guix graph) module.
2015-12-15 21:35:35 +03:00
Federico Beffa fceac88039 gnu: python-ipython: Patch 'ctypes' bug.
* gnu/packages/patches/python-ipython-inputhook-ctype.patch: New patch.
* gnu/packages/python.scm (python-ipython): Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-12-15 18:05:42 +01:00
Ludovic Courtès 304e4f5135 gnu: grep: Add missing dependency on Perl.
* gnu/packages/base.scm (grep)[native-inputs]: New field.
* gnu/packages/commencement.scm (grep-final): Likewise.
2015-12-15 18:04:28 +01:00
Ludovic Courtès a2a9bba43c gnu: bash: Update to patch level 42.
* gnu/packages/bash.scm (%patch-series-4.3): Add patches 40 to 42.
2015-12-15 17:59:49 +01:00
Efraim Flashner 5bd88cf1e3 gnu: python-click: Update to 6.2.
* gnu/packages/python.scm (python-click): Update to 6.2.
[source]: Change to pypi syntax.
2015-12-15 18:31:13 +02:00
Efraim Flashner 664e6c3a95 gnu: python-keyring: Update to 5.7.1.
* gnu/packages/python.scm (python-keyring): Update to 5.7.1.
[source]: Change to pypi syntax.
[native-inputs]: Add python-setuptools-scm.
[arguments]: Remove argument to replace unpack with unzip.
2015-12-15 18:31:13 +02:00
宋文武 ba3cb5ab5c gnu: gnome-session: Add input gsettings-desktop-schemas.
* gnu/packages/gnome.scm (gnome-session)[build-system]: Switch to
  GLIB-OR-GTK-BUILD-SYSTEM.
[inputs]: Add gsettings-desktop-schemas.
2015-12-15 21:44:03 +08:00
宋文武 9a3a8b8edd gnu: clutter-gtk: Propagate inputs.
* gnu/packages/gnome.scm (clutter-gtk): Move clutter and gtk+ to 'propagated-inputs'.
2015-12-15 21:42:02 +08:00
宋文武 ca473fc21d gnu: tdb: Update to 1.3.8.
* gnu/packages/databases.scm (tdb): Update to 1.3.8.
[source]: Switch to https URI.
2015-12-15 21:16:42 +08:00
Alex Vong 2ad9515c50 gnu: youtube-dl: Install man pages and completion files.
* gnu/packages/video.scm (youtube-dl) [arguments]: Add
fix-the-data-directories phase.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-15 13:45:20 +01:00
Ludovic Courtès e0508b6bf7 doc: Give another example use of 'propagated-inputs'.
Suggested by Leo Famulari <leo@famulari.name>.

* doc/guix.texi (package Reference): Explain 'propagated-inputs' for
non-C languages.
2015-12-15 13:43:27 +01:00
Efraim Flashner 75f52fca95 gnu: enlightenment: Update to 0.20.1.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.1.
2015-12-15 11:45:44 +02:00
Leo Famulari a036e59da7 gnu: tmux: Update to 2.1.
* gnu/packages/tmux.scm (tmux): Update to 2.1.
2015-12-14 23:23:00 -05:00
Ludovic Courtès 9d3994f700 gexp: 'local-file' resolves relative file names.
* guix/gexp.scm (<local-file>): Rename constructor to '%%local-file'.
Add 'absolute' field.
(%local-file, extract-directory, absolute-file-name): New procedures.
(current-source-directory): New macro.
(local-file): Adjust call to '%local-file'.
(local-file-absolute-file-name): New procedure.
(local-file-compiler): Force the 'absolute' field.
* tests/guix-system.sh: Test whether 'local-file' canonicalization
works.
* doc/guix.texi (G-Expressions): Adjust.
2015-12-14 19:57:42 +01:00
Ludovic Courtès 4fef1e850e profiles: Silence Info installation.
* guix/profiles.scm (info-dir-file)[build]: Pass --silent to
'install-info'.
2015-12-14 19:57:42 +01:00
Ricardo Wurmus 0c4e762570 gnu: Add ruby-redcloth.
* gnu/packages/ruby.scm (ruby-redcloth): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus d56ff88b6c gnu: Add ruby-sanitize.
* gnu/packages/ruby.scm (ruby-sanitize): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus ac09beba84 gnu: Add ruby-pygmentize.
* gnu/packages/ruby.scm (ruby-pygmentize): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 0c80451e81 gnu: Add ruby-cutest.
* gnu/packages/ruby.scm (ruby-cutest): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus ad686ef3fc gnu: Add ruby-clap.
* gnu/packages/ruby.scm (ruby-clap): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus c2c4e5b2ee gnu: Add ruby-nokogumbo.
* gnu/packages/ruby.scm (ruby-nokogumbo): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus e1c63590ef gnu: Add Gumbo Parser.
* gnu/packages/web.scm (gumbo-parser): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 3996f0aadc gnu: Add ruby-crass.
* gnu/packages/ruby.scm (ruby-crass): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus f60f500222 gnu: Add ruby-nokogiri-diff.
* gnu/packages/ruby.scm (ruby-nokogiri-diff): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 2632a06712 gnu: Add ruby-tdiff.
* gnu/packages/ruby.scm (ruby-tdiff): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 3a6989ce3a gnu: Add ruby-unf-ext.
* gnu/packages/ruby.scm (ruby-unf-ext): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 5799bc2b1f gnu: Add ruby-netrc.
* gnu/packages/ruby.scm (ruby-netrc): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 051deeb79d gnu: Add ruby-guard.
* gnu/packages/ruby.scm (ruby-guard): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus cf1a01f48c gnu: ruby-listen: Add rb-fsevent to inputs.
* gnu/packages/ruby.scm (ruby-listen)[propagated-inputs]: Add
  "ruby-rb-fsevent".
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 16b324cdf4 gnu: Add ruby-rb-fsevent.
* gnu/packages/ruby.scm (ruby-rb-fsevent): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus b004fb6a8a gnu: Add ruby-saikuro-treemap.
* gnu/packages/ruby.scm (ruby-saikuro-treemap): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 763624f566 gnu: Add ruby-json-pure.
* gnu/packages/ruby.scm (ruby-json-pure): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 53239b5f96 gnu: Add ruby-utils.
* gnu/packages/ruby.scm (ruby-utils): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 6e376ca46a gnu: Add ruby-pstree.
* gnu/packages/ruby.scm (ruby-pstree): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus fd83a212bc gnu: Add ruby-term-ansicolor.
* gnu/packages/ruby.scm (ruby-term-ansicolor): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus d8cafe29df gnu: Add ruby-minitest-tu-shim.
* gnu/packages/ruby.scm (ruby-minitest-tu-shim): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus bc8277e458 gnu: Add ruby-gem-hadar.
* gnu/packages/ruby.scm (ruby-gem-hadar): New variable.
2015-12-14 14:06:29 +01:00
Ricardo Wurmus 1db6e09fa9 gnu: Add ruby-minitest-4.
* gnu/packages/ruby.scm (ruby-minitest-4): New variable.
2015-12-14 14:06:29 +01:00
Efraim Flashner 9c1c2a7f8d gnu: bluez: Update to 5.36.
* gnu/packages/linux.scm (bluez): Update to 5.36.
[source]: Remove patch.
* gnu/packages/patches/bluez-tests.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
2015-12-14 11:06:20 +02:00
Efraim Flashner ebacb0de4c gnu: powertop: Update to 2.8.
* gnu/packages/linux.scm (powertop): Update to 2.8.
2015-12-14 11:06:20 +02:00
Chris Marusich 03f964a511 gnu: Add python-contextlib2.
* gnu/packages/python.scm (python-contextlib2, python2-contextlib2):
  New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-14 09:43:24 +01:00
Efraim Flashner b431e3a08d gnu: gcc-5: Update to 5.3.0.
* gnu/packages/gcc.scm (gcc-5): Update to 5.3.0.
2015-12-14 07:32:01 +02:00
Florian Paul Schmidt 6645753b46 gnu: Add redshift.
* gnu/packages/xdisorg.scm (redshift): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-14 00:31:36 +01:00
Ludovic Courtès 88d5858f55 graph: Add synthetic test.
* tests/graph.scm ("node-transitive-edges, no duplicates"): New test.
2015-12-13 21:41:52 +01:00
Ludovic Courtès 20464dde13 guix build: Gracefully handle type errors in -e and -f.
* guix/scripts/build.scm (options->things-to-build)[validate-type]: New
procedure.
[ensure-list]: Use it.
2015-12-13 21:13:16 +01:00
Ludovic Courtès ee2a7e3fd2 guix build: Remove dead code.
* guix/scripts/build.scm (options->things-to-build): Remove unused
'match' clause.
2015-12-13 21:04:56 +01:00
Ludovic Courtès ecf84b7c48 daemon: Add '--rounds'.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_BUILD_ROUNDS): New macro.
(options): Add --rounds.
(parse_opt): Honor it.
* doc/guix.texi (Invoking guix-daemon): Document it.
2015-12-13 19:20:01 +01:00
Eelco Dolstra f3ff1da424 daemon: Better distinguish build statuses.
In Nix itself, the new 'BuildResult' type is returned by the new
'buildDerivation' method, which we don't have and need.

* nix/libstore/build.cc (Goal)[cancel]: Remove.
[timeOut]: New pure virtual method.
(DerivationGoal)[result]: New field.
[cancel]: Remove.
[timedOut, getResult, done]: New methods.
(DerivationGoal::cancel): Remove.
(DerivationGoal::timedOut): New method.
(DerivationGoal::haveDerivation): Call 'done' instead of 'amDone'.
(DerivationGoal::outputsSubstituted): Ditto.
(DerivationGoal::inputsRealised): Ditto.
(DerivationGoal::buildDone): Ditto.
(DerivationGoal::handleChildOutput): Call 'timedOut' instead of
'cancel'.
(DerivationGoal::done): New method.
(SubstitutionGoal)[cancel]: Remove.
[timedOut]: New method.
(SubstitutionGoal::cancel): Remove.
(SubstitutionGoal::timedOut): New method.
(Worker::waitForInput): Use it.
* nix/libstore/store-api.hh (BuildResult): New struct.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-13 19:20:01 +01:00
宋文武 1509a1dc82 gnu: Add modem-manager.
* gnu/packages/freedesktop.scm (modem-manager): New variable.
2015-12-13 23:26:28 +08:00