Commit graph

11721 commits

Author SHA1 Message Date
Kei Yamashita
cf1b55bd32 gnu: fltk: Add Xft support.
* gnu/packages/fltk.scm (fltk)[inputs]: Add libxft.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-04-18 15:39:34 -04:00
Mark H Weaver
4f8cede062 syscalls: If a syscall is not available, defer the error.
* guix/build/syscalls.scm (syscall->procedure): New procedure.
  (mount, umount, swapon, swapoff, clone, pivot-root): Use it.
  (clone): Add case for nonexistent syscall id.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-04-18 19:36:31 +02:00
Ludovic Courtès
dd1d09f7e4 utils: 'cache-directory' gracefully deals with unset 'HOME'.
Fixes <http://bugs.gnu.org/23165>.

* guix/utils.scm (cache-directory): Use 'getpwuid' when 'HOME' is unset.
2016-04-18 19:26:34 +02:00
Ludovic Courtès
cd76fbde6f gnu: vlc: Make 'plugins.dat' generation reproducible.
Fixes <http://bugs.gnu.org/23307>.

* gnu/packages/video.scm (vlc)[arguments]: Add #:phases.
2016-04-18 15:39:43 +02:00
Ludovic Courtès
4ef2721b52 gnu: vlc: Do not capture the build time.
* gnu/packages/video.scm (vlc)[source]: Add 'snippet'.
2016-04-18 12:08:31 +02:00
Ludovic Courtès
b4dff93550 gnu: vlc: Build against ffmpeg 2.8.
Fixes <http://bugs.gnu.org/23256>.
Reported by Christopher Allan Webber <cwebber@dustycloud.org>.

* gnu/packages/video.scm (vlc): Use FFMPEG-2.8 instead of FFMPEG.
2016-04-18 11:58:15 +02:00
Ludovic Courtès
940778c71c gnu: ffmpeg: Re-add 2.8.6.
* gnu/packages/video.scm (ffmpeg-2.8): New variable.
2016-04-18 11:26:30 +02:00
Alex Kost
a7c61781df emacs: Display license info on button press in Package Info buffer.
* emacs/guix-ui-package.el (guix-package-license): Adjust button action
  to display license info instead of browsing license URL.
2016-04-18 10:09:02 +03:00
Alex Kost
690c055b08 emacs: Add location "Packages" button to Package Info buffer.
* emacs/guix-ui-package.el (guix-package-info-insert-location): New
procedure.
(guix-package-info-format): Use it.
(guix-output-info-format): Likewise.
2016-04-18 10:09:02 +03:00
Alex Kost
b4b9975d4a emacs: Add interface for package locations.
* emacs/guix-main.scm (%package-location-param-alist): New variable.
(package-location->sexp, package-location-entries): New procedures.
* emacs/guix-ui-location.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Package Locations): Document 'guix-locations'.
* NEWS: Mention it.
2016-04-18 10:09:02 +03:00
Alex Kost
b5e3cbbb24 doc: emacs: Add "Package Source Locations" section.
* doc/emacs.texi (Emacs Commands): Move description of 'guix-edit'
command to...
(Emacs Package Locations): ... here.  Document 'guix-find-location'.
New node.
* doc/guix.texi (Top): Add it.
2016-04-18 10:09:02 +03:00
Alex Kost
e81a89d176 emacs: Make 'guix-find-location' interactive.
* emacs/guix-location.el (guix-find-location): Make interactive.  Adjust
  to handle "reduced" locations (without line and column numbers).
2016-04-18 10:09:02 +03:00
Alex Kost
8934c3b60f emacs: Display message if license not found.
* emacs/guix-ui-license.el (guix-license-message): New procedure.
(guix-license-info-message-function): Use it.
(guix-license-list-message-function): Likewise.
2016-04-18 10:09:02 +03:00
Alex Kost
27986d7b19 emacs: Separate package license code.
Move list/info interface code from "guix-license.el" to
"guix-ui-license.el".

