Commit Graph

6527 Commits

Author SHA1 Message Date
宋文武 34ff76fdd6 gnu: gst-plugins-base: Propagate input gstreamer.
* gnu/packages/gstreamer.scm (gst-plugins-base): Move "gstreamer" to
  'propagated-inputs'.
2015-04-04 12:42:28 +08:00
宋文武 2fb016b8f1 gnu: gstreamer: Move html documentation to 'doc' output.
* gnu/packages/gstreamer.scm (gstreamer)[outputs]: New field.
  [arguments]: Add #:configure-flags.
2015-04-04 12:42:28 +08:00
宋文武 0f998a140e gnu: gstreamer: Enable GObject introspection.
* gnu/packages/gstreamer.scm (gstreamer): Add gobject-introspection
  to 'native-inputs'.
  [arguments]: New field.
2015-04-04 12:42:28 +08:00
Ludovic Courtès 302393bc7c gnu: vte: Propagate GnuTLS.
* gnu/packages/gnome.scm (vte): Move GNUTLS from 'inputs' to
  'propagated-inputs'.  Suggested by 宋文武 <iyzsong@gmail.com>.
2015-04-03 23:27:21 +02:00
Andy Wingo 191e9b4e01 gnu: vte: Update to 0.40.0.
* gnu/packages/gnome.scm (vte): Update to 0.40.0.  Add 'inputs' field.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-03 23:24:41 +02:00
Andy Wingo 8b43df2b30 build-system/glib-or-gtk: Wrap libexec programs.
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Also
  wrap binaries in libexec/, such as those launched by dbus services.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-03 23:24:01 +02:00
Ludovic Courtès 21cc905ac2 services: lsh: Change #:initialize? to default to #t.
* gnu/services/ssh.scm (lsh-service): Change #:initialize? to default
  to #t.
* doc/guix.texi (Using the Configuration System): Remove #:initialize? #t
  from example.
  (Networking Services): Adjust accordingly.
2015-04-03 22:58:49 +02:00
Ludovic Courtès 849eebbb38 ui: Recognize 'guix help'.
Suggested by Andy Wingo.

* guix/ui.scm (guix-main): Add "help" case.
2015-04-03 22:58:49 +02:00
Ludovic Courtès 4a740d0fec gnu: cross-base: Use an 'ld' wrapper also when cross-compiling.
* gnu/packages/base.scm (make-ld-wrapper): Add #:target parameter and
  honor it.
