Commit Graph

8971 Commits

Author SHA1 Message Date
David Thompson 8e5999e0b0 system: container: Adjust to changes in gexps.
* gnu/system/linux-container.scm (system-container): 'etc' is no longer
  a monadic value, and the result of 'file-union' must be lowered.
2015-10-30 12:51:49 -04:00
Ricardo Wurmus bd0b4379b2 gnu: openblas: Make substitutable on MIPS.
* gnu/packages/maths.scm (openblas)[arguments]: Make package
  substitutable when the system is MIPS.
2015-10-30 17:47:54 +01:00
Ricardo Wurmus 8a637e79ed gnu: openblas: Set TARGET to SICORTEX on MIPS.
* gnu/packages/maths.scm (openblas)[arguments]: Add "TARGET=SICORTEX" to
  make-flags when building for MIPS.
2015-10-30 17:47:54 +01:00
David Thompson b90e7e5d49 gnu: xfce4-session: Fix xflock4.
* gnu/packages/patches/xfce4-session-fix-xflock4.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xfce.scm (xfce4-session)[source]: Add patch.
2015-10-30 08:42:43 -04:00
Ricardo Wurmus 7ea3099b05 gnu: Add pcre2.
* gnu/packages/pcre.scm (pcre2): New variable.
2015-10-30 13:40:59 +01:00
Efraim Flashner cd4cb1b597 gnu: freeipmi: Update to 1.4.11.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.11.
2015-10-30 13:12:44 +02:00
Eric Bavier 0bdab08962 gnu: fish: Add python input.
* gnu/packages/fish.scm (inputs): Add python.
2015-10-29 17:26:30 -05:00
Ludovic Courtès 2e437e29b6 doc: Fix outdated description of the bare-bones example.
Reported by fps on #guix.

* doc/guix.texi (Using the Configuration System): Replace mention of
  Emacs with tcpdump.
2015-10-29 23:12:44 +01:00
Ludovic Courtès a241a7ac65 services: Add 'linux-bare-metal-service-type'.
* gnu/services.scm (modprobe-wrapper): Remove.
  (activation-script): Do not use it.  Remove calls to
  'activate-modprobe' and 'activate-ptrace-attach' in gexp.
  (%modprobe-wrapper, %linux-kernel-activation,
  linux-bare-metal-service-type, %linux-bare-metal-service): New
  variables.
* gnu/system.scm (essential-services): Add %LINUX-BARE-METAL-SERVICE to
  the list, unless CONTAINER? is true.
2015-10-29 23:03:08 +01:00
Andy Patterson 12f92e38d7 gnu: ffmpeg: Move flags into their own argument.
* gnu/packages/video.scm (ffmpeg)[arguments]: Move the configurable
  configure flag literals into the configure-flags argument. Call
  configure with these flags from the configure phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-10-29 23:03:08 +01:00
David Thompson cc90fbbf39 scripts: environment: Allow mixing regular and ad-hoc packages.
This patch changes the --ad-hoc flag to be positional.  That is, the
packages that appear before --ad-hoc are interpreted as packages whose
inputs should be in the environment; the packages that appear after are
interpreted as packages to be directly added to the environment.

* guix/scripts/environment.scm (tag-package-arg, compact): New
  procedures.
  (%options): Tweak the handlers for --load and --expression options.
  (options/resolve-packages): Preserve package mode tag.
  (parse-args): Tweak argument handler to use package tagging procedure.
  (guix-environment): Apply ad-hoc behavior on a per package basis.
* tests/guix-environment.sh: Add test.
* doc/guix.texi ("invoking guix environment"): Document new behavior of
  --ad-hoc.
2015-10-29 16:24:12 -04:00
Ludovic Courtès 6726282b20 services: Add screen-locker service.
* gnu/system/linux.scm (base-pam-services): Remove "xlock" and
  "xscreensaver".
* gnu/services/xorg.scm (<screen-locker>): New record type.
  (screen-locker-pam-services, screen-locker-setuid-programs,
  screen-locker-service): New procedures.
  (screen-locker-service-type): New variable.
* gnu/services/desktop.scm (%desktop-services): Use them.
* doc/guix.texi (X Window): Document 'screen-locker-service'.
  (Desktop Services): Mention it.
