Commit graph

8170 commits

Author SHA1 Message Date
Ludovic Courtès
b263651860 doc: Mention the "normalized codeset" used in locale names.
* doc/guix.texi (Locales): Introduce "codeset".
  <%default-locale-definitions>: Mention the "normalized codeset", with
  an xref to libc's manual.
* gnu/system/locale.scm (%default-locale-definitions)[utf8-locale]:
  Mention the "normalized codeset" in a comment.
2015-08-29 23:56:47 +02:00
Ludovic Courtès
3d20ebd6cb refresh: Add missing newline in warning message.
Reported by karhunkynsi on #guix.

* guix/scripts/refresh.scm (update-package): Add missing newline in
  string literal passed to 'warning'.
2015-08-29 23:56:47 +02:00
David Thompson
0bfdfd377e gnu: ruby-i18n: Update to 0.7.0.
* gnu/packages/ruby.scm (ruby-i18n): Update to 0.7.0.
2015-08-29 17:29:03 -04:00
Ricardo Wurmus
2d8781a491 gnu: mpv: Replace "jack-2" with "jack-1".
* gnu/packages/video.scm (mpv)[inputs]: Replace "jack-2" with "jack-1".
2015-08-29 21:45:54 +02:00
Ricardo Wurmus
0dc2e348dc gnu: gst-plugins-good: Replace "jack-2" with "jack-1".
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Replace "jack-2" with
  "jack-1".
2015-08-29 21:45:54 +02:00
Ricardo Wurmus
6a5894a823 gnu: audacity: Replace "jack-2" with "jack-1".
* gnu/packages/audacity.scm (audacity)[inputs]: Replace "jack-2" with
  "jack-1".
2015-08-29 21:45:54 +02:00
Ricardo Wurmus
01e327b556 gnu: rsound: Add file-name field to source origin.
* gnu/packages/audio.scm (rsound)[source]: Add 'file-name' field.
2015-08-29 21:45:54 +02:00
Ricardo Wurmus
276f49df73 gnu: rsound: Replace "jack-2" with "jack-1".
* gnu/packages/audio.scm (rsound)[inputs]: Replace "jack-2" with "jack-1".
2015-08-29 21:45:54 +02:00
宋文武
122d0d10c6 gnu: Add yelp-tools.
* gnu/packages/gnome.scm (yelp-tools): New variable.
2015-08-29 15:07:54 +08:00
宋文武
de3d612a52 gnu: Add yelp.
* gnu/packages/gnome.scm (yelp): New variable.
2015-08-29 15:07:54 +08:00
宋文武
c3b97bd902 gnu: Add yelp-xsl.
* gnu/packages/gnome.scm (yelp-xsl): New variable.
2015-08-29 15:07:54 +08:00
Ludovic Courtès
ced200328c download: Keep only 2 store items for all the downloads.
This significantly reduces churn in the store.  It also reduces run time
of 'guix build inkscape -Sd' by ~10%.

* guix/download.scm (url-fetch)[mirror-file]: New variable.
  [builder]: Get URL from the "guix download url" env. var.  Get the mirrors
  from MIRROR-FILE.  Pass #:script-name and #:env-vars to 'gexp->derivation'.
2015-08-29 01:22:54 +02:00
Ludovic Courtès
0309e1b0ba gexp: Add #:script-name parameter to 'gexp->derivation'.
* guix/gexp.scm (gexp->derivation): Add #:script-name parameter.
* doc/guix.texi (G-Expressions): Document it.
2015-08-29 01:22:54 +02:00
Ludovic Courtès
b6c6105cac monads: Inline the procedure returned by liftN.
* guix/monads.scm (define-lift): Turn into a macro that open-codes the result
  of its lift.
2015-08-29 01:22:54 +02:00
宋文武
ca2a55d46b gnu: shadow: Update to 4.2.1.
* gnu/packages/admin.scm (shadow): Update to 4.2.1.
  [source]: Use the release tarball.
2015-08-28 19:53:26 +08:00
Leo Famulari
cef644e627 gnu: Add abduco.
* gnu/packages/abduco.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-28 11:46:48 +02:00
Siniša Biđin
df1db7672d gnu: Add cabal-install.
* gnu/packages/haskell.scm (cabal-install): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-28 11:00:03 +02:00
Ludovic Courtès
7bce9fa5f3 gnu: conky: Fix license.
* gnu/packages/conky.scm (conky)[license]: Set to LICENSE:GPL3+.
2015-08-28 09:37:15 +02:00
David Thompson
58724c488b gnu: services: Add nginx-service.
* gnu/services/web.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* guix.texi ("Web Services"): New section.
2015-08-27 22:10:40 -04:00
David Thompson
3aae8145a7 import: Add Ruby gem importer.
* gnu/scripts/import.scm (importers): Add "gem".
* gnu/import/gem.scm: New file.
* gnu/scripts/import/gem.scm: New file.
* Makefile.am (MODULES): Add them.
* guix.texi ("invoking guix import"): Document it.
2015-08-27 19:45:06 -04:00
David Thompson
140b304815 import: pypi: Move generally useful procedures to utils module.
* guix/import/pypi.scm (make-pypi-sexp): Factorize license to symbol
  conversion code.
  (string->license, snake-case, guix-hash-url): Move from here...