* gnu/packages/cross-base.scm (cross-gcc-arguments)[#:phases]
  <make-cross-binutils-visible>: Refer to the ld wrapper.
  (cross-gcc)[native-inputs]: Add "ld-wrapper-cross".
2015-04-03 22:31:15 +02:00
David Thompson 7c3d72f22d gnu: Remove deleted patch file from build system.
* gnu-system.am (dist_patch_DATA): Remove 'gnu/packages/patches/librep-rules.mk.patch'.
2015-04-03 16:29:37 -04:00
Ludovic Courtès 9bab6bea86 gnu: ld-wrapper: Use a hard-coded self-reference instead of $0.
* gnu/packages/ld-wrapper.scm: Use @SELF@ instead of $0.  This is so
  that the .go file is found even when the wrapper is invoked via a
  symlink to it.
* gnu/packages/base.scm (make-ld-wrapper): Substitute @SELF@.
2015-04-03 22:28:06 +02:00
Ludovic Courtès 8fdd410160 gnu: Add 'make-ld-wrapper' procedure.
* gnu/packages/base.scm (make-ld-wrapper): New procedure.  Abstracted
  from...
* gnu/packages/commencement.scm (ld-wrapper-boot3): ... here.  Use it.
2015-04-03 22:28:04 +02:00
宋文武 c2a362be41 gnu: librep: Update to 0.92.5.
* gnu/packages/sawfish.scm (librep): Update to 0.92.5.
* gnu/packages/patches/librep-rules.mk.patch: Remove.
2015-04-03 23:36:05 +08:00
Alex Kost 946dc71f63 gnu: xorg: Add patch to fix sis driver crashes.
* gnu/packages/patches/xf86-video-sis-fix-exa-crash.patch: New file.
* gnu/packages/xorg.scm (xf86-video-sis): Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-03 15:21:12 +03:00
Alex Kost 0492f4a2b9 packages: Fix typo.
* gnu/packages.scm: Fix the name of an exported variable (%patch-path).
2015-04-03 15:20:44 +03:00
宋文武 dac354fe10 gnu: Add libinput.
* gnu/packages/freedesktop.scm (libinput): New variable.
2015-04-03 16:49:40 +08:00
Ludovic Courtès 9c4b6e5484 gnu: ncurses: Install terminfo files when cross-compiling.
* gnu/packages/ncurses.scm (ncurses): Remove 'cross-pre-install-phase'.
  When cross-compiling, it was leading to an empty $out/share/terminfo
  directory.
2015-04-02 22:25:55 +02:00
Ludovic Courtès c22eb9927f doc: Make it clear that store items must not be deleted by hand.
* doc/guix.texi (Invoking guix gc): Add that this is the only way to
  delete files.
2015-04-02 21:44:35 +02:00
Ludovic Courtès 1768213c0a doc: Remove bits about having to create /gnu/store manually.
* doc/guix.texi (Build Environment Setup): Remove bit about creating
  /gnu/store.  This is done automatically since 15ddeff.
2015-04-02 21:40:01 +02:00
Ludovic Courtès ae0bdd8189 gnu: libva: Fix 'license' field.
* gnu/packages/video.scm: Import (guix licenses) with the 'license:'
  prefix and adjust 'license' fields accordingly.  Fixes a bug whereby
  libva was referring to the 'expat' package instead of the 'expat'
  license.
2015-04-02 19:17:03 +02:00
Eric Bavier 0a74d78d43 gnu: Add Catalyst-Plugin-AccessLog.
* gnu/packages/web.scm (perl-catalyst-plugin-accesslog): New variable.
2015-04-02 10:40:35 -05:00
Eric Bavier c90361b322 gnu: Add DateTime.
* gnu/packages/perl.scm (perl-datetime): New variable.
2015-04-02 10:40:35 -05:00
Eric Bavier e210472d9f gnu: Add DateTime-Locale.
* gnu/packages/perl.scm (perl-datetime-locale): New variable.
2015-04-02 10:40:35 -05:00
Eric Bavier f12b77a82f gnu: Add DateTime-TimeZone.
* gnu/packages/perl.scm (perl-datetime-timezone): New variable.
2015-04-02 10:40:35 -05:00
Eric Bavier 66b9c74eb9 gnu: Add List-AllUtils.
* gnu/packages/perl.scm (perl-list-allutils): New variable.
2015-04-02 10:40:35 -05:00
Eric Bavier c16a204a7a gnu: Add Class-Singleton.
* gnu/packages/perl.scm (perl-class-singleton): New variable.
2015-04-02 10:40:34 -05:00
Eric Bavier 9473af1d2c gnu: Add Catalyst-DispatchType-Regex.
* gnu/packages/web.scm (perl-catalyst-dispatchtype-regex): New
  variable.
2015-04-02 10:40:34 -05:00
宋文武 488c34ece4 gnu: Add fcitx.
* gnu/packages/fcitx.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-04-02 17:54:57 +08:00
Ludovic Courtès 7e3c9f741b gnu: gcc: Fix libgcc_s directory in RUNPATH for cross-compiled binaries.
* gnu/packages/gcc.scm (gcc-4.7): Add 'libdir' procedure.  Use it to
  determine the right libdir, including when cross-compiling.  This
  fixes a bug whereby the RUNPATH of cross-compiled binaries would be
  set to $crossgcc/lib instead of $crossgcc/$triplet/lib.
  See <http://hydra.gnu.org/build/354389/nixlog/1/raw> for an example.
2015-04-02 10:26:15 +02:00
Mark H Weaver b7178dc45d gnu: icecat: Apply fixes for CVE-2015-{0801,0807,0815,0816}.
Actually, CVE-2015-0801 and CVE-2015-0816 were already patched in
4c153a9125, but the corresponding CVEs
were not yet announced.

* gnu/packages/patches/icecat-bug-1146339.patch: Rename to ...
* gnu/packages/patches/icecat-CVE-2015-0801.patch: ... this.
* gnu/packages/patches/icecat-bug-1144991.patch: Rename to ...
* gnu/packages/patches/icecat-CVE-2015-0816.patch: ... this.
* gnu/packages/patches/icecat-CVE-2015-0807.patch,
  gnu/packages/patches/icecat-CVE-2015-0815-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-0815-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-0815-pt3.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them, and adapt to renamed files.
* gnu/packages/gnuzilla.scm (icecat): Add patches, and adapt to renamed files.
2015-04-02 01:42:46 -04:00
Ludovic Courtès c2366e3ce4 gnu: commencement: Turn off RUNPATH checks for 'gcc-final'.
* gnu/packages/commencement.scm (gcc-final)[arguments]: Add
  #:validate-runpath? #f.
2015-04-02 00:19:53 +02:00
Mark H Weaver 5fd5e83da6 gnu: linux-libre: Update to 3.19.3.
The changes to linux-libre-*.conf are by Jason Self <j@jxself.org>.

* gnu/packages/patches/linux-libre-libreboot-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (linux-libre): Update to version 3.19.3.
  Add patch.
* gnu/packages/linux-libre-i686.conf,
  gnu/packages/linux-libre-x86_64.conf: Update for 3.19.x.

Co-Authored-By: Jason Self <j@jxself.org>
2015-04-01 17:38:47 -04:00
Alex Kost 1bb76f7523 services: syslog-service: Add 'config-file' argument.
* gnu/services/base.scm (syslog-service): Add 'config-file' keyword
argument.
* doc/guix.texi (Base Services): Document it.
2015-04-01 20:54:37 +03:00
Ludovic Courtès 112da58875 build-system/gnu: Add 'validate-runpath' phase.
* guix/build/gnu-build-system.scm (every*, validate-runpath): New
  procedures.
  (%standard-phases): Add 'validate-runpath'.
* guix/build-system/gnu.scm (%gnu-build-system-modules): Add (guix build
  gremlin) and (guix elf).
  (gnu-build): Add #:validate-runpath?.
  [builder]: Pass it.
  (gnu-cross-build): Likewise.
* gnu/packages/base.scm (glibc)[arguments]: Add #:validate-runpath? #f.
2015-04-01 16:47:49 +02:00
Ludovic Courtès 4ba3a84d07 utils: Make the second 'find-files' argument optional.
* guix/build/utils.scm (find-files): Make 'pred' optional.
2015-04-01 15:43:54 +02:00
Ludovic Courtès 8ff3df5baa gnu: Refer to %GNU-BUILD-SYSTEM-MODULES instead of listing modules.
* gnu/packages/cdrom.scm (cdparanoia)[arguments]: Refer to
  %GNU-BUILD-SYSTEM-MODULES instead of providing the actual list.
* gnu/packages/emacs.scm (magit, emacs-w3m, emacs-wget, emms):
  Likewise.
* gnu/packages/haskell.scm (ghc): Likewise.
* gnu/packages/samba.scm (samba): Likewise.
* gnu/packages/video.scm (ffmpeg): Likewise.
2015-04-01 15:41:55 +02:00
Ludovic Courtès 8f3c3e84c2 gnu: Remove unneeded uses of #:imported-modules.
* gnu/packages/certs.scm (nss-certs)[arguments]: Remove
  #:imported-modules.
* gnu/packages/gnuzilla.scm (nss)[arguments]: Likewise.
* gnu/packages/texlive.scm (texlive-texmf)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfce)[arguments]: Likewise.
2015-04-01 15:39:47 +02:00
Ludovic Courtès bb42c78a23 build-system: Factorize the list of modules imported on the build side.
* guix/build-system/gnu.scm (%default-modules): Rename to...
  (%gnu-build-system-modules): ... this.
  (%default-modules): New variable.
  (dist-package, gnu-build): Use %GNU-BUILD-SYSTEM-MODULES for
  #:imported-modules.
  (gnu-cross-build): Likewise, and use %DEFAULT-MODULES for #:modules.