2015-10-29 19:07:58 +01:00
Ludovic Courtès e502bf8953 system: File systems depend on their corresponding device mappings.
Fixes a regression introduced in commit 0adfe95.

* gnu/system.scm (other-file-system-services)[requirements]: Remove.
  [add-dependencies]: New procedure.
  Use it.
* gnu/system/file-systems.scm (<file-system>)[dependencies]: Update
  comment.
* gnu/services/base.scm (mapped-device->dmd-service-name,
  dependency->dmd-service-name): New procedures.
  (file-system-service-type): Use it.
2015-10-29 19:07:58 +01:00
Ludovic Courtès 362f496da9 gnu: Add libchop.
* gnu/packages/backup.scm (libchop): New variable.
2015-10-29 19:07:58 +01:00
Ludovic Courtès b416aadf74 gnu: Move gdbm to (gnu packages databases).
* gnu/packages/gdbm.scm: Remove.
* gnu/packages/databases.scm (gdbm): New variable, from gdbm.scm.
* gnu/packages/avahi.scm, gnu/packages/cyrus-sasl.scm,
  gnu/packages/guile.scm, gnu/packages/mail.scm,
  gnu/packages/man.scm, gnu/packages/pulseaudio.scm,
  gnu/packages/python.scm, gnu/packages/ruby.scm,
  gnu/packages/sawfish.scm: Adjust accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove gdbm.scm.
2015-10-29 19:07:58 +01:00
Ludovic Courtès 136787cb4e doc: Mention Nix in the intro.
* doc/guix.texi (Introduction): Mention Nix with a xref to
  "Acknowledgments".
  (Acknowledgments): Add link to nixos.org.
2015-10-29 19:07:58 +01:00
Ludovic Courtès 122c3a1d67 system: grub: Let GRUB choose the best graphics mode.
On PCs, it means that it will typically choose resolutions higher
than 640x480, which is nicer.

* gnu/system/grub.scm (eye-candy)[setup-gfxterm-body]: Leave 'gfxmode'
  unset.
2015-10-29 19:07:57 +01:00
Ricardo Wurmus 69851c59c7 gnu: openblas: Update to 0.2.15.
* gnu/packages/maths.scm (openblas): Update to 0.2.15.
2015-10-29 15:44:31 +01:00
Ricardo Wurmus 8a3a9e84cb gnu: icedtea7: Update to 2.6.2.
* gnu/packages/java.scm (icedtea7): Update to 2.6.2.
2015-10-29 14:53:19 +01:00
Paul van der Walt dd169b73e0 gnu: ghc-glut: Propagate freeglut input.
* gnu/packages/haskell.scm (ghc-glut): Move freeglut to
  propagated-inputs.
2015-10-29 11:08:56 +01:00
Efraim Flashner a0d3eff99c gnu: bluez: Update to 5.35.
* gnu/packages/linux.scm (bluez): Update to 5.35.
2015-10-28 23:55:27 +02:00
Alex Kost b7f16845c8 gnu: magit-svn: Update to 2.1.1.
* gnu/packages/emacs.scm (magit-svn): Update to 2.1.1.
2015-10-29 00:11:12 +03:00
Alex Kost 1fda9b1f46 gnu: magit: Update to 2.3.0.
* gnu/packages/emacs.scm (magit): Update to 2.3.0.
2015-10-29 00:11:12 +03:00
Ludovic Courtès cd6f6c22fb services: Add 'modify-services'.
* gnu/services.scm (%modify-service, modify-services): New macros.
* gnu/services/base.scm (mingetty-service-type, guix-service-type):
  Export.
* emacs/guix-devel.el (guix-devel-keywords): Add 'modify-services'.
  Ditto in 'guix-devel-scheme-indent' call.
* doc/guix.texi (Using the Configuration System): Give an example of
  'modify-services'.
  (Service Reference): Document it.
2015-10-28 21:58:25 +01:00
Ludovic Courtès b0b9f6e0a6 services: 'guix-configuration' has a 'substitute-urls' field.
* gnu/services/base.scm (<guix-configuration>)[substitute-urls]: New
  field.
  (guix-dmd-service): Honor it.
* doc/guix.texi (Base Services): Document it.
2015-10-28 21:58:25 +01:00
Alex Kost 7191adc5cf refresh: Support comma-separated updater types.
* guix/scripts/refresh.scm (%options): Handle comma-separated types for
  '--type' option.
  (guix-refresh): Adjust accordingly.
  (show-help): Likewise.