* emacs/guix-license.el (guix-license-get-entries, guix-license-get-display)
(guix-license-insert-packages-button, guix-license-insert-comment)
(guix-licenses): Move to...
* emacs/guix-ui-license.el: ... here.  New file.
* emacs.am (ELFILES): Add it.
2016-04-18 10:09:02 +03:00
Alex Kost
79c7a8f214 emacs: Separate package location code.
* emacs/guix-base.el (guix-directory, guix-read-directory)
(guix-set-directory): Move to "guix-backend.el".
(guix-find-location, guix-package-location, guix-edit): Move to...
* emacs/guix-location.el: ... here.  New file.
* emacs/guix-ui-package.el: Use it.
* emacs.am (ELFILES): Add it.
2016-04-18 10:09:02 +03:00
Alex Kost
b4ea535a9f emacs: Add 'guix-packages-by-location' command.
* emacs/guix-main.scm (packages-by-location-file, package-location-files):
New procedures.
(%patterns-makers): Add 'location' search type.
* emacs/guix-messages.el (guix-message-packages-by-location): New procedure.
(guix-messages): Use it.
* emacs/guix-read.el (guix-package-locations)
(guix-read-package-location): New procedures.
* emacs/guix-ui-package.el (guix-packages-by-location): New command.
* doc/emacs.texi (Emacs Commands): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-04-18 10:09:01 +03:00
Ben Woodcroft
9bb46c155b gnu: ruby-bio-commandeer: Update to 0.1.3.
* gnu/packages/ruby.scm (ruby-bio-commandeer): Update to 0.1.3.
2016-04-18 14:58:43 +10:00
Ludovic Courtès
ffba7d498d mapped-devices: LUKS partitions can be designated by their UUID.
* gnu/system/mapped-devices.scm (device-mapping-service-type): Add
'modules' and 'imported-modules' fields to 'shepherd-service'.
(open-luks-device): Use 'find-partition-by-luks-uuid' to lookup the
partition when SOURCE is a bytevector.
* gnu/system/linux-initrd.scm (base-initrd): Augment 'use-modules'
form.
* doc/guix.texi (Mapped Devices): Give example with a UUID.
2016-04-18 01:24:06 +02:00
Ludovic Courtès
4da8c19e83 mapped-devices: 'mapped-device-service' takes a <mapped-device>.
* gnu/system/mapped-devices.scm (device-mapping-service): Take a
<mapped-device> instead of 3 parameters.
(device-mapping-service-type): Adjust accordingly.
* gnu/system.scm (device-mapping-services): Adjust accordingly.
2016-04-18 01:24:06 +02:00
Ludovic Courtès
1ea507bce2 services: Move 'device-mapping-service' to (gnu system mapped-devices).
* gnu/services/base.scm (device-mapping-service-type)
(device-mapping-service): Move to...
* gnu/system/mapped-devices.scm (device-mapping-service-type):
(device-mapping-service): ... here.  New variables.
2016-04-18 01:24:06 +02:00
Ludovic Courtès
374f14c265 system: Move 'luks-device-mapping' to (gnu system mapped-devices).
* gnu/system.scm (open-luks-device, close-luks-device)
(luks-device-mapping): Move to...
* gnu/system/mapped-devices.scm: ... here.  New file.
2016-04-18 01:24:06 +02:00
Ludovic Courtès
060d62a740 system: Add (gnu system mapped-devices).
* gnu/system/file-systems.scm (<mapped-device>, <mapped-device-type>):
Move to...
* gnu/system/mapped-devices.scm: ... here.  New file.
* gnu/system.scm, gnu/services/base.scm,
gnu/system/linux-initrd.scm: Use it.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu.scm (%public-modules): Add it.
2016-04-18 01:24:06 +02:00
Ricardo Wurmus
fac34dfe2a gnu: Add python-pyusb.
* gnu/packages/libusb.scm (python-pyusb, python2-pyusb): New variables.
2016-04-17 21:48:51 +02:00
Leo Famulari
d99f6ffb4c gnu: khard: Update to 0.9.0.
* gnu/packages/mail.scm (khard): Update to 0.9.0.
2016-04-17 14:35:11 -04:00
Leo Famulari
9bed9b150d gnu: python-vobject: Update to 0.9.2.
* gnu/packages/python.scm (python-vobject, python2-vobject): Update to 0.9.2.
2016-04-17 14:35:11 -04:00
Leo Famulari
67157996e2 gnu: openssh: Fix CVE-2015-8325.
* gnu/packages/patches/openssh-CVE-2015-8325.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (openssh): Use it.
2016-04-17 13:48:31 -04:00
Ludovic Courtès
a7d94b54c7 gnu: Add recordmydesktop.
* gnu/packages/video.scm (recordmydesktop): New variable.
2016-04-17 17:37:20 +02:00
Ludovic Courtès
c82c060d91 install: Use 'beta' instead of 'alpha'.
Suggested by Jelle Licht <jlicht@fsfe.org>.

* gnu/system/install.scm (installation-services): Say 'beta' instead of
'alpha' and make the warning less scary.
2016-04-17 17:37:20 +02:00
Ricardo Wurmus
534db46306 gnu: python-pandas: Fix test failures.
* gnu/packages/patches/python-pandas-fix-tslib-test-failure.patch: New
  file.