* guix/build-system/cmake.scm (%cmake-build-system-modules): New
  variable.
  (cmake-build): Use it for #:imported-modules.
* guix/build-system/glib-or-gtk.scm (%default-imported-modules): Rename
  to...
  (%glib-or-gtk-build-system-modules): ... this.  Refer to
  %GNU-BUILD-SYSTEM-MODULES.  Adjust uses.
* guix/build-system/perl.scm (%perl-build-system-modules): New
  variable.
  (perl-build): Use it for #:imported-modules.
* guix/build-system/python.scm (%python-build-system-modules): New
  variable.
  (python-build): Use it for #:imported-modules.
* guix/build-system/ruby.scm (%ruby-build-system-modules): New variable.
  (ruby-build): Use it for #:imported-modules.
* guix/build-system/waf.scm (%waf-build-system-modules): New variable.
  (waf-build): Use it for #:imported-modules.
2015-04-01 15:34:19 +02:00
Ludovic Courtès 7be8c63e0d gremlin: Guard against invalid ELF segments.
* guix/build/gremlin.scm (&elf-error, &invalid-segment-size): New error
  condition types.
  (dynamic-link-segment): Compare SEGMENT's offset + size to ELF's total
  size.
  (validate-needed-in-runpath): Wrap body in 'guard' form.