* guix/import/utils.scm: ... to here.
  (license->symbol): New procedure.
2015-08-27 18:02:35 -04:00
David Thompson
f8da3af086 gnu: Add ruby-arel.
* gnu/packages/ruby.scm (ruby-arel): New variable.
2015-08-27 18:02:35 -04:00
Siniša Biđin
555e436ea2 gnu: Add conky.
* gnu/packages/conky.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-08-27 23:34:24 +02:00
Siniša Biđin
6edb5b7765 gnu: lua: Add patch to generate pkg-config file.
* gnu/packages/patches/lua-pkgconfig.patch: New file.
* gnu/packages/lua.scm (lua)[source]: Add patch.
* gnu-system.am (dist_patch_DATA): Register patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-27 23:34:24 +02:00
Ludovic Courtès
25ae74cffa Thank Eric Hanchrow. 2015-08-27 23:34:23 +02:00
Alex Kost
f2638f0b37 emacs: Add completions for 'guix graph'.
* emacs/guix-pcomplete.el (guix-pcomplete-parse-linter-regexp): Improve
  and rename to ...
  (guix-pcomplete-parse-list-regexp): ...this.  New variable.
  (guix-pcomplete-lint-checkers): Use it.
  (guix-pcomplete-graph-types): New function.
  (guix-pcomplete-complete-command-arg): Complete package names for
  'guix graph' command.
  (guix-pcomplete-complete-option-arg): Complete '-t/--type' option.
2015-08-27 17:50:01 +03:00
Alex Kost
89949e8f54 gnu: git-modes: Update to 1.2.0.
* gnu/packages/emacs.scm (git-modes): Update to 1.2.0.
  [arguments]: Disable tests.
2015-08-27 17:16:31 +03:00
Alex Kost
be379ee77d gnu: magit-svn: Update to 2.1.0.
* gnu/packages/emacs.scm: Use (gnu packages base) module.  Remove
  duplicated (gnu packages guile) and (gnu packages linux) modules.
  (magit-svn): Update to 2.1.0.
  [source]: Use 'url-fetch' method.
  [inputs]: Remove.  Move "emacs" to 'native-inputs', move "magit" to
  'propagated-inputs'.
  [native-inputs]: Add "tar" and "gzip".
  [propagated-inputs]: Add "dash".
  [arguments]: Adjust builder for the new inputs and unpacking the source.
2015-08-27 17:16:30 +03:00
Alex Kost
55f29c39f5 gnu: magit: Update to 2.2.1.
* gnu/packages/emacs.scm (magit): Update to 2.2.1.
  [inputs]: Remove 'git:gui'.
  [propagated-inputs]: Add 'dash', remove 'git-modes'.
  [arguments]: Add PREFIX and DASH_DIR to 'make-flags'.  Remove
  'configure', 'augment-load-path' and 'post-install' phases.
2015-08-27 17:16:30 +03:00
Ludovic Courtès
ef80ca96fa daemon: Require a signature for imports made by root.
This reinstates commit aa0f8409, which was inadvertently undone in commit
322eeb87.

Running 'guix archive --import' as root would have let corrupt or unauthentic
store items through.

Reported by Eric Hanchrow <eric.hanchrow@gmail.com>
at <http://bugs.gnu.org/21354>.

* nix/nix-daemon/nix-daemon.cc (performOp) <wopImportPaths>: Pass true as the
  first argument to 'importPaths'.
2015-08-27 10:58:31 +02:00
Ludovic Courtès
54e515eb75 tests: Skip 'set-network-interface-address' test when running as root.
Reported by Eric Hanchrow <eric.hanchrow@gmail.com>
in <http://bugs.gnu.org/21354>.

* tests/syscalls.scm ("set-network-interface-address"): Skip when (getuid)
  returns zero.
2015-08-27 10:52:11 +02:00
Ludovic Courtès
d1f38287f4 Add graph.scm to 'POTFILES'.
* po/guix/POTFILES.in: Add guix/scripts/graph.scm.
2015-08-27 09:13:39 +02:00
Ludovic Courtès
888569161c Add 'guix graph'.
* guix/scripts/graph.scm, tests/graph.scm, tests/guix-graph.sh,
  doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot: New
  files.
* Makefile.am (MODULES): Add guix/scripts/graph.scm.
  (SH_TESTS): Add tests/guix-graph.sh.
  (SCM_TESTS): Add tests/graph.scm.
* doc.am (DOT_FILES, DOT_VECTOR_GRAPHICS): New variables.
  (EXTRA_DIST): Use them.
  (dist_infoimage_DATA): Use $(DOT_FILES).
  (pdf-local, info-local, ps-local): Likewise.