* doc/guix.texi (Invoking guix refresh): Document it.
2015-10-28 21:51:59 +03:00
Ricardo Wurmus 9a067efdb2 gnu: pbtranscript-tofu: Update to 2.2.3.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu): Update to 2.2.3.
  [source]: Remove bundled Cython sources in a snippet.  Replace
  ".tar.gz" extension in file-name field with "-checkout".
  [arguments]: Replace "enter-directory-and-clean-up" phase with
  "enter-directory" phase, and add "patch-setuppy" phase.
  [inputs]: Add python2-h5py.  Move python2-cython ...
  [native-inputs]: ... to this field.
2015-10-28 16:26:58 +01:00
Andreas Enge fb8d1be8e1 gnu: pari-gp: Add X11 input.
* gnu/packages/algebra.scm (pari-gp)[inputs]: Add libx11, which enables
  plotting functions.
2015-10-28 15:57:20 +01:00
Ludovic Courtès 855038b294 tests: Print the mounts visible in the container.
* tests/guix-environment-container.sh: Print the content of
  $tmpdir/mounts.
2015-10-28 15:55:10 +01:00
Ludovic Courtès fd688c82bf ui: Add 'make-regexp*'.
Fixes <http://bugs.gnu.org/21773>.
Reported by Jan Synáček <jan.synacek@gmail.com>.

* guix/ui.scm (make-regexp*): New procedure.
* guix/scripts/package.scm (options->installable, guix-package): Use it
  when processing user-provided regexps.
2015-10-28 15:53:17 +01:00
Ludovic Courtès 35b50a7535 container: Remove unnecessary CLONE_CHILD_* flags.
* gnu/build/linux-container.scm (namespaces->bit-mask): Remove
  CLONE_CHILD_CLEARTID and CLONE_CHILD_SETTID, which are unneeded.
  Discussed at <http://bugs.gnu.org/21694>.
2015-10-28 15:31:44 +01:00
Ludovic Courtès fb4bf72be3 store: Use the daemon's substitute URLs by default.
Partly fixes <http://bugs.gnu.org/20217>.

* guix/store.scm (set-build-options): Change #:substitute-urls to
  default to #f.  Send the 'substitute-urls' pair only if
  SUBSTITUTE-URLS is true.
* guix/scripts/build.scm (set-build-options-from-command-line): Do not
  default to %DEFAULT-SUBSTITUTE-URLS for #:substitute-urls.
* guix/scripts/size.scm (%default-options): Remove 'substitute-urls'.
2015-10-28 15:31:44 +01:00
David Thompson 34a1783fc1 scripts: build: Add --file option.
* guix/scripts/build.scm (show-help): Add help text for --file option.
  (%options): Add --file option.
  (options/resolve-packages): Handle 'file' options.
* tests/guix-build.sh: Add tests.
* doc/guix.texi ("invoking guix build"): Add doc.
2015-10-28 08:40:16 -04:00
Ludovic Courtès 5c7bdc9a7f gnu: python-debian: Avoid @itemize in description.
* gnu/packages/python.scm (python-debian): Use @enumerate instead of
  @itemize.
2015-10-28 12:04:03 +01:00
Ludovic Courtès 55b2fc1877 substitute: Honor all the specified server URLs.
* guix/scripts/substitute.scm (lookup-narinfos/diverse): New procedure.
  (lookup-narinfo): Use it.
  (process-query): Change #:cache-url to #:cache-urls.
  [valid?]: Remove 'narinfo?' check, which is no longer necessary.
  Use 'lookup-narinfos/diverse' instead of 'lookup-narinfos'.
  (process-substitution): Change #:cache-url to #:cache-urls.
  (%cache-url): Rename to...
  (%cache-urls): ... this.  Turn into a list.
  (guix-substitute): Remove 'getaddrinfo' test with early exit.  Adjust
  calls to 'process-query' and 'process-substitution'.
* tests/substitute.scm: Change '%cache-url' to '%cache-urls'.
2015-10-28 12:04:03 +01:00
Ludovic Courtès a89dde1ed8 substitute: 'lookup-narinfos' returns exactly a list of narinfos.
* guix/scripts/substitute.scm (lookup-narinfos): Filter out #f values
  from CACHED, such that the end result is exactly a list of narinfos,
  not interspersed with #f.
