Commit Graph

9803 Commits

Author SHA1 Message Date
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
宋文武 5302c5ffd1 gnu: Add libqmi.
* gnu/packages/freedesktop.scm (libqmi): New variable.
2015-12-13 23:26:28 +08:00
宋文武 f3ad149057 gnu: Add libmbim.
* gnu/packages/freedesktop.scm (libmbim): New variable.
2015-12-13 23:26:28 +08:00
宋文武 df12f04a0c gnu: Add gdm.
* gnu/packages/gnome.scm (gdm): New variable.
2015-12-13 23:26:28 +08:00
Amirouche BOUBEKKI dec1e2b352 gnu: Add g-wrap.
* gnu/packages/guile.scm (g-wrap): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-13 15:20:44 +01:00
Ludovic Courtès 5568151f5b gnu: wireless-regdb: Build sequentially.
Fixes <http://bugs.gnu.org/22126>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/linux.scm (wireless-regdb)[source]: Add 'snippet'.
[arguments]: Add #:parallel-build?.
2015-12-13 15:20:44 +01:00
Ludovic Courtès 70650c684a doc: Reword description of 'inputs' & co.
* doc/guix.texi (package Reference): Reword explanation of 'inputs',
'native-inputs', and 'propagated-inputs'.  Add example.
2015-12-13 15:20:44 +01:00
Ludovic Courtès f7e4ae7f45 doc: Fix typo in "Setuid Programs".
* doc/guix.texi (Setuid Programs): Remove extra 's'.
2015-12-13 15:20:44 +01:00
Efraim Flashner b1b9ca8e01 gnu: adwaita-icon-theme: Update to 3.18.0.
* gnu/packages/gnome.scm (adwaita-icon-theme): Update to 3.18.0.
2015-12-13 14:19:06 +02:00
Efraim Flashner 5d73ac0688 gnu: eog: Update to 3.18.1.
* gnu/packages/gnome.scm (eog): Update to 3.18.1.
2015-12-13 13:51:13 +02:00
Efraim Flashner 3acae17019 gnu: devhelp: Update to 3.18.1.
* gnu/packages/gnome.scm (devhelp): Update to 3.18.1.
2015-12-13 13:40:30 +02:00
Efraim Flashner bcff53e03f gnu: aisleriot: Update to 3.18.2.
* gnu/packages/gnome.scm (aisleriot): Update to 3.18.2.
2015-12-13 13:35:11 +02:00
Efraim Flashner daee4191e1 gnu: gnome-mines: Update to 3.18.2.
* gnu/packages/gnome.scm (gnome-mines): Update to 3.18.2.
2015-12-13 13:18:57 +02:00
Efraim Flashner 34b979b903 gnu: seahorse: Add support for keyservers, gnupg2 and ldap.
* gnu/packages/gnome.scm (seahorse): Do it.
[inputs]: Remove gnupg-1, add gnupg, openldap, libsoup.
2015-12-13 13:02:14 +02:00
Efraim Flashner 017d779c22 gnu: seahorse: Update to 3.18.0.
* gnu/packages/gnome.scm (seahorse): Update to 3.18.0.
2015-12-13 13:00:08 +02:00