* doc/guix.texi (Packages with Multiple Outputs): Add cross-reference to 'guix
  graph'.
  (Invoking guix gc): Likewise.
  (Invoking guix graph): New section.
2015-08-27 00:49:23 +02:00
Ludovic Courtès
12e5b26643 build: Do not build (guix build syscalls) if 'mount' is missing from libc.
This disables compilation of this module on GNU/Hurd.
Reported by Manolis Ragkousis <manolis837@gmail.com>.

* m4/guix.m4 (GUIX_CHECK_LIBC_MOUNT): New variable.
* configure.ac: Use it.  Define 'BUILD_SYSCALLS_MODULE' conditional.
* Makefile.am (MODULES, EXTRA_DIST): Make 'guix/build/syscalls.scm'
  conditional on BUILD_SYSCALLS_MODULE.
2015-08-27 00:49:23 +02:00
Ludovic Courtès
c2b8467645 gexp: Add 'lower-object'.
* guix/gexp.scm (lower-object): New procedure.
  (lower-inputs, lower-references, gexp->sexp): Use it.
* tests/gexp.scm ("lower-object"): New test.
* doc/guix.texi (G-Expressions): Document it.
2015-08-27 00:49:23 +02:00
Ricardo Wurmus
f7283db37d gnu: Add BioPerl.
* gnu/packages/bioinformatics.scm (bioperl-minimal): New variable.
2015-08-26 17:54:52 +02:00
Ludovic Courtès
14e2e44d44 gnu: pius: Adjust to the new libpius.
Prior to this commit the libpius modules would not be found and the default
GnuPG file name would be /usr/bin/gpg.

* gnu/packages/gnupg.scm (pius)[inputs]: Remove PYTHON-2.
  [build-system]: Switch to PYTHON-BUILD-SYSTEM.
  [arguments]: Add #:python.  Change to add a single phase,
  'set-gpg-file-name'.
2015-08-26 00:43:37 +02:00
Ludovic Courtès
fe32241ad5 tests: Work around Btrfs handling of nlink for empty directories.
Fixes <http://bugs.gnu.org/21280>.
Reported by Leo Famulari <leo@famulari.name>.

* tests/nar.scm (file-tree-equal?): Use #t as the initial result.  Btrfs would
  set nlink to 1 instead of 2 for an empty directory, thereby leading
  'file-tree-equal?' to return #f.
2015-08-26 00:43:36 +02:00
Mathieu Lirzin
45fed6d32c gnu: ratpoison: Clean definition.
* gnu/packages/ratpoison.scm (ratpoison)[arguments]: Use modify-phases.
  [inputs]: Sort alphabetically.  Move ratpoison.desktop to ...
  [native-inputs]: ... here.
2015-08-25 23:40:46 +02:00
Ricardo Wurmus
2d0fd07bb9 gnu: Add Pure Data.
* gnu/packages/music.scm (pd): New variable.
2015-08-25 19:07:01 +02:00
宋文武
9a59673d26 gnu: tmux: Update to 2.0.
* gnu/packages/tmux.scm (tmux): Update to 2.0.
  Update source uri and home-page to github.
2015-08-25 19:42:14 +08:00
宋文武
80700c4d6a gnu: weechat: Update to 1.3.
* gnu/packages/weechat.scm (weechat): Update to 1.3.
2015-08-25 19:28:14 +08:00
Mark H Weaver
6bf99bac95 guix package: -s shows outputs.
* guix/ui.scm (package->recutils): Print "outputs:".
2015-08-24 20:22:36 -04:00
Andy Wingo
be23021d93 gnu: llvm: Update to 3.6.2.
* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 3.6.2.
2015-08-24 11:45:18 -04:00
Andy Wingo
b81f56932e gnu: clang-runtime: New package, propagated by clang.
* gnu/packages/llvm.scm (clang-runtime-from-llvm): New function.
  (clang-from-llvm): Add clang-runtime argument and propagate clang-runtime
  input.
  (clang-runtime, clang-runtime-3.5): New variables.
  (clang, clang-3.5): Adapt to propagate clang-runtime modules.
2015-08-24 11:45:06 -04:00
Andy Wingo
22d0e9b792 gnu: Simplify LLVM build.
* gnu/packages/llvm.scm (llvm)[arguments]: Remove phases argument.
  Add to configure-flags "-DCMAKE_SKIP_BUILD_RPATH=FALSE" and
  "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE".
2015-08-24 11:40:41 -04:00
Siniša Biđin
c34507d662 gnu: Add ghc-x11-xft.
* gnu/packages/haskell.scm (ghc-x11-xft): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin
720fb41c69 gnu: Add ghc-x11.
* gnu/packages/haskell.scm (ghc-x11): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin
1c77d0caa9 gnu: Add ghc-data-default.
* gnu/packages/haskell.scm (ghc-data-default): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00
Siniša Biđin
7fc7186ede gnu: Add ghc-utf8-string.
* gnu/packages/haskell.scm (ghc-utf8-string): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2015-08-23 16:49:57 -05:00