* guix/scripts/challenge.scm (discrepancies): Assume REMOTE is a list of
  narinfos.
2015-10-28 12:04:03 +01:00
Ludovic Courtès f151298fa0 substitute: 'http-multiple-get' follows 'fold' style.
* guix/scripts/substitute.scm (http-multiple-get): Add 'seed'
  parameter.  Call PROC in 'fold' style.
  (fetch-narinfos)[handle-narinfo-response]: Adjust accordingly.
  Update 'http-multiple-get' call accordingly.
2015-10-28 12:04:03 +01:00
Mark H Weaver 58301666dd gnu: grub: Install documentation.
* gnu/packages/grub.scm (grub)[native-inputs]: Add help2man and texinfo.
2015-10-28 12:04:03 +01:00
Mark H Weaver 04e0eac1ed gnu: grub: Use modify-phases and other minor cleanups.
* gnu/packages/grub.scm (grub)[arguments]: Use modify-phases.  Return #t from
  'patch-stuff' phase.  Add 'patch-stuff' phase after 'unpack' instead of
  before 'patch-source-shebangs'.
  [inputs]: Add comment noting that 'fuse' would be a desirable input.
2015-10-28 12:04:03 +01:00
Mark H Weaver 0431ed00e4 doc: Add texinfo to the requirements when building from git.
* doc/contributing.texi (Building from Git): Add GNU Texinfo to the list of
  additional requirements.
2015-10-28 12:04:02 +01:00
Mark H Weaver 44a88ce49e gnu: linux-libre: On MIPS, the linux image name is vmlinuz, not bzImage.
* gnu/packages/linux.scm (linux-libre)[install-phase]: Add vmlinuz to the list
  of file names to be copied.
2015-10-28 12:04:02 +01:00
Mark H Weaver 726029b2ba gnu: linux-libre: Add case for ARCH=mips.
* gnu/packages/linux.scm (linux-libre)[build-phase]: When setting ARCH, add a
  case for MIPS.
2015-10-28 12:04:02 +01:00
Mark H Weaver 6c8d70b0b6 gnu: linux-libre: Add 'supported-systems' field: Intel only for now.
* gnu/packages/linux.scm (linux-libre)[supported-systems]: New field.
2015-10-28 12:04:02 +01:00
Mark H Weaver b1b9e5c8d2 gnu: linux-libre: Update to 4.2.5.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.5.
2015-10-27 20:20:05 -04:00
Mark H Weaver 9f4a249611 linux-initrd: Use pata_acpi, pata_atiixp, and isci modules only on Intel.
* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Include
  "pata_acpi", "pata_atiixp", and "isci" on Intel systems only.
2015-10-27 21:44:46 +01:00
Mark H Weaver 6b173ac004 system: grub: Adjust eye-candy to work on non-Intel systems.
* gnu/system/grub.scm (eye-candy): Accept additional 'system' argument.  Add
  local 'setup-gfxterm-body' variable.  Replace the 'load_video' grub function
  with 'setup_gfxterm', which includes everything in the 'if loadfont' form on
  Intel systems, but is empty on non-Intel.
  (grub-configuration-file): Pass 'system' to 'eye-candy.
2015-10-27 21:44:46 +01:00
Mark H Weaver c448bf7443 system: grub: On MIPS, the linux image name is vmlinuz, not bzImage.
* gnu/system/grub.scm (grub-configuration-file): Add 'linux-image-name'
  internal procedure.  Use it from 'entry->gexp'.
2015-10-27 21:44:46 +01:00
Ludovic Courtès 08dcff4744 gnu: Add Diffoscope.
* gnu/packages/package-management.scm (diffoscope): New variable.
2015-10-27 21:44:46 +01:00
Ludovic Courtès 816a653884 gnu: Add python-chardet.
* gnu/packages/python.scm (python-chardet, python2-chardet): New
  variables.
2015-10-27 21:44:46 +01:00
Ludovic Courtès 85d4aeacc4 gnu: Add python-debian.
* gnu/packages/python.scm (python-debian, python2-debian): New
  variables.
2015-10-27 21:44:46 +01:00