* gnu-system.am (dist_patch_DATA): Register it.
* gnu/packages/python.scm (python-pandas)[source]: Add patch.
2016-04-17 11:36:25 +02:00
Ricardo Wurmus
b711df02fd gnu: icedtea-7: Update to 2.6.5.
* gnu/packages/java.scm (icedtea-7): Update to 2.6.5.
[inputs]: Add libxcomposite.
2016-04-17 11:15:53 +02:00
Alex Kost
b3d05f4870 services: 'console-keymap-service' takes multiple files.
* gnu/services/base.scm (console-keymap-service-type): Type procedure
takes a list of files instead of a single file.
(console-keymap-service): Take 'files' as rest arguments.
* doc/guix.texi (Base Services): Improve documentation of
'console-keymap-service'.
2016-04-17 10:33:08 +03:00
Alex Kost
a78daf5e2b gnu: kbd: Update to 2.0.3.
* gnu/packages/linux.scm (kbd): Update to 2.0.3.
2016-04-17 10:33:08 +03:00
Alex Kost
5953d2b7c0 gnu: kbd: Use 'modify-phases'.
* gnu/packages/linux.scm (kbd)[arguments]: Use 'modify-phases'.
2016-04-17 10:33:08 +03:00
Ludovic Courtès
a1ccefaa12 file-systems: Add 'find-partition-by-luks-uuid'.
* gnu/build/file-systems.scm (%luks-endianness, %luks-header-size): New
macros.
(%luks-magic): New variable.
(sub-bytevector, read-luks-header, luks-header-uuid): New procedures.
(partition-predicate): Add 'read' parameter; wrap it with 'ENOENT-safe'.
Use it instead of 'read-ext2-superblock*'.
(read-ext2-superblock*): Remove.
(partition-label-predicate, partition-uuid-predicate): Pass
'read-ext2-superblock' as the first argument.
(partition-luks-uuid-predicate): New variable.
(find-partition-by-luks-uuid): New procedure.
2016-04-17 01:23:52 +02:00
Ludovic Courtès
2447335625 file-systems: Separate ENOENT catching from ext2 superblock reads.
* gnu/build/file-systems.scm (ENOENT-safe): New procedure.
(read-ext2-superblock*): Rewrite in terms of it.
2016-04-17 01:23:52 +02:00
Ludovic Courtès
e9dffec126 doc: Update 'skeletons' field documentation.
* doc/guix.texi (operating-system Reference): Update documentation of
'skeletons' as a followup to e79467f63a.
2016-04-17 01:23:52 +02:00
Ludovic Courtès
d5e5924835 doc: Use new PACKAGE@VERSION syntax in example.
* doc/guix.texi (Using the Configuration System): Use PACKAGE@VERSION
syntax.
2016-04-17 01:23:52 +02:00
John Darrington
f6c8cb996b gnu: Add marst.
* gnu/packages/marst.scm: New file.
* gnu-system.am: Add it.
2016-04-16 18:46:17 +02:00
Manolis Ragkousis
503275e94a gnu: linux: Add case for arm64.
* gnu/packages/linux.scm (system->linux-architecture): Add
  "aarch64".
2016-04-16 18:10:36 +03:00
Manolis Ragkousis
19c444f403 gnu: bootstrap: Add the location of ld.so on arm64.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add the dynamic
  linker for aarch64-linux.
2016-04-16 18:10:31 +03:00
Ludovic Courtès
3a25c63120 doc: Mention --localstatedir for when building from Git.
Reported by Hartmut Goebel <h.goebel@crazy-compilers.com>.

* doc/contributing.texi (Building from Git): Mention --localstatedir.
2016-04-16 00:52:19 +02:00
Ludovic Courtès
e0b3f97ecc doc: Fix typos.
* doc/guix.texi (Hardware Considerations): Fix typos.
2016-04-16 00:52:19 +02:00
Ludovic Courtès
6d2b43915f syscalls: 'terminal-columns' ignores non-file ports.
* guix/build/syscalls.scm (terminal-columns): Call
'terminal-window-size' only when PORT is a file port.
* tests/syscalls.scm ("terminal-columns non-file port"): New test.
2016-04-16 00:52:19 +02:00
Ludovic Courtès
9f088725c0 gnu: Add tcc-wrapper.
* gnu/packages/c.scm (tcc-wrapper): New variable.
2016-04-16 00:52:19 +02:00
Ludovic Courtès
a5e2c9a9c5 gnu: Add tcc.
* gnu/packages/c.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2016-04-16 00:52:19 +02:00
Ludovic Courtès
bf15321a60 doc: Remove mention of GNU release freshness checks.
* doc/guix.texi (Invoking guix package): Remove paragraph about
automatic check for latest GNU releases, which was removed in
6caa4dfa37.
2016-04-16 00:52:19 +02:00
Ricardo Wurmus
770305f4ab gnu: Add Beast.
* gnu/packages/music.scm (beast): New variable.
2016-04-15 22:11:17 +02:00
Ricardo Wurmus
96d15e4841 gnu: Add rapicorn.
* gnu/packages/graphics.scm (rapicorn): New variable.
2016-04-15 22:10:08 +02:00
Ricardo Wurmus
2df831a78a gnu: Add libpng-1.2.
* gnu/packages/image.scm (libpng-1.2): New variable.
2016-04-15 22:10:02 +02:00
Chris Marusich
9e9c71eb60 gnu: Add emacs-ffap-rfc-space.
* gnu/packages/emacs.scm (emacs-ffap-rfc-space): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-04-15 11:32:37 +03:00