2015-04-01 14:17:39 +02:00
Ludovic Courtès d83ccc9b42 gremlin: Add libnsl to libc's library list.
* guix/build/gremlin.scm (%libc-libraries): Add "libnsl.so".
2015-04-01 13:46:01 +02:00
Ricardo Wurmus bfe3c68572 gnu: Add clustal omega.
* gnu/packages/bioinformatics.scm (clustal-omega): New variable.
2015-04-01 11:39:39 +02:00
Ricardo Wurmus 9495e73689 gnu: Add argtable.
* gnu/packages/popt.scm (argtable): New variable.
2015-04-01 11:39:33 +02:00
Ludovic Courtès ed835ad710 gnu: node: Remove unneeded import.
* gnu/packages/node.scm: Remove import of (guix build gnu-build-system).
2015-04-01 10:36:17 +02:00
Mark H Weaver f6e7e20b03 gnu: pulseaudio: Increase timeout on cpu-mix-test.
* gnu/packages/patches/pulseaudio-longer-test-timeout.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/pulseaudio.scm (pulseaudio)[source]: Add patch.
2015-04-01 03:33:46 -04:00
Ludovic Courtès 4c0d38bee3
gnu: Update bootstrap binaries for x86_64 and i686.
Fixes <http://bugs.gnu.org/19780>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* gnu/packages/bootstrap/i686-linux/bash,
  gnu/packages/bootstrap/i686-linux/mkdir,
  gnu/packages/bootstrap/i686-linux/tar,
  gnu/packages/bootstrap/i686-linux/xz,
  gnu/packages/bootstrap/x86_64-linux/bash,
  gnu/packages/bootstrap/x86_64-linux/mkdir,
  gnu/packages/bootstrap/x86_64-linux/tar,
  gnu/packages/bootstrap/x86_64-linux/xz: Update from
  <ftp://alpha.gnu.org:/gnu/guix/bootstrap/i686-linux/20131110/static-binaries.tar.xz>
  and
  <ftp://alpha.gnu.org:/gnu/guix/bootstrap/x86_64-linux/20131110/static-binaries.tar.xz>,
  respectively.  The libc in those binaries has no dynamic NSS support,
  which could otherwise lead to crashes when they tried to load NSS
  modules of the host system.
2015-03-31 23:07:17 +02:00
Ludovic Courtès 1968262a23 utils: 'find-files' takes an arbitrary predicate as its second argument.
* guix/build/utils.scm (file-name-predicate): New procedure.
  (find-files): Rename second parameter to 'pred'.  When 'pred' is not a
  procedure, call 'file-name-predicate'.  Use PRED instead of
  'regexp-exec' in the leaf procedure.
2015-03-31 22:55:41 +02:00
Ludovic Courtès f8503e2b25 utils: 'modify-phases' no longer introduces quotes.
Suggested by Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>.

* guix/build/utils.scm (%modify-phases): Remove quotes.
* guix/build/cmake-build-system.scm (%standard-phases): Adjust
  accordingly.
* guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise.
* guix/build/gnu-dist.scm (%dist-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
* gnu/packages/bash.scm, gnu/packages/code.scm, gnu/packages/gl.scm,
  gnu/packages/gnome.scm, gnu/packages/graphics.scm,
  gnu/packages/image.scm, gnu/packages/key-mon.scm,
  gnu/packages/ocr.scm, gnu/packages/plotutils.scm,
  gnu/packages/search.scm, gnu/packages/video.scm: Likewise.
2015-03-31 22:43:01 +02:00
Ludovic Courtès 023dd28a30 Merge branch 'master' into core-updates 2015-03-31 22:41:54 +02:00
Ludovic Courtès 15aa2c3842 Add (guix build gremlin).
* guix/build/gremlin.scm, tests/gremlin.scm: New files.
* Makefile.am (MODULES): Add guix/build/gremlin.scm.
  (SCM_TESTS): Add tests/gremlin.scm.
2015-03-31 22:23:57 +02:00
Ludovic Courtès 4e7b6b4838 tests: Fix module name for 'lint'.
* tests/lint.scm: Change module name to 'test-lint'.
2015-03-31 22:23:57 +02:00