1
0
forked from tribes/guix

Compare commits

...

2547 Commits

Author SHA1 Message Date
Ludovic Courtès 04bdcdb636 gnu: bool: Synchronize synopsis and description with upstream.
* gnu/packages/search.scm (bool): Synchronize synopsis & description
  with GNU.
2015-05-13 23:49:33 +02:00
Ludovic Courtès ec6b5a9942 Update NEWS. 2015-05-13 23:41:08 +02:00
Taylan Ulrich Bayırlı/Kammer 45cbe390c3 gnu: guix-0.8.1: Add gnutls to propagated inputs.
* gnu/packages/package-management.scm (guix-0.8.1): Add gnutls to propagated
  inputs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-13 23:30:23 +02:00
Ludovic Courtès ee5bae302e gnu: lftp: Add alternate URL for old tarballs.
* gnu/packages/ftp.scm (lftp)[source]: Add /old alternate URL.
2015-05-13 22:51:56 +02:00
Ludovic Courtès 1eefe4a87b gnu: Tweak a few synopses and descriptions reported by 'lint'.
* gnu/packages/haskell.scm (ghc-text)[synopsis]: Remove period.
  [description]: Two space after end-of-sentence periods.
  (ghc-http)[description]: Likewise.
* gnu/packages/image.scm (libwebp)[description]: Likewise.
* gnu/packages/libedit.scm (libedit)[description]: Likewise.
* gnu/packages/kde.scm (oxygen-icons)[synopsis]: Capitalize.
2015-05-13 22:51:56 +02:00
Ludovic Courtès 853c2f18e7 gnu: e2fsprogs: Remove references to linux-libre-headers.
This removes the final linux-libre-headers and its references (including
bootstrap-binaries) from the closure.

* gnu/packages/linux.scm (e2fsprogs)[arguments]: Augment 'install-libs'
  phase to make .a files writable.
2015-05-13 22:51:56 +02:00
Ludovic Courtès 49607566e1 doc: Increase package count.
* doc/guix.texi (System Installation): Increase package count.
2015-05-13 22:51:55 +02:00
David Thompson d423ac6047 NEWS: Mention new postgresql service in 0.8.2. 2015-05-13 12:31:18 -04:00
Ludovic Courtès 6b832e4d7b Update NEWS. 2015-05-13 11:48:12 +02:00
Mark H Weaver e1820d1443 gnu: icecat: Apply fixes for CVE-2015-{0797,2708,2710,2713,2716}.
* gnu/packages/patches/icecat-CVE-2015-0797.patch,
  gnu/packages/patches/icecat-CVE-2015-2708-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2708-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2708-pt3.patch,
  gnu/packages/patches/icecat-CVE-2015-2708-pt4.patch,
  gnu/packages/patches/icecat-CVE-2015-2710-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2710-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2710-pt3.patch,
  gnu/packages/patches/icecat-CVE-2015-2713-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2713-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2716.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat): Add patches.
2015-05-13 01:32:28 -04:00
Mark H Weaver d7cbc91d1a gnu: sharutils: Correct source hash.
This is a followup to 512da657d7.

* gnu/packages/compression.scm (sharutils): Correct source hash.
2015-05-12 22:52:37 -04:00
Mark H Weaver 512da657d7 gnu: sharutils: Update to 4.15.1.
* gnu/packages/compression.scm (sharutils): Update to 4.15.1.
2015-05-12 22:50:47 -04:00
Mark H Weaver fb8ebb8316 gnu: autogen: Update to 5.18.5.
* gnu/packages/autogen.scm (autogen): Update to 5.18.5.  Add pkg-config to
  native-inputs.
2015-05-12 22:50:46 -04:00
Mark H Weaver e736cfcee6 gnu: gnubik: Update to 2.4.2.
* gnu/packages/games.scm (gnubik): Update to 2.4.2.
2015-05-12 22:50:46 -04:00
Mark H Weaver 19595c08f3 gnu: gnupg: Update to 2.1.4.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.4.
2015-05-12 22:50:46 -04:00
Taylan Ulrich Bayırlı/Kammer 1e61e22f4d gnu: Add miredo.
* gnu/packages/networking.scm (miredo): New variable.
2015-05-13 01:09:18 +02:00
Ludovic Courtès 9e2292ef3d publish: Add '--listen'.
* guix/scripts/publish.scm (show-help, %options): Add --listen.
  (getaddrinfo*): New procedure.
  (%default-options): Add 'address'.
  (open-server-socket): Replace 'addr' and 'port' with 'address', a
  sockaddr.
  (guix-publish): Adjust accordingly.  Augment "publishing" message with
  the actual address.
* doc/guix.texi (Invoking guix publish): Document it.
2015-05-12 21:22:52 +02:00
Ludovic Courtès 083b54b7c7 gnu: inetutils: Update to 1.9.3.
* gnu/packages/patches/inetutils-syslogd.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/admin.scm (inetutils): Bump to 1.9.3.
  [source]: Remove patch.
  [native-inputs]: Remove.
2015-05-12 21:22:52 +02:00
Ludovic Courtès 5463fe512a publish: Add '--user' option.
* guix/scripts/publish.scm (show-help): Add --user.
  (%options): Likewise.
  (run-publish-server): Change 'port' parameter to 'socket'.  Pass
  #:socket instead of #:addr and #:port to 'run-server'.  Update caller
  accordingly.
  (open-server-socket, gather-user-privileges): New procedures.
  (guix-publish): Use them.  Force %PRIVATE-KEY and %PUBLIC-KEY early
  on.  Warn when running as root.
* doc/guix.texi (Invoking guix publish): Document --user.
2015-05-12 21:22:52 +02:00
Eric Bavier 6ad2e17e8e gnu: Add bool.
* gnu/packages/search.scm (bool): New variable.
2015-05-12 10:28:28 -05:00
Mark H Weaver 1600544a10 gnu: icu4c: Update to 55.1.
* gnu/packages/icu4c.scm (icu4c): Update to 55.1.
2015-05-12 09:27:26 -04:00
Ricardo Wurmus 4cbaf2ab65 gnu: icedtea6: Add target-dependent include directory to CPATH.
* gnu/packages/java.scm (gcj-4.8)[arguments]: Add target-dependent GCJ include
  directory to CPATH environment variable.
2015-05-12 13:59:17 +02:00
宋文武 73b6cf429b gnu: gnome-icon-theme: Move GTK+ and icon-naming-utils to 'native-inputs'.
* gnu/packages/gnome.scm (gnome-icon-theme): Move inputs to native-inputs.
2015-05-12 18:09:47 +08:00
宋文武 b32f58dd8e gnu: gnome-icon-theme: Update to 3.12.0.
* gnu/packages/gnome.scm (gnome-icon-theme): Update to 3.12.0.
2015-05-12 18:09:47 +08:00
Ludovic Courtès 8ce229fca2 doc: Make 'guix publish' more visible.
* doc/guix.texi (Substitutes): Add xref to "Invoking guix publish".
  (Invoking guix publish): Add xref to "Substitutes".  Explain what
  Hydra is.
2015-05-12 11:14:41 +02:00
Ludovic Courtès 4705641fd0 doc: "GSD" -> "GuixSD".
* doc/guix.texi: Replace "GSD" with "GuixSD".
2015-05-12 11:14:41 +02:00
Ludovic Courtès ae80609603 doc: Use @indicateurl where appropriate.
* doc/guix.texi (Binary Installation, Invoking guix-daemon, System
  Installation): Use @indicateurl instead of @code where appropriate.
2015-05-12 11:14:41 +02:00
Mark H Weaver b599e9ebf5 install: desktop.tmpl: Add "netdev" to the user's supplementary groups.
* gnu/system/examples/desktop.tmpl: Add "netdev" to the user's supplementary
  groups.
2015-05-11 22:40:31 -04:00
Ludovic Courtès efb5e833ba doc: Document X.509 certificates.
* doc/guix.texi (Using the Configuration System): Add xref to "X.509
  Certificates".
  (X.509 Certificates): New section.
* gnu/system/examples/desktop.tmpl: Use NSS-CERTS.
2015-05-11 23:01:20 +02:00
Ludovic Courtès 1303a4a451 daemon: Fix possible use-after-free.
This is essentially a backport of
<https://github.com/NixOS/nix/commit/f52b6c944e90b3e35925122779175705fdc02e12>
by Eelco Dolstra <eelco.dolstra@logicblox.com>.

The use-after-free bug would typically manifest when building with
GCC 5.1.
2015-05-11 23:01:20 +02:00
Andreas Enge 2320ea1a51 gnu: Add MyThes.
* gnu/packages/libreoffice.scm (mythes): New variable.
2015-05-11 22:54:27 +02:00
Andreas Enge 1c625dd372 gnu: Add hyphen.
* gnu/packages/libreoffice.scm (hyphen): New variable.
2015-05-11 22:54:27 +02:00
Andreas Enge 2a9a94419a gnu: Add hunspell.
* gnu/packages/libreoffice.scm (hunspell): New variable.
2015-05-11 22:54:27 +02:00
Ricardo Wurmus d49976ed4e gnu: ardour: Extract RUNPATH phase.
* gnu/packages/audio.scm (ardour-rpath-phase): New procedure.
* gnu/packages/audio.scm (ardour, ardour-3): Generate version-dependent build
  phase with ardour-rpath-phase.
2015-05-11 22:25:54 +02:00
Mark H Weaver d48c8e7b60 gnu: wpa-supplicant: Add security fixes.
* gnu/packages/patches/wpa-supplicant-2015-2-fix.patch,
  gnu/packages/patches/wpa-supplicant-2015-3-fix.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt1.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt2.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt3.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt4.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt5.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/admin.scm (wpa-supplicant-light)[source]: Add patches.
2015-05-11 12:51:47 -04:00
Eric Bavier 1ec78e9d71 gnu: octave: Add fftw, arpack, and glu inputs.
* gnu/packages/maths.scm (octave)[inputs]: Add fftw, fftwf, arpack,
  and glu.
  [description]: Wrap to 80 columns.
2015-05-11 10:10:00 -05:00
Ludovic Courtès d7fdab2541 build: check-final-inputs-self-contained uses %HYDRA-SUPPORTED-SYSTEMS.
* build-aux/check-final-inputs-self-contained.scm: Change
  '%supported-systems' to '%hydra-supported-systems'.
2015-05-10 22:29:16 +02:00
Ludovic Courtès 487abff67c nls: Add package files for translation.
* po/packages/POTFILES.in: Add a bunch of files.
2015-05-10 22:29:16 +02:00
Ludovic Courtès fc8a431c39 gnu: libcdio: Synchronize description.
* gnu/packages/cdrom.scm (libcdio)[description]: Synchronize with GNU.
2015-05-10 22:29:16 +02:00
Mark H Weaver b8949a2fc9 gnu: libtasn1: Update to 4.5.
* gnu/packages/gnutls.scm (libtasn1): Update to 4.5.
2015-05-10 14:05:25 -04:00
Alex Kost 6633f86b49 gnu: Add tvtime.
* gnu/packages/tv.scm,
  gnu/packages/patches/tvtime-gcc41.patch,
  gnu/packages/patches/tvtime-pngoutput.patch,
  gnu/packages/patches/tvtime-videodev2.patch,
  gnu/packages/patches/tvtime-xmltv.patch: New files.
* gnu-system.am (GNU_SYSTEM_MODULES): Add package.
  (dist_patch_DATA): Add patches.
2015-05-10 18:30:54 +03:00
Ludovic Courtès f0b98b8483 doc: Mention GNU Make as a requirement.
* README (Requirements): Add GNU Make.
* doc/guix.texi (Requirements): Likewise.
2015-05-10 11:20:35 +02:00
Ludovic Courtès 005c8fc6e0 http-client: Remove monkey patching for 2.0.5.
* guix/http-client.scm (read-response-body*): Remove.
  (http-fetch): Remove hacks for 2.0.5.
2015-05-10 11:07:51 +02:00
Ludovic Courtès 09d809db6a Remove assorted Guile 2.0.5 workarounds.
* guix/scripts/authenticate.scm (%default-port-conversion-strategy):
  Remove.
* guix/scripts/substitute.scm (fetch): Remove 2.0.5 special cases.
* guix/serialization.scm (write-file): Remove 'scandir' workaround.
* guix/ui.scm (command-files): Likewise.
2015-05-10 11:07:51 +02:00
Ludovic Courtès 47c66da00b build: Require Guile >= 2.0.7.
* configure.ac: Require guile-2.0 >= 2.0.7.
* README: Adjust accordingly.
* doc/guix.texi (Requirements): Likewise.
2015-05-10 11:07:51 +02:00
Cyril Roelandt 8fda1b7970 Remove leftover patches.
* gnu/packages/patches/guix-test-networking.patch: Delete it.
* gnu/packages/patches/libtool-skip-tests.patch: Delete it.
* gnu/packages/patches/python-sqlite-3.8.4-test-fix.patch: Delete it.
* gnu/packages/patches/udev-gir-libtool.patch: Delete it.
* gnu-system.am (dist_patch_DATA): Remove them as well.
2015-05-10 02:10:07 +02:00
Ludovic Courtès dd51caac55 doc: Show both the "bare-bones" and the "desktop" configurations.
* doc/guix.texi (System Installation): Add xref to "Using the
  Configuration System" instead of including one here.
  (Using the Configuration System): Remove first example, and include
  os-config-bare-bones.texi instead.  Include os-config-desktop.texi as
  a second example.
* doc.am (OS_CONFIG_EXAMPLES_TEXI): New variable.
  (BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Use it.
  (doc/os-config.texi): Remove.
  (doc/os-config-%.texi): New target.
2015-05-09 23:53:36 +02:00
Ludovic Courtès e1fbc32a0a install: Have several OS config templates under /etc/configuration.
* gnu/system/install.scm (configuration-template-service): Remove
  'local-template' and 'template'.  Add 'search' and 'templates'.
  [activate]: Copy all of TEMPLATES to /etc/configuration.
* doc/guix.texi (System Installation): Adjust file name accordingly.
2015-05-09 23:53:36 +02:00
Ludovic Courtès 36ffaca246 doc: Add desktop configuration example.
* gnu/system/examples/bare-bones.tmpl: Change 'packages' and
  'host-name'.  Remove D-Bus, Avahi, and SLiM services, and add lsh
  instead.
* gnu/system/examples/desktop.tmpl: New file.
* Makefile.am (EXAMPLES): Add it.
2015-05-09 23:53:36 +02:00
Ludovic Courtès c217cbd84d services: dhcp-client: Better track dhclient's PID.
* gnu/services/networking.scm (dhcp-client-service)[start]: Remove
  PID-FILE first.  When 'call-with-input-file' throws ENOENT, try
  again.
2015-05-09 23:53:36 +02:00
Ludovic Courtès 54d6223d2c doc: Rename OS config example.
* gnu/system/os-config.tmpl: Rename to...
* gnu/system/examples/bare-bones.tmpl: ... this.
* Makefile.am (EXAMPLES): Adjust accordingly.
* doc.am (doc/os-config.texi): Likewise.
* gnu/system/install.scm (configuration-template-service)[template]:
  Likewise.
2015-05-09 23:53:36 +02:00
Ludovic Courtès 6f05630ba6 gnu: wicd: Add patch to fix template instantiation.
* gnu/packages/patches/wicd-template-instantiation.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/wicd.scm (wicd)[source]: Use it.
2015-05-09 23:53:36 +02:00
Mark H Weaver 15f0de0581 system: activate-ptrace-attach: Handle kernels without YAMA support.
* gnu/build/activation.scm (activate-ptrace-attach): Check for the existence
  of /proc/sys/kernel/yama/ptrace_scope before trying to write to it.
2015-05-09 13:14:31 -04:00
Mark H Weaver 57e95b261b gnu: sqlite: Update to 3.8.9.
* gnu/packages/databases.scm (sqlite): Update to 3.8.9.
2015-05-08 20:33:20 -04:00
Mark H Weaver cbf71ea25e gnu: subversion: Add fix for sqlite-3.8.9.
* gnu/packages/patches/subversion-sqlite-3.8.9-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/version-control.scm (subversion): Add patch.
2015-05-08 20:33:20 -04:00
Mark H Weaver 85bafc31f6 gnu: mariadb: Update to 10.0.18.
* gnu/packages/databases.scm (mariadb): Update to 10.0.18.
2015-05-08 19:59:26 -04:00
Ricardo Wurmus 9c8bd626a1 gnu: gimp: Enable Python scripting support.
* gnu/packages/gimp.scm (gimp): Enable Python scripting support.
2015-05-08 21:55:42 +02:00
Ludovic Courtès 965a733220 doc: Document 'avahi-service'.
* gnu/services/avahi.scm (avahi-service): Add URL in docstring.
* doc/guix.texi (Networking Services): Document it.
  (Name Service Switch): Fix cross-reference.
2015-05-08 16:35:32 +02:00
Ludovic Courtès 04e4e6ab51 doc: Document sessions and ~/.xsession for SLiM.
* gnu/services/xorg.scm (slim-service): Document session types and
  ~/.xsession.
* doc/guix.texi (X Window): Adjust accordingly.
2015-05-08 16:35:32 +02:00
Ludovic Courtès 4467be213a services: Add '%desktop-services'.
* gnu/services/desktop.scm (%desktop-services): New variable.
* doc/guix.texi (Desktop Services): Document it.
2015-05-08 16:35:32 +02:00
Ludovic Courtès a0dac7a01f profiles: Ensure the profile's etc/ directory is writable.
Reported by 宋文武 <iyzsong@gmail.com>.

* guix/build/profiles.scm (build-etc/profile,
  ensure-writable-directory): New procedures.
  (build-profile): Use them.
* tests/profiles.scm ("etc/profile when etc/ already exists"): New test.
2015-05-08 16:35:32 +02:00
Ludovic Courtès 15137a29c2 nss: Add '%mdns-host-lookup-nss'.
* gnu/system/nss.scm (%mdns-host-lookup-nss): New variable.
* doc/guix.texi (Name Service Switch): Document it.
2015-05-08 16:35:32 +02:00
宋文武 6b888efff6 gnu: Add aisleriot.
* gnu/packages/gnome.scm (aisleriot): New variable.
2015-05-08 22:08:04 +08:00
Ricardo Wurmus ad12c43e97 gnu: gcj: Add $libdir to RUNPATH.
* gnu/packages/gcc.scm (gcj)[arguments]: Add build phase to add library output
  directory to RUNPATH.
2015-05-08 13:14:36 +02:00
Mark H Weaver aa2e989e1e gnu: linux-libre: Update to 4.0.2.
* gnu/packages/patches/linux-libre-libreboot-fix.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (linux-libre): Update to 4.0.2.  Remove patch.
2015-05-07 18:41:32 -04:00
Andreas Enge 82741a8a11 gnu: Add libwps.
* gnu/packages/libreoffice.scm (libwps): New variable.
2015-05-07 23:12:28 +02:00
Andreas Enge 1d59b83b27 gnu: Add libmwaw.
* gnu/packages/libreoffice.scm (libmwaw): New variable.
2015-05-07 23:12:28 +02:00
Andreas Enge 74a63b118b gnu: Add libodfgen.
* gnu/packages/libreoffice.scm (libodfgen): New variable.
2015-05-07 23:12:28 +02:00
Ludovic Courtès cf2abac8ec artwork: Update to latest version.
* gnu/artwork.scm (%artwork-repository): Update.
* gnu/services/xorg.scm (%default-slim-theme-name): Change to "0.x".
* gnu/system/grub.scm (%background-image): Change to
  GuixSD-fully-black-4-3.svg.
2015-05-07 23:11:23 +02:00
Ricardo Wurmus 32cf989587 gnu: ardour: Fix inheritance of Ardour package.
* gnu/packages/audio.scm (ardour): Inherit from "ardour-3" instead of
  "ardour".
2015-05-07 22:48:36 +02:00
Ricardo Wurmus 002806c929 gnu: Add Ardour 4.
* gnu/packages/audio.scm (ardour): Rename to ...
  (ardour-3): ... this.
  (ardour): New variable.
2015-05-07 22:37:16 +02:00
Ricardo Wurmus e55c1b67ea gnu: Add GnuCash.
* gnu/packages/gnucash.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-05-07 20:17:42 +02:00
Ricardo Wurmus 7b05ba9161 gnu: Add WebkitGTK 2.4.8.
* gnu/packages/webkit.scm (webkitgtk-2.4): New variable.
* gnu/packages/patches/webkitgtk-2.4.8-gmutexlocker.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-05-07 20:17:42 +02:00
Ricardo Wurmus c024ae3601 gnu: Add goffice-0.8.
* gnu/packages/gnome.scm (goffice-0.8): New variable.
2015-05-07 20:16:50 +02:00
David Thompson f4d8f85555 gnu: mesa: Build gallium drivers for nouveau.
* gnu/packages/gl.scm (mesa): Pass "nouveau" to "--with-gallium-drivers" flag.
2015-05-07 14:12:21 -04:00
Mark H Weaver 88b6b125ba gnu: serf: Apply upstream fixes.
* gnu/packages/patches/serf-comment-style-fix.patch,
  gnu/packages/patches/serf-deflate-buckets-test-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/web.scm (serf): Add patches.  Remove 'remove-non-c89-comment'
  phase.
2015-05-07 12:22:09 -04:00
David Thompson dc77f0d321 gnu: Add openvpn.
* gnu/packages/vpn.scm (openvpn): New variable.
2015-05-07 10:54:12 -04:00
David Thompson e5c8e4f361 gnu: bridge-utils: Fix build system.
* gnu/packages/linux.scm (bridge-utils): Patch source to fix compilation
  error.  Patch Makefile to fail in case of future compilation errors.
2015-05-07 10:44:42 -04:00
David Thompson 105369a46b gnu: Add postgresql-service.
* gnu/services/databases.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi ("Database Services"): New subsubsection.
2015-05-07 08:44:36 -04:00
Mark H Weaver 6e6e9f2551 gnu: Remove neon-0.29.6.
* gnu/packages/version-control.scm (neon-0.29.6): Remove variable.
2015-05-07 05:06:27 -04:00
Mark H Weaver 46138f3e22 gnu: subversion: Add serf to inputs.
This is a followup to d5e9f3809d, which upgraded
subversion to 1.8.x.  Previously we used 'neon' to support http access
methods, but subversion 1.8 drops support for 'neon' in favor of 'serf'.

* gnu/packages/version-control.scm (subversion)[inputs]: Add 'serf' and remove
  'neon'.
  [arguments]: Fix typo in phase name.
2015-05-07 05:06:26 -04:00
Mark H Weaver ed86593620 gnu: Add serf.
* gnu/packages/web.scm (serf): New variable.
2015-05-07 05:06:26 -04:00
Mark H Weaver a3f61425a6 gnu: scons: Update to 2.3.4.
* gnu/packages/python.scm (scons): Update to 2.3.4.
2015-05-07 05:06:26 -04:00
Mark H Weaver 9f9d073be1 gnu: apr-util: Use system expat library.
* gnu/packages/apr.scm: Import (guix licenses) with prefix "l:".
  (apr)[license]: Adapt to license prefix.
  (apr-util)[propagated-inputs]: Add expat.
  [arguments]: Pass --with-expat to configure.
  [license]: Adapt to license prefix.
2015-05-07 05:06:26 -04:00
Mark H Weaver c716f5a0e0 gnu: apr: Update to 1.5.2.
* gnu/packages/apr.scm (apr): Update to 1.5.2.
2015-05-07 05:06:26 -04:00
Ludovic Courtès 669786da91 system: Use "." instead of "source" in /etc/profile.
* gnu/system.scm (etc-directory)[profile]: Use "." instead of "source",
  the latter being Bash-specific.
2015-05-07 09:49:08 +02:00
Ludovic Courtès 507c71d629 system: Check whether ~/.guix-profile/etc/profile exists.
* gnu/system.scm (etc-directory)[profile]: Check for
  ~/.guix-profile/etc/profile rather than just ~/.guix-profile.
2015-05-07 09:49:08 +02:00
Mark H Weaver dd4a86207e gnu: Add dosfstools.
* gnu/packages/disk.scm (dosfstools): New variable.
2015-05-07 00:54:17 -04:00
Taylan Ulrich Bayırlı/Kammer 9e006fb3de tests: Fix etc/profile test.
* tests/profiles.scm ("etc/profile"): Unset GUIX_PROFILE before sourcing
  etc/profile.  Use '.' instead of 'source' for sourcing.  Call 'echo $PATH'
  instead of using the output of 'set' to determine whether PATH is set.
2015-05-06 22:34:54 +02:00
Andreas Enge 56203284b6 gnu: Add libvisio.
* gnu/packages/libreoffice.scm (libvisio): New variable.
2015-05-06 22:25:21 +02:00
Andreas Enge f5d4a138a7 gnu: Add libpagemaker.
* gnu/packages/libreoffice.scm (libpagemaker): New variable.
2015-05-06 22:12:43 +02:00
Andreas Enge 86e278fc1a gnu: Add libmspub.
* gnu/packages/libreoffice.scm (libmspub): New variable.
2015-05-06 22:06:36 +02:00
Andreas Enge ef1c414838 gnu: Add libfreehand.
* gnu/packages/libreoffice.scm (libfreehand): New variable.
2015-05-06 21:57:42 +02:00
Andreas Enge 97aee2b6a5 gnu: Add libexttextcat.
* gnu/packages/libreoffice.scm (libexttextcat): New variable.
2015-05-06 21:51:52 +02:00
Andreas Enge 3dc67e3894 gnu: Add libetonyek.
* gnu/packages/libreoffice.scm (libetonyek): New variable.
2015-05-06 21:42:51 +02:00
Andreas Enge 9fe8a4ba4e gnu: Add libcdr.
* gnu/packages/libreoffice.scm (libcdr): New variable.
2015-05-06 21:34:49 +02:00
Andreas Enge 4cd369ed6b gnu: Add libabw.
* gnu/packages/libreoffice.scm (libabw): New variable.
2015-05-06 21:19:28 +02:00
Ricardo Wurmus e8444b26ab gnu: Add python-pyxdg.
* gnu/packages/freedesktop.scm (python-pyxdg, python2-pyxdg): New variables.
2015-05-06 20:17:57 +02:00
Ludovic Courtès d9959421a5 system: /etc/profile sources each profile's /etc/profile.
Partly fixes <http://bugs.gnu.org/20255>.
Reported by 宋文武 <iyzsong@gmail.com>.

* gnu/system.scm (etc-directory)[profile]: Source
  /run/current-system/profile/etc/profile and
  $HOME/.guix-profile/etc/profile when available.  Move definitions of
  SSL_CERT_DIR, SSL_CERT_FILE, and GIT_SSL_CAINFO before that.
2015-05-06 18:26:54 +02:00
Ludovic Courtès d664f1b431 profiles: Generate an 'etc/profile' file.
Suggested by 宋文武 <iyzsong@gmail.com>
in <http://bugs.gnu.org/20255>.

* guix/build/profiles.scm (abstract-profile,
  write-environment-variable-definition): New procedures.
  (build-profile): Add #:search-paths parameter.  Create
  OUTPUT/etc/profile.
* guix/profiles.scm (profile-derivation)[builder]: Add 'search-paths'
  variable and pass it to 'build-profile'.  Adjust #:modules argument.
* tests/profiles.scm ("etc/profile"): New test.
* doc/guix.texi (Invoking guix package): Mention etc/profile.
2015-05-06 18:26:54 +02:00
Ludovic Courtès 611adb1ee5 profiles: Move build code to (guix build profiles).
* guix/build/profiles.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/profiles.scm (profile-derivation)[builder]: Call out to
  'build-profile'.
  Add (guix build profiles) to the #:modules argument.
2015-05-06 18:26:54 +02:00
Ludovic Courtès d838e70298 search-paths: Export 'string-tokenize*'.
* guix/search-paths.scm (string-tokenize*): Export.
* tests/utils.scm ("string-tokenize*"): Adjust accordingly.
2015-05-06 18:26:53 +02:00
Eric Bavier b5cd1e4f93 gnu: moe: Update to 1.7.
* gnu/packages/moe.scm (moe): Update to 1.7.
2015-05-06 11:13:47 -05:00
Eric Bavier 76071c70fc gnu: hop: Remove use of patchelf.
* gnu/packages/patches/hop-linker-flags.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/scheme.scm (source)[patches]: Use it.
  (arguments)[phases]: Remove patch-rpath phase.
  [modules, imported-modules]: Remove.
  (native-inputs): Remove field.
2015-05-06 10:31:02 -05:00
Ricardo Wurmus 366553e447 gnu: Add elogind.
* gnu/packages/freedesktop.scm (elogind): New variable.
2015-05-06 11:52:07 +02:00
Ricardo Wurmus 32cf42c1eb gnu: Add IR.
* gnu/packages/audio.scm (ir): New variable.
2015-05-06 11:52:07 +02:00
Ricardo Wurmus d73f79099b gnu: Add zita-convolver.
* gnu/packages/audio.scm (zita-convolver): New variable.
2015-05-06 11:52:07 +02:00
Ludovic Courtès 7623848343 download: Work around Guile small-receive-buffer bug.
Previously, code using directly (guix build download) was still affected
by <http://bugs.gnu.org/15368>.  This includes source derivations, the
'guix download' command, and (guix gnu-maintenance).

'guix substitute' was unaffected since it used (guix http-client), which
already had the fix.

* guix/http-client.scm (open-socket-for-uri): Remove.
  (http-fetch): Remove #:buffered? argument to 'open-socket-for-uri';
  use 'setvbuf' instead.
* guix/scripts/substitute.scm (fetch): Likewise.
* guix/build/download.scm (open-socket-for-uri): New procedure, taken
  from guix/http-client.scm, but without the #:buffered? parameter.
2015-05-06 10:31:11 +02:00
Ludovic Courtès c822fb8e34 download: Reinstate buffering on connection sockets.
* guix/build/download.scm (open-connection-for-uri): Reinstate call to
  'setvbuf' inadvertently removed in d17551d9.
2015-05-06 09:50:15 +02:00
David Hashe 0ffcf7cc80 gnu: webkitgtk: Remove unnecessary make flag.
* gnu/packages/webkit.scm (webkitgtk): Remove make-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-06 09:27:11 +02:00
Ludovic Courtès 356a62b8e6 activation: Make user copies of the skeletons writable.
* gnu/build/activation.scm (make-file-writable,
  make-skeletons-writable): New procedures.
  (copy-account-skeletons): Call 'make-file-writable' after 'copy-file'.
  (add-user): Add call to 'make-skeletons-writable'.
2015-05-05 23:46:54 +02:00
Ludovic Courtès 68267c6367 gnu: librevenge, libwpd, libwpg: Fix 'license' field.
* gnu/packages/libreoffice.scm (librevenge, libwpd, libwpg): Fix
  'license' field to be a list of <license>.
2015-05-05 22:44:31 +02:00
Ludovic Courtès fe1a39d319 services: Group desktop services in (gnu services desktop).
* gnu/services/colord.scm, gnu/services/dbus.scm,
  gnu/services/upower.scm: Remove.
* gnu/services/desktop.scm: New file, with contents taken from the above
  files.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* doc/guix.texi (Desktop Services): New section.
  (Various Services): Move colord-service and upower-service from
  here to "Desktop Services".
2015-05-05 22:44:31 +02:00
Eric Bavier 8a629613d1 gnu: hop: Fix RPATHs.
* gnu/packages/scheme.scm (inputs): Move patchelf input to...
  (native-inputs): ...here.  New field.
  (arguments)[phases]: Use augment-rpath for patch-rpath phase.
2015-05-05 15:14:32 -05:00
Eric Bavier 6f428fda0a gnu: perl-json-any: Fix typo in source uri scheme.
* gnu/packages/perl.scm (perl-json-any)[source]: Fix typo.
2015-05-05 15:13:05 -05:00
David Hashe 9ca3323608 gnu: webkitgtk: Fix compilation on x86_64.
* gnu/packages/webkit.scm (webkitgtk): Move library install path from lib64 to
 lib.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-05 22:04:10 +02:00
Ludovic Courtès ef80cceddc gnu: wxwidgets-2: Add $libdir to RUNPATH.
* gnu/packages/wxwidgets.scm (wxwidgets-2)[arguments]: Add #:make-flags,
  as for WXWIDGETS.
2015-05-05 22:00:53 +02:00
Ludovic Courtès 4bfeb0ca74 gnu: mozjs: Mark as unsupported on mips64el-linux.
* gnu/packages/gnuzilla.scm (mozjs)[supported-systems]: New field.
2015-05-05 21:39:18 +02:00
Ludovic Courtès ae3bded68e gnu: gpgme: Build against GnuPG 2.0.
* gnu/packages/gnupg.scm (gpgme)[inputs]: Change to GNUPG-2.0.
2015-05-05 17:43:19 +02:00
Ludovic Courtès 8e3a3bc290 environment: Move iteration outside of 'for-each-search-path'.
* guix/search-paths.scm (search-path-definition): New procedure.
* guix/scripts/environment.scm (for-each-search-path): Rename to...
  (evaluate-input-search-paths): ... this.  Remove 'proc' and 'pure?'
  parameters, and return directly the list of search-path/value pairs.
  (create-environment): Use 'for-each' and 'evaluate-input-search-paths'
  instead of 'for-each-search-path'.
  (show-search-paths): Use 'for-each', 'search-path-definition', and
  'evaluate-search-paths' instead of 'for-each-search-path'.
2015-05-05 15:13:59 +02:00
Ludovic Courtès b9ea6c6bf4 environment: Use 'evaluate-search-paths'.
This allows 'guix environment' to correctly handle non-directory
and/or pattern search-path specifications, such as that for
'XML_CATALOG_FILES'.

* guix/scripts/environment.scm (for-each-search-path): Use
  'evaluate-search-paths' instead of 'search-path-as-list' & co.
2015-05-05 15:13:59 +02:00
Ludovic Courtès fdfa753c69 search-paths: Define the 'PATH' environment variable.
* guix/search-paths.scm ($PATH): New variable.
* guix/scripts/environment.scm (for-each-search-path): Use it.
2015-05-05 15:13:58 +02:00
Ludovic Courtès 369149995c search-paths: 'evaluate-search-paths' can be passed a list of directories.
* guix/search-paths.scm (evaluate-search-paths): Change 'directory' to
  'directories', and adjust 'search-path-as-list' accordingly.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  call accordingly.
2015-05-05 15:13:58 +02:00
Ludovic Courtès c4e8d513f2 gnu-maintenance: 'gnu-package?' returns #t for R and for GNOME packages.
Reported by John Darrington.

* guix/gnu-maintenance.scm (gnu-package?)[mirror-type]: Add "gnome" to
  the list of GNU mirrors.  Return #f for "cran".
2015-05-05 15:13:57 +02:00
Ludovic Courtès 099a2c7055 environment: Use (guix search-paths).
* guix/scripts/environment.scm: Use (guix search-paths).  Fixes a
  regression introduced in e89431b.
2015-05-05 11:01:08 +02:00
Ricardo Wurmus 7c3958e15a gnu: vcftools: Remove "-m64" from CFLAGS.
* gnu/packages/bioinformatics.scm (vcftools): Explicitly set CFLAGS to
  remove "-m64" flag.
2015-05-05 10:20:21 +02:00
Eric Bavier 401f9a8b15 gnu: fltk: Fix undefined symbol errors for shared libraries.
* gnu/packages/patches/fltk-shared-lib-defines.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/fltk.scm (source)[patches]: New field.
2015-05-05 00:52:53 -05:00
Ricardo Wurmus 21481a284a gnu: ardour: Add library dirs to RUNPATH.
* gnu/packages/audio.scm (ardour)[arguments]: Add a build phase to add all
  library output directories to the rpath using linker flags.
2015-05-05 06:28:37 +02:00
David Thompson eb7c43c387 gnu: Add bluez.
* gnu/packages/linux.scm (bluez): New variable.
2015-05-04 22:15:58 -04:00
David Thompson e5326da4f4 gnu: Add libical.
* gnu/packages/calendar.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-05-04 22:15:50 -04:00
David Thompson 2b226af1bc gnu: Add soil.
* gnu/packages/gl.scm (soil): New variable.
2015-05-04 22:15:41 -04:00
Ludovic Courtès 954cea3ae6 records: Make 'make-syntactic-constructor' available at load/eval/expand.
* guix/records.scm (make-syntactic-constructor): Wrap in 'eval-when'.
2015-05-04 23:30:52 +02:00
Ludovic Courtès 88aab8e349 profiles: Use a &message error condition instead of 'error'.
* guix/profiles.scm (sexp->manifest): Use 'raise' instead of 'error'.
2015-05-04 23:30:52 +02:00
Ludovic Courtès 441cfb420a search-paths: 'evaluate-search-paths' now returns spec/value pairs.
* guix/search-paths.scm (evaluate-search-paths): Return
  specification/value pairs instead of variable/value pairs.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  accordingly.  Pass #:separator to 'environment-variable-definition'.
2015-05-04 23:30:52 +02:00
Ludovic Courtès b07901c0cc search-paths: Add 'environment-variable-definition'.
* guix/search-paths.scm (environment-variable-definition): New variable.
* guix/scripts/package.scm (search-path-environment-variables): Use it.
2015-05-04 23:30:52 +02:00
Ludovic Courtès 6568d2bd6e search-paths: Add 'evaluate-search-paths', from (guix scripts package).
* guix/scripts/package.scm (with-null-error-port,
  evaluate-search-paths): Move to...
* guix/search-paths.scm: ... here.
* guix/utils.scm (string-tokenize*): Move to...
* guix/search-paths.scm: ... here.
* tests/utils.scm ("string-tokenize*"): Adjust accordingly.
2015-05-04 23:30:51 +02:00
Ludovic Courtès e89431bf01 Move search path specifications to (guix search-paths).
* guix/packages.scm (<search-path-specification>,
  search-path-specification->sexp, sexp->search-path-specification):
  Move to...
* guix/search-paths.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/cmake.scm, guix/build-system/glib-or-gtk.scm,
  guix/build-system/gnu.scm, guix/build-system/haskell.scm,
  guix/build-system/perl.scm, guix/build-system/python.scm,
  guix/build-system/ruby.scm, guix/build-system/waf.scm,
  guix/profiles.scm, guix/scripts/package.scm: Use it.
2015-05-04 23:30:51 +02:00
Mathieu Lirzin 934d370694 gnu: Add markdown.
* gnu/packages/textutils.scm (markdown): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-04 23:30:51 +02:00
Ludovic Courtès 5e6039a48b substitute: Increase TTL from 24h to 36h.
* guix/scripts/substitute.scm (%narinfo-ttl): Increase to 36h.
2015-05-04 23:30:51 +02:00
Andreas Enge 2534fc0478 gnu: Add libwpg.
* gnu/packages/libreoffice.scm (libwpg): New variable.
2015-05-04 22:27:32 +02:00
Eric Bavier 2087023dd4 guix: build: Fix indentation for --sources in help output.
* guix/scripts/build.scm (show-help)[--sources]: Make indentation
  consistent with other long options.
2015-05-04 14:16:39 -05:00
Mark H Weaver 80e2072a75 gnu: curl: Update to 7.42.1.
* gnu/packages/patches/curl-support-capath-on-gnutls-conf.patch,
  gnu/packages/patches/curl-support-capath-on-gnutls.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/curl.scm (curl): Update to 7.42.1.  Remove patches.
2015-05-04 12:37:30 -04:00
Ricardo Wurmus 90fc547fa0 gnu: Add python-sympy.
* gnu/packages/python.scm (python-sympy, python2-sympy): New variables.
2015-05-04 15:21:47 +02:00
Ludovic Courtès c6f30b8185 doc: Fix dangling references in the 'sh-symlink' monad example.
Reported by Christopher A. Webber <cwebber@dustycloud.org>.

* doc/guix.texi (The Store Monad): Reintroduce 'mlet' in 'sh-symlink'
  example.  Move the simplified version below.  Explain that the 'store'
  parameter is threaded.
2015-05-04 15:08:20 +02:00
Ludovic Courtès eabebb8143 doc: Suggest 'groupadd --system'.
* doc/guix.texi (Build Environment Setup): Use 'groupadd --system'.
2015-05-04 15:08:20 +02:00
Ludovic Courtès 39f8ed1437 doc: Clarify installation from the binary tarball.
* doc/guix.texi (Binary Installation): Specifically refer to
  group/account creation, and add an item for substitutes.  Mention
  verifiability.
2015-05-04 15:08:20 +02:00
Ricardo Wurmus 4702cec246 gnu: bamtools: Set rpath via LDFLAGS.
* gnu/packages/bioinformatics.scm (bamtools): Add a pre-configure phase
  setting $LDFLAGS to set the rpath to $out/lib/bamtools.
2015-05-04 11:29:41 +02:00
Tomáš Čech a73956baf4 gnu: Add taskwarrior.
* gnu/packages/task-management.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-05-04 10:30:10 +02:00
Ricardo Wurmus 0b84a0aaca gnu: Add samtools-0.1.19.
* gnu/packages/bioinformatics.scm (samtools-0.1): New variable.
2015-05-04 10:28:27 +02:00
Ricardo Wurmus 41dd712657 gnu: samtools: Install libbam.a library.
* gnu/packages/bioinformatics.scm (samtools)[arguments]: Add phase
  "install-library" to install the libbam.a library.
2015-05-04 10:28:26 +02:00
Ricardo Wurmus 0a75450c14 gnu: samtools: Remove patch-makefile-curses phase.
* gnu/packages/bioinformatics.scm (samtools)[arguments]: Remove
  patch-makefile-curses phase, use make-flags instead.
2015-05-04 10:28:26 +02:00
Ludovic Courtès 167a05aabc gnu: gcc-5.1: Add specific libvtv patch.
* gnu/packages/patches/gcc-5.0-libvtv-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-5.1)[source]: Use it.
2015-05-04 00:24:21 +02:00
Ludovic Courtès 4e9f592058 guix package: Introduce 'evaluate-search-paths'.
* guix/scripts/package.scm (evaluate-search-paths): New procedure, with
  most of the code formerly in 'search-path-environment-variables'.
  (search-path-environment-variables): Use it.
2015-05-04 00:24:21 +02:00
Ludovic Courtès 3badccaa73 guix package: Move profile cleaning out of 'search-path-environment-variables'.
* guix/scripts/package.scm (user-friendly-profile): New procedure.
  (search-path-environment-variables): Remove 'profile' local variable.
  (display-search-paths): Explicitly call 'user-friendly-profile' for
  the argument to 'search-path-environment-variables'.
  (guix-package)[process-query]: Likewise.
2015-05-04 00:24:21 +02:00
David Hashe 1e7464a9d2 gnu: Add totem-pl-parser.
* gnu/packages/gnome.scm (totem-pl-parser): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-04 00:24:21 +02:00
Christopher Allan Webber 8e9aa37f69 doc: Replace reference to profile.sh with sh-symlink
* doc/guix.texi (The Store Monad): Replace reference to "profile.sh",
  which is not defined until the next node, with "sh-symlink", which
  is defined immediately above

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-04 00:24:21 +02:00
Andreas Enge b4e5d8e7da gnu: Add libe-book.
* gnu/packages/libreoffice.scm (libe-book): New variable.

Co-authored-by: John Darrington <jmd@gnu.org>
2015-05-03 22:45:27 +02:00
Ricardo Wurmus 603090d8fe gnu: Add zeromq.
* gnu/packages/networking.scm (zeromq): New variable.
2015-05-03 21:49:15 +02:00
Ricardo Wurmus 8a413bcaf5 gnu: rename (gnu packages socat) to (gnu packages networking).
* gnu/packages/socat.scm: Rename this ...
* gnu/packages/networking.scm: ... to this.
* gnu-system.am (GNU_SYSTEM_MODULES): Change socat.scm to networking.scm.
2015-05-03 21:48:02 +02:00
Mark H Weaver d5e9f3809d gnu: subversion: Update to 1.8.13.
* gnu/packages/version-control.scm (subversion): Update to 1.8.13.
2015-05-03 14:12:21 -04:00
Mark H Weaver a4d5224d74 gnu: gnupg: Update to 2.1.3.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.3.
2015-05-03 13:22:35 -04:00
Mark H Weaver 7d2b784b66 gnu: Add dovecot.
* gnu/packages/mail.scm (dovecot): New variable.
2015-05-03 11:07:45 -04:00
Mark H Weaver 2036a6484e gnu: acpica: Update to 20150410.
* gnu/packages/admin.scm (acpica): Update to 20150410.
2015-05-03 11:07:02 -04:00
Mark H Weaver 10d9824092 gnu: wpa-supplicant: Update to 2.4.
* gnu/packages/admin.scm (wpa-supplicant): Update to 2.4.
2015-05-03 11:06:52 -04:00
Ludovic Courtès 9b0912b4ba gnu: parallel: Update to 20150422.
* gnu/packages/parallel.scm (parallel): Update to 20150422.
2015-05-03 16:01:42 +02:00
Ludovic Courtès dda9c45ec6 gnu: help2man: Update to 1.46.6.
* gnu/packages/man.scm (help2man): Update to 1.46.6.
2015-05-03 16:01:42 +02:00
Ludovic Courtès 5ac8a1d4bb gnu: dejagnu: Update to 1.5.3.
* gnu/packages/dejagnu.scm (dejagnu): Update to 1.5.3.
2015-05-03 16:01:42 +02:00
Andreas Enge fc15db2f7d gnu: Add libwpd.
* gnu/packages/libreoffice.scm (libwpd): New variable.
2015-05-03 14:28:09 +02:00
Andreas Enge 10ca4a1d4b gnu: Add librevenge.
* gnu/packages/libreoffice.scm (librevenge): New variable.

Co-authored-by: John Darrington <jmd@gnu.org>
2015-05-03 13:05:58 +02:00
Andreas Enge 28edab7a1e gnu: cppunit: Explicitly link with libdl.
* gnu/packages/check.scm (cppunit)[arguments]: Add #:make-flags.
2015-05-03 12:57:40 +02:00
Eric Bavier 2cdfe13dea guix: build: Add transitive source building.
* guix/scripts/build.scm (%options, options->derivations): Add --sources
  option.
* doc/guix.texi (Invoking guix build): Document --sources option.
* tests/guix-build.sh: Add tests.
2015-05-02 23:15:40 -05:00
Eric Bavier f77bcbc374 guix: packages: Add package-direct-sources and package-transitive-sources.
* guix/tests.scm (dummy-origin): New syntax.
* guix/packages.scm (package-direct-sources)
  (package-transitive-sources): New procedures.
* tests/packages.scm ("package-direct-sources, no source")
  ("package-direct-sources, #f source")
  ("package-direct-sources, not input source", "package-direct-sources")
  ("package-transitive-sources"): Test them.
2015-05-02 23:15:40 -05:00
Ludovic Courtès f4bdfe7381 install: Add bash-completion to the packages.
* gnu/system/install.scm (installation-os)[packages]: Add
  BASH-COMPLETION.
2015-05-03 00:08:37 +02:00
Ludovic Courtès dedb17ad01 profiles: Store search paths in manifests.
Discussed in <http://bugs.gnu.org/20255>.

* guix/packages.scm (sexp->search-path-specification): New variable.
* guix/profiles.scm (<manifest-entry>)[search-paths]: New field.
  (package->manifest-entry): Initialize it.
  (manifest->gexp): Match it.  Wrap #$deps in (propagated-inputs ...).
  Emit (search-paths ...).  Increment version.
  (find-package): New procedure.
  (sexp->manifest)[infer-search-paths]: New procedure.
  Use it to initialize the 'search-paths' field for versions 0 and 1.
  Add case for version 2.
* guix/scripts/package.scm (search-path-environment-variables)[manifest-entry->package]:
  Remove.
  Use 'manifest-entry-search-paths' instead of 'manifest-entry->package'
  plus 'package-native-search-paths'.
* tests/profiles.scm ("profile-manifest, search-paths"): New test.
2015-05-02 23:57:11 +02:00
Ludovic Courtès b9212a5455 Merge branch 'core-updates' 2015-05-02 22:42:53 +02:00
Ludovic Courtès a413bc8bd3 hydra: Update Guix job set.
* build-aux/hydra/guix.scm (tarball-package): Remove 'nix-checkout'
  parameter.  Remove 'arguments', 'native-inputs', and 'location'
  fields.  Adjust caller accordingly.
  (hydra-jobs): Remove 'nix-checkout'.
2015-05-02 22:16:06 +02:00
Ludovic Courtès 2d51666bd0 build-system/gnu: 'dist-package' preserves the package's native inputs.
* guix/build-system/gnu.scm (dist-package)[native-inputs]: Preserve P's
  native-inputs.
2015-05-02 22:16:06 +02:00
Ludovic Courtès 16142b3c14 build-system/gnu: Adjust to removal of a "bin" output for Libtool.
* guix/build-system/gnu.scm (dist-package): Change libtool:bin input to
  just libtool.
2015-05-02 22:16:06 +02:00
Ricardo Wurmus 5f6887e839 gnu: gcj: Remove broken symlink and conflicting files.
* gnu/packages/gcc.scm (gcj)[arguments]: Add a build phase to remove a broken
  symlink and generic stump binaries.
2015-05-02 21:06:52 +02:00
Taylan Ulrich Bayırlı/Kammer 0272ee499d gnu: mesa: Update to 10.5.4.
* gnu/packages/gl.scm (mesa): Update version to 10.5.4.  Add libxvmc to
  inputs.  Remove python, gettext, flex, and bison from native-inputs.  Remove
  hack that was necessary to prevent rebuilding parts of the build system.
2015-05-02 10:47:55 +02:00
Taylan Ulrich Bayırlı/Kammer 7e31978b72 gnu: mesa: Add libva input.
There is a circular dependency between Mesa and libVA, so we use a
libva-no-mesa package that builds libVA without GLX and EGL support, and use
that for building Mesa.

* gnu/packages/gl.scm (libva-for-mesa): New variable.
(mesa): Add as input.
2015-05-02 10:47:55 +02:00
Mark H Weaver 2d2abb04f8 gnu: linux-libre: Update to 4.0.1.
* gnu/packages/linux.scm (linux-libre): Update to 4.0.1.
2015-05-01 17:41:07 -04:00
Andreas Enge ad797b75b8 gnu: ebook: Drop circular inclusion of the module into itself.
* gnu/packages/ebook.scm: Do not import (gnu packages ebook).
2015-05-01 22:43:08 +02:00
Alex Kost 5eca94594d services: Add console-keymap service.
* gnu/services/base.scm (console-keymap-service): New procedure.
* doc/guix.texi (Base Services): Document it.

Co-authored-by: 宋文武 <iyzsong@gmail.com>
2015-05-01 21:00:39 +03:00
Ludovic Courtès 868ef9aec7 bash completion: Complete long options with no short variant.
* etc/completion/bash/guix (_guix_complete_option): Change grep regexp
  to match options that don't have a short option name.
2015-05-01 17:39:39 +02:00
Ludovic Courtès cb151c68bf gnu: polkit-qt: Add $libdir to RUNPATH.
* gnu/packages/polkit.scm (polkit-qt)[arguments]: Add
  #:configure-flags.
2015-05-01 17:38:44 +02:00
Ludovic Courtès 78bed82d19 check-available-binaries: Use %HYDRA-SUPPORTED-SYSTEMS.
* build-aux/check-available-binaries.scm: Use %HYDRA-SUPPORTED-SYSTEMS
  instead of %SUPPORTED-SYSTEMS.
2015-05-01 17:38:09 +02:00
Ludovic Courtès e206f57e95 gnu: mariadb: Remove now unneeded workaround.
This has been redundant since 21e583d.

* gnu/packages/databases.scm (mariadb)[arguments]: Remove LDFLAGS
  definition.
2015-05-01 17:34:03 +02:00
Ludovic Courtès 75c5475f31 list-packages: Add status link only for systems supported on Hydra.
* build-aux/list-packages.scm (package->sxml)[status]:
  Intersect (package-transitive-supported-systems package) with
  %HYDRA-SUPPORTED-SYSTEMS.
2015-05-01 16:10:08 +02:00
Ludovic Courtès abcbda48c2 packages: Add '%hydra-supported-systems'.
* build-aux/hydra/gnu-system.scm (%hydra-supported-systems): Remove.
* guix/packages.scm (%hydra-supported-systems): New variable.
2015-05-01 16:05:40 +02:00
Ludovic Courtès ea7f3349ba gnu: ganv: Set the RUNPATH of binaries to $libdir.
* gnu/packages/gtk.scm (ganv)[arguments]: Add 'set-ldflags' phase.
2015-05-01 16:01:49 +02:00
Ludovic Courtès bf4af30bb2 Merge branch 'master' into core-updates 2015-05-01 15:03:30 +02:00
Ludovic Courtès bc7d089a9c serialization: Adjust the permissive UTF-8 decoder to Guile 2.0.12ish.
* guix/serialization.scm (read-maybe-utf8-string): Use
  'set-port-encoding!' and 'set-port-conversion-strategy!' instead of
  setting '%default-port-encoding' and
  '%default-port-conversion-strategy'.  This accounts for Guile commit
  d574d96, which changes bytevector input ports to use ISO-8859-1.
2015-05-01 13:10:18 +02:00
Ludovic Courtès 310709ae58 substitute: Fix file descriptor leak in 'http-multiple-get'.
In practice we would not leak much since we reconnect after ~100
requests (with nginx running on hydra.gnu.org.)

* guix/scripts/substitute.scm (http-multiple-get): Call 'close-port'
  before 'connect'.
2015-05-01 12:50:27 +02:00
Taylan Ulrich Bayırlı/Kammer 9e63a388d9 gnu: qt: Add patch for i686 build problem.
See <https://bugreports.qt.io/browse/QTBUG-45205>.

* gnu/packages/patches/qt5-conflicting-typedefs.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qt): Add the patch.
2015-05-01 01:05:50 +02:00
Ludovic Courtès 0aaca4354c Thank Joshua. 2015-05-01 00:06:18 +02:00
Ludovic Courtès 0d8831370f download: Honor the 'http_proxy' and 'https_proxy' env. vars.
Fixes <http://bugs.gnu.org/20402>.
Reported by Joshua Randall <jcrandall@alum.mit.edu>.

* guix/download.scm (url-fetch): Pass #:leaked-env-vars to
  'gexp->derivation'.
2015-05-01 00:06:18 +02:00
Ludovic Courtès c04681554d derivations: Add #:leaked-env-vars parameter.
Suggested by Joshua Randall <jcrandall@alum.mit.edu>
in <http://bugs.gnu.org/20402>.

* guix/derivations.scm (derivation): Add #:leaked-env-vars parameter.
  [user+system-env-vars]: Honor it.
* guix/gexp.scm (gexp->derivation): Add #:leaked-env-vars and pass it to
  'raw-derivation'.
* doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.
2015-05-01 00:06:17 +02:00
Ludovic Courtès d17551d943 download: Simplify 'open-connection-for-uri' to support HTTP proxies.
Partly fixes <http://bugs.gnu.org/20402>.
Reported by Joshua Randall <jcrandall@alum.mit.edu>.

* guix/build/download.scm (open-connection-for-uri): Rewrite to be a
  small wrapper around 'open-socket-for-uri'.  This procedure was
  initially introduced in d14ecda to work around the lack of NSS modules
  during bootstrap but that has become unnecessary since 0621349, which
  introduced a bootstrap Guile that uses static NSS modules (from commit
  d3b5972.)
  On Guile >= 2.0.10, this allows the 'http_proxy' environment variable
  to be used.
2015-05-01 00:06:17 +02:00
Andreas Enge cfaf863f15 gnu: Add orcus.
* gnu/packages/libreoffice.scm (orcus): New variable.
2015-04-30 21:23:29 +02:00
Taylan Ulrich Bayırlı/Kammer d80ee44237 gnu: lilv: Set rpath via LDFLAGS.
Fixes <http://bugs.gnu.org/20040>.

* gnu/packages/audio.scm (lilv): Add a pre-configure phase setting $LDFLAGS to
  set the rpath to $out/lib.
2015-04-30 16:34:36 +02:00
Taylan Ulrich Bayırlı/Kammer 7e81a761e7 gnu: sord: Set rpath via LDFLAGS.
Fixes <http://bugs.gnu.org/20044>.

* gnu/packages/rdf.scm (sord): Add a pre-configure phase setting $LDFLAGS to
  set the rpath to $out/lib.
2015-04-30 16:34:36 +02:00
Taylan Ulrich Bayırlı/Kammer 90ea9863c8 gnu: serd: Set rpath via LDFLAGS.
Fixes <http://bugs.gnu.org/20051>.

* gnu/packages/rdf.scm (serd): Add a pre-configure phase setting $LDFLAGS to
  set the rpath to $out/lib.
2015-04-30 16:34:36 +02:00
Taylan Ulrich Bayırlı/Kammer a0a0b7162e gnu: wxwidgets: Set rpath in LDFLAGS.
Fixes <http://bugs.gnu.org/20049>.

* gnu/packages/wxwidgets.scm (wxwidgets): Add a make flag to set rpath to
  $out/lib via LDFLAGS.
2015-04-30 15:35:07 +02:00
Ludovic Courtès 9e7594027d gnu: gcc: Add link to upstream bug report.
* gnu/packages/gcc.scm (gcc-4.8): Add link to bug report in comment.
2015-04-30 13:43:55 +02:00
Ludovic Courtès 7e35b9dd3d gnu: gcc: Add $libdir to the RUNPATH of libvtv.so.
* gnu/packages/gcc.scm (gcc-4.9): Inherit from GCC-4.8.
  [source]: Add 'gcc-libvtv-runpath.patch'.
  (gcc-5.1): Inherit from GCC-4.9.
  [source]: Use patches from GCC-4.9.
* gnu/packages/patches/gcc-libvtv-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-30 13:31:59 +02:00
Taylan Ulrich Bayırlı/Kammer 372cf03981 gnu: libva: Patch a dlopen call, set drivers path.
* gnu/packages/video.scm (libva): Patch the reference to libva-x11.so (passed
  to dlopen()) to use an absolute path.  Add --with-drivers-path= to
  #:configure-flags with a value pointing to mesa's $prefix/lib/dri.
2015-04-30 09:20:48 +02:00
Ludovic Courtès d9c41939bd install: Make /var/lock.
Reported by 宋文武 <iyzsong@gmail.com>.

* gnu/build/install.scm (directives): Add /var/lock.
2015-04-29 22:27:46 +02:00
宋文武 b416c647e9 gnu: jack2: Add $libdir to the RUNPATH of all the binaries.
* gnu/packages/audio.scm (jack2)[arguments]: Add #:phases.
2015-04-30 00:03:10 +08:00
宋文武 27c4f0cc03 gnu: Remove gstreamer-0.10 and gst-plugins-base-0.10.
* gnu/packages/gstreamer.scm (gstreamer-0.10, gst-plugins-base-0.10):
  Remove variables.
* gnu/packages/patches/gstreamer-0.10-bison3.patch,
  gnu/packages/patches/gstreamer-0.10-silly-test.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
2015-04-29 16:19:52 +08:00
宋文武 3ec4bba4c9 gnu: Add xmp.
* gnu/packages/audio.scm (xmp): New variable.
2015-04-29 14:51:31 +08:00
宋文武 b97b5cda3b gnu: Add libxmp.
* gnu/packages/audio.scm (libxmp): New variable.
2015-04-29 14:51:31 +08:00
宋文武 a176dd7e24 gnu: Add libmodplug.
* gnu/packages/audio.scm (libmodplug): New variable.
2015-04-29 11:03:48 +08:00
Ricardo Wurmus 310d218f64 gnu: Add python-tornado.
* gnu/packages/python.scm (python-tornado, python2-tornado): New variables.
2015-04-28 17:01:01 +02:00
Ricardo Wurmus ed377cc6cf gnu: Add python2-backport-ssl-match-hostname.
* gnu/packages/python.scm (python2-backport-ssl-match-hostname): New variable.
2015-04-28 17:01:01 +02:00
Ricardo Wurmus f67890477a gnu: Add icedtea7.
* gnu/packages/java.scm (icedtea7): New variable.
2015-04-28 12:08:08 +02:00
宋文武 e32316e62f gnu: cmake: Disable parallel tests.
* gnu/packages/cmake.scm (cmake)[arguments]: Add #:parallel-tests?.
  Set 'CTEST_OUTPUT_ON_FAILURE' to 'TRUE' in 'set-paths phase.
2015-04-28 17:16:18 +08:00
宋文武 477a752e89 gnu: cmake: Update to 3.2.2.
* gnu/packages/cmake.scm (cmake): Update to 3.2.2.
* gnu/packages/patches/cmake-fix-tests.patch: Skip test for BundleUtilities.
2015-04-28 15:45:54 +08:00
Andreas Enge 7b4570b4fb gnu: Add ixion.
* gnu/packages/libreoffice.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Co-authored-by: John Darrington <jmd@gnu.org>
2015-04-27 22:12:18 +02:00
Christopher Allan Webber 67fa7a27fb gnu: Add extremetuxracer.
* gnu/packages/games.scm (extremetuxracer): New variable.
2015-04-27 14:12:00 -04:00
Alex Kost 85a02905e4 gnu: imlib2: Update to 1.4.7.
* gnu/packages/image.scm (imlib2): Update to 1.4.7.
2015-04-27 20:56:00 +03:00
Ricardo Wurmus 47c8ba5a51 gnu: icedtea6: Split test fixing phases.
* gnu/packages/java.scm (icedtea6)[arguments]: Split phase 'fix-tests into
  three phases 'fix-test-framework, 'fix-hotspot-tests, and 'fix-jdk-tests.
2015-04-27 15:13:35 +02:00
Ricardo Wurmus 4ca009c036 gnu: flexbar: Enable tests.
* gnu/packages/bioinformatics.scm (flexbar): Enable tests.
2015-04-27 15:12:47 +02:00
Ricardo Wurmus 02ed8be3ac gnu: tbb: Set rpath in LDFLAGS.
* gnu/packages/tbb.scm (tbb)[arguments]: Set rpath to "/lib" output directory
  in LDFLAGS.
2015-04-27 15:12:46 +02:00
David Thompson 5809ffccc5 gnu: Add sfml.
* gnu/packages/game-development.scm (sfml): New variable.
2015-04-27 08:35:40 -04:00
宋文武 7482b3403b gnu: mpv: Update to 0.9.0.
* gnu/packages/video.scm (mpv): Update to 0.9.0.
2015-04-27 16:58:00 +08:00
宋文武 27350ef8bf gnu: ffmpeg: Don't use patchelf.
* gnu/packages/video.scm (ffmpeg)[inputs]: Remove patchelf.
  [arguments]: Remove #:modules, #:imported-modules and 'add-lib-to-runpath
  phase.  Pass '--extra-ldflags=-Wl,-rpath=$libdir' to `configure'.
2015-04-27 15:24:58 +08:00
宋文武 769436b862 gnu: ffmpeg: Update to 2.6.2.
* gnu/packages/video.scm (ffmpeg): Update to 2.6.2.
2015-04-27 15:24:58 +08:00
Christopher Allan Webber 6bc2406315 gnu: Add guile-minikanren.
* gnu/packages/guile.scm (guile-minikanren): New variable.
2015-04-26 21:38:37 -04:00
Andreas Enge 4ac0d6444d Merge branch 'master' into core-updates. 2015-04-26 20:08:49 +02:00
Andreas Enge 7bde30e18d gnu: evas-generic-loaders: Update to 1.13.2.
* gnu/packages/enlightenment.scm (evas-generic-loaders): Update to 1.13.2.
  Use https for the URL to avoid a redirection.
2015-04-26 17:44:47 +02:00
Andreas Enge c514385197 gnu: gpgme: Update to 1.5.4.
* gnu/packages/gnupg.scm (gpgme): Update to 1.5.4.
2015-04-26 17:24:51 +02:00
Andreas Enge 003e8d5e04 Merge branch 'wip-glib' into master.
Conflicts:
	gnu/packages/package-management.scm
2015-04-26 16:05:39 +02:00
Ricardo Wurmus f62a8417ba gnu: Add calf plugins.
* gnu/packages/audio.scm (calf): New variable.
2015-04-26 15:59:13 +02:00
Ricardo Wurmus e4f43b56c3 gnu: Add fluidsynth.
* gnu/packages/audio.scm (fluidsynth): New variable.
2015-04-26 15:59:01 +02:00
Andreas Enge f763eaaaf9 gnu: Add mdds.
* gnu/packages/boost.scm (mdds): New variable.
2015-04-26 14:38:23 +02:00
David Thompson 378b01dc09 gnu: Add gitolite.
* gnu/packages/version-control.scm (gitolite): New variable.
* gnu/packages/patches/gitolite-openssh-6.8-compat.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-24 10:04:08 -04:00
David Thompson f93b916c3d gnu: nginx: Update to 1.8.0.
* gnu/packages/web.scm (nginx): Update to 1.8.0.
2015-04-24 08:08:02 -04:00
Mark H Weaver 23d00fb0ed gnu: wpa-supplicant: Add fix for CVE-2015-1863.
* gnu/packages/patches/wpa-supplicant-CVE-2015-1863.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (wpa-supplicant): Add patch.
2015-04-23 20:32:35 -04:00
Ludovic Courtès d074e2f991 build-system/{cmake,glib-or-gtk}: Add #:validate-runpath? parameter.
* guix/build-system/cmake.scm (cmake-build): Add #:validate-runpath?
  parameter and pass it to BUILDER.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Likewise.
2015-04-23 18:52:40 +02:00
Ludovic Courtès 0bd4377566 build-system/gnu: #:validate-runpath? now defaults to #t.
* guix/build/gnu-build-system.scm (validate-runpath): Change default
  value of VALIDATE-RUNPATH? to #t.
2015-04-23 18:52:40 +02:00
Ludovic Courtès cb85eb5e65 build-system/gnu: Gracefully handle dangling symlinks.
Fixes <http://bugs.gnu.org/20081>.
Reported by Tomáš Čech <tcech@suse.cz>.

* guix/build/gnu-build-system.scm (patch-source-shebangs): Remove files
  that don't pass 'file-exists?'.
  (patch-generated-file-shebangs): Likewise.
2015-04-23 18:52:40 +02:00
Ludovic Courtès cd91504df2 gremlin: Add support for the expansion of $ORIGIN in RUNPATH.
* guix/build/gremlin.scm (expand-variable, expand-origin): New
  procedures.
  (validate-needed-in-runpath): Map 'expand-origin' to the RUNPATH field
  of DYNINFO.
* tests/gremlin.scm ("expand-origin"): New test.
2015-04-23 18:52:40 +02:00
Ricardo Wurmus 3c43bcc68d gnu: r: Update to 3.2.0.
* gnu/packages/statistics.scm (r): Update to 3.2.0.
2015-04-23 13:07:11 +02:00
Ricardo Wurmus ff2b1c17b8 gnu: r: Set library rpath.
* gnu/packages/statistics.scm (r)[arguments]: Add the rpath for lib directory
  of output to LDFLAGS.
2015-04-23 13:07:10 +02:00
Mark H Weaver 9020890b21 gnu: postgresql: Update to 9.3.6.
* gnu/packages/databases.scm (postgresql): Update to 9.3.6.  Use .bz2 tarball.
2015-04-23 06:28:54 -04:00
Mark H Weaver ee886454bb gnu: notmuch: Update to 0.19; add man pages and bash completion.
* gnu/packages/mail.scm (notmuch)[source]: Update to 0.19.
  [arguments]: In 'configure' phase, set CC environment variable.  Arrange to
  use rst2man.py instead of rst2man.
  [native-inputs]: Add python-2, python2-docutils, and bash-completion.
2015-04-23 06:08:18 -04:00
Mark H Weaver 60e2d5fe82 gnu: Add gcc-5.1.0 and gcc-toolchain-5.1.0.
* gnu/packages/gcc.scm (gcc-5.1): New variable.
* gnu/packages/commencement.scm (gcc-toolchain-5.1): New variable.
2015-04-23 01:06:40 -04:00
Mark H Weaver a635ed5ccb gnu: Add missing (gnu packages gettext) module import.
This is a followup to 6162b95d21.

* gnu/packages/base.scm: Import (gnu packages gettext).
2015-04-22 21:49:46 -04:00
宋文武 2f8339c8ab gnu: xfce4-settings: Add more inputs.
* gnu/packages/xfce.scm (xfce4-settings)[inputs]: Add libxklavier,
  upower and xf86-input-libinput.
2015-04-23 07:38:26 +08:00
宋文武 53fd3cf051 gnu: libinput: Update to 0.14.1.
* gnu/packages/freedesktop.scm (libinput): Update to 0.14.1.
2015-04-23 07:37:44 +08:00
宋文武 e3cadebaf0 gnu: Add xf86-input-libinput.
* gnu/packages/xorg.scm (xf86-input-libinput): New variable.
2015-04-23 07:35:56 +08:00
Mark H Weaver 0dec8f8c13 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to fc34dee.
2015-04-22 18:19:54 -04:00
Ludovic Courtès d485ebba42 gnu: gcc: Do not always disable RUNPATH validation.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Remove explicit
  #:validate-runpath? #f.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Remove case for
  #:validate-runpath?.
  (gcc-final)[arguments]: Add literal #:validate-runpath? #f.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Remove case for
  #:validate-runpath?.
2015-04-23 00:06:37 +02:00
Ludovic Courtès 21e583def3 gnu: gcc: Add a RUNPATH to libstdc++.so so that it finds libgcc_s.so.
Fixes <http://bugs.gnu.org/20358>.
Reported by 宋文武 <iyzsong@gmail.com>.

* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add 'substitute*' form for
  "libstdc++-v3/src/Makefile.in".
2015-04-23 00:06:37 +02:00
Ludovic Courtès 669b8639a2 gnu: commencement: Remove unneeded configure flag for bootstrap gettext.
* gnu/packages/commencement.scm (gettext-boot0): Remove unneeded
  --disable-threads.
2015-04-23 00:06:37 +02:00
Mark H Weaver fc34deea24 packages: Add armhf-linux to %supported-systems.
* guix/packages.scm (%supported-systems): Add "armhf-linux".
2015-04-22 17:25:28 -04:00
Mark H Weaver 95203be9ef hydra: Add %hydra-supported-systems variable and use it.
* build-aux/hydra/gnu-system.scm (%hydra-supported-systems): New variable.
  (hydra-jobs): Use %hydra-supported-systems instead of %supported-systems.
2015-04-22 17:25:28 -04:00
Mark H Weaver 5cfc17cb7f tests: Select appropriate bootstrap guile version for current system.
* tests/packages.scm ("package-source-derivation, snippet"): Select appropriate
  guile-2.0.x.tar.xz tarball based on the value of (%current-system).
2015-04-22 17:25:28 -04:00
Eric Bavier cc8ddcb097 gnu: perl: Fix Module::Pluggable for symlink forests.
* gnu/packages/patches/perl-module-pluggable-search.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/perl.scm (perl)[source]: Add patch.
2015-04-22 14:38:14 -05:00
Mark H Weaver 76eb726617 gnu: ccl: Add default 'match' cases for unsupported platforms.
* gnu/packages/lisp.scm (ccl)[arguments]: Add default 'match' cases for
  unsupported platforms.
2015-04-22 15:08:45 -04:00
Mark H Weaver 4788deea0b gnu: nginx: Fix configure flags on unsupported platforms.
* gnu/packages/web.scm (nginx)[arguments]: Add default case in 'match' form
  within 'configure' phase.
2015-04-22 15:08:45 -04:00
Mark H Weaver f0d6d83552 gnu: mplayer: Fix configure flags on armhf.
* gnu/packages/video.scm (mplayer)[arguments]: Add default case in 'match'
  form in configure flags.  Enable support for arm processor features that are
  assumed by our armhf port.
2015-04-22 15:08:45 -04:00
Mark H Weaver 446c7e4de3 gnu: julia: Fix make-flags on non-Intel platforms.
* gnu/packages/julia.scm (julia)[arguments]: Add default case in 'match' form.
2015-04-22 15:08:45 -04:00
宋文武 f8f63893be gnu: gtkmm-2: Update to 2.24.4.
* gnu/packages/gtk.scm (gtkmm-2): Update to 2.24.4.
2015-04-22 14:59:45 +08:00
宋文武 09a5c4c363 gnu: gtkmm: Update to 3.16.0.
* gnu/packages/gtk.scm (gtkmm): Update to 3.16.0.
2015-04-22 14:54:10 +08:00
宋文武 a8054b4e5d gnu: pangomm: Update to 2.36.0.
* gnu/packages/gtk.scm (pangomm): Update to 2.36.0.
2015-04-22 14:53:05 +08:00
宋文武 46b9a4ffab gnu: gtk+: Update to 3.16.2.
* gnu/packages/gtk.scm (gtk+): Update to 3.16.2.
2015-04-22 14:52:08 +08:00
宋文武 e4c9d9bb66 gnu: cups-filters: Update to 1.0.68.
* gnu/packages/cups.scm (cups-filters): Update to 1.0.68.
2015-04-22 14:33:05 +08:00
宋文武 1ea90625e4 gnu: vala: Fix tests by setting 'CC'.
This fixes a regression introduced in b19d680.

* gnu/packages/gnome.scm (vala)[arguments]: New field.
2015-04-22 14:29:46 +08:00
宋文武 b19d6805a9 Remove all the 'CC=gcc' hacks for 'g-ir-scanner'.
* gnu/packages/glib.scm (telepathy-glib)[arguments]: Remove.
* gnu/packages/gtk.scm (at-spi2-core, gtk+-2): Remove #:make-flags.
* gnu/packages/gnome.scm (libpeas, librsvg, vala, vte, json-glib,
  libxklavier, libsoup, libsecret, colord, geocode-glib, libgweather):
  Remove #:make-flags or the '(setenv "CC" "gcc")' phase.
2015-04-22 10:44:03 +08:00
宋文武 702513b51a gnu: poppler: Update to 0.32.0.
* gnu/packages/pdf.scm (poppler): Update to 0.32.0.
2015-04-22 09:57:52 +08:00
宋文武 6b6795595e gnu: python-pygobject: Update to 3.16.1.
* gnu/packages/glib.scm (python-pygobject): Update to 3.16.1.
2015-04-22 09:57:52 +08:00
宋文武 759dd7d5b9 gnu: glibmm: Update to 2.44.0.
* gnu/packages/glib.scm (glibmm): Update to 2.44.0.
2015-04-22 09:57:52 +08:00
宋文武 e7a720e681 gnu: libsigc++: Update to 2.4.1.
* gnu/packages/glib.scm (libsigc++): Update to 2.4.1.
2015-04-22 09:57:52 +08:00
宋文武 cb77ade637 gnu: dbus-glib: Update to 0.104.
* gnu/packages/glib.scm (dbus-glib): Update to 0.104.
2015-04-22 09:57:51 +08:00
宋文武 3c87c02edc gnu: itstool: Update to 2.0.2.
* gnu/packages/glib.scm (itstool): Update to 2.0.2.
2015-04-22 09:57:51 +08:00
宋文武 cc84b08c78 gnu: gobject-introspection: Update to 1.44.0.
* gnu/packages/glib.scm (gobject-introspection): Update to 1.44.0.
  [source]: Use mirror://gnome.
  [arguments]<#:phases>: Remove.
* gnu/packages/patches/gobject-introspection-cc.patch: Rewrite to
  set os.environ['CC'] in 'giscanner/__init__.py'.
2015-04-22 09:57:51 +08:00
宋文武 b837e658bd gnu: python-pycairo: Fix build with with python-3.4.3.
* gnu/packages/patches/pycairo-wscript.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gtk.scm (python-pycairo)[source]: Use it.
  [build-system]: Use waf-build-system.
  [native-inputs]: Add python-waf.
  [arguments]<#:phases>: Use 'modify-phases'.  Add 'patch-waf phase.
* gnu/packages/gtk.scm (python2-pycairo): Adjust accordingly.
2015-04-22 09:57:51 +08:00
宋文武 45ca81c20d gnu: Add python-waf.
* gnu/packages/python.scm (python-waf, python2-waf): New variables.
2015-04-22 09:57:51 +08:00
Mark H Weaver 360ebb1490 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to dd3a42e.
2015-04-22 09:57:51 +08:00
Mark H Weaver 3a5bce15d9 gnu: guix: Don't install in /etc/bash_completion.d within build environment.
Fixes <http://bugs.gnu.org/20394>.
Patch by Ludovic Courtès <ludo@gnu.org>.

* gnu/packages/package-management.scm (guix)[arguments]: Pass
  "--with-bash-completion-dir" option to configure.
2015-04-22 09:57:51 +08:00
宋文武 f210f057a7 gnu: python-pycairo: Fix build with with python-3.4.3.
* gnu/packages/patches/pycairo-wscript.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gtk.scm (python-pycairo)[source]: Use it.
  [build-system]: Use waf-build-system.
  [native-inputs]: Add python-waf.
  [arguments]<#:phases>: Use 'modify-phases'.  Add 'patch-waf phase.
* gnu/packages/gtk.scm (python2-pycairo): Adjust accordingly.
2015-04-22 09:53:34 +08:00
宋文武 feaae48499 gnu: Add python-waf.
* gnu/packages/python.scm (python-waf, python2-waf): New variables.
2015-04-22 09:53:24 +08:00
Mark H Weaver aad8877d91 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to dd3a42e.
2015-04-21 21:30:23 -04:00
Mark H Weaver f1a7fd7029 gnu: libxfont: Update to 1.5.1.
* gnu/packages/xorg.scm (libxfont): Update to 1.5.1.
2015-04-21 19:11:24 -04:00
Mark H Weaver dd3a42e624 gnu: guix: Don't install in /etc/bash_completion.d within build environment.
Fixes <http://bugs.gnu.org/20394>.
Patch by Ludovic Courtès <ludo@gnu.org>.

* gnu/packages/package-management.scm (guix)[arguments]: Pass
  "--with-bash-completion-dir" option to configure.
2015-04-21 19:04:34 -04:00
Mark H Weaver d8d6d096be gnu: tzdata: Update to 2015c.
* gnu/packages/base.scm (tzdata): Update to 2015c.
2015-04-21 19:03:25 -04:00
Andreas Enge 30536f2c8b gnu: libidn: Update to 1.30.
* gnu/packages/libidn.scm (libidn): Update to 1.30.
2015-04-21 18:57:28 -04:00
Mark H Weaver 54b76b60d9 Revert "gnu: libidn: Update to 1.30."
This reverts commit 8462a03f28.
2015-04-21 17:47:34 -04:00
Andreas Enge 8462a03f28 gnu: libidn: Update to 1.30.
* gnu/packages/libidn.scm (libidn): Update to 1.30.
2015-04-21 22:59:50 +02:00
Andreas Enge 8185519dba gnu: ocrad: Update to 0.25.
* gnu/packages/ocr.scm (ocrad): Update to 0.25.
2015-04-21 22:57:29 +02:00
Ludovic Courtès 6162b95d21 gnu: glibc: Add dependency on Gettext, to install the message catalogs.
This fixes a bug whereby the libc.mo files were not installed, and thus
translations of libc's messages were not available.

* gnu/packages/commencement.scm (gettext-boot0): New variable.
  (glibc-final)[native-inputs]: New field.
* gnu/packages/base.scm (glibc)[native-inputs]: Add GNU-GETTEXT.
2015-04-21 22:53:09 +02:00
Ricardo Wurmus 6260d1a869 gnu: Add TuxGuitar.
* gnu/packages/music.scm (tuxguitar): New variable.
2015-04-21 21:51:38 +02:00
Ricardo Wurmus 8581c81307 gnu: Add SWT.
* gnu/packages/java.scm (swt): New variable.
2015-04-21 21:51:38 +02:00
Ludovic Courtès ef593a103d gnu: libltdl: Remove unneeded patch.
* gnu/packages/autotools.scm (libltdl)[source]: Remove 'patches'.
2015-04-21 21:16:24 +02:00
Ludovic Courtès 4a2b74bf4c gnu: ld-wrapper: Ignore the .so argument following '-dynamic-linker'.
Reported at <http://bugs.gnu.org/20102>.

* gnu/packages/ld-wrapper.in (library-files-linked): Rename 'path+files'
  to 'path+files+args'.  Thread the reverse list of previous arguments.
  Add case for when the previous argument is "-dynamic-linker".
2015-04-21 21:14:28 +02:00
Ludovic Courtès 4267c637d6 gnu: ld-wrapper: Add debugging info.
* gnu/packages/ld-wrapper.in (ld-wrapper): Add "libraries linked"
  debugging statement.
2015-04-21 21:08:44 +02:00
Ludovic Courtès cbbb11c8a0 gnu: Rename ld-wrapper2 to ld-wrapper.
* gnu/packages/ld-wrapper2.in: Rename to...
* gnu/packages/ld-wrapper.in: ... this.
* gnu-system.am (MISC_DISTRO_FILES): Remove ld-wrapper2.in.
* gnu/packages/commencement.scm (fixed-ld-wrapper): Remove.
  (gcc-toolchain): Restore pre-77db91ad inputs.
2015-04-21 21:07:11 +02:00
Ricardo Wurmus e4e5a4d88f gnu: Add eXpress.
* gnu/packages/bioinformatics.scm (express): New variable.
2015-04-21 17:57:22 +02:00
Ricardo Wurmus 9794180d5e gnu: Add bamtools.
* gnu/packages/bioinformatics.scm (bamtools): New variable.
2015-04-21 17:57:22 +02:00
Ricardo Wurmus dbf4ed7c91 gnu: Add subread.
* gnu/packages/bioinformatics.scm (subread): New variable.
2015-04-21 10:46:23 +02:00
Ludovic Courtès 44fd6ef137 ui: Add 'symlink' replacement with better error reporting.
* guix/ui.scm (symlink): New procedure.
2015-04-20 22:37:20 +02:00
Ludovic Courtès 3392ce5d60 system: Make /gnu/store a read-only bind mount by default.
* gnu/system/file-systems.scm (%immutable-store): New variable.
  (%base-file-systems): Add it.
* doc/guix.texi (File Systems): Document it.
2015-04-20 22:21:51 +02:00
Ludovic Courtès b86fee7848 file-systems: Use a second 'mount' call for read-only bind mounts.
* gnu/build/file-systems.scm (MS_REMOUNT): New constant.
  (mount-file-system): Add 'flags' local variable.   When FLAGS has
  MS_BIND & MS_RDONLY, call 'mount' with MS_REMOUNT.
* gnu/services/base.scm (file-system-service) <start>: Likewise.
2015-04-20 22:16:13 +02:00
Ludovic Courtès 38cf2ba084 gnu: Remove all #:select from (gnu packages ...) modules.
This works around Guile bug <http://bugs.gnu.org/15540>.
Reported by Andreas Enge <andreas@enge.fr>.

* gnu/packages/engineering.scm: Don't #:select from (gnu packages ...).
* gnu/packages/gcc.scm: Likewise.
* gnu/packages/package-management.scm: Likewise.
* gnu/packages/photo.scm: Likewise.
* gnu/packages/pulseaudio.scm: Likewise.
* gnu/packages/moe.scm: Likewise, and #:select from (guix licenses)
  instead.
2015-04-20 15:50:59 +02:00
Ludovic Courtès f73286345e gexp: Add printers for <gexp-input> and <gexp-output>.
* guix/gexp.scm (write-gexp-input, write-gexp-output): New procedures.
  (<gexp-input>, <gexp-output>): Use them as printers.
2015-04-20 15:41:41 +02:00
Ludovic Courtès c568191a93 profiles: Create a CA certificate bundle only when it would be non-empty.
* guix/profiles.scm (ca-certificate-bundle): Create
  $output/etc/ssl/certs if and only if CA-FILES is non-empty.
2015-04-20 15:41:41 +02:00
Ricardo Wurmus 51c649992e gnu: Add sra-tools.
* gnu/packages/bioinformatics.scm (sra-tools): New variable.
2015-04-20 15:29:17 +02:00
Ricardo Wurmus 75dd242480 gnu: Add NCBI VDB.
* gnu/packages/bioinformatics.scm (ncbi-vdb): New variable.
2015-04-20 15:29:17 +02:00
Ricardo Wurmus 2651a5e695 gnu: Add NGS Java bindings.
* gnu/packages/bioinformatics.scm (ngs-java): New variable.
2015-04-20 15:29:16 +02:00
Ricardo Wurmus 282c5087b4 gnu: Add NGS SDK.
* gnu/packages/bioinformatics.scm (ngs-sdk): New variable.
2015-04-20 15:28:58 +02:00
Ricardo Wurmus 85c37e29a4 gnu: Add Biopython.
* gnu/packages/bioinformatics.scm (python-biopython, python2-biopython): New
  variables.
2015-04-20 15:23:23 +02:00
Eric Bavier 40b084a326 gnu: Adjust latest perl modules to new 'modify-phases' syntax.
* gnu/packages/compression.scm (perl-compress-raw-zlib)[arguments]:
  Add missing quotes, as needed since commit f8503e2.
* gnu/packages/perl.scm (perl-ipc-run)[arguments]: Likewise.
* gnu/packages/xml.scm (perl-xml-sax)[arguments]: Likewise.
2015-04-19 21:39:32 -05:00
宋文武 61c21ad319 gnu: Add WebKitGTK+.
* gnu/packages/webkit.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-04-20 10:34:24 +08:00
Eric Bavier 97b05abe6d gnu: Add JSON-Any.
* gnu/packages/perl.scm (perl-json-any): New variable.
2015-04-19 19:48:52 -05:00
Eric Bavier 47945cf353 import: cpan: Fix license string for Artistic license.
* guix/import/cpan.scm (string->license): Remove extraneous "_0"
  suffix for Artistics licenses.
2015-04-19 19:48:52 -05:00
Eric Bavier ae6904dc0b gnu: nix: Propagate perl inputs.
* gnu/packages/package-management.scm (nix)[inputs]: Move
  perl-www-curl, perl-dbi, perl-dbd-sqlite to...
  [propagated-inputs]: ...this new field
2015-04-19 19:48:52 -05:00
Eric Bavier 8ac84f230c gnu: Add Sys-Hostname-Long.
* gnu/packages/perl.scm (perl-sys-hostname-long): New variable.
2015-04-19 19:48:52 -05:00
Eric Bavier 10ef803e7d gnu: Add Text-Table.
* gnu/packages/perl.scm (perl-text-table): New variable.
2015-04-19 19:48:52 -05:00
Eric Bavier 7ae9557181 gnu: Add Text-Aligner.
* gnu/packages/perl.scm (perl-text-aligner): New variable.
2015-04-19 19:48:52 -05:00
Eric Bavier f21671f469 gnu: Add Set-Scalar.
* gnu/packages/perl.scm (perl-set-scalar): New variable.
2015-04-19 19:48:52 -05:00
Eric Bavier b4dcb026d6 gnu: Add SQL-SplitStatement.
* gnu/packages/databases.scm (perl-sql-splitstatement): New variable.
2015-04-19 19:48:52 -05:00
Eric Bavier 718c89c1a1 gnu: Add SQL-Tokenizer.
* gnu/packages/databases.scm (perl-sql-tokenizer): New variable.
2015-04-19 19:48:52 -05:00
Eric Bavier 8ce2312875 gnu: Add Perl Readonly.
* gnu/packages/perl.scm (perl-readonly): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 38e62c81ee gnu: Add Perl Net-Amazon-S3.
* gnu/packages/patches/perl-net-amazon-s3-moose-warning.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/web.scm (perl-net-amazon-s3): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 3dd6bee1f2 gnu: Add XML-LibXML.
* gnu/packages/xml.scm (perl-xml-libxml): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 18b8bbb304 gnu: Add XML-SAX;
* gnu/packages/xml.scm (perl-xml-sax): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 1ed6d5bc86 gnu: Add XML-SAX-Base.
* gnu/packages/xml.scm (perl-xml-sax-base): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier b715dbac7b gnu: Add XML-NamespaceSupport.
* gnu/packages/xml.scm (perl-xml-namespacesupport): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 0955342bf7 gnu: Add Term-ProgressBar-Simple.
* gnu/packages/perl.scm (perl-term-progressbar-simple): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 0d54bd259c gnu: Add Term-ProgressBar-Quiet.
* gnu/packages/perl.scm (perl-term-progressbar-quiet): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 4dbac597eb gnu: Add Test-MockObject.
* gnu/packages/perl.scm (perl-test-mockobject): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 7332618df3 gnu: Add UNIVERSAL-isa.
* gnu/packages/perl.scm (perl-universal-isa): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier f9671ab689 gnu: Add UNIVERSAL-can.
* gnu/packages/perl.scm (perl-universal-can): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier cc307bda85 gnu: Add Term-ProgressBar.
* gnu/packages/perl.scm (perl-term-progressbar): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 70fe0008f7 gnu: Add TermReadKey.
* gnu/packages/perl.scm (perl-term-readkey): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier cd718b8201 gnu: Add Class-MethodMaker.
* gnu/packages/perl.scm (perl-class-methodmaker): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 56da2a1abd gnu: Add IO-Interactive.
* gnu/packages/perl.scm (perl-io-interactive): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 257fa40b23 gnu: Add Term-Encoding.
* gnu/packages/perl.scm (perl-term-encoding): New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier d2401db9ff gnu: Add MooseX-Types-DateTime-MoreCoercions.
* gnu/packages/perl.scm (perl-moosex-types-datetime-morecoercions):
  New variable.
2015-04-19 19:48:51 -05:00
Eric Bavier 4f43da182b gnu: Add Time-Duration-Parse.
* gnu/packages/perl.scm (perl-time-duration-parse): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier a15145d93b gnu: Add Time-Duration.
* gnu/packages/perl.scm (perl-time-duration): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier bbe81cc0dd gnu: Add Test-Pod-Coverage.
* gnu/packages/perl.scm (perl-test-pod-coverage): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier 29fda459a6 gnu: Add Pod-Coverage.
* gnu/packages/perl.scm (perl-pod-coverage): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier 7300092693 gnu: Add Devel-Symdump.
* gnu/packages/perl.scm (perl-devel-symdump): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier 3e7a86cdc5 gnu: Add MooseX-Types-DateTime.
* gnu/packages/perl.scm (perl-moosex-types-datetime): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier ef96132220 gnu: Add DateTimeX-Easy.
* gnu/packages/perl.scm (perl-datetimex-easy): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier 69d2261f77 gnu: Add DateTime-Format-Natural.
* gnu/packages/perl.scm (perl-datetime-format-natural): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier 55069500a2 gnu: Add Module-Util.
* gnu/packages/perl.scm (perl-module-util): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier 59f423214e gnu: Add Date-Calc.
* gnu/packages/perl.scm (perl-date-calc, perl-date-calc-xs): New
  variables.
2015-04-19 19:48:50 -05:00
Eric Bavier bb90ae0cb0 gnu: Add Bit-Vector.
* gnu/packages/perl.scm (perl-bit-vector): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier 85690ec144 gnu: Add Perl boolean.
* gnu/packages/perl.scm (perl-boolean): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier e58a2fa16e gnu: Add DateTime-Format-ICal.
* gnu/packages/perl.scm (perl-datetime-format-ical): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier 21c9adcca6 gnu: Add DateTime-Event-ICal.
* gnu/packages/perl.scm (perl-datetime-event-ical): New variable.
2015-04-19 19:48:50 -05:00
Eric Bavier 47e049c446 gnu: Add DateTime-Event-Recurrence.
* gnu/packages/perl.scm (perl-datetime-event-recurrence): New
  variable.
2015-04-19 19:48:50 -05:00
Eric Bavier f89fe3bff7 gnu: Add DateTime-Set.
* gnu/packages/perl.scm (perl-datetime-set): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier 23c2836041 gnu: Add Set-Infinite.
* gnu/packages/perl.scm (perl-set-infinite): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier b271f727f0 gnu: Add DateTime-Format-Flexible.
* gnu/packages/perl.scm (perl-datetime-format-flexible): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier 3dcfec09c3 gnu: Add DateTime-Format-Builder.
* gnu/packages/perl.scm (perl-datetime-format-builder): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier 6f170fe596 gnu: Add DateTime-Format-Strptime.
* gnu/packages/perl.scm (perl-datetime-format-strptime): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier bd44b05dca gnu: Add Class-Factory-Util.
* gnu/packages/perl.scm (perl-class-factory-util): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier 4be514cb47 gnu: Add MooseX-StrictConstructor.
* gnu/packages/perl.scm (perl-moosex-strictconstructor): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier 6a58b09280 gnu: Add LWP-UserAgent-Determined.
* gnu/packages/web.scm (perl-lwp-useragent-determined): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier 0a24e9b887 gnu: Add Digest-MD5-File.
* gnu/packages/web.scm (perl-digest-md5-file): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier 31170d1390 gnu: Add Digest-HMAC.
* gnu/packages/perl.scm (perl-digest-hmac): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier 9151712c55 gnu: Add DateTime-Format-HTTP.
* gnu/packages/web.scm (perl-datetime-format-http): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier 1cebf8736e gnu: Add Data-Stream-Bulk.
* gnu/packages/perl.scm (perl-data-stream-bulk): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier bdcfd18e4b gnu: Add LWP-Protocol-https.
* gnu/packages/web.scm (perl-lwp-protocol-https): New variable.
2015-04-19 19:48:49 -05:00
Eric Bavier bec820d94a gnu: libwww-perl: Update to 6.13.
* gnu/packages/web.scm (perl-libwww)[version]: Update to 6.13.
  [source]: Adjust uri.
  [home-page]: Point to generic distribution page.
2015-04-19 19:48:49 -05:00
Eric Bavier 0eb3b5bdf1 gnu: Net-HTTP: Update to 6.07.
* gnu/packages/web.scm (perl-net-http)[version]: Update to 6.07.
  [source]: Adjust uri.
  [propagated-inputs]: New field.
  [home-page]: Point to generic distribution page.
2015-04-19 19:48:49 -05:00
Eric Bavier e3d84c4e3a gnu: Add IPC-Run.
* gnu/packages/perl.scm (perl-ipc-run): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 8aaafd34c8 gnu: Add IO-Compress.
* gnu/packages/compression.scm (perl-io-compress): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 8e18514a69 gnu: Add Compress-Raw-Zlib.
* gnu/packages/compression.scm (perl-compress-raw-zlib): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 73f542c368 gnu: Add Compress-Raw-Bzip2.
* gnu/packages/compression.scm (perl-compress-raw-bzip2): New
  variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 38973df746 gnu: Add File-Slurp.
* gnu/packages/perl.scm (perl-file-slurp): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier a24c54201d gnu: Add Email-Sender.
* gnu/packages/mail.scm (perl-email-sender): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 0677b1af3b gnu: Add Throwable.
* gnu/packages/perl.scm (perl-throwable): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 70de16eaf4 gnu: Add MooX-Types-MooseLike.
* gnu/packages/perl.scm (perl-moox-types-mooselike): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 26b8de1963 gnu: Add Email-Abstract.
* gnu/packages/mail.scm (perl-email-abstract): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 0a4c49f613 gnu: Add Email-MIME.
* gnu/packages/mail.scm (perl-email-mime): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 151ef3edc3 gnu: Add Email-Simple.
* gnu/packages/mail.scm (perl-email-simple): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier aa86a3be20 gnu: Add Email-Date-Format.
* gnu/packages/mail.scm (perl-email-date-format): New variable.
2015-04-19 19:48:48 -05:00
Eric Bavier 02e2993607 gnu: Add Email-MIME-Encodings.
* gnu/packages/mail.scm (perl-email-mime-encodings): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier 55025bb516 gnu: Add Email-MIME-ContentType.
* gnu/packages/mail.scm (perl-email-mime-contenttype): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier 08bf70953f gnu: Add Email-MessageID.
* gnu/packages/mail.scm (perl-email-messageid): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier ebda902fb5 gnu: Add Email-Address.
* gnu/packages/mail.scm (perl-email-address): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier e3cfe3d6d1 gnu: Move perl-mime-types to (gnu packages perl).
* gnu/packages/web.scm (perl-mime-types): Move this...
* gnu/packages/perl.scm (perl-mime-types): ... to here.
2015-04-19 19:48:47 -05:00
Eric Bavier 186eb13248 gnu: add DBD-Pg.
* gnu/packages/databases.scm (perl-dbd-pg): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier 19c0e5a728 gnu: Add Crypt-RandPasswd.
* gnu/packages/perl.scm (perl-crypt-randpasswd): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier ca8e61960a gnu: Add CatalystX-Script-Server-Starman.
* gnu/packages/web.scm (perl-catalystx-script-server-starman): New
  variable.
2015-04-19 19:48:47 -05:00
Eric Bavier a641b5791a gnu: Add Starman.
* gnu/packages/web.scm (starman): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier be22d5fc63 gnu: Add Net-Server.
* gnu/packages/web.scm (perl-net-server): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier 8ab39c2d26 gnu: Add HTTP-Parser-XS.
* gnu/packages/web.scm (perl-http-parser-xs): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier d3182b42a0 gnu: Add HTTP-Parser.
* gnu/packages/web.scm (perl-http-parser): New variable.
2015-04-19 19:48:47 -05:00
Eric Bavier 5c2c9ab2f8 gnu: Add Catalyst-View-TT.
* gnu/packages/web.scm (perl-catalyst-view-tt): New variable.
2015-04-19 19:48:46 -05:00
Eric Bavier 9e4a022bda gnu: Add Template-Timer.
* gnu/packages/perl.scm (perl-template-timer): New variable.
2015-04-19 19:48:46 -05:00
Ludovic Courtès b16b77905c gnu: bash-completion: Remove completions redundant with those of util-linux.
* gnu/packages/bash.scm (bash-completion)[arguments]: New field.
2015-04-19 23:34:53 +02:00
Ludovic Courtès ee8591990f guix package: Fix 'readlink*' implementation.
* guix/scripts/package.scm (readlink*): Fix to handle symlinks with
  relative targets.  Taken from ld-wrapper2.in.
2015-04-19 23:34:53 +02:00
Ludovic Courtès 07c0b6e082 gnu: ld-wrapper2: Make 'readlink*' tail-recursive.
* gnu/packages/ld-wrapper2.in (readlink*): Make tail-recursive.
2015-04-19 23:34:53 +02:00
Ludovic Courtès 5763ad9266 guix package: -A and -s take supported systems into account.
* guix/scripts/package.scm (guix-package)[process-query]
  <list-available>: Restrict results to packages matching
  'supported-package?".
* guix/ui.scm (package->recutils): Print "systems:".
* tests/guix-package.sh: Add tests.
* doc/guix.texi (Invoking guix package): Adjust description of
  '--list-available' accordingly.
2015-04-19 23:34:53 +02:00
Ludovic Courtès bbceb0ef8a packages: Add 'supported-package?'.
* guix/packages.scm (supported-package?): New procedure.
* tests/packages.scm ("supported-package?"): New test.
* build-aux/hydra/gnu-system.scm (package->job): Use it instead of
  'package-transitive-supported-systems'.
2015-04-19 23:34:53 +02:00
Mark H Weaver 42f118010b gnu: ccl: Fix inputs on non-Intel platforms.
* gnu/packages/lisp.scm (ccl)[inputs]: Add default cases in 'match' forms.
  Fix pattern in "armhf-linux" case of sha256 field.
2015-04-19 10:15:04 -04:00
Ludovic Courtès 5dc3ce5f6c doc: Warn earlier about the risk of overwriting with the binary install.
Suggested by Pjotr Prins <pjotr.public12@thebird.nl>.

* doc/guix.texi (Binary Installation): Move warning about overwriting
  higher up.
2015-04-18 22:57:52 +02:00
Andy Wingo ec2b19210f gnu: gnome-settings-daemon: Use wacom packages.
* gnu/packages/gnome.scm (gnome-settings-daemon): Use the wacom packages.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-18 22:57:52 +02:00
Andy Wingo ab42a2a727 gnu: Add xf86-input-wacom.
* gnu/packages/xdisorg.scm (xf86-input-wacom): New variable.
2015-04-18 22:57:52 +02:00
Andy Wingo f1f7049ec1 gnu: Add libwacom.
* gnu/packages/xdisorg.scm (libwacom): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-18 22:57:52 +02:00
Ludovic Courtès 724311a26b packages: Allow package lookups with version prefixes.
* gnu/packages.scm (find-packages-by-name): Sort MATCHING according to
  'version>?'.  Use 'string-prefix?' instead of 'string=?' to compare
  against VERSION.
* doc/guix.texi (Invoking guix package): Add example and explanation.
2015-04-18 22:57:52 +02:00
Andreas Enge e7bf0e4465 gnu: ucommon: Update to 6.3.1.
* gnu/packages/telephony.scm (ucommon): Update to 6.3.1.
2015-04-18 21:20:31 +02:00
Andreas Enge 9dc9053f1d gnu: ccrtp: Update to 2.1.2.
* gnu/packages/telephony.scm (ccrtp): Update to 2.1.2.
2015-04-18 21:19:32 +02:00
Andreas Enge 936e86bdae gnu: sipwitch: Update to 1.9.7.
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.7.
2015-04-18 20:20:57 +02:00
Andreas Enge 24ba72402b gnu: nano: Update to 2.4.1.
* gnu/packages/nano.scm (nano): Update to 2.4.1.
2015-04-18 20:16:57 +02:00
Andreas Enge 3434a65ba1 gnu: calibre: Update to 2.25.0.
* gnu/packages/ebook.scm (calibre): Update to 2.25.0.
2015-04-18 20:04:53 +02:00
宋文武 7763174509 gnu: Add MariaDB.
* gnu/packages/databases.scm (mariadb): New variable.
2015-04-18 21:52:14 +08:00
宋文武 01ccdfb6d3 gnu: Add libaio.
* gnu/packages/linux.scm (libaio): New variable.
2015-04-18 21:52:14 +08:00
宋文武 82d8729b24 gnu: Add jemalloc.
* gnu/packages/jemalloc.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-04-18 21:52:14 +08:00
宋文武 40f6f76ed1 gnu: gst-plugins-good: Add more inputs and remove unneeded ones.
* gnu/packages/gstreamer.scm (gst-plugins-good): Move gst-plugins-base
  from 'native-inputs' to 'inputs'.
  [inputs]: Add aalib, jack, libavc1394, libcaca, libdv, libiec61833,
  libshout, libsoup, libvpx, orc, taglib and wavpack.  Remove glib,
  gstreamer, libogg, libx11, libxext, libxv, and zlib.
  [arguments]: Remove.
2015-04-18 17:34:58 +08:00
Mark H Weaver 989a9fffa7 gnu: ntp: Update to 4.2.8p2.
* gnu/packages/ntp.scm (ntp): Update to 4.2.8p2.
2015-04-18 02:28:30 -04:00
Mark H Weaver ba42f54df6 gnu: tor: Update to 0.2.5.12.
* gnu/packages/tor.scm (tor): Update to 0.2.5.12.
2015-04-18 02:28:30 -04:00
Mark H Weaver 334345d9db Merge branch 'core-updates' 2015-04-17 22:06:05 -04:00
Andreas Enge 09dd019490 gnu: ffmpeg: Drop old version 2.2.
* gnu/packages/video.scm (ffmpeg-2.2): Remove variable.
  (ffmpeg)[arguments]: Drop LDFLAGS environment variable needed only for
  older versions.
2015-04-17 20:54:47 +02:00
Ludovic Courtès 8d7dc5d9db monads: Optimize 'sequence'.
* guix/monads.scm (sequence): Rewrite as a macro.  This yields a 10%
  improvement in wall-clock time for 'guix system build'.
2015-04-17 18:15:38 +02:00
Mark H Weaver db5127d889 gnu: gnome-vfs: Tolerate 'test-async-cancel' failures, take two.
* gnu/packages/gnome.scm (gnome-vfs)[arguments]: Remove 'XFAIL_TESTS' make
  flag, which caused 'make check' to fail if the test unexpectedly passed.
  Add 'patch-test-async-cancel-to-never-fail' phase.
2015-04-17 11:40:34 -04:00
Mark H Weaver 933204e5b1 Merge branch 'master' into core-updates
Conflicts:
	gnu-system.am
	gnu/packages/gstreamer.scm
2015-04-17 09:54:11 -04:00
Ludovic Courtès 5e25ebe2fa services: Explicitly refer to Shadow when requiring the 'nologin' shell.
* gnu/services/avahi.scm (avahi-service): Change 'shell' to a gexp
  referring to "nologin" in the SHADOW package.
* gnu/services/dbus.scm (dbus-service): Likewise.
* gnu/services/networking.scm (ntp-service, tor-service): Likewise.
2015-04-17 13:53:16 +02:00
Ludovic Courtès 8e974b9b98 system: Populate /etc/shells with the list of all the shells in use.
Reported by Andy Wingo <wingo@pobox.com>.

* gnu/system.scm (user-shells, shells-file): New procedures.
  (etc-directory): Add #:shell parameter.  Use 'shells-file' instead of
  'text-file'.
  (operating-system-etc-directory): Call 'user-shells' and pass #:shells
  to 'etc-directory'.
2015-04-17 13:53:16 +02:00
David Hashe 3c9e35cce7 gnu: Add libsrtp.
* gnu/packages/telephony.scm (libsrtp): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-17 13:53:16 +02:00
Mark H Weaver 9128e323c0 gnu: icecat: Use system sqlite.
* gnu/packages/gnuzilla.scm (icecat)[inputs]: Add sqlite.
  [arguments]: Pass "--enable-system-sqlite" to configure.
2015-04-17 03:12:48 -04:00
Mark H Weaver 9e12bc3493 gnu: gnome-vfs: Expect 'test-async-cancel' failure, and clean up.
* gnu/packages/gnome.scm (gnome-vfs)[arguments]: Add
  "XFAIL_TESTS=test-async-cancel" to make flags.  Remove ignored and
  undocumented 'DISABLE_DEPRECATED_CFLAGS' configure flag.  Simplify
  'ignore-deprecations' phase and return #t.  Reformat to fit within
  80 columns.
2015-04-17 03:11:52 -04:00
Jason Self 007aa90b21 gnu: linux-libre: Set CONFIG_DEVMEM=y
* gnu/packages/linux.scm (linux-libre): Set CONFIG_DEVMEM=y.

Signed-off-by: Jason Self <j@jxself.org>
2015-04-17 02:05:11 -04:00
Ludovic Courtès 4b9b3cbbc4 refresh: Allow users to refer to specific package versions.
* guix/scripts/refresh.scm (guix-refresh): Use 'specification->package'
  instead of 'find-packages-by-name'.  This allows users to specify
  things like "qt-4.8.6".
* doc/guix.texi (Invoking guix refresh): Add an example.
2015-04-16 23:15:06 +02:00
Ludovic Courtès 77db91addc gnu: Add second ld-wrapper to work around readlink dereferencing bug.
Suggested by Mark H Weaver.

* gnu/packages/ld-wrapper2.in: New file.
* gnu-system.am (MISC_DISTRO_FILES): Add it.
* gnu/packages/commencement.scm (fixed-ld-wrapper): New procedure.
2015-04-16 23:15:06 +02:00
Ludovic Courtès f0ad3c7697 gnu: bigloo: Add RUNPATH to the libraries.
* gnu/packages/scheme.scm (bigloo)[arguments]: Pass --ldflags
  'configure' flag.
2015-04-16 23:15:06 +02:00
Manolis Ragkousis d67513fa05 gnu: mig: Update to 1.5
* gnu/packages/hurd.scm (mig): Update to version 1.5.
2015-04-16 14:13:23 +03:00
Manolis Ragkousis 41d9c5d39a gnu: hurd-headers: Update to 0.6
* gnu/packages/hurd.scm (hurd-headers): Update to version 0.6.
2015-04-16 14:13:17 +03:00
Manolis Ragkousis 78dc44908e gnu: gnumach-headers: Update to 1.5
* gnu/packages/hurd.scm (gnumach-headers): Update to version 1.5.
2015-04-16 14:13:11 +03:00
Andreas Enge 1a189da0e7 gnu: vlc: Update to 2.2.0.
* gnu/packages/video.scm (vlc): Update to 2.2.0.
  [inputs]: Switch from ffmpeg-2.2 to latest one.
2015-04-16 13:11:24 +02:00
Ludovic Courtès 457e528eb9 gnu: ffmpeg: Allow tests to run from the build tree.
* gnu/packages/video.scm (ffmpeg)[arguments]: Add 'set-ld-library-path'
  phase.
2015-04-16 10:54:07 +02:00
Ludovic Courtès f2feb0ce7c gnu: ffmpeg: Use 'modify-phases'.
* gnu/packages/video.scm (ffmpeg)[arguments]: Use 'modify-phases'
  instead of 'alist-cons-after' et al.
2015-04-16 10:35:33 +02:00
Ricardo Wurmus 2127cedb23 gnu: Add FASTX Toolkit.
* gnu/packages/bioinformatics.scm (fastx-toolkit): New variable.
2015-04-16 10:28:37 +02:00
Ricardo Wurmus f571e1c346 gnu: Add libgtextutils.
* gnu/packages/textutils.scm (libgtextutils): New variable.
2015-04-16 10:28:30 +02:00
Ricardo Wurmus 4f2bde4433 gnu: tbb: Set library rpath.
* gnu/packages/tbb.scm (tbb)[arguments]: Add the rpath for lib directory of
  output to LDFLAGS.
2015-04-16 10:23:03 +02:00
Ludovic Courtès e1600f6996 hydra: Increase size of USB image.
* build-aux/hydra/gnu-system.scm (qemu-jobs) <usb-image>: Increase from
  800 MiB to 850 MiB.
2015-04-16 10:05:36 +02:00
Ludovic Courtès 73b1b4eba9 gnu: icecat: Disable RUNPATH validation.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Pass
  #:validate-runpath? #f.
2015-04-16 09:56:10 +02:00
Paul van der Walt 945e9c0cef gnu: mu: Update to 0.9.12.
* gnu/packages/mail.scm (mu): Update to version 0.9.12.
2015-04-16 09:55:22 +02:00
Ludovic Courtès b7615c56a7 build-system/haskell: Adjust to new 'modify-phases' syntax.
* guix/build/haskell-build-system.scm (%standard-phases): Add missing
  quotes, as needed since commit f8503e2.
2015-04-16 09:51:38 +02:00
Ludovic Courtès 9fd6c2ba94 build: Build and install (guix build haskell-build-system).
* Makefile.am (MODULES): Add guix/build/haskell-build-system.scm.
2015-04-16 09:49:52 +02:00
Ludovic Courtès 09722b11e5 doc: Add section on installation from a binary tarball.
* doc/guix.texi (Binary Installation): New section.
2015-04-15 23:25:04 +02:00
Ludovic Courtès aa46a028c4 profiles: Generalize "hooks" for 'profile-derivation'.
* guix/profiles.scm (info-dir-file): Remove (null? (manifest-entries
  manifest)) test.
  (ca-certificate-bundle): Likewise.
  (ghc-package-cache-file): Turn 'if' into 'and', and remove second
  arm.
  (%default-profile-hooks): New variable.
  (profile-derivation): Remove #:info-dir?, #:ghc-package-cache?, and
  #:ca-certificate-bundle?.  Add #:hooks.  Iterate over HOOKS.  Adjust
  'inputs' accordingly.
* guix/scripts/package.scm (guix-package): Adjust 'profile-derivation'
  call accordingly.
* tests/packages.scm ("--search-paths with pattern"): Likewise.
* tests/profiles.scm ("profile-derivation",
  "profile-derivation, inputs"): Likewise.
2015-04-15 22:44:51 +02:00
Ludovic Courtès 3158097940 gnu: qt-4: Add "doc" output; use more standard directory names.
* gnu/packages/qt.scm (qt-4)[outputs]: New field.
  (qt-4)[arguments]: Pass '-docdir', '-demosdir', and '-examplesdir'.
2015-04-15 18:13:56 +02:00
Ludovic Courtès d29843466a gnu: qt-4: Do not set $LDFLAGS since that triggerred a build failure.
Fixes the build failure at <http://hydra.gnu.org/build/379884/log/raw>:

  g++ -licui18n -Wl,-O1 [...] -o ../../../../bin/assistant [...]
  ld: warning: libQtCLucene.so.4, needed by /tmp/nix-build-qt-4.8.6.drv-0/qt-everywhere-opensource-src-4.8.6/lib/libQtHelp.so, not found (try using -rpath or -rpath-link)
  /tmp/nix-build-qt-4.8.6.drv-0/qt-everywhere-opensource-src-4.8.6/lib/libQtHelp.so: undefined reference to `QCLucenePhraseQuery::getTerms() const'
  [...]

* gnu/packages/patches/qt4-ldflags.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qt-4)[source]: Use it.
  [arguments]: Remove 'setenv' call in 'configure' phase.
2015-04-15 18:13:56 +02:00
Ricardo Wurmus e46d517f6d gnu: icedtea6: Update to 1.13.7.
* gnu/packages/java.scm (icedtea6): Update to version 1.13.7.
2015-04-15 17:38:09 +02:00
宋文武 6c0dfb195c gnu: wine: Add $libdir to the RUNPATH of binaries.
* gnu/packages/wine.scm (wine)[arguments]: Add #:configure-flags.
2015-04-15 19:07:55 +08:00
宋文武 d43ba6f851 gnu: wine: Update to 1.7.40.
* gnu/packages/wine.scm (wine): Update to 1.7.40.
2015-04-15 19:07:10 +08:00
Andreas Enge a8bd3e5ebb gnu: calibre: Update to 2.24.0.
* gnu/packages/ebook.scm (calibre): Update to 2.24.0.
2015-04-15 10:33:08 +02:00
Ludovic Courtès cd6c6d60a8 build-system/haskell: Refer to %GNU-BUILD-SYSTEM-MODULES.
Fixes a regression whereby haskell-build-system was using an incomplete
module list.

* guix/build-system/haskell.scm (%haskell-build-system-modules): New
  variable.
  (haskell-build): Use it as the default value of #:imported-modules.
2015-04-15 10:27:19 +02:00
Ludovic Courtès 1590e8a1dd packages: Refer to the native tools when handling sources and downloads.
* guix/packages.scm (patch-and-repack)[build]: Change most #$ to #+.
* guix/cvs-download.scm (cvs-fetch)[build]: Likewise.
* guix/download.scm (url-fetch)[builder]: Likewise.
* guix/git-download.scm (git-fetch)[build]: Likewise.
* guix/svn-download.scm (svn-fetch)[build]: Likewise.
2015-04-15 10:19:47 +02:00
宋文武 691cb22b1b gnu: fltk: Add $libdir to the RUNPATH of binaries.
* gnu/packages/fltk.scm (fltk)[arguments]: Add
  DSOFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
2015-04-15 12:41:21 +08:00
宋文武 bda4ca76d4 gnu: fltk: Update to 1.3.3.
* gnu/packages/fltk.scm (fltk): Update to 1.3.33
2015-04-15 12:40:02 +08:00
宋文武 fee4693e42 gnu: recode: Fix tests.
* gnu/packages/textutils.scm (recode): Rename phase 'fix-setup-py to 'pre-check.
  Set LD_LIBRARY_PATH to "$(pwd)/src/.libs" in pre-check phase.
2015-04-15 12:04:51 +08:00
Ludovic Courtès 8bc35f85b7 build: Add missing 'make-binary-tarball.scm' script.
This script is used by the target added in 9d3fb6c.

* build-aux/make-binary-tarball.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2015-04-14 23:29:26 +02:00
Ludovic Courtès b607593533 hydra: Add jobs for the self-contained tarball.
* build-aux/hydra/gnu-system.scm (tarball-jobs): New procedure.
  (hydra-jobs): Use it.
2015-04-14 23:26:41 +02:00
Ludovic Courtès 890024c51c gnu: Don't use #:prefix in (gnu packages sdl).
* gnu/packages/sdl.scm: Remove #:prefix for (gnu packages fontutils)
  import, and adjust accordingly.  Add #:hide for (guix licenses)
  import.
2015-04-14 23:25:37 +02:00
Ludovic Courtès a0bcaefd08 Thank Pjotr. 2015-04-14 23:20:26 +02:00
Ludovic Courtès 9d3fb6c767 install: Add a procedure to build a self-contained binary tarball.
Suggested by Pjotr Prins <pjotr.public12@thebird.nl>
at <http://lists.gnu.org/archive/html/guix-devel/2015-04/msg00229.html>.

* gnu/build/install.scm (populate-single-profile-directory): New procedure.
* gnu/system/install.scm (self-contained-tarball): New procedure.
* Makefile.am (guix-binary.%.tar.xz): New target.
2015-04-14 23:20:26 +02:00
Ludovic Courtès a84e523c4a build: Silence warnings about 'make' portability.
* configure.ac: Pass -Wno-portability to AM_INIT_AUTOMAKE.
2015-04-14 23:20:18 +02:00
Andreas Enge c3768fa49b gnu: calibre: Update to 2.23.0.
* gnu/packages/ebook.scm (calibre): Update to 2.23.0.
2015-04-14 20:00:55 +02:00
宋文武 04a20db2b3 gnu: gst-libav: Use system ffmpeg instead of bundled libav.
* gnu/packages/gstreamer.scm (gst-libav)[arguments]: Remove #:phases.
  Add #:configure-flags.
  [native-inputs]: Remove yasm.
  [inputs]: Add ffmpeg.
2015-04-14 23:03:05 +08:00
Mark H Weaver d5f01e48e0 guix package: Add '--do-not-upgrade' option.
* guix/scripts/package.scm (%options): Add the '--do-not-upgrade' option.
  (show-help): Document it.
  (options->installable): Add 'do-not-upgrade-regexps' variable.
  Use it in 'packages-to-upgrade'.
* doc/guix.texi (Invoking guix package): Document the '--do-not-upgrade'
  option.
2015-04-14 10:44:19 -04:00
Mark H Weaver 6915912506 gnu: Add mdadm.
* gnu/packages/linux.scm (mdadm): New variable.
2015-04-14 10:44:19 -04:00
Andy Wingo 23a22af694 gnu: Add gnome-settings-daemon.
* gnu/packages/gnome.scm (gnome-settings-daemon): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-14 14:46:34 +02:00
Andy Wingo 6a180f6f36 gnu: Add libgweather.
* gnu/packages/gnome.scm (libgweather): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-14 14:09:21 +02:00
Ludovic Courtès 9349655820 gnu: qt-5: Allow the use of DT_RUNPATH for libQt5WebEngineCore.so.
* gnu/packages/patches/qt5-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qt)[source]: Use it.
2015-04-14 13:27:38 +02:00
Ludovic Courtès caf0c0a9e9 gnu: miniupnpc: Allow executables to find libupnp.so.
* gnu/packages/upnp.scm (miniupnpc)[arguments]: Pass
  "LDFLAGS=-Wl,-rpath=...".
2015-04-14 10:03:24 +02:00
Ludovic Courtès e91d1d3133 gnu: libtocc: Help the tests find libtocc.so.
* gnu/packages/search.scm (libtocc)[arguments] <check>: Pass
  -Wl,-rpath=../src/.libs for the tests.
2015-04-14 10:03:24 +02:00
Ludovic Courtès 4836989a69 gnu: libmicrohttpd: Update to 0.9.40.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.40.
2015-04-14 10:03:24 +02:00
Ludovic Courtès fb799cb72e gnu: Disable RUNPATH validation for packages that use $ORIGIN.
* gnu/packages/haskell.scm (ghc)[arguments]: Add #:validate-runpath?.
* gnu/packages/julia.scm (julia)[arguments]: Likewise.
* gnu/packages/java.scm (icedtea6)[arguments]: Likewise.
2015-04-14 10:03:24 +02:00
宋文武 b2a80c785d gnu: glib: Move html documentation to $doc/share/gtk-doc/html.
* gnu/packages/glib.scm (glib)[arguments]<#:configure-flags>:
  Pass "--with-html-dir=$doc/share/gtk-doc/html".
2015-04-14 15:40:58 +08:00
宋文武 5d4c695721 gnu: openldap: Update to 2.4.40.
* gnu/packages/openldap.scm (openldap): Update to 2.4.40.
2015-04-14 15:23:23 +08:00
宋文武 0e05d01e4f gnu: python: Use 'version-major+minor' to compute PYTHONPATH.
Fixes a regression introduced in 08c0450.

* gnu/packages/python.scm (python)[native-search-paths]: Use
  'version-major+minor' to compute PYTHONPATH.
2015-04-14 15:11:51 +08:00
Mark H Weaver 46a1130207 gnu: linux-libre: Remove linux-libre-vblank-fix.patch.
* gnu/packages/patches/linux-libre-vblank-fix.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (linux-libre): Remove patch.
2015-04-14 02:35:38 -04:00
David Thompson 463acb4acb gnu: ruby: Update to 2.2.2.
* gnu/packages/ruby.scm (ruby): Update to 2.2.2.
2015-04-13 19:56:01 -04:00
Ludovic Courtès 1bef37ee2e gnu: emacs: Do not keep references to the entries of the build-time $PATH.
This reduces the number of references of the output from 54 to 31,
removing references notably to gcc, expat, glib:bin, ld-wrapper-0,
texinfo, pkg-config, make, gawk, binutils, etc.

Reported by David Thompson.

* gnu/packages/patches/emacs-exec-path.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/emacs.scm (emacs)[source]: Use it.
2015-04-13 23:20:07 +02:00
Ricardo Wurmus 8214b7fbea gnu: rseqc: Update hash.
* gnu/packages/bioinformatics.scm (rseqc): Update hash.
2015-04-13 15:39:02 +02:00
Mark H Weaver 279a587d60 gnu: gst-libav: Add missing quotes in phase names passed to 'modify-phases'.
This should have been done in 1ca8ff285b.

* gnu/packages/gstreamer.scm (gst-libav): Add missing quotes in phase names
  passed to 'modify-phases'.
2015-04-13 09:07:01 -04:00
Jason Self 2784a65af6 gnu: linux-libre: Update to 4.0
* gnu/packages/linux.scm (linux-libre): Update to version 4.0.
2015-04-13 05:57:50 -07:00
Mark H Weaver 9bbd52e536 gnu: libepoxy: Fix tests on arm.
* gnu/packages/gl.scm (libepoxy)[arguments]: When building for arm,
  patch test/dlwrap.c to fix the tests.
2015-04-13 01:29:51 -04:00
Mark H Weaver 1ca8ff285b Merge branch 'master' into core-updates 2015-04-13 01:25:28 -04:00
Mark H Weaver 14fe9488f4 gnu: p11-kit: Update to 0.23.1.
* gnu/packages/gnutls.scm (p11-kit): Update to 0.23.1.
2015-04-12 22:50:51 -04:00
Mark H Weaver a153ff80c8 gnu: net-tools: Adapt to linux-libre-headers-3.14.x.
* gnu/packages/linux.scm (net-tools): Remove the HAVE_HWSTRIP and HAVE_HWTR
  options from the configuration.
2015-04-12 19:46:20 -04:00
Andy Wingo be23412848 services: Add upower.
* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/upower.scm.
* gnu/services/upower.scm: New file, defining a upower service.
* doc/guix.texi (Various Services): Mention it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-13 00:02:59 +02:00
Andy Wingo a1d5bb0ec7 gnu: Add upower.
* gnu/packages/gnome.scm (upower): New variable.
* gnu/packages/patches/upower-builddir.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-13 00:02:59 +02:00
Ludovic Courtès 002c57c6f7 lint: Add a 'derivation' checker.
* guix/scripts/lint.scm (check-derivation): New procedure.
  (%checkers): Add 'derivation' checker.
* tests/lint.scm ("derivation: invalid arguments"): New test.
2015-04-13 00:02:59 +02:00
Mark H Weaver 866f469edd gnu: gnutls: Update to 3.4.0.
* gnu/packages/patches/gnutls-fix-duplicate-manpages.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnutls.scm (gnutls)[source]: Update to 3.4.0.  Add patch.
  [arguments]: Pass --without-p11-kit to 'configure'.
  [propagated-inputs]: Use 'nettle' instead of 'nettle-2'.  Add 'libidn'.
2015-04-12 17:26:39 -04:00
Mark H Weaver 7ae3e06a32 gnu: gnutls: Add debug output.
* gnu/packages/gnutls.scm (gnutls)[outputs]: Add debug output.
2015-04-12 17:26:35 -04:00
Mark H Weaver 8cba6fc9ee gnu: nettle: Add debug output.
* gnu/packages/nettle.scm (nettle)[outputs]: Add debug output.
2015-04-12 17:26:32 -04:00
Ludovic Courtès 4c9050c63d doc: Add example showing how to customize 'nscd-service'.
* doc/guix.texi (Name Service Switch): Add link to nss-mdns.  Add
  example show how to pass #:name-services to 'nscd-service'.
  (Base Services): Add link from 'nscd-service' to the above.
* gnu/services/base.scm (nscd-service): Update docstring accordingly.
2015-04-12 22:34:47 +02:00
Ludovic Courtès 99af4996ea gnu: man-pages: Update to 3.82.
* gnu/packages/man.scm (man-pages): Update to 3.82.
2015-04-12 22:19:18 +02:00
Ludovic Courtès b158f1d751 system: Allow users to PTRACE_ATTACH to their own processes.
* gnu/build/activation.scm (activate-ptrace-attach): New procedure.
* gnu/system.scm (operating-system-activation-script): Use it.
2015-04-12 15:33:42 +02:00
Ludovic Courtès ce6fc7d6a5 build: Build and install (guix build-system haskell).
* Makefile.am (MODULES): Add guix/build-system/haskell.scm.
2015-04-12 15:16:48 +02:00
Ludovic Courtès 260b07a7d0 gnu: gtk+: Pass --with-html-dir=$doc.
Fixes a regression introduced in 6b1f238.

* gnu/packages/gtk.scm (gtk+)[arguments]: Add #:configure-flags.
2015-04-12 14:45:08 +02:00
Ludovic Courtès 13cc689ae8 gnu: elfutils: Add $libdir to the RUNPATH of binaries.
* gnu/packages/elf.scm (elfutils)[arguments]: New field.
2015-04-11 17:08:27 +02:00
Ludovic Courtès cc1e1b38c9 gnu: elfutils: Work around PTRACE_ATTACH-induced test failures.
* gnu/packages/patches/elfutils-tests-ptrace.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/elf.scm (elfutils)[source]: Use it.
2015-04-11 17:02:30 +02:00
Ludovic Courtès 9bf3ced06c packages: 'package-transitive-supported-systems' accounts for implicit inputs.
Reported by Federico Beffa.

* guix/packages.scm (package-transitive-supported-systems): Use
  bag-direct-inputs + package->bag rather than package-direct-inputs.
* tests/packages.scm ("package-transitive-supported-systems"): Add
  explicit 'build-system' field to each 'dummy-package' form.
  ("package-transitive-supported-systems, implicit inputs"): New test.
2015-04-11 13:06:23 +02:00
Ludovic Courtès cceab87536 packages: Add 'bag-direct-inputs'.
* guix/packages.scm (bag-direct-inputs): New procedure.
  (bag-transitive-inputs): Use it.
2015-04-11 13:06:23 +02:00
Ludovic Courtès 8550894bfe gnu: nspr: Add $libdir to the RUNPATH of binaries.
* gnu/packages/gnuzilla.scm (nspr)[arguments]: Add
  LDFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
2015-04-11 13:06:23 +02:00
Ludovic Courtès 713e0aa4b3 gnu: netpbm: Remove non-FSDG-compliant code in 'snippet'.
* gnu/packages/netpbm.scm (netpbm)[source]: Add 'file-name', 'modules',
  and 'snippet'.
  [arguments]: Remove 'substitute*' uses that removed non-FSDG-compliant
  code since this is now done in 'snippet'.
2015-04-11 13:06:22 +02:00
宋文武 50c26d9e44 gnu: iptables: Add $libdir to the RUNPATH of executables.
* gnu/packages/linux.scm (iptables)[arguments]: Add #:configure-flags.
2015-04-11 18:23:27 +08:00
宋文武 6d889daf2a gnu: libcap: Add $libdir to the RUNPATH of executables.
* gnu/packages/linux.scm (libcap)[arguments]: Set LDFLAGS to
  '-Wl,-rpath=...' in Make.Rules.
2015-04-11 13:59:54 +08:00
宋文武 d1f9e45e5d gnu: cdparanoia: Don't use patchelf.
* gnu/packages/cdrom.scm (cdparanoia): Remove 'patchelf' from inputs.
  [arguments]: Remove #:modules, #:imported-modules and #:phases.  Pass
  'LDFLAGS=-Wl,-rpath=...' as #:configure-flags.
  [origin]: Add 'snippet'.
2015-04-11 13:30:58 +08:00
宋文武 be84118181 gnu: netpbm: Add $libdir to the RUNPATH of binaries.
* gnu/packages/netpbm.scm (netpbm)[arguments]: Add 'LDFLAGS += -Wl,-rpath=...'
  to config.mk in the configure phase.
2015-04-11 12:47:22 +08:00
宋文武 6b206853a0 gnu: subversion: Add $libdir to the RUNPATH of Perl bindings.
Fixes <http://bugs.gnu.org/20052>.

* gnu/packages/version-control.scm (subversion)[arguments]:
  Pass '-Wl,-rpath=...' as OTHERLDFLAGS in install-perl-bindings phase.
2015-04-11 12:14:52 +08:00
Ludovic Courtès 53a53be91b gnu: boost: Add $libdir to the RUNPATH of libraries.
* gnu/packages/boost.scm (boost)[arguments]: Add -Wl,-rpath=... to
  BUILD-FLAGS.  Remove 'check' phase and use #:tests? #f instead.
2015-04-10 23:37:36 +02:00
Mark H Weaver 4c2a38c25f gnu: emacs: Update to 24.5.
* gnu/packages/emacs.scm (emacs): Update to 24.5.
2015-04-10 15:20:22 -04:00
Ludovic Courtès 3314f8a7b6 gnu: libtool: Leave out the test suite workarounds.
They are no longer needed since the latest ld-wrapper changes (commit
51d0cd9.)

* gnu/packages/patches/libtool-skip-tests2.patch: New file.
* gnu/packages/autotools.scm (libtool)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-10 18:09:46 +02:00
宋文武 b3455870e1 gnu: libvpx: Augment rpath.
Fixes <http://bugs.gnu.org/20055>.

* gnu/packages/video.scm (libvpx)[arguments]: Set LDFLAGS to
  '-Wl,-rpath=$out/lib' in configure phase.
2015-04-10 22:26:44 +08:00
Mark H Weaver 5e738ac224 system: Clean /tmp and /var/run during early boot.
* gnu/system.scm (operating-system-boot-script): Clean out /tmp and
  /var/run before activating the system.
2015-04-10 09:22:49 -04:00
宋文武 1b922590d7 gnu: Add gst-libav.
* gnu/packages/gstreamer.scm (gst-libav): New variable.
2015-04-10 21:02:19 +08:00
Ricardo Wurmus 5854f6858b gnu: Add GRIT.
* gnu/packages/bioinformatics.scm (grit): New variable.
2015-04-10 14:35:48 +02:00
Ludovic Courtès 3a4de6b2d2 gnu: Add missing quotes in phase names passed to 'modify-phases'.
This is a followup to f8503e2.

* gnu/packages/gnome.scm (glib-networking): Add missing quotes before
  phase names passed to 'modify-phases'.
  (libsoup): Likewise.
  (gnome-terminal): Likewise.
  (colord): Likewise.
  (geoclue): Likewise.
* gnu/packages/gtk.scm (at-spi2-core, at-spi2-atk): Likewise.
* gnu/packages/haskell.scm (ghc-network): Likewise.
* gnu/packages/imagemagick.scm (perl-image-magick): Likewise.
* gnu/packages/video.scm (aalib): Likewise.
* gnu/packages/web.scm (nginx): Likewise.
2015-04-10 11:35:50 +02:00
Ludovic Courtès caaf1933a4 gnu: Fix incorrect references to %GNU-BUILD-SYSTEM-MODULES.
Fixes a regression introduced in 8ff3df5.

* gnu/packages/emacs.scm (emacs-w3m)[arguments]: Use quasiquote, not
  quote.
  (emacs-wget)[arguments]: Likewise, and use unquote-splicing for
  %GNU-BUILD-SYSTEM-MODULES.
  (emms): Likewise.
* gnu/packages/haskell.scm (ghc): Likewise.
* gnu/packages/samba.scm (samba): Likewise.
2015-04-10 10:34:04 +02:00
Ludovic Courtès b210b35d61 lint: Report patches that cannot be found.
* guix/scripts/lint.scm (check-patch-file-names): Wrap body in 'guard'.
* tests/lint.scm ("patches: not found"): New test.
2015-04-10 10:27:46 +02:00
Ludovic Courtès 56b1b74c90 lint: Rename 'check-patches' to 'check-patch-file-names'.
* guix/scripts/lint.scm (check-patches): Rename to...
  (check-patch-file-names): ... this.  Rename 'filename' to 'file'.
  (%checkers): Adjust accordingly.
* tests/lint.scm ("patches: file names"): Likewise.
2015-04-10 10:11:59 +02:00
Tomáš Čech a55e2b221c gnu: curl: Update to 7.41.0. Support CURLOPT_CAPATH on GnuTLS.
Fixes <http://bugs.gnu.org/20121>.

* gnu/packages/patches/curl-gss-api-fix.patch: Delete file.
* gnu/packages/patches/curl-support-capath-on-gnutls.patch,
  gnu/packages/patches/curl-support-capath-on-gnutls-conf.patch: New files.
* gnu-system.am (dist_patch_DATA): Add new patches and remove old one.
* gnu/packages/curl.scm (curl): Update to 7.41.0.  Add new patches and remove
  old one.  Disable one unit test.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-04-10 01:04:22 -04:00
宋文武 7dae5ac4b1 gnu: gnome-themes-standard: Update to 3.16.0.
This is a followup to 12f7f4a.

* gnu/packages/gnome.scm (gnome-themes-standard): Update hash.
2015-04-10 10:15:51 +08:00
Mark H Weaver 7934c8cfee gnu: python-2: Restore python-libffi-mips-n32-fix.patch.
This patch was removed in 08c045091e,
but it's still needed for python-2.

* gnu/packages/patches/python-libffi-mips-n32-fix.patch: Restore it.
* gnu-system.am (dist_patch_DATA): Add it back.
2015-04-09 18:57:52 -04:00
Cyril Roelandt 08c045091e python: Update to 3.4.3
* gnu/packages/python.scm (python): Update from 3.3.5 to 3.4.3.
* gnu/packages/patches/python-fix-tests.patch: Update the required test fixes.
* gnu/packages/patches/python-libffi-mips-n32-fix.patch: Remove it...
* gnu-system.am (dist_patch_DATA): ... and do not reference it here.
2015-04-10 00:19:46 +02:00
Ludovic Courtès ee3e157dec Add Bash completion file.
* etc/completion/bash/guix: New file.
* Makefile.am (dist_bashcompletion_DATA): New variable.
* configure.ac: Add --with-bash-completion-dir.
2015-04-09 23:44:14 +02:00
Andy Wingo 2bfe74378c gnu: Add geocode-glib.
* gnu/packages/gnome.scm (geocode-glib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-09 21:18:12 +02:00
Andy Wingo 12f7f4aa27 gnu: gnome-desktop: Update to 3.16.0.
* gnu/packages/gnome.scm (gnome-desktop): Update to 3.16.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-09 21:17:28 +02:00
Ludovic Courtès ee5408576d Merge branch 'master' into core-updates 2015-04-09 21:10:46 +02:00
Ludovic Courtès afd40799e4 gnu: libtasn1: Update to 4.4 [fix for CVE-2015-2806].
* gnu/packages/gnutls.scm (libtasn1): Update to 4.4.
2015-04-09 19:07:04 +02:00
Ludovic Courtès 2891974c35 gnu: nettle: Update to 3.1.
* gnu/packages/nettle.scm (nettle): Update to 3.1.  Add 'arguments'
  field.
2015-04-09 18:49:30 +02:00
Ludovic Courtès 0be199c976 gnu: nettle: Make version 3 the default.
* gnu/packages/nettle.scm (nettle): Rename to...
  (nettle-2): ... this.
  (nettle-3): Rename to...
  (nettle): ... this.
* gnu/packages/gnutls.scm (gnutls): Use NETTLE-2.
* gnu/packages/lsh.scm (lsh): Likewise.
2015-04-09 18:49:28 +02:00
Ricardo Wurmus c833ab556f gnu: Add Shogun.
* gnu/packages/bioinformatics.scm (shogun): New variable.
2015-04-09 15:05:12 +02:00
Mark H Weaver 1421afa94a gnu: gcc: Do not pass -dynamic-linker to linker when !shared on arm.
Fixes <http://bugs.gnu.org/20102>.

* gnu/packages/patches/gcc-arm-link-spec-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-4.8, gcc-4.9): Add patch.
* gnu/packages/cross-base.scm (cross-gcc): Preserve patches from gcc-4.8.

Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
2015-04-09 01:58:04 -04:00
Ludovic Courtès 0cc0095f3c http-client: Add workaround for HTTP pipelining on Guile <= 2.0.9.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/http-client.scm (make-delimited-input-port): New procedure.
  Install it in (web response) for Guile <= 2.0.9.
2015-04-08 21:41:04 +02:00
Ludovic Courtès 9bea87a542 activation: Remove undeclared user accounts and groups.
Fixes <http://bugs.gnu.org/19795>.
Reported by David Thompson <dthompson2@worcester.edu>.

* gnu/build/activation.scm (enumerate, current-users, current-groups,
  delete-user, delete-group): New procedures.
  (activate-users+groups): Add calls to 'delete-user' and
  'delete-group'.
* doc/guix.texi (User Accounts): Add a paragraph about statelessness.
  Explain that passwords are preserved.
2015-04-08 21:41:04 +02:00
Federico Beffa a231ef7eec gnu: Add ghc-http.
* gnu/packages/haskell.scm (ghc-http): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa 9ce031c57f gnu: Add ghc-network-uri.
* gnu/packages/haskell.scm (ghc-network-uri): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa abfed253e6 gnu: Add ghc-network.
* gnu/packages/haskell.scm (ghc-network): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa f50fc13815 gnu: Add ghc-vector.
* gnu/packages/haskell.scm (ghc-vector): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa fa468e879f gnu: Add ghc-parsec.
* gnu/packages/haskell.scm (ghc-parsec): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa d692228e8b gnu: Add ghc-split.
* gnu/packages/haskell.scm (ghc-split): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa 01a687da09 gnu: Add ghc-unordered-containers.
* gnu/packages/haskell.scm (ghc-unordered-containers): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa c5043f4aac gnu: Add ghc-fgl.
* gnu/packages/haskell.scm (ghc-fgl): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa 61c02099a3 gnu: Add ghc-containers.
* gnu/packages/haskell.scm (ghc-containers): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa eaa3088e2c gnu: Add ghc-syb.
* gnu/packages/haskell.scm (ghc-syb): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa 7a1e8c74a3 gnu: Add ghc-case-insensitive.
* gnu/packages/haskell.scm (ghc-case-insensitive): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa dc0ae39a8f gnu: Add ghc-quickcheck.
* gnu/packages/haskell.scm (ghc-quickcheck): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa c272160ab0 gnu: Add ghc-tf-random.
* gnu/packages/haskell.scm (ghc-tf-random): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa 4af803a7c0 gnu: Add ghc-primitive.
* gnu/packages/haskell.scm (ghc-primitive): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa df596b948d gnu: Add ghc-random.
* gnu/packages/haskell.scm (ghc-random): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa c3b90c0edb gnu: Add ghc-hunit
* gnu/packages/haskell.scm (ghc-hunit): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa 775be802a3 gnu: Add ghc-hashable.
* gnu/packages/haskell.scm (ghc-hashable): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa deb36de072 gnu: Add ghc-text.
* gnu/packages/haskell.scm (ghc-text): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa e916e21102 gnu: Add ghc-parallel.
* gnu/packages/haskell.scm (ghc-parallel): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa a39f3936a9 gnu: Add ghc-stm.
* gnu/packages/haskell.scm (ghc-stm): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa 3d3613d55d gnu: Add ghc-zlib.
* gnu/packages/haskell.scm (ghc-zlib): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa 0939da6e4d gnu: Add ghc-paths.
* gnu/packages/haskell.scm: (ghc-paths): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa 7d5baa300d gnu: Add ghc-mtl.
* gnu/packages/haskell.scm: (ghc-mtl): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa 042bc828fc profiles: Generate GHC's package database cache.
* guix/profiles.scm (ghc-package-cache-file): New procedure.
  (profile-derivation): Add 'ghc-package-cache?' keyword argument.  If true
  (the default), add the result of 'ghc-package-cache-file' to 'inputs'.
* guix/scripts/package.scm (guix-package)[process-actions]: Pass
  #:ghc-package-cache? to 'profile-generation'.
* tests/packages.scm ("--search-paths with pattern"): Likewise.
* tests/profiles.scm ("profile-derivation"): Likewise.
2015-04-08 17:31:12 +02:00
Federico Beffa 283cce508a build-system/haskell: Update configure flags, 'haddock' and %standard-phases.
* guix/build/haskell-build-system.scm (%standard-phases): move 'haddock phase
  before 'install phase.
* guix/build/haskell-build-system.scm (haddock): Simplify it as the 'install
  phase takes care of copying files.
* guix/build/haskell-build-system.scm (configure): Add '--libsubdir' flag.
  Fix use of '--extra-include-dirs' and '--extra-lib-dirs' flags.  Use 'doc',
  'bin' and 'lib' outputs if they are defined.
* guix/build/haskell-build-system.scm (make-ghc-package-database, register):
  Aligh location of 'package.conf.d' directory with '--libsubdir' flag.
2015-04-08 17:31:11 +02:00
Federico Beffa b29455cfe7 import: Add hackage importer.
* guix/import/hackage.scm: New file.
* tests/hackage.scm: New file.
2015-04-08 17:31:11 +02:00
Federico Beffa 863af4e121 import: Add hackage importer.
* guix/scripts/import.scm (importers): Add hackage.
* guix/scripts/import/hackage.scm: New file.
* po/guix/POTFILES.in: Add guix/scripts/import.scm.
* doc/guix.texi: Add section on 'hackage' importer.
2015-04-08 17:31:11 +02:00
宋文武 bba229a3ca gnu: Add libsecret.
* gnu/packages/gnome.scm (libsecret): New variable.
2015-04-08 22:20:27 +08:00
Andy Wingo 7b2abd0055 gnu: Add geoclue.
* gnu/packages/gnome.scm (geoclue): New variable.
* gnu/packages/patches/geoclue-config.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-08 14:42:27 +02:00
Andy Wingo 7ce597ff9e gnu: Add colord service.
* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/colord.scm.
* gnu/services/colord.scm: New file.
* doc/guix.texi (Various Services): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-08 14:34:32 +02:00
Andy Wingo 75016d07ec gnu: Add colord package.
* gnu/packages/gnome.scm (colord): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-08 14:25:13 +02:00
Ludovic Courtès 032c7c5f78 build: Enable silent rules by default.
* configure.ac: Use 'AM_SILENT_RULES'.
2015-04-08 10:42:48 +02:00
Ludovic Courtès 1dccdb758a gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to 0b13161.
2015-04-08 10:41:27 +02:00
Ludovic Courtès 0b131612d5 tests: Skip 'guix-package-net.sh' when prerequisites aren't met.
* tests/guix-package-net.sh: Reinstate networking and shebang test that
  inadvertently vanished in commit 57b8623.
2015-04-08 10:20:59 +02:00
Ludovic Courtès d525da858d gnu: inetutils: Apply syslogd patch.
* gnu/packages/patches/inetutils-syslogd.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (inetutils)[source]: Use it.
  [native-inputs]: New field.
2015-04-08 10:20:59 +02:00
宋文武 cf3e3e374c Merge branch 'master' into core-updates 2015-04-08 16:04:37 +08:00
宋文武 068a53c36d gnu: at-spi2-core: Move html documentation to 'doc' output.
* gnu/packages/gtk.scm (at-spi2-core)[outputs]: New field.
  [arguments]: Add #:configure-flags.
2015-04-08 16:02:34 +08:00
宋文武 6967cc3f28 gnu: at-spi2-atk: Propagate input at-spi2-core.
* gnu/packages/gtk.scm (at-spi2-atk): Move at-spi2-core to 'propagated-inputs'.
  Move dbus to 'native-inputs'.
2015-04-08 16:02:34 +08:00
宋文武 57fcd22415 gnu: at-spi2-atk: Enable tests.
* gnu/packages/gtk.scm (at-spi2-atk)[arguments]: Remove #:tests? #f.
  Add #:phases.
2015-04-08 16:02:34 +08:00
宋文武 13a9e29190 gnu: atk: Propagate input glib.
* gnu/packages/gtk.scm (atk): Move glib to 'propagated-inputs'.
2015-04-08 16:02:33 +08:00
宋文武 d3d4bc0bc4 gnu: at-spi2-atk: Update to 2.16.0.
* gnu/packages/gtk.scm (at-spi2-atk): Update to 2.16.0.
2015-04-08 16:02:33 +08:00
宋文武 cd0466ebf8 gnu: atk: Move html documentation to 'doc' output.
* gnu/packages/gtk.scm (atk)[outputs]: New field.
  [arguments]: New field.
2015-04-08 16:02:33 +08:00
宋文武 20342b7e7e gnu: atk: Update to 2.16.0.
* gnu/packages/gtk.scm (atk): Update to 2.16.0.
2015-04-08 16:02:33 +08:00
宋文武 50cc7f41b9 gnu: at-spi2-core: Enable GObject introspection.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Add #:make-flags.
  [native-inputs]: Add gobject-introspection.
2015-04-08 16:02:33 +08:00
宋文武 c6a552daea gnu: at-spi2-core: Propagate inputs dbus and glib.
* gnu/packages/gtk.scm (at-spi2-core): Move dbus and glib to
  'propagated-inputs'.
2015-04-08 16:02:33 +08:00
宋文武 af10867745 gnu: at-spi2-core: Enable tests.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Remove #:tests? #f.
  Add #:phases.
2015-04-08 16:02:33 +08:00
宋文武 0c75803b7c gnu: at-spi2-core: Update to 2.16.0.
* gnu/packages/gtk.scm (at-spi2-core): Update to 2.16.0.
2015-04-08 16:02:33 +08:00
宋文武 6b1f238834 gnu: gtk+-2: Move html documentation to 'doc' output.
* gnu/packages/gtk.scm (gtk+-2)[outputs]: New field.
  [arguments]<#:configure-flags>: Add '--with-html-dir'.
2015-04-08 16:02:32 +08:00
宋文武 dfbce50cdf gnu: gtk+-2: Add more inputs.
* gnu/packages/gtk.scm (gtk+-2)[inputs]: Add cups, libxcomposite,
  libxcursor, libxdamage, libxi, libxinerama and libxrandr.
  [native-inputs]: Add gettext.
  [arguments]: Add #:configure-flags.
2015-04-08 16:02:32 +08:00
宋文武 674fca0e41 gnu: gtk+-2: Update to 2.24.27.
* gnu/packages/gtk.scm (gtk+-2): Update to 2.24.27.
2015-04-08 16:02:32 +08:00
Ricardo Wurmus de4b3828ca gnu: julia: Pass MARCH make flag.
* gnu/packages/julia.scm (julia)[arguments]: Pass "MARCH" flag for supported
  architectures.
2015-04-08 09:29:38 +02:00
Ricardo Wurmus 9e54e957f9 gnu: julia: Mark as unsupported on ARM and MIPS.
* gnu/packages/julia.scm (julia): Add 'supported-systems' field.
2015-04-08 09:29:31 +02:00
宋文武 60950faa0e gnu: wavpack: Fix wavpack.pc by passing '--libdir' to `configure'.
* gnu/packages/audio.scm (wavpack)[arguments]: New field.
2015-04-08 09:48:35 +08:00
Ludovic Courtès 225dafdee7 doc: Refer to "Substitutes" from "Setting Up the Daemon".
Suggested by Mark H Weaver.

* doc/guix.texi (Setting Up the Daemon): Add xref to "Substitutes".
2015-04-07 22:58:31 +02:00
Ludovic Courtès 60142854af doc: Mention the relation between module names and file names.
* doc/guix.texi (Package Modules): Mention the relation between module
  names and file names.
2015-04-07 22:53:06 +02:00
Ludovic Courtès 391bdd8f7f doc: Mention that the current generation is not deleted.
* doc/guix.texi (Invoking guix package): Mention that the current
  generation is not deleted.  This is a followup to d26eb84.
2015-04-07 22:47:32 +02:00
Ludovic Courtès 4ae7559fd6 gnu: Emit a warning when a package module cannot be loaded.
* guix/ui.scm (warn-about-load-error): New procedure.
* gnu/packages.scm (package-modules): Wrap 'resolve-interface' call in
  'catch #t', and call 'warn-about-load-error' in handler.
2015-04-07 22:28:36 +02:00
Ludovic Courtès 1151f6aeae ui: Add 'report-load-error'.
* guix/scripts/system.scm (read-operating-system): Replace error
  handling code by a call to 'report-load-error'.
* guix/ui.scm (report-load-error): New procedure.
2015-04-07 22:28:36 +02:00
Ludovic Courtès c8bfa5b425 gnu: Change ld-wrapper extension from .scm to .in.
* gnu/packages/ld-wrapper.scm: Rename to...
* gnu/packages/ld-wrapper.in: ... this.
* gnu/packages/base.scm (make-ld-wrapper): Adjust "wrapper" input
  accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove ld-wrapper.scm.
  (MISC_DISTRO_FILES): New variable.
2015-04-07 22:28:36 +02:00
Ludovic Courtès dfc8bb2071 gnu: gcc: Disable RUNPATH validation for native builds.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Pass
  #:validate-runpath? #f.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Override
  #:validate-runpath? with 'substitute-keyword-arguments'.
  (gcc-final)[arguments]: Likewise.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Likewise.
2015-04-07 22:28:36 +02:00
Ludovic Courtès 71b6716814 gnu: ld-wrapper: Add 'GUIX_LD_WRAPPER_DISABLE_RPATH' environment variable.
* gnu/packages/ld-wrapper.scm (%disable-rpath?): New variable.
  (rpath-arguments): Honor it.
2015-04-07 22:28:36 +02:00
Ludovic Courtès 51d0cd9b38 gnu: ld-wrapper: Add '-rpath' flag only for libraries that are in the store.
This avoids adding bogus entries to the RUNPATH of installed binaries,
pointing to the build directory or similar.

* gnu/packages/ld-wrapper.scm (store-file-name?): New procedure.
  (rpath-arguments): Add "-rpath" flag on when FILE matches
  'store-file-name?', not when it matches 'pure-file-name?'.
2015-04-07 22:28:35 +02:00
Ludovic Courtès 41fc0eb900 gnu: ld-wrapper: Extract symlink dereferencing.
* gnu/packages/ld-wrapper.scm (readlink*, dereference-symlinks): New
  procedures.
  (pure-file-name?): Use it instead of local loop.
2015-04-07 22:28:35 +02:00
Mark H Weaver 710b4928c8 gnu: kbd: Update to 2.0.2.
* gnu/packages/linux.scm (kbd): Update to 2.0.2.
2015-04-07 13:18:53 -04:00
Ricardo Wurmus 2c0499ad87 gnu: Add python-drmaa.
* gnu/packages/python.scm (python-drmaa, python2-drmaa): New variables.
2015-04-07 10:51:21 +02:00
Ricardo Wurmus c267cc1578 gnu: Add Solfege.
* gnu/packages/music.scm (solfege): New variable.
2015-04-07 08:34:09 +02:00
Ricardo Wurmus fda85ca67d gnu: Add Csound.
* gnu/packages/audio.scm (csound): New variable.
2015-04-07 08:34:01 +02:00
宋文武 3f7bf86a71 gnu: Add libiec61883.
* gnu/packages/linux.scm (libiec61883): New variable.
2015-04-07 13:25:23 +08:00
Mark H Weaver d70a4a5e87 gnu: apl: Update to 1.5.
* gnu/packages/apl.scm (apl): Update to 1.5.
2015-04-06 22:24:15 -04:00
Mark H Weaver ff03ef0b3a gnu: parallel: Update to 20150322.
* gnu/packages/parallel.scm (parallel): Update to 20150322.
2015-04-06 22:24:15 -04:00
宋文武 6e1bb64201 gnu: Add libsoup.
* gnu/packages/gnome.scm (libsoup): New variable.
2015-04-07 10:17:52 +08:00
Mark H Weaver bb146db14f gnu: dbus: Update to 1.8.16.
* gnu/packages/glib.scm (dbus): Update to 1.8.16.
2015-04-06 22:12:25 -04:00
Mark H Weaver 1e44ebcc83 gnu: gnutls: Update to 3.3.14.
* gnu/packages/gnutls.scm (gnutls): Update to 3.3.14.
2015-04-06 21:55:00 -04:00
Andy Wingo 31b254a324 gnu: gtk+: Update to 3.16.0.
* gnu/packages/gtk.scm (gtk+): Update to 3.16.0.  Add libepoxy to
  propagated-inputs.  Add gettext to native-inputs.  Add a 'pre-configure'
  phase instead of modifying the existing 'configure' phase.  Fix references
  to 'gtk-update-icon-cache' in Makefile.in files.

Co-Authored-By: Mark H Weaver <mhw@netris.org>
2015-04-06 18:11:05 -04:00
Andy Wingo 131ddf991f gnu: Add libepoxy.
* gnu/packages/gl.scm (libepoxy): New variable.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-04-06 18:11:05 -04:00
Andy Wingo d16c9fd80f gnu: Paper over a build circularity problem.
A forthcoming gtk+ update that will import (gnu packages gl) from
(gnu packages gtk) triggers an issue related to circular dependencies
between modules.  This patch works around the issue.

* gnu/packages/sdl.scm: Remove the #:prefix from the (gnu packages fontutils)
  import, and instead #:hide 'freetype' from the (guix licenses) import.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-04-06 17:48:00 -04:00
Ludovic Courtès 347f54ed33 utils: 'find-files' does not follow symlinks by default.
Fixes <http://bugs.gnu.org/20081>.
Reported by Tomáš Čech <sleep_walker@suse.cz>.

* guix/build/utils.scm (find-files): Add #:stat parameter.  Pass it as
  last argument to 'file-system-fold'.
2015-04-06 23:09:54 +02:00
Ludovic Courtès 3107bef832 nls: Add Danish translation.
* po/guix/da.po: New file.
* po/guix/LINGUAS: Add 'da'.
2015-04-06 22:06:12 +02:00
Ludovic Courtès 57b8623754 tests: Move 'guix package' tests that require networking to a separate file.
* tests/guix-package.sh (shebang_not_too_long): Remove.
  Move everything below "if [networking + shebang_not_too_long]" to...
* tests/guix-package-net.sh: ... here.  New file.
* Makefile.am (SH_TESTS): Add it.
2015-04-06 21:52:40 +02:00
Ludovic Courtès 250bc998ac guix package: Avoid 'exit' calls in 'delete-matching-generations'.
* guix/scripts/package.scm (delete-matching-generations): Remove call to
  'exit' when PATTERN is "0".  Call 'leave' instead of 'exit'
  when (null-list? number).
2015-04-06 21:27:35 +02:00
Ludovic Courtès d26eb84d14 guix package: Never remove the current generation and warn about it.
Fixes <http://bugs.gnu.org/19978>.
Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer).

* guix/scripts/package.scm (delete-matching-generations): Warn when
  CURRENT is in NUMBERS, and always remove it before calling
  'delete-generations'.
* tests/guix-package.sh: Add --switch-generation=2 invocation before
  --delete-generations=3 invocation.
  Add --delete-generations=1.. test case.
2015-04-06 21:27:32 +02:00
Ludovic Courtès 381ac93b5e tests: Deal with 'mount-points' not returning "/".
Fixes <http://bugs.gnu.org/20261>.
Reported by Mark H Weaver <mhw@netris.org>.

* tests/syscalls.scm ("mount-points"): Check for a few other likely
  mount points in addition to "/".
2015-04-06 21:27:16 +02:00
Ludovic Courtès d45d8904b0 gnu: lsof: Add mirrors.
Reported by Tomáš Čech.

* gnu/packages/lsof.scm (lsof)[source]: Add two mirrors.
2015-04-06 20:50:35 +02:00
Ludovic Courtès 65d428d8f4 guix package: Move generation deletion to its own procedure.
* guix/scripts/package.scm (delete-matching-generations): New procedure,
  with code formerly found...
  (guix-package)[process-actions]: ... here.  Use it.
  Remove 'current-generation-number'.
2015-04-06 20:02:29 +02:00
Eric Bavier d507b277eb gnu: Perl GD: Add real patch.
Replaces the stub patch added in 43754738e0.

* gnu/packages/patches/perl-gd-options-passthrough-and-fontconfig.patch:
  Update patch.

43754738e0
2015-04-06 10:20:23 -05:00
Mark H Weaver e081385af2 gnu: linux-libre-headers: Update to 3.14.37.
* gnu/packages/linux.scm (linux-libre-headers): Update to 3.14.37.
2015-04-06 10:25:03 -04:00
Mark H Weaver 07d4d9b751 gnu: icecat: Fix source URI.
* gnu/packages/gnuzilla.scm (icecat)[source]: Fix source URI computation.
2015-04-06 09:47:40 -04:00
Federico Beffa b198545df6 build-system/gnu: Add docstring to 'delete-info-dir-file'.
* guix/build/gnu-build-system.scm (delete-info-dir-file): Add docstring.
2015-04-06 10:47:31 +02:00
Federico Beffa 26b261ecfe build-system/gnu: Add 'delete-info-dir-file' phase.
* guix/build/gnu-build-system.scm (delete-info-dir-file): New procedure.
  (%standard-phases): Use it.
2015-04-06 10:22:21 +02:00
Mark H Weaver 7e84e1994a gnu: icecat: Update to 31.6.0-gnu1.
* gnu/packages/patches/icecat-CVE-2015-0801.patch,
  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,
  gnu/packages/patches/icecat-CVE-2015-0816.patch,
  gnu/packages/patches/icecat-CVE-2015-0817.patch,
  gnu/packages/patches/icecat-CVE-2015-0818-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-0818-pt2.patch,
  gnu/packages/patches/icecat-bug-1127780.patch,
  gnu/packages/patches/icecat-bug-1145870.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/gnuzilla.scm (icecat): Update to 31.6.0-gnu1.  Remove patches.
2015-04-06 02:14:27 -04:00
Mark H Weaver 2bb9b5de7d gnu: nss: Update to 3.18.
* gnu/packages/gnuzilla.scm (nss): Update to 3.18.  Compute source URI
  automatically based on version.
2015-04-05 23:04:03 -04:00
Mark H Weaver 5180717e64 Remove unused module import (gnu packages ed) from (gnu packages commencement).
* gnu/packages/commencement.scm: Remove (gnu packages ed) module import.
2015-04-05 23:03:42 -04:00
Mark H Weaver 8ba4dc6380 gnu: emacs: Add librsvg to inputs.
* gnu/packages/emacs.scm (emacs)[inputs]: Add librsvg.
  (emacs-no-x)[inputs]: Remove librsvg from inherited inputs.
2015-04-05 23:03:28 -04:00
Mark H Weaver 025523f1e4 gnu: linux-libre: Fix drm_wait_one_vblank warnings.
* gnu/packages/patches/linux-libre-vblank-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (linux-libre)[source]: Add patch.
2015-04-05 23:03:21 -04:00
宋文武 1b85e57f11 gnu: glib: Add search path specification for 'GIO_EXTRA_MODULES'.
* gnu/packages/glib.scm (glib): Add specification for 'GIO_EXTRA_MODULES'.
2015-04-05 21:17:03 -04:00
宋文武 f2ca414acb gnu: Add glib-networking.
* gnu/packages/gnome.scm (glib-networking): New variable.
2015-04-06 08:23:51 +08:00
Andy Wingo d8720c5045 gnu: cairo: Update to 1.14.2.
* gnu/packages/gtk.scm (cairo): Update to 1.14.2.
2015-04-05 18:22:23 -04:00
Andy Wingo 6e5c371306 gnu: glib: Update to 2.44.0.
* gnu/packages/glib.scm (glib): Update to 2.44.0.
2015-04-05 18:22:19 -04:00
Andy Wingo 4aaad09db1 gnu: gettext: Link explicitly to libexpat, again.
* gnu/packages/gettext.scm (gnu-gettext): Re-enable patch from
  0e4e4b1329 to explictly link to
  libexpat.  Otherwise libexpat was searched at runtime via dlopen,
  which obviously doesn't work in a Guix context.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-05 23:18:53 +02:00
Ludovic Courtès 29ec55ee27 gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.
* gnu/packages/linux.scm (util-linux)[arguments]: Pass
  --with-bashcompletiondir.
2015-04-05 23:18:19 +02:00
Ludovic Courtès e26d5076df linux-initrd: Add virtio drivers by default.
* gnu/system/linux-initrd.scm (base-initrd): Change #:virtio? default
  to #t.  This will facilitate the use of GuixSD in VM guests.
2015-04-05 23:15:20 +02:00
Ludovic Courtès bc45ceb5ff Add Andy to 'AUTHORS'. 2015-04-05 23:15:20 +02:00
Andy Wingo 0d275f4aa3 system: Take kernel modules from the user-specified kernel.
* gnu/system/linux-initrd.scm (base-initrd): Add #:linux option to
  specify the linux kernel to use.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Propagate
  #:linux to base-initrd.
* gnu/system.scm (operating-system-initrd-file): Pass #:linux to
  'make-initrd'.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-05 23:15:20 +02:00
David Thompson 59446b208c gnu: nginx: Clean up installation directories.
* gnu/packages/web.scm (nginx): Add 'fix-root-dirs' phase.
2015-04-05 16:13:29 -04:00
David Thompson a71c315bc2 gnu: nginx: Use modify-phases syntax.
* gnu/packages/web.scm (nginx): Use modify-phases syntax.
2015-04-05 13:06:24 -04:00
David Thompson e16fde1447 gnu: Add livestreamer.
* gnu/packages/video.scm (livestreamer): New variable.
2015-04-05 12:42:36 -04:00
David Thompson 0234ca06ce gnu: Add python-singledispatch.
* gnu/packages/python.scm (python-singledispatch, python2-singledispatch): New
  variables.
2015-04-05 12:42:36 -04:00
David Thompson ae64112828 gnu: python-requests: Fix Python 2 version and add support for Python 3.
* gnu/packages/python.scm (python-requests): New variable.
  (python2-requests): Generate based on Python 3 variant.
2015-04-05 12:38:48 -04:00
宋文武 121398e7d4 gnu: gnome-mines: Update to 3.16.0.
* gnu/packages/gnome.scm (gnome-mines): Update to 3.16.0.
2015-04-05 23:55:57 +08:00
宋文武 7211944a4f gnu: gsettings-desktop-schemas: Enable GObject introspection.
* gnu/packages/gnome.scm (gsettings-desktop-schemas)[native-inputs]:
  Add gobject-introspection.
2015-04-05 22:55:51 +08:00
宋文武 67bdcfbcc5 gnu: gsettings-desktop-schemas: Update to 3.16.0.
* gnu/packages/gnome.scm (gsettings-desktop-schemas): Update to 3.16.0.
2015-04-05 22:55:51 +08:00
Ludovic Courtès dacd5d2ca7 gremlin: Ignore non-store file names in RUNPATH and warn about them.
* guix/build/gremlin.scm (validate-needed-in-runpath)[runpath]:
  Add (filter absolute-file-name? ...).
  Emit a warning when RUNPATH file names that do not match
  'store-file-name?'.  Change format of error message to begin with file
  name.
* guix/build/utils.scm (store-file-name?): New procedure.
2015-04-05 15:40:48 +02:00
Ludovic Courtès 1d386b2d71 gnu: ghostscript: Add $libdir to the RUNPATH of executables.
Fixes <http://bugs.gnu.org/20050>.
Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer).

* gnu/packages/patches/ghostscript-runpath.patch: New file.
* gnu/packages/ghostscript.scm (ghostscript)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-05 15:23:11 +02:00
Ludovic Courtès c17b2adf54 gnu: ghostscript: Use 'modify-phases'.
* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Use
  'modify-phases' instead of a chain of 'alist-cons-after'.
2015-04-05 10:45:56 +02:00
Ludovic Courtès 85345684d6 gnu: ghostscript: Make sure phases don't fail.
* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Wrap 'system*'
  calls in (zero? ...).
2015-04-05 10:44:02 +02:00
宋文武 6b2c6be0c3 gnu: Add aalib.
* gnu/packages/video.scm (aalib): New variable.
2015-04-05 11:52:41 +08:00
宋文武 01b90919ef gnu: Add WavPack.
* gnu/packages/audio.scm (wavpack): New variable.
2015-04-05 10:37:59 +08:00
宋文武 9d44ab95a6 gnu: Add libshout.
* gnu/packages/xiph.scm (libshout): New varibale.
2015-04-05 10:37:59 +08:00
宋文武 68e3c29d20 gnu: Add libavc1394.
* gnu/packages/linux.scm (libavc1394): New variable.
2015-04-05 10:37:59 +08:00
宋文武 0a588bf956 gnu: Add libraw1394.
* gnu/packages/linux.scm (libraw1394): New variable.
2015-04-05 10:37:59 +08:00
David Thompson 6ef1c223aa gnu: Add icecast.
* gnu/packages/xiph.scm (icecast): New variable.
2015-04-04 20:26:33 -04:00
Ludovic Courtès 3e462da5c1 gnu: openssl: Set appropriate RUNPATH on shared libraries.
Fixes <http://bugs.gnu.org/20041>.
Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer).

* gnu/packages/patches/openssl-runpath.patch: New file.
* gnu/packages/openssl.scm (openssl)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-05 01:17:30 +02:00
David Thompson aff8ce7c74 scripts: Add 'publish' command.
* guix/scripts/publish.scm: New file.
* po/guix/POTFILES.in: Add it.
* tests/publish.scm: New file.
* Makefile.am (MODULES): Add script module.
  (SCM_TESTS): Add test module.
* doc/guix.texi ("Invoking guix publish"): New node.
2015-04-04 14:16:43 -04:00
David Thompson 533d1768f4 store: Add query-path-info operation.
* guix/store.scm (<path-info>): New record type.
  (read-path-info): New procedure.
  (read-arg): Add 'path-info' syntax.
  (query-path-info): New variable.
* tests/store.scm ("query-path-info"): New test.
2015-04-04 13:50:52 -04:00
David Thompson 4cd27cd60a gnu: node: Update to 0.12.2. 2015-04-04 13:48:17 -04:00
Andy Wingo 88f7066591 gnu: Add gnome-terminal.
* gnu/packages/gnome.scm (gnome-terminal): New variable.
2015-04-04 13:15:07 -04:00
Mark H Weaver 43754738e0 gnu: Perl GD: Add stub patch.
This is a temporary fix to enable hydra to complete evaluations, which were
broken by f7ee7a9b06 due to a missing patch
file.  The real patch will be put into place in a later commit.

* gnu/packages/patches/perl-gd-options-passthrough-and-fontconfig.patch:
  New file.  This is just a stub.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-04 11:15:30 -04:00
Mark H Weaver f905286b11 gnu: source-highlight: Remove obsolete patch.
This should have been done in a952b10c23.

* gnu/packages/patches/source-highlight-regexrange-test.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/pretty-print.scm (source-highlight)[source]: Remove patch.
2015-04-04 11:02:34 -04:00
Mark H Weaver 353fda815e gnu: ed: Update to 1.11.
* gnu/packages/ed.scm (ed): Update to 1.11.
2015-04-04 03:46:55 -04:00
Mark H Weaver a952b10c23 gnu: source-highlight: Update to 3.1.8.
* gnu/packages/pretty-print.scm (source-highlight): Update to 3.1.8.
2015-04-04 03:46:14 -04:00
Federico Beffa 14dfdf2e0e build-system: Add haskell-build-system.
* guix/build-system/haskell.scm: New file.
* guix/build/haskell-build-system.scm: New file.
* doc/guix.texi: Add section on 'haskell-build-system'.
2015-04-04 09:11:31 +02:00
Federico Beffa 5868a8bf9d gnu: ghc: Fix i686 build.
* gnu/packages/haskell.scm (ghc-bootstrap-7.8.4): Replace with ...
  (ghc-bootstrap-i686-7.8.4, ghc-bootstrap-x86_64-7.8.4): ... these.
  (ghc)[native-inputs]: Select the appropriate bootstrap.
2015-04-04 09:11:30 +02:00
Eric Bavier c985cfe624 gnu: Add Catalyst-View-JSON.
* gnu/packages/web.scm (perl-catalyst-view-json): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 419dd41152 gnu: Add Perl YAML.
* gnu/packages/perl.scm (perl-yaml): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 41778634e2 gnu: Add Test-YAML.
* gnu/packages/perl.scm (perl-test-yaml): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 0ca74e1d25 gnu: Add Test-Base.
* gnu/packages/perl.scm (perl-test-base): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 54268c43c9 gnu: Add Spiffy.
* gnu/packages/perl.scm (perl-spiffy): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 83261658fb gnu: Add Catalyst-View-Download.
* gnu/packages/web.scm (perl-catalyst-view-download): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 13b2552cdb gnu: Add Test-WWW-Mechanize-Catalyst.
* gnu/packages/web.scm (perl-test-www-mechanize-catalyst): New
  variable.
2015-04-04 00:46:04 -05:00
Eric Bavier bc834d7339 gnu: Add Text-CSV.
* gnu/packages/perl.scm (perl-text-csv): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier cbe8f0cdd6 gnu: Add Test-utf8.
* gnu/packages/perl.scm (perl-test-utf8): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier b902eb1ccd gnu: Add Catalyst-TraitFor-Request-ProxyBase.
* gnu/packages/web.scm (perl-catalyst-traitfor-request-proxybase): New
  variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 227687ae65 gnu: Add CatalystX-RoleApplicator.
* gnu/packages/web.scm (perl-catalystx-roleapplicator): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 107671a202 gnu: Add MooseX-RelatedClassRoles.
* gnu/packages/perl.scm (perl-moosex-relatedclassroles): New variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 996f41102f gnu: Add Catalyst-Plugin-StackTrace.
* gnu/packages/web.scm (perl-catalyst-plugin-stacktrace): New
  variable.
2015-04-04 00:46:04 -05:00
Eric Bavier 47533b6f69 gnu: Add Catalyst-Plugin-Session-Store-FastMmap.
* gnu/packages/web.scm (perl-catalyst-plugin-session-store-fastmmap): New
  variable.
2015-04-04 00:46:03 -05:00
Eric Bavier a1c9547f25 gnu: Add Cache-FastMmap.
* gnu/packages/perl.scm (perl-cache-fastmmap): New variable.
2015-04-04 00:46:03 -05:00
Eric Bavier be73447995 gnu: Add Catalyst-Plugin-Session-State-Cookie.
* gnu/packages/web.scm (perl-catalyst-plugin-session-state-cookie):
  New variable.
2015-04-04 00:46:03 -05:00
Eric Bavier 57c2680e5c gnu: Add Catalyst-Plugin-Captcha.
* gnu/packages/web.scm (perl-catalyst-plugin-captcha): New variable.
2015-04-04 00:46:03 -05:00
Eric Bavier d8ae0acc9a gnu: Add GD-SecurityImage.
* gnu/packages/gd.scm (perl-gd-securityimage): New variable.
2015-04-04 00:46:03 -05:00
Eric Bavier b56a918f77 gnu: Add PerlMagick.
* gnu/packages/imagemagick.scm (perl-image-magick): New variable.
2015-04-04 00:46:03 -05:00
Eric Bavier f7ee7a9b06 gnu: Add Perl GD.
* gnu/packages/gd.scm (perl-gd): New variable.
2015-04-04 00:46:03 -05:00
宋文武 4ec48644c3 gnu: gst-plugins-base: Enable GObjection introspection.
* gnu/packages/gstreamer.scm (gst-plugins-base): Add gobject-introspection
  to 'native-inputs'.
  [arguments]<#:phases>: Rename patch-test-pb-utils to patch.  Add
  (setenv "CC" "gcc") to patch phase.
2015-04-04 12:42:29 +08:00
宋文武 e9a8212959 gnu: gst-plugins-base: 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
宋文武 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
Mark H Weaver fbbcf6989b gnu: xterm: Update to 317.
* gnu/packages/xorg.scm (xterm): Update to 317.
2015-03-31 14:30:38 -04:00
Ricardo Wurmus c5372108f2 gnu: pbtranscript-tofu: Add missing inputs.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[inputs]: Add missing
  runtime inputs.
2015-03-31 20:04:41 +02:00
Ricardo Wurmus 49261e45d8 gnu: pbtranscript-tofu: Delete pre-built libraries.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[arguments]: Delete
  "build" directory and any shared objects after unpacking.
2015-03-31 20:04:32 +02:00
Ricardo Wurmus 32f77c0445 gnu: Add python-networkx.
* gnu/packages/python.scm (python-networkx, python2-networkx): New variables.
2015-03-31 20:00:21 +02:00
Ricardo Wurmus 3cff95cbee gnu: Add python-decorator.
* gnu/packages/python.scm (python-decorator, python2-decorator): New
  variables.
2015-03-31 20:00:00 +02:00
Ricardo Wurmus de07c0db4a gnu: Add vcftools.
* gnu/packages/bioinformatics.scm (vcftools): New variable.
2015-03-31 17:43:52 +02:00
Ricardo Wurmus 8e913213d9 gnu: Add cutadapt.
* gnu/packages/bioinformatics.scm (cutadapt): New variable.
2015-03-31 17:38:56 +02:00
Taylan Ulrich Bayırlı/Kammer 9af288a680 gnu: ngircd: Fix test suite.
* gnu/packages/messaging.scm (ngircd): Overwrite getpid.sh with a more
  reliable version.
2015-03-31 16:16:53 +02:00
Ludovic Courtès f73b8e3d0a install: Create /var/tmp.
Suggested by Mark H Weaver <mhw@netris.org>.

* gnu/build/install.scm (directives): Add /var/tmp.
2015-03-31 13:59:37 +02:00
Ludovic Courtès e9f1fa39a2 gnu: Add missing copyright line.
* gnu/packages/graphics.scm: Add copyright line for 87bafa0.
2015-03-30 15:37:35 +02:00
Ludovic Courtès 96af558907 elf: Add missing argument in 'elf-segment'.
* guix/elf.scm (elf-segment): Add missing argument N.
2015-03-30 15:21:11 +02:00
Mark H Weaver a06af9f528 gnu: tzdata: Update to 2015b.
* gnu/packages/base.scm (tzdata): Update to 2015b.
2015-03-30 06:01:03 -04:00
Mark H Weaver 8d30be32fa Revert "gnu: tzdata: Update to 2015b."
This reverts commit 41fd23334d.
2015-03-30 06:00:14 -04:00
Taylan Ulrich Bayırlı/Kammer 147479c918 gnu: Add audacity.
* gnu/packages/audacity.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/patches/audacity-fix-ffmpeg-binding.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-03-30 11:47:33 +02:00
Taylan Ulrich Bayırlı/Kammer b47be0214d gnu: portaudio: Patch for Audacity compatibility.
* gnu/packages/audio.scm (portaudio): Add a patch for Audacity compatibility.
* gnu/packages/patches/portaudio-audacity-compat.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-03-30 11:47:33 +02:00
Mark H Weaver 41fd23334d gnu: tzdata: Update to 2015b.
* gnu/packages/base.scm (tzdata): Update to 2015b.
2015-03-30 05:34:24 -04:00
Mark H Weaver e930c2a350 gnu: liba52: Pass --build to configure.
* gnu/packages/video.scm (liba52)[arguments]: Pass --build to configure.
2015-03-29 21:36:31 -04:00
Mark H Weaver 18ad5bff7a gnu: xbindkeys: Pass --build to configure.
* gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Pass --build to
  configure.
2015-03-29 21:35:24 -04:00
Ludovic Courtès 2242ff45fa gexp: Slightly simplify 'lower-inputs'.
* guix/gexp.scm (lower-inputs): Simplify first case by removing the
  'input' binding.
2015-03-29 22:23:33 +02:00
Ludovic Courtès d9ae938f2c gexp: Add 'local-file'.
* guix/gexp.scm (<local-file>): New record type.
  (local-file): New procedure.
  (local-file-compiler): New compiler.
  (gexp->sexp) <struct? thing>: Handle the case where 'lower' returns a
  file name.
  (text-file*): Update docstring.local-file doc
* tests/gexp.scm ("one local file", "gexp->derivation, local-file"): New
  tests.
* doc/guix.texi (G-Expressions): Mention local files early.  Document
  'local-file'.  Update 'text-file*' documentation.
2015-03-29 22:23:33 +02:00
Ludovic Courtès b39fc6f7bc doc: Update gexp wrt. extensibility.
This is a followup to bcb1328.

* doc/guix.texi (G-Expressions): Move paragraph about extensibility
  below.  Remove assumptions that things are either packages or
  derivations.
2015-03-29 22:23:33 +02:00
Eric Bavier 065b795497 gnu: Add tocc.
* gnu/packages/search.scm (libtocc, tocc): New variables.
2015-03-29 14:35:37 -05:00
Eric Bavier b4a9c92467 gnu: Add UnQLite.
* gnu/packages/databases.scm (unqlite): New variable.
2015-03-29 14:35:37 -05:00
Eric Bavier 3bfc99c74c gnu: Add Catch.
* gnu/packages/check.scm (catch-framework): New variable.
2015-03-29 14:28:11 -05:00
Jason Self 2babe98e4e gnu: linux-libre: Update to 3.18.10
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.10.
2015-03-28 19:26:02 -07:00
Taylan Ulrich Bayırlı/Kammer 1c1178cd17 gnu: Add mpv.
* gnu/packages/video.scm (mpv): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 6f6c8b6537 gnu: Add vapoursynth.
* gnu/packages/video.scm (vapoursynth): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer d814be32d5 gnu: Add tesseract-ocr.
* gnu/packages/ocr.scm (tesseract-ocr): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 9e617a5419 gnu: Rename (gnu packages ocrad) to (gnu packages ocr).
* gnu/packages/ocrad.scm: Deleted.
* gnu/packages/ocr.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Change ocrad.scm to ocr.scm.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 894e2cba52 gnu: Add leptonica.
* gnu/packages/image.scm (leptonica): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 060ad3def4 gnu: Add libwebp.
* gnu/packages/image.scm (libwebp): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 9b5db9be7f gnu: freeglut: Add mesa to propagated inputs.
* gnu/packages/gl.scm (freeglut): Add mesa to propagated inputs.
2015-03-27 19:39:30 +01:00
Taylan Ulrich Bayırlı/Kammer ee3b55ea6d gnu: Add libva.
* gnu/packages/video.scm (libva): New variable.
2015-03-27 19:39:30 +01:00
Taylan Ulrich Bayırlı/Kammer 122c87ead0 Fix remaining references to "substitute-binary".
* nix/nix-daemon/guix-daemon.cc (main): Change substitute-binary to
  substitute.
* po/guix/POTFILES.in: Likewise.
* tests/guix-daemon.sh: Likewise.
* tests/guix-system.sh: Likewise.
2015-03-26 23:54:59 +01:00
Ludovic Courtès 6170834d47 gnu: glibc: Fix cross-compilation regression.
Fixes a regression introduced in 12b0dbd.
See <http://lists.gnu.org/archive/html/guix-devel/2015-03/msg00698.html>.

* gnu/packages/base.scm (glibc)[arguments] <pre-configure>: Add
  #:native-inputs parameter.  Look up "static-bash" first in INPUTS,
  then in NATIVE-INPUTS.
2015-03-26 23:09:35 +01:00
Tomáš Čech 24066017a9 gnu: wpa-supplicant: Install DBUS access configuration.
* gnu/packages/admin.scm (wpa-supplicant): Install DBUS configuration file.
2015-03-26 18:05:37 +01:00
Ludovic Courtès e1ac691dfa gnu: global: Update to 6.4.
* gnu/packages/code.scm (global): Update to 6.4.
2015-03-26 16:40:54 +01:00
Ludovic Courtès 9355498dd7 gnu: tor: Update to 0.2.5.11.
* gnu/packages/tor.scm (tor): Update to 0.2.5.11.
2015-03-26 16:40:54 +01:00
Ludovic Courtès 0afc0afede gnu: nano: Update to 2.4.0.
* gnu/packages/nano.scm (nano): Update to 2.4.0.
2015-03-26 16:40:54 +01:00
Alex Kost 52b76622e4 services: guix-service: Add service documentation.
* gnu/services/base.scm (guix-service): Add 'documentation' field to the
  service.
2015-03-26 15:49:03 +03:00
Alex Kost aa4ed92314 services: Add 'lirc-service'.
* gnu/services/lirc.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Various Services): New node.  Document 'lirc-service'.
2015-03-26 15:47:40 +03:00
Alex Kost e768277168 gnu: Add LIRC.
* gnu/packages/lirc.scm: New file.
* gnu/packages/patches/lirc-localstatedir.patch: New file.
* gnu-system.am: Add them.
2015-03-26 15:47:39 +03:00
Ricardo Wurmus aad6f5bcda gnu: Add IBus.
* gnu/packages/ibus.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-26 09:07:44 +01:00
Ricardo Wurmus af5b817ea9 gnu: openblas: build for all supported CPUs.
* gnu/packages/maths.scm (openblas)[arguments]: Add "DYNAMIC_ARCH=1" to
  make flags.  Remove "#:substitutable? #f".
2015-03-26 07:54:55 +01:00
Mark H Weaver e4160d0585 gnu: openssh: Update to 6.8p1.
* gnu/packages/ssh.scm (openssh): Update to 6.8p1.  Make 'patch-tests'
  substitution more robust.
2015-03-25 23:10:46 -04:00
宋文武 a31a6d22d6 gnu: Add gnome-mines.
* gnu/packages/gnome.scm (gnome-mines): New variable.
2015-03-26 07:30:59 +08:00
Ludovic Courtès 12b0dbd472 gnu: cross-base: Make the libc static-bash bug more apparent.
The 'static-bash' input of cross libcs has always been compiled
natively.  This patch makes the issue more visible.

* gnu/packages/cross-base.scm (cross-libc): Add 'inputs' field, and
  add (package-inputs glibc) to 'native-inputs'.
2015-03-25 21:26:31 +01:00
Mark H Weaver 4c153a9125 gnu: icecat: Apply fixes for CVE-2015-{0817,0818} and other selected bugs.
* gnu/packages/patches/icecat-CVE-2015-0817.patch,
  gnu/packages/patches/icecat-CVE-2015-0818-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-0818-pt2.patch,
  gnu/packages/patches/icecat-bug-1127780.patch,
  gnu/packages/patches/icecat-bug-1144991.patch,
  gnu/packages/patches/icecat-bug-1145870.patch,
  gnu/packages/patches/icecat-bug-1146339.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat): Add patches.
2015-03-25 08:24:10 -04:00
Ludovic Courtès 25d5b708a6 Merge branch 'master' into core-updates 2015-03-25 10:52:52 +01:00
Ludovic Courtès 614c218842 substitute: Rename cache directory from "substitute-binary" to "substitute".
* guix/scripts/substitute.scm (%narinfo-cache-directory): Change
  "substitute-binary" to "substitute".
* tests/store.scm ("substitute query"): Likewise.
* tests/substitute.scm (call-with-narinfo): Likewise.
2015-03-25 10:46:22 +01:00
Ludovic Courtès 2c74fde00e Rename 'guix substitute-binary' to 'guix substitute'.
* guix/scripts/substitute-binary.scm: Rename to...
* guix/scripts/substitute.scm: ... this.  Adjust module name, entry
  point, comments, and help string accordingly.
* nix/scripts/substitute-binary.in: Rename to...
* nix/scripts/substitute.in: ... this.
* pre-inst-env.in (NIX_SUBSTITUTERS): Adjust accordingly.
* tests/substitute-binary.scm: Rename to...
* tests/substitute.scm: ... this.  Adjust references to (guix scripts
  substitute) accordingly.
* guix/ui.scm (show-guix-help)[internal?]: Change "substitute-binary" to
  "substitute".
* Makefile.am (MODULES, SCM_TESTS): Adjust to file renames.
* daemon.am (nodist_pkglibexec_SCRIPTS): Likewise.
* config-daemon.ac: Likewise.
* guix/tests.scm (call-with-derivation-narinfo): Adjust comments and
  docstring.
2015-03-25 10:46:22 +01:00
Ludovic Courtès c3a450fb49 derivations: 'substitution-oracle' now ignores sub-trees that are valid.
Before that, "guix build qt", when only qt itself is missing, would lead
'substitution-oracle' to call 'substitutable-paths' with 318 items.
Now, this is down to 6 items, because it doesn't ask about prerequisites
that are already valid.

* guix/derivations.scm (substitution-oracle)[valid-input?,
  dependencies]: New procedures.
  Use 'dependencies' and remove call to 'remove'.
2015-03-25 10:46:22 +01:00
Ludovic Courtès 3681db5d2c derivations: Add a 'cut?' parameter to 'derivation-prerequisites'.
* guix/derivations.scm (valid-derivation-input?): New procedure.
  (derivation-prerequisites): Add 'cut?' parameter and honor it.
* tests/derivations.scm ("derivation-prerequisites and
  derivation-input-is-valid?"): New test.
2015-03-25 10:46:22 +01:00
Mark H Weaver 1f43445745 gnu: python: Do not use patchelf.
* gnu/packages/python.scm (python-2): Add rpath for lib directory of output to
  LDFLAGS.  Remove 'patchelf' from inputs.  Remove #:modules and
  #:imported-modules from arguments.  Remove 'add-lib-to-runpath' phase.
  (python): Do not add #:modules to inherited package arguments.
2015-03-24 19:30:33 -04:00
Ludovic Courtès c7d1d88f6c derivations: Don't invoke the substituter when an item is already in store.
Fixes <http://bugs.gnu.org/20188>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/derivations.scm (substitution-oracle): Add 'valid?' procedure.
  Remove 'valid?' items from PATHS.
2015-03-24 23:22:23 +01:00
Eric Bavier 17287d7d47 packages: Add zip archive support to 'patch-and-repack'.
Fixes <http://bugs.gnu.org/19830>.

* guix/packages.scm (%standard-patch-inputs): Add "unzip".
  (patch-and-repack)[decompression-type]: Detect zip archive.
  [build]: Invoke "unzip" when appropriate.
2015-03-24 15:59:30 -05:00
Andreas Enge b655b2154c gnu: calibre: Add a patch to avoid automatic checking for updates.
* gnu/packages/patches/calibre-no-updates-dialog.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/ebook.scm (calibre): Use patch.
2015-03-24 20:35:37 +01:00
Ricardo Wurmus 2c16316ef4 gnu: Add pbtranscript-tofu.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu): New variable.
2015-03-24 16:59:47 +01:00
Ricardo Wurmus ad641d53de gnu: Add python2-bx-python.
* gnu/packages/bioinformatics.scm (python2-bx-python): New variable.
2015-03-24 15:00:09 +01:00
Ricardo Wurmus 19ee920144 gnu: Add python2-pbcore.
* gnu/packages/bioinformatics.scm (python2-pbcore): New variable.
2015-03-24 14:58:47 +01:00
Ludovic Courtès e2e21359c5 gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update.
2015-03-23 23:13:18 +01:00
Ludovic Courtès 9586011d08 gnu: geiser: Make description more concise and less personal.
* gnu/packages/emacs.scm (geiser)[description]: Tweak.
2015-03-23 22:28:49 +01:00
Ludovic Courtès 1f8ad12a9c gnu: geiser: Update to 0.7.
* gnu/packages/emacs.scm (geiser): Update to 0.7.
2015-03-23 22:28:49 +01:00
Ludovic Courtès cb043c2b13 substitute-binary: Remove thread-safe 'regexp-exec' wrapper.
* guix/scripts/substitute-binary.scm: Remove 'regexp-exec' setting.
2015-03-23 22:28:49 +01:00
Ludovic Courtès d3a652037e substitute-binary: Pipeline HTTP requests instead of using threads.
* guix/scripts/substitute-binary.scm (fetch-narinfo, %lookup-threads,
  n-par-map*): Remove.
  (narinfo-cache-file, cached-narinfo, cache-narinfo!, narinfo-request,
  http-multiple-get, read-to-eof, fetch-narinfos, lookup-narinfos,
  narinfo-from-file): New procedures.
  (lookup-narinfo): Rewrite in terms of 'lookup-narinfos'.
  (guix-substitute-binary): Use 'lookup-narinfos' instead of
  'lookup-narinfo'.
2015-03-23 22:28:49 +01:00
Ludovic Courtès 0561e9ae16 substitute-binary: Allow callers to specify the size of a narinfo.
* guix/scripts/substitute-binary.scm (read-narinfo): Add #:size
  parameter and honor it.
2015-03-23 22:28:49 +01:00
Mark H Weaver 87db65507e Remove unused patchelf inputs.
* gnu/packages/maths.scm (lapack, gmsh), gnu/packages/ssh.scm (libssh): Remove
  unused patchelf from native-inputs.
2015-03-23 13:30:06 -04:00
Ludovic Courtès 69383a4798 gnu: bigloo: Use Emacs with X11 support.
* gnu/packages/scheme.scm (bigloo)[inputs]: Change EMACS-NO-X to EMACS.
2015-03-23 15:18:06 +01:00
宋文武 07780c714e gnu: sdl: Explicitly use mesa as OpenGL driver.
* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add
  'LDFLAGS=-lGL'.
2015-03-23 22:06:57 +08:00
宋文武 83bb3a3ee4 gnu: sdl: Allow dlopen for OpenGL.
Fixes a regression introduced in 666aa99.
Reported by Felipe López and David Thompson.

* gnu/packages/sdl.scm (sdl)[inputs]: Add glu.
  [arguments]<#:configure-flags>: Replace '--disable-sdl-dlopen' with
  '--disable-alsa-shared --disable-pulseaudio-shared --disable-x11-shared'.
2015-03-23 22:06:57 +08:00
Ricardo Wurmus ef5cbf9bae gnu: Add python-h5py and python2-h5py.
* gnu/packages/python.scm (python-h5py, python2-h5py): New variables.
2015-03-23 10:56:13 +01:00
Ricardo Wurmus aa5fac334f gnu: Add Julia.
* gnu/packages/julia.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-23 10:38:07 +01:00
Ricardo Wurmus 61a529b421 gnu: Add double-conversion.
* gnu/packages/maths.scm (double-conversion): New variable.
2015-03-23 10:38:06 +01:00
Ricardo Wurmus 2742f87e17 gnu: Add SuiteSparse.
* gnu/packages/maths.scm (suitesparse): New variable.
2015-03-23 10:19:45 +01:00
Ricardo Wurmus 6b2bad40fc gnu: icedtea6: remove commented substitution.
* gnu/packages/java.scm (icedtea6): Remove commented substitution.
2015-03-23 10:17:36 +01:00
Ricardo Wurmus 18f3c3209d gnu: icedtea6: Do not set CC and LD_LIBRARY_PATH.
* gnu/packages/java.scm (icedtea6)[arguments]: Do not set CC and
  LD_LIBRARY_PATH variables.
2015-03-23 10:17:36 +01:00
Ricardo Wurmus 3893c80a88 gnu: icedtea6: Rename ‘set-paths’ phase to ‘set-additional-paths’
* gnu/packages/java.scm (icedtea6)[arguments]: Rename ‘set-paths’ phase to
  ‘set-additional-paths’.
2015-03-23 10:17:36 +01:00
Ricardo Wurmus 4d80586aa5 gnu: icedtea6: patch patches in separate build phase.
* gnu/packages/java.scm (icedtea6)[arguments]: Move patching of patches from
  ‘patch-paths’ to new ‘patch-patches’ phase.
2015-03-23 10:17:36 +01:00
Ricardo Wurmus 6f27f3775e gnu: icedtea6: patch hardcoded objcopy path.
* gnu/packages/java.scm (icedtea6)[arguments]: patch Makefile to override
  DEF_OBJCOPY variable definition.
2015-03-23 10:17:35 +01:00
Ricardo Wurmus f9e62ad221 gnu: icedtea6: patch ant shebang in unpack phase
* gnu/packages/java.scm (icedtea6)[arguments]: patch bootstrap ant in the
  `unpack' phase instead of `patch-paths'.
2015-03-23 10:17:35 +01:00
Ricardo Wurmus e73b49fbd6 gnu: Add openblas.
* gnu/packages/maths.scm (openblas): New variable.
2015-03-23 10:08:28 +01:00
Ricardo Wurmus cd15ad828a gnu: Add utf8proc.
* gnu/packages/textutils.scm (utf8proc): New variable.
2015-03-23 10:07:56 +01:00
Ludovic Courtès 4d58122071 store: Default to a non-empty list of substituters.
Fixes <http://bugs.gnu.org/20163>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/store.scm (%default-substitute-urls): New variable.
  (set-build-options): Change default value of #:substitute-urls to
  %DEFAULT-SUBSTITUTE-URLS.
2015-03-22 23:43:25 +01:00
Ludovic Courtès 1123759b45 gexp: Fix handling of nativeness in nested gexps.
* guix/gexp.scm (gexp-inputs): Remove 'references' parameter; add
  #:native? and honor it.
  [add-reference-inputs]: Distinguish between native gexp inputs, and
  non-native gexp inputs.  Honor 'native?' field of list inputs.
* tests/gexp.scm ("ungexp + ungexp-native, nested"): New test.
2015-03-22 23:18:33 +01:00
Ludovic Courtès 607e1b51f4 gexp: Ignore nested gexps in macro expansion.
Before that, the 'references' and 'natives' or the outer gexp in an
expression like #~#+#~#$coreutils would include those of the inner
gexp.

* guix/gexp.scm (gexp)[collect-escapes]: Ignore everything below
  'ungexp-native' or 'ungexp-native-splicing'.
  [collect-native-escapes]: Ignore everything below 'ungexp' or
  'ungexp-splicing'.
2015-03-22 23:18:31 +01:00
Ludovic Courtès accb682c50 gexp: Allow <gexp-input> objects in #:allowed-references.
* guix/gexp.scm (lower-references): Add <gexp-input> case.
* tests/gexp.scm ("gexp->derivation #:allowed-references, specific
  output"): New test.
2015-03-22 23:18:30 +01:00
Ludovic Courtès 2924f0d6ce gexp: Add identity compiler for derivations.
* guix/gexp.scm (derivation-compiler): New procedure.
  (lower-inputs): Remove 'derivation?' case.
  (gexp-inputs)[add-reference-inputs]: Likewise.
  (gexp->sexp)[reference->sexp]: Likewise.
2015-03-22 23:18:28 +01:00
Tomáš Čech a9a8f0637d Revert "gnu: Add sdcv."
This reverts commit 004eb31859.
2015-03-22 22:08:50 +01:00
Tomáš Čech d13586bfe4 gnu: Add the-silver-searcher.
* gnu/packages/code.scm (the-silver-searcher): New variable.
2015-03-22 22:04:31 +01:00
Taylan Ulrich Bayırlı/Kammer 38829eac4b gnu: Add mplayer2.
* gnu/packages/video.scm (mplayer2): New variable.
* gnu/packages/patches/mplayer2-theora-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-03-22 21:59:37 +01:00
Ricardo Wurmus 9d297fae5f gnu: gtk+-2: build gobject introspection typelib file.
* gnu/packages/gtk.scm (gtk+-2): add `gobject-introspection' to the
  native-inputs to install typelib file.
2015-03-21 20:24:31 -04:00
Ludovic Courtès a158484db4 packages: Make sure the patch inputs are not #f.
Fixes build issues whereby #:inputs would be #f.  See
<http://hydra.gnu.org/build/320333/nixlog/4/tail-reload>.

* guix/packages.scm (patch-and-repack): #:input defaults to #f.
  [lookup-input]: When INPUTS is #f, use (%standard-patch-inputs).
2015-03-21 22:07:16 +01:00
Ludovic Courtès ec3b1c575d gnu: Use 'glibc-utf8-locales-final' in the default patching inputs.
* gnu/packages/commencement.scm (glibc-utf8-locales-final): Make public.
* guix/packages.scm (%standard-patch-inputs): Use
  GLIBC-UTF8-LOCALES-FINAL instead of GLIBC-UTF8-LOCALES.
2015-03-21 21:58:04 +01:00
Mark H Weaver 3c76a81b94 gnu: openssl: Update to 1.0.2a.
* gnu/packages/openssl.scm (openssl): Update to 1.0.2a.
2015-03-21 16:32:17 -04:00
Andreas Enge e5ffe52cc7 gnu: calibre: Update to 2.22.0.
* gnu/packages/ebook.scm (calibre): Update to 2.22.0.
2015-03-21 20:33:22 +01:00
Ricardo Wurmus 0f49d7ba70 gnu: Add python2-pygobject.
* gnu/packages/glib.scm (python2-pygobject): New variable.
2015-03-20 22:51:33 +01:00
Ricardo Wurmus 594a362b04 gnu: python-pygobject: use home page of 3.x series.
* gnu/packages/glib.scm (python-pygobject)[home-page]: Use home page of the
  3.x series of the pygobject bindings instead of the home page for the 2.x
  bindings.
2015-03-20 22:51:25 +01:00
Ricardo Wurmus f6f499b37e gnu: lv2-mda-piano: change source URL.
* gnu/packages/audio.scm (lv2-mda-piano)[source]: Change URL of git
  repository to new upstream.
2015-03-20 22:48:42 +01:00
Ludovic Courtès 051edc95f1 guix package: '-s' sorts packages by name, then by version.
Before that it would sort them by name only, so the order in which two
packages with the same name but a different version would appear was
non-deterministic.

Reported by Tomáš Čech <sleep_walker@gnu.org>.

* guix/scripts/package.scm (find-packages-by-description)[version<?]:
  New variable.
  Change the 2nd argument to 'sort' to use 'string-compare' and resort
  to 'version<?' when P1 and P2 have the same name.
2015-03-20 22:07:28 +01:00
Ludovic Courtès 9eeb3d8c28 guix package: '-s' displays different packages that have the same location.
Before that, 'guix package -s foobarbaz' would display only one package
when several match but they have the same location (which is common when
using 'inherit'.)

The original rationale was given at
<http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00280.html> but
it was arguably misguided because it led to "real" packages being
hidden.

Reported by Tomáš Čech <sleep_walker@gnu.org>.

* guix/scripts/package.scm (find-packages-by-description)[same-location?]:
  Remove.
  Remove call to 'delete-duplicates'.
2015-03-20 22:07:28 +01:00
Andreas Enge ac85b51521 gnu: arb: Update to 2.3.0.
* gnu/packages/algebra.scm (arb): Update to 2.3.0.
2015-03-20 20:39:03 +01:00
Eric Bavier bdec322363 gnu: Add Catalyst-Devel.
* gnu/packages/web.scm (perl-catalyst-devel): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier fda45480ab gnu: Add Module-Install.
* gnu/packages/perl.scm (perl-module-install): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier ff31136eda gnu: Add YAML-Tiny.
* gnu/packages/perl.scm (perl-yaml-tiny): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 31831e565d gnu: perl-cpanel-json-xs: Move to (gnu packages perl).
* gnu/packages/web.scm (perl-cpanel-json-xs): Move this...
* gnu/packages/perl.scm: To here.
2015-03-20 14:22:37 -05:00
Eric Bavier 869ff43afd gnu: perl-json-maybexs: Move to (gnu packages perl).
* gnu/packages/web.scm (perl-json-maybexs): Move this...
* gnu/packages/perl.scm: To here.
2015-03-20 14:22:37 -05:00
Eric Bavier 09e02106f2 gnu: Add PAR-Dist.
* gnu/packages/perl.scm (perl-par-dist): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 2cae038d15 gnu: Add Module-ScanDeps.
* gnu/packages/perl.scm (perl-module-scandeps): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 686805ca2b gnu: Add Perl JSON.
* gnu/packages/perl.scm (perl-json): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 1699b2d969 gnu: Add JSON-XS.
* gnu/packages/perl.scm (perl-json-xs): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 2362b3e0d9 gnu: Add Types-Serialiser.
* gnu/packages/perl.scm (perl-types-serialiser): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 4a402425e4 gnu: Add File-Remove.
* gnu/packages/perl.scm (perl-file-remove): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier d4b5a5fcfc gnu: Add Template-Toolkit.
* gnu/packages/perl.scm (perl-template-toolkit): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier c601fa16d3 gnu: Add Test-LeakTrace.
* gnu/packages/perl.scm (perl-test-leaktrace): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier b3d9779cc8 gnu: Add AppConfig.
* gnu/packages/perl.scm (perl-appconfig): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier a3fe280687 gnu: Add File-Copy-Recursive.
* gnu/packages/perl.scm (perl-file-copy-recursive): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier a833ab564a gnu: Add File-ChangeNotify.
* gnu/packages/perl.scm (perl-file-changenotify): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 9f82ae8920 gnu: Add MooseX-Params-Validate.
* gnu/packages/perl.scm (perl-moosex-params-validate): New variable.
2015-03-20 14:22:36 -05:00
Eric Bavier b6fb9f2c27 gnu: Add MooseX-SemiAffordanceAccessor.
* gnu/packages/perl.scm (perl-moosex-semiaffordanceaccessor): New
  variable.
2015-03-20 14:22:36 -05:00
Eric Bavier 4cb5426ccf gnu: Add Catalyst-Plugin-Static-Simple.
* gnu/packages/web.scm (perl-catalyst-plugin-static-simple): New
  variable.
2015-03-20 14:22:36 -05:00
Eric Bavier 3044f7249c gnu: Add MIME-Types.
* gnu/packages/web.scm (perl-mime-types): New variable.
2015-03-20 14:22:36 -05:00
Eric Bavier 7c4eaa562d gnu: Add Catalyst-Plugin-ConfigLoader.
* gnu/packages/web.scm (perl-catalyst-plugin-configloader): New
  variable.
2015-03-20 14:22:36 -05:00
Eric Bavier cd39d814b1 gnu: Add Catalyst-Action-RenderView.
* gnu/packages/web.scm (perl-catalyst-action-renderview): New variable.
2015-03-20 14:22:36 -05:00
Eric Bavier c666dc3934 gnu: Add Data-Visitor.
* gnu/packages/perl.scm (perl-data-visitor): New variable.
2015-03-20 14:22:36 -05:00
Eric Bavier 2775b61b75 gnu: Add Tie-ToObject.
* gnu/packages/perl.scm (perl-tie-toobject): New variable.
2015-03-20 14:22:36 -05:00
Andreas Enge b42c8753d2 gnu: flint: Update to 2.4.5.
* gnu/packages/algebra.scm (flint): Update to 2.4.5.
2015-03-20 17:32:08 +01:00
Andreas Enge 480d19e6e0 gnu: arb: Propagate input flint.
* gnu/packages/algebra.scm (arb): Propagate input flint.
2015-03-20 16:49:30 +01:00
Andreas Enge df15d17d8d gnu: flint: Propagate inputs gmp and mpfr.
* gnu/packages/algebra.scm (flint): Propagate inputs gmp and mpfr.
2015-03-20 16:45:02 +01:00
Ludovic Courtès 2d1d2dd804 services: guix-service: Add 'lsof' and 'lsh' to guix-daemon's $PATH.
* gnu/services/base.scm (guix-service): Add #:lsof and #:lsh parameters.
  [start]: Pass #:environment-variables to 'make-forkexec-constructor'.
2015-03-19 23:15:50 +01:00
Ludovic Courtès 2d32d153a7 gnu: Use emacs-no-x when we just want to byte-compile code.
* gnu/packages/code.scm (cflow)[native-inputs]: Change EMACS to
  EMACS-NO-X.
* gnu/packages/databases.scm (recutils): Likewise.
* gnu/packages/emacs.scm (geiser, paredit, magit, emacs-w3m, emacs-wget,
  emms, bbdb): Likewise.
* gnu/packages/idutils.scm (idutils): Likewise.
* gnu/packages/mail.scm (mu): Likewise.
* gnu/packages/package-management.scm (guix-0.8.1): Likewise.
* gnu/packages/scheme.scm (bigloo): Likewise.
* gnu/packages/version-control.scm (vc-dwim): Likewise.
2015-03-19 23:15:50 +01:00
Ludovic Courtès 4fd540b7f0 gnu: Add emacs-no-x.
* gnu/packages/emacs.scm (emacs-no-x): New variable.
2015-03-19 23:15:50 +01:00
Ludovic Courtès fa275717d8 gnu: emacs: Change a couple of input labels.
* gnu/packages/emacs.scm (emacs)[inputs]: Change labels for LIBX11,
  LIBXFT, and LIBXPM, for consistency.
2015-03-19 23:15:50 +01:00
Ludovic Courtès ec0339cd42 doc: Add section about the test suite.
* doc/guix.texi (Running the Test Suite): New section.
2015-03-19 23:15:50 +01:00
Ludovic Courtès a5f6065910 gnu: emms: Fix incorrect substitution in emms-tag-editor.el.
* gnu/packages/emacs.scm (emms)[arguments] <configure>: Add missing
  quotes in mp3info substitution in emms-tag-editor.el.
2015-03-19 23:15:50 +01:00
Ludovic Courtès 0e991c25d6 build: Detect lack of guile.m4 at autoconf time.
* configure.ac: Add 'm4_pattern_forbid' invocation.
2015-03-19 23:15:50 +01:00
Eric Bavier f643a6e9d8 gnu: Add Catalyst-Model-DBIC-Schema.
* gnu/packages/web.scm (perl-catalyst-model-dbic-schema): New
  variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 4e4039e529 gnu: Add DBIx-Class-Cursor-Cached.
* gnu/packages/databases.scm (perl-dbix-class-cursor-cached): New
  variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 97c821e030 gnu: Add Cache-Cache.
* gnu/packages/perl.scm (perl-cache-cache): New variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 990e811c73 gnu: Add IPC-ShareLite.
* gnu/packages/perl.scm (perl-ipc-sharelite): New variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 2c157e8b21 gnu: Add Error.
* gnu/packages/perl.scm (perl-error): New variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 92503917f7 gnu: Add Tie-IxHash.
* gnu/packages/perl.scm (perl-tie-ixhash): New variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 040a52fd75 gnu: Add Catalyst-Component-InstancePerContext.
* gnu/packages/web.scm (perl-catalyst-component-instancepercontext):
  New variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 4306f28be5 gnu: Add MooseX-Types-LoadableClass.
* gnu/packages/perl.scm (perl-moosex-types-loadableclass): New
  variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 89a2aa366e gnu: Add CatalystX-Component-Traits.
* gnu/packages/web.scm (perl-catalystx-component-traits): New
  variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 66f1d8781b gnu: Add MooseX-Traits-Pluggable.
* gnu/packages/perl.scm (perl-moosex-traits-pluggable): New variable.
2015-03-19 16:43:31 -05:00
Eric Bavier 4b4fe57dc9 gnu: Add Catalyst-Plugin-Authentication.
* gnu/packages/web.scm (perl-catalyst-plugin-authentication): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier 3d4644e434 gnu: Add Catalyst-Plugin-Session.
* gnu/packages/web.scm (perl-catalyst-plugin-session): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier 152ce152b5 gnu: Add Object-Signature.
* gnu/packages/perl.scm (perl-object-signature): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier 715a0c51bf gnu: Add Test-WWW-Mechanize-PSGI.
* gnu/packages/web.scm (perl-test-www-mechanize-psgi): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier 0d991d2ced gnu: Add Test-WWW-Mechanize.
* gnu/packages/web.scm (perl-test-www-mechanize): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier 0b1ed7258e gnu: Add WWW-Mechanize.
* gnu/packages/web.scm (perl-www-mechanize): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier c94c7eef11 gnu: Add HTTP-Server-Simple.
* gnu/packages/web.scm (perl-http-server-simple): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier ddc36cd880 gnu: Add HTML-Tree.
* gnu/packages/web.scm (perl-html-tree): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier 0cd2ab3013 gnu: Add HTML-Lint.
* gnu/packages/web.scm (perl-html-lint): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier bab57fcda6 gnu: Add HTML-Form.
* gnu/packages/web.scm (perl-html-form): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier 622d9adbd5 gnu: Add Carp-Assert-More.
* gnu/packages/perl.scm (perl-carp-assert-more): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier 207d9126aa gnu: Add Carp-Assert.
* gnu/packages/perl.scm (perl-carp-assert): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier ff80a4a7fc gnu: Add Test-LongString.
* gnu/packages/perl.scm (perl-test-longstring): New variable.
2015-03-19 16:43:30 -05:00
Eric Bavier aaef00bf9d gnu: Add Catalyst-Action-REST.
* gnu/packages/web.scm (perl-catalyst-action-rest): New variable.
2015-03-19 16:43:29 -05:00
Eric Bavier 5bb82fd0b4 gnu: Add URI-Find.
* gnu/packages/web.scm (perl-uri-find): New variable.
2015-03-19 16:43:29 -05:00
Tomáš Čech 9a5c4cd8b0 gnu: agg: Add explanatory comment to the patch.
* gnu/packages/patches/agg-am_c_prototype.patch: Add comment.
2015-03-19 22:29:35 +01:00
Taylan Ulrich Bayırlı/Kammer 0ff5e9e257 gnu: libxrandr: Propagate more inputs.
* gnu/packages/xorg.scm (libxrandr): Propagate libxrender, xproto, libx11.
2015-03-19 22:25:14 +01:00
Taylan Ulrich Bayırlı/Kammer 3e2570d837 gnu: mesa: Enable more optional features.
* gnu/packages/gl.scm (mesa): Enable DRM support of EGL, thread local storage
  in GLX, and off-screen rendering.
2015-03-19 17:20:59 +01:00
Taylan Ulrich Bayırlı/Kammer e682c327b1 gnu: mesa: Fix file names passed to dlopen(3).
* gnu/packages/gl.scm (mesa): Patch source files to make file names passed to
  dlopen(3) absolute.
2015-03-19 17:20:59 +01:00
Ricardo Wurmus a78f535d9a gnu: Add perl-svg.
* gnu/packages/perl.scm (perl-svg): New variable.
2015-03-19 14:51:34 +01:00
Tomáš Čech 285d8f0dca gnu: Add colordiff.
* gnu/packages/patchutils.scm (colordiff): New variable.
2015-03-19 14:50:07 +01:00
Ludovic Courtès 2a31e1dade ftp-client: Switch to binary mode before using the "SIZE" command.
* guix/ftp-client.scm (ftp-size): Add '%ftp-command' call.
2015-03-19 13:00:21 +01:00
Ludovic Courtès 661c99a434 lint: Report details about FTP errors.
* guix/scripts/lint.scm (probe-uri) <'ftp>: Pass more information about
  failures alongside 'ftp-response.
  (validate-uri) <ftp-response>: Handle it, and adjust "not reachable"
  message accordingly.
2015-03-19 13:00:21 +01:00
Ludovic Courtès 284fe31394 lint: Change misleading variable name.
* guix/scripts/lint.scm (probe-uri) <'ftp>: Rename 'port' to 'conn'.
2015-03-19 13:00:20 +01:00
Taylan Ulrich Bayırlı/Kammer c90a50eb68 gnu: Add mesa-utils.
* gnu/packages/gl.scm (mesa-utils): New variable.
(mesa-demos-source): New procedure.
2015-03-19 10:00:15 +01:00
Taylan Ulrich Bayırlı/Kammer 45191970b3 gnu: mesa: Propagate inputs libxshmfence and libxfixes.
* gnu/packages/gl.scm (mesa): Propagate inputs libxshmfence and libxfixes.
2015-03-19 10:00:15 +01:00
Taylan Ulrich Bayırlı/Kammer 3e71b9ffd6 gnu: mesa: Add input s2tc.
* gnu/packages/gl.scm (mesa): Add input s2tc, patch sources to make the
  reference to libtxc_dxtn.so absolute since it's passed to dlopen(3).
2015-03-19 10:00:15 +01:00
Taylan Ulrich Bayırlı/Kammer b021a2adeb gnu: Add s2tc.
* gnu/packages/gl.scm (s2tc): New variable.
(mesa-headers): New variable.
2015-03-19 10:00:15 +01:00
Taylan Ulrich Bayırlı/Kammer 0704788109 gnu: msmtp: Use mirror:// URI.
* gnu/packages/mail.scm (msmtp): Use a mirror:// URI for the source.
2015-03-19 09:59:51 +01:00
Taylan Ulrich Bayırlı/Kammer 6ea4b094e6 gnu: claws-mail: Use mirror:// URI.
* gnu/packages/mail.scm (claws-mail): Use a mirror:// URI for the source.
2015-03-19 09:59:51 +01:00
Taylan Ulrich Bayırlı/Kammer 0e259d7e50 gnu: procps: Explain why a mirror:// URI isn't used.
* gnu/packages/linux.scm (procps): Add a comment explaining why we don't use a
  mirror:// URI.
2015-03-19 09:59:51 +01:00
Taylan Ulrich Bayırlı/Kammer 104785238c gnu: lcms: Use mirror:// URI.
* gnu/packages/ghostscript.scm (lcms): Use a mirror:// URI for the source.
2015-03-19 09:59:51 +01:00
Taylan Ulrich Bayırlı/Kammer 6de9dc253d gnu: wxwidgets-2: Use mirror:// URI.
* gnu/packages/wxwidgets.scm (wxwidgets-2): Use a mirror:// URI for the
  source.
2015-03-19 09:59:51 +01:00
Taylan Ulrich Bayırlı/Kammer 8c056935e8 gnu: liba52: Fix source URI.
* gnu/packages/video.scm (liba52): Fix the source URI; SourceForge mirror URIs
  don't work for this project presumably because it's misconfigured.
2015-03-19 09:59:51 +01:00
Ludovic Courtès f222664058 substitute-binary: Fix recently-introduced regression.
* guix/scripts/substitute-binary.scm (%cache-url): Fix regression
  introduced in 41c45e7.
2015-03-18 22:55:54 +01:00
Ludovic Courtès cf87cc894d packages: Rewrite 'patch-and-repack' using gexps.
* guix/packages.scm (patch-and-repack): Remove 'store' parameter and
  change default value of #:inputs to (%standard-patch-inputs).
  [lookup-input, instantiate-patch]: New procedures.
  [patch-inputs]: Remove.
  [builder]: Rename to...
  [build]: ... this.  Use gexps instead of sexps.
  (patch-and-repack*): Remove.
  (origin->derivation): Use 'patch-and-repack' instead of
  'patch-and-repack*'.
* tests/packages.scm ("package-source-derivation,
  snippet")[source](snippet): Remove references to '%build-inputs' and
  '%outputs'.
2015-03-18 19:07:36 +01:00
Ludovic Courtès 381c540b93 Merge branch 'master' into core-updates 2015-03-18 18:11:02 +01:00
Ludovic Courtès f401b1e993 store: Remove debugging leftover.
* guix/store.scm (set-build-options): Remove leftover 'pk' call from
  41c45e7.
2015-03-18 18:10:16 +01:00
Ludovic Courtès 41c45e7863 store: Add preliminary support for client-supplied substitute URLs.
* guix/store.scm (set-build-options): Rename #:binary-caches to
  #:substitute-urls.  Actually pass it in 'pairs' under the
  "substitute-urls" key.
* guix/scripts/substitute-binary.scm (%cache-url): Add comment for
  "untrusted-substitute-urls".
2015-03-18 14:43:03 +01:00
Ludovic Courtès fc1ee09578 pk-crypto: Improve documentation of 'key-type'.
* guix/pk-crypto.scm (key-type): Improve docstring.
2015-03-18 14:43:03 +01:00
Tomáš Čech 87bafa07ae gnu: Add agg.
* gnu/packages/graphics.scm (agg): New variable.
* gnu/packages/patches/agg-am_c_prototype.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-03-18 11:53:05 +01:00
Alexander I.Grafov (Axel) ca0d2a637b gnu: Add xcape.
* gnu/packages/xdisorg.scm (xcape): New variable.
2015-03-17 20:31:19 -04:00
David Thompson 7578f6e32a build: ruby: Set $GEM_HOME that matches Ruby's $GEM_PATH.
* guix/build/ruby-build-system.scm (install): Ignore the Ruby patch version
  when creating $GEM_HOME.
2015-03-17 19:23:17 -04:00
Ludovic Courtès 5250a4f215 services: guix-service: Remove extraneous monadism.
* gnu/services/base.scm (guix-build-accounts): Remove unneeded
  'with-monad'.
  (guix-service): Adjust accordingly.
2015-03-17 22:25:55 +01:00
Ludovic Courtès ff40e9b7e5 gexp: Move the package and origin compilers to (guix packages).
From now own, (guix packages) depends on (guix gexps); it was the other
way around now.  This means that (guix packages) code can use gexps.

* guix/gexp.scm (origin-compiler, package-compiler): Remove.
  (default-guile-derivation): New procedure.
  (gexp->derivation): Use it instead of 'default-guile' +
  'package->derivation'.
* guix/packages.scm (default-guile-derivation): New procedure.
  (package-compiler, origin-compiler): New variables.
* doc/guix.texi (G-Expressions): Mention extensibility.
2015-03-17 22:25:55 +01:00
Ludovic Courtès 9d8100f4c7 packages: Move grafting parameter to (guix derivations).
* guix/packages.scm (%graft?, set-grafting): Move to...
* guix/derivations.scm: ... here.
2015-03-17 22:25:55 +01:00
Ludovic Courtès bcb1328763 gexp: Separate "compilers" for origins and packages from the core.
* guix/gexp.scm (<gexp-compiler>): New record type.
  (%gexp-compilers): New variable.
  (register-compiler!, lookup-compiler): New procedures.
  (define-gexp-compiler): New macro.
  (origin-compiler, package-compiler): New compilers.
  (lower-inputs): Remove clauses for 'origin?' and 'package?'.  Add
  clause with 'lookup-compiler' instead.
  (lower-references): Likewise.
  (gexp-inputs)[add-reference-inputs]: Likewise.
  (gexp->sexp)[reference->sexp]: Likewise.
2015-03-17 22:25:54 +01:00
Ludovic Courtès a482cfdcae gexp: Remove special meaning of forms (PACKAGE OUTPUT) in ungexp.
* guix/gexp.scm (gexp-inputs)[add-reference-inputs]: Remove clause for
  inputs of the form (PACKAGE OUTPUT).
  (gexp->sexp)[reference->sexp]: Likewise.
* tests/gexp.scm ("input list splicing"): Change 'list' to 'gexp-input'
  for glibc:debug.
  ("text-file*"): Likewise for %bootstrap-guile:out.
  ("input list splicing + gexp-input + ungexp-native-splicing"): Remove,
  now redundant.
2015-03-17 22:25:54 +01:00
Ludovic Courtès b4a4bec01a profiles: Use 'gexp-input' instead of two-element lists.
* guix/profiles.scm (package->manifest-entry): Use 'gexp-input' instead
  of two-element lists to denote specific package outputs.
  (manifest-inputs): Likewise.
  (profile-derivation)[info-dir]: Likewise.
2015-03-17 22:25:54 +01:00
Ludovic Courtès 0dbea56bbf gexp: Export 'gexp-input' constructor.
* guix/gexp.scm (<gexp-input>)[gexp-input]: Rename to...
  [%gexp-input]: ... this.  Adjust callers accordingly.
  (gexp-input): New procedure.
  (gexp-inputs)[add-reference-inputs]: When the input is a list, check
  whether each item is already 'gexp-input?' and to not rewrap those.
  (gexp-outputs)[add-reference-output]: Likewise.
  (gexp->sexp): Likewise.
* tests/gexp.scm ("input list splicing + gexp-input +
  ungexp-native-splicing"): New test.
2015-03-17 22:25:54 +01:00
Ludovic Courtès e39d146107 gexp: Add <gexp-input>.
* guix/gexp.scm (<gexp-input>): New record type.
  (gexp-inputs)[add-reference-inputs]: Adjust clauses to expect
  <gexp-input> objects.
  (gexp-outputs)[add-reference-output]: Likewise.
  (gexp->sexp)[reference->sexp]: Likewise.
  (canonicalize-reference): Remove.
  (gexp)[escape->ref]: Use 'gexp-input' for all the references.
  Remove use of 'canonicalize-reference'.
2015-03-17 22:25:54 +01:00
Ludovic Courtès 1e87da58a1 gexp: Rename <output-ref> to <gexp-output>.
* guix/gexp.scm (<output-ref>): Rename to...
  (<gexp-output>): ... this.  Adjust constructor/accessor names and
  users accordingly.
2015-03-17 22:25:54 +01:00
Ludovic Courtès 1f9760339e tests: Add an indirection for white-box testing.
* tests/gexp.scm (gexp-inputs, gexp-native-inputs, gexp-outputs,
  gexp->sexp): Make an indirection, to facilitate live testing with
  Geiser.
2015-03-17 22:25:54 +01:00
Eric Bavier 708155dfcb gnu: Add DBIx-Class-Schema-Loader.
* gnu/packages/databases.scm (perl-dbix-class-schema-loader): New variable.
2015-03-17 13:03:51 -05:00
Eric Bavier f3bbbb7361 gnu: Add String-ToIdentifier-EN.
* gnu/packages/language.scm (perl-string-toidentifier-en): New variable.
2015-03-17 13:03:51 -05:00
Eric Bavier ad0a50e3ad gnu: Add Text-Unidecode.
* gnu/packages/perl.scm (perl-text-unidecode): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 06f5001a5a gnu: Add String-CamelCase.
* gnu/packages/perl.scm (perl-string-camelcase): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier cfed969c73 gnu: Add Lingua-EN-Inflect-Phrase.
* gnu/packages/language.scm (perl-lingua-en-inflect-phrase): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier d7de088395 gnu: Add Lingua-EN-Tagger.
* gnu/packages/language.scm (perl-lingua-en-tagger): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 9766e4fef1 gnu: Add Lingua-Stem.
* gnu/packages/language.scm (perl-lingua-stem): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 2b83abae53 gnu: Add Text-German.
* gnu/packages/language.scm (perl-text-german): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 1f4b1129dc gnu: Add Snowball-Swedish.
* gnu/packages/language.scm (perl-snowball-swedish): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 1064abdc42 gnu: Add Snowball-Norwegian.
* gnu/packages/language.scm (perl-snowball-norwegian): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 30c400446c gnu: Add Lingua-Stem-Snowball-Da.
* gnu/packages/language.scm (perl-lingua-stem-snowball-da): New
  variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 95d2eec1a8 gnu: Add Lingua-Stem-Ru.
* gnu/packages/language.scm (perl-lingua-stem-ru): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 6afe59593b gnu: Add Lingua-Stem-It.
* gnu/packages/language.scm (perl-lingua-stem-it): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier df11e05241 gnu: Add Lingua-Stem-Fr.
* gnu/packages/language.scm (perl-lingua-stem-fr): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 9b446711e7 gnu: Add Lingua-PT-Stemmer.
* gnu/packages/language.scm (perl-lingua-pt-stemmer): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier f8f744a8d1 gnu: Add Memoize-ExpireLRU.
* gnu/packages/perl.scm (perl-memoize-expirelru): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 930768b3e4 gnu: Add Lingua-EN-Number-IsOrdinal.
* gnu/packages/language.scm (perl-lingua-en-number-isordinal): New
  variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 4812a813a2 gnu: Add Lingua-EN-Inflect-Number.
* gnu/packages/language.scm (perl-lingua-en-inflect-number): New
  variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 57ff0e04f1 gnu: Add Lingua-EN-Inflect.
* gnu/packages/language.scm (perl-lingua-en-inflect): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 0c32bf0117 gnu: Add Lingua-EN-FindNumber.
* gnu/packages/language.scm (perl-lingua-en-findnumber): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier fc436dbaea gnu: Add Lingua-EN-Words2Nums.
* gnu/packages/language.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-17 13:03:49 -05:00
Eric Bavier 8ac8f1e0c9 gnu: Add Class-Unload.
* gnu/packages/perl.scm (perl-class-unload): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier 88884196f5 gnu: Add Test-Pod.
* gnu/packages/perl.scm (perl-test-pod): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier 26d427a5c1 gnu: Add MooseX-NonMoose.
* gnu/packages/perl.scm (perl-moosex-nonmoose): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier c7a47f5e32 gnu: Add MooseX-MarkAsMethods.
* gnu/packages/perl.scm (perl-moosex-markasmethods): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier e61fd0f048 gnu: Add DBIx-Class-IntrospectableM2M.
* gnu/packages/databases.scm (perl-dbix-class-introspectablem2m): New
  variable.
2015-03-17 13:03:13 -05:00
Eric Bavier 1846b423e2 gnu: Add Config-General.
* gnu/packages/perl.scm (perl-config-general): New variable.
2015-03-17 13:03:13 -05:00
Ludovic Courtès a29bfc28f0 gnu: Add BRDF Explorer.
* gnu/packages/graphics.scm (brdf-explorer): New variable.
2015-03-17 18:15:51 +01:00
Ludovic Courtès fdbb9ded00 licenses: Add the Ms-PL.
* guix/licenses.scm (ms-pl): New variable.
2015-03-17 18:15:51 +01:00
Tomáš Čech a0db8b4dcc gnu: agg: reverting commit d2c89faa88
commit was still missing gnu-system.am sections and added patches
2015-03-17 16:32:03 +01:00
Tomáš Čech 004eb31859 gnu: Add sdcv.
* gnu/packages/dictionaries.scm (sdcv): New variable.
2015-03-17 16:26:57 +01:00
Tomáš Čech d2c89faa88 gnu: Add agg.
* gnu/packages/graphics.scm (agg): New variable.
2015-03-17 16:26:57 +01:00
Ludovic Courtès b832c6e992 gnu: Add key-mon.
* gnu/packages/key-mon.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-17 13:49:18 +01:00
Ludovic Courtès 619936a4c8 gnu: Add python2-rsvg.
* gnu/packages/gnome.scm (python2-rsvg): New variable.
2015-03-17 13:49:18 +01:00
Ludovic Courtès db62afa55a gnu: Add python2-xlib.
* gnu/packages/python.scm (python2-xlib): New variable.
2015-03-17 13:49:18 +01:00
Ricardo Wurmus f767bccabf gnu: Add CUnit.
* gnu/packages/check.scm (cunit): New variable.
2015-03-17 12:30:50 +01:00
Ricardo Wurmus ddd82e0e76 gnu: Add MISO.
* gnu/packages/bioinformatics.scm (miso): New variable.
2015-03-17 12:29:58 +01:00
Ricardo Wurmus 9a8336d87b gnu: Add bwa.
* gnu/packages/bioinformatics.scm (bwa): New variable.
2015-03-17 12:29:51 +01:00
David Thompson 5762f3062c scripts: environment: Improve error messages.
* guix/scripts/environment.scm (guix-environment): Wrap procedure body with
  error handling form.
2015-03-16 19:42:54 -04:00
Ludovic Courtès 2f094a69f0 system: Skeleton '.bashrc' now exports the 'SHELL' variable.
* gnu/system/shadow.scm (default-skeletons)[bashrc]: Export 'SHELL'.
2015-03-16 23:30:59 +01:00
Andreas Enge 0aa34e820c gnu: texlive: Make the package structure more modular.
* gnu/packages/texlive.scm (texlive-bin, texlive-texmf): New variables.
  The first one contains the binaries; the second one the texmf tree.
  (texlive): Drop output "data". Create the output "out" as the union
  of the suitable subdirectories of texlive-bin and texlive-texmf, and
  wrap the binaries, setting TEXMFCNF to the value corresponding to
  texlive-texmf.
2015-03-16 13:04:11 +01:00
Ludovic Courtès 576d38c846 gnu: pavucontrol: Work around segmentation fault.
* gnu/packages/patches/pavucontrol-sigsegv.patch: New file.
* gnu/packages/pulseaudio.scm (pavucontrol)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-03-15 23:38:45 +01:00
Ricardo Wurmus 1b6826d34a gnu: Add Lilypond.
* gnu/packages/music.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-15 17:04:04 +01:00
Ludovic Courtès 5a74d239bf pulseaudio: Update to 6.0; add dependency on eudev.
* gnu/packages/pulseaudio.scm (pulseaudio)[source]: Update to 6.0.
  [arguments]: Pass --with-udev-rules-dir.
  [inputs]: Add eudev.
2015-03-15 12:12:42 +01:00
Tomáš Čech 060e365a73 gnu: openconnect: Update to 7.05.
* gnu/packages/vpn.scm (openconnect): Update to 7.05, replace openssl with
  gnutls.
2015-03-14 23:00:07 +01:00
Tomáš Čech 2459141e4c gnu: Add tig.
* gnu/packages/version-control.scm (tig): New variable.
2015-03-14 22:56:58 +01:00
Tomáš Čech 1e74439973 gnu: bind-utils: Add new variable.
* gnu/packages/dns.scm (bind-utils): New variable.
2015-03-14 22:01:48 +01:00
Tomáš Čech 36fb36b551 gnu: Rename module dnsmasq to dns.
* gnu/packages/dnsmasq.scm: Rename to...
* gnu/packages/dns.scm: ... this.  Change module name accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Rename dnsmasq module to dns.
2015-03-14 21:59:24 +01:00
Eric Bavier 949f9aa100 gnu: c-reduce: Use llvm and clang 3.5.
* gnu/packages/debug.scm (c-reduce)[intputs]: Use llvm and clang 3.5.
2015-03-14 15:48:23 -05:00
Ludovic Courtès 166191b377 gnu: Update packages to use 'non-copyleft' instead of 'bsd-style'.
* gnu/packages/avr.scm, gnu/packages/compression.scm,
  gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm,
  gnu/packages/databases.scm, gnu/packages/firmware.scm,
  gnu/packages/flex.scm, gnu/packages/fontutils.scm,
  gnu/packages/gd.scm, gnu/packages/ghostscript.scm,
  gnu/packages/gnunet.scm, gnu/packages/graphics.scm,
  gnu/packages/hugs.scm, gnu/packages/image.scm,
  gnu/packages/linux.scm, gnu/packages/mail.scm,
  gnu/packages/maths.scm, gnu/packages/mit-krb5.scm,
  gnu/packages/python.scm, gnu/packages/rdf.scm,
  gnu/packages/ssh.scm, gnu/packages/tcl.scm,
  gnu/packages/xdisorg.scm, gnu/packages/xiph.scm,
  gnu/packages/yasm.scm, gnu/packages/zip.scm: Use 'non-copyleft'
  instead of 'bsd-style'.
2015-03-14 19:27:14 +01:00
Ludovic Courtès b3345dc41a licenses: Rename 'bsd-style' to 'non-copyleft'.
* guix/licenses.scm (bsd-style): Rename to...
  (non-copyleft): ... this.  Clarify docstring.
  (bsd-style): Introduce as an alias for 'non-copyleft'.
2015-03-14 19:27:13 +01:00
Andreas Enge c463dd4763 gnu: minetest: Swap input libjpeg-8 for current libjpeg-9.
* gnu/packages/games.scm (minetest): Swap input libjpeg-8 for current
  libjpeg-9.
2015-03-14 18:43:47 +01:00
Andreas Enge cd18ab1ff7 gnu: minetest: Update to 0.4.12.
* gnu/packages/games.scm (minetest, minetest-data): Update to 0.4.12.
2015-03-14 18:32:29 +01:00
Andreas Enge 109033563f gnu: minetest: Fix build with modified cmake build system.
* gnu/packages/games.scm (minetest)[arguments]: Instead of setting CPATH,
  which is no more used by the cmake build system since commit 0d6f936, set
  the include directories for irrlicht and curl directly via configure flags.
2015-03-14 18:22:25 +01:00
Andreas Enge c12efc72cf gnu: Add glm.
* gnu/packages/maths.scm (glm): New variable.

Co-authored-by: John Darrington <john@darrington.wattle.id.au>
2015-03-14 17:39:58 +01:00
Andreas Enge 1842a7cbc7 gnu: boost: Update to 1.57.0.
* gnu/packages/boost.scm (boost): Update to 1.57.0.
2015-03-14 17:14:25 +01:00
Andreas Enge 0d6f936036 gnu: cmake: Add CMAKE_PREFIX_PATH as a native search path, and drop
CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH from the cmake build system.

* gnu/packages/cmake.scm (cmake)[native-search-paths]: New field.
* guix/build/cmake-build-system.scm (configure): Drop environment variables
  CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH.
2015-03-14 16:06:55 +01:00
Andreas Enge 6abdad698b gnu: ffmpeg: Update to 2.6.
* gnu/packages/video.scm (ffmpeg): Update to 2.6.
2015-03-14 11:04:25 +01:00
Ricardo Wurmus 9de2e43cbe gnu: clalsadrv: Move snippet to build phase and set LIBDIR.
* gnu/packages/audio.scm (clalsadrv): Move snippet to build phase and set
  LIBDIR.
2015-03-13 21:45:15 +01:00
Ricardo Wurmus 9569dfc856 gnu: zita-alsa-pcmi: Move snippet to build phase and set LIBDIR.
* gnu/packages/audio.scm (zita-alsa-pcmi): Move snippet to build phase
  and set LIBDIR.
2015-03-13 21:45:08 +01:00
Eric Bavier feae339537 gnu: Add DBIx-Class.
* gnu/packages/databases.scm (perl-dbix-class): New variable.
2015-03-13 13:52:16 -05:00
Eric Bavier dd90952ebe gnu: Add SQL-Abstract.
* gnu/packages/databases.scm (perl-sql-abstract): New variable.
2015-03-13 13:52:16 -05:00
Eric Bavier f397c306e4 gnu: Add Text-Balanced.
* gnu/packages/perl.scm (perl-text-balanced): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 393ca94621 gnu: Add Scope-Guard.
* gnu/packages/perl.scm (perl-scope-guard): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 5a96dc03c7 gnu: Add Moo.
* gnu/packages/perl.scm (perl-moo): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 77917f67fd gnu: Add strictures.
* gnu/packages/perl.scm (perl-strictures): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 6e1bb8aab9 gnu: Add Role-Tiny.
* gnu/packages/perl.scm (perl-role-tiny): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 7c68c033f3 gnu: Add Import-Into.
* gnu/packages/perl.scm (perl-import-into): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 417e11bfaa gnu: Add Class-Method-Modifiers.
* gnu/packages/perl.scm (perl-class-method-modifiers): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 6ebe790bce gnu: Add Module-Find.
* gnu/packages/perl.scm (perl-module-find): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 2793480ed0 gnu: Add Hash-Merge.
* gnu/packages/perl.scm (perl-hash-merge): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier f8bde42f24 gnu: Add Data-Page.
* gnu/packages/perl.scm (perl-data-page): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 994fad660c gnu: Add Class-Accessor-Chained.
* gnu/packages/perl.scm (perl-class-accessor-chained): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier bfa3ad491c gnu: Add Data-Dumper-Concise.
* gnu/packages/perl.scm (perl-data-dumper-concise): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier f787e9fd4c gnu: Add Context-Preserve.
* gnu/packages/perl.scm (perl-context-preserve): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier d39e82548b gnu: Add Config-Any.
* gnu/packages/perl.scm (perl-config-any): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 42641c44a6 gnu: Add Class-C3-Componentised.
* gnu/packages/perl.scm (perl-class-c3-componentised): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 7a00ad4c22 gnu: Add Class-C3.
* gnu/packages/perl.scm (perl-class-c3): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 606f2f824c gnu: Add Algorithm-C3.
* gnu/packages/perl.scm (perl-algorithm-c3): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier ac42bfff8d gnu: Add Class-Accessor-Grouped.
* gnu/packages/perl.scm (perl-class-accessor-grouped): New variable.
2015-03-13 13:52:15 -05:00
Eric Bavier 448ebad1f6 gnu: Add Class-XSAccessor.
* gnu/packages/perl.scm (perl-class-xsaccessor): New variable.
2015-03-13 13:52:14 -05:00
Ricardo Wurmus 3edce2c9f9 gnu: libgnomeprint: adapt to newer freetype.
* gnu/packages/gnome.scm (freetype): Change "freetype" to "freetype2" in
  snippet.
2015-03-13 19:40:09 +01:00
宋文武 482dbe6a16 services: slim: Pass SESSION to ~/.xsession as "$1".
* gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession.
2015-03-13 22:57:22 +08:00
宋文武 e0b85670cf services: slim: Allow non-absolute path to be used as session command.
* gnu/services/xorg.scm (xinitrc)[builder]: Don't check the existence
  of COMMAND.  Only run ~/.xsession when it exists.
2015-03-13 22:56:40 +08:00
宋文武 4bd43bbe73 services: slim: Use /run/current-system/profile/share/xsessions as sessiondir.
* gnu/services/xorg.scm (<session-type>, %windowmaker-session-type)
  (%ratposion-session-type, %sawfish-session-type, %default-xsessions)
  (xsessions-directory): Remove.
  (slim-service): Remove #:sessions parameter.
  [slim.cfg]: Use /run/current-system/profile/share/xsessions as sessiondir.
* doc/guix.texi <X Window>: Adjust accordingly.
2015-03-13 22:40:57 +08:00
Andreas Enge 4e2f5b8f8f gnu: calibre: Update to 2.21.0.
* gnu/packages/ebook.scm (calibre): Update to 2.21.0.
2015-03-13 10:44:11 +01:00
Andreas Enge 97039f6ef2 gnu: Add vigra.
* gnu/packages/image.scm (vigra): New variable.

Co-authored-by: John Darrington <john@darrington.wattle.id.au>
2015-03-13 10:35:13 +01:00
Andreas Enge 12ed1216de gnu: hdf5: Add input zlib.
* gnu/packages/maths.scm (hdf5): Add input zlib.
2015-03-13 00:15:47 +01:00
Andreas Enge 40029cbe30 gnu: hdf5: Combine all outputs into one.
* gnu/packages/maths.scm (hdf5): Combine the outputs "out", "bin", "lib" and
  "include" into "out".
  (gmsh, octave): Adapt list of inputs.
2015-03-12 23:59:49 +01:00
Andreas Enge 97ffa451eb gnu: ffmpeg: Set LDFLAGS to -ldl.
* gnu/packages/video.scm (ffmpeg, ffmpeg-2.2): Set LDFLAGS to -ldl.
  This fixes a build failure of ffmpeg-2.2.
2015-03-12 23:49:50 +01:00
Ludovic Courtès b3976e72f4 gnu: skribilo: Add dependency on Ploticus.
* gnu/packages/skribilo.scm (skribilo)[inputs]: Add PLOTUTILS.
2015-03-12 22:52:18 +01:00
Ludovic Courtès 7d9e8c0857 gnu: guile-reader: Build with the C locale.
* gnu/packages/guile.scm (guile-reader)[arguments]: Add #:locale.
2015-03-12 22:52:18 +01:00
Ludovic Courtès 1d167b6e37 system: Add /etc/bashrc that loads bash-completion when available.
* gnu/system.scm (etc-directory)[profile]: Conditionally source
  /etc/bashrc.
  [bashrc]: New file.  Source bash_completion.sh when available.
2015-03-12 22:52:18 +01:00
Ludovic Courtès be3ed52d7b gnu: git: Install Bash completion as 'etc/bash_completion.d/git'.
* gnu/packages/version-control.scm (git)[arguments]
  <install-shell-completion>: Change "git.sh" to "git" as the completion
  module file name.
2015-03-12 22:52:18 +01:00
Ludovic Courtès 16629c8adf gnu: bash-completion: Search for completion modules in profiles.
* gnu/packages/patches/bash-completion-directories.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/bash.scm (bash-completion)[source]: Use it.
2015-03-12 22:52:18 +01:00
Alexander I.Grafov (Axel) cd9bc11273 system: Add fish, tcsh, and zsh to /etc/shells.
* gnu/system.scm (etc-directory)[shells]: Add fish, tcsh, and zsh file
  names to /etc/shells.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-03-12 22:52:18 +01:00
Alexander I.Grafov (Axel) 70408ccbe6 system: Remove duplicated line from export.
* gnu/system.scm (gnu system): Remove duplicate in
  exported names list.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-03-12 22:52:18 +01:00
Tomáš Čech 81ce19f452 gnu: Add isync.
* gnu/packages/mail.scm (isync): New variable.
2015-03-12 21:56:15 +01:00
Eric Bavier 91f0629934 gnu: Add Catalyst-Runtime.
* gnu/packages/web.scm (perl-catalyst-runtime): New variable.
2015-03-12 15:55:58 -05:00
Eric Bavier 36a100a1d6 gnu: Add URI-ws.
* gnu/packages/web.scm (perl-uri-ws): New variable.
2015-03-12 15:55:58 -05:00
Eric Bavier 7ffa58b304 gnu: Add Tree-Simple-VisitorFactory.
* gnu/packages/perl.scm (perl-tree-simple-visitorfactory): New
  variable.
2015-03-12 15:55:58 -05:00
Eric Bavier b9f6e75efc gnu: Add Tree-Simple.
* gnu/packages/perl.scm (perl-tree-simple): New variable.
2015-03-12 15:55:58 -05:00
Eric Bavier e3ad9d64d6 gnu: Add Text-SimpleTable.
* gnu/packages/perl.scm (perl-text-simpletable): New variable.
2015-03-12 15:55:58 -05:00
Eric Bavier 895046f935 gnu: Add String-RewritePrefix.
* gnu/packages/perl.scm (perl-string-rewriteprefix): New variable.
2015-03-12 15:55:58 -05:00
Eric Bavier 317c4a1da8 gnu: Add Safe-Isa.
* gnu/packages/perl.scm (perl-safe-isa): New variable.
2015-03-12 15:55:58 -05:00
Eric Bavier 64b16bf792 gnu: Add Plack-Test-ExternalServer.
* gnu/packages/web.scm (perl-plack-test-externalserver): New variable.
2015-03-12 15:55:58 -05:00
Eric Bavier ca157ba9b8 gnu: Add Plack-Middleware-ReverseProxy.
* gnu/packages/web.scm (perl-plack-middleware-reverseproxy): New
  variable.
2015-03-12 15:55:58 -05:00
Eric Bavier 13e330be23 gnu: Add Plack-Middleware-RemoveRedundantBody.
* gnu/packages/web.scm (perl-plack-middleware-removeredundantbody):
  New variable.
2015-03-12 15:55:58 -05:00
Eric Bavier 03d874d069 gnu: Add Plack-Middleware-MethodOverride.
* gnu/packages/web.scm (perl-plack-middleware-methodoverride): New
  variable.
2015-03-12 15:55:58 -05:00
Eric Bavier acd1f73a26 gnu: Add Plack-Middleware-FixMissingBodyInRedirect.
* gnu/packages/web.scm (perl-plack-middleware-fixmissingbodyinredirect):
  New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 65b04b4a14 gnu: Add Path-Class.
* gnu/packages/perl.scm (perl-path-class): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 1e3a6eae99 gnu: Add MooseX-MethodAttributes.
* gnu/packages/perl.scm (perl-moosex-methodattributes): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier ffb2d0b42b gnu: Add MooseX-Types.
* gnu/packages/perl.scm (perl-moosex-types): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 40b2ea4c2c gnu: Add Carp-Clan.
* gnu/packages/perl.scm (perl-carp-clan): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 1a17aa2dc7 gnu: Add MooseX-Getopt.
* gnu/packages/perl.scm (perl-moosex-getopt): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 3fc65fd2c9 gnu: Add MooseX-Role-Parameterized.
* gnu/packages/perl.scm (perl-moosex-role-parameterized): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier bfcb13bc6a gnu: Add MooseX-Role-WithOverloading.
* gnu/packages/perl.scm (perl-moosex-role-withoverloading): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier ceb3b13830 gnu: Add namespace-autoclean.
* gnu/packages/perl.scm (perl-namespace-autoclean): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier eb81114cd2 gnu: Add aliased.
* gnu/packages/perl.scm (perl-aliased): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier dd34630f56 gnu: Add Getopt-Long-Descriptive.
* gnu/packages/perl.scm (perl-getopt-long-descriptive): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 5c2234f011 gnu: Add Params-Validate.
* gnu/packages/perl.scm (perl-params-validate): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 0c190411d8 gnu: Add Test-Trap.
* gnu/packages/perl.scm (perl-test-trap): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 7fc7903bb7 gnu: Add MooseX-Emulate-Class-Accessor-Fast.
* gnu/packages/perl.scm (perl-moosex-emulate-class-accessor-fast): New
  variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 11f4c54206 gnu: Add JSON-MaybeXS.
* gnu/packages/web.scm (perl-json-maybexs): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 95aa068e44 gnu: Add Test-Without-Module.
* gnu/packages/perl.scm (perl-test-without-module): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 1c48820ed6 gnu: Add Cpanel-JSON-XS.
* gnu/packages/web.scm (perl-cpanel-json-xs): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 89341090f0 gnu: Add common-sense.
* gnu/packages/perl.scm (perl-common-sense): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 724d222773 gnu: Add HTTP-Request-AsCGI.
* gnu/packages/web.scm (perl-http-request-ascgi): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier 8819f57bc1 gnu: Add Class-Accessor.
* gnu/packages/perl.scm (perl-class-accessor): New variable.
2015-03-12 15:55:57 -05:00
Eric Bavier f902e4bcc2 gnu: Add base.
* gnu/packages/perl.scm (perl-base): New variable.
2015-03-12 15:55:56 -05:00
Eric Bavier 84c2c6d633 gnu: Add Data-Dump.
* gnu/packages/perl.scm (perl-data-dump): New variable.
2015-03-12 15:55:56 -05:00
Eric Bavier fcf1043e56 gnu: Add Class-Date.
* gnu/packages/perl.scm (perl-class-date): New variable.
2015-03-12 15:55:56 -05:00
Eric Bavier 4abba47dc6 gnu: Add Class-C3-Adopt-NEXT.
* gnu/packages/perl.scm (perl-class-c3-adopt-next): New variable.
2015-03-12 15:55:56 -05:00
Eric Bavier 76b8b86c91 gnu: Add CGI-Struct.
* gnu/packages/web.scm (perl-cgi-struct): New variable.
2015-03-12 15:55:56 -05:00
Eric Bavier 0148aa55cf gnu: Add CGI-Simple.
* gnu/packages/web.scm (perl-cgi-simple): New variable.
2015-03-12 15:55:56 -05:00
Eric Bavier 19449405ac gnu: Add IO-stringy.
* gnu/packages/perl.scm (perl-io-stringy): New variable.
2015-03-12 15:55:56 -05:00
Eric Bavier 9acf97f2fb gnu: perl-uri: Update to 1.67.
* gnu/packages/web.scm (perl-uri): Update to 1.67.
  [source]: Update mirror uri.
  [home-page]: Point to distribution uri.
2015-03-12 15:55:56 -05:00
Eric Bavier d845027209 gnu: perl-http-message: Propagate all inputs.
* gnu/packages/web.scm (perl-http-message)[inputs]: Move all to...
  [propagate-inputs]: Here.
2015-03-12 15:55:56 -05:00
Taylan Ulrich Bayırlı/Kammer 2d8288040b gnu: samba: Augment dynamic library rpaths.
* gnu/packages/samba.scm (samba): Augment the rpath of files in lib/ in
  addition to those in bin/ and sbin/.
2015-03-12 21:40:55 +01:00
Ludovic Courtès 8c9653b373 build-system/python: Delay evaluation of the 'python2' package.
This fixes a bug whereby uses of 'package-with-python2' at the top-level
in modules other than (gnu packages python) could lead to an "Unbound
variable: python2" error due to the circular references.

Reported by Tomáš Čech.

* guix/build-system/python.scm (package-with-explicit-python)[arguments]:
  Check whether PYTHON is a promise, and force it if it is.
  (package-with-python2): Wrap 'default-python2' call in 'delay'.
2015-03-12 19:31:25 +01:00
Ludovic Courtès 9751c39a6d services: bitlbee: Make /var/lib/bitlbee when activating.
* gnu/services/networking.scm (bitlbee-service): Add 'activate' field.
2015-03-12 19:10:44 +01:00
Ludovic Courtès 9a10acc986 system: Adjust '.bashrc' skeleton for non-interactive SSH sessions.
* gnu/system/shadow.scm (default-skeletons)[bashrc]: Source /etc/profile
  when in a non-interactive SSH session.
2015-03-12 19:00:54 +01:00
Ludovic Courtès 99e64a6e77 gnu: Move cflow, Complexity, and GLOBAL to (gnu packages code).
* gnu/packages/code.scm (cflow, complexity, global): New variables.
* gnu/packages/cflow.scm, gnu/packages/complexity.scm,
  gnu/packages/global.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
2015-03-12 11:40:27 +01:00
Ludovic Courtès 23153c907b gnu: Add SLOCCount.
* gnu/packages/code.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-12 11:35:16 +01:00
Ludovic Courtès 46ffff9024 gnu: guile-ssh: Update to 0.7.2.
* gnu/packages/ssh.scm (guile-ssh): Update to 0.7.2.
2015-03-11 23:25:53 +01:00
Ludovic Courtès a1ddf97cab gnu: help2man: Update to 1.46.5.
* gnu/packages/man.scm (help2man): Update to 1.46.5.
2015-03-11 23:25:53 +01:00
Ludovic Courtès 84399103da doc: Suggest to use 'lsh-service' with #:initialize? #t.
Suggested by Tomáš Čech.

* doc/guix.texi (Using the Configuration System): Pass #:initialize? #t
  to 'lsh-service'.
2015-03-11 23:25:53 +01:00
Eric Bavier 5933549dbd gnu: Add Plack.
* gnu/packages/web.scm (perl-plack): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier bb8bfe5ec8 gnu: Add Test-TCP.
* gnu/packages/web.scm (perl-test-tcp): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier 786ccb71cc gnu: Add Test-SharedFork.
* gnu/packages/perl.scm (perl-test-sharedfork): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier 83e825a16e gnu: Add Stream-Buffered.
* gnu/packages/perl.scm (perl-stream-buffered): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier 5ec8ec83f6 gnu: Add HTTP-Body.
* gnu/packages/web.scm (perl-http-body): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier 14b44398fb gnu: Add Hash-MultiValue.
* gnu/packages/perl.scm (perl-hash-multivalue): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier 5bfab17a2b gnu: Add Devel-StackTrace-AsHTML.
* gnu/packages/perl.scm (perl-devel-stacktrace-ashtml): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier c3c03bebd1 gnu: Add HTTP-Tiny.
* gnu/packages/web.scm (perl-http-tiny): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier 2b63ebc1fe gnu: Add IO-Socket-IP.
* gnu/packages/web.scm (perl-io-socket-ip): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier c8a316a3b7 gnu: Add HTTP-CookieJar.
* gnu/packages/web.scm (perl-http-cookiejar): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier b79d8b1ff7 gnu: Add Time-Mock.
* gnu/packages/perl.scm (perl-time-mock): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier 40f2518c1f gnu: Add TimeDate.
* gnu/packages/perl.scm (perl-timedate): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier dc1c804a6c gnu: Add Apache-LogFormat-Compiler.
* gnu/packages/web.scm (perl-apache-logformat-compiler): New variable.
2015-03-11 15:48:06 -05:00
Eric Bavier f5721e475f gnu: Add POSIX-strftime-Compiler.
* gnu/packages/perl.scm (perl-posix-strftime-compiler): New variable.
2015-03-11 15:48:05 -05:00
Eric Bavier 9bc8671846 gnu: Add Test-MockTime.
* gnu/packages/perl.scm (perl-test-mocktime): New variable.
2015-03-11 15:48:05 -05:00
Eric Bavier 1e507297e9 gnu: Add File-ShareDir.
* gnu/packages/perl.scm (perl-file-sharedir): New variable.
2015-03-11 15:48:05 -05:00
Eric Bavier e55d07b134 gnu: Add File-ShareDir-Install.
* gnu/packages/perl.scm (perl-file-sharedir-install): New variable.
2015-03-11 15:48:05 -05:00
Eric Bavier 9afa15ffee gnu: Add Class-Inspector.
* gnu/packages/perl.scm (perl-class-inspector): New variable.
2015-03-11 15:48:05 -05:00
Eric Bavier 3deac8c17b gnu: Add Time-Local.
* gnu/packages/perl.scm (perl-time-local): New variable.
2015-03-11 15:48:05 -05:00
Eric Bavier 8142aff3f6 gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
  perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
  perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
  perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
  perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-11 15:48:05 -05:00
Ricardo Wurmus 192b48020f gnu: Add WenQuanYi ZenHei font.
* gnu/packages/fonts.scm (font-wqy-zenhei): New variable.
2015-03-11 13:03:28 +01:00
Ricardo Wurmus 205006624e gnu: Add PCB.
* gnu/packages/engineering.scm (pcb): New variable.
2015-03-10 23:47:28 +01:00
Ricardo Wurmus e62be58fc3 gnu: Add openspecfun.
* gnu/packages/maths.scm (openspecfun): New variable.
2015-03-10 23:39:12 +01:00
Ricardo Wurmus e1605e36a8 gnu: Add openlibm.
* gnu/packages/maths.scm (openlibm): New variable.
2015-03-10 23:38:55 +01:00
Tomáš Čech c58ed7732a gnu: Add enlightenment.
* gnu/packages/enlightenment.scm (enlightenment): New variable.
2015-03-10 23:00:43 +01:00
Ludovic Courtès 11dddd8a3e system: Don't compare <pam-service> objects with 'equal?'.
Fixes <http://bugs.gnu.org/20037>.
Reported by 宋文武 <iyzsong@gmail.com> and Tomáš Čech.

* gnu/system.scm (operating-system-etc-directory): Remove call to
  'delete-duplicates'.
* gnu/system/linux.scm (pam-services->directory)[builder]: Add call to
  'delete-duplicates'.
2015-03-10 18:07:48 +01:00
Ludovic Courtès b9156ccc08 Revert "gnu: vlc: Update to 2.2.0"
This reverts commit ad036bda89.

This version has always failed to build according to
<http://hydra.gnu.org/job/gnu/master/vlc-2.2.0.x86_64-linux/all>.
2015-03-10 17:26:32 +01:00
Mark H Weaver 5b17fabca6 gnu: icecat: Update to 31.5.0.
* gnu/packages/patches/icecat-CVE-2015-0822.patch,
  gnu/packages/patches/icecat-CVE-2015-0827-pt-1.patch,
  gnu/packages/patches/icecat-CVE-2015-0827-pt-2.patch,
  gnu/packages/patches/icecat-CVE-2015-0827-pt-3.patch,
  gnu/packages/patches/icecat-CVE-2015-0831-pt-1.patch,
  gnu/packages/patches/icecat-CVE-2015-0831-pt-2.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-01.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-02.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-03.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-04.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-05.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-06.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-07.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-08.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-09.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-10.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-11.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/gnuzilla.scm (icecat): Update to 31.5.0.  Remove patches.
  Add 'nspr', 'nss', and 'cairo' to inputs.  Add configure flags to use
  those system libraries.
2015-03-10 10:13:38 -04:00
Mark H Weaver a24175ac8d gnu: nss: Include -L$libdir in output of "nss-config --libs".
* gnu/packages/patches/nss-pkgconfig.patch (nss-config): Include -L$libdir in
  output of "nss-config --libs".
2015-03-10 10:13:38 -04:00
Mark H Weaver 61427c8d03 gnu: nspr: Update to 4.10.8.
* gnu/packages/gnuzilla.scm (nspr): Update to 4.10.8.
2015-03-10 10:13:38 -04:00
Ludovic Courtès 6795b8d8f2 gnu: enca: Run tests sequentially.
* gnu/packages/textutils.scm (enca)[arguments]: New field.  Fixes build
  issue visible at <http://hydra.gnu.org/build/308913>.
2015-03-10 14:18:30 +01:00
Ricardo Wurmus 15a3c3d4f1 gnu: Add htsjdk.
* gnu/packages/bioinformatics.scm (htsjdk): New variable.
2015-03-10 11:46:49 +01:00
宋文武 a79112079e gnu: ratpoison: Install xsession file (ratpoison.desktop).
* gnu/packages/ratpoison.scm (ratpoison.desktop): New variable.
  (ratpoison)[arguments]: New field.
2015-03-10 12:51:35 +08:00
Mark H Weaver 49689377a3 gnu: sqlite: Add -DSQLITE_ENABLE_UNLOCK_NOTIFY to CFLAGS.
* gnu/packages/databases.scm (sqlite)[arguments]: Add
  -DSQLITE_ENABLE_UNLOCK_NOTIFY to CFLAGS.
2015-03-09 22:59:01 -04:00
Andreas Enge 266d26df87 gnu: patch: Update to 2.7.5.
* gnu/packages/base.scm (patch): Update to 2.7.5.
2015-03-09 22:56:50 -04:00
Mark H Weaver 1cf0814d4d Add Paul to 'AUTHORS'. 2015-03-09 20:26:44 -04:00
Ludovic Courtès 116244df95 services: Statically report duplicate dmd service identifiers.
Reported by 白い熊 @相撲道 <guix-devel_gnu.org@sumou.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-03/msg00264.html>.

* gnu/services/dmd.scm (assert-no-duplicates): New procedure.
  (dmd-configuration-file): Use it.
* po/guix/POTFILES.in: Add gnu/services/dmd.scm.
* tests/guix-system.sh (errorfile): Add test.
2015-03-09 23:51:43 +01:00
Ludovic Courtès b0b727808b gnu: guile-ncurses: Run tests with a locale that's actually available.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Add 'change-locale'
  phase.
2015-03-09 23:51:43 +01:00
Ludovic Courtès 1ae8237fc9 gnu: wget: Update to 1.16.3.
* gnu/packages/wget.scm (wget): Update to 1.16.3.
2015-03-09 23:51:43 +01:00
Ludovic Courtès 40e9de2ae5 gnu: Add Ploticus.
* gnu/packages/plotutils.scm (ploticus): New variable.
2015-03-09 23:51:43 +01:00
Ludovic Courtès e92da92d63 Add Alexander to 'AUTHORS'. 2015-03-09 23:51:43 +01:00
Alexander I.Grafov (Axel) 42f2c2b9d5 gnu: Add rxvt-unicode.
* gnu/packages/xdisorg.scm (rxvt-unicode): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-03-09 23:51:43 +01:00
Taylan Ulrich Bayırlı/Kammer c426e61e00 gnu: Add libass.
* gnu/packages/video.scm (libass): New variable.
(ffmpeg): Add input libass.
2015-03-09 22:57:45 +01:00
Taylan Ulrich Bayırlı/Kammer 688fe86587 gnu: Add enca.
* gnu/packages/textutils.scm (enca): New variable.
2015-03-09 22:57:45 +01:00
Taylan Ulrich Bayırlı/Kammer 7939e70a32 gnu: Add recode.
* gnu/packages/textutils.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-09 22:57:45 +01:00
Taylan Ulrich Bayırlı/Kammer c85a866ddf gnu: ffmpeg: Enable libavresample.
* gnu/packages/video.scm (ffmpeg): Add "--enable-avresample" configure option.
2015-03-09 22:57:45 +01:00
Taylan Ulrich Bayırlı/Kammer 7124119203 gnu: ffmpeg: Add more optional inputs.
* gnu/packages/video.scm (ffmpeg): Add inputs ladspa, openal, pulseaudio.
2015-03-09 22:57:45 +01:00
Taylan Ulrich Bayırlı/Kammer cc6c017066 gnu: Add libcdio-paranoia.
* gnu/packages/cdrom.scm (libcdio-paranoia): New variable.
* gnu/packages/video.scm (ffmpeg): Add input libcdio-paranoia.
2015-03-09 22:57:45 +01:00
Taylan Ulrich Bayırlı/Kammer db361234f1 gnu: cdio: Fix description.
* gnu/packages/cdrom.scm (libcdio): This package does not contain pycdio or
  libcdio-paranoia, so remove these from the description.  They can be
  obtained separately from <ftp://ftp.gnu.org/pub/gnu/libcdio/>.
2015-03-09 22:57:45 +01:00
Taylan Ulrich Bayırlı/Kammer 111cd65b8f gnu: Add quvi.
* gnu/packages/web.scm (quvi): New variable.
2015-03-09 22:57:45 +01:00
Taylan Ulrich Bayırlı/Kammer bb470bd3a4 gnu: Add libquvi.
* gnu/packages/web.scm (libquvi): New variable.
* gnu/packages/video.scm (ffmpeg): Add input libquvi.
2015-03-09 22:57:45 +01:00
Taylan Ulrich Bayırlı/Kammer fbf42fbd72 gnu: Add libquvi-scripts.
* gnu/packages/web.scm (libquvi-scripts): New variable.
2015-03-09 22:57:44 +01:00
Taylan Ulrich Bayırlı/Kammer 4d94b93ce1 gnu: Add libcaca.
* gnu/packages/video.scm (libcaca): New variable.
(ffmpeg): Add input libcaca.
2015-03-09 22:57:44 +01:00
Taylan Ulrich Bayırlı/Kammer 01793502e8 gnu: freeglut: Propagate input glu.
* gnu/packages/gl.scm (freeglut): Make glu a propagated input instead of a
  normal input.
2015-03-09 22:57:44 +01:00
Taylan Ulrich Bayırlı/Kammer 67932f86d3 gnu: Add xvid.
* gnu/packages/video.scm (xvid): New variable.
(ffmpeg): Add input xvid.
2015-03-09 22:57:44 +01:00
Taylan Ulrich Bayırlı/Kammer f104401095 gnu: Add libdvdnav-4.
* gnu/packages/video.scm (libdvdnav-4): New variable.
2015-03-09 22:57:44 +01:00
Taylan Ulrich Bayırlı/Kammer a6f710ec4e gnu: Add libdvdcss.
* gnu/packages/video.scm (libdvdcss): New variable.
2015-03-09 22:57:44 +01:00
Taylan Ulrich Bayırlı/Kammer 5d3609e42d gnu: Add libbluray.
* gnu/packages/video.scm (libbluray): New variable.
(ffmpeg): Add input libbluray.
2015-03-09 22:57:44 +01:00
Taylan Ulrich Bayırlı/Kammer 99d4c455e3 gnu: Add libdv.
* gnu/packages/video.scm (libdv): New variable.
2015-03-09 22:57:44 +01:00
Taylan Ulrich Bayırlı/Kammer 3bfb78dc3b gnu: Add libdca.
* gnu/packages/video.scm (libdca): New variable.
2015-03-09 22:57:44 +01:00
Taylan Ulrich Bayırlı/Kammer cda163cdb9 gnu: Add liba52.
* gnu/packages/video.scm (liba52): New variable.
2015-03-09 22:57:43 +01:00
Taylan Ulrich Bayırlı/Kammer 0731a47cd4 gnu: Add libungif.
* gnu/packages/image.scm (libungif): New variable.
2015-03-09 22:57:43 +01:00
Taylan Ulrich Bayırlı/Kammer 55b596c3f5 gnu: Add rsound.
* gnu/packages/audio.scm (rsound): New variable.
2015-03-09 22:57:43 +01:00
Taylan Ulrich Bayırlı/Kammer f2fac35953 gnu: Move 'openal' to (gnu packages audio).
* gnu/packages/games.scm (openal): Removed variable.
* gnu/packages/audio.scm (openal): New variable.
2015-03-09 22:57:43 +01:00
Taylan Ulrich Bayırlı/Kammer 8c0b5a75ad gnu: Add libbs2b.
* gnu/packages/audio.scm (libbs2b): New variable.
2015-03-09 22:57:43 +01:00
Taylan Ulrich Bayırlı/Kammer 70fc29d9c5 gnu: Add faad2.
* gnu/packages/audio.scm (faad2): New variable.
2015-03-09 22:57:43 +01:00
Paul van der Walt a22722c1a5 gnu: ncmpcpp: Move taglib from native-inputs.
* gnu/packages/mpd.scm (ncmpcpp): Move TAGLIB from ‘native-inputs’ to ‘inputs’.
2015-03-09 21:59:11 +01:00
宋文武 2cb4ca6303 gnu: libmikmod: Remove inputs alsa-lib and libx11.
Fixes <http://bugs.gnu.org/19015>.

* gnu/packages/sdl.scm (libmikmod)[inputs]: Remove.
2015-03-09 17:17:00 +08:00
Ricardo Wurmus 412726ee4a gnu: Add gEDA/gaf.
* gnu/packages/engineering.scm (geda-gaf): New variable.
2015-03-09 09:05:00 +01:00
Ludovic Courtès 0c36a681c8 doc: Add 'packages' field to OS configuration template.
* gnu/system/os-config.tmpl (packages): New field.
2015-03-08 23:05:51 +01:00
Ludovic Courtès 61af1014c6 gnu: gcj: Use a versioned URL for 'javac.in'.
* gnu/packages/gcc.scm (javac.in): Use a ViewVC URL that specifies the
  CVS revision.
2015-03-08 22:27:20 +01:00
Jason Self 3540a48138 gnu: linux-libre: Update to 3.18.9
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.9.
2015-03-08 12:30:11 -07:00
Ricardo Wurmus 6efd0823e1 gnu: Add fdupes.
* gnu/packages/admin.scm (fdupes): New variable.
2015-03-08 11:21:53 +01:00
Ricardo Wurmus 5699a3cf5a gnu: librecad: use (gnu packages base) module
* gnu/packages/engineering.scm: use (gnu packages base) module for "which".
2015-03-08 11:19:17 +01:00
Ricardo Wurmus 40fbd52ae5 gnu: rename engineering module
* gnu/packages/engineering.scm: Change module name from "audio" to
  "engineering".
2015-03-08 11:17:34 +01:00
Federico Beffa ebaa68c019 gnu: ghc: Remove installation of locale.
* gnu/packages/haskell.scm (ghc): Remove installation of locale from
  'unpack-and-fix-testsuite phase.
2015-03-08 09:13:51 +01:00
Mark H Weaver ee2a7f0789 gnu: slang: Combine duplicate 'arguments' fields.
Combine duplicate 'arguments' fields introduced in 22e357397a.

* gnu/packages/slang.scm (slang)[arguments]: Combine duplicate fields.
2015-03-08 01:36:35 -05:00
Mark H Weaver 5c3f2a5a77 gnu: lrdf: Fix phases.
Fixes a regression caused by 722ec72244.

* gnu/packages/rdf.scm (lrdf)[arguments]: Swap order of 'alist-cons-after'
  calls.
2015-03-07 22:39:43 -05:00
Mark H Weaver 0e396872a6 gnu: sysfsutils-1: Pass --build to configure.
* gnu/packages/linux.scm (sysfsutils-1)[arguments]: Pass --build to configure.
2015-03-07 21:42:43 -05:00
Mark H Weaver e396976b9b gnu: sbcl: Use ISO-8859-1 to patch unix tool paths.
* gnu/packages/lisp.scm (sbcl)[arguments]: Use ISO-8859-1 to patch unix tool
  paths in string literals.
2015-03-07 20:42:01 -05:00
Mark H Weaver 68a5d6c770 Revert "gnu: patch: Update to 2.7.5."
This reverts commit cded001198.
2015-03-07 20:34:50 -05:00
Mark H Weaver 22e357397a gnu: slang: Disable parallel build.
* gnu/packages/slang.scm (slang)[arguments]: Disable parallel build.
2015-03-07 19:23:10 -05:00
Andreas Enge cded001198 gnu: patch: Update to 2.7.5.
* gnu/packages/base.scm (patch): Update to 2.7.5.
2015-03-08 00:32:11 +01:00
David Thompson aa45c7a425 gnu: fish: Update to 2.1.2. 2015-03-07 16:03:55 -05:00
Andreas Enge 2fbec76275 gnu: calibre: Swap input python2-pil for python2-pillow.
* gnu/packages/ebook.scm (calibre)[inputs]: Drop python2-pil,
    add python2-pillow.
2015-03-07 20:30:17 +01:00
Andreas Enge bdbf227fa3 gnu: xpdf: Fix detection of freetype.
* gnu/packages/pdf.scm (xpdf)[configure-flags]: Add flag to correctly detect
  freetype. Otherwise, the xpdf binary is not built.
2015-03-07 20:15:28 +01:00
Mark H Weaver 1cb9c00614 gnu: python-testlib: Fix license field.
Fixes a problem introduced in a1920bc9f2.
Debugged by David Thompson.

* gnu/packages/python.scm (python-testlib)[license]: 'expat' ->
  'license:expat'.
2015-03-07 13:58:50 -05:00
Federico Beffa 35035074a2 gnu: Add libedit.scm to gnu-system.am.
* gnu-system.am (GNU_SYSTEM_MODULES): Add libedit.scm.
2015-03-07 15:20:04 +01:00
Federico Beffa 246b3437f7 gnu: Add ghc.
* gnu/packages/haskell.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-07 15:08:36 +01:00
Federico Beffa c8daf57200 gnu: Add libedit.
* gnu/packages/libedit.scm: New file.
2015-03-07 15:08:36 +01:00
Federico Beffa a1920bc9f2 gnu: Add python-testlib and python2-testlib.
* gnu/packages/python.scm (python-testlib, python2-testlib): New variables.
2015-03-07 15:08:36 +01:00
Paul van der Walt cd77777602 gnu: ncmpcpp: Enable taglib support.
* gnu/packages/mpd.scm (ncmpcpp): Add --with-taglib configure flag.
2015-03-07 13:45:25 +01:00
Andreas Enge ed2b1c4f55 gnu: gcj: Move javac.in from a file in the distribution to an origin.
* gnu/packages/javac.in: Delete file.
* gnu-system.am (MISC_DISTRO_FILES): Delete.
* gnu/packages/gcc.scm (javac.in): New variable.
  (gcj-4.8): Use it as an input.
2015-03-07 10:45:47 +01:00
Andreas Enge e2808a4ac6 gnu: gcc: Add copyright line. 2015-03-07 10:44:58 +01:00
Andreas Enge d5f5b6aa7b gnu: qt: Update to 5.4.1.
* gnu/packages/qt.scm (qt): Update to 5.4.1.
2015-03-07 10:42:16 +01:00
Mark H Weaver 526d71b303 gnu: zsh: Use ISO-8859-1 in 'fix-sh' phase.
* gnu/packages/zsh.scm (zsh)[arguments]: Use ISO-8859-1 in 'fix-sh' phase.
2015-03-07 02:40:55 -05:00
Mark H Weaver 93c117eec3 gnu: gmime: Use ISO-8859-1 when patching tests.
* gnu/packages/mail.scm (gmime)[arguments]: Use ISO-8859-1 when patching
  tests.
2015-03-07 01:09:55 -05:00
Andreas Enge dde7092656 gnu: podofo: Fix detection of freetype.
* gnu/packages/pdf.scm (podofo)[arguments]: Add phase patching the cmake
  file that looks for freetype.
2015-03-07 01:37:58 +01:00
Andreas Enge b8ac8c282d gnu: Add calibre.
* gnu/packages/ebook.scm (calibre): New variable.
* gnu/packages/patches/calibre-drop-unrar.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2015-03-07 00:57:59 +01:00
Andreas Enge 516277cb14 gnu: python2-pil: Adapt to newer Freetype.
* gnu/packages/python.scm (python2-pil): Add snippet.
2015-03-07 00:56:43 +01:00
Andreas Enge f944fbf185 gnu: gnunet: Update to 0.10.1.
* gnu/packages/gnunet.scm (gnunet): Update to 0.10.1.
  Adapt environment variable GNUNET_PREFIX to new use.
  Disable parallel tests.
  Disable tests until a failure is fixed.
* gnu/packages/patches/gnunet-fix-scheduler.patch,
  gnu/packages/patches/gnunet-fix-tests.patch: Delete patch files.
* gnu-system.am (dist_patch_DATA): Unregister patches.
2015-03-07 00:16:04 +01:00
Andreas Enge e5e069302e gnu: Add libqtxdg.
* gnu/packages/lxqt.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register it.

Co-authored-by: Sou Bunnbu <iyzsong@gmail.com>
2015-03-06 22:49:35 +01:00
Tomáš Čech df81e046c5 gnu: valgrind: Fix build against glibc 2.21
* gnu/packages/patches/valgrind-glibc-2.21.patch: New file.
* gnu-system.am (dist_patch_DATA): Add patch.
* gnu/packages/valgrind.scm (valgrind): Apply patch.
2015-03-06 22:19:12 +01:00
Ricardo Wurmus ffb010b5b1 gnu: Add LibreCAD.
* gnu/packages/engineering.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-06 21:24:56 +01:00
Eric Bavier 840e577455 gnu: Add Moose.
* gnu/packages/perl.scm (perl-moose): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier ae7135a2d3 gnu: Add Task-Weaken.
* gnu/packages/perl.scm (perl-task-weaken): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier 39bbf6131c gnu: Add Sub-Name.
* gnu/packages/perl.scm (perl-sub-name): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier 7bda142b55 gnu: Add Devel-CheckBin.
* gnu/packages/perl.scm (perl-devel-checkbin): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier c8d68ff9c3 gnu: Add Scalar-List-Utils.
* gnu/packages/perl.scm (perl-scalar-list-utils): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier 21a99dda72 gnu: Add Package-DeprecationManager.
* gnu/packages/perl.scm (perl-package-deprecationmanager): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier ff8925541e gnu: Add Module-Runtime-Conflicts.
* gnu/packages/perl.scm (perl-module-runtime-conflicts): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier 04e9de0283 gnu: Add List-MoreUtils.
* gnu/packages/perl.scm (perl-list-moreutils): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier a595c108cd gnu: Add Exporter-Tiny.
* gnu/packages/perl.scm (perl-exporter-tiny): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier da9e3012b5 gnu: Add Test-WriteVariants.
* gnu/packages/perl.scm (perl-test-writevariants): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier 61fc683117 gnu: Add Data-Tumbler.
* gnu/packages/perl.scm (perl-data-tumbler): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier 4ee88d69dd gnu: Add File-HomeDir.
* gnu/packages/perl.scm (perl-file-homedir): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier 29b6ca73e1 gnu: Add File-Temp.
* gnu/packages/perl.scm (perl-file-temp): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier ec77a714c5 gnu: Add parent.
* gnu/packages/perl.scm (perl-parent): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier d0662af955 gnu: Add Test-Directory.
* gnu/packages/perl.scm (perl-test-directory): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier d4dfe333df gnu: Add Test-Most.
* gnu/packages/perl.scm (perl-test-most): New variable.
2015-03-06 08:13:29 -06:00
Eric Bavier 800e13d265 gnu: Add Test-Exception.
* gnu/packages/perl.scm (perl-test-exception): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 625d0661fa gnu: Add Module-Build.
* gnu/packages/perl.scm (perl-module-build): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 3a8ee9d163 gnu: Add Exception-Class.
* gnu/packages/perl.scm (perl-exception-class): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier bc4899e3d9 gnu: Add Class-Data-Inheritable.
* gnu/packages/perl.scm (perl-class-data-inheritable): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier c68b185842 gnu: Add Test-Differences.
* gnu/packages/perl.scm (perl-test-differences): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 3453cd7adb gnu: Add Text-Diff.
* gnu/packages/perl.scm (perl-text-diff): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 0d3ec4951e gnu: Add Algorithm-Diff.
* gnu/packages/perl.scm (perl-algorithm-diff): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier e8bba431a8 gnu: Add inc-latest.
* gnu/packages/perl.scm (perl-inc-latest): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier ce60f167ea gnu: Add Config-AutoConf.
* gnu/packages/perl.scm (perl-config-autoconf): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 8bc9515d9b gnu: Add Eval-Closure.
* gnu/packages/perl.scm (perl-eval-closure): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 4400eb95e4 gnu: Add Devel-LexAlias.
* gnu/packages/perl.scm (perl-devel-lexalias): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 0b15ffbc31 gnu: Add Devel-Caller.
* gnu/packages/perl.scm (perl-devel-caller): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 54af5f5518 gnu: Add PadWalker.
* gnu/packages/perl.scm (perl-padwalker): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 42350bbe77 gnu: Add Devel-StackTrace.
* gnu/packages/perl.scm (perl-devel-stacktrace): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 81da66e239 gnu: Add Devel-PartialDump.
* gnu/packages/perl.scm (perl-devel-partialdump): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier d85de704a4 gnu: Add Class-Tiny.
* gnu/packages/perl.scm (perl-class-tiny): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier bf1975c774 gnu: Add Test-Warn.
* gnu/packages/perl.scm (perl-test-warn): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 5d2935e3fc gnu: Add Sub-Uplevel.
* gnu/packages/perl.scm (perl-sub-uplevel): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier e2e3d62a65 gnu: Add Devel-OverloadInfo.
* gnu/packages/perl.scm (perl-devel-overloadinfo): New variable.
2015-03-06 08:13:28 -06:00
Eric Bavier 2aa51030e9 gnu: Add MRO-Compat.
* gnu/packages/perl.scm (perl-mro-compat): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 70a9a4911a gnu: Add Devel-GlobalDestruction.
* gnu/packages/perl.scm (perl-devel-globaldestruction): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 81bffd455b gnu: Add Class-Load-XS.
* gnu/packages/perl.scm (perl-class-load-xs): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier d439d53741 gnu: Add Class-Load.
* gnu/packages/perl.scm (perl-class-load): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 6c319d12bd gnu: Add Module-Build-Tiny.
* gnu/packages/perl.scm (perl-module-build-tiny): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 9c7d97c47d gnu: Add Test-Harness.
* gnu/packages/perl.scm (perl-test-harness): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 0bcb85be50 gnu: Add ExtUtils-Helpers.
* gnu/packages/perl.scm (perl-extutils-helpers): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 9c8f076567 gnu: Add ExtUtils-InstallPaths.
* gnu/packages/perl.scm (perl-extutils-installpaths): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 6eb28ece00 gnu: Add ExtUtils-Config.
* gnu/packages/perl.scm (perl-extutils-config): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 269ef08622 gnu: Add Test-CleanNamespaces.
* gnu/packages/perl.scm (perl-test-cleannamespaces): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier b0c2ae5022 gnu: Add File-Find-Rule-Perl.
* gnu/packages/perl.scm (perl-file-find-rule-perl): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier e91d4accd1 gnu: Add File-Find-Rule.
* gnu/packages/perl.scm (perl-file-find-rule): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier f57c768639 gnu: Add Number-Compare.
* gnu/packages/perl.scm (perl-number-compare): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier cab88488e9 gnu: Add Text-Glob.
* gnu/packages/perl.scm (perl-text-glob): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier a7a75c87b0 gnu: Add Sub-Identify.
* gnu/packages/perl.scm (perl-sub-identify): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 9727c33f3b gnu: Add namespace-clean.
* gnu/packages/perl.scm (perl-namespace-clean): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 0e2f7cfcc7 gnu: Add B-Hooks-EndOfScope.
* gnu/packages/perl.scm (perl-b-hooks-endofscope): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 5f60001133 gnu: Add Variable-Magic.
* gnu/packages/perl.scm (perl-variable-magic): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 85e92c32c6 gnu: Add Sub-Exporter-Progressive.
* gnu/packages/perl.scm (perl-sub-exporter-progressive): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier d9e6af9090 gnu: Add Package-Stash.
* gnu/packages/perl.scm (perl-package-stash): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier f9f64440f7 gnu: Add Package-Stash-XS.
* gnu/packages/perl.scm (perl-package-stash-xs): New variable.
2015-03-06 08:13:27 -06:00
Eric Bavier 3fa4c22abe gnu: Add Module-Implementation.
* gnu/packages/perl.scm (perl-module-implementation): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier 76a6f27952 gnu: Add Package-Anon.
* gnu/packages/perl.scm (perl-package-anon): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier f59d9fc282 gnu: Add Test-Warnings.
* gnu/packages/perl.scm (perl-test-warnings): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier cb6d9b1b04 gnu: Add Test-Requires.
* gnu/packages/perl.scm (perl-test-requires): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier b7d9aa5945 gnu: Add Dist-CheckConflicts.
* gnu/packages/perl.scm (perl-dist-checkconflicts): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier 185082c864 gnu; Add Module-Runtime.
* gnu/packages/perl.scm (perl-module-runtime): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier 07b2c25486 gnu: Add Test-Fatal.
* gnu/packages/perl.scm (perl-test-fatal): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier 90ae6151cf gnu: Add Try-Tiny.
* gnu/packages/perl.scm (perl-try-tiny): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier a77ed67def gnu: Add CPAN-Meta-Check.
* gnu/packages/perl.scm (perl-cpan-meta-check): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier e0b8689c15 gnu: Add CPAN-Meta.
* gnu/packages/perl.scm (perl-cpan-meta): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier 70e834625f gnu: Add Parse-CPAN-Meta.
* gnu/packages/perl.scm (perl-parse-cpan-meta): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier 6f2768c3f0 gnu: Add CPAN-Meta-YAML.
* gnu/packages/perl.scm (perl-cpan-meta-yaml): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier 90fb2e2467 gnu: Add CPAN-Meta-Requirements.
* gnu/packages/perl.scm (perl-cpan-meta-requirements): New variable.
2015-03-06 08:13:26 -06:00
Eric Bavier 884529b780 gnu: perl-test-simple: Update to 1.001014.
* gnu/packages/perl.scm (perl-test-simple): Update to 1.001014.
2015-03-06 08:13:26 -06:00
Eric Bavier fc8c2f7b82 gnu: perl-data-optlist: Move input to propagated-inputs.
* gnu/packages/perl.scm (perl-data-optlist): Move perl-params-util
  from inputs to propagated-inputs.
2015-03-06 08:13:26 -06:00
Eric Bavier 73fc71ba3d perl: Alphabetize module packages.
* gnu/packages/perl.scm: Alphabetize package definitions.
2015-03-06 08:13:26 -06:00
Ludovic Courtès 36a1eec50a list-packages: Use GuixSD logo and name.
* build-aux/list-packages.scm (packages->sxml): Change to use
  GuixSD-V.png and use the name "Guix System Distribution".
2015-03-06 13:58:06 +01:00
Tomáš Čech f195b36602 gnu: grub: Add patch to fix new version of freetype
* gnu/packages/patches/grub-freetype.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the patch.
* gnu/packages/grub.scm (grub): Apply new patch.
2015-03-06 09:38:41 +01:00
Mark H Weaver 81f36365f1 gnu: nss-certs: Include 'install-locale' phase.
* gnu/packages/certs.scm (nss-certs)[arguments]: Include 'install-locale'
  phase.  Remove outdated comment.
  (certdata2pem)[source]: Add 'file-name' to origin.
2015-03-06 00:38:09 -05:00
Ludovic Courtès af0927ac68 gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update snapshot.
2015-03-06 00:44:01 +01:00
Ludovic Courtès 211db2f645 gnu: glibc: Comment on the parallel build race.
* gnu/packages/base.scm (glibc): Augment comment regarding sequential
  builds.
2015-03-06 00:44:01 +01:00
Alex Sassmannshausen 15926aec0d gnu: Add tree.
* gnu/packages/admin.scm (tree): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-03-06 00:44:01 +01:00
Andreas Enge 43640a33f4 gnu: valgrind: Update to 3.10.1.
* gnu/packages/valgrind.scm (valgrind): Update to 3.10.1.
2015-03-05 23:46:07 +01:00
Ludovic Courtès 07157e8ab4 gnu: gnupg: Remove #:prefix for (gnu packages compression).
* gnu/packages/gnupg.scm: Remove #:prefix for (gnu packages
  compression).  Add #:prefix for (gnu packages license).
2015-03-05 22:20:52 +01:00
Ludovic Courtès 950d2ea414 lint: Add tests for the 'source' checker.
* guix/scripts/lint.scm (check-source): Export.
* tests/lint.scm (%null-sha256): New procedure.
  ("source: 200", "source: 404"): New tests.
2015-03-05 22:17:36 +01:00
Ludovic Courtès 754e5be2d5 tests: Fix import.
* tests/lint.scm: Use 'url-fetch' from (guix download), not (guix build
  download), although this was actually harmless here.
2015-03-05 22:17:36 +01:00
Ludovic Courtès ce72c78074 store: Attempt to decode build logs as UTF-8.
* guix/serialization.scm (read-maybe-utf8-string): New procedure.
* guix/store.scm (process-stderr): Use it for the build log and errors.
* tests/store.scm ("current-build-output-port, UTF-8",
  "current-build-output-port, UTF-8 + garbage"): New tests.
2015-03-05 22:17:36 +01:00
Ludovic Courtès 472e4c4303 serialization: Factorize 'read-byte-string'.
* guix/serialization.scm (read-byte-string): New procedure.
  (read-string, read-latin1-string): Use it.
2015-03-05 22:17:36 +01:00
Mark H Weaver 87d7928294 gnu: lftp: Don't save unknown SSH host fingerprints to known_hosts by default.
* gnu/packages/patches/lftp-dont-save-unknown-host-fingerprint.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/ftp.scm (lftp): Add patch.
2015-03-05 12:16:44 -05:00
Paul van der Walt b3886e0c53 gnu: Add zathura comicbook plugin.
* gnu/packages/pdf.scm (zathura-cb): New variable.
2015-03-05 10:23:07 +01:00
Paul van der Walt 721a4f7d57 gnu: Add zathura postscript plugin.
* gnu/packages/pdf.scm (zathura-ps): New variable.
2015-03-05 10:23:07 +01:00
Paul van der Walt bac31d1f2d gnu: Add zathura DjVu plugin.
* gnu/packages/pdf.scm (zathura-djvu): New variable.
2015-03-05 10:23:07 +01:00
Paul van der Walt 7708557fd9 gnu: Add zathura PDF plugin.
* gnu/packages/pdf.scm (zathura-pdf-poppler): New variable.
2015-03-05 10:23:07 +01:00
Paul van der Walt 3e40bb8298 gnu: Add zathura.
* gnu/packages/pdf.scm (zathura): New variable.
* gnu/packages/patches/zathura-plugindir-environment-variable.patch: New file.
* gnu-system.am: Add it.
2015-03-05 10:23:07 +01:00
Paul van der Walt 1a8bf1dc41 gnu: Add djvulibre.
* gnu/packages/djvu.scm (djvulibre): New variable.
* gnu-system.am: Add the file.
2015-03-05 10:23:07 +01:00
Ricardo Wurmus 279663efa5 gnu: Add muparser.
* gnu/packages/maths.scm (muparser): New variable.
2015-03-05 08:01:15 +01:00
David Thompson d9d9d4861c gnu: ruby: Update to 2.2.1.
* gnu/packages/ruby.scm (ruby): Update to 2.2.1.
2015-03-04 20:20:47 -05:00
Ludovic Courtès 2b34b4b46d gnu: bash: Install headers in "include" output.
* gnu/packages/bash.scm (bash)[outputs]: New field.
  [arguments]: Use 'modify-phases'.  Add 'install-headers' phase.
2015-03-04 23:21:09 +01:00
Alex Kost 5d9ecd157e gnu: Add Russian Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-ru): New variable.
2015-03-04 22:03:30 +03:00
Ludovic Courtès ce0614ddb0 gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
  gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
  gnu/packages/compression.scm, gnu/packages/datamash.scm,
  gnu/packages/games.scm, gnu/packages/glib.scm,
  gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
  gnu/packages/gps.scm, gnu/packages/guile.scm,
  gnu/packages/java.scm, gnu/packages/libevent.scm,
  gnu/packages/linux.scm, gnu/packages/lisp.scm,
  gnu/packages/node.scm, gnu/packages/ntp.scm,
  gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
  gnu/packages/python.scm, gnu/packages/qt.scm,
  gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
  gnu/packages/scheme.scm, gnu/packages/ssh.scm,
  gnu/packages/statistics.scm, gnu/packages/texlive.scm,
  gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 17:23:27 +01:00
Ludovic Courtès f61e0e7900 gnu: Avoid #:prefix when importing a (gnu packages …) module.
* gnu/packages/admin.scm, gnu/packages/emacs.scm,
  gnu/packages/gnutls.scm, gnu/packages/gsasl.scm,
  gnu/packages/linux.scm: Remove uses of #:prefix for package modules.
2015-03-04 17:23:27 +01:00
Ludovic Courtès 6d0b9d03ce tests: Remove dependency on 'glibc-utf8-locales' for profile tests.
This fixes a regression introduced in commit 536c3ee.

* guix/profiles.scm (ca-certificate-bundle): When MANIFEST is empty,
  make a trivial derivation.
* guix/scripts/package.scm (guix-package)[process-actions]: Pass
  #:ca-certificate-bundle? to 'profile-generation'.
* tests/packages.scm ("--search-paths with pattern"): Likewise.
* tests/profiles.scm ("profile-derivation"): Likewise.
2015-03-04 17:23:27 +01:00
Ricardo Wurmus 0e309f1e5b gnu: icedtea6: split outputs.
* gnu/packages/java.scm (icedtea6)[outputs]: Use separate outputs for
  documentation ("doc"), JDK ("jdk"), and JRE ("out").
* gnu/packages/java.scm (ant)[native-inputs]: Reference "jdk" output of
  icedtea6 package.
* gnu/packages/statistics.scm (r)[inputs]: Reference "jdk" output of icedtea6
  package.
2015-03-04 15:59:41 +01:00
Ludovic Courtès 1289062522 Merge branch 'core-updates'. 2015-03-04 14:07:23 +01:00
Ricardo Wurmus cb4d3d863b gnu: python2-pygtk: fix path to pygobject-codegen-2.0
* gnu/packages/gtk.scm (python2-pygtk)[arguments]: Add phase to patch the path
  to the pygobject-codegen-2.0 executable.
2015-03-04 13:30:39 +01:00
宋文武 32158110b0 gnu: octave: Update to 3.8.2.
* gnu/packages/maths.scm (octave): Update to 3.8.2.
2015-03-04 16:45:23 +08:00
Tomáš Čech 27ce97c64e gnu: enlightenment: Add missing, but used module.
* gnu/packages/enlightenment.scm: Add missing, but used module.
2015-03-04 09:36:49 +01:00
Tomáš Čech ea28d935f3 gnu: rename module and add missing dependency
* gnu/packages/enlightenment.scm: Change module name to be consistent.
* gnu/packages/enlightenment.scm: Add missing, but used module.
2015-03-04 08:50:39 +01:00
宋文武 5713809335 gnu: xterm: Update to 315.
* gnu/packages/xorg.scm (xterm): Update to 315.
2015-03-04 13:30:51 +08:00
宋文武 081cbed90e gnu: flac: Update to 1.3.1.
* gnu/packages/xiph.scm (flac): Update to 1.3.1.
2015-03-04 13:19:24 +08:00
宋文武 d529b91b4e gnu: flac: Propagate libogg.
* gnu/packages/xiph.scm (flac): Move libogg to 'propagated-inputs'.
2015-03-04 13:06:32 +08:00
宋文武 221d45726c gnu: gtk-xfce-engine: Update to 2.10.1.
* gnu/packages/xfce.scm (gtk-xfce-engine): Update to 2.10.1.
2015-03-04 10:16:43 +08:00
Ludovic Courtès 928d62f225 gnu: Add bash-completion.
* gnu/packages/bash.scm (bash-completion): New variable.
2015-03-03 22:58:46 +01:00
Ludovic Courtès 23c0e74375 gnu: git: Install the Bash completion script.
* gnu/packages/version-control.scm (git)[arguments]: Add
  'install-shell-completion' phase.
2015-03-03 22:58:45 +01:00
Ludovic Courtès 776463ba9f http-client: Monkey-patch 'make-chunked-input-port' on Guile <= 2.0.11.
Fixes <http://bugs.gnu.org/19976>.

* guix/http-client.scm (when-guile<=2.0.5): Rename to...
  (when-guile<=2.0.5-or-otherwise-broken): ... this.
  (%web-http): New variable.
  Monkey-patch 'make-chunked-input-port' when %WEB-HTTP defines
  'read-chunk-body'.
2015-03-03 22:58:45 +01:00
Ludovic Courtès c28606bd1d http-client: Update backport of chunked encoding support to Guile 2.0.5.
* guix/http-client.scm (read-chunk, read-chunk-body)
  [when-guile<=2.0.5]: Remove.
  (make-chunked-input-port) [when-guile<=2.0.5]: Update to Guile commit
  00d3ecf2.
2015-03-03 22:58:45 +01:00
Ludovic Courtès da699774d4 gnu: Add search path specifications for 'SSL_CERT_FILE' and 'GIT_SSL_CAINFO'.
* gnu/packages/openssl.scm (openssl)[native-search-paths]: Add
  specification for 'SSL_CERT_FILE'.
* gnu/packages/version-control.scm (git)[native-search-paths]: Add
  specification for 'GIT_SSL_CAINFO'.
2015-03-03 21:25:39 +01:00
Mark H Weaver 41ce460133 gnu: nss-certs: Install only trusted CA certificates.
* gnu/packages/certs.scm (nss-certs): Only install certificates that include a
  non-empty "openssl-trust=" annotation.
2015-03-03 13:49:12 -05:00
Mark H Weaver 78ab0746a5 system: Add /etc/ssl symlink; set needed variables in /etc/profile.
* gnu/build/activation.scm (activate-etc): Create /etc/ssl symlink.
* gnu/system.scm (etc-directory): Set SSL_CERT_DIR, SSL_CERT_FILE,
  and GIT_SSL_CAINFO in /etc/profile.

Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
2015-03-03 13:49:12 -05:00
Mark H Weaver 536c3ee4e3 profiles: Produce a single-file CA certificate bundle.
* guix/profiles.scm (ca-certificate-bundle): New procedure.
  (profile-derivation): Add 'ca-certificate-bundle?' keyword argument.  If
  true (the default), add the result of 'ca-certificate-bundle' to 'inputs'.

Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
2015-03-03 13:49:12 -05:00
Mark H Weaver e33eea8ffd Revert "system: Add 'x509-certificates' field, and populate /etc/ssl/certs."
This reverts commit e979e6dd52.
2015-03-03 13:49:12 -05:00
Mark H Weaver bd4c47a47e Revert "system: Create a single-file certificate bundle in /etc/ssl/certs."
This reverts commit 993300f6cc.
2015-03-03 13:49:12 -05:00
Ludovic Courtès 00e650981c gnu: Add rdesktop.
* gnu/packages/rdesktop.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-03 18:45:10 +01:00
Andreas Enge 2303c8216e gnu: enlightenment: Fix typo in adding the module.
* gnu-system.am (GNU_SYSTEM_MODULES): Fix typo.
538fb23ea0
2015-03-03 15:16:45 +01:00
Jason Self ad036bda89 gnu: vlc: Update to 2.2.0
* gnu/packages/video.scm (vlc): Update to version 2.2.0.
2015-03-03 05:31:59 -08:00
Jason Self 32d9109f24 gnu: libvorbis: Update to 1.3.5
* gnu/packages/xiph.scm (libvorbis): Update to version 1.3.5.
2015-03-03 05:15:54 -08:00
Tomáš Čech df2b053af8 gnu: Add terminology.
* gnu/packages/enlightenment.scm (terminology): New variable.
2015-03-03 13:04:37 +01:00
Tomáš Čech cfa0468317 gnu: Add emotion-generic-players
* gnu/packages/enlightenment.scm (emotion-generic-players): New variable.
2015-03-03 13:04:37 +01:00
Tomáš Čech 87a37fdf72 gnu: Add evas-generic-loaders
* gnu/packages/enlightenment.scm (evas-generic-loaders): New variable.
2015-03-03 13:04:37 +01:00
Tomáš Čech 146ee5cd28 gnu: Add elementary.
* gnu/packages/enlightenment.scm (elementary): New variable.
2015-03-03 13:04:37 +01:00
Tomáš Čech 538fb23ea0 gnu: Add efl.
* gnu/packages/enlightenment.scm: New file
* gnu/packages/enlightenment.scm (efl): New variable.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-03 13:04:37 +01:00
Ricardo Wurmus 92cb152b37 gnu: Add snakemake.
* gnu/packages/python.scm (snakemake): New variable.
2015-03-03 10:22:23 +01:00
Mark H Weaver bbd0ea77ef gnu: libuv: Update to 1.4.2.
* gnu/packages/libevent.scm (libuv): Update to 1.4.2.  Update source URI.
  Add 'file-name' field to origin.  Move 'autogen' phase after 'unpack'.
  Run "sh autogen.sh" instead of "./autogen.sh".
2015-03-02 20:35:32 -05:00
Mark H Weaver 2ecebec142 gnu: skribilo: Adapt to recently renamed 'guile-reader' variable.
This is a followup to commit d6d9f1f715.

* gnu/packages/skribilo.scm (skribilo)[propagated-inputs]: Change
  'guile-reader/guile-2.0' --> 'guile-reader'.
2015-03-02 19:53:42 -05:00
Paul van der Walt 136770c9c7 gnu: Add girara.
* gnu/packages/gtk.scm (girara): Add variable.
2015-03-02 23:37:36 +01:00
Paul van der Walt 4ac696c68b gnu: check: Update version to 0.9.14
* gnu/packages/check.scm (check): Update to version 0.9.14.
2015-03-02 23:37:35 +01:00
Paul van der Walt 58acabc368 gnu: mpd: Update to 0.19.9.
* gnu/packages/mpd.scm (mpd): Update version to 0.19.9. Add boost and
  icu4c.
2015-03-02 23:37:35 +01:00
David Thompson bda0c1392a gnu: Add ruby-hoe.
* gnu/packages/ruby.scm (ruby-hoe): New variable.
2015-03-02 17:33:53 -05:00
David Thompson f3c96d474f build: ruby: Install executables in /bin.
* guix/build/ruby-build-system.scm (install): Add '--bindir' flag to gem
  command.
2015-03-02 17:33:53 -05:00
David Thompson 7e7c6a1ac0 build: ruby: Add gitify phase.
* guix/build-system/ruby.scm (lower): Add git as implicit input.
* guix/build/ruby-build-system.scm (gitify): New procedure.
  (%standard-phases): Add gitify phase.
2015-03-02 17:33:53 -05:00
David Thompson 927ff2c379 gnu: Add mpdscribble.
* gnu/packages/mpd.scm (mpdscribble): New variable.
2015-03-02 17:31:40 -05:00
Ludovic Courtès e343024dc4 gnu: tcsh: Use ISO-8859-1 when patching "tests/testsuite".
* gnu/packages/tcsh.scm (tcsh)[arguments]: Set %DEFAULT-PORT-ENCODING
  before substituting "tests/testsuite".  Fixes build failure at
  <http://hydra.gnu.org/build/266962/nixlog/1/raw>.
2015-03-02 23:18:27 +01:00
Ludovic Courtès 993300f6cc system: Create a single-file certificate bundle in /etc/ssl/certs.
Suggested by Mark H Weaver <mhw@netris.org>.

* gnu/system.scm (certificate-bundle): New procedure.
  (etc-directory): Use it.
  [profile]: Set 'SSL_CERT_DIR', 'SSL_CERT_FILE', and 'GIT_SSL_CAINFO'.
2015-03-02 23:05:13 +01:00
Ludovic Courtès e979e6dd52 system: Add 'x509-certificates' field, and populate /etc/ssl/certs.
* gnu/system.scm (<operating-system>)[x509-certificates]: New field.
  (etc-directory): Add #:x509-certificates parameter and honor it.
  (operating-system-etc-directory): Pass #:x509-certificates in
  'etc-directory' call.
* doc/guix.texi (operating-system Reference): Document
  'x509-certificates'.
2015-03-02 22:32:54 +01:00
Ludovic Courtès d6d9f1f715 gnu: Remove 'guile-reader-for-guile_1.8'.
This was a useful example back in July 2012, but not very useful
beyond that.

* gnu/packages/guile.scm (guile-reader): Turn into a plain package.
  [source]: Use mirror:// URI.
  [inputs]: Use GUILE-2.0.
  [arguments]: Use the site/2.0 directory for --with-moduledir.
  (guile-reader/guile-1.8, guile-reader/guile-2.0): Remove.
2015-03-02 21:40:53 +01:00
Ludovic Courtès 16c33bfb07 services: xorg: Fix file descriptor leak from SLiM/xinitrc.
This reverts commit 9515b74554.

* gnu/services/xorg.scm (xinitrc)[builder](close-all-fdes): Start from
  file descriptor 3.
2015-03-02 20:34:37 +01:00
Mark H Weaver 1204c5100e gnu: Add llvm-3.6.0 and clang-3.6.0.
* gnu/packages/llvm.scm (llvm): Update to 3.6.0.
  (clang-from-llvm): New procedure.
  (clang): Update to 3.6.0.  Reimplement using 'clang-from-llvm'.
  (llvm-3.5, clang-3.5): New variables.
2015-03-02 12:08:56 -05:00
Ricardo Wurmus 191c710139 gnu: Add crossmap.
* gnu/packages/bioinformatics.scm (crossmap): New variable.
* gnu/packages/patches/crossmap-allow-system-pysam.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-03-02 17:23:56 +01:00
Ludovic Courtès 7e75a6739b gexp: Make sure 'gexp-outputs' removes duplicate outputs.
Fixes a regression introduced in f9efe56.

* guix/gexp.scm (gexp-outputs): Add call to 'delete-duplicates'.
* tests/gexp.scm ("output list, combined gexps, duplicate output"): New
  test.
2015-03-02 16:26:13 +01:00
宋文武 1385d37a6e gnu: gtk-xfce-engine: Update to 2.10.0.
* gnu/packages/xfce.scm (gtk-xfce-engine): Update to 2.10.0.
2015-03-02 21:27:42 +08:00
Ricardo Wurmus 810cff8557 gnu: Add CLIPper.
* gnu/packages/bioinformatics.scm (clipper): New variable.
2015-03-02 14:11:54 +01:00
Ricardo Wurmus 240ca4aae7 gnu: Add Scikit-learn.
* gnu/packages/python.scm (python-scikit-learn, python2-scikit-learn): New
  variables.
2015-03-02 14:09:10 +01:00
宋文武 b283679951 gnu: xfconf: Re-enable tests.
* gnu/packages/xfce.scm (xfconf)[arguments]: Add #:phases.
2015-03-02 20:37:21 +08:00
Ricardo Wurmus d57e6d0f8e gnu: Add MACS.
* gnu/packages/bioinformatics.scm (macs): New variable.
2015-03-02 11:33:13 +01:00
Ricardo Wurmus a2fb1492af gnu: Add pybedtools.
* gnu/packages/bioinformatics.scm (python2-pybedtools): New variable.
2015-03-02 11:32:10 +01:00
Ricardo Wurmus 8d12be1eb1 gnu: Add pyyaml.
* gnu/packages/python.scm (python-pyyaml, python2-pyyaml): New variables.
2015-03-02 11:31:14 +01:00
Mark H Weaver 649b5e1bd4 gnu: libotr: Update to 4.1.0.
* gnu/packages/messaging.scm (libotr): Update to 4.1.0.
2015-03-02 00:09:09 -05:00
Mark H Weaver 9515b74554 Revert "services: xorg: Fix file descriptor leak from SLiM/xinitrc."
This reverts commit ec4a4c46ef,
because it broke XFCE.
2015-03-01 23:57:23 -05:00
Mark H Weaver e013220eb6 gnu: xfconf: Update to 4.12.0.
* gnu/packages/xfce.scm (xfconf): Update to 4.12.0.  Disable tests.
2015-03-01 20:16:45 -05:00
Mark H Weaver f6176e7870 gnu: gnu-pw-mgr: Update to 1.3.
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 1.3.
2015-03-01 19:44:13 -05:00
Mark H Weaver 0a5c308782 gnu: sharutils: Update to 4.15.
* gnu/packages/compression.scm (sharutils): Update to 4.15.
2015-03-01 19:42:57 -05:00
Mark H Weaver 5245251eaa gnu: gdb: Update to 7.9.
* gnu/packages/gdb.scm (gdb): Update to 7.9.
2015-03-01 19:35:46 -05:00
Mark H Weaver 3820d39739 Merge branch 'master' into core-updates
Conflicts:
	gnu/packages/gnupg.scm
2015-03-01 19:05:29 -05:00
Mark H Weaver afff9058a0 gnu: gnupg: Update to 2.0.27.
* gnu/packages/gnupg.scm (gnupg): Update to 2.0.27.
2015-03-01 19:02:49 -05:00
Mark H Weaver 751be9a056 gnu: libgcrypt: Update to 1.6.3.
* gnu/packages/gnupg.scm (libgcrypt): Update to 1.6.3.
2015-03-01 18:52:02 -05:00
Ludovic Courtès 6b9540bcff gnu: wget: Update to 1.16.2.
* gnu/packages/wget.scm (wget): Update to 1.16.2.
  [inputs]: Add PKG-CONFIG.
2015-03-01 22:22:43 +01:00
Ludovic Courtès ec35d36495 gnu: libpsl: Fix link flag in 'libpsl.pc'.
* gnu/packages/web.scm (libpsl)[source]: Add 'snippet' and 'modules'
  fields.
2015-03-01 22:22:43 +01:00
Ludovic Courtès 9041d935c4 gnu: gnupg-1: Update to 1.4.19.
* gnu/packages/gnupg.scm (gnupg-1): Update to 1.4.19.
2015-03-01 22:22:43 +01:00
Taylan Ulrich Bayırlı/Kammer cb03a9b6a2 gnu: ecl: Update to version 15.2.21.
* gnu/packages/lisp.scm (ecl): Update to version 15.2.21, and disable the test
  suite because ECL now fails to initialize during 'make check'.
2015-03-01 21:29:33 +01:00
Mathieu Lirzin 76212b57f6 gnu: Add xbindkeys.
* gnu/packages/xdisorg.scm (xbindkeys): New variable.
2015-03-01 11:22:19 -05:00
Ricardo Wurmus eb0fb087b9 gnu: Add AlsaModularSynth.
* gnu/packages/audio.scm (alsa-modular-synth): New variable.
2015-03-01 17:07:51 +01:00
Ricardo Wurmus 631ac903b6 gnu: Add clalsadrv.
* gnu/packages/audio.scm (clalsadrv): New variable.
2015-03-01 17:07:44 +01:00
Ludovic Courtès bbe7a2ce0c Revert "build-system/gnu: Keep the sloppy conversion strategy during bootstrap."
This reverts commit b479c3ddaf.
This commit was the result of an incorrect characterization of the
problem; see the log of commit 87c8b92 for details.
2015-03-01 17:05:41 +01:00
Ludovic Courtès 87c8b92f50 gnu: commencement: Make UTF-8 locales available right after 'guile-final'.
In <http://hydra.gnu.org/build/263170>, we see:

   153: 12 [patch-usr-bin-file #:native-inputs #f ...]

  [...]

     ?: 1 [regexp-exec # ...]
  In ice-9/boot-9.scm:
   106: 0 [#<procedure 1998ec0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> encoding-error ...]

  ice-9/boot-9.scm:106:20: In procedure #<procedure 1998ec0 at ice-9/boot-9.scm:97:6 (thrown-k . args)>:
  ice-9/boot-9.scm:106:20: Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert narrow string to output locale" 84 #f #f)'.

This is due to that fact that 'patch-/usr/bin/file' read a line
containing a byte sequence with bytes > 127 (namely a copyright sign.)
But this build was running with a C locale, and so those bytes cannot be
represented in that locale, hence this error.

This commit makes the UTF-8 locales available earlier such that
everything can be represented in locale encoding.

* gnu/packages/commencement.scm (glibc-utf8-locales-final): Move
  earlier; change "gzip" input to GZIP built with %BOOT4-INPUTS.
  (%boot5-inputs): Define to %BOOT4-INPUTS plus
  GLIBC-UTF8-LOCALES-FINAL.
  (gnu-make-final, coreutils-final, grep-final): Use it instead of
  %BOOT4-INPUTS.
  (gzip-final): Remove.
  (%boot6-inputs): New variable.
  (%final-inputs): Use it instead of %BOOT5-INPUTS.  Don't rely on
  GZIP-FINAL.
2015-03-01 17:03:04 +01:00
宋文武 8ccf68f9e0 gnu: xfwm4: Add inputs libdrm and libxdamage.
* gnu/packages/xfce.scm (xfwm4): Add libdrm and libxdamage to inputs.
2015-03-01 18:41:57 +08:00
宋文武 39a4d761c7 gnu: xfwm4: Update to 4.12.0.
* gnu/packages/xfce.scm (xfwm4): Update 4.12.0.
2015-03-01 18:41:02 +08:00
宋文武 046bcf2952 gnu: xfdesktop: Update to 4.12.0.
* gnu/packages/xfce.scm (xfdesktop): Update to 4.12.0.
2015-03-01 18:38:52 +08:00
宋文武 ad1540062b gnu: thunar-volman: Update to 0.8.1.
* gnu/packages/xfce.scm (thunar-volman): Update to 0.8.1.
2015-03-01 18:38:39 +08:00
宋文武 78daf79be1 gnu: thunar: Update to 1.6.6.
* gnu/packages/xfce.scm (thunar): Update to 1.6.6.
2015-03-01 18:38:22 +08:00
宋文武 2998f7181f gnu: xfce4-settings: Update to 4.12.0.
* gnu/packages/xfce.scm (xfce4-settings): Update to 4.12.0.
2015-03-01 18:38:06 +08:00
宋文武 3d75c320fa gnu: xfce4-session: Update to 4.12.0.
* gnu/packages/xfce.scm (xfce4-session): Update to 4.12.0.
2015-03-01 18:37:54 +08:00
宋文武 be3db25a52 gnu: xfce4-appfinder: Update to 4.12.0.
* gnu/packages/xfce.scm (xfce4-appfinder): Update to 4.12.0.
2015-03-01 18:37:37 +08:00
宋文武 bcd54994f0 gnu: xfce4-panel: Update to 4.12.0.
* gnu/packages/xfce.scm (xfce4-panel): Update to 4.12.0.
2015-03-01 18:37:20 +08:00
宋文武 3786be080f gnu: tumbler: Update to 0.1.31.
* gnu/packages/xfce.scm (tumbler): Update to 0.1.31.
2015-03-01 18:37:04 +08:00
宋文武 ea3fb8f183 gnu: garcon: Update to 0.4.0.
* gnu/packages/xfce.scm (garcon): Update to 0.4.0.
2015-03-01 18:36:48 +08:00
宋文武 9ade90ae52 gnu: exo: Update to 0.10.3.
* gnu/packages/xfce.scm (exo): Update to 0.10.3.
2015-03-01 18:36:26 +08:00
宋文武 7379ffc1a0 gnu: libxfce4ui: Update to 4.12.0.
* gnu/packages/xfce.scm (libxfce4ui): Update to 4.12.0.
2015-03-01 18:36:12 +08:00
宋文武 96fffedea0 gnu: libxfce4util: Update to 4.12.1.
* gnu/packages/xfce.scm (libxfce4util): Update to 4.12.1.
2015-03-01 18:35:14 +08:00
Ludovic Courtès ec4a4c46ef services: xorg: Fix file descriptor leak from SLiM/xinitrc.
Previously processes started from the window manager would have a couple
of leaked file descriptors: writable /var/log/slim.log and readable
/gnu/store/…-xinitrc.

* gnu/services/xorg.scm (xinitrc)[builder]: Add 'close-all-fdes'.  Use
  it in 'exec-from-login-shell'.
2015-03-01 00:25:30 +01:00
Ludovic Courtès b479c3ddaf build-system/gnu: Keep the sloppy conversion strategy during bootstrap.
* guix/build/gnu-build-system.scm (gnu-build): Leave
  %DEFAULT-PORT-CONVERSION-STRATEGY unchanged when 'string->bytevector'
  fails to convert to ISO-8859-1.  This is an attempt to work around the
  build failures at <http://hydra.gnu.org/build/263002>.
2015-03-01 00:23:07 +01:00
Ricardo Wurmus 74bbf89495 gnu: Add zita-alsa-pcmi.
* gnu/packages/audio.scm (zita-alsa-pcmi): New variable.
2015-02-28 22:30:19 +01:00
Ricardo Wurmus 8fb79e3dfb gnu: Add LV2 mda EPiano plugin.
* gnu/packages/audio.scm (lv2-mdaepiano): New variable.
2015-02-28 22:29:57 +01:00
Ricardo Wurmus 982471276b gnu: Add LV2 mda Piano plugin.
* gnu/packages/audio.scm (lv2-mdapiano): New variable.
2015-02-28 22:29:47 +01:00
Ricardo Wurmus dd6b54b846 gnu: Add txt2man.
* gnu/packages/man.scm (txt2man): New variable.
2015-02-28 21:54:29 +01:00
David Thompson 654b27e56e gnu: mpd: Export package variables using define-public.
* gnu/packages/mpd.scm: Use define-public for package variables.  Remove
  #:exports from module declaration.
2015-02-28 14:05:20 -05:00
Paul van der Walt 773b2792e1 gnu: Add mpd-mpc.
* gnu/packages/mpd.scm (mpd-mpc): New variable.
2015-02-28 13:10:32 -05:00
Paul van der Walt e42dc6249c gnu: ncmpcpp: Update to 0.6.2
* gnu/packages/mpd.scm (ncmpcpp): Update to version 0.6.2.  Add boost,
  readline, autotools inputs.
2015-02-28 09:54:12 -05:00
Mark H Weaver f586c87705 gnu: Add 'file-name' fields for github source tarballs without a name.
* gnu/packages/aarddict.scm (aarddict), gnu/packages/algebra.scm (arb),
  gnu/packages/audio.scm (jack-2, lvtk),
  gnu/packages/bioinformatics.scm (bedops, bedtools, bowtie),
  gnu/packages/game-development.scm (tiled),
  gnu/packages/games.scm (minetest-data, minetest, retroarch),
  gnu/packages/jrnl.scm (jrnl), gnu/packages/kde.scm (qjson),
  gnu/packages/libevent.scm (libuv), gnu/packages/linux.scm (pflask),
  gnu/packages/mail.scm (offlineimap, libetpan),
  gnu/packages/maths.scm (arpack-ng), gnu/packages/ninja.scm (ninja),
  gnu/packages/nutrition.scm (gourmet),
  gnu/packages/python.scm (python-cairocffi), gnu/packages/rdf.scm (lrdf),
  gnu/packages/ruby.scm (ruby-i18n), gnu/packages/sxiv.scm (sxiv): Add
  'file-name' field to origin.
2015-02-28 09:49:01 -05:00
Mark H Weaver 722ec72244 gnu: Move autoconf-style phases after the unpack phase.
* gnu/packages/audio.scm (soundtouch)[arguments]: Move 'bootstrap'
  after 'unpack'.  Remove custom /usr/bin/file patching, which will
  now be handled by the 'patch-usr-bin-file' phase.
* gnu/packages/emacs.scm (emacs-w3m)[arguments]: Rename 'pre-configure'
  phase to 'autoconf' and move it after 'unpack'.
* gnu/packages/fontutils.scm (libuninameslist)[arguments]: Move 'bootstrap'
  phase after 'unpack'.
* gnu/packages/libevent.scm (libuv)[arguments]: Move 'autogen' phase after
  'unpack'.  Run "sh autogen.sh" instead of "./autogen.sh".
* gnu/packages/linux.scm (bridge-utils)[arguments]: Move 'bootstrap' phase
  after 'unpack'.
* gnu/packages/mail.scm (libetpan)[arguments]: Move 'autogen' phase after
  'unpack'.  Run "sh autogen.sh" instead of "./autogen.sh".  Setenv
  "NOCONFIGURE" before running autogen.sh.
* gnu/packages/package-management.scm (guix-devel)[arguments]: Move
  'bootstrap' phase after 'unpack'.  Run "sh autogen.sh" instead of
  "./autogen.sh".
* gnu/packages/rdf.scm (lrdf)[arguments]: Move 'autoreconf' phase after
  'remove-out-of-tree-references' phase.
* gnu/packages/tor.scm (privoxy)[arguments]: Move 'autoconf' phase after
  'unpack'.
* gnu/packages/web.scm (libpsl)[arguments]: Move 'bootstrap' phase after
  'unpack'.  Run "sh autogen.sh" instead of "./autogen.sh".  Remove
  'fix-autogen-shebang' phase.
2015-02-28 09:49:01 -05:00
Paul van der Walt 17dd4329eb gnu: mail: Add copyright line.
* gnu/packages/mail.scm (mu): Add forgotten copyright line.
2015-02-28 09:48:28 -05:00
Ludovic Courtès dd0a8ef15f utils: Treat 'configure' and Makefiles with an 8-bit encoding.
* guix/build/utils.scm (patch-makefile-SHELL, patch-/usr/bin/file): Wrap
  'substitute*' in 'with-fluids'.  Fixes <http://hydra.gnu.org/build/262895>.
2015-02-28 12:25:22 +01:00
宋文武 692784ddbb gnu: Add font-adobe-source-han-sans.
* gnu/packages/fonts.scm (font-adobe-source-han-sans): New variable.
2015-02-28 17:51:29 +08:00
Andreas Enge 88c268347b gnu: python: Drop special handling of python2-numpydoc as input.
* gnu/packages/python.scm (python2-numpy, python2-matplotlib,
  python2-ipython): Keep input python2-numpydoc created by
  package-with-python2.
2015-02-28 01:17:57 +01:00
Ludovic Courtès 4db87162e6 packages: Set the port conversion strategy to 'error'.
Suggested by Mark H Weaver.

* guix/build/gnu-build-system.scm (gnu-build): Set
  %DEFAULT-PORT-CONVERSION-STRATEGY to 'error.
* guix/packages.scm (patch-and-repack)[builder]: Likewise.
2015-02-28 01:10:24 +01:00
Andreas Enge 5e4d8f6710 gnu: python-numpydoc: Drop one test.
* gnu/packages/python.scm (python-numpydoc): Drop one test for all Python
  versions.
  (python2-numpydoc): Define it by package-with-python2 without modifications.
2015-02-28 01:08:37 +01:00
Ludovic Courtès ca1e3ad2fa utils: Change 'patch-shebangs' to use binary input.
* guix/build/utils.scm (get-char*): New procedure.
  (patch-shebang): Use it instead of 'read-char'.
  (fold-port-matches): Remove local 'get-char' and use 'get-char*'
  instead.
2015-02-28 01:01:51 +01:00
Andreas Enge 7ca0dbc3f0 gnu: python2-py2cairo: Rename to python2-pycairo.
* gnu/packages/gtk.scm (python2-py2cairo): Rename to ...
  (python2-pycairo): ... this
  (python2-pygtk): Adapt input.
* gnu/packages/glib.scm (python2-pygobject-2): Adapt input.
* gnu/packages/python.scm (package-with-python2): Adapt input.
2015-02-27 23:53:57 +01:00
Ludovic Courtès f9efe568c3 gexp: Aggregate outputs of compound gexps.
* guix/gexp.scm (gexp-outputs)[add-reference-output]: Recurse into
  lists.
* tests/gexp.scm ("output list + ungexp-splicing list, combined gexps"):
  New test.
2015-02-27 22:05:40 +01:00
Ludovic Courtès 4b23c4664e gexp: Add tests for 'gexp-outputs'.
* tests/gexp.scm (gexp-outputs): New procedure.
  ("output list", "output list, combined gexps"): New tests.
2015-02-27 22:03:20 +01:00
Ludovic Courtès c9727aac40 download: Comment on lack of progress report with chunked encoding.
* guix/build/download.scm (progress-proc): Add comment.
2015-02-27 15:08:37 +01:00
Ludovic Courtès 9fbe6f1920 download: Measure and display the throughput.
* guix/build/download.scm (duration->seconds, throughput->string): New
  procedures.
  (progress-proc): Measure and display the throughput.
2015-02-27 15:08:37 +01:00
Ludovic Courtès e7620dc995 download: Abstract the receive buffer size.
* guix/build/download.scm (%http-receive-buffer-size): New variable.
  (progress-proc, tls-wrap, http-fetch): Use it.
2015-02-27 15:08:37 +01:00
Ludovic Courtès 2c1fb35377 utils: Call the progress-report proc when 'dump-port' starts.
* guix/build/utils.scm (dump-port): Add call to PROGRESS at the
  beginning.
2015-02-27 15:08:37 +01:00
Ludovic Courtès 251e8b2ee8 build-system/gnu: Set $LC_ALL (or similar) to the chosen locale.
Suggested by Mark H Weaver.

* guix/build/utils.scm (locale-category->string): New procedure.
* guix/build/gnu-build-system.scm (install-locale): Add 'setenv' call.
2015-02-27 15:08:37 +01:00
Ludovic Courtès 7184b4b1bd gnu: Remove now unneeded 'localedef' invocations.
This is a followup to commit b0fd2bd.

* gnu/packages/gawk.scm (gawk)[arguments] <install-locales>: Add comment
  on why we leave this here.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove
  'install-locales' phase.
* gnu/packages/swig.scm (swig)[arguments]: Likewise.
* gnu/packages/python.scm (python-matplotlib): Remove 'LOCPATH' setting
  and 'localedef' invocation.
  (python-scipy): Likewise.
2015-02-27 15:08:37 +01:00
Ludovic Courtès da6dd842d0 gnu: Remove now unneeded 'unpack' phases for unzip.
This is a followup to commit cd0385b.

* gnu/packages/bioinformatics.scm (hisat)[arguments]: Remove 'unpack'
  phase.
* gnu/packages/image.scm (freeimage): Likewise.
* gnu/packages/python.scm (python2-cssutils): Likewise.
2015-02-27 15:08:37 +01:00
Ludovic Courtès e8c9f0498f gnu: gettext: Set encoding to ISO-8859-1 when modifying files.
* gnu/packages/gettext.scm (gnu-gettext)[arguments] <patch-tests>: Set
  %default-port-encoding.  Fixes test failures at
  <http://hydra.gnu.org/build/262586>.
2015-02-27 15:08:37 +01:00
Jason Self ac4cbcc10a gnu: linux-libre: Update to 3.18.8
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.8.
2015-02-27 05:02:31 -08:00
宋文武 50915d2c2e build-system/cmake: Enable verbose output from Makefile builds.
* guix/build/cmake-build-system.scm (configure): Pass
  -DCMAKE_VERBOSE_MAKEFILE=ON to cmake.
2015-02-27 19:10:40 +08:00
宋文武 f1886b51bd gnu: cmake: Update to 3.1.3.
* gnu/packages/cmake.scm (cmake): Update to 3.1.3.
2015-02-27 18:53:25 +08:00
Paul van der Walt 922eaededc gnu: mu: Update to 0.9.11.
* gnu/packages/mail.scm (mu): Update to 0.9.11.  Update source URI.  Add
  autoconf, automake, and libtool to native-inputs.  Add autoreconf phase.
2015-02-26 20:53:41 -05:00
Mark H Weaver 77888fae13 gnu: cairo: Enable tee surface backend.
* gnu/packages/gtk.scm (cairo)[arguments]: Add --enable-tee to
  configure-flags.
2015-02-26 19:22:57 -05:00
Mark H Weaver e5718ca1e6 gnu: sqlite: Update to 3.8.8.3.
* gnu/packages/databases.scm (sqlite): Update to 3.8.8.3.
2015-02-26 19:22:27 -05:00
Mark H Weaver 8f1d22b718 gnu: sqlite: Add "CFLAGS=-O2 -DSQLITE_SECURE_DELETE" to configure-flags.
* gnu/packages/databases.scm (sqlite)[arguments]: Add "CFLAGS=-O2
  -DSQLITE_SECURE_DELETE" to configure-flags.
2015-02-26 18:30:43 -05:00
Ludovic Courtès f307947ecc ld-wrapper: Add '-rpath' for arguments such as 'libfoo.so.5.3'.
Suggested by Andreas Enge <andreas@enge.fr>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00810.html>.
CMake command lines appear to refer to such file names.

* gnu/packages/ld-wrapper.scm (shared-library?): New procedure.
  (library-files-linked): Use it.
2015-02-27 00:09:30 +01:00
Ludovic Courtès 9cca706c2e packages: When possible, use a UTF-8 locale in patch-and-repack.
* guix/packages.scm (%standard-patch-inputs): Add "locales".
  (patch-and-repack)[builder]: Add 'locales' variable.  When it is true,
  call 'setenv' and 'setlocale'.
2015-02-27 00:03:17 +01:00
Ludovic Courtès b0fd2bd3c5 gnu: Add glibc-utf8-locales to the implicit inputs.
Suggested by Mark H Weaver and Andreas Enge
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00356.html>.

* gnu/packages/commencement.scm (gzip-final, glibc-utf8-locales-final):
  New variables.
  (%final-inputs): Use them.
2015-02-26 23:41:49 +01:00
Ludovic Courtès 5335c56e8e build-system/gnu: Add 'install-locale' phase.
* guix/build/gnu-build-system.scm (install-locale): New procedure.
  (%standard-phases): Add it.
* guix/build-system/gnu.scm (gnu-build): Add #:locale and pass it to
  the build script.
  (gnu-cross-build): Likewise.
2015-02-26 23:36:55 +01:00
Ludovic Courtès f84218acae build-system: Use 'modify-phases'.
* guix/build/cmake-build-system.scm (%standard-phases): Use
  'modify-phases' instead of alist-*.
* 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.
2015-02-26 23:00:21 +01:00
Ludovic Courtès 8ddc41e1f2 utils: Add 'modify-phases'.
* guix/build/utils.scm (modify-phases): New macro.
2015-02-26 22:48:39 +01:00
Ludovic Courtès cd0385b61a build-system/gnu: Add support for zip archives.
Fixes <http://bugs.gnu.org/19866>.
Reported by Andreas Enge <andreas@enge.fr>.

* guix/build/gnu-build-system.scm (unpack): Use 'unzip' when SOURCE ends
  in '.zip'.
2015-02-26 22:48:33 +01:00
Ludovic Courtès 93be4e8e6c Merge branch 'master' into core-updates 2015-02-26 22:37:12 +01:00
Ludovic Courtès e150917495 services: slim: Add "F1 to change" in session message.
* gnu/services/xorg.scm (slim-service)[slim.cfg]: Add 'session_msg'.
2015-02-26 22:25:15 +01:00
Ludovic Courtès a21b23d34a services: slim: Preserve the order of session types.
That makes WindowMaker the default session, by default.

* gnu/services/xorg.scm (xsessions-directory)[builder]: Prepend a number
  in the file name to preserve the order of SESSIONS.
  (slim-service): Augment docstring.
* doc/guix.texi (X Window): Adjust accordingly.
2015-02-26 22:25:15 +01:00
Ludovic Courtès 9f2840cb52 gnu: openexr: Add synopsis.
* gnu/packages/graphics.scm (openexr)[synopsis]: Fill in.
  [description]: Improve.
2015-02-26 22:25:15 +01:00
Mark H Weaver a068dba78b gnu: grep: Apply fix for CVE-2015-1345.
* gnu/packages/patches/grep-CVE-2015-1345.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (grep): Add patch.
2015-02-26 05:16:04 -05:00
Mark H Weaver baece08a04 gnu: samba: Update to 3.6.25.
* gnu/packages/samba.scm (samba): Update to 3.6.25.
2015-02-26 02:23:06 -05:00
Mark H Weaver 183eaf877f gnu: e2fsprogs: Update to 1.42.12.
* gnu/packages/linux.scm (e2fsprogs): Update to 1.42.12.
2015-02-26 02:23:06 -05:00
Mark H Weaver 24d77d1038 doc: Remove reference to git submodules in HACKING.
* HACKING: Remove mention of git submodules.
2015-02-26 00:44:13 -05:00
Mark H Weaver 8830740643 gnu: icecat: Apply fixes for CVE-2015-{0822,0827,0831,0836}.
* gnu/packages/patches/icecat-CVE-2015-0822.patch,
  gnu/packages/patches/icecat-CVE-2015-0827-pt-1.patch,
  gnu/packages/patches/icecat-CVE-2015-0827-pt-2.patch,
  gnu/packages/patches/icecat-CVE-2015-0827-pt-3.patch,
  gnu/packages/patches/icecat-CVE-2015-0831-pt-1.patch,
  gnu/packages/patches/icecat-CVE-2015-0831-pt-2.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-01.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-02.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-03.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-04.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-05.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-06.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-07.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-08.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-09.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-10.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-11.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2015-02-26 00:39:31 -05:00
Mark H Weaver 5be2f8844d gnu: luajit: Fix patch file names in gnu-system.am.
* gnu-system.am (dist_patch_DATA): Fix patch file names.
2015-02-25 21:00:43 -05:00
Tomáš Čech dcaf2511d7 gnu: Fix luajit installation
* gnu/packages/lua.scm (luajit): Apply 2 patches.
* gnu-system.am (dist_patch_DATA): Register 2 patches.
* gnu/packages/patches/luajit-no_ldconfig.patch: New file.
* gnu/packages/patches/luajit-symlinks.patch: New file.
2015-02-26 00:43:02 +01:00
Andreas Enge 447260319b gnu: Add avidemux.
* gnu/packages/video.scm (avidemux, avidemux-2.5): New variables.
2015-02-26 00:08:17 +01:00
Ludovic Courtès fe3df05091 build: Bump version number.
* configure.ac: Change to version 0.8.2.
2015-02-26 00:04:36 +01:00
Ludovic Courtès e9c1e22f04 ui: Add missing copyright line.
* guix/ui.scm: Add copyright line for Deck (aka. nebuli).
2015-02-26 00:04:36 +01:00
Ludovic Courtès cf6ce3e6ef ui: Honor --no-* options passed via $GUIX_BUILD_OPTIONS.
Reported by Alex Kost <alezost@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00702.html>.

* guix/ui.scm (parse-command-line)[parse-options-from]: Add 'seeds'
  parameter.
  Thread the result of the first 'parse-options-from' call to the
  second.
2015-02-26 00:04:36 +01:00
Ludovic Courtès b3f213893b ui: Factorize command-line + env. var. option parsing.
* guix/ui.scm (%default-argument-handler, parse-command-line): New
  procedures.
  (environment-build-options): Make private.
* guix/scripts/archive.scm (guix-archive)[parse-options,
  parse-options-from]: Remove.  Use 'parse-command-line' instead.
* guix/scripts/build.scm (guix-build): Likewise.
* guix/scripts/environment.scm (guix-environment): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* tests/ui.scm (with-environment-variable): New macro.
  ("parse-command-line"): New test.
2015-02-26 00:04:36 +01:00
Taylan Ulrich Bayırlı/Kammer 72bfebf58d gnu: ffmpeg: Add soxr and twolame as inputs.
* gnu/packages/video.scm (ffmpeg): Add soxr and twolame as inputs.
2015-02-25 22:09:35 +01:00
Ludovic Courtès 60a2d27edd gnu: nss-mdns: Use /var as the localstatedir.
Reported by Mark H Weaver <mhw@netris.org>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00686.html>.

* gnu/packages/avahi.scm (nss-mdns)[arguments]: Use
  --localstatedir=/var.
2015-02-25 18:03:51 +01:00
Ludovic Courtès faf0f39bd3 services: nscd: Make sure /var/db/nscd exists.
* gnu/services/base.scm (nscd-service)[activate]: Make /var/db/nscd.
2015-02-25 18:02:13 +01:00
Ludovic Courtès 9d620590b9 gnu: Add CTL.
* gnu/packages/graphics.scm (ctl): New variable.
2015-02-25 17:05:45 +01:00
Ludovic Courtès cab6a2535a gnu: Add OpenEXR and IlmBase.
* gnu/packages/graphics.scm (ilmbase, openexr): New variables.
* gnu/packages/patches/openexr-missing-samples.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-02-25 16:58:50 +01:00
Taylan Ulrich Bayırlı/Kammer bd4464f2e9 gnu: Add portaudio.
* gnu/packages/audio.scm (portaudio): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer 49f3670889 gnu: Add twolame.
* gnu/packages/audio.scm (twolame): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer 4bddd14c11 gnu: Add soxr.
* gnu/packages/audio.scm (soxr): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer 754a98ae42 gnu: Add soundtouch.
* gnu/packages/audio.scm (soundtouch): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer 9f1cdd9dfa gnu: Add libsbsms.
* gnu/packages/audio.scm (libsbsms): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer e6caa52d85 gnu: Add cpufrequtils.
* gnu/packages/linux.scm (cpufrequtils): New variable.
* gnu/packages/patches/cpufrequtils-fix-aclocal.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-02-25 15:27:48 +01:00
Taylan Ulrich Bayırlı/Kammer a9a1a40b50 gnu: Add sysfsutils-1.
* gnu/packages/linux.scm (sysfsutils-1): New variable.
2015-02-25 15:27:48 +01:00
Taylan Ulrich Bayırlı/Kammer 37f5caec4e gnu: Add sysfsutils.
* gnu/packages/linux.scm (sysfsutils): New variable.
2015-02-25 15:27:48 +01:00
Ludovic Courtès c9505f3ffa gnu: Add glibc-utf8-locales.
* gnu/packages/base.scm (glibc-utf8-locales): New variable.
2015-02-25 14:13:30 +01:00
Andreas Enge 5e5784a91d gnu: python2-rdflib: Explicitly build with python-2.
* gnu/packages/rdf.scm (python2-rdflib): Add argument to build with python-2.
2015-02-25 10:55:28 +01:00
Ludovic Courtès 8a00b93027 gnu: glibc: Change 'LOCPATH' specification to look for "lib/locale".
Suggested by Andreas Schwab <schwab@linux-m68k.org>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00652.html>.

* gnu/packages/base.scm (glibc)[native-search-paths]: Change
  "share/locale" to "lib/locale".
2015-02-25 09:46:13 +01:00
Mark H Weaver c964a15d82 download: Cope with Guile 2.0.6 or earlier.
* guix/build/download.scm: Do not attempt to support relative URIs in
  "Location" headers if 'declare-relative-uri-header!' is not present.
  This is the case for Guile 2.0.6 or earlier.
2015-02-24 20:01:55 -05:00
Andreas Enge da71f145c6 gnu: Add python2-rdflib.
* gnu/packages/rdf.scm (python2-rdflib): New variable.
  (python-rdflib): Add patch.
* gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2015-02-25 00:58:20 +01:00
Andreas Enge 3dd7547666 gnu: python-html5lib: Add propagated input.
* gnu/packages/python.scm (python-html5lib): Add propagated input python-six.
  (python2-html5lib): Add propagated input python2-six.
2015-02-25 00:58:20 +01:00
Andreas Enge 0c20025c05 gnu: Add python2-six.
* gnu/packages/python.scm (python2-six): New variable.
2015-02-25 00:58:20 +01:00
Andreas Enge 4219f48f70 gnu: python-rdflib: Correct typo.
* gnu/packages/rdf.scm (python-rdflib): Correct typo in the name of an input.
2015-02-25 00:58:20 +01:00
Ludovic Courtès b9e02a71a9 gnu: glibc-locales: Install to lib/locales.
Suggested by Andreas Schwab <schwab@linux-m68k.org>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00652.html>.

* gnu/packages/base.scm (glibc-locales) <#:configure-flags>: Change
  "/share/locale" to "/lib/locale".
2015-02-25 00:47:49 +01:00
David Thompson 61452a5ab1 gnu: Add pumpa.
* gnu/packages/pumpio.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-24 18:00:31 -05:00
Ludovic Courtès 6e1a7d17f4 guix system: Honor '--no-grub'.
Reported by Alex Kost <alezost@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00564.html>.

* guix/scripts/system.scm (%options) <no-grub>: Use 'alist-cons' instead
  of 'alist-delete'.
2015-02-24 23:43:03 +01:00
Ludovic Courtès a4d8c40f7d artwork: Update to latest GRUB image.
* gnu/artwork.scm (%artwork-repository): Update to newer snapshot.
2015-02-24 23:43:03 +01:00
Ludovic Courtès 4cc78cb38f gnu: Sync GNU synopses and descriptions.
* gnu/packages/games.scm (gnugo): Adjust synopsis.
* gnu/packages/libffcall.scm (libffcall): Likewise.
* gnu/packages/lisp.scm (clisp): Adjust synopsis and description.
2015-02-24 23:43:03 +01:00
Ludovic Courtès 2178ed66f7 build: Reject or warn against file name length limit overruns.
* m4/guix.m4 (GUIX_TEST_ROOT_DIRECTORY, LINUX_HASH_BANG_LIMIT,
  SOCKET_FILE_NAME_LIMIT, GUIX_SOCKET_FILE_NAME_LENGTH,
  GUIX_TEST_SOCKET_FILE_NAME_LENGTH, GUIX_HASH_BANG_LENGTH,
  GUIX_CHECK_FILE_NAME_LIMITS): New macros.
* configure.ac: Use 'GUIX_CHECK_FILE_NAME_LIMITS'.
* config-daemon.ac: Use 'GUIX_TEST_ROOT_DIRECTORY'.
* test-env.in: Check socket name length and emit warning if it exceeds
  107.
2015-02-24 23:43:03 +01:00
Ludovic Courtès 43da8f018d build: Disable grafting in sanity checks.
* build-aux/check-available-binaries.scm: Wrap body in 'parameterize'
  form that clears '%graft?'.
* build-aux/check-final-inputs-self-contained.scm: Likewise.
2015-02-24 23:43:03 +01:00
Ricardo Wurmus 9ffee4571c gnu: Add TiMidity++.
* gnu/packages/audio.scm (timidity++): New variable.
2015-02-24 23:01:12 +01:00
Ricardo Wurmus 7c92efffe6 gnu: Add Freepats.
* gnu/packages/audio.scm (freepats): New variable.
2015-02-24 23:01:12 +01:00
Ricardo Wurmus 8d422e258b gnu: Add Stow.
* gnu/packages/package-management.scm (stow): New variable.
2015-02-24 21:29:27 +01:00
Ricardo Wurmus fb0832037f gnu: Add Test::Output.
* gnu/packages/perl.scm (perl-test-output): New variable.
2015-02-24 21:29:27 +01:00
Ricardo Wurmus 61593ab3d6 gnu: Add Sub::Exporter.
* gnu/packages/perl.scm (perl-sub-exporter): New variable.
2015-02-24 21:29:27 +01:00
Ricardo Wurmus 1420576458 gnu: Add Data::OptList.
* gnu/packages/perl.scm (perl-data-optlist): New variable.
2015-02-24 21:29:27 +01:00
Ricardo Wurmus 6f38dce749 gnu: Add Capture::Tiny.
* gnu/packages/perl.scm (perl-capture-tiny): New variable.
2015-02-24 21:29:27 +01:00
Ricardo Wurmus 8ba06a38c1 gnu: Add Params::Util.
* gnu/packages/perl.scm (perl-params-util): New variable.
2015-02-24 21:29:27 +01:00
Ricardo Wurmus aeccd1bda2 gnu: Add Sub::Install.
* gnu/packages/perl.scm (perl-sub-install): New variable.
2015-02-24 21:29:27 +01:00
Ricardo Wurmus 7ad608e49d gnu: Add Xournal.
* gnu/packages/pdf.scm (xournal): New variable.
2015-02-24 21:26:58 +01:00
Andreas Enge 6d5e7ef3ae licenses: Add IPA Font License.
* guix/licenses.scm (ipa): New variable.
2015-02-24 16:09:30 +01:00
Ludovic Courtès 31567c4274 Thank Daniel. 2015-02-24 00:04:37 +01:00
Ludovic Courtès b69c5c2ced tests: Skip tests that would fail due to the shebang length.
Reported by Daniel Kochmański <dkochmanski@hellsgate.pl>.
Fixes <http://bugs.gnu.org/19888>.

* guix/tests.scm (shebang-too-long?): New procedure.
* tests/builders.scm ("gnu-build"): Conditionalize on
  not (shebang-too-long?).
* tests/packages.scm ("GNU Make, bootstrap"): Likewise.
* tests/guix-package.sh (shebang_not_too_long): New function.
  Use it to determine whether to build 'gnu-make-boot0'.
2015-02-24 00:01:34 +01:00
Ludovic Courtès 12d720fd1a tests: Factorize the network reachability test.
* guix/tests.scm (network-reachable?): New procedure.
* tests/builders.scm (network-reachable?): Remove.
  Replace references to it with calls to the new 'network-reachable?'
  procedure.
* tests/derivations.scm (%coreutils): Use 'network-reachable?' instead
  of 'getaddrinfo'.
* tests/packages.scm: Likewise.
* tests/union.scm: Likewise.
2015-02-24 00:01:34 +01:00
Jason Self 49685cae2b gnu: ffmpeg-2.2: Update to 2.2.13
* gnu/packages/video.scm (ffmpeg-2.2): Update to version 2.2.13.
2015-02-23 14:38:13 -08:00
Jason Self 30aa3d5a03 gnu: ffmpeg: Update to 2.5.4
* gnu/packages/video.scm (ffmpeg): Update to version 2.5.4.
2015-02-23 14:37:07 -08:00
Taylan Ulrich Bayırlı/Kammer 531a9aac6d gnu: Add CCL.
* gnu/packages/lisp.scm (ccl): New variable.
2015-02-23 23:07:18 +01:00
Taylan Ulrich Bayırlı/Kammer 927b6728f0 gnu: Add wxwidgets.
* gnu/packages/wxwidgets.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-23 21:56:41 +01:00
Andreas Enge 89b5c60ef9 gnu: python2-oauthlib: Drop inherited fields.
* gnu/packages/python.scm (python2-oauthlib): Drop inherited fields.
2015-02-23 18:41:10 +01:00
Ricardo Wurmus bccf27cb3b gnu: i2c-tools: Add perl to inputs.
* gnu/packages/linux.scm (i2c-tools): Add perl to inputs.
2015-02-22 18:59:45 +01:00
Ricardo Wurmus f5b2a53dab gnu: Add i2c-tools.
* gnu/packages/linux.scm (i2c-tools): New variable.
2015-02-22 17:36:23 +01:00
Taylan Ulrich Bayırlı/Kammer 27f76fe6aa gnu: Add libmspack.
* gnu/packages/compression.scm (libmspack): New variable.
2015-02-21 23:08:37 +01:00
Taylan Ulrich Bayırlı/Kammer 9002e17c5a gnu: vamp: Delete broken files from output.
See <https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656>.

* gnu/packages/audio.scm (vamp): Delete "/lib/libvamp-sdk.la" and
  "/lib/libvamp-hostsdk.la" from the output directory after the install
  phase.
2015-02-21 23:08:37 +01:00
Andreas Enge 8cc91fa041 gnu: Add weex.
* gnu/packages/ftp.scm (weex): New variable.
* gnu/packages/patches/weex-vacopy.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2015-02-21 19:24:54 +01:00
Mark H Weaver 94c4300720 gnu: isc-dhcp: Add inetutils to inputs.
* gnu/packages/admin.scm (isc-dhcp): Add inetutils to inputs, and
  add it to the PATH set by the wrapper around 'dhclient-script'.
2015-02-21 08:31:48 -05:00
Andreas Enge a34816ef6e gnu: chmlib: Patch for compilation on mips.
* gnu/packages/patches/chmlib-inttypes.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/ebook.scm (chmlib): Apply patch.
2015-02-21 10:17:10 +01:00
Eric Bavier cc9b70d3ea import: cpan: Update tests for dependency handling.
* tests/cpan.scm (test-json): Remove core module dependencies.
  [cpan->guix-package]: Add mock url handling for module api.
  Adjust expected native-inputs and license.
2015-02-20 16:05:15 -06:00
Mark H Weaver 431b28d9dc import: cpan: Change %corelist into a promise.
Fixes compilation failures in 'guix pull'.

* guix/import/cpan.scm (%corelist): Change it to a promise by wrapping it with
  'delay'.
  (cpan-module->sexp): Adapt uses of %corelist by wrapping with 'force'.
2015-02-20 16:28:05 -05:00
Ricardo Wurmus 2f4646b6f6 gnu: Add jalv.
* gnu/packages/audio.scm (jalv): New variable.
2015-02-20 22:22:06 +01:00
Ricardo Wurmus ff7df27d4b gnu: lilv: propagate inputs serd, sord and sratom.
* gnu/packages/audio.scm (lilv): move serd, sord and sratom to propagated
  inputs.
2015-02-20 22:10:14 +01:00
Ricardo Wurmus 85652f599a gnu: Add HTSeq.
* gnu/packages/bioinformatics.scm (htseq): New variable.
2015-02-20 19:31:53 +01:00
Ricardo Wurmus 5eb86b64d1 gnu: Add libyaml.
* gnu/packages/web.scm (libyaml): New variable.
2015-02-20 19:31:42 +01:00
Andreas Enge 945562d469 gnu: mpc: Update to 1.0.3.
* gnu/packages/multiprecision.scm (mpc): Update to 1.0.3.
2015-02-20 16:52:29 +01:00
Andreas Enge f78c66aacc gnu: pari-gp: Update to 2.7.3.
* gnu/packages/algebra.scm (pari-gp): Update to 2.7.3.
2015-02-20 16:46:26 +01:00
Ricardo Wurmus 865a69ddc8 gnu: Add arpack-ng.
* gnu/packages/maths.scm (arpack-ng): New variable.
2015-02-20 14:26:48 +01:00
Ricardo Wurmus f18f8b7383 gnu: python-scipy: install UTF-8 locale.
* gnu/packages/python.scm (python-scipy): Install en_US.UTF-8 locale in
  install-doc phase to avoid encoding error.
2015-02-20 14:25:38 +01:00
Ricardo Wurmus 6754032f0c gnu: matplotlib: install UTF-8 locale.
* gnu/packages/python.scm (python-matplotlib): Install en_US.UTF-8 locale in
  install-doc phase to avoid encoding error.
2015-02-20 14:25:30 +01:00
Andreas Enge cd064df7bb gnu: gnupg: Add version 2.1.2.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.2.
  (gnupg-2.0): Copy of previous package for version 2.0.26.
2015-02-20 10:30:05 +01:00
Andreas Enge 76aae0f96f Add David Hashe to 'AUTHORS'. 2015-02-20 10:14:23 +01:00
Taylan Ulrich Bayırlı/Kammer 66cc3ab218 gnu: Add exim.
* gnu/packages/mail.scm (exim): New variable.
2015-02-20 09:39:13 +01:00
David Hashe fc936b65d3 gnu: Add gnugo.
* gnu/packages/games.scm (gnugo): New variable.
2015-02-19 23:14:21 -05:00
Mark H Weaver 232010f89d gnu: glibc: Disable parallel build.
* gnu/packages/base.scm (glibc)[arguments]: Disable parallel build.
2015-02-19 18:03:28 -05:00
Andreas Enge c18ea90fd9 gnu: Add npth.
* gnu/packages/gnupg.scm (npth): New variable.
2015-02-19 21:22:25 +01:00
Ricardo Wurmus 9953fa7602 gnu: Add Ant.
* gnu/packages/java.scm (ant): New variable.
2015-02-19 13:48:29 +01:00
Ricardo Wurmus 8622a07280 gnu: Add RSeQC.
* gnu/packages/bioinformatics.scm (rseqc): New variable.
2015-02-19 13:41:38 +01:00
Mark H Weaver fdb3162665 gnu: libunistring: Update to 0.9.5.
* gnu/packages/libunistring.scm (libunistring): Update to 0.9.5.
2015-02-19 04:12:30 -05:00
Mark H Weaver 04dec194d8 download: Handle HTTP redirects to relative URI references.
Fixes <http://bugs.gnu.org/19840>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* guix/build/download.scm: On Guile 2.0.11 or earlier, redefine the http
  "Location" header to accept relative URIs.
  (resolve-uri-reference): New exported procedure.
  (http-fetch): Use 'resolve-uri-reference' to resolve redirections.
* guix/http-client.scm (http-fetch): Use 'resolve-uri-reference'
2015-02-19 03:32:22 -05:00
Eric Bavier e92a4ad928 import: cpan: Use cpan mirror url.
* guix/import/cpan.scm (cpan-module->sexp)[source-url]: Substitute cpan mirror
  url.
2015-02-18 23:53:46 -06:00
Eric Bavier a0c2c4b45b import: cpan: Sort inputs.
* guix/import/cpan.scm (cpan-module->sexp)[convert-inputs]: Sort returned list
  of inputs.
2015-02-18 23:53:46 -06:00
Eric Bavier 2491d58962 import: cpan: Adjust licenses.
* guix/import/cpan.scm (string->license): Add artistic2.0.  Use
  '(package-license perl) for "perl_5" as is our convention.
2015-02-18 23:53:46 -06:00
Eric Bavier 66392e475d import: cpan: Use corelist to filter dependencies.
* guix/import/cpan.scm (%corelist): New variable.
  (module->dist-name, core-module?): New procedures.
  (cpan-module->sexp)[convert-inputs]: Use them.  Include "test" dependencies
  in converted inputs.
* doc/guix.texi (Invoking guix import)[cpan]: Mention corelist filtering.
2015-02-18 23:53:46 -06:00
Eric Bavier f8e366230d guix: licenses: Add Artistic 2.0 license.
* guix/licenses.scm (artistic2.0): New variable.
2015-02-18 23:53:46 -06:00
Eric Bavier 2d2a53fc24 build-system/perl: Use Build.PL for builds if present.
* guix/build/perl-build-system.scm (configure): Use Build.PL if present.
  (build, check, install): New procedures.
  (%standard-phases): Replace build, check, and install phases.
* guix/build-system/perl (perl-build): Add make-maker? and module-build-flags
  arguments.
* doc/guix.texi (Build Systems)[perl-build-system]: Document behavior rsp.
  Build.PL and new arguments.
2015-02-18 23:53:46 -06:00
宋文武 d2fcfd3d42 gnu: gnutls: Move which from 'propagated-inputs' to 'native-inputs'.
* gnu/packages/gnutls.scm (gnutls): Move which to 'native-inputs'.
  Comment on 'propagated-inputs'.
2015-02-19 10:33:03 +08:00
宋文武 6f96a359eb gnu: Add libxklavier.
* gnu/packages/gnome.scm (libxklavier): New variable.
2015-02-19 10:32:56 +08:00
宋文武 c1944c9272 gnu: libxml2: Propagate input zlib.
* gnu/packages/xml.scm (libxml2): Move zlib to 'propagated-inputs'.
2015-02-19 10:32:44 +08:00
Mark H Weaver 0f3d643b0b gnu: xorg-server: Update to 1.16.4.
* gnu/packages/xorg.scm (xorg-server): Update to 1.16.4.
2015-02-18 14:33:23 -05:00
Ricardo Wurmus f753846b7a gnu: remove "util-linux" from inputs
* gnu/packages/audio.scm (aubio, ardour, azr3, lash, patchage): Remove
  "util-linux" from `inputs'.
2015-02-18 18:19:12 +01:00
Ricardo Wurmus 5d95e30b48 gnu: jack: propagate input "util-linux"
* gnu/packages/audio.scm (jack-1): Move input "util-linux" to
  `propagated-inputs'.
2015-02-18 18:19:12 +01:00
Mark H Weaver 447ce59195 gnu: isc-dhcp: Update to 4.3.1.
* gnu/packages/admin.scm (isc-dhcp): Update to 4.3.1.
2015-02-18 02:46:14 -05:00
Taylan Ulrich Bayırlı/Kammer 3e92f4f945 gnu: Add chibi-scheme.
* gnu/packages/scheme.scm (chibi-scheme): New variable.
2015-02-17 09:35:30 +01:00
Taylan Ulrich Bayırlı/Kammer 07f4aef078 gnu: Add gambit-c.
* gnu/packages/scheme.scm (gambit-c): New variable.
2015-02-17 09:35:30 +01:00
Ricardo Wurmus 497e9a82bd gnu: Add AZR-3.
* gnu/packages/audio.scm (azr3): New variable.
2015-02-17 07:51:50 +01:00
Andreas Enge 5078e98a61 gnu: Add aarddict.
* gnu/packages/aarddict.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-16 21:52:58 +01:00
Andreas Enge 3e291958b0 gnu: Add PyQt for Qt-4.
* gnu/packages/qt.scm (python-pyqt-4, python2-pyqt-4): New variables.
2015-02-16 21:16:32 +01:00
Ricardo Wurmus 4443bb8da3 gnu: Add patchage.
* gnu/packages/audio.scm (patchage): New variable.
2015-02-16 20:12:33 +01:00
Ricardo Wurmus e926ba716e gnu: Add ganv.
* gnu/packages/gtk.scm (ganv): New variable.
2015-02-16 20:12:26 +01:00
Mark H Weaver 192c6f966f gnu: libtool and libltdl: Update to 2.4.6.
* gnu/packages/autotools.scm (libtool, libltdl): Update to 2.4.6.
* gnu/packages/patches/libtool-skip-tests.patch: Adapt to 2.4.6.
2015-02-16 10:56:34 -05:00
Ricardo Wurmus cb7e486797 gnu: Add R.
* gnu/packages/statistics.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it
* guix/download.scm (%mirrors): Add CRAN mirrors.
2015-02-16 16:35:41 +01:00
Andreas Enge da466f7ff6 utils: Preserve symbolic links in 'wrap-program'.
* guix/build/utils.scm (wrap-program): Preserve symbolic links instead of
    copying the contents of the link.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>

Closes <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19743>.
2015-02-16 10:13:40 +01:00
Andreas Enge b01f89675d utils: Use $0 instead of absolute path to original program in 'wrap-program'.
* guix/build/utils.scm (wrap-program): Create scripts that use $0 (which is
    usually just the base name) instead of the absolute path to the original
    program. Alternative implementation of 2ed11b3.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>

Closes <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19742>.
2015-02-16 10:13:39 +01:00
Andreas Enge d3d656c5fb gnu: python-setuptools: Update to 12.1.
*  gnu/packages/python.scm (python-setuptools, python2-setuptools):
     Update to 12.1.
2015-02-15 23:10:58 +01:00
Andreas Enge 431d32e688 gnu: complexity: Update to 1.2.
* gnu/packages/complexity.scm (complexity): Update to 1.2.
2015-02-15 20:51:22 +01:00
Andreas Enge 0565587c54 gnu: xboard: Update to 4.8.0.
* gnu/packages/games.scm (xboard): Update to 4.8.0.
2015-02-15 20:47:07 +01:00
Andreas Enge 3e74dcd0bb gnu: pinentry: Update to 0.9.0.
* gnu/packages/gnupg.scm (pinentry): Update to 0.9.0.
2015-02-15 20:29:53 +01:00
Andreas Enge 2249a16832 gnu: pius: Update to 2.0.11.
* gnu/packages/gnupg.scm (pius): Update to 2.0.11.
2015-02-15 19:54:46 +01:00
Andreas Enge 456cf627cd gnu: gpgme: Update to 1.5.3.
* gnu/packages/gnupg.scm (gpgme): Update to 1.5.3.
2015-02-15 19:54:36 +01:00
Andreas Enge a02ee3d714 gnu: libgpg-error: Update to 1.18.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.18.
2015-02-15 19:36:13 +01:00
Andreas Enge 9e91418b10 gnu: freetype: Update to 2.5.5.
* gnu/packages/fontutils.scm (freetype): Update to 2.5.5.
2015-02-15 19:18:29 +01:00
Taylan Ulrich Bayırlı/Kammer b702b52de3 gnu: Add SBCL.
* gnu/packages/lisp.scm (sbcl): New variable.
2015-02-15 15:31:05 +01:00
Andreas Enge be6bfa7d82 gnu: httpd: Update to 2.4.12.
* gnu/packages/web.scm (httpd): Update to 2.4.12.
2015-02-15 11:43:07 +01:00
Andreas Enge 60357f99c4 gnu: Add python-netifaces.
* gnu/packages/python.scm (python-netifaces, python2-netifaces):
    New variables.
2015-02-15 10:46:43 +01:00
Andreas Enge 0b0e11a9d8 gnu: Add xdg-utils.
* gnu/packages/freedesktop.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-14 19:57:23 +01:00
Andreas Enge 880ff77c17 gnu: Add python-cssselect.
* gnu/packages/python.scm (python-cssselect, python2-cssselect):
    New variables.
2015-02-14 19:39:20 +01:00
Andreas Enge 092e86f54f gnu: Add python2-cssutils.
* gnu/packages/python.scm (python2-cssutils): New variable.
2015-02-14 19:25:55 +01:00
Andreas Enge bec07a7c08 gnu: Add python2-pil.
* gnu/packages/python.scm (python2-pil): New variable.
2015-02-14 18:58:13 +01:00
Mark H Weaver 8722166cfa gnu: linux-libre: Update to 3.18.7.
* gnu/packages/linux.scm (linux-libre): Update to 3.18.7.
2015-02-14 10:20:25 -05:00
Mark H Weaver a48ba458a3 Revert "gnu: linux-libre: Update to 3.19"
Linux-libre 3.19 doesn't work on the Libreboot X60.

This reverts commit 1f4edec4fd.
2015-02-14 10:06:50 -05:00
Taylan Ulrich Bayırlı/Kammer 8d872ae001 gnu: Add moreutils.
* gnu/packages/moreutils.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-14 12:43:56 +01:00
Ricardo Wurmus da49086a59 gnu: Add lash.
* gnu/packages/audio.scm (lash): New variable.
2015-02-14 10:13:59 +01:00
Ludovic Courtès abde5f375f gnu: python-apsw: Fix license.
* gnu/packages/python.scm (python-apsw)[license]: Change to
  LICENSE:ZLIB.
2015-02-14 00:43:41 +01:00
Ludovic Courtès ce45eb4c38 gexp: Add #:graft? parameter to 'gexp->derivation'.
* guix/gexp.scm (gexp->derivation): Add #:graft? parameter and honor it.
* tests/gexp.scm ("gexp->derivation vs. grafts"): New test.
* doc/guix.texi (G-Expressions): Update 'gexp->derivation'
  documentation.
2015-02-13 23:19:49 +01:00
Ludovic Courtès b8bedf6051 packages: Add 'set-grafting' procedure.
* guix/packages.scm (set-grafting): New procedure.
2015-02-13 23:19:49 +01:00
Ludovic Courtès 2bba832f88 tests: Add missing import.
* guix/tests.scm: Add missing import, needed by 'dummy-package'.
2015-02-13 23:19:49 +01:00
Ricardo Wurmus 314275c776 gnu: JACK2: rename package to "jack2".
* gnu/packages/audio.scm (jack-2): Change package name to "jack2" to
  distinguish from JACK1.
2015-02-13 23:18:42 +01:00
Ricardo Wurmus 2f9ae82f4b gnu: jack: build ALSA backend.
* gnu/packages/audio.scm (jack): Add missing inputs to build ALSA backend.
2015-02-13 23:18:23 +01:00
Ricardo Wurmus c1718190d5 gnu: Add lvtk.
* gnu/packages/audio.scm (lvtk): New variable.
2015-02-13 23:13:35 +01:00
Andreas Enge 4ed206639b gnu: Add python-pillow.
* gnu/packages/python.scm (python-pillow, python2-pillow): New variables.
2015-02-13 21:03:48 +01:00
Ludovic Courtès c9e0a44eec gnu: net-tools: Remove the 'hostname' and *domainname commands.
* gnu/packages/linux.scm (net-tools)[arguments]: Add #:modules.
  Add 'remove-redundant-commands' phase.
2015-02-13 20:38:05 +01:00
Ludovic Courtès 80393eeda2 gnu: procps: Remove the 'kill' and 'uptime' commands.
* gnu/packages/linux.scm (procps)[arguments]: Add #:modules.
  <install phase>: Remove kill* and uptime*.
2015-02-13 20:27:38 +01:00
Ludovic Courtès aa72d9afdf gexp: Implement 'imported-modules' & co. using 'gexp->derivation'.
* guix/derivations.scm (imported-files): Keep private.
  (%imported-modules, %compiled-modules, build-expression->derivation):
  Mark as deprecated.
  (imported-modules, compiled-modules): Remove.
* guix/gexp.scm (%mkdir-p-definition): New variable.
  (imported-files, search-path*, imported-modules, compiled-modules):
  New procedures.
* tests/derivations.scm ("imported-files"): Remove.
* tests/gexp.scm ("imported-files", "gexp->derivation #:modules"): New
  tests.
2015-02-13 17:28:19 +01:00
Ludovic Courtès 57a516d3ec gnu: Add acpid.
* gnu/packages/linux.scm (acpid): New variable.
2015-02-13 17:28:19 +01:00
Andreas Enge 5deea4fcc9 gnu: nss: Update to 3.17.4.
* gnu/packages/gnuzilla.scm (nss): Update to 3.17.4.
2015-02-13 15:55:23 +01:00
Ricardo Wurmus 8dd4ff1133 gnu: Add bedops.
* gnu/packages/bioinformatics.scm (bedops): New variable.
2015-02-13 15:51:10 +01:00
Alex Kost 11447a7927 gnu: Add xosd.
* gnu/packages/xdisorg.scm (xosd): New variable.
2015-02-13 15:54:12 +03:00
Taylan Ulrich Bayırlı/Kammer 560f51d060 gnu: Add CLISP.
* gnu/packages/lisp.scm (clisp): New variable.
2015-02-13 11:28:14 +01:00
Andreas Enge 148cb1c270 gnu: openssl: Add search path definition for root certificates.
* gnu/packages/openssl.scm (openssl)[native-search-paths]: New property.
2015-02-13 11:19:53 +01:00
Andreas Enge 6e6e241409 gnu: Add nss-certs, certificates extracted from nss.
* gnu/packages/certs.scm (nss-certs): New variable.
2015-02-13 11:19:45 +01:00
Andreas Enge cf053a4f06 gnu: Add certdata2pem Python script.
* gnu/packages/certs.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-13 11:19:37 +01:00
David Thompson 44e10a4d4c gnu: node: Update to 0.12.0.
* gnu/packages/node.scm (node): Update to 0.12.0.
2015-02-12 21:33:08 -05:00
David Thompson 96c232ba8f gnu: ruby: Update to 2.2.0.
* gnu/packages/ruby.scm (ruby): Update to 2.2.0.
2015-02-12 21:33:08 -05:00
Ludovic Courtès 9c09760a78 artwork: Update snapshot to GuixSD branding.
* gnu/artwork.scm (%artwork-repository): Update to new "GuixSD"
  branding.
* gnu/system/grub.scm (%background-image, %default-theme): Adjust
  accordingly.
2015-02-12 23:43:18 +01:00
Ludovic Courtès ad3729536a store: Add optional 'references' parameter to 'text-file'.
* guix/store.scm (text-file): Add optional 'references' parameter.  Pass
  it to 'add-text-to-store'.
* doc/guix.texi (The Store Monad): Adjust accordingly.
2015-02-12 23:43:18 +01:00
Taylan Ulrich Bayırlı/Kammer 00ab945823 gnu: Add ECL.
* gnu/packages/lisp.scm (ecl): New variable.
2015-02-12 22:25:34 +01:00
Andreas Enge 26b307e2cc gnu: Add python-lxml.
* gnu/packages/python.scm (python-lxml, python2-lxml): New variables.
2015-02-12 21:14:38 +01:00
Andreas Enge bd3fa66676 gnu: python: Prefix expat license by "license:" to avoid conflicts with
expat from the xml module.

* gnu/packages/python.scm: Prefix expat license imported from
    (guix licenses).
* gnu/packages/python.scm (python-lockfile, python-mock, python-pysam,
    python-extras, python-mimeparse, python-py, python-pytest,
    python-scripttest, python-jsonschema, python-pyjwt, python-virtualenv,
    python-sphinx-rtd-theme, python-pyparsing, python-cffi, python-xcffib,
    python-html5lib, python-dbus): Adapt license field.
2015-02-12 21:07:14 +01:00
Andreas Enge a6ac8332be gnu: Add python-apsw.
* gnu/packages/python.scm (python-apsw, python2-apsw): New variables.
2015-02-12 20:19:31 +01:00
Ricardo Wurmus e58d01faf5 gnu: hisat: fix build on non-x86_64.
* gnu/packages/bioinformatics.scm (hisat): Add "POPCNT_CAPABILITY=0" to
  make-flags on architectures other than x86_64.
2015-02-12 14:09:00 +01:00
宋文武 3ff733901a gnu: sdl-mixer: Don't use dlopen for shared object loading.
* gnu/packages/sdl.scm (sdl-mixer)[arguments]<#:configure-flags>: Add
  --disable-music-mod-shared --disable-music-fluidsynth-shared
  --disable-music-ogg-shared --disable-music-flac-shared
  --disable-music-mp3-shared.
2015-02-12 14:21:40 +08:00
宋文武 7c3e60fbe6 gnu: sdl-image: Don't use dlopen for shared object loading.
* gnu/packages/sdl.scm (sdl-image)[arguments]: New field.
2015-02-12 14:16:44 +08:00
Ricardo Wurmus 88efb2c327 gnu: Add ardour.
* gnu/packages/audio.scm (ardour): New variable.
2015-02-11 23:45:32 +01:00
Ricardo Wurmus eadc734e30 gnu: Add libgnomecanvasmm.
* gnu/packages/gnome.scm (libgnomecanvasmm): New variable.
2015-02-11 23:45:26 +01:00
Ricardo Wurmus 57238ff2b4 gnu: Add rubberband.
* gnu/packages/audio.scm (rubberband): New variable.
2015-02-11 23:45:21 +01:00
Ricardo Wurmus 2cc7ce317b gnu: Add LADSPA.
* gnu/packages/audio.scm (ladspa): New variable.
2015-02-11 23:45:08 +01:00
Ricardo Wurmus db46f2fcf4 gnu: Add Vamp SDK.
* gnu/packages/audio.scm (vamp): New variable.
2015-02-11 23:45:02 +01:00
Ricardo Wurmus f3ab6ad3d1 gnu: Add suil.
* gnu/packages/audio.scm (suil): New variable.
2015-02-11 23:41:43 +01:00
Ricardo Wurmus 332aad1b00 gnu: Add lilv.
* gnu/packages/audio.scm (lilv): New variable.
2015-02-11 23:41:37 +01:00
Ricardo Wurmus 5279eb6fce gnu: Add sratom.
* gnu/packages/audio.scm (sratom): New variable.
2015-02-11 23:41:33 +01:00
Ricardo Wurmus a035e6ffef gnu: Add sord.
* gnu/packages/rdf.scm (sord): New variable.
2015-02-11 23:41:29 +01:00
Ricardo Wurmus f65784d50e gnu: Add serd.
* gnu/packages/rdf.scm (serd): New variable.
2015-02-11 23:41:21 +01:00
Ricardo Wurmus e24201912f gnu: Add LV2.
* gnu/packages/audio.scm (lv2): New variable.
2015-02-11 23:38:07 +01:00
Ludovic Courtès 605217beaa Merge branch 'master' into core-updates 2015-02-11 22:28:21 +01:00
Ludovic Courtès c8351d9a40 gexp: Add #:allowed-references parameter to 'gexp->derivation'.
* guix/gexp.scm (lower-references): New procedure.
  (gexp->derivation): Add #:allowed-references and honor it.
* tests/gexp.scm ("gexp->derivation #:allowed-references",
  "gexp->derivation #:allowed-references, disallowed"): New tests.
* doc/guix.texi (G-Expressions): Update 'gexp->derivation' doc.
2015-02-11 22:10:14 +01:00
Ludovic Courtès a4a17ec36e gnu: bison: Update to 3.0.4.
* gnu/packages/bison.scm (bison): Update to 3.0.4.
2015-02-11 14:20:23 +01:00
Ludovic Courtès d6718df416 gnu: glibc: Add search path specification for 'LOCPATH'.
* gnu/packages/base.scm (glibc)[native-search-paths]: New field.
2015-02-11 14:16:29 +01:00
Ludovic Courtès fdaae61371 gnu: glibc: Update to 2.21.
* gnu/packages/base.scm (glibc): Update to 2.21.  Remove 3 patches no
  longer needed.
* gnu/packages/patches/glibc-CVE-2012-3406.patch,
  gnu/packages/patches/glibc-CVE-2014-7817.patch,
  gnu/packages/patches/glibc-mips-dangling-vfork-ref.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2015-02-11 14:11:14 +01:00
Ludovic Courtès f6408bc584 gnu: patch: Update to 2.7.4.
* gnu/packages/base.scm (patch): Update to 2.7.4.  Remove
  'replacement'.  Remove outdated comment.
  (patch-2.7.4, patch-CVE-2015-1196): Remove.
2015-02-11 11:23:46 +01:00
Ludovic Courtès aee6180c10 gnu: Add glibc-locales.
* gnu/packages/patches/glibc-locales.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc-locales): New variable.
2015-02-11 11:19:29 +01:00
Ludovic Courtès fbe952c99f derivations: Make the "grafting..." message directly visible.
* guix/derivations.scm (graft-derivation)[build]: Add call to
  'force-output'.
2015-02-11 11:11:01 +01:00
Ludovic Courtès ab3872de4f doc: Use @code for the abstract USB image URL.
Reported by Quentin Pradet <webmasters-comment@gnu.org>.

* doc/guix.texi (System Installation): Use @code instead of @url for the
  abstract URL.
2015-02-11 10:36:48 +01:00
Ludovic Courtès 1c301e4861 gnu: gettext: Change license to GPLv3+.
* gnu/packages/gettext.scm (gnu-gettext)[license]: Change to GPLv3+.
2015-02-10 21:25:25 +01:00
Eric Bavier d5b3de6af2 utils: Strip duplicates from search path.
* guix/build/utils.scm (search-path-as-list): Delete duplicate input
  directories before searching.
2015-02-10 13:31:56 -06:00
Ricardo Wurmus ce7155d5dd gnu: Add STAR.
* gnu/packages/bioinformatics.scm (star): New variable.
2015-02-10 14:37:14 +01:00
Ricardo Wurmus 346a829a85 gnu: Add HISAT.
* gnu/packages/bioinformatics.scm (hisat): New variable.
2015-02-10 14:37:13 +01:00
Taylan Ulrich Bayırlı/Kammer 4ee696247b gnu: Add openntpd.
* gnu/packages/ntp.scm (openntpd): New variable.
2015-02-10 10:50:57 +01:00
Taylan Ulrich Bayırlı/Kammer d02f2cc48c gnu: Add smartmontools.
* gnu/packages/admin.scm (smartmontools): New variable.
2015-02-10 09:28:48 +01:00
Cyril Roelandt c9815b5deb lint: handle FTP URIs.
* guix/scripts/lint.scm (probe-uri): handle FTP URIs.
2015-02-10 00:24:30 +01:00
Taylan Ulrich Bayırlı/Kammer e1e277372a gnu: Add ltrace.
* gnu/packages/linux.scm (ltrace): New variable.
2015-02-10 00:00:12 +01:00
Jason Self 1f4edec4fd gnu: linux-libre: Update to 3.19
* gnu/packages/linux.scm (linux-libre): Update to version 3.19.
2015-02-09 14:46:04 -08:00
Ludovic Courtès 34875383c1 linux-initrd: Add 'isci' module, needed for some SAS controllers.
Encountered on a Dell Precision T3600.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add isci.
2015-02-09 18:18:41 +01:00
Ludovic Courtès 3bea13bb1f profiles: Report "pseudo-upgrades" as upgrades, not downgrades.
Reported by Andreas Enge <andreas@enge.fr>
at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19764#19>.

* guix/profiles.scm (manifest-transaction-effects): Use 'version>=?'
  instead of 'version>?'.
* tests/profiles.scm ("manifest-transaction-effects and
  pseudo-upgrades"): New test.
2015-02-09 18:18:41 +01:00
Ludovic Courtès cde1e967cf utils: Add 'version>=?'.
* guix/utils.scm (version>?): Clarify docstring.
  (version>=?): New procedure.
2015-02-09 18:18:41 +01:00
Federico Beffa d4f12db8c0 gnu: ffmpeg: Add 'lame' input.
* gnu/packages/video.scm (ffmpeg): Add 'lame' input and corresponding
  configure flag.
2015-02-09 16:13:23 +01:00
Andreas Enge fc2bf70dfe gnu: perl-net-ssleay: Update to 1.68.
* gnu/packages/openssl.scm (perl-net-ssleay): Update to 1.68.
2015-02-09 14:29:39 +01:00
Andreas Enge c7ab5a12f4 gnu: openssl: Update to 1.0.2.
* gnu/packages/openssl.scm (openssl): Update to 1.0.2.
2015-02-09 13:43:06 +01:00
Ricardo Wurmus ad320b20ee gnu: Add Sphinx RTD theme.
* gnu/packages/python.scm (python-sphinx-rtd-theme, python2-sphinx-rtd-theme):
  New variables.
2015-02-09 10:29:55 +01:00
Ricardo Wurmus d7678942f9 gnu: Add flexbar.
* gnu/packages/bioinformatics.scm (flexbar): New variable.
2015-02-09 10:26:28 +01:00
Ricardo Wurmus d3517eda25 gnu: Add seqan.
* gnu/packages/bioinformatics.scm (seqan): New variable.
2015-02-09 10:26:20 +01:00
Taylan Ulrich Bayırlı/Kammer da6c3749e4 gnu: Add libcap-ng.
* gnu/packages/admin.scm (libcap-ng): New variable.
2015-02-09 09:59:47 +01:00
Ricardo Wurmus d55f912a31 gnu: Add aubio.
* gnu/packages/audio.scm (aubio): New variable.
2015-02-09 09:21:36 +01:00
Ricardo Wurmus f47cba0efb gnu: Add liblo.
* gnu/packages/audio.scm (liblo): New variable.
2015-02-09 09:14:12 +01:00
Ricardo Wurmus c54a89811f gnu: Add JACK2.
* gnu/packages/audio.scm (jack-2): New variable.
2015-02-09 09:00:02 +01:00
David Thompson 2cd85cf9e1 gnu: Add srt2vtt.
* gnu/packages/video.scm (srt2vtt): New variable.
2015-02-08 21:08:06 -05:00
nebuli 5833bf33a2 services: lsh: Add graceful handling of daemonic option.
* gnu/services/ssh.scm (lsh-service): New #:keys (daemonic?, pid-file?,
  pid-file).  Build new lshd-command and expand service-requirement
  field.
* doc/guix.texi (Networking Services): Update accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-02-08 21:52:26 +01:00
Ricardo Wurmus a677c7267b build: Add 'waf-build-system'.
* guix/build-system/waf.scm,
  guix/build/waf-build-system.scm: New files.
* Makefile.am (MODULES): Add them.
* doc/guix.texi (Build Systems): Document waf-build-system.
2015-02-08 19:21:58 +01:00
Ludovic Courtès 027981d6d7 doc: Remove ".ko" extension in 'base-initrd' example.
Reported by Marek Benc.

* doc/guix.texi (Initial RAM Disk): Remove ".ko" from the 'base-initrd'
  example.  Add a comment.
2015-02-08 19:00:39 +01:00
Ludovic Courtès 46b23e1a43 profiles: Distinguish downgrades from upgrades.
Fixes <http://bugs.gnu.org/19764>.

* guix/profiles.scm (manifest-transaction-effects): Return downgraded
  packages as a fourth value.
* guix/ui.scm (show-manifest-transaction): Adjust accordingly.
* tests/profiles.scm ("manifest-transaction-effects and downgrades"):
  New test.
2015-02-08 19:00:39 +01:00
Ludovic Courtès 77ee4a96f4 ui: Simplify 'show-manifest-transaction' test.
* tests/ui.scm ("show-manifest-transaction"): Remove useless call to
  'manifest-transaction-effects'.
2015-02-08 19:00:39 +01:00
Ludovic Courtès b7071bc5bb ui: Properly report '&nar-error' conditions.
This is a followup to 46b8aad.

* guix/ui.scm (call-with-error-handling): Add 'nar-error?' case.
2015-02-08 19:00:39 +01:00
Ludovic Courtès 0919f5f466 build: Remove references to 'nix-setuid-helper'.
'nix-setuid-helper' vanished in commit d43eb499a (Jan. 2014.)

* pre-inst-env.in: Remove occurrences of 'NIX_SETUID_HELPER'.
2015-02-08 19:00:39 +01:00
Ludovic Courtès 843b196287 gnu: guile-ssh: Correct post-installation test.
* gnu/packages/ssh.scm (guile-ssh)[arguments]
  <fix-libguile-ssh-file-name>: Call 'zero?' to check the return value of
  'system*'.
2015-02-08 19:00:39 +01:00
Andreas Enge 27e86bed53 gnu: Add p11-kit.
* gnu/packages/gnutls.scm (p11-kit): New variable.
2015-02-08 16:23:44 +01:00
Andreas Enge 75be6b7c06 gnu: Add libmtp.
* gnu/packages/libusb.scm (libmtp): New variable.
2015-02-08 14:36:55 +01:00
David Thompson 5294768ce3 gnu: tidy: Run bootstrap phase after the unpack phase.
* gnu/packages/web.scm (tidy): Run bootstrap phase after the unpack phase,
  rather than before the configure phase.
2015-02-07 21:12:21 -05:00
Jason Self 59c4cceea8 gnu: linux-libre: Update to 3.18.6
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.6.
2015-02-07 16:21:04 -08:00
David Thompson 18cb3df837 gnu: Add tidy.
* gnu/packages/web.scm (tidy): New variable.
2015-02-07 18:48:53 -05:00
Ludovic Courtès 0cb804117f gnu: lightning: Update to 2.1.0.
* gnu/packages/lightning.scm (lightning): Update to 2.1.0.
2015-02-07 23:30:05 +01:00
Ludovic Courtès cce629c027 Thank Andrei. 2015-02-07 23:17:33 +01:00
Ludovic Courtès 9ba0b8d3d0 daemon: Flush upon '\r' when reading the substituter's stderr.
* nix/libstore/local-store.cc (LocalStore::getLineFromSubstituter):
  Flush when the line contains '\r'.
2015-02-07 23:16:56 +01:00
Ludovic Courtès 46b8aadbd6 serialization: Check for EOF and incomplete input conditions.
Fixes <http://bugs.gnu.org/19756>.
Reported by <sleep_walker@suse.cz>.

* guix/serialization.scm (currently-restored-file): New variable.
  (get-bytevector-n*): New procedure.
  (read-int, read-long-long, read-string, read-latin1-string,
  read-contents): Use it instead of 'get-bytevector-n'.
  (restore-file): Parameterize 'currently-restored-file' and set it.
* tests/nar.scm ("restore-file with incomplete input"): New test.
2015-02-07 23:16:55 +01:00
Ludovic Courtès cbc538fe69 doc: Document the location of the build directory.
Fixes <http://bugs.gnu.org/19771>.
Reported by Andrei Osipov <andrspv@gmail.com>.

* doc/guix.texi (Invoking guix-daemon): Document the build directory
  location.
2015-02-07 23:16:55 +01:00
Ludovic Courtès 4320c094f3 gnu: gimp: Add EXIF and SVG support, plus color management.
* gnu/packages/gimp.scm (gimp)[inputs]: Add LIBEXIF, LCMS, and LIBRSVG.
2015-02-07 23:16:55 +01:00
Andreas Enge 5cc0e48613 gnu: podofo: Add optional input lua.
* gnu/packages/pdf.scm (podofo): Add optional input lua-5.1.
2015-02-07 20:59:37 +01:00
Andreas Enge d4322e6111 gnu: podofo: Update to 0.9.3.
* gnu/packages/pdf.scm (podofo): Update to 0.9.3.
2015-02-07 20:50:35 +01:00
Andreas Enge cb6a14ba56 gnu: podofo: Enable building a shared library.
* gnu/packages/pdf.scm (podofo): Enable building a shared library in addition
    to a static one.
2015-02-07 20:42:19 +01:00
Andreas Enge 71e1de33f9 gnu: chmlib: Correct license.
* gnu/packages/ebook.scm (chmlib): Correct copy-pasted license field.
2015-02-07 20:16:30 +01:00
Andreas Enge 947ae54559 gnu: Add chmlib.
* gnu/packages/ebook.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-07 20:12:36 +01:00
Andreas Enge 85b5d3331d gnu: dejagnu: Update to 1.5.2.
* gnu/packages/dejagnu.scm (dejagnu): Update to 1.5.2.
2015-02-07 19:53:23 +01:00
Andreas Enge 7908f58343 gnu: global: Update to 6.3.4.
* gnu/packages/global.scm (global): Update to 6.3.4.
2015-02-07 19:41:33 +01:00
Andreas Enge 9b268f12fe gnu: eigen: Update to 3.2.4.
* gnu/packages/algebra.scm (eigen): Update to 3.2.4.
2015-02-07 19:25:47 +01:00
Andreas Enge 717ccec86b gnu: imagemagick: Update to 6.9.0-4.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.0-4.
2015-02-07 18:05:32 +01:00
Mark H Weaver 710f3ce44f gnu: tumbler: Update to 0.1.30.
* gnu/packages/xfce.scm (tumbler): Update to 0.1.30.  Use latest gstreamer.
2015-02-07 01:59:55 -05:00
Mark H Weaver 7747c4ca3d gnu: wicd: Fix curses client to work with urwid 1.3.
* gnu/packages/patches/wicd-urwid-1.3.patch: New file.
* gnu-system (dist_patch_DATA): Add it.
* gnu/packages/wicd.scm (wicd): Add patch.
2015-02-06 15:26:56 -05:00
Mark H Weaver b7921ba5a7 gnu: ntp: Update to 4.2.8p1.
* gnu/packages/ntp.scm (ntp): Update to 4.2.8p1.
2015-02-06 15:15:25 -05:00
Tomáš Čech ac6c66aeed gnu: slock: Update to 1.2
* gnu/packages/dwm.scm (slock): Update to 1.2
2015-02-06 20:38:43 +01:00
Ludovic Courtès 862abf8fcd tests: Disable grafts when comparing derivations.
Fixes a regression introduced with the grafting of Patch in 3f11f01.

* tests/packages.scm ("reference to non-existent output"): Wrap in
  'parameterize'.
2015-02-06 18:04:19 +01:00
Ludovic Courtès c9323a4c69 guix package: Make custom profiles actual indirect roots.
Before that, any profile generation built when '-p' is used would
effectively become a permanent GC root because the symlink in
/var/guix/gcroots/auto would point directly to /gnu/store/...-profile.

* guix/scripts/package.scm (maybe-register-gc-root): Rename to...
  (register-gc-root): ... this.  Remove conditional, and replace call to
  'canonicalize-path' with (string-append (getcwd) "/" ...).
  (guix-package): Call 'register-gc-root' only if PROFILE is different
  from %CURRENT-PROFILE.
* tests/guix-package.sh: Add test case.
2015-02-06 17:56:22 +01:00
Ludovic Courtès 3df5acf332 pull: Always install the ~/.config/guix/latest symlink.
Before that, if two users on the same machine ran 'guix pull', the
second one would have the "Guix already up to date" message and their
~/.config/guix/latest link would be left unchanged---effectively
preventing them from updating.

* guix/scripts/pull.scm (build-and-install): Install the 'latest'
  symlink regardless of whether TO-DO? is true or false.
2015-02-06 17:39:10 +01:00
Ludovic Courtès 95c559c145 doc: Provide a better illustration of Ethernet interface names.
Reported on #guix.

* doc/guix.texi (System Installation)[USB Stick Installation]: Mention
  "eno1" instead of "eth0" and give other examples.
2015-02-06 17:32:17 +01:00
Ludovic Courtès 3f11f01fa8 gnu: patch: Add 2.7.4 and make it a replacement for the default one.
* gnu/packages/base.scm (patch-2.7.4, patch-CVE-2015-1196): New
  variables.
  (patch): Add 'replacement' field.
2015-02-06 13:53:28 +01:00
Ludovic Courtès ca63770ab1 services: xorg: Add Nouveau driver.
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add
  XF86-VIDEO-NOUVEAU.
2015-02-06 13:53:28 +01:00
Ludovic Courtès 0d5212e822 gnu: Add xf86-video-nouveau.
* gnu/packages/xorg.scm (xf86-video-nouveau): New variable.
2015-02-06 13:53:28 +01:00
Ludovic Courtès 2e50aa760c gnu: xf86-video-nv: Improve description.
* gnu/packages/xorg.scm (xf86-video-nv): Adjust synopsis and
  description.
2015-02-06 13:53:28 +01:00
Mark H Weaver ce4a347fe9 gnu: orc: Disable the 'test-limits' and 'exec_opcodes_sys' tests.
* gnu/packages/gstreamer.scm (orc)[arguments]: Disable the 'test-limits' and
  'exec_opcodes_sys' tests, which fail on some machines.
2015-02-05 23:07:29 -05:00
Ludovic Courtès 353e34a626 offload: Better report failure to create the GC root directory.
Suggested by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/scripts/offload.scm (register-gc-root)[script]: Replace
  'false-if-exception' with a finer-grain 'system-error handler.
  Provide the name of MACHINE in 'leave' error message.
2015-02-05 23:40:55 +01:00
Ludovic Courtès 7d157c652c gnu: groff: Add "doc" output.
* gnu/packages/groff.scm (groff): Add 'outputs' field.
2015-02-05 23:40:55 +01:00
Ludovic Courtès fc61b641c2 offload: Warn about SSH client issues.
Suggested by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/scripts/offload.scm (remote-pipe): Remove unneeded 'catch'.
  (machine-load): Check the exit value  upon (close-pipe pipe).  Call
  'warning' when it is non-zero.
2015-02-05 23:40:55 +01:00
Ludovic Courtès bf26b8ddab nls: Update 'eo' translation. 2015-02-05 23:40:55 +01:00
Mark H Weaver aa7c7f21b3 gnu: gnutls: Configure location of system-wide trust store.
* gnu/packages/gnutls.scm (gnutls): Configure the location of the system-wide
  trust store.
2015-02-05 14:05:37 -05:00
Taylan Ulrich Bayırlı/Kammer ea119a288f gnu: Add ngircd.
* gnu/packages/messaging.scm (ngircd): New variable.
* gnu/packages/patches/ngircd-no-dns-in-tests.patch: New file.
* gnu/packages/patches/ngircd-handle-zombies.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
2015-02-05 17:08:39 +01:00
宋文武 0ca0ce53a8 gnu: Add xfce.
* gnu/packages/xfce.scm (xfce): New variable.
2015-02-05 19:23:54 +08:00
宋文武 122ddc595e gnu: gnutls: Propagate zlib.
* gnu/packages/gnutls.scm (gnutls): Move zlib to 'propagated-inputs'.
2015-02-05 18:46:59 +08:00
Andreas Enge e8419d6c61 gnu: gnutls: Update to 3.3.12.
* gnu/packages/gnutls.scm (gnutls): Update to 3.3.12.
2015-02-05 10:53:52 +01:00
宋文武 20cf74540e gnu: gst-plugins-good: Update to 1.4.5.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.4.5.
2015-02-05 17:32:30 +08:00
宋文武 e9a0b5e7b2 gnu: gst-plugins-base: Update to 1.4.5, re-enable tests.
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.4.5.
  [arguments]: Add #:phases.
  [inputs]: Add cdparanoia and orc.
2015-02-05 17:18:20 +08:00
宋文武 e244dc6dd6 gnu: gstreamer: Update to 1.4.5, propagate glib.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.4.5.
  [arguments]: Remove field to re-enable tests.
  [inputs]: Rename to 'propagated-inputs'.
2015-02-05 16:29:22 +08:00
宋文武 195857b0f7 gnu: Add orc.
* gnu/packages/gstreamer.scm (orc): New variable.
2015-02-05 16:11:23 +08:00
宋文武 666aa995f0 gnu: sdl: Don't use dlopen for shared object loading.
* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>:
  Use '--disable-sdl-dlopen'.
  [propagated-inputs]: Add libcap.
2015-02-05 15:29:41 +08:00
宋文武 b907324d05 gnu: sdl2: Update to 2.0.3.
* gnu/packages/sdl.scm (sdl2): Update to 2.0.3.
2015-02-05 15:29:41 +08:00
宋文武 1effda8dc5 gnu: libmikmod: Update to 3.3.7.
* gnu/packages/sdl.scm (libmikmod): Update to 3.3.7.
2015-02-05 15:29:41 +08:00
Mark H Weaver 800d8d4061 gnu: wicd: Allow wicd-gtk to find its icons.
* gnu/packages/wicd.scm (wicd)[inputs]: Add hicolor-icon-theme.
  [arguments]: Install icons in $out/share/icons.  Install a copy of
  'index.theme' from 'hicolor-icon-theme' into $out/share/icons/hicolor.
2015-02-05 01:30:16 -05:00
Mark H Weaver b7d0c494f4 services: Add wicd service.
* gnu/services/networking.scm (wicd-service): New procedure.
* doc/guix.texi (Networking Services): Document it.
2015-02-04 18:20:17 -05:00
Mark H Weaver 10b60c0430 gnu: Add wicd.
Based on preliminary work by Pierre-Antoine Rault <par@rigelk.eu>

* gnu/packages/wicd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-04 18:20:17 -05:00
Mark H Weaver 4fb7e0de19 gnu: wpa-supplicant: Add dbus support; add wpa-supplicant-light.
* gnu/packages/admin.scm (wpa-supplicant-light): New variable containing the
  previous dbus-free package, but renamed.  Remove outdated TODO comments.
  (wpa-supplicant): Now inherits from wpa-supplicant-light but adds dbus
  support.
* gnu/system/install.scm (installation-os): Use wpa-supplicant-light.
2015-02-04 18:20:17 -05:00
Ludovic Courtès 698761587c gnu: nss-mdns: Allow the daemon's socket to be found.
* gnu/packages/avahi.scm (nss-mdns)[arguments]: New field.
2015-02-04 22:49:35 +01:00
Ludovic Courtès 4aee6e6003 services: nscd-service: Add #:name-services parameter.
* gnu/services/base.scm (nscd-service): Add #:name-services parameter.
  In 'start' field, set LD_LIBRARY_PATH based on #:name-services.
* doc/guix.texi (Base Services): Document it.
  (Name Service Switch): Link to 'nscd-service'.
2015-02-04 22:49:35 +01:00
Ludovic Courtès 996ed73948 system: Add bindings to configure libc's NSS.
* gnu/system/nss.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu.scm (%public-modules): Add it.
* gnu/system.scm (<operating-system>)[name-service-switch]: New field.
  (etc-directory): Add #:nss parameter and honor it.
  (operating-system-etc-directory): Adjust call accordingly.
* doc/guix.texi (operating-system Reference): Document
  'name-service-switch'.
  (Name Service Switch): New section.
2015-02-04 22:49:35 +01:00
Ludovic Courtès ffd74de0c6 gnu: wpa-supplicant: Install man pages.
* gnu/packages/admin.scm (wpa-supplicant)[arguments]: Add
  'install-man-pages' phase.
2015-02-04 22:49:35 +01:00
Ludovic Courtès 61bdd0d89f gnu: wpa-supplicant: Use GnuTLS instead of OpenSSL.
* gnu/packages/admin.scm (wpa-supplicant)[arguments] <configure phase>:
  Set CONFIG_TLS.
  [inputs]: Add GNUTLS and LIBGCRYPT.
2015-02-04 22:49:34 +01:00
Ludovic Courtès 3b9855f496 build: Make 'chroot' a hard requirement.
* config-daemon.ac: Error out when $ac_cv_func_chroot is not "yes".
* nix/nix-daemon/guix-daemon.cc (options): Remove #ifdef HAVE_CHROOT.
  (main): Likewise.
2015-02-04 22:49:34 +01:00
Mark H Weaver 6a070700df gnu: libffcall: Correct license field.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* gnu/packages/libffcall.scm (libffcall): Change license to gpl2+.
2015-02-04 04:31:40 -05:00
Mark H Weaver f5844fde7d gnu: Add libffcall.
* gnu/packages/libffcall.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Co-Authored-By: Joshua S. Grant <jgrant@parenthetical.io>
2015-02-04 01:51:21 -05:00
Mark H Weaver 89328d240f Add support for 'cvs-fetch' method in origins.
* guix/cvs-download.scm, guix/build/cvs.scm: New files.
* Makefile.am (MODULES): Add them.
2015-02-04 01:51:20 -05:00
Mark H Weaver b52af02b5d gnu: Add python2-dbus.
* gnu/packages/python.scm (python2-dbus): New variable.
2015-02-04 01:36:09 -05:00
Pierre-Antoine Rault d95a56c632 gnu: Add python-dbus.
* gnu/packages/python.scm (python-dbus): Add it. Makes use of dbus,
  dbus-glib and glib itself.
2015-02-04 01:36:03 -05:00
Mark H Weaver 613467abc5 Remove outdated comment from svn-fetch.
* guix/svn-download.scm (svn-fetch): Remove outdated comment.
2015-02-04 00:14:37 -05:00
Mark H Weaver be1f44bbd6 gnu: python-urwid: Remove Fedora mirror from source URI list.
* gnu/packages/python.scm (python-urwid)[source]: Remove Fedora mirror.
2015-02-04 00:11:06 -05:00
Mark H Weaver 9a72770094 gnu: wpa-supplicant: Update to 2.3.
* gnu/packages/admin.scm (wpa-supplicant): Update to 2.3.  Update URLs.
2015-02-03 23:10:59 -05:00
David Thompson 4b7ad2e338 guix: environment: Consider all package outputs.
* guix/scripts/environment.scm (for-each-search-path): Iterate over all
  derivation output paths.
  (packages->transitive-inputs): Process inputs that specify an output, too.
2015-02-03 16:11:01 -05:00
宋文武 5ce93d9ade services: xorg: Add sawfish session.
* gnu/services/xorg.scm (%sawfish-session-type): New variable.
* doc/guix.texi (X Window): Mention it.
2015-02-03 22:20:49 +08:00
宋文武 ca2eebbd99 gnu: Add sawfish.
* gnu/packages/sawfish.scm (sawfish): New variable.
2015-02-03 22:13:00 +08:00
宋文武 a0aa8d0be0 gnu: Add rep-gtk.
* gnu/packages/sawfish.scm (rep-gtk): New variable.
2015-02-03 22:13:00 +08:00
宋文武 93dc836f9d gnu: Add librep.
* gnu/packages/sawfish.scm: New file.
* gnu/packages/patches/librep-rules.mk.patch: New file.
* gnu-system.am: Add them.
2015-02-03 22:13:00 +08:00
Mark H Weaver e99f421185 gnu: Add python-urwid and python2-urwid.
Based on preliminary work by Omar Radwan <toxemicsquire4@gmail.com>.

* gnu/packages/python.scm (python-urwid, python2-urwid): New variables.
2015-02-03 00:33:08 -05:00
David Thompson 50b7a6a040 gnu: httpd: Add perl input.
* gnu/packages/web.scm (httpd): Add perl input.
2015-02-02 20:38:31 -05:00
David Thompson bc35100151 gnu: inkscape: Update to 0.91.
* gnu/packages/inkscape.scm (inkscape): Update to 0.91.
2015-02-02 20:38:30 -05:00
Andreas Enge 20fbd20932 gnu: node: Update to 0.10.36.
* gnu/packages/node.scm (node): Update to 0.10.36.
2015-02-03 00:14:54 +01:00
Andreas Enge 004dbec567 gnu: elfutils: Update to 0.161.
* gnu/packages/elf.scm (elfutils): Update to 0.161.
2015-02-02 23:40:58 +01:00
Andreas Enge 63af948fc4 gnu: sipwitch: Update to 1.9.6.
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.6.
2015-02-02 23:33:36 +01:00
Taylan Ulrich B b1ec2233a1 Set Emacs indentation for `wrap-program'.
* .dir-locals.el (scheme-mode): Set `scheme-indent-function' of `wrap-program'
  to 1.
2015-02-02 17:22:36 -05:00
Andreas Enge aa30c6e738 gnu: ucommon: Update to 6.3.0.
* gnu/packages/telephony.scm (ucommon): Update to 6.3.0.
2015-02-02 23:03:30 +01:00
Mark H Weaver 4e7a137a83 Revert "gnu: python-matplotlib: Remove python-pillow input."
python-pillow is now fixed, so we can add it back.
This reverts commit dfbc33dceb.
2015-02-02 15:19:12 -05:00
Eric Bavier ca4077561f gnu: openjpeg: Upgrade to 2.1.0.
* gnu/packages/image.scm (openjpeg): Upgrade to 2.1.0.
  (openjpeg-2.0): New variable.
* gnu/packages/pdf.scm (mupdf)[inputs]: Use openjpeg-2.0.
2015-02-02 13:03:42 -06:00
Mark H Weaver 288084d535 gnu: Add hdparm.
* gnu/packages/linux.scm (hdparm): New variable.
2015-02-02 12:13:58 -05:00
Ludovic Courtès 01d8ac64ab store: Remove 'build-derivations'.
* guix/store.scm (build-derivations): Remove.
* guix/derivations.scm (build-derivations): Write in terms of
  'build-things'.
* doc/guix.texi (Invoking guix build): Adjust text accordingly.
2015-02-02 12:46:36 +01:00
Ludovic Courtès bd98ad1fbc tests: Skip 'guix-register' when the socket name length is exceeded.
* tests/guix-register.sh: Before running 'guix-daemon', check whether
  the socket name length exceeds the system limitation.
2015-02-02 12:46:36 +01:00
Ludovic Courtès 5f1f10c59d tests: Don't dump the list of dead items in the test log.
* tests/store.scm ("dead-paths"): Wrap result in '->bool'.
2015-02-02 12:46:36 +01:00
Ludovic Courtès abac874b22 store: Add 'build-things'.
* guix/store.scm (operation-id): Rename 'build-derivations' to
  'build-things', as per Nix commit 1aba0bf0.
  (build-derivations): Rename to...
  (build-things): ... this.  Keep 'build-derivations' as an alias.
  (build): New procedure.
* tests/store.scm ("build-things with output path",
  "substitute + build-things with output path"): New tests.
2015-02-02 12:46:36 +01:00
Ludovic Courtès e6c8839c18 tests: Add 'with-derivation-substitute' and use it.
* guix/tests.scm (%substitute-directory): New variable.
  (call-with-derivation-narinfo): Use it.
  (call-with-derivation-substitute): New procedure.
  (with-derivation-substitute): New macro.
* tests/store.scm ("substitute"): Use 'with-derivation-substitute'.
  ("substitute, corrupt output hash"): Likewise.
2015-02-02 12:46:35 +01:00
Ludovic Courtès 6eebbab562 tests: Further factorize substitute mocks.
* guix/tests.scm (derivation-narinfo): Turn 'nar' into a keyword
  parameter.  Add #:sha256 parameter, and honor it.
  (call-with-derivation-narinfo): Add #:sha256 and pass it to
  'derivation-narinfo'.
  (with-derivation-narinfo): Extend with support for (sha256 => value).
* tests/store.scm ("substitute query"): Use 'with-derivation-narinfo'.
  ("substitute"): Likewise.
  ("substitute, corrupt output hash"): Likewise.
  ("substitute --fallback"): Likewise.
* tests/derivations.scm: Remove Emacs local variable.
2015-02-02 12:46:35 +01:00
Ludovic Courtès 2d53df66de tests: Use 'with-store' as appropriate.
* tests/store.scm ("no substitutes", "substitute query",
  "substitute", "substitute, corrupt output hash",
  "substitute --fallback"): Use 'with-store' instead of
  'open-connection'.
2015-02-02 12:46:35 +01:00
Ludovic Courtès 1af50c224d Add Deck to 'AUTHORS'. 2015-02-02 12:46:35 +01:00
Mark H Weaver 3b02429c8a gnu: libvpx: Apply bug fixes.
Fixes build on armhf.

* gnu/packages/patches/libvpx-fix-armhf-link.patch,
  gnu/packages/patches/libvpx-fix-ssse3-quantize.patch,
  gnu/packages/patches/libvpx-vp9-out-of-bounds-access.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/video.scm (libvpx): Add patches.  On armhf, add additional
  configure flags to avoid requiring support for NEON.
2015-02-02 03:54:42 -05:00
Taylan Ulrich Bayırlı/Kammer 38012ed5cd gnu: Add polipo.
* gnu/packages/web.scm (polipo): New variable.
2015-02-01 20:43:50 -05:00
Taylan Ulrich Bayırlı/Kammer dd2efd3d5b gnu: Add dnsmasq.
* gnu-system.am (GNU_SYSTEM_MODULES): Add dnsmasq.scm.
* gnu/packages/dnsmasq.scm: New file.
2015-02-01 17:53:36 -05:00
宋文武 48f46dc379 gnu: gdk-pixbuf: Enable Xlib rendering support.
* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: New field.
  [inputs]: Add LIBX11.
2015-02-01 13:18:37 +08:00
Mark H Weaver 13b284d91e gnu: icecat: Use system libvpx, icu4c, and pixman libraries.
* gnu/packages/gnuzilla.scm (icecat)[inputs]: Add libvpx, icu4c, pixman.
  [arguments]: Add --with-system-libvpx, --with-system-icu, and
  --enable-system-pixman configure flags.  Add comments about why we
  cannot (yet) add system cairo and sqlite, etc.
2015-01-31 08:52:49 -05:00
宋文武 20e416453c gnu: libxtst: Propagate libxi.
* gnu/packages/xorg.scm (libxtst): Move libxi to 'propagated-inputs'.
2015-01-31 21:38:31 +08:00
Mark H Weaver 43cc5c5e61 gnu: icecat: Use gstreamer-1.0 and enable webrtc.
* gnu/packages/gnuzilla.scm (icecat)[inputs]: Use latest gstreamer and
  gst-plugins-base.
  [arguments]: Remove "--disable-webrtc" and add "--enable-gstreamer=1.0" to
  configure flags.
2015-01-31 00:06:20 -05:00
Jason Self 28bda60251 gnu: linux-libre: Update to 3.18.5
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.5.
2015-01-30 11:42:58 -08:00
Ricardo Wurmus 2b0bba49e1 gnu: Add jansson.
* gnu/packages/web.scm (jansson): New variable.
2015-01-30 17:08:19 +01:00
Mark H Weaver 582100a0c0 gnu: icecat: Update to 31.4.0.
* gnu/packages/patches/icecat-CVE-2014-1587-bug-1042567.patch,
  gnu/packages/patches/icecat-CVE-2014-1587-bug-1072847.patch,
  gnu/packages/patches/icecat-CVE-2014-1587-bug-1079729.patch,
  gnu/packages/patches/icecat-CVE-2014-1587-bug-1080312.patch,
  gnu/packages/patches/icecat-CVE-2014-1587-bug-1089207.patch,
  gnu/packages/patches/icecat-CVE-2014-1590.patch,
  gnu/packages/patches/icecat-CVE-2014-1592.patch,
  gnu/packages/patches/icecat-CVE-2014-1593.patch,
  gnu/packages/patches/icecat-CVE-2014-1594.patch,
  gnu/packages/patches/icecat-CVE-2014-8634-pt1.patch,
  gnu/packages/patches/icecat-CVE-2014-8634-pt2.patch,
  gnu/packages/patches/icecat-CVE-2014-8638-pt1.patch,
  gnu/packages/patches/icecat-CVE-2014-8638-pt2.patch,
  gnu/packages/patches/icecat-CVE-2014-8639.patch,
  gnu/packages/patches/icecat-CVE-2014-8641.patch,
  gnu/packages/patches/icecat-armhf-xpcom.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/gnuzilla.scm: Update to 31.4.0.  Remove patches.
2015-01-30 10:54:41 -05:00
宋文武 686e025d79 gnu: Add desktop-file-utils.
* gnu/packages/gnome.scm (desktop-file-utils): New variable.
2015-01-30 21:47:01 +08:00
Ricardo Wurmus 241e122193 gnu: bowtie: fix build errors
* gnu/packages/bioinformatics.scm (bowtie): Add 'supported-systems' field and
  add Makefile patch.
* gnu/packages/patches/bowtie-fix-makefile.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-01-30 10:45:27 +01:00
David Thompson e89fa047f7 gnu: jack-1: Fix licenses.
* gnu/packages/audio.scm (jack-1): Change license field to a list of licenses
  instead of a list of symbols.
2015-01-29 19:19:08 -05:00
Ricardo Wurmus 8c6c91fead gnu: Add Threading Building Blocks.
* gnu/packages/tbb.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-29 11:40:06 +01:00
Ricardo Wurmus 0760e3a1aa gnu: Add IcedTea 6
* gnu/packages/java.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-29 10:32:42 +01:00
Ludovic Courtès b02c197cdf Merge branch '0.8.1-release' 2015-01-29 08:54:21 +01:00
Ludovic Courtès ae5e3d3a62 gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update snapshot.
  (guix): Change to GUIX-DEVEL.
2015-01-28 23:53:09 +01:00
Ludovic Courtès f1082ec16c gnu: guix: Update to 0.8.1.
* gnu/packages/package-management.scm (guix-0.8): Rename to...
  (guix-0.8.1): ... this.  Add 'propagated-inputs'.
  (guix-devel): Append ".0" to version number.  Remove
  'propagated-inputs'.
  (guix): Set to GUIX-0.8.1.
2015-01-28 23:36:58 +01:00
Mark H Weaver 39d0ce93be gnu: racket: Add MIPS back to supported-systems.
* gnu/packages/scheme.scm (racket)[supported-systems]: Remove field.
2015-01-28 16:55:55 -05:00
Ludovic Courtès 983c082a74 Update NEWS. 2015-01-28 22:01:29 +01:00
Mark H Weaver a884ad0bff gnu: xf86-video-geode: Only supported on i686 systems.
* gnu/packages/xorg.scm (xf86-video-geode)[supported-systems]: Trim to include
  only i686-based systems.
2015-01-28 15:43:33 -05:00
Mark H Weaver 6ec7dd15bb gnu: xf86-video-intel: Only supported on Intel-based systems.
* gnu/packages/xorg.scm (xf86-video-intel)[supported-systems]: Trim to include
  only Intel-based systems.
2015-01-28 15:43:33 -05:00
Mark H Weaver 893046ff4b gnu: Remove 'xf86-video-ast' and 'xf86-video-newport' drivers.
* gnu/packages/xorg.scm (xf86-video-ast, xf86-video-newport): Comment out.
2015-01-28 15:43:33 -05:00
Ludovic Courtès d3206af65a gnu: racket: Update to 6.1.1.
* gnu/packages/scheme.scm (racket): Update to 6.1.1.  Adjust URI.
  [inputs]: Add FONTCONFIG and SQLITE.
2015-01-28 21:32:58 +01:00
Ludovic Courtès 01ed3c4fe5 linux-boot: Don't fail if /root/etc/mtab is a dangling symlink.
Reported Joshua Grant.
Patch suggested by Mark H Weaver.

* gnu/build/linux-boot.scm (mount-root-file-system): Use
  'false-if-exception' instead of 'when (file-exists? ...)' to account
  for dangling symlinks.
2015-01-28 21:32:58 +01:00
Ludovic Courtès 9250b30466 ui: Update copyright year in '--version' output.
* guix/ui.scm (show-version-and-exit): Increment copyright year.
2015-01-28 21:32:58 +01:00
Ludovic Courtès d31721464e nls: Update 'vi' translation. 2015-01-28 21:32:58 +01:00
Mark H Weaver 9dcd1b3b1c gnu: guile-ssh: Put 'autoreconf' phase after 'unpack', not before 'configure'.
* gnu/packages/ssh.scm (guile-ssh): Add 'autoreconf' phase after 'unpack'
  instead of before 'configure', so that it will be before
  'patch-usr-bin-file' and other similar phases.
2015-01-28 15:26:31 -05:00
Federico Beffa 18a5a9a17a gnu: Add libupnp.
* gnu/packages/libupnp.scm: New file.
* gnu-system.am: Add the new file.
2015-01-28 16:09:57 +01:00
Ludovic Courtès 88c6b58020 gnu: Define $CC to placate 'g-ir-scanner'.
* gnu/packages/glib.scm (telepathy-glib)[arguments]: New field.
* gnu/packages/gnome.scm (json-glib)[arguments]: New field.
2015-01-28 14:38:58 +01:00
Ludovic Courtès 2fd22ec52c gnu: libextractor: Adjust to deal with current libmagic.
* gnu/packages/gnunet.scm (libextractor)[source]: Add 'snippet'.
  (libextractor)[inputs]: Remove GNU-GETTEXT, which was unneeded.  Add
  FILE.
2015-01-28 14:23:14 +01:00
Ludovic Courtès 2c63619588 doc: Fix typo for 'lsh-service'.
* doc/guix.texi (Networking Services): Fix typo in 'lsh-service'
  parameters.
2015-01-28 14:04:57 +01:00
Ludovic Courtès 8fbf530260 lint: Fix argument parsing when several packages are specified.
* guix/scripts/lint.scm (%options) <--checkers>: Remove 'arg-handler'
  parameter, and return a single value.
  (guix-lint)[parse-options]: Remove 'arg-handler' parameter from
  handlers.  Remove second seed to 'args-fold*'.
* tests/guix-lint.sh: Add test.
2015-01-28 14:00:58 +01:00
Ludovic Courtès 30347040de gnu: gimp: Update to 2.8.14.
* gnu/packages/gimp.scm (gimp): Update to 2.8.14.
2015-01-28 10:56:04 +01:00
Ludovic Courtès 3761792c3a system: Define $ASPELL_CONF in /etc/profile.
* gnu/system.scm (etc-directory)[profile]: Define 'ASPELL_CONF'.
2015-01-28 10:56:04 +01:00
Ludovic Courtès 43faf869b9 Update NEWS. 2015-01-28 10:56:04 +01:00
Ludovic Courtès 8a225c6652 doc: Update USB image size.
* doc/guix.texi (System Installation): Change to --image-size=850MiB.
2015-01-28 10:56:04 +01:00
Ludovic Courtès 7de2b18612 install: Add iw to the packages.
* gnu/system/install.scm (installation-os)[packages]: Add IW.
2015-01-28 10:56:04 +01:00
Ludovic Courtès 8666869491 Thank Amirouche. 2015-01-28 10:56:04 +01:00
Jason Self 589f7dbeb5 gnu: linux-libre: Update to 3.18.4
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.4.
2015-01-27 19:52:38 -08:00
Ludovic Courtès 6bc64f4187 gnu: Add xinit.
* gnu/packages/xorg.scm (xinit): New variable.
2015-01-27 21:32:07 +01:00
Ludovic Courtès 3a5d914b5e doc: Change the USB image file name to 'gsd-usb-install*'.
* doc/guix.texi (System Installation): Change the file name to
  'gsd-usb-install-*'.
2015-01-27 21:32:07 +01:00
Ludovic Courtès 493c245b8f linux-initrd: Add USB kernel modules to the default initrd.
* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add
  usb-storage, uas, usbkbd, and usbhid.
* gnu/system/vm.scm (system-disk-image): Remove #:extra-modules argument
  to 'base-initrd'.
2015-01-27 21:32:06 +01:00
Manolis Ragkousis d021d25175 gnu: apr-util: Correct hash.
* gnu/packages/apr.scm (apr-util): Correct hash.
2015-01-27 13:39:14 -05:00
Alex Kost 6256553cc1 gnu: Add sxiv.
* gnu/packages/sxiv.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-27 18:02:45 +03:00
Ricardo Wurmus 74574fd1e3 gnu: Add GCJ
* gnu/packages/gcc.scm (gcj-4.8, ecj-bootstrap-4.8): New variables.
* gnu/packages/javac.in: New file.
* gnu-system.am (MISC_DISTRO_FILES): Add it.
* Makefile.am (nobase_dist_guilemodule_DATA): Add MISC_DISTRO_FILES.
2015-01-27 15:33:08 +01:00
rekado bfe26beb3e gnu: Add LRDF.
* gnu/packages/rdf.scm (lrdf): New variable.
2015-01-27 10:58:45 +01:00
rekado fb68469f13 gnu: Add JACK
* gnu/packages/audio.scm: New file
* gnu-system.am (GNU_SYSTEM_MODULES): Add it
2015-01-27 10:53:51 +01:00
Ludovic Courtès b1e95eca07 doc: Update "Limitations" section.
* doc/guix.texi (System Installation): Mention Xfce.  Update package
  count.
2015-01-27 10:24:35 +01:00
Ludovic Courtès c73adb0998 install: Mention GSD.
* gnu/system/install.scm (installation-services): Mention the Guix
  System Distribution.
2015-01-27 10:24:35 +01:00
Ludovic Courtès 39de700c6f gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (boot-guile-uri): New procedure.
  (guix-0.8): Add "boot-guile/armhf" input.  Update
  'copy-bootstrap-guile' phase to handle it.
  (guix-devel): Update snapshot.
2015-01-27 10:24:34 +01:00
Manolis Ragkousis a795477b20 gnu: zsh: Update to 5.0.7
* gnu/packages/zsh.scm (zsh): Update to 5.0.7

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-01-27 10:24:34 +01:00
Manolis Ragkousis 9506a01c6d gnu: apr: Update to 1.5.4.
* gnu/packages/apr.scm (apr-util): Update to 1.5.4

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-01-27 10:24:34 +01:00
Manolis Ragkousis 64605c20ec gnu: ftp: Update to 4.6.1.
* gnu/packages/ftp.scm (lftp): Update to 4.6.1

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-01-27 10:24:34 +01:00
Ludovic Courtès 6acef6811f services: mingetty: Wait for udev.
* gnu/services/base.scm (mingetty-service): Add 'udev' to
  'requirement'.
2015-01-27 10:24:34 +01:00
宋文武 00239d0594 system: Add 'XDG_DATA_DIRS' and 'XDG_CONFIG_DIRS' to /etc/profile.
* gnu/system.scm (etc-directory)[profile]: Set 'XDG_DATA_DIRS' and
  'XDG_CONFIG_DIRS'.
2015-01-27 13:49:02 +08:00
Ludovic Courtès 4ad8789c17 nls: Add a few more package modules for translation.
* po/packages/POTFILES.in: List a few more files.
2015-01-27 00:07:25 +01:00
Ludovic Courtès 36c452309f build: Unset 'GUIX_PACKAGE_PATH' in 'sync-descriptions'.
* Makefile.am (sync-descriptions): Clear 'GUIX_PACKAGE_PATH'.
2015-01-26 23:56:58 +01:00
Ludovic Courtès f8bcf997d5 build: Remove reference to non-existent file.
* daemon.am (EXTRA_DIST): Remove nix/sync-with-upstream.
2015-01-26 23:56:18 +01:00
Ludovic Courtès 873c4085c8 doc: Expound a bit on 'guix lint'.
* doc/guix.texi (Invoking guix lint): Give examples of checkers.
2015-01-26 23:45:27 +01:00
Ludovic Courtès ffc3a02b5a services: xorg: Define the <session-type> record type.
* gnu/services/xorg.scm (<session-type>): New record type.
  (%windowmaker-session-type, %ratpoison-session-type): New variables.
  (%default-xsessions): Use them.
  (xsessions-directory): Expect SESSIONS to be a list of <session-type>
  and rewrite accordingly.
  (slim-service): Adjust docstring.
* doc/guix.texi (X Window): Update accordingly.
2015-01-26 23:33:24 +01:00
Ludovic Courtès 3bcfe23cfc substitute-binary: Let the user know when the cache is being updated.
* guix/scripts/substitute-binary.scm (open-cache*): New macro.
  (guix-substitute-binary): Use it instead of (delay (open-cache ...)).
2015-01-26 21:58:12 +01:00
Ludovic Courtès 19a454448b hash: Initialize libgcrypt before use.
Fixes <http://bugs.gnu.org/19677>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/hash.scm: Use (guix gcrypt).
  (sha256, open-sha256-md, md-write, md-close): Use 'libgcrypt-func'
  instead of 'dynamic-func'.
2015-01-26 21:58:12 +01:00
Ludovic Courtès 4862bc4a1a Add (guix gcrypt).
* guix/gcrypt.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/pk-crypto.scm: Use it.
  (libgcrypt-func, gcrypt-version): Remove.
2015-01-26 21:58:12 +01:00
Mark H Weaver 72c5ad8bae gnu: Add gobject-introspection patches to gnu-system.am.
* gnu-system.am (dist_patch_DATA): Add
  'gobject-introspection-absolute-shlib-path.patch' and
  'gobject-introspection-girepository.patch'.
2015-01-26 05:13:05 -05:00
Mark H Weaver 5ade90ba69 Merge branch 'wip-gobject-introspection' 2015-01-25 21:15:13 -05:00
Ludovic Courtès 06aac933e1 guix lint: Make the 'source' checker happy if at least one URI is valid.
Before that it would check all the URIs of each package.

* guix/scripts/lint.scm (validate-uri): Really return #f on failure and
  #t otherwise.
  (check-source): Replace 'for-each' with 'any'.
2015-01-26 00:19:33 +01:00
Ludovic Courtès ac41737f49 services: dbus: Set the search path for .service files.
* gnu/services/dbus.scm (dbus-configuration-directory)[services->sxml]:
  Produce a <servicedir> tag.
2015-01-26 00:06:32 +01:00
Ludovic Courtès dfba54893e gnu: Raise an error when a bootstrap binary is not found.
* gnu/packages.scm (search-bootstrap-binary): Raise an error when
  FILE-NAME is not found.
2015-01-26 00:06:32 +01:00
Andreas Enge 836223f746 Revert "gnu: netpbm: Update to 10.69.04."
This reverts commit 03c2776535.
2015-01-25 21:57:44 +01:00
Andreas Enge 7246e8f701 Revert "gnu: netpbm: Correct hash."
This reverts commit a6ae52fe14.
2015-01-25 21:57:35 +01:00
Andreas Enge a6ae52fe14 gnu: netpbm: Correct hash.
* gnu/packages/netpbm.scm (netpbm): Correct hash.

Fixes <http://bugs.gnu.org/19686>.
Reported by Marek Benc <dusxmt@gmx.com> and Mark Weaver <mhw@netris.org>.
2015-01-25 20:29:58 +01:00
Andreas Enge 014e7dd8f0 gnu: Add python-pyqt.
* gnu/packages/qt.scm (python-pyqt, python2-pyqt): New variables.
* gnu/packages/patches/pyqt-configure.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2015-01-25 20:10:03 +01:00
Andreas Enge 84ef83dd05 gnu: Add python-sip.
* gnu/packages/qt.scm (python.sip, python2-sip): New variables.
2015-01-25 20:04:39 +01:00
Cyril Roelandt 17a7b75c0f lint: add 'source' checker.
* guix/scripts/lint.scm (validate-uri?): New procedure.
  (%checkers): Add 'source' checker
2015-01-25 18:34:51 +01:00
Andreas Enge 03c2776535 gnu: netpbm: Update to 10.69.04.
* gnu/packages/netpbm.scm (netpbm): Update to 10.69.04.
2015-01-25 10:56:44 +01:00
Ludovic Courtès f304c9c237 derivations: Raise an error for references to non-existent outputs.
Fixes <http://bugs.gnu.org/19630>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/derivations.scm (&derivation-error,
  &derivation-missing-output-error): New error conditions.
  (derivation->output-path): Raise a '&derivation-missing-output-error'
  if OUTPUT is not an output of DRV.
* guix/ui.scm (call-with-error-handling): Add case for
  'derivation-missing-output-error?'.
  (show-what-to-build): Check whether (derivation-outputs drv) is
  empty.
* tests/packages.scm ("reference to non-existent output"): Add test.
2015-01-24 22:57:49 +01:00
Ludovic Courtès da74bc7886 Add Ricardo to 'AUTHORS'. 2015-01-24 22:57:49 +01:00
Andreas Enge b027d919cb gnu: Add libdvdnav.
* gnu/packages/video.scm (libdvdnav): New variable.
2015-01-24 18:05:03 +01:00
Andreas Enge e6bdb36a51 gnu: Add libdvdread.
* gnu/packages/video.scm (libdvdread): New variable.
2015-01-24 17:59:22 +01:00
Andreas Enge 2f7fade9ea gnu: youtube-dl: Update to 2015.01.23.4.
* gnu/packages/video.scm (youtube-dl): Update to 2015.01.23.4.
2015-01-24 16:42:10 +01:00
Andreas Enge 7db8a6011a gnu: freeipmi: Update to 1.4.8.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.8.
2015-01-24 11:55:37 +01:00
Andreas Enge 6e8586fb47 gnu: xnee: Update to 3.19 and add input GTK+.
* gnu/packages/xnee.scm (xnee): Update to 3.19. This requires gtk+-2 as
    additional input.
2015-01-24 09:56:39 +01:00
Ludovic Courtès 02bb6b45e4 services: guix: #:authorize-hydra-key? now defaults to #t.
* gnu/services/base.scm (guix-service): Change AUTHORIZE-HYDRA-KEY?
  default value to #t.
2015-01-23 23:49:24 +01:00
Ludovic Courtès ca79e42ea2 build-system/glib-or-gtk: Add MIME directories to $XDG_DATA_DIRS.
Fixes an Evince regression introduced in commit 3d243e9.

* guix/build/glib-or-gtk-build-system.scm (data-directories): Check the
  /mime sub-directory.
2015-01-23 23:49:24 +01:00
Andreas Enge 7d8379a767 gnu: netpbm: Switch to svn checkout.
* gnu/packages/netpbm.scm (netpbm): Use svn-fetch for the source instead
    of a separately hosted tarball.
2015-01-23 23:27:20 +01:00
Andreas Enge e066928977 gnu: python-pyparsing: Update to 2.0.3.
* gnu/packages/python.scm (python-pyparsing, python2-pyparsing): Update to 2.0.3.
2015-01-23 21:50:56 +01:00
Federico Beffa 94987ebe13 gnu: gobject-introspection: Add patch.
* gnu/packages/glib.scm (gobject-introspection): Add patch
  gobject-introspection-girepository.patch.
2015-01-23 18:33:59 +01:00
Ludovic Courtès 37cb3a69ac gnu: gtk+: Add CUPS print back-end.
* gnu/packages/gtk.scm (gtk+)[inputs]: Add CUPS.
2015-01-23 16:29:20 +01:00
Ludovic Courtès 80ae897f01 doc: Mention that guix.el works out-of-the-box on GSD.
* doc/emacs.texi (Emacs Initial Setup): Mention that it works
  out-of-the-box on GSD.
2015-01-23 16:29:20 +01:00
Ludovic Courtès 842e0b95f4 build: Change version to 0.8.1.
* configure.ac: Change version to 0.8.1.
2015-01-23 16:29:20 +01:00
Ludovic Courtès a21f0e0a54 gnu: libmicrohttpd: Update to 0.9.39.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.39.
2015-01-23 16:29:20 +01:00
Ludovic Courtès 73ebc66feb gnu: rcs: Update to 5.9.4.
* gnu/packages/version-control.scm (rcs): Update to 5.9.4.
2015-01-23 16:29:20 +01:00
Ludovic Courtès 351d752630 gnu: parallel: Update to 20150122.
* gnu/packages/parallel.scm (parallel): Update to 20150122.
2015-01-23 16:29:20 +01:00
Ludovic Courtès 2b8ae65ed1 gnu: libassuan: Update to 2.2.0.
* gnu/packages/gnupg.scm (libassuan): Update to 2.2.0.
2015-01-23 16:29:20 +01:00
Ludovic Courtès ec2da92c96 gnu: util-linux: Do not build 'kill'.
* gnu/packages/linux.scm (util-linux)[source](snippet): Set
  "build_kill=no" in 'configure'.
2015-01-23 16:29:20 +01:00
Ludovic Courtès c44ed26ce7 gnu: e2fsprogs: Don't build libraries and commands provided by util-linux.
* gnu/packages/linux.scm (e2fsprogs)[arguments]: Add --disable-blkid
  --disable-libuuid --disable-uuidd --disable-fsck.
2015-01-23 16:29:20 +01:00
Ludovic Courtès 9f533d60df gnu: util-linux: Update to 2.25.2.
* gnu/packages/linux.scm (util-linux): Update to 2.25.2.  Remove
  util-linux-perl.patch, and add util-linux-tests.patch.  Adjust
  'snippet'.
  [arguments]: Remove 'patch-chkdupexe' phase.  Add 'pre-check' phase.
  [native-inputs]: Add NET-BASE.
* gnu/packages/patches/util-linux-perl.patch: Remove.
* gnu/packages/patches/util-linux-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2015-01-23 16:29:19 +01:00
Ludovic Courtès 61bce2f9cb gnu: e2fsprogs: Update to 1.42.11.
* gnu/packages/linux.scm (e2fsprogs): Update to 1.42.11.
2015-01-23 16:29:19 +01:00
Ludovic Courtès 53a7a01675 doc: Add services to the configuration template.
* gnu/system/os-config.tmpl (services): New field.
2015-01-23 16:29:17 +01:00
Ludovic Courtès dd6b28d18b install: Make sure 'info' can decompress the Info files.
* gnu/system/install.scm (log-to-info): Add GZIP to $PATH.
2015-01-23 10:37:01 +01:00
Ludovic Courtès de71cc4f83 doc: Update USB installation image name.
* doc/guix.texi (System Installation): Change image name to guix-usb-*.
2015-01-23 10:17:52 +01:00
Ludovic Courtès 3ca2731c20 doc: Introduce the Guix System Distribution.
* doc/guix.texi (Introduction): Introduce "Guix System Distribution".
  Add a couple of sentences about it.  Remove "Guixotic".
  (GNU Distribution): Likewise.
  (System Installation): Ditto.
2015-01-23 10:15:46 +01:00
Marek Benc 2baf46348f gnu: nvi: Fix Berkely DB compatability issues.
* gnu/packages/patches/nvi-db4.patch: New file.
* gnu/packages/patches/nvi-dbpagesize-binpower.patch: New file.
* gnu/packages/nvi.scm (nvi): Make use of them.
* gnu-system.am (dist_patch_DATA): Add them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-01-23 09:44:42 +01:00
宋文武 e1626e3b3a gnu: sudo: Set rundir, vardir and iologdir.
* gnu/packages/admin.scm (sudo)[arguments]<#:configure-flags>: Add
  --with-rundir=/run/sudo --with-vardir=/var/db/sudo
  --with-iologdir=/var/log/sudo-io.
2015-01-23 12:24:54 +08:00
Ludovic Courtès 8c9267a448 system: Make D-Bus warnings non fatal.
* gnu/system.scm (etc-directory): Add 'DBUS_FATAL_WARNINGS' in PROFILE.
2015-01-22 23:47:13 +01:00
Ludovic Courtès 0a0517690d system: Create /etc/emacs/site-start.el.
* gnu/system.scm (emacs-site-file, emacs-site-directory): New
  procedures.
  (etc-directory): Add 'EMACSLOADPATH' setting to PROFILE.  Call
  'emacs-site-directory', and bind its result to /etc/emacs.
2015-01-22 23:42:15 +01:00
Ludovic Courtès b6c5a39701 gnu: guix-devel: Propagate Geiser.
* gnu/packages/package-management.scm (guix-devel)[propagated-inputs]:
  Add GEISER.
2015-01-22 23:39:55 +01:00
Ludovic Courtès 5bf6b86f1b doc: Update 'ROADMAP'.
Suggested by Omar Radwan <toxemicsquire4@gmail.com>.

* ROADMAP: Rewrite.
2015-01-22 22:52:11 +01:00
Ludovic Courtès 70e629f548 guix system: Improve error messages.
* guix/ui.scm (report-error): Export.
* guix/scripts/system.scm (read-operating-system): Report syntax errors
  using standard GNU format.  Report other errors using 'display-error'.
2015-01-22 22:43:46 +01:00
Joshua S. Grant fbb020451e gnu: Add convenience macros to make module imports more concise.
* gnu.scm (use-package-modules, use-service-modules,
  use-system-modules): New macros.
2015-01-22 17:01:01 +01:00
Ludovic Courtès 3698f524d5 store: Change 'run-with-store' to return a single value.
* guix/store.scm (run-with-store): Wrap 'run-with-state' in
  'call-with-values'.  Return only the first value.
2015-01-21 23:18:57 +01:00
Ludovic Courtès a101c891e1 gnu: libtool: Update to 2.4.5.
* gnu/packages/autotools.scm (libtool): Update to 2.4.5.
  (libltdl): Adjust 'version' and 'source' to remain at 2.4.4.
2015-01-21 23:18:57 +01:00
Andreas Enge ca8343b5ac gnu: phonon: Shuffle inputs.
* gnu/packages/kde.scm (phonon): Move automoc to native-inputs and qt to
    propagated inputs.
2015-01-21 23:12:34 +01:00
Andreas Enge 898da0cc4c gnu: phonon: Update to 4.8.3.
* gnu/packages/kde.scm (phonon): Update to 4.8.3.
2015-01-21 22:55:27 +01:00
Ludovic Courtès 2af29d239b gnu: perf: Install libraries to lib/ instead of lib64/.
* gnu/packages/linux.scm (perf)[arguments]: Add "lib=lib" to
  #:make-flags.
2015-01-21 15:16:11 +01:00
Ludovic Courtès b1fb4b2371 gnu: perf: Build the interactive TUI.
* gnu/packages/linux.scm (perf)[inputs]: Add SLANG.
2015-01-21 15:16:10 +01:00
Ludovic Courtès e9257d377a gnu: Add S-Lang.
* gnu/packages/slang.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-21 15:16:10 +01:00
Ludovic Courtès d7ece67af0 gnu: perf: Build the documentation.
* gnu/packages/linux.scm (perf)[inputs]: Uncomment documentation inputs.
2015-01-21 15:16:10 +01:00
Ludovic Courtès 6c030d1037 gnu: perf: Add dependency on Python.
* gnu/packages/linux.scm (perf)[inputs]: Add PYTHON-2.
2015-01-21 15:16:10 +01:00
Federico Beffa 58d32305b6 gnu: libpeas: Update to 1.12.1, add 'pre-build phase.
* gnu/packages/gnome.scm (libpeas): Update to version 1.12.1 and add
  'pre-build phase.
2015-01-21 13:44:47 +01:00
Andreas Enge 2dfed643aa gnu: Register patches for installation.
* gnu-system.am (dist_patch_DATA): Add patches for aegis, clucene,
    libcanberra and lua-5.1.
2015-01-20 23:25:12 +01:00
Andreas Enge 4bb49be2c2 gnu: Add python-rdflib.
* gnu/packages/rdf.scm (python-rdflib): New variable.
2015-01-20 22:44:44 +01:00
Andreas Enge 673ab897a3 gnu: Add python-html5lib.
* gnu/packages/python.scm (python-html5lib, python2-html5lib): New variables.
2015-01-20 22:42:28 +01:00
Ludovic Courtès 1a0965045b guix package: Avoid spurious warnings from 'find-files'.
Reported by Andreas Enge <andreas@enge.fr>.

* guix/scripts/package.scm (with-null-error-port): New macro.
  (search-path-environment-variables): Wrap 'search-path-as-list' call
  in 'with-null-error-port'.
2015-01-20 22:29:17 +01:00
Andreas Enge 03411993a8 gnu: Add python-isodate.
* gnu/packages/python.scm (python-isodate, python2-isodate): New variables.
2015-01-20 22:16:58 +01:00
Ludovic Courtès 28561d85da build: Make sure only the local .go files are loaded during compilation.
Reported by Andreas Enge <andreas@enge.fr>
at <http://lists.gnu.org/archive/html/guix-devel/2015-01/msg00272.html>.

* Makefile.am (.scm.go): Add "unset GUILE_LOAD_COMPILED_PATH".
2015-01-20 14:55:06 +01:00
Ludovic Courtès dbab5150f8 gnu: 'search-patch' raises an error when a patch is not found.
* gnu/packages.scm (search-patch): Raise an error condition when
  'search-path' returns #f.
* tests/packages.scm ("patch not found yields a run-time error"): New
  test.
2015-01-20 10:17:24 +01:00
Ludovic Courtès 6b1f9721a8 packages: Mark the 'patches' field as delayed.
* guix/packages.scm (<origin>)[patches]: Mark as 'delayed'.
  (print-origin, origin->derivation): Add call to 'force' when accessing
  'patches'.
2015-01-20 09:59:56 +01:00
Ludovic Courtès 310b32a2a6 records: Add support for delayed fields.
* guix/records.scm (make-syntactic-constructor): Add #:delayed
  parameter.
  [delayed-field?]: New procedure.
  [wrap-field-value]: Use it.
  (define-record-type*)[delayed-field?, wrapped-field?]: New procedures.
  [thunked-field-accessor-name]: Rename to...
  [wrapped-field-accessor-name]: ... this.
  [field-spec->srfi-9]: Change 'thunked' to 'wrapped'.
  [delayed-field-accessor-definition]: New procedure.
  Compute delayed-field accessors and emit them.  Pass #:delayed to
  'make-syntactic-constructor'.
* tests/records.scm ("define-record-type* & delayed",
  "define-record-type* & delayed & default",
  "define-record-type* & delayed & inherited"): New tests.
2015-01-19 23:30:42 +01:00
Ludovic Courtès 0db40ed289 make-syntactic-constructor kwarg default 2015-01-19 23:30:42 +01:00
Ludovic Courtès c492be654b records: Factorize value wrapping in the record constructor.
* guix/records.scm (make-syntactic-constructor)[wrap-field-value]: New
  procedure.
  [field-bindings, field-value]: Use it.
2015-01-19 23:30:42 +01:00
Ludovic Courtès cf4efb394f records: Move 'make-syntactic-constructor' to the top level.
* guix/records.scm (make-syntactic-constructor): New procedure, formerly
  nested in 'define-record-type*'.
2015-01-19 23:30:42 +01:00
Ludovic Courtès 9b543456d7 records: Use keyword parameters for 'make-syntactic-constructor'.
* guix/records.scm (define-record-type*)[make-syntactic-constructor]:
  Turn THUNKED and DEFAULTS into keyword arguments.
  Adjust caller accordingly.  Declare 'thunked' and 'defaults' local
  variables.
2015-01-19 23:30:42 +01:00
Ludovic Courtès eb497b6616 gnu: Make libgnomeprint{,ui} as deprecated.
* gnu/packages/gnome.scm (libgnomeprint): Add comment and update
  'description' to mark it as deprecated.
  (libgnomeprintui): Ditto.
2015-01-19 23:30:42 +01:00
Ludovic Courtès 56b7a33873 gnu: Remove unneeded #:select.
* gnu/packages/fonts.scm: Remove #:select to work around
  <http://bugs.gnu.org/15540>.
2015-01-19 23:30:11 +01:00
Ludovic Courtès 00ebe4740a gnu: Move guile-charting to (gnu packages plotutils).
This removes the dependency from (gnu packages guile)
to (gnu packages gtk), which potentially reduces the memory/IO/CPU
footprint given that 'guile' is used during bootstrap.

* gnu/packages/guile.scm (guile-charting): Move to...
* gnu/packages/plotutils.scm (guile-charting): ... here.
2015-01-19 23:30:11 +01:00
Andreas Enge 109da1c082 gnu: Add json-glib.
* gnu/packages/gnome.scm (json-glib): New variable.
2015-01-19 23:05:58 +01:00
David Thompson 7d24363f09 gnu: tiled: Update to 0.11.0.
* gnu/packages/game-development.scm (tiled): Update.
2015-01-19 15:13:30 -05:00
David Thompson b0910aad2f gnu: tiled: Move to game-development module.
* gnu/packages/games.scm (tiled): Move from here...
* gnu/packages/game-development (tiled): ...to here.
2015-01-19 15:12:52 -05:00
Federico Beffa 7ed6ee1e34 gnu: vte: Add 'pre-build phase.
* gnu/packages/gnome.scm (vte): Add 'pre-build phase.
2015-01-19 18:04:12 +01:00
Ludovic Courtès c72aed6d8c gnu: emms: Let the build system install emms-print-metadata.1.
Reported by effa`` on #guix.

* gnu/packages/emacs.scm (emms)[arguments] <pre-install>: Remove
  'copy-file' invocation.
2015-01-19 16:37:05 +01:00
Ludovic Courtès d35c5e29b6 tests: Adjust syscall tests for 2.6ish Linux.
* tests/syscalls.scm ("set-network-interface-flags",
  "set-network-interface-address"): Accept EACCES as a valid result.
2015-01-19 15:44:12 +01:00
Ricardo Wurmus 510023184a gnu: Add CUPS.
* gnu/packages/cups.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-19 12:38:43 +01:00
Ricardo Wurmus 01aae5fcce gnu: Add IJS
* gnu/packages/ghostscript.scm (ijs): New variable.
2015-01-19 12:38:42 +01:00
Andreas Enge 7873318d30 gnu: Add telepathy-glib.
* gnu/packages/glib.scm (telepathy-glib): New variable.
2015-01-18 22:37:57 +01:00
Ludovic Courtès 71c1d5280c nar: Read archive signatures as Latin-1 strings.
Fixes <http://bugs.gnu.org/19610>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/nar.scm (restore-one-item): Use 'read-latin1-string' to read the
  signature.
2015-01-18 22:19:04 +01:00
Ludovic Courtès aa27b56083 serialization: Read Latin-1 strings with 'get-bytevector-n'.
* guix/serialization.scm (read-latin1-string): Use 'get-bytevector-n'
  instead of 'get-string-n'.  Use 'list->string' etc. to convert the
  bytevector to a string.
2015-01-18 22:17:09 +01:00
Federico Beffa 0404c34cb7 gnu: gtkmm: Update to 3.14.0.
* gnu/packages/gtk.scm (gtkmm): Update to 3.14.0.
2015-01-18 20:07:59 +01:00
Federico Beffa 13c9acbfbd gnu: xorg-server: Disable parallel execution of tests.
* gnu/packages/xorg.scm (xorg-server): Set '#:parallel-tests?' to '#f'.
2015-01-18 19:48:35 +01:00
Federico Beffa dc67ebd226 gnu: librsvg: Update to 2.40.6 and add 'pre-build phase.
* gnu/packages/gnome.scm (librsvg): Update to 2.40.6 and add 'pre-build phase.
2015-01-18 19:30:52 +01:00
Federico Beffa da6ce3f1b8 gnu: python-scipy: Update to 0.15.0.
* gnu/packages/python.scm (python-scipy): Update to 0.15.0.
2015-01-18 18:05:53 +01:00
Federico Beffa 3e6ccb5355 gnu: python-matplotlib: Update comments.
* gnu/packages/python.scm (python-matplotlib): Update comments as, with the
  patched 'gobject-introspection', setting LD_LIBRARY_PATH at run time is not
  anymore necessary.  It's still necessary at build time.
2015-01-18 18:05:53 +01:00
Federico Beffa a6035fc19a gnu: gtk+: Update to 3.14.7.
* gnu/packages/gtk.scm (gtk+): Update to 3.14.7.
2015-01-18 18:05:53 +01:00
Federico Beffa dfbc33dceb gnu: python-matplotlib: Remove python-pillow input.
* gnu/packages/python.scm (python-matplotlib): Remove python-pillow input as
  it currently is broken.
2015-01-18 18:05:53 +01:00
Federico Beffa 8597ab7d22 gnu: atk: Update to 2.15.3.
* gnu/packages/gtk.scm (atk): Update to 2.15.3.
2015-01-18 18:05:53 +01:00
Federico Beffa 31aa437987 gnu: eudev: Add pre-build phase.
* gnu/packages/linux.scm (eudev): Add 'pre-build phase to fix compilation with
  'gobject-introspection' 1.42.0.
2015-01-18 18:05:52 +01:00
Federico Beffa b6e5e1b738 gnu: eudev: Update to 2.1.1.
* gnu/packages/linux.scm (eudev): Update to 2.1.1.
2015-01-18 17:44:29 +01:00
Federico Beffa 5c88063614 gnu: gdk-pixbuf: Update to 2.31.1.
* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.31.1.
2015-01-18 17:44:29 +01:00
Federico Beffa dca1b58df1 gnu: pango: Update to 1.36.8.
* gnu/packages/gtk.scm (pango): Update to 1.36.8.
2015-01-18 17:44:29 +01:00
Federico Beffa 2474b81d96 gnu: gobject-introspection: Update to 1.42.0 and add new patch.
* gnu/packages/glib.scm (gobject-introspection): Update to version 1.42.0.
  Add patch 'gobject-introspection-absolute-shlib-path.patch' provided by Luca
  Bruno <lucabru@src.gnome.org> for Nix.
2015-01-18 17:44:29 +01:00
Ludovic Courtès 5808dcc27c store: Change 'store-lower' to preserve the original procedure's documentation.
* guix/store.scm (preserve-documentation): New procedure.
  (store-lift, store-lower): Use it.
2015-01-18 17:38:15 +01:00
Ludovic Courtès 561fb6c31f doc: Document '%state-monad' and update '%store-monad' description.
* doc/guix.texi (The Store Monad): Document '%state-monad' and related
  procedures.  Describe '%store-monad' as an alias for '%state-monad'.
* guix/monads.scm: Update commentary.
2015-01-17 23:45:48 +01:00
Ludovic Courtès 4e190c2803 store: Make '%store-monad' an alias for '%state-monad'.
* guix/store.scm (define-alias): New macro.
  (%store-monad, store-return, store-bind): Define as aliases of the
  corresponding %STATE-MONAD part.
  (store-lift, text-file, interned-file): Return STORE as a second
  value.
  (run-with-store): Use 'run-with-state'.
* guix/packages.scm (set-guile-for-build, package-file): Return STORE as
  a second value.
* guix/monads.scm: Remove part of the module commentary.
2015-01-17 23:45:48 +01:00
Ludovic Courtès 81a97734e0 monads: Add the state monad.
* guix/monads.scm (state-return, state-bind, run-with-state,
  current-state, set-current-state, state-push, state-pop): New
  procedures.
  (%state-monad): New variable.
* tests/monads.scm (%monads): Add %STATE-MONAD.
  (%monad-run): Add 'run-with-state'.
  (values->list): New macro.
  ("set-current-state", "state-push etc."): New tests.
2015-01-17 23:45:48 +01:00
Jason Self 5db3719153 gnu: linux-libre: Update to 3.18.3
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.3.
2015-01-17 10:32:57 -08:00
Andreas Enge ca1071e1c3 gnu: rasqal: Update to 0.9.33.
* gnu/packages/rdf.scm (rasqal): Update to 0.9.33.
2015-01-17 18:47:03 +01:00
Andreas Enge f4ee08d85e gnu: raptor2: Update to 2.0.15.
* gnu/packages/rdf.scm (raptor2): Update to 2.0.15.
2015-01-17 18:14:48 +01:00
Ludovic Courtès 5660708895 guix archive: Add -r/--recursive.
* guix/scripts/archive.scm (show-help, %options): Add -r/--recursive.
  (export-from-store): Pass #:recursive? to 'export-paths'.
* doc/guix.texi (Invoking guix archive): Add -r in Emacs example.  Add
  example with ~/.guix-profile.  Document -r/--recursive.
2015-01-17 17:05:54 +01:00
Ludovic Courtès 9decb18c0b guix archive: Remove unused -r/--root option.
* guix/scripts/archive.scm (%options): Remove -r/--root.
2015-01-17 16:52:49 +01:00
Ludovic Courtès 1d50699354 store: Remove unused variable.
* guix/store.scm (export-paths): Remove unused variable 's'.
2015-01-17 16:03:35 +01:00
Ludovic Courtès 5b3d863f00 store: Add #:recursive? parameter to 'export-paths'.
* guix/store.scm (export-paths): Add #:recursive? parameter and honor
  it.
* tests/store.scm ("export/import incomplete", "export/import
  recursive"): New tests.
2015-01-17 15:59:00 +01:00
Ludovic Courtès 867d847305 doc: Mention generation of ECDSA/Ed25519 keys when supported.
* doc/guix.texi (Invoking guix archive): Mention ECDSA/Ed25519 as the
  default type of keys for libgcrypt >= 1.6.0.
2015-01-17 14:53:54 +01:00
宋文武 c1b0c7d976 gnu: Add fvwm.
* gnu/packages/fvwm.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-17 17:11:55 +08:00
Mark H Weaver 80650d7719 gnu: fontconfig: Propagate expat and freetype.
* gnu/packages/fontutils.scm (fontconfig)[inputs]: Move expat and freetype ...
  [propagated-inputs]: ... to here.
2015-01-17 00:53:24 -05:00
宋文武 622c8f0af2 gnu: ffmpeg: Augment rpath of libraries.
* gnu/packages/video.scm (ffmpeg)[arguments]<phases>[add-lib-to-run-path]:
  Add $out/lib to the RUNPATH of libraries.
2015-01-17 12:24:20 +08:00
Andreas Enge f159735885 gnu: fontconfig: Update to 2.11.92.
* gnu/packages/fontutils.scm (fontconfig): Update to 2.11.92.
2015-01-16 23:55:42 +01:00
Ludovic Courtès 4ad2e76a14 emacs: In 'run-with-store' call, specify the guile-for-build.
This fixes a regression introduced in commit e87f059.

* emacs/guix-main.scm (process-package-actions): Add call to
  'set-guile-for-build' in monadic expression.
2015-01-16 21:24:52 +01:00
Ludovic Courtès e48977e755 gnu: e2fsck-static: Use really statically-linked executables.
* gnu/packages/linux.scm (e2fsprogs/static): New variable.
  (e2fsck/static): Use it in 'inputs'.
2015-01-16 21:11:55 +01:00
Ludovic Courtès f327b36edb gnu: Add CGAL.
* gnu/packages/graphics.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-16 21:11:55 +01:00
Ludovic Courtès 24004073f0 system: Add "en_US.UTF-8" to the default locales, for backward compatibility.
* gnu/system/locale.scm (%default-locale-definitions): Add
  "en_US.UTF-8".
2015-01-16 21:11:55 +01:00
Ludovic Courtès 8f4b1dfb77 gnu: Add Eigen.
* gnu/packages/algebra.scm (eigen): New variable.
2015-01-16 21:11:55 +01:00
Federico Beffa ae1ab9fe82 gnu: Add IPython.
* gnu/packages/python.scm (python-ipython, python2-ipython): New variable.
2015-01-16 17:51:47 +01:00
Mark H Weaver 2a666e9cfd gnu: icecat: Add fixes for CVE-2014-{8634,8638,8639,8641}.
* gnu/packages/patches/icecat-CVE-2014-8634-pt1.patch,
  gnu/packages/patches/icecat-CVE-2014-8634-pt2.patch,
  gnu/packages/patches/icecat-CVE-2014-8638-pt1.patch,
  gnu/packages/patches/icecat-CVE-2014-8638-pt2.patch,
  gnu/packages/patches/icecat-CVE-2014-8639.patch,
  gnu/packages/patches/icecat-CVE-2014-8641.patch,
  gnu/packages/patches/icecat-armhf-xpcom.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2015-01-16 09:14:08 -05:00
Ludovic Courtès 57b7e1a62d Merge branch 'core-updates'
Conflicts:
	gnu/packages/bootstrap.scm
2015-01-16 13:27:03 +01:00
宋文武 72b703cdca gnu: add RetroArch.
* gnu/packages/games.scm (retroarch): New variable.
2015-01-16 19:58:56 +08:00
Mark H Weaver b01a0ba86e gnu: gd: Update to 2.1.1.
* gnu/packages/patches/gd-mips64-deplibs-fix.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/gd.scm (gd): Update to 2.1.1.  Update source URI.  Remove
  patch.  Remove 'chdir' phase.  Add pkg-config to native-inputs.
2015-01-15 20:27:57 -05:00
Ludovic Courtès aeb1a1d966 gnu: gdb: Update to 7.8.2.
* gnu/packages/gdb.scm (gdb): Update to 7.8.2.
2015-01-15 23:10:05 +01:00
Ludovic Courtès 63c5462236 gnu: nix: Update to 1.8.
* gnu/packages/package-management.scm (nix): Update to 1.8.
2015-01-15 23:10:05 +01:00
Ludovic Courtès ceae3fef44 gnu: plotutils: Do not propagate libXaw.
* gnu/packages/plotutils.scm (plotutils): Move LIBXAW from
  'propagated-inputs' to 'inputs'.  Add 'snippet'.
2015-01-15 23:10:05 +01:00
Ludovic Courtès 52958f0dfd gnu: mercurial: Update to 3.2.4.
* gnu/packages/version-control.scm (mercurial): Update to 3.2.4.
2015-01-15 23:10:05 +01:00
Mark H Weaver e478a9ecc2 gnu: teckit: Add alternate source URL.
Fixes <http://bugs.gnu.org/19600>.

* gnu/packages/fontutils.scm (teckit)[source]: Add Fedora mirror.
2015-01-15 13:47:02 -05:00
宋文武 2b2f91ad87 gnu: ninja: Disable testcase SubprocessTest.InterruptChild.
* gnu/packages/patches/ninja-tests.patch: New file.
* gnu/packages/ninja.scm (ninja): Add the patch.
* gnu-system.am (dist_patch_DATA): Add it.
2015-01-15 11:05:18 +08:00
Ludovic Courtès 9fdd80e8f2 gnu: cross-base: Don't build the cross-compilers with target = host.
* gnu/packages/cross-base.scm (xgcc-mips64el)[supported-systems]: Delete
  "mips64el-linux".
  (xgcc-armhf)[supported-systems]: Delete "armhf-linux".
2015-01-14 21:14:14 +01:00
Ludovic Courtès 6ee01481c3 gnu: Don't build the mips64el-linux-gnuabi64 cross-compiler on i686.
Fixes <http://bugs.gnu.org/19598>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/cross-base.scm (xgcc-mips64el): Remove "i686-linux" from
  'supported-systems'.
2015-01-14 19:40:58 +01:00
Ludovic Courtès df5188ddfa check-available-binaries: Use 'substitution-oracle'.
* build-aux/check-available-binaries.scm: Use 'substitution-oracle'.
  Changer caller and 'warn' accordingly.
2015-01-14 18:28:46 +01:00
Ludovic Courtès 619c9522b2 check-available-binaries: Use 'with-store'.
* build-aux/check-available-binaries.scm: Use 'with-store' instead of an
  explicit 'open-connection'.
2015-01-14 18:20:01 +01:00
Ludovic Courtès 58caebf032 build: Use the canonical list of supported systems in 'assert-*'.
* build-aux/check-available-binaries.scm (%supported-systems): Remove.
* build-aux/check-final-inputs-self-contained.scm (%supported-systems):
  Remove.
2015-01-14 17:05:10 +01:00
Ludovic Courtès f220a83848 packages: Convert source derivations to monadic style.
* guix/packages.scm (origin->derivation): Take body from
  'package-source-derivation', and change it to monadic style.  Expect
  METHOD to a monadic procedure.
  (package-source-derivation): Define in terms of 'origin->derivation'.
* guix/download.scm (url-fetch): Remove 'store' argument.  Remove
  'guile-for-build' variable.  Turn into a monadic procedure.
* guix/git-download.scm (git-fetch): Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.
* tests/builders.scm (url-fetch*): New procedure.
  Change tests to call 'url-fetch*' instead of 'url-fetch'.
* tests/packages.scm ("package-source-derivation, snippet"): Remove
  'store' parameter of 'fetch' and change it to use 'interned-file'
  instead of 'add-to-store'.
* gnu/packages/bootstrap.scm (bootstrap-origin)[boot]: Remove 'store'
  parameter.
2015-01-14 14:42:10 +01:00
Mark H Weaver 54e612818b gnu: tre: Build a locale for the tests.
* gnu/packages/tre.scm (tre)[arguments]: Add 'install-locales' phase.
2015-01-14 08:41:47 -05:00
Ludovic Courtès 023d9892c0 store: Add 'store-lower'.
* guix/store.scm (store-lower): New procedure.
* tests/store.scm ("store-lower"): New test.
2015-01-14 14:25:58 +01:00
Ludovic Courtès e87f0591f3 monads: Move '%store-monad' and related procedures where they belong.
This turns (guix monads) into a generic module for monads, and moves the
store monad and related monadic procedures in their corresponding
module.

* guix/monads.scm (store-return, store-bind, %store-monad, store-lift,
  text-file, interned-file, package-file, package->derivation,
  package->cross-derivation, origin->derivation, imported-modules,
  compiled, modules, built-derivations, run-with-store): Move to...
* guix/store.scm (store-return, store-bind, %store-monad, store-lift,
  text-file, interned-file): ... here.
  (%guile-for-build): New variable.
  (run-with-store): Moved from monads.scm.  Remove default value for
  #:guile-for-build.
* guix/packages.scm (default-guile): Export.
  (set-guile-for-build): New procedure.
  (package-file, package->derivation, package->cross-derivation,
  origin->derivation): Moved from monads.scm.
* guix/derivations.scm (%guile-for-build): Remove.
  (imported-modules): Rename to...
  (%imported-modules): ... this.
  (compiled-modules): Rename to...
  (%compiled-modules): ... this.
  (built-derivations, imported-modules, compiled-modules): New
  procedures.
* gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm,
  gnu/services/dmd.scm, gnu/services/networking.scm,
  gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm,
  gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm,
  guix/gexp.scm, guix/git-download.scm, guix/profiles.scm,
  guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly.
* guix/monad-repl.scm (default-guile-derivation): New procedure.
  (store-monad-language, run-in-store): Use it.
* build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit
  'set-guile-for-build' call.
* guix/scripts/archive.scm (derivation-from-expression): Likewise.
* guix/scripts/build.scm (options/resolve-packages): Likewise.
* guix/scripts/environment.scm (guix-environment): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* doc/guix.texi (The Store Monad): Adjust module names accordingly.
2015-01-14 13:34:52 +01:00
Ludovic Courtès 1ed194646b doc: Move 'text-file*' to the gexp section.
This is a follow-up to commit 462a3fa.

* doc/guix.texi (The Store Monad): Move 'text-file*'...
  (G-Expressions): ... to here.
2015-01-14 11:22:51 +01:00
Mark H Weaver a0ba3fc520 gnu: guile-ncurses: Build a UTF-8 locale for the tests.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Add 'install-locales'
  phase.
2015-01-13 20:37:57 -05:00
Ludovic Courtès 1c975f60b1 gnu: Add zerofree.
* gnu/packages/linux.scm (zerofree): New variable.
2015-01-13 22:20:12 +01:00
Ludovic Courtès 7c594a2c2f gnu: e2fsprogs: Install libext2fs.
* gnu/packages/linux.scm (e2fsprogs)[source]: Add 'snippet'.
  [arguments]: Add --enable-elf-shlibs to #:configure-flags.
  Add #:make-flags.
2015-01-13 22:14:30 +01:00
Mark H Weaver d585f244ce gnu: gnutls: Update to 3.2.21.
* gnu/packages/gnutls.scm (gnutls): Update to 3.2.21.
2015-01-13 15:14:23 -05:00
Mark H Weaver fe3711bcce gnu: openssl: Update to 1.0.1k.
* gnu/packages/openssl.scm (openssl): Update to 1.0.1k.
2015-01-13 14:58:07 -05:00
Ludovic Courtès 524f4becff gnu: Add GLEW.
* gnu/packages/gl.scm (glew): New variable.
2015-01-13 18:16:35 +01:00
Ludovic Courtès 7bed4df49a services: user-processes: Really honor the grace delay.
* gnu/services/base.scm (user-processes-service): Change #:grace-delay
  default value to 4.  Define 'sleep*' and use it.
2015-01-13 18:16:35 +01:00
Ludovic Courtès be68177368 system: Add iw to '%base-packages'.
* gnu/system.scm (%base-packages): Add IW.
2015-01-13 18:16:35 +01:00
Ludovic Courtès fb9b7ce258 gnu: wireless-tools: Describe it as deprecated.
* gnu/packages/linux.scm (wireless-tools)[description]: Explain that it
  is deprecated in favor of 'iw'.
2015-01-13 18:16:35 +01:00
Ludovic Courtès 2e69dd8c1d gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update snapshot.
  Remove now-unneeded sub-module stuff in the 'bootstrap' phase.
2015-01-13 18:16:35 +01:00
Mark H Weaver a813710a5f Merge branch 'master' into core-updates 2015-01-13 12:14:08 -05:00
Mark H Weaver d8cd159490 gnu: xorg-server: Update to 1.16.3.
* gnu/packages/xorg.scm (xorg-server): Update to 1.16.3.
2015-01-13 11:57:50 -05:00
Ricardo Wurmus 765f0ac8f9 gnu: Add QPDF.
* gnu/packages/pdf.scm (qpdf): New variable.
2015-01-13 16:51:52 +01:00
Ludovic Courtès 4655005e24 tests: Properly synchronize threads in the 'home-page' lint tests.
* tests/lint.scm (%http-server-lock, %http-server-ready): New
  variables.
  (http-open): New procedure.
  (stub-http-server): Use it.
  (call-with-http-server): Wrap body in 'with-mutex'.  Call
  'wait-condition-variable' after 'make-thread'.
2015-01-13 11:09:05 +01:00
Ludovic Courtès 35ed9306b9 doc: Change some occurrences of "the GNU system" to "Guixotic".
* doc/guix.texi (GNU Distribution): Explain what "Guixotic" is.
  (System Installation): Replace "the GNU system" by "Guixotic".
  (System Configuration): Likewise.
  (Invoking guix system): Likewise.
2015-01-13 11:09:05 +01:00
Federico Beffa f5895dab8a build/glib-or-gtk-build-system: Fix 'generate-icon-cache'.
Reported by Mark H Weaver <mhw@netris.org>

* guix/build/glib-or-gtk-build-system.scm (generate-icon-cache): Add check for
  existence of icons directory.
2015-01-13 09:16:47 +01:00
Mark H Weaver 65cd77db20 gnu: Add iw.
* gnu/packages/linux.scm (iw): New variable.
2015-01-12 18:37:16 -05:00
Mark H Weaver bdac3d4bf7 gnu: libnl: Update to 3.2.25.
* gnu/packages/linux.scm (libnl): Update to 3.2.25.
2015-01-12 18:37:16 -05:00
Mark H Weaver 73161579b2 gnu: libpng: Update to 1.5.21.
* gnu/packages/image.scm (libpng): Update to 1.5.21.
2015-01-12 18:35:42 -05:00
Ludovic Courtès abebac4601 monads: Remove 'derivation-expression'.
* guix/monads.scm (lower-inputs, derivation-expression): Remove.
* tests/monads.scm (derivation-expression, "mlet* +
  derivation-expression"): Remove.
2015-01-12 23:33:08 +01:00
Ludovic Courtès 462a3fa36c monads: Rewrite 'text-file*' using gexps.
* guix/monads.scm (text-file*): Move to...
* guix/gexp.scm (text-file*): ... here.  Rewrite using gexps.
* tests/monads.scm ("text-file*"): Move to...
* tests/gexp.scm ("text-file*"): ... here.
2015-01-12 23:33:08 +01:00
Ludovic Courtès 4a4dd5d89d services: user-processes: Write debugging messages to the output port.
* gnu/services/base.scm (user-processes-service): Write "sending all
  processes..." message to the current output port, not to /dev/console.
2015-01-12 23:33:08 +01:00
Ludovic Courtès ab69d9ac86 gnu: Move xlockmore to (gnu packages xdisorg).
* gnu/packages/xlockmore.scm: Remove.
* gnu/packages/xdisorg.scm (xlockmore): New variable, from
  xlockmore.scm.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove xlockmore.scm.
2015-01-12 23:33:08 +01:00
Ludovic Courtès bb54c8ff05 gnu: xlockmore: Update to 5.45.
* gnu/packages/xlockmore.scm (xlockmore): Update to 5.45.
  [arguments]: Add #:configure-flags.
2015-01-12 23:33:08 +01:00
Federico Beffa 3d243e9c45 gnu: evince: Add inputs.
* gnu/packages/gnome.scm (evince): Add 'dconf' and 'libcanberra' inputs.
  Remove custom phase 'set-mime-search-path which is now handled by
  glib-or-gtk-build-system.
2015-01-12 18:00:08 +01:00
Federico Beffa beb8dc0007 gnu: libcanberra: Add default sounds support.
* gnu/packages/libcanberra.scm (libcanberra): Add input
  'sound-theme-freedesktop'.  Add "libcanberra-sound-theme-freedesktop.patch"
  and related phase 'patch-default-sounds-directory to patch the default
  sounds directory.
2015-01-12 18:00:08 +01:00
Federico Beffa b47e1b20bd gnu: dconf: Add dconf.
* gnu/packages/gnome.scm (dconf): New variable.
2015-01-12 18:00:08 +01:00
Federico Beffa 61771a79ab guix: build/glib-or-gtk-build-system: Add support for GIO and XDG theming.
* guix/build/glib-or-gtk-build-system.scm (data-directories): Rename
  'schemas-directories' to 'data-directories' and add support for XDG theming
  data.

* guix/build/glib-or-gtk-build-system.scm (gio-module-directories): New
  function.

* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Update names to
  reflect that we are dealing with more types of data and not only with
  schemas.  Add handling of GIO modules.

* guix/build-system/glib-or-gtk.scm (lower): Import the 'bin' output of GLib
  instead of 'out'.  This was an error since we need the program
  'glib-compile-schemas'.  Update the description.
2015-01-12 18:00:08 +01:00
Jason Self 9f496d430b gnu: ffmpeg: Update to 2.5.3
* gnu/packages/video.scm (ffmpeg): Update to version 2.5.3.
2015-01-12 08:00:21 -08:00
Jason Self 7d05f76956 gnu: ffmpeg-2.2: Update to 2.2.11
* gnu/packages/video.scm (ffmpeg-2.2): Update to version 2.2.11.
2015-01-12 07:59:17 -08:00
Andreas Enge a63ffe03d4 gnu: gp2c: Update to 0.0.9pl2.
* gnu/packages/algebra.scm (gp2c): Update to 0.0.9pl2.
2015-01-12 13:31:35 +01:00
Andreas Enge bbea956575 gnu: pari-gp: Update to 2.7.2.
* gnu/packages/algebra.scm (pari-gp): Update to 2.7.2.
2015-01-12 13:27:59 +01:00
Ludovic Courtès c06d140c03 derivations: Use a set for 'substitution-oracle'.
* guix/derivations.scm (substitution-oracle): Use sets instead of lists.
2015-01-11 23:50:01 +01:00
Ludovic Courtès ed3592a980 derivations: Use sets for 'derivations-prerequisites'.
This yields a 46% improvement in 'derivation-prerequisites' invocations
on the Emacs derivation.

* guix/derivations.scm (derivation-prerequisites): Add 'input-set'
  variable, and use it in iterations.
2015-01-11 23:50:01 +01:00
Ludovic Courtès d326767e64 Add (guix sets).
* guix/sets.scm, tests/sets.scm: New files.sets
* Makefile.am (MODULES, SCM_TESTS): Add them.
2015-01-11 23:50:01 +01:00
Mark H Weaver 798e004538 gnu: sqlite: Update to 3.8.7.4.
* gnu/packages/patches/sqlite-large-page-size-fix.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/databases.scm (sqlite): Update to 3.8.7.4.  Remove patch.
2015-01-11 15:28:41 -05:00
Mark H Weaver 74d72608b3 gnu: curl: Update to 7.40.0.
* gnu/packages/patches/curl-gss-api-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/curl.scm (curl): Update to 7.40.0.  Add patch.
2015-01-11 11:12:27 -05:00
Mark H Weaver 7744885731 Merge branch 'master' into core-updates 2015-01-11 09:38:49 -05:00
宋文武 0009ed71ad gnu: qt: Add more inputs.
* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
  libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
  pcre, sqlite, eudev to 'inputs'.
  Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.
2015-01-11 19:51:51 +08:00
宋文武 5b490ab52f gnu: qt: Update to 5.4.0.
* gnu/packages/qt.scm (qt): Update to 5.4.0.
  [origin]: Add snippet.
2015-01-11 19:37:33 +08:00
宋文武 cd287ba162 gnu: Add ninja.
* gnu/packages/ninja.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-11 19:19:03 +08:00
宋文武 1aaaff1a7b gnu: Add nss.
* gnu/packages/patches/nss-pkgconfig.patch: New file.
* gnu-system.scm (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (nss): New variable.
2015-01-11 19:15:34 +08:00
宋文武 4923e06f21 gnu: Move mozjs and nspr to (gnu packages gnuzilla).
* gnu/packages/polkit.scm (mozjs, nspr): Move to...
* gnu/packages/gnuzilla.scm (mozjs, nspr): ... here. New variables.
2015-01-11 19:14:53 +08:00
Mark H Weaver 62c155c0bc gnu: libtool: Add m4 to propagated-inputs.
* gnu/packages/autotools.scm (libtool)[propagated-inputs]: Add m4.
2015-01-10 19:19:34 -05:00
Mark H Weaver b2363f6551 gnu: file: Update to 5.22.
* gnu/packages/file.scm (file): Update to 5.22.
2015-01-10 19:12:49 -05:00
Jason Self c2d9355c36 gnu: linux-libre: Update to 3.18.2
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.2.
2015-01-09 21:19:43 -08:00
Ludovic Courtès e9651e39b3 derivations: Add 'substitution-oracle' and use it.
This makes 'guix environment PACKAGE' significantly faster when
substitutes are enabled.  Before that, it would lead to many invocations
of 'guix substitute-binary', one per 'derivation-prerequisites-to-build'
call.  Now, all these are replaced by a single invocation.

* guix/derivations.scm (derivation-output-paths, substitution-oracle):
  New procedures.
  (derivation-prerequisites-to-build): Replace #:use-substitutes? with
  #:substitutable?.  Remove the local 'derivation-output-paths' and
  'substitutable?'.
* guix/ui.scm (show-what-to-build): Add 'substitutable?'.  Pass it to
  'derivation-prerequisites-to-build'.
  [built-or-substitutable?]: Use it instead of 'has-substitutes?'.
* tests/derivations.scm ("derivation-prerequisites-to-build and
  substitutes"): Use #:substitutable? instead of #:use-substitutes?.
2015-01-10 00:39:59 +01:00
Ludovic Courtès 0b6af195fe derivations: Add 'derivation-output-names'.
* guix/derivations.scm (derivation-output-names): New procedure.
  (derivation-prerequisites-to-build): Use it for #:outputs.
  (map-derivation): Likewise.
* tests/derivations.scm ("derivation-output-names"): New test.
2015-01-09 23:36:24 +01:00
Ludovic Courtès eb9dfcb3c4 nls: Update 'eo' translation. 2015-01-09 23:33:05 +01:00
Ludovic Courtès 4eb01e5442 build-system/gnu: Patch /usr/bin/file in all 'configure' files.
* guix/build/utils.scm (patch-/usr/bin/file): New procedure.
* guix/build/gnu-build-system.scm (patch-usr-bin-file): Rewrite using
  it.  Patch all the files returned by 'find-files' that are executable.
* gnu/packages/gawk.scm (gawk)[arguments]: Remove use of 'substitute*'
  for 'extension/configure'.
2015-01-09 23:29:20 +01:00
Eric Bavier d45dc6da5c import: Add CPAN importer.
* guix/import/cpan.scm, guix/scripts/import/cpan.scm, tests/cpan.scm:
  New files.
* Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add them.
* guix/scripts/import.scm (importers): Add cpan.
* doc/guix.texi (Requirements): Mention `guix import cpan` as a user
  of guile-json.
  (Invoking guix import): Document new `guix import cpan` command.
2015-01-09 10:38:26 -06:00
Eric Bavier 694b317c2d tests: import: Factorize utility function.
* tests/pypi.scm (mock): Move this...
* guix/tests.scm: to here.
2015-01-09 10:38:25 -06:00
Eric Bavier 1ff2619bc1 import: Factorize utility functions.
* guix/import/pypi.scm (hash-table->alist, flatten, assoc-ref*,
  url-fetch, json-fetch): Pull procedures from here into...
* guix/import/utils.scm: Here and...
* guix/import/json.scm: Here.  New file.
* Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add it.
* guix/import/gnu.scm (file-sha256): Move from here to...
* guix/hash.scm: Here.
* tests/pypi.scm (pypi->guix-package): Update mock module reference.
2015-01-09 10:33:24 -06:00
Eric Bavier c6cb82f5d5 import: gnu: Propagate the key-download argument.
* guix/import/gnu.scm (gnu->guix-package): Pass the key-download
  argument on to gnu-package->sexp.
2015-01-09 10:33:24 -06:00
Ricardo Wurmus 927d4d9bd8 gnu: poppler: build with openjpeg and lcms
* gnu/packages/pdf.scm (poppler): build poppler with openjpeg 1.5 and lcms.
2015-01-09 14:24:14 +01:00
Ricardo Wurmus da2021bca1 gnu: openjpeg: Update to 2.0.1.
* gnu/packages/image.scm (openjpeg): Update to 2.0.1.
2015-01-09 14:24:07 +01:00
Ricardo Wurmus 6140b9d875 gnu: Add openjpeg-1.
* gnu/packages/image.scm (openjpeg-1): New variable.
2015-01-09 14:23:57 +01:00
Ricardo Wurmus 4100fe9d33 gnu: openjpeg: update home page URL.
* gnu/packages/image.scm (openjpeg)[home-page]: Update URL.
2015-01-09 14:23:46 +01:00
Ludovic Courtès 8234fcf21a substitute-binary: Micro-optimize 'narinfo-sha256'.
* guix/scripts/substitute-binary.scm (narinfo-signature->canonical-sexp):
  Change "~a" to "~s" in error message.
  (%signature-line-rx): Remove.
  (narinfo-sha256): Use 'string-contains' instead of 'regexp-exec', and
  'string-take' instead of 'match:substring'.
2015-01-09 01:10:31 +01:00
Ludovic Courtès fb519bd831 records: Optimize 'recutils->alist' by avoiding regexps.
* guix/records.scm (%recutils-field-rx, %recutils-comment-rx,
  %recutils-plus-rx): Remove.
  (%recutils-field-charset): New variable.
  (recutils->alist): Adjust to use tests (string-ref line 0) instead of
  regexps.
2015-01-09 01:08:10 +01:00
Ludovic Courtès b2ad9d9b08 base64: Inline arithmetic operations.
* guix/base64.scm (define-alias): New macro.
  (fxbit-field, fxarithmetic-shift, fxarithmetic-shift-left, fxand,
  fxior, fxxor): New aliases.
2015-01-09 01:01:04 +01:00
Mark H Weaver aa1e19477b gnu: Add bootstrap binaries for 'armhf-linux'.
* gnu/packages/bootstrap/armhf-linux/bash,
  gnu/packages/bootstrap/armhf-linux/mkdir,
  gnu/packages/bootstrap/armhf-linux/tar,
  gnu/packages/bootstrap/armhf-linux/xz: New files.

* gnu-system.am (bootstrap_armhf_linuxdir, dist_bootstrap_armhf_linux_DATA)
  (nodist_bootstrap_armhf_linux_DATA): New variables.
  (DISTCLEANFILES): Add $(nodist_bootstrap_armhf_linux_DATA).
  (gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz): New target.
* build-aux/download.scm (file-name->uri): Use newer date in URI for
  armhf-linux.
* gnu/packages/bootstrap.scm (raw-build): Use "guile-2.0.11.tar.xz" on
  armhf-linux.
  (glibc-dynamic-linker, %bootstrap-coreutils&co, %bootstrap-binutils)
  (%bootstrap-glibc, %bootstrap-gcc): Add armhf-linux cases.

* m4/guix.m4 (GUIX_SYSTEM_TYPE): Add armhf case.
  (GUIX_ASSERT_SUPPORTED_SYSTEM): Add armhf-linux to list of
  supported systems.
* doc/guix.texi (GNU Distribution): Add armhf-linux to the list of
  supported systems.
2015-01-07 21:47:51 -05:00
Mark H Weaver b58b7dbb75 gnu: libtool: Skip nopic test on ARM and MIPS systems.
* gnu/packages/patches/libtool-skip-tests.patch: Skip nopic test on ARM and
  MIPS systems.
2015-01-07 18:00:49 -05:00
Ludovic Courtès 05f0607bfc tests: Add missing copyright line.
* tests/lint.scm: Add missing copyright line for commit 907c98ac and
  others.
2015-01-07 22:33:21 +01:00
Mark H Weaver 3f00ff8b43 gnu: Add toolchain support for 'armhf-linux'.
Based on preliminary work by John Darrington <john@darrington.wattle.id.au>.

* gnu/packages/cross-base.scm (xgcc-armhf): New variable.
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add armhf case.
  (gcc-4.7)[pre-configure]: Add gcc/config/*/linux-eabi.h to the list
  of files in which to patch GLIBC_DYNAMIC_LINKER.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add armhf case.
* guix/utils.scm (gnu-triplet->nix-system, nix-system->gnu-triplet):
  Add armhf cases.
2015-01-07 16:27:55 -05:00
Mark H Weaver f7d2b496b9 gnu: patchelf: On ARM, apply experimental patch to get it working.
* gnu/packages/patches/patchelf-rework-for-arm.patch: New file.
* gnu-system.am: Add it.
* gnu/packages/elf.scm: Apply patch when the target is ARM.
2015-01-07 12:38:11 -05:00
Mark H Weaver 24aaf2f257 gnu: gmp: Apply fixes for armhf.
* gnu/packages/patches/gmp-arm-asm-nothumb.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/multiprecision.scm (gmp): Add patch.  Include --build triplet
  in configure args when building natively.
* gnu/packages/commencement.scm (gcc-final): Use bootstrap guile to
  build gmp-source.
2015-01-07 12:34:19 -05:00
Mark H Weaver 76e639a00f gnu: gcc: Use 'gcc-configure-flags-for-triplet' for native compilers too.
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Do not export it.
  (gcc-4.7): Pass the result of 'gcc-configure-flags-for-triplet' to configure
  for all builds, including native ones.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Do not add the result of
  'gcc-configure-flags-for-triplet' here, since it is now included in the
  configure-flags inherited from gcc-4.8.
2015-01-07 12:34:13 -05:00
Mark H Weaver 8eb8048432 Move 'nix-system->gnu-triplet' to (guix utils) and export it.
* gnu/packages/commencement.scm (nix-system->gnu-triplet): Move to...
* guix/utils.scm (nix-system->gnu-triplet): ... here.  Fix docstring typo.
2015-01-07 12:34:10 -05:00
Mark H Weaver 270b501ee2 gnu: gcc-static: Remove -lgcc_s from GNU_USER_TARGET_LIB_SPEC.
* gnu/packages/make-bootstrap.scm (%gcc-static): Add 'remove-lgcc_s
  phase.
* gnu/packages/gcc.scm (gcc-4.7): Add comment.
2015-01-07 12:33:38 -05:00
Mark H Weaver 84cbe39c5a gnu: bootstrap: Fix egrep and fgrep after unpacking bootstrap binaries.
* gnu/packages/bootstrap.scm (%bootstrap-coreutils&co): Add #:snippet argument
  to 'package-from-tarball' that calls 'patch-shebang' on egrep and fgrep
  after unpacking.  Test 'fgrep' instead of 'true'.
2015-01-07 12:33:32 -05:00
Mark H Weaver 2959dbe935 gnu: bootstrap: Add support for snippets to 'package-from-tarball'.
* gnu/packages/bootstrap.scm (package-from-tarball): Add new keyword
  argument #:snippet.
2015-01-07 12:33:27 -05:00
Mark H Weaver c9a4655553 gnu: tcl: Pass --mandir to configure.
This partially reverts 9b1bf33081.
"gnu: Remove a bunch of now unneeded '--mandir' configure flags."

* gnu/packages/tcl.scm (tcl)[arguments]: Put back the --mandir configure flag,
  with a comment explaining why it's still needed.
2015-01-07 12:05:16 -05:00
Ludovic Courtès 3246cc9185 gnu: Make libtool and libltdl completely separate.
* gnu/packages/autotools.scm (libtool)[outputs]: Remove.
  [arguments]: Remove 'if' around arguments.  Add #:configure-flags.
* gnu/packages/apr.scm (apr)[inputs]: Change libtool to libltdl.
* gnu/packages/fontutils.scm (libuninameslist)[native-inputs]: Remove
  "libtool-bin".
* gnu/packages/global.scm (global): Change libtool to libltdl.
* gnu/packages/gnunet.scm (libextractor, gnunet): Likewise.
* gnu/packages/graphviz.scm (graphviz): Likewise.
* gnu/packages/libcanberra.scm (libcanberra): Likewise.
* gnu/packages/libevent.scm (libuv)[native-inputs]: Remove "bin" part
  for libtool.
* gnu/packages/mail.scm (mailutils): Change libtool to libltdl.
  (libetpan): Remove "bin" part for libtool.
* gnu/packages/mp3.scm (libmp3splt): Change libtool to libltdl.
* gnu/packages/openldap.scm (openldap): Remove "bin" part of libtool.
  Move it from 'inputs' to 'native-inputs'.
* gnu/packages/photo.scm (libgphoto2): Change libtool to libltdl.
* gnu/packages/pulseaudio.scm (pulseaudio): Likewise.
* gnu/packages/ssh.scm (guile-ssh): Remove "bin" part of libtool.
* gnu/packages/web.scm (libpsl): Likewise.
* gnu/packages/weechat.scm (weechat): Move libtool to 'native-inputs'
  and add libltdl to 'inputs'.
2015-01-07 16:48:50 +01:00
Ludovic Courtès c154e1ea81 gnu: libtool: Update to 2.4.4.
* gnu/packages/patches/libtool-2.4-skip-tests.patch: Rename to...
* gnu/packages/patches/libtool-skip-tests.patch: ... this.
* gnu/packages/patches/libtool-skip-tests-for-mips.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/autotools.scm (libtool): Update to 2.4.4.
  (libtool-2.4.4): Remove.
2015-01-07 16:48:50 +01:00
Ludovic Courtès be11b10244 gnu: guile: Depend on 'libltdl' rather than 'libtool'.
* gnu/packages/guile.scm (guile-1.8, guile-2.0): Replace LIBTOOL with
  LIBLTDL.
2015-01-07 16:48:50 +01:00
Ludovic Courtès 3cbb3f9c55 gnu: libtool: Add libltdl as a separate package.
* gnu/packages/autotools.scm (libltdl): New variable.
2015-01-07 16:48:50 +01:00
Ludovic Courtès 5d65ad80b5 gnu: libtool: Use 'parallel-job-count' to get the argument for '-j'.
* gnu/packages/autotools.scm (libtool)[arguments] <check>:
  Use (parallel-job-count) instead of hand-written code.
2015-01-07 16:48:50 +01:00
Mark H Weaver fa1e2f3d0d Revert "gnu: gcc: Add '-lgcc_s' only when '-pthread' is given."
This reverts commit 9097e666d4.

This turned out not to be a good strategy.  Some build system, e.g. tcl's, do
not pass -pthread on GNU/Linux by default, but merely link with -lpthread.
Also, Ludovic found other cases where libgcc_s is dlopened by libc that have
nothing to do with pthreads, e.g. to walk the stack.
2015-01-07 09:51:23 -05:00
Mark H Weaver b515822de1 gnu: guile: Apply fixes for arm.
* gnu/packages/patches/guile-arm-fixes.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/guile.scm (guile-2.0): Add patch.
2015-01-06 19:47:09 -05:00
Mark H Weaver 9097e666d4 gnu: gcc: Add '-lgcc_s' only when '-pthread' is given.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* gnu/packages/gcc.scm (gcc-4.7): In our modified GNU_USER_TARGET_LIB_SPEC,
  add '-lgcc_s' only when '-pthread' is given.
2015-01-06 19:46:48 -05:00
Mark H Weaver 91c47befb8 gnu: gcc: Improve dynamic linker patching code.
* gnu/packages/gcc.scm (gcc-4.7): Join multi-line definitions of
  GLIBC_DYNAMIC_LINKER* before attempting substitutions.
  (gcc-4.9)[arguments]: Remove arguments override.
2015-01-06 19:37:04 -05:00
Mark H Weaver fd19df7252 gnu: patchelf: Update to 0.8.
* gnu/packages/elf.scm (patchelf): Update to 0.8.
* gnu/packages/patches/patchelf-page-size.patch: Adapt to new version.
2015-01-06 18:40:42 -05:00
Mark H Weaver c93d7edda3 gnu: bash: Update to 4.3.33.
* gnu/packages/bash.scm (%patch-series-4.3): Add patches 31-33.
2015-01-06 17:46:00 -05:00
Mark H Weaver fe32c7f760 gnu: udev: Remove package, now superceded by eudev.
* gnu/packages/linux.scm (udev): Remove.
  (eudev): Incorporate fields formerly inherited from udev.
2015-01-06 14:02:08 -05:00
Mark H Weaver 8fcaf8b173 gnu: lvm2: Switch to eudev from udev.
* gnu/packages/linux.scm (lvm2)[inputs]: Use eudev, not udev.
2015-01-06 13:52:57 -05:00
Mark H Weaver 77a39799f9 gnu: swig: Build a UTF-8 locale for the tests.
* gnu/packages/swig.scm (swig)[arguments]: Add 'install-locales' phase.
2015-01-06 13:40:50 -05:00
Mark H Weaver 0d93648bec gnu: icu4c: Avoid use of 'patchelf'; fix build on ARM systems.
* gnu/packages/icu4c.scm (icu4c)[inputs]: Remove patchelf.
  [configure-flags]: Add --enable-rpath.  Add --with-data-packaging=archive
  on arm systems.
  [phases]: Remove 'add-lib-to-runpath' phase.
2015-01-06 13:35:13 -05:00
Mark H Weaver cf0a154c41 gnu: gawk: Fix target-system check.
* gnu/packages/gawk.scm (gawk): Fix target-system check.
2015-01-06 13:31:49 -05:00
Mark H Weaver 7cd802f342 gnu: boost: Fix target-system check.
* gnu/packages/boost.scm (boost): Fix target-system check.
2015-01-06 13:31:44 -05:00
Mark H Weaver d2e842814a gnu: texlive: Fix target-system check.
* gnu/packages/texlive.scm (texlive)[arguments]: Fix target-system
  check.
2015-01-06 13:31:20 -05:00
Mark H Weaver 97f94f5e9b gnu: gtk+: Include xorg-server in native-inputs on MIPS; enable tests.
* gnu/packages/gtk.scm (gtk+)[native-inputs]: Unconditionally include
  xorg-server and enable tests.
2015-01-06 13:30:17 -05:00
Mark H Weaver cd06768e66 gnu: mit-krb5: Build with default gcc.
* gnu/packages/mit-krb5.scm (mit-krb5)[native-inputs]: Remove gcc-4.7.
2015-01-06 13:30:07 -05:00
Mark H Weaver 23800e4736 Merge branch 'master' into core-updates 2015-01-06 12:57:15 -05:00
Ludovic Courtès aebb05b095 gnu: automake: Update to 1.15.
* gnu/packages/autotools.scm (automake): Update to 1.15.
2015-01-06 17:54:25 +01:00
Ludovic Courtès d976258907 gnu: git-manpages: Install under $out/share/man, not $out/share.
* gnu/packages/version-control.scm (git-manpages)[argument]: Install
  under $out/share/man, not $out/share.
2015-01-06 15:20:12 +01:00
Ludovic Courtès 1c38551a36 gnu: Add git-manpages.
* gnu/packages/version-control.scm (git-manpages): New variable.
2015-01-06 15:07:22 +01:00
Ludovic Courtès 50ec74308e gnu: git: Update to 2.2.1.
* gnu/packages/version-control.scm (git): Update to 2.2.1.
2015-01-06 15:06:38 +01:00
Ludovic Courtès ffc200d7e0 gnu: libtool-2.4.4: Disable tests on MIPS.
* gnu/packages/autotools.scm (libtool-2.4.4)[arguments]: New field.
2015-01-06 14:53:10 +01:00
宋文武 9331ba5dd9 linux-boot: Make /etc/mtab a symlink to /proc/self/mounts.
Fixes <http://bugs.gnu.org/19491>.

* gnu/build/linux-boot.scm (mount-root-file-system): Make /root/etc/mtab
  a symlink to /proc/self/mounts.
* gnu/build/file-systems.scm (mount-file-system): Don't update /etc/mtab.
* guix/build/syscalls.scm (mount, umount): Have #:update-mtab? default to
  #f.
2015-01-05 22:24:00 +08:00
Ludovic Courtès 4379c35b73 doc: guix-daemon now automatically creates '…/profiles/per-user'.
Fixes <http://bugs.gnu.org/19315>.
Reported by rekado <rekado@elephly.net>.

* doc/guix.texi (Invoking guix package): Adjust text to new guix-daemon
  behavior introduced in commit 15ddeff.
2015-01-04 23:42:51 +01:00
Ludovic Courtès 63cbe7a17a build: Check for <tr1/unordered_set>, now used by the daemon.
* config-daemon.ac: Check for <tr1/unordered_set>.
2015-01-04 23:28:18 +01:00
Ludovic Courtès 15ddeff532 Merge commit a1dd396cc02922372314c35c8035a38bfeea08df of branch 'nix'. 2015-01-04 23:27:34 +01:00
Ludovic Courtès 828c0bec6b pk-crypto: Improve docstring of signature-related procedures.
* guix/pk-crypto.scm (bytevector->hash-data, sign): Augment docstring.
2015-01-04 22:46:51 +01:00
Ludovic Courtès 9b1bf33081 gnu: Remove a bunch of now unneeded '--mandir' configure flags.
This has become redundant with the 'validate-documentation-location'
phase introduced in commit d68fe74.

* gnu/packages/compression.scm (bzip2): Remove 'fix-man-dir' phase.
* gnu/packages/ncurses.scm (ncurses)[arguments]: Remove --mandir.
* gnu/packages/pth.scm (pth)[arguments]: Remove #:configure-flags.
* gnu/packages/tcl.scm (tcl)[arguments]: Likewise.
* gnu/packages/xiph.scm (flac)[arguments]: Likewise.
2015-01-04 22:23:48 +01:00
Ludovic Courtès d8491ba563 ld-wrapper: Add '-rpath' flag for libraries passed by file name.
Discussed at
<http://lists.gnu.org/archive/html/guix-devel/2015-01/msg00028.html>.

* gnu/packages/ld-wrapper.scm (switch-arguments, library-path): Remove.
  (library-files-linked): Rewrite to include the name of libraries
  passed by file names, and to honor the current -L search path instead
  of the final one.
  (rpath-arguments): Remove 'lib-path' parameter.  Expect LIBRARY-FILES
  to be a list of absolute file names.
  (ld-wrapper): Adjust accordingly.
2015-01-04 22:21:11 +01:00
Ludovic Courtès ac70048be2 build-system/gnu: Use executables from the target inputs in 'patch-shebangs'.
Fixes <http://bugs.gnu.org/18895>.

* guix/build/gnu-build-system.scm (patch-shebangs): Add #:inputs
  parameter.  Remove 'bindirs'.  Add 'bin-directories',
  'output-bindirs', and 'input-bindirs'.  Use them instead of (getenv
  "PATH") to as the argument to 'patch-shebang'.
2015-01-04 18:16:16 +01:00
Mark H Weaver fcdebadf39 gnu: gcc-4.9: Fix build on MIPS.
* gnu/packages/gcc.scm (gcc-4.9): Add 'join-two-line-dynamic-linker-defns
  phase.
2015-01-03 23:48:44 -05:00
Ludovic Courtès ee06af5b4b gnu: Search for patches under $GUIX_PACKAGE_PATH.
Fixes <http://bugs.gnu.org/19364>.
Reported by Tomáš Čech <sleep_walker@suse.cz>
and Mark H Weaver <mhw@netris.org>.

* gnu/packages.scm (%patch-path): Move after definition of
  %package-module-path'.  Append "/gnu/packages/patches" only to
  %DISTRO-ROOT-DIRECTORY.
* tests/guix-package.sh: Add 'emacs-foo-bar-patched' test.
2015-01-03 23:49:42 +01:00
Ludovic Courtès e13f715be0 gnu: libtool: Add 2.4.4.
* gnu/packages/patches/libtool-2.4-skip-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/autotools.scm (libtool-2.4.4): New variable.
2015-01-03 23:35:43 +01:00
Ludovic Courtès cf81a23639 guix package: Follow symlinks for pattern search paths.
* guix/scripts/package.scm (search-path-environment-variables): Add
  local 'files' variable.
* tests/packages.scm ("--search-paths with pattern"): New test.
2015-01-03 19:46:07 +01:00
Ludovic Courtès 7452806931 gnu: libxml2: Wrap search path specification in a list.
Reported by Mark H Weaver.

* gnu/packages/xml.scm (libxml2)[native-search-paths]: Wrap into a list.
2015-01-03 18:48:16 +01:00
David Thompson 4b2fd119be gnu: minetest: Update to 0.4.11.
* gnu/packages/patches/minetest-subgame-env-var.patch: Delete.
* gnu-system.am (dist_patch_DATA): Remove patch.
* gnu/packages/games.scm (minetest, minetest-data): Update to 0.4.11.
2015-01-02 16:46:41 -05:00
宋文武 f4e9727786 gnu: icon-naming-utils: Wrap with PERL5LIB to find XML::Simple.
Fixes <http://bugs.gnu.org/19367>.

* gnu/packages/gnome.scm (icon-naming-utils)[arguments]: New field.
2015-01-02 11:20:13 +08:00
宋文武 27ef7f4542 gnu: perl-xml-simple: Propagate XML::Parser.
* gnu/packages/xml.scm (perl-xml-simple): Move XML::Parser from 'inputs'
  to 'propagated-inputs'.
2015-01-02 11:20:13 +08:00
Mark H Weaver 0f481f0616 gnu: mesa: Fix build on non-intel systems.
* gnu/packages/gl.scm (mesa): On non-intel systems, pass
  "--with-dri-drivers=" configure flag with i915 and i965 removed.
2015-01-01 02:30:46 -05:00
Mark H Weaver 171bf17cc5 gnu: libdrm: Remove old version 2.4.33.
* gnu/packages/xdisorg.scm (libdrm-2.4.33): Remove, as it is no longer needed.
2014-12-31 23:16:18 -05:00
Mark H Weaver bf0baaf7db gnu: glibc: MIPS: Avoid a dangling `vfork@GLIBC_2.0' reference.
* gnu/packages/patches/glibc-mips-dangling-vfork-ref.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc): Add patch.
2014-12-30 19:58:05 -05:00
Mark H Weaver 63d526e268 gnu: mutt: Add fix for CVE-2014-9116.
* gnu/packages/patches/mutt-CVE-2014-9116.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/mail.scm (mutt): Add patch.
2014-12-30 15:18:37 -05:00
Mark H Weaver 2d2301e37a gnu: Import (gnu packages) into (gnu packages zip).
Should have been included in: e5da2f38c3.

* gnu/packages/zip.scm: Import (gnu packages).
2014-12-30 15:10:30 -05:00
Mark H Weaver e5da2f38c3 gnu: unzip: Add fixes for CVE-2014-{8139,8140,8141}.
* gnu/packages/patches/unzip-CVE-2014-8139.patch,
  gnu/packages/patches/unzip-CVE-2014-8140.patch,
  gnu/packages/patches/unzip-CVE-2014-8141.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/zip.scm (unzip): Add patches.
2014-12-30 14:48:13 -05:00
Mark H Weaver c7bdc7ece5 gnu: cpio: Add fixes for CVE-2014-9112.
* gnu/packages/patches/cpio-CVE-2014-9112-pt1.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt2.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt3.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt4.patch,
  gnu/packages/patches/cpio-CVE-2014-9112-pt5.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/cpio.scm (cpio): Add patches.  Add 'autoconf' to
  native-inputs.
2014-12-30 14:48:13 -05:00
Mark H Weaver 26804e1351 gnu: glibc: Add fixes for CVE-2014-7817 and CVE-2012-3406.
* gnu/packages/patches/glibc-CVE-2012-3406.patch,
  gnu/packages/patches/glibc-CVE-2014-7817.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/base.scm (glibc): Add patches.
2014-12-30 13:57:40 -05:00
Mark H Weaver 8cbb67e045 Merge branch 'master' into core-updates 2014-12-30 12:23:32 -05:00
Ludovic Courtès 7da473b757 gnu: Revert use of '--strip-all'.
This reverts commits f05bdc9412
and 856ae5e6c7.

This broke all sorts of things.  See <http://hydra.gnu.org/eval/102058>,
for example.
2014-12-29 21:54:12 +01:00
Ludovic Courtès 1c69e4ce3f list-packages: Expand 'mirror://' URIs for patches.
* build-aux/list-packages.scm (package->sxml)[patches](patch-url): Use
  'maybe-expand-mirrors' to get the real URL.
2014-12-29 21:19:17 +01:00
Ludovic Courtès dd8ea244f4 download: Export 'maybe-expand-mirrors'.
* guix/build/download.scm (uri-vicinity, maybe-expand-mirrors): New
  procedures.
  (url-fetch): Remove them from here.
2014-12-29 21:19:17 +01:00
Ludovic Courtès 4fbf4ca552 tests: Make the 'lint' tests slightly more concise.
* tests/lint.scm (with-warnings): New macro.
  Replace all uses of 'call-with-warnings' with the corresponding
  'with-warnings' form.
2014-12-29 21:19:13 +01:00
Ludovic Courtès 8b385969cf tests: Factorize the 'dummy-package' macro.
* guix/tests.scm (dummy-package): New macro.
* tests/lint.scm (dummy-package): Remove.
* tests/packages.scm (dummy-package): Remove.
2014-12-29 21:18:12 +01:00
Ludovic Courtès 907c98acbb lint: Add tests for the 'home-page' checker.
Suggested by Cyril Roelandt <tipecaml@gmail.com>.

* tests/lint.scm (%http-server-port, %http-server-socket, %local-url,
  stub-http-server): New variables.
  (http-write, call-with-http-server): New procedures.
  (with-http-server): New macro.
  ("home-page: wrong home-page", "home-page: invalid URI", "home-page:
  host not found", "home-page: Connection refused", "home-page: 200",
  "home-page: 404"): New tests.
* guix/scripts/lint.scm (check-home-page): Export.
2014-12-29 21:17:36 +01:00
Ludovic Courtès 8f501ac849 gnu: Fix misuses of 'x11-style' licenses.
* gnu/packages/xorg.scm (libevdev)[license]: Actually call
  'license:x11-style'.
  (libxshmfence): Likewise.
2014-12-29 12:18:11 +01:00
Ludovic Courtès f05bdc9412 gnu: Don't use --strip-all in cases where this is problematic.
This is a followup to 856ae5e.  See <http://hydra.gnu.org/build/180506>
for an example of build failure.

* guix/build/gnu-build-system.scm (strip): Add #:archive-strip-flags
  parameter.  Use it when (ar-file? path).
* guix/build-system/gnu.scm (gnu-build): Add #:archive-strip-flags
  parameter and pass it down.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Add
  #:strip-flags.
* gnu/packages/base.scm (glibc)[arguments]: Likewise.
2014-12-28 23:46:59 +01:00
Ludovic Courtès c79c6e598a lint: Report on the package being checked.
* guix/scripts/lint.scm (run-checkers): Check
  whether (current-error-port) is a tty, and print the package being
  checked and the checker currently running when it is.
2014-12-28 18:21:53 +01:00
Ludovic Courtès 07af3e5efe gnu: Fix or update a number of 'home-page' fields.
* gnu/packages/fltk.scm (fltk): Fix 'home-page'.
* gnu/packages/fonts.scm (font-bitstream-vera): Likewise, and fix
  license URL.
* gnu/packages/games.scm (gnubg, cmatrix, chess): Fix 'home-page'.
* gnu/packages/kde.scm (attica): Likewise.
* gnu/packages/mail.scm (fetchmail): Likewise.
* gnu/packages/popt.scm (popt): Likewise.
* gnu/packages/python.scm (python-mock): Likewise.
* gnu/packages/stalonetray.scm (stalonetray): Likewise.
2014-12-28 17:57:37 +01:00
Ludovic Courtès a3bf096945 lint: Add 'home-page' checker.
* guix/build/download.scm (open-connection-for-uri): Export.
* guix/scripts/lint.scm (probe-uri, check-home-page): New procedures.
  (%checkers): Add 'home-page' checker.
2014-12-28 17:57:36 +01:00
Ludovic Courtès 2a8d44015f gnu: libxml2: Add search path specification.
* gnu/packages/xml.scm (libxml2)[native-search-paths, search-paths]: New
  fields.
* gnu/packages/gnome.scm (gnome-doc-utils)[arguments]: Remove.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Remove settings for
  'XML_CATALOG_FILES' from 'configure' phase.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
2014-12-27 23:54:23 +01:00
Ludovic Courtès cc9a5c1454 guix package: Use 'search-path-as-list' instead of custom code.
This will handle the new 'file-type' and 'file-pattern' fields correctly.

* guix/scripts/package.scm (search-path-environment-variables)[search-path-definition]:
  Rewrite in terms of 'search-path-as-list'.
2014-12-27 23:46:10 +01:00
Ludovic Courtès bd2fc4d813 utils: Export 'search-path-as-list'.
* guix/build/utils.scm (search-path-as-list): Make public.
* guix/scripts/environment.scm (for-each-search-path): Use it.
2014-12-27 23:24:35 +01:00
Ludovic Courtès 7b21fe5385 packages: Add 'file-pattern' field to 'search-path-specification'.
* guix/packages.scm (<search-path-specification>)[file-pattern]: New
  field.
  (search-path-specification->sexp): Honor it.
2014-12-27 23:22:55 +01:00
Ludovic Courtès 7ec02d374d build-support/gnu: Add support for file patterns in search paths.
* guix/build/utils.scm (search-path-as-list): Add #:pattern parameter
  and honor it.
  (set-path-environment-variable): Likewise, and pass it to
  'search-path-as-list'.
* guix/packages.scm (search-path-specification->sexp): Add PATTERN slot.
* guix/build/gnu-build-system.scm (set-paths): Adjust accordingly.
2014-12-27 23:22:55 +01:00
Ludovic Courtès af07095516 packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.

* guix/packages.scm (<search-path-specification>): Rename 'directories'
  field to 'files'.  Add 'file-type'.
  (search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
  gnu/packages/cross-base.scm, gnu/packages/games.scm,
  gnu/packages/gcc.scm, gnu/packages/glib.scm,
  gnu/packages/guile.scm, gnu/packages/man.scm,
  gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
  gnu/packages/python.scm, gnu/packages/ruby.scm,
  gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
  'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 23:22:49 +01:00
Ludovic Courtès 856ae5e6c7 build-system/gnu: Strip with '--strip-all' instead of '--strip-debug'.
This saves 19% on the 'bin' directory of Coreutils, and certainly
helpful for things like Git's 'libexec' directory.

* guix/build-system/gnu.scm (gnu-build): Change default value for
  #:strip-flags to '("--strip-all").
* guix/build/gnu-build-system.scm (strip): Ditto.
* gnu/packages/linux.scm (linux-libre)[arguments]: Add #:strip-flags.
2014-12-27 19:20:18 +01:00
Mark H Weaver f9930cfaab Merge branch 'xorg-updates' 2014-12-27 12:03:04 -05:00
Mark H Weaver 7f9b77dc46 gnu: vtk: Fix build with mesa-10.
* gnu/packages/patches/vtk-mesa-10.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/vtk.scm (vtk): Add patch.  Add glu to inputs.
2014-12-27 11:18:29 -05:00
Mark H Weaver 85f4190221 gnu: gmsh: Add glu to inputs.
* gnu/packages/maths.scm (gmsh): Add glu to inputs.
2014-12-27 11:18:29 -05:00
Mark H Weaver 9a224ac2e3 gnu: Use patch --force instead of --batch.
* gnu/packages/linux.scm (linux-libre, net-tools): Pass "--force" to patch,
  instead of "--batch".
* gnu/packages/mit-krb5.scm (mit-krb5): Ditto.
2014-12-27 08:45:17 -05:00
Ludovic Courtès 6aa47e3883 build-system/gnu: Add support for non-directory search paths.
Partly fixes <http://bugs.gnu.org/18033>.

* guix/build/utils.scm (search-path-as-list): Rename 'sub-directories'
  parameter to 'files'.  Add #:type parameter and honor it.
  (set-path-environment-variable): Likewise.  Pass #:type to
  'search-path-as-list'.
* guix/packages.scm (search-path-specification->sexp): Add 'directory as
  the last item of the tuple.
* guix/build/gnu-build-system.scm (set-paths): Add 'type' to search-path
  pattern.  Pass #:type to 'set-path-environment-variable'.
2014-12-27 12:25:31 +01:00
Ludovic Courtès 8c89f514bf gnu: gettext: Update to 0.19.4.
* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.4.
2014-12-27 12:25:31 +01:00
Ludovic Courtès 84c84ce7bf gnu: binutils: Update to 2.25.
* gnu/packages/base.scm (binutils): Update to 2.25.
2014-12-27 12:25:31 +01:00
Mark H Weaver 6ac8aa3d75 gnu: m4: Remove already-applied patch.
* gnu/packages/patches/m4-readlink-EINVAL.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/m4.scm (m4): Remove patch.
2014-12-26 20:26:10 -05:00
Ludovic Courtès 0d12bc744e gnu: gcc-4.8: Update to 4.8.4.
* gnu/packages/gcc.scm (gcc-4.8): Update to 4.8.4.  Remove patch.
* gnu/packages/patches/gcc-fix-pr61801.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2014-12-27 00:17:43 +01:00
Ludovic Courtès 763a401ed1 Merge branch 'master' into core-updates 2014-12-26 23:31:04 +01:00
Ludovic Courtès 9426440781 packages: Apply patches with "patch --force".
Fixes <http://bugs.gnu.org/19402>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/packages.scm (patch-and-repack): Change "--batch" to "--force".
2014-12-26 23:30:29 +01:00
Ludovic Courtès bf7688fe4d nls: Add French translation for packages. 2014-12-26 23:28:13 +01:00
Ricardo Wurmus be7134bf75 gnu: Add pysam.
* gnu/packages/python.scm (python-pysam, python2-pysam): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-26 23:28:13 +01:00
Ricardo Wurmus ee97be9fb4 gnu: Add fastjar.
* gnu/packages/compression.scm (fastjar): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-26 23:28:13 +01:00
Mark H Weaver 977736fc40 gnu: irrlicht: Fix build with mesa-10.
* gnu/packages/patches/irrlicht-mesa-10.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/games.scm (irrlicht): Add patch.  Add glu to inputs.
2014-12-26 15:50:32 -05:00
Mark H Weaver 8a984cb307 Merge branch 'master' into xorg-updates 2014-12-26 09:05:25 -05:00
Mark H Weaver fb916f4dd6 gnu: qemu: Update to 2.2.0.
* gnu/packages/qemu.scm (qemu): Update to 2.2.0.
2014-12-26 09:01:15 -05:00
Mark H Weaver 00c0930019 gnu: pingus: Add glu to inputs.
* gnu/packages/games.scm (pingus): Add glu to inputs.
2014-12-26 00:57:42 -05:00
Mark H Weaver 276a8f7191 gnu: gnubik: Add glu to inputs.
* gnu/packages/games.scm (gnubik): Add glu to inputs.
2014-12-26 00:57:42 -05:00
Mark H Weaver 6a95024c0a gnu: gnubg: Add glu to inputs.
* gnu/packages/games.scm (gnubg): Add glu to inputs.
2014-12-26 00:57:42 -05:00
Mark H Weaver 9cb3036f0d gnu: sdl: Fix incompatibility with libx11-1.6.
* gnu/packages/patches/sdl-libx11-1.6.patch: New file
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/sdl.scm (sdl): Add patch.
2014-12-26 00:34:44 -05:00
Mark H Weaver cc8b02f4a5 gnu: gtkglext: Add glu to inputs.
* gnu/packages/gnome.scm (gtkglext): Add glu to inputs.
2014-12-26 00:01:51 -05:00
Mark H Weaver e933ad3dad gnu: ntp: Update to 4.2.8.
* gnu/packages/ntp.scm (ntp): Update to 4.2.8.  Add openssl to inputs.
  Add pkg-config to native-inputs.  Change source URI to archive.ntp.org.
2014-12-25 00:22:38 -05:00
Mark H Weaver 53a427cf20 gnu: ntp: Update to 4.2.8.
* gnu/packages/ntp.scm (ntp): Update to 4.2.8.  Add openssl to inputs.
  Add pkg-config to native-inputs.  Change source URI to archive.ntp.org.
2014-12-25 00:19:36 -05:00
Mark H Weaver f948656c17 Merge branch 'master' into xorg-updates 2014-12-24 10:07:03 -05:00
Ludovic Courtès 764c077b30 Revert "gnu: matplotlib: Comment out python2-matplotlib."
This reverts commit afc720d34c.
2014-12-23 19:17:17 +01:00
Ludovic Courtès 78a2745370 build-system/python: Fix 'package-with-explicit-python'.
Reported by Federico Beffa <beffa@ieee.org>
and Eric Bavier <ericbavier@gmail.com>.

* guix/build-system/python.scm (package-with-explicit-python): Do
  nothing when P's build system is not PYTHON-BUILD-SYSTEM.
2014-12-23 19:14:52 +01:00
Federico Beffa afc720d34c gnu: matplotlib: Comment out python2-matplotlib.
* gnu/packages/python.scm (python2-matplotlib, python2-scipy, python2-numpy):
  Comment out python2-matplotlib and the packages making use of it as the
  generation of the derivation of these packages takes very long.
2014-12-23 17:56:48 +01:00
Mark H Weaver a193b8248b Optimize package-transitive-supported-systems.
* guix/packages.scm (first-value): Remove.
  (define-memoized/v): New macro.
  (package-transitive-supported-systems): Rewrite.
2014-12-21 20:12:18 -05:00
Ludovic Courtès d95523fb8b packages: Sort Scheme file lists used by 'fold-packages'.
* gnu/packages.scm (scheme-files): Call 'sort' on result.
2014-12-21 12:29:14 +01:00
Mark H Weaver 7dcf67c070 Merge branch 'master' into xorg-updates 2014-12-20 15:08:38 -05:00
Mark H Weaver ce44657aab Really remove the 'nix-upstream' submodule.
* nix-upstream: Remove subproject.
2014-12-20 15:02:26 -05:00
宋文武 eea3e54c59 gnu: Add xfce4-terminal.
* gnu/packages/xfce.scm (xfce4-terminal): New variable.
2014-12-20 13:06:01 +08:00
宋文武 ea57378f24 gnu: Add vte.
* gnu/packages/gnome.scm (vte, vte/gtk+-2): New variables.
2014-12-20 13:01:47 +08:00
Mark H Weaver d2611ffbb5 gnu: Consistently use modular xorg source URIs in xorg.scm.
* gnu/packages/xorg.scm (bigreqsproto, compositeproto, damageproto)
  (dmxproto, encodings, font-adobe100dpi, font-adobe75dpi, font-alias)
  (font-arabic-misc, font-cronyx-cyrillic, font-dec-misc, font-isas-misc)
  (font-micro-misc, font-misc-cyrillic, font-misc-ethiopic, font-misc-misc)
  (font-mutt-misc, font-schumacher-misc, font-screen-cyrillic, font-sony-misc)
  (font-sun-misc, font-util, font-winitzki-cyrillic, font-xfree86-type1)
  (libpthread-stubs, libwindowswm, libxdmcp, libxkbfile, libxscrnsaver)
  (luit, recordproto, renderproto, resourceproto, scrnsaverproto, setxkbmap)
  (smproxy, windowswmproto, x11perf, xcb-proto, xcmiscproto, xcmsdb, xdriinfo)
  (xf86-input-void, xf86-video-newport, xf86bigfontproto, xf86dgaproto)
  (xf86driproto, xf86vidmodeproto, xgamma, xineramaproto, xkbevd, xlsatoms)
  (xorg-sgml-doctools, xpr, xwud, fixesproto, mkfontdir, libxcb, xcb-util)
  (xcb-util-image, xcb-util-keysyms, xcb-util-renderutil, kbproto, xbitmaps):
  Use source URIs with prefix mirror://xorg/individual/ for consistency.
  (dri3proto, presentproto, printproto): Remove comments about them not
  being part of X11R7.7.
2014-12-19 23:28:18 -05:00
Mark H Weaver 073cd6092c gnu: xorg-server: Update to 1.16.2.901, with many security fixes.
Includes fixes for CVE-2014-8091, CVE-2014-8092, CVE-2014-8093, CVE-2014-8094,
CVE-2014-8095, CVE-2014-8096, CVE-2014-8097, CVE-2014-8098, CVE-2014-8099,
CVE-2014-8100, CVE-2014-8101, CVE-2014-8102, and CVE-2014-8103.

See <http://www.x.org/wiki/Development/Security/Advisory-2014-12-09/>

* gnu/packages/xorg.scm (xorg-server): Update to 1.16.2.901.  Move mesa,
  resourceproto, scrnsaverproto, and xf86driproto from inputs to
  propagated-inputs.  Add dri3proto and presentproto to propagated-inputs.
  Add eudev and libxshmfence to inputs.  Add a 'pre-configure' phase instead
  of modifying the 'configure' phase.  Adapt substitution that avoids trying
  to 'mkdir /var' to build system changes.

* gnu/services/xorg.scm (xserver.conf): Add xf86-input-evdev ModulePath line.
2014-12-19 23:28:18 -05:00
Mark H Weaver c0e40804b2 gnu: xf86-video-voodoo: Update to 1.2.5.
* gnu/packages/xorg.scm (xf86-video-voodoo): Update to 1.2.5.
2014-12-19 23:28:18 -05:00
Mark H Weaver bd6863c245 gnu: xf86-video-vmware: Update to 13.0.2.
* gnu/packages/patches/xf86-video-vmware-glibc-2.20.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-vmware): Update to 13.0.2.
  Add patch.  Add mesa to inputs.
2014-12-19 23:28:18 -05:00
Mark H Weaver 7dd17c76ae gnu: xf86-video-vesa: Update to 2.3.3.
* gnu/packages/xorg.scm (xf86-video-vesa): Update to 2.3.3.
2014-12-19 23:28:18 -05:00
Mark H Weaver d0088ad82a gnu: xf86-video-trident: Update to 1.3.6.
* gnu/packages/patches/xf86-video-trident-remove-mibstore.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-trident): Update to 1.3.6.  Add patch.
2014-12-19 23:28:17 -05:00
Mark H Weaver af339a482e gnu: xf86-video-tga: Update to 1.2.2.
* gnu/packages/patches/xf86-video-tga-remove-mibstore.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-tga): Update to 1.2.2.  Add patch.
2014-12-19 23:28:17 -05:00
Mark H Weaver 8366433495 gnu: xf86-video-tdfx: Update to 1.4.5.
* gnu/packages/patches/xf86-video-tdfx-remove-mibstore.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-tdfx): Update to 1.4.5.  Add patch.
2014-12-19 23:28:17 -05:00
Mark H Weaver a1d80a04b6 gnu: xf86-video-sunffb: Update to 1.2.2.
* gnu/packages/xorg.scm (xf86-video-sunffb): Update to 1.2.2.
2014-12-19 23:28:17 -05:00
Mark H Weaver c4bce93fa2 gnu: xf86-video-suncg6: Update to 1.1.2.
* gnu/packages/xorg.scm (xf86-video-suncg6): Update to 1.1.2.
2014-12-19 23:28:17 -05:00
Mark H Weaver 3fc4eb211e gnu: xf86-video-modesetting: Now uses the same libdrm as mesa.
* gnu/packages/xorg.scm (xf86-video-modesetting): Remove a comment stating
  that the libdrm used in this driver is incompatible with the one in mesa,
  because it is no longer true.
* gnu/services/xorg.scm (xserver.conf): Uncomment 'xf86-video-modesetting'
  ModulePath and remove associated comment.
2014-12-19 23:28:17 -05:00
Mark H Weaver 7007aeb287 gnu: xf86-video-sis: Update to 0.10.7.
* gnu/packages/patches/xf86-video-sis-update-api.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-sis): Update to 0.10.7.  Add patch.
2014-12-19 23:28:17 -05:00
Mark H Weaver a5bea0a730 gnu: xf86-video-siliconmotion: Update to 1.7.7.
* gnu/packages/patches/xf86-video-siliconmotion-remove-mibstore.patch:
  New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-siliconmotion): Update to 1.7.7.
  Add patch.
2014-12-19 23:28:17 -05:00
Mark H Weaver 1a78304572 gnu: xf86-video-savage: Update to 2.3.7.
* gnu/packages/xorg.scm (xf86-video-savage): Update to 2.3.7.
2014-12-19 23:28:17 -05:00
Mark H Weaver 975ced12d4 gnu: xf86-video-r128: Update to 6.9.2.
* gnu/packages/patches/xf86-video-r128-glibc-2.20.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-r128): Update to 6.9.2.  Add patch.
2014-12-19 23:28:16 -05:00
Mark H Weaver 3d7d909c9d gnu: xf86-video-openchrome: Update to 0.3.3.
* gnu/packages/patches/xf86-video-openchrome-includes.patch: Remove.
* gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it and remove the other.
* gnu/packages/xorg.scm (xf86-video-openchrome): Update to 0.3.3.
  Add one patch and remove the other.
2014-12-19 23:28:16 -05:00
Mark H Weaver fc7a0cf678 gnu: xf86-video-nv: Update to 2.1.20.
* gnu/packages/patches/xf86-video-nv-remove-mibstore.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-nv): Update to 2.1.20.  Add patch.
2014-12-19 23:28:16 -05:00
Mark H Weaver caabecf056 gnu: xf86-video-neomagic: Update to 1.2.8.
* gnu/packages/xorg.scm (xf86-video-neomagic): Update to 1.2.8.
2014-12-19 23:28:16 -05:00
Mark H Weaver e6eeff1856 gnu: xf86-video-mga: Update to 1.6.3.
* gnu/packages/patches/xf86-video-mga-glibc-2.20.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-mga): Update to 1.6.3.  Add patch.
2014-12-19 23:28:16 -05:00
Mark H Weaver e7908a24d3 gnu: xf86-video-mach64: Update to 6.9.4.
* gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-mach64): Update to 6.9.4.  Add patch.
2014-12-19 23:28:16 -05:00
Mark H Weaver 49a9099ebc gnu: xf86-video-intel: Update to 2.21.15.
* gnu/packages/patches/xf86-video-intel-compat-api.patch,
  gnu/packages/patches/xf86-video-intel-glibc-2.20.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/xorg.scm (xf86-video-intel): Update to 2.21.15.
  Add patches.  Add eudev to inputs.
2014-12-19 23:28:16 -05:00
Mark H Weaver 7504007211 gnu: xf86-video-i128: Update to 1.3.6.
* gnu/packages/patches/xf86-video-i128-remove-mibstore.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-i128): Update to 1.3.6.  Add patch.
2014-12-19 23:28:16 -05:00
Mark H Weaver becb7c9987 gnu: xf86-video-glint: Update to 1.2.8.
* gnu/packages/patches/xf86-video-glint-remove-mibstore.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-glint): Update to 1.2.8.  Add patch.
2014-12-19 23:28:15 -05:00
Mark H Weaver 3ee26f989c gnu: xf86-video-ast: Add patch needed for upcoming xorg-server update.
* gnu/packages/patches/xf86-video-ast-remove-mibstore.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-ast): Add patch.
  Use modular xorg source URI.
2014-12-19 23:28:15 -05:00
Mark H Weaver 232af79efb gnu: Resurrect xf86-video-geode and update to 2.11.16.
* gnu/packages/patches/xf86-video-geode-glibc-2.20.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-geode): Uncomment it.  Update
  to 2.11.16.  Add patch.
2014-12-19 23:28:15 -05:00
Mark H Weaver 2c0a2d7a4f gnu: xf86-video-fbdev: Update to 0.4.4.
* gnu/packages/xorg.scm (xf86-video-fbdev): Update to 0.4.4.
2014-12-19 23:28:15 -05:00
Mark H Weaver 102e8fc0a1 gnu: xf86-video-cirrus: Update to 1.5.2.
* gnu/packages/xorg.scm (xf86-video-cirrus): Update to 1.5.2.
2014-12-19 23:28:15 -05:00
Mark H Weaver 316fdeb27e gnu: xf86-video-ati: Update to 7.5.0.
* gnu/packages/xorg.scm (xf86-video-ati): Update to 7.5.0.
  Add "--disable-glamor" configure flag.
2014-12-19 23:28:15 -05:00
Mark H Weaver ea73576bc1 gnu: xf86-video-ark: Update to 0.7.5.
* gnu/packages/patches/xf86-video-ark-remove-mibstore.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xf86-video-ark): Update to 0.7.5.  Add patch.
2014-12-19 23:28:15 -05:00
Mark H Weaver 2750ee5b0d gnu: xf86-input-synaptics: Update to 1.8.1.
* gnu/packages/patches/xf86-input-synaptics-glibc-2.20.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-input-synaptics): Update to 1.8.1.
  Remove patch.  Add libevdev to inputs.
2014-12-19 23:28:15 -05:00
Mark H Weaver 9b1cd1e56a gnu: xf86-input-mouse: Update to 1.9.1.
* gnu/packages/xorg.scm (xf86-input-mouse): Update to 1.9.1.  Add
  "--with-sdkdir" configure flag.
2014-12-19 23:28:14 -05:00
Mark H Weaver 02c9f9ca4c gnu: xf86-input-keyboard: Update to 1.8.0.
* gnu/packages/xorg.scm (xf86-input-keyboard): Update to 1.8.0.
2014-12-19 23:28:14 -05:00
Mark H Weaver aa868f6da4 gnu: xf86-input-joystick: Update to 1.6.2.
* gnu/packages/xorg.scm (xf86-input-joystick): Update to 1.6.2.
2014-12-19 23:28:14 -05:00
Mark H Weaver 04074a95de gnu: xf86-input-evdev: Update to 2.8.4.
* gnu/packages/xorg.scm (xf86-input-evdev): Update to 2.8.4.
  Add libevdev to inputs.  Switch to eudev from udev.
2014-12-19 23:28:14 -05:00
Mark H Weaver 5c28dce043 gnu: xwininfo: Update to 1.1.3.
* gnu/packages/xorg.scm (xwininfo): Update to 1.1.3.
2014-12-19 23:28:14 -05:00
Mark H Weaver b3ba0379eb gnu: xwd: Update to 1.0.6.
* gnu/packages/xorg.scm (xwd): Update to 1.0.6.  Add libxkbfile to inputs.
2014-12-19 23:28:01 -05:00
Mark H Weaver 9489b6ea39 gnu: xvinfo: Update to 1.1.2.
* gnu/packages/xorg.scm (xvinfo): Update to 1.1.2.
2014-12-19 22:47:30 -05:00
Mark H Weaver 61ba0bbfca gnu: xsetroot: Update to 1.1.1.
* gnu/packages/xorg.scm (xsetroot): Update to 1.1.1.
2014-12-19 22:47:30 -05:00
Mark H Weaver 0ef700db89 gnu: xset: Update to 1.2.3.
* gnu/packages/xorg.scm (xset): Update to 1.2.3.
2014-12-19 22:47:30 -05:00
Mark H Weaver eae74117fc gnu: xrefresh: Update to 1.0.5.
* gnu/packages/xorg.scm (xrefresh): Update to 1.0.5.
2014-12-19 22:47:30 -05:00
Mark H Weaver 4585250372 gnu: xrdb: Update to 1.1.0.
* gnu/packages/xorg.scm (xrdb): Update to 1.1.0.
2014-12-19 22:47:30 -05:00
Mark H Weaver eafd33e896 gnu: xrandr: Update to 1.4.3.
* gnu/packages/xorg.scm (xrandr): Update to 1.4.3.
2014-12-19 22:47:30 -05:00
Mark H Weaver a1d537b053 gnu: xprop: Update to 1.2.2.
* gnu/packages/xorg.scm (xprop): Update to 1.2.2.
2014-12-19 22:47:30 -05:00
Mark H Weaver 467ac76d24 gnu: xmodmap: Update to 1.0.8.
* gnu/packages/xorg.scm (xmodmap): Update to 1.0.8.
2014-12-19 22:47:30 -05:00
Mark H Weaver cdacad71a5 gnu: xlsclients: Update to 1.1.3.
* gnu/packages/xorg.scm (xlsclients): Update to 1.1.3.
2014-12-19 22:47:30 -05:00
Mark H Weaver f61bfb3427 gnu: xkill: Update to 1.0.4.
* gnu/packages/xorg.scm (xkill): Update to 1.0.4.
2014-12-19 22:47:29 -05:00
Mark H Weaver d6f7ee720b gnu: xkeyboard-config: Update to 2.13.
* gnu/packages/xorg.scm (xkeyboard-config): Update to 2.13.
2014-12-19 22:47:29 -05:00
Mark H Weaver c9ad1f97df gnu: xkbutils: Update to 1.0.4.
* gnu/packages/xorg.scm (xkbutils): Update to 1.0.4.
2014-12-19 22:47:29 -05:00
Mark H Weaver 6bd87b7670 gnu: xkbcomp: Update to 1.3.0.
* gnu/packages/xorg.scm (xkbcomp-intermediate): Update to 1.3.0.
2014-12-19 22:47:29 -05:00
Mark H Weaver e2a712cae7 gnu: xinput: Update to 1.6.1.
* gnu/packages/xorg.scm (xinput): Update to 1.6.1.  Add libxext to inputs.
2014-12-19 22:47:29 -05:00
Mark H Weaver 9248fd7f04 gnu: xhost: Update to 1.0.6.
* gnu/packages/xorg.scm (xhost): Update to 1.0.6.
2014-12-19 22:47:29 -05:00
Mark H Weaver 73e122be1d gnu: xcursor-themes: Update to 1.0.4.
* gnu/packages/xorg.scm (xcursor-themes): Update to 1.0.4.
2014-12-19 22:47:29 -05:00
Mark H Weaver edc2ad8e3e gnu: xev: Update to 1.2.1.
* gnu/packages/xorg.scm (xev): Update to 1.2.1.
2014-12-19 22:47:29 -05:00
Mark H Weaver 39deb4b144 gnu: xdpyinfo: Update to 1.3.1.
* gnu/packages/xorg.scm (xdpyinfo): Update to 1.3.1.
2014-12-19 22:47:29 -05:00
Mark H Weaver 125d405f75 gnu: xcursorgen: Update to 1.0.6.
* gnu/packages/xorg.scm (xcursorgen): Update to 1.0.6.
2014-12-19 22:47:29 -05:00
Mark H Weaver b48b7ca795 gnu: xauth: Update to 1.0.9.
* gnu/packages/xorg.scm (xauth): Update to 1.0.9.  Disable tests.
2014-12-19 22:47:29 -05:00
Mark H Weaver da1a6bb32c gnu: xbacklight: Update to 1.2.1.
* gnu/packages/xorg.scm (xbacklight): Update to 1.2.1.  Change inputs
  to use xcb libraries.
2014-12-19 22:47:29 -05:00
Mark H Weaver f540eddef4 gnu: sessreg: Update to 1.0.8.
* gnu/packages/xorg.scm (sessreg): Update to 1.0.8.
2014-12-19 22:47:28 -05:00
Mark H Weaver d220d152ad gnu: iceauth: Update to 1.0.6.
* gnu/packages/xorg.scm (iceauth): Update to 1.0.6.
2014-12-19 22:47:28 -05:00
Mark H Weaver b3cbd61a5c gnu: xcb-util-wm: Update to 0.4.1.
* gnu/packages/xorg.scm (xcb-util-wm): Update to 0.4.1.
2014-12-19 22:47:28 -05:00
Mark H Weaver acba78a123 gnu: mkfontscale: Update to 1.1.1.
* gnu/packages/xorg.scm (mkfontscale): Update to 1.1.1.
2014-12-19 22:47:28 -05:00
Mark H Weaver 95b7bafea0 gnu: bdftopcf: Update to 1.0.4.
* gnu/packages/xorg.scm (bdftopcf): Update to 1.0.4.
2014-12-19 22:47:28 -05:00
Mark H Weaver 3ae74dfd45 gnu: makedepend: Update to 1.0.5.
* gnu/packages/xorg.scm (makedepend): Update to 1.0.5.
2014-12-19 22:47:28 -05:00
Mark H Weaver ab9d06be83 gnu: Add libevdev.
* gnu/packages/xorg.scm (libevdev): New variable.
2014-12-19 22:47:28 -05:00
Mark H Weaver 66e0147e86 gnu: libxaw: Update to 1.0.12.
* gnu/packages/xorg.scm (libxaw): Update to 1.0.12.
2014-12-19 22:47:28 -05:00
Mark H Weaver cec79ce664 gnu: libxcursor: Update to 1.1.14.
* gnu/packages/xorg.scm (libxcursor): Update to 1.1.14.
2014-12-19 22:47:28 -05:00
Mark H Weaver 24e97d3487 gnu: libxxf86dga: Update to 1.1.4.
* gnu/packages/xorg.scm (libxxf86dga): Update to 1.1.4.
2014-12-19 22:47:28 -05:00
Mark H Weaver 07c6af48d2 gnu: libxres: Update to 1.0.7.
* gnu/packages/xorg.scm (libxres): Update to 1.0.7.
2014-12-19 22:47:28 -05:00
Mark H Weaver 15bcd5b77e gnu: libxpm: Update to 3.5.11.
* gnu/packages/xorg.scm (libxpm): Update to 3.5.11.
2014-12-19 22:47:28 -05:00
Mark H Weaver 788093dd9d gnu: libxmu: Update to 1.1.2.
* gnu/packages/xorg.scm (libxmu): Update to 1.1.2.
2014-12-19 22:47:27 -05:00
Mark H Weaver 4fde7d34c4 gnu: libxt: Update to 1.1.4.
* gnu/packages/xorg.scm (libxt): Update to 1.1.4.
2014-12-19 22:47:27 -05:00
Mark H Weaver 140a079347 gnu: libxft: Update to 2.3.2.
* gnu/packages/xorg.scm (libxft): Update to 2.3.2.
2014-12-19 22:47:27 -05:00
Mark H Weaver 4c573e6967 gnu: libxcomposite: Update to 0.4.4.
* gnu/packages/xorg.scm (libxcomposite): Update to 0.4.4.
2014-12-19 22:47:27 -05:00
Mark H Weaver d8dde29631 gnu: libsm: Update to 1.2.2.
* gnu/packages/xorg.scm (libsm): Update to 1.2.2.
2014-12-19 22:47:27 -05:00
Mark H Weaver b54eab023f gnu: libpciaccess: Update to 1.13.2.
* gnu/packages/xorg.scm (libpciaccess): Update to 1.13.2.
2014-12-19 22:47:27 -05:00
Mark H Weaver cbc4f50cec gnu: libfs: Update to 1.0.6.
* gnu/packages/xorg.scm (libfs): Update to 1.0.6.
2014-12-19 22:47:27 -05:00
Mark H Weaver eb2a0e1136 gnu: libdmx: Update to 1.1.3.
* gnu/packages/xorg.scm (libdmx): Update to 1.1.3.
2014-12-19 22:47:27 -05:00
Mark H Weaver 81f7096b97 gnu: libxxf86vm: Update to 1.1.3.
* gnu/packages/xorg.scm (libxxf86vm): Update to 1.1.3.
2014-12-19 22:47:27 -05:00
Mark H Weaver 8dc29fd1fc gnu: libxvmc: Update to 1.0.8.
* gnu/packages/xorg.scm (libxvmc): Update to 1.0.8.
2014-12-19 22:47:27 -05:00
Mark H Weaver 728a4f20ab gnu: libxrandr: Update to 1.4.2.
* gnu/packages/xorg.scm (libxrandr): Update to 1.4.2.
2014-12-19 22:47:27 -05:00
Mark H Weaver e5392784fa gnu: libxfont: Update to 1.5.0.
* gnu/packages/xorg.scm (libxfont): Update to 1.5.0.
2014-12-19 22:47:27 -05:00
Mark H Weaver 7d7a47c663 gnu: libfontenc: Update to 1.1.2.
* gnu/packages/xorg.scm (libfontenc): Update to 1.1.2.
2014-12-19 22:47:26 -05:00
Mark H Weaver 5c2168c81d gnu: libice: Update to 1.0.9.
* gnu/packages/xorg.scm (libice): Update to 1.0.9.
2014-12-19 22:47:26 -05:00
Mark H Weaver 88e86ee9c5 gnu: libxv: Update to 1.0.10.
* gnu/packages/xorg.scm (libxv): Update to 1.0.10.
2014-12-19 22:47:26 -05:00
Mark H Weaver 223681e73a gnu: libxtst: Update to 1.2.2.
* gnu/packages/xorg.scm (libxtst): Update to 1.2.2.
2014-12-19 22:47:26 -05:00
Mark H Weaver 59f9bd7088 gnu: libxrender: Update to 0.9.8.
* gnu/packages/xorg.scm (libxrender): Update to 0.9.8.
2014-12-19 22:47:26 -05:00
Mark H Weaver 9a8b8f2632 gnu: libxp: Update to 1.0.2.
* gnu/packages/xorg.scm (libxp): Update to 1.0.2.
2014-12-19 22:47:26 -05:00
Mark H Weaver 90466b59ff gnu: libxinerama: Update to 1.1.3.
* gnu/packages/xorg.scm (libxinerama): Update to 1.1.3.
2014-12-19 22:47:26 -05:00
Mark H Weaver e18bb48020 gnu: libxdamage: Update to 1.1.4.
* gnu/packages/xorg.scm (libxdamage): Update to 1.1.4.
2014-12-19 22:47:26 -05:00
Mark H Weaver 2b8172c4a4 gnu: libxi: Update to 1.7.4.
* gnu/packages/xorg.scm (libxi): Update to 1.7.4.  Add libxfixes
  to propagated-inputs.
2014-12-19 22:47:26 -05:00
Mark H Weaver b05752dbe6 gnu: libxfixes: Update to 5.0.1.
* gnu/packages/xorg.scm (libxfixes): Update to 5.0.1.
2014-12-19 22:47:26 -05:00
Mark H Weaver ccffa91c1d gnu: libxext: Update to 1.3.3.
* gnu/packages/xorg.scm (libxext): Update to 1.3.3.
2014-12-19 22:47:26 -05:00
Mark H Weaver fda2ebe75f gnu: libxau: Update to 1.0.8.
* gnu/packages/xorg.scm (libxau): Update to 1.0.8.
2014-12-19 22:47:25 -05:00
Mark H Weaver 075e9a11d3 gnu: libx11: Update to 1.6.2.
* gnu/packages/xorg.scm (libx11): Update to 1.6.2.
2014-12-19 22:47:25 -05:00
Mark H Weaver 75dc8b2266 gnu: xtrans: Update to 1.3.5.
* gnu/packages/xorg.scm (xtrans): Update to 1.3.5.
2014-12-19 22:47:25 -05:00
Mark H Weaver 9643cff15c gnu: randrproto: Update to 1.4.0.
* gnu/packages/xorg.scm (randrproto): Update to 1.4.0.
2014-12-19 22:47:25 -05:00
Mark H Weaver 0b271d2bbe gnu: videoproto: Update to 2.3.2.
* gnu/packages/xorg.scm (videoproto): Update to 2.3.2.
2014-12-19 22:47:25 -05:00
Mark H Weaver cc28048d1a gnu: glproto: Update to 1.4.17.
* gnu/packages/xorg.scm (glproto): Update to 1.4.17.
2014-12-19 22:47:25 -05:00
Mark H Weaver 8fc8c1ee0b gnu: fontsproto: Update to 2.1.3.
* gnu/packages/xorg.scm (fontsproto): Update to 2.1.3.
2014-12-19 22:47:25 -05:00
Mark H Weaver 7f65303d73 gnu: inputproto: Update to 2.3.1.
* gnu/packages/xorg.scm (inputproto): Update to 2.3.1.
2014-12-19 22:47:25 -05:00
Mark H Weaver 3097d65e29 gnu: dri2proto: Update to 2.8.
* gnu/packages/xorg.scm (dri2proto): Update to 2.8.
2014-12-19 22:47:25 -05:00
Mark H Weaver e8453d7b91 gnu: xextproto: Update to 7.3.0.
* gnu/packages/xorg.scm (xextproto): Update to 7.3.0.
2014-12-19 22:47:25 -05:00
Mark H Weaver e876456a67 gnu: xproto: Update to 7.0.26.
* gnu/packages/xorg.scm (xproto): Update to 7.0.26.
2014-12-19 22:47:25 -05:00
Mark H Weaver 0a761f1ebd gnu: util-macros: Update to 1.19.0.
* gnu/packages/xorg.scm (util-macros): Update to 1.19.0.
2014-12-19 22:47:24 -05:00
Mark H Weaver d36caa10a5 gnu: cairomm: Update to 1.11.2.
* gnu/packages/gtk.scm (cairomm): Update to 1.11.2.
2014-12-19 22:47:24 -05:00
Mark H Weaver 9e5c0927e4 gnu: cairo: Update to 1.12.18.
* gnu/packages/gtk.scm (cairo): Update to 1.12.18.  Add libxdamage
  to propagated-inputs.
2014-12-19 22:47:24 -05:00
Mark H Weaver daf47d4388 gnu: pixman: Update to 0.32.6.
* gnu/packages/xdisorg.scm (pixman): Update to 0.32.6.
2014-12-19 22:47:24 -05:00
Mark H Weaver 3d6befa4af gnu: glibmm: Update to 2.42.0.
* gnu/packages/glib.scm (glibmm): Update to 2.42.0.  Use 'version-major+minor'
  to compute source URI.
2014-12-19 22:47:24 -05:00
Mark H Weaver 4b1b387776 gnu: dbus-glib: Update to 0.102.
* gnu/packages/glib.scm (dbus-glib): Update to 0.102.
2014-12-19 22:47:24 -05:00
Mark H Weaver ee28fc6432 gnu: glib: Update to 2.42.1.
* gnu/packages/glib.scm (glib): Update to 2.42.1.  Disable a test
  that requires dbus.
2014-12-19 22:47:24 -05:00
Mark H Weaver 11163131cd gnu: dbus: Update to 1.8.12.
* gnu/packages/glib.scm (dbus): Update to 1.8.12.
2014-12-19 22:47:24 -05:00
Mark H Weaver 8befb33d23 gnu: poppler: Update to 0.28.1.
* gnu/packages/pdf.scm (poppler): Update to 0.28.1.  Use the .xz source
  tarball.
2014-12-19 22:47:24 -05:00
Mark H Weaver 618ea7c94e gnu: inkscape: Update to 0.48.5.
* gnu/packages/patches/inkscape-stray-comma.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/inkscape.scm (inkscape): Update to 0.48.5.  Remove patch. Use
  the .bz2 source tarball.  Use current libgc.  Add 'fix-test-includes' phase.
2014-12-19 22:47:24 -05:00
Mark H Weaver ce4d7abf02 gnu: mesa: Update to 10.4.0.
* gnu/packages/gl.scm (mesa): Update to 10.4.0.  Use current libdrm.  Add
  eudev, dri3proto, presentproto, and libxshmfence to inputs.  Add gnu-gettext
  to native-inputs.  Add --enable-xa configure flag.  Add new phases
  'add-missing-m4-files' and 'patch-create_test_cases'.
2014-12-19 22:47:24 -05:00
Mark H Weaver 31157f8e52 gnu: libdrm: Update to 2.4.58.
* gnu/packages/xdisorg.scm (libdrm): Update to 2.4.58.
2014-12-19 22:47:24 -05:00
Mark H Weaver f0b6c5d8fe gnu: Add libxshmfence.
* gnu/packages/xorg.scm (libxshmfence): New variable.
2014-12-19 22:47:24 -05:00
宋文武 24d56899a1 services: xorg: Make SLiM sessions configurable.
* gnu/services/xorg.scm (%default-xsessions): New variable.
  (xsessions-directory): New procedure.
  (slim-service): Add #:sessions and #:auto-login-session parameters.
  [slim.cfg]: Honor #:sessions.
  (xinitrc): Adjust accordingly.
2014-12-20 11:12:00 +08:00
Ludovic Courtès 9ac97e83e9 Remove 'nix-upstream' submodule.
* nix/sync-with-upstream: Remove.
* bootstrap: Remove uses of 'git submodule' and 'sync-with-usptream'.
* .gitmodules: Remove.
2014-12-19 23:18:49 +01:00
Ludovic Courtès 36457566f9 Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
Ricardo Wurmus 2c7ee16720 gnu: Add bowtie
* gnu/packages/bioinformatics.scm (bowtie): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-19 18:50:28 +01:00
Ludovic Courtès 7f5c2a9cc1 services: static-networking-service: Switch to (guix build syscalls).
* gnu/services/networking.scm (static-networking-service): Remove
  #:inetutils parameter.  Rewrite using 'configure-network-interface'
  and 'set-network-interface-flags'.
2014-12-19 17:15:53 +01:00
Ludovic Courtès c9bf64d6d7 syscalls: Add more procedures for network interfaces.
* guix/build/syscalls.scm (sizeof*, type-size, write-type, write-types,
  read-type, read-types, define-c-struct): New macros.
  (SIOCSIFFLAGS, SIOCGIFADDR, SIOCSIFADDR): New variables.
  (sockaddr-in, sockaddr-in6): New C structs.
  (write-socket-address!, read-socket-address,
  set-network-interface-flags, set-network-interface-address,
  network-interface-address, configure-network-interface): New
  procedures.
2014-12-19 17:15:53 +01:00
Ricardo Wurmus cdae969ae5 gnu: Add Clone.
* gnu/packages/perl.scm (perl-clone): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-19 17:15:53 +01:00
Federico Beffa 9e0997230c gnu: cairocffi: Move to python module.
* gnu/packages/gtk.scm, gnu/packages/python.scm (python-cairocffi,
  python2-cairocffi): Move variables from gtk to python module to avoid
  circular dependency.

Reported by Mark H Weaver <mhw@netris.org>
2014-12-18 22:00:19 +01:00
Federico Beffa 25f9a068f2 gnu: matplotlib: Add gtk3 backends and optional dependency. Adjust inputs.
* gnu/packages/python.scm (python-matplotlib, python2-matplotlib): Add gtk3
  backends with the necessary inputs and a 'configure-environment' phase.  Add
  the optional 'python-pillow' dependency.  Move 'python-pyparsing' from
  'inputs' to 'propagated-inputs' as it is required at run time.
2014-12-18 17:58:10 +01:00
Federico Beffa 63cd6e5a95 gnu: Add cairocffi.
* gnu/packages/gtk.scm (python-cairocffi, python2-cairocffi): New variables.
2014-12-18 17:58:10 +01:00
Federico Beffa 6fa144692c gnu: Add xcffib
* gnu/packages/python.scm (python-xcffib, python2-xcffib): New variables.
2014-12-18 17:58:10 +01:00
Federico Beffa 6f8fe4b29e build/python-build-system: Fix easy-install.pth collisions.
* guix/build/python-build-system.scm (rename-pth-file): New rename-pth-file
  phase and corresponding function.
2014-12-18 17:58:10 +01:00
Ludovic Courtès 46a3e00b5b gnu: icecat: Build with PulseAudio support.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add
  --enable-pulseaudio.
2014-12-17 14:06:59 +01:00
Jason Self 80db9915a0 gnu: linux-libre: Update to 3.18.1
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.1.
2014-12-17 04:30:52 -08:00
Ricardo Wurmus 7576cbd6da gnu: Add Test::Simple.
* gnu/packages/perl.scm (perl-test-simple): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-17 00:11:28 +01:00
Ricardo Wurmus 0ad3969fcd gnu: Add Test::Deep.
* gnu/packages/perl.scm (perl-test-deep): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-17 00:11:28 +01:00
Ricardo Wurmus 9dc8a1577f gnu: Add Test::NoWarnings.
* gnu/packages/perl.scm (perl-test-nowarnings): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-17 00:11:28 +01:00
Ricardo Wurmus ea0a52d7d6 gnu: Add Test::Tester.
* gnu/packages/perl.scm (perl-test-tester): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-17 00:11:27 +01:00
Federico Beffa 6a84316848 Revert "gnu: python-numpy-bootstrap: Reduce matrix size in failing test."
This reverts commit 31557440c2 as it did not
provide the desired effect.  The test is still failing.
2014-12-16 18:37:13 +01:00
Ricardo Wurmus 81de56479a gnu: Add bedtools
* gnu/packages/bioinformatics.scm (bedtools): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-16 18:17:15 +01:00
Tomáš Čech b336da21e9 gnu: tmux: Update to 1.9a.
* gnu/packages/tmux.scm (tmux): Update to 1.9a

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-16 18:17:15 +01:00
Ricardo Wurmus f3cd952b45 gnu: samtools: disable tests for non-64-bit systems
* gnu/packages/bioinformatics.scm (samtools): disable tests for all non-64-bit
  systems because of an upstream bug in the test data.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-16 18:17:15 +01:00
Mark H Weaver a142e38e9d gnu: groff: Disable parallel builds.
* gnu/packages/groff.scm (groff): Disable parallel builds.
2014-12-16 11:16:54 -05:00
Mark H Weaver dec7ab5953 gnu: groff: Update to 1.22.3.
* gnu/packages/groff.scm (groff): Update to 1.22.3.
2014-12-16 03:28:06 -05:00
Mark H Weaver a6e818586b gnu: ghostscript: Update to 9.14.0.
* gnu/packages/ghostscript.scm (ghostscript): Update to 9.14.0.
  Change license to agpl3+.
2014-12-16 03:08:00 -05:00
Mark H Weaver 6b282cc9fb gnu: lcms: Update to 2.6.
* gnu/packages/ghostscript.scm (lcms): Update to 2.6.
2014-12-16 03:07:57 -05:00
Mark H Weaver 9f8552fab5 gnu: icecat: Apply security updates for CVE-2014-{1587,1590,1592,1593,1594}.
* gnu/packages/patches/icecat-CVE-2014-1587-bug-1042567.patch,
  gnu/packages/patches/icecat-CVE-2014-1587-bug-1072847.patch,
  gnu/packages/patches/icecat-CVE-2014-1587-bug-1079729.patch,
  gnu/packages/patches/icecat-CVE-2014-1587-bug-1080312.patch,
  gnu/packages/patches/icecat-CVE-2014-1587-bug-1089207.patch,
  gnu/packages/patches/icecat-CVE-2014-1590.patch,
  gnu/packages/patches/icecat-CVE-2014-1592.patch,
  gnu/packages/patches/icecat-CVE-2014-1593.patch,
  gnu/packages/patches/icecat-CVE-2014-1594.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat): Add them.
2014-12-15 20:42:53 -05:00
Ludovic Courtès bea26837e8 profiles: Fix removal of the next-to-last item in a profile.
Fixes a bug whereby removing the next-to-last item in a profile would
lead to an obscure error, as shown at
<http://lists.gnu.org/archive/html/guix-devel/2014-12/msg00292.html>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/profiles.scm (profile-derivation)[inputs]: Use (list info-dir
  "out") instead of just INFO-DIR.
2014-12-15 23:01:56 +01:00
Ludovic Courtès ebf5ad46db tests: Use 'test-assertm' for profiles.
* tests/profiles.scm (test-assertm): New macro.
  ("profile-derivation"): Use it instead of 'test-assert' +
  'run-with-store'.
2014-12-15 23:01:56 +01:00
Tomáš Čech 6cb89466ba gnu: Add bullet.
* gnu/packages/game-development.scm: New file
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-15 08:09:04 -05:00
宋文武 5a659a489e gnu: Add vala.
* gnu/packages/gnome.scm (vala): New variable.
2014-12-15 18:51:30 +08:00
Mark H Weaver 5afbfb9924 gnu: youtube-dl: Update to 2014.12.15.
* gnu/packages/video.scm (youtube-dl): Update to 2014.12.15.
2014-12-15 03:36:54 -05:00
Mark H Weaver bfb8486929 gnu: Add xfce4-battery-plugin.
* gnu/packages/xfce.scm (xfce4-battery-plugin): New variable.
2014-12-14 19:46:12 -05:00
Mark H Weaver d814f921f1 gnu: xfce4-panel: Support panel plugins from other packages.
* gnu/packages/patches/xfce4-panel-plugins.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xfce.scm (xfce4-panel): Add the patch, and a
  native search path specification for X_XFCE4_LIB_DIRS.
2014-12-14 19:45:59 -05:00
Federico Beffa 31557440c2 gnu: python-numpy-bootstrap: Reduce matrix size in failing test.
* gnu/packages/python.scm (python-numpy-bootstrap): Add phase
  'fix-failing-tests.
2014-12-14 20:01:22 +01:00
John Darrington de51bf58b9 gnu: Add xdotool.
* gnu/packages/xdisorg.scm (xdotool): New variable.
2014-12-14 18:43:22 +01:00
Ludovic Courtès 61ff0a3a18 install: Use a low-memory nscd caching policy.
* gnu/system/install.scm (%nscd-minimal-caches): New variable.
  (installation-services): Use as 'nscd-service' argument.
2014-12-14 17:26:03 +01:00
Ludovic Courtès 6454b33345 services: Make 'nscd-service' configurable; cache hosts/services by default.
Before that, as it was given an empty configuration file, nscd would
actually have all its caches disabled.

* gnu/services/base.scm (<nscd-configuration>, <nscd-cache>): New record
  types.
  (%nscd-default-caches, %nscd-default-configuration): New variables.
  (nscd.conf-file): New procedure.
  (nscd-service): Add 'config' parameter.  Use 'nscd.conf-file', and
  pass its result as the '-f' parameter of nscd.
* doc/guix.texi (Base Services): Update 'nscd-service' documentation
  accordingly.  Document 'nscd-configuration', 'nscd-cache',
  '%nscd-default-configuration', and '%nscd-default-caches'.
2014-12-14 16:29:24 +01:00
Ludovic Courtès c4a1b6c2ba Merge branch 'master' into 'core-updates'. 2014-12-14 11:55:07 +01:00
Ludovic Courtès 2ed11b3a3e utils: Change 'wrap-program' to preserve the original argv[0].
Suggested by Mark H Weaver <mhw@netris.org>
in <http://bugs.gnu.org/19138>.

* guix/build/utils.scm (wrap-program): Change wrapper to use "exec -a
  PROG" instead of just "exec".
2014-12-14 11:54:12 +01:00
Ludovic Courtès f912da3a84 nls: Add French translation. 2014-12-13 23:17:31 +01:00
Ludovic Courtès 45c5b47b96 activation: Copy the account skeletons when creating the 'root' account.
* gnu/build/activation.scm (%skeleton-directory): New variable.
  (dot-or-dot-dot?, copy-account-skeletons): New procedure.
  (add-user): Use 'copy-account-skeletons'.
  (activate-etc): Use 'dot-or-dot-dot?'.
2014-12-13 22:31:08 +01:00
Ludovic Courtès ccc2678b0d system: grub: Make sure the font and background image are always found.
* gnu/system/grub.scm (eye-candy): Add 'search --file --set'.
2014-12-13 22:15:01 +01:00
Ludovic Courtès 6c777cf88c system: Adjust 'grub.cfg' to work on systems with a separate /boot.
Fixes <http://bugs.gnu.org/19220>.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.

* gnu/system/grub.scm (grub-configuration-file)[entry->gexp]: Add
  'search --file --set'.
  (grub-configuration-file)[builder]: Remove 'search.file'.
2014-12-13 22:13:57 +01:00
Ludovic Courtès 5c5e7bdafd vm: Use QEMU's standard VGA emulation by default.
* gnu/system/vm.scm (common-qemu-options): Add "-vga std".
2014-12-13 17:18:05 +01:00
Ludovic Courtès b2bd7c253a services: xorg: Run the window manager from a login shell.
This is a followup to 1d18d87, which fixes <http://bugs.gnu.org/19119>.

* gnu/services/xorg.scm (xinitrc)[builder]: Add 'exec-from-login-shell'
  procedure.  Use it instead of 'execl' when launching XSESSION, WMAKER,
  or RATPOISON.
2014-12-13 16:22:34 +01:00
Ludovic Courtès a8a086e392 system: Add sudo to '%base-packages'.
* gnu/system.scm (%base-packages): Add SUDO.
2014-12-13 16:22:34 +01:00
Federico Beffa c1125a04bb gnu: python-numpy-bootstrap: Make tests verbose.
* gnu/packages/python.scm (python-numpy-bootstrap): Make tests verbose to
  allow test failure debugging on hydra.
2014-12-13 09:44:26 +01:00
宋文武 aba42c98b3 gnu: xfconf: Disable parallel tests.
* gnu/packages/xfce.scm (xfconf): Add 'arguments' field.
2014-12-13 11:15:03 +08:00
Ludovic Courtès c809ec94d1 utils: Change 'patch-makefile-SHELL' to support ":=" assignments.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/build/utils.scm (patch-makefile-SHELL): Update regexp to match
  ":=" assignments.
2014-12-13 00:06:32 +01:00
Ludovic Courtès 5e5deea952 utils: Use 'which' to find the shell in 'patch-makefile-SHELL'.
* guix/build/utils.scm (patch-makefile-SHELL)[find-shell]: Use 'which'.
2014-12-13 00:04:25 +01:00
Ricardo Wurmus 4e10a22168 gnu: Add samtools
* gnu/packages/bioinformatics.scm: New file
* gnu-system.am (GNU_SYSTEM_MODULES): Add it

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-13 00:01:06 +01:00
Ludovic Courtès 97ab2c0fb6 system: /etc/profile defines 'MANPATH', which includes the global profile.
* gnu/system.scm (etc-directory)[profile]: Set 'MANPATH'.
2014-12-13 00:01:06 +01:00
Mark H Weaver c9d512faac gnu: Add nginx.
* gnu/packages/web.scm (nginx): New variable.
2014-12-12 08:57:21 -05:00
Mark H Weaver 90dcf9c8c5 gnu: pcre: Update to 8.36 and enable JIT support.
* gnu/packages/pcre.scm (pcre): Update to 8.36.  Enable JIT support.
2014-12-12 08:56:56 -05:00
宋文武 8a3c54e0a1 gnu: Add xfdesktop.
* gnu/packages/xfce.scm (xfdesktop): New variable.
2014-12-12 20:50:12 +08:00
宋文武 3a4bfddee7 gnu: Add xfwm4.
* gnu/packages/xfce.scm (xfwm4): New variable.
2014-12-12 20:49:07 +08:00
宋文武 aac0380040 gnu: Add thunar-volman.
* gnu/packages/xfce.scm (thunar-volman): New variable.
2014-12-12 20:45:50 +08:00
宋文武 5c776d2706 gnu: Add thunar.
* gnu/packages/xfce.scm (thunar): New variable.
2014-12-12 20:44:04 +08:00
宋文武 55613927ea gnu: Add xfce4-settings.
* gnu/packages/xfce.scm (xfce4-settings): New variable.
2014-12-12 20:41:51 +08:00
宋文武 9a8a040dfe gnu: Add xfce4-session.
* gnu/packages/xfce.scm (xfce4-session): New variable.
2014-12-12 20:39:12 +08:00
宋文武 c5c2f9bbb0 gnu: Add xfce4-appfinder.
* gnu/packages/xfce.scm (xfce4-appfinder): New variable.
2014-12-12 20:36:44 +08:00
宋文武 3b3a7fe78c gnu: Add xfce4-panel.
* gnu/packages/xfce.scm (xfce4-panel): New variable.
2014-12-12 20:35:25 +08:00
宋文武 305bc4cca8 gnu: Add tumbler.
* gnu/packages/xfce.scm (tumbler): New variable.
2014-12-12 20:27:04 +08:00
宋文武 7fc3d5f3ec gnu: Add garcon.
* gnu/packages/xfce.scm (garcon): New variable.
2014-12-12 20:18:43 +08:00
宋文武 2eb7d77d48 gnu: Add exo.
* gnu/packages/xfce.scm (exo): New variable.
2014-12-12 20:16:22 +08:00
宋文武 6cec9818db gnu: Add libxfce4ui.
* gnu/packages/xfce.scm (libxfce4ui): New variable.
2014-12-12 20:14:46 +08:00
宋文武 471dbb70f9 gnu: Add xfconf.
* gnu/packages/xfce.scm (xfconf): New variable.
2014-12-12 20:13:07 +08:00
宋文武 79c2528ffb gnu: Add libxfce4util.
* gnu/packages/xfce.scm (libxfce4util): New variable.
2014-12-12 20:11:11 +08:00
宋文武 62ac2ed9f4 gnu: Add gtk-xfce-engine.
* gnu/packages/xfce.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-12 20:01:40 +08:00
Ludovic Courtès 180e33e3f2 gnu: freeipmi: Update to 1.4.7.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.7.
2014-12-11 18:02:07 +01:00
Ludovic Courtès 32bcad9709 gnu: wget: Update to 1.16.1.
* gnu/packages/wget.scm (wget): Update to 1.16.1.
2014-12-11 18:02:07 +01:00
宋文武 1b5758a65e gnu: gdk-pixbuf: Propagate glib and libpng.
* gnu/packages/gtk.scm (gdk-pixbuf): Move glib and libpng to
  'propagated-inputs'.
2014-12-11 19:43:19 +08:00
宋文武 4281d1b6f3 gnu: libxcomposite: Propagate inputs.
* gnu/packages/xorg.scm (libxcomposite): Move all existing 'inputs'
  to 'propagated-inputs'.
2014-12-11 19:42:39 +08:00
Federico Beffa 57c3f71632 gnu: Add cffi.
* gnu/packages/python.scm (python-cffi, python2-cffi): New variables.
2014-12-10 14:27:44 +01:00
Federico Beffa 6c2cf86edb Revert "gnu: gobject-introspection: Update to 1.42.0 and add new patch."
This reverts commit 66717243d0.  Several
packages fail to build with the new version.
2014-12-10 14:25:34 +01:00
Ludovic Courtès c7e553a309 gnu: Add BBDB.
* gnu/packages/emacs.scm (bbdb): New variable.
2014-12-09 23:21:39 +01:00
Ludovic Courtès 71f571588f gnu: emacs: Use 'glib-or-gtk-build-system'.
Fixes <http://bugs.gnu.org/19138>.
Reported by Andreas Enge <andreas@enge.fr>.

* gnu/packages/emacs.scm (emacs)[build-system]: Switch to
  GLIB-OR-GTK-BUILD-SYSTEM.
  (emacs-no-x-toolkit): Add 'build-system' field.
2014-12-09 23:21:39 +01:00
Ludovic Courtès 5920d90e68 build-system/glib-or-gtk: Fix default value of #:glib-or-gtk-wrap-excluded-outputs.
Fixes <http://bugs.gnu.org/19321>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Change default
  value of #:glib-or-gtk-wrap-excluded-outputs to ''().
2014-12-09 23:21:39 +01:00
Alex Kost 4a01b30b33 gnu: Move unclutter to (gnu packages xdisorg).
* gnu/packages/unclutter.scm: Remove.
  (unclutter) Move to...
* gnu/packages/xdisorg.scm (unclutter): ... here.  New variable.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove unclutter file name.
2014-12-10 00:37:47 +03:00
Alex Kost 1410f342f7 gnu: Move scrot to (gnu packages xdisorg).
* gnu/packages/scrot.scm: Remove.
  (scrot) Move to...
* gnu/packages/xdisorg.scm (scrot): ... here.  New variable.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove scrot file name.
2014-12-10 00:37:47 +03:00
Alex Kost 2e88e089da gnu: Add wmctrl.
* gnu/packages/xdisorg.scm (wmctrl): New variable.
* gnu/packages/patches/wmctrl-64-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2014-12-10 00:37:46 +03:00
Eric Bavier 426fde9ae1 gnu: Add c-reduce.
* gnu/packages/debug.scm (c-reduce): New variable.
2014-12-09 12:02:09 -06:00
Eric Bavier 3e4249ce10 gnu: Add llvm and clang.
* gnu/packages/llvm.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-09 12:02:08 -06:00
Eric Bavier 499cdcc6cb gnu: licenses: Add NCSA license.
* guix/licenses.scm (ncsa): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier 043092e80b gnu: Add perl-sys-cpu.
* gnu/packages/perl.scm (perl-sys-cpu): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier b593600e21 gnu: Add perl-regexp-common.
* gnu/packages/perl.scm (perl-regexp-common): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier d193ba6d79 gnu: Add perl-getopt-tabular.
* gnu/packages/perl.scm (perl-getopt-tabular): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier 31f3976a21 gnu: Add perl-file-which.
* gnu/packages/perl.scm (perl-file-which): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier 2e66590aad gnu: Add perl-test-script.
* gnu/packages/perl.scm (perl-test-script): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier c7518b04f0 gnu: Add perl-ipc-run3.
* gnu/packages/perl.scm (perl-ipc-run3): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier 7850f47ac5 gnu: Add perl-probe-perl.
* gnu/packages/perl.scm (perl-probe-perl): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier 63edfca495 gnu: Add perl-exporter-lite.
* gnu/packages/perl.scm (perl-exporter-lite): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier 2aa466247f gnu: Add perl-benchmark-timer.
* gnu/packages/perl.scm (perl-benchmark-timer): New variable.
2014-12-09 12:02:08 -06:00
Eric Bavier 8d809faf8c gnu: Add delta.
* gnu/packages/debug.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-09 12:02:08 -06:00
Eric Bavier 47833c90d5 gnu: Add astyle.
* gnu/packages/pretty-print.scm (astyle): New variable.
2014-12-09 12:02:08 -06:00
Federico Beffa 5a4753a699 gnu: gobject-introspection: Define search path for typelib files.
* gnu/packages/glib.scm (gobject-introspection): Add 'native-search-paths' and
  'search-paths' fields.
2014-12-09 13:43:03 +01:00
Federico Beffa 66717243d0 gnu: gobject-introspection: Update to 1.42.0 and add new patch.
* gnu/packages/glib.scm (gobject-introspection): Update to version 1.42.0.
  Add patch 'gobject-introspection-absolute-shlib-path.patch' provided by Luca
  Bruno <lucabru@src.gnome.org> for Nix.
2014-12-09 13:41:45 +01:00
Federico Beffa a415f036e8 gnu: Add pycparser.
* gnu/packages/python.scm (python-pycparser, python2-pycparser): New variables.
2014-12-09 13:23:59 +01:00
Tomáš Čech 15f5f68656 gnu: Add slock.
* gnu/packages/dwm.scm (slock): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-09 13:19:47 +01:00
Ludovic Courtès 03356e9775 Add Tomáš to 'AUTHORS'. 2014-12-09 13:19:47 +01:00
Tomáš Čech d6e941bc95 gnu: add msmtp
* gnu/packages/mail.scm (msmtp): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-09 13:19:47 +01:00
宋文武 427476d57d gnu: libwnck: Propagate inputs.
* gnu/packages/gnome.scm (libwnck, libwnck-1): Propagate inputs libxres and
  startup-notification.
2014-12-09 19:15:07 +08:00
宋文武 02f707c590 system: Add skeleton '.zlogin'.
* gnu/system/shadow.scm (default-skeletons): Add .zlogin.
2014-12-09 18:52:11 +08:00
宋文武 4e2a21d3d2 system: Cleanup bash startup files.
* gnu/system.scm (etc-directory) (bashrc): Rename to 'profile'.
* gnu/system/shadow.scm (default-skeletons): Rename '.bashrc' to
  '.bash_profile'. Don't source /etc/profile.
2014-12-09 18:51:01 +08:00
宋文武 fecbf86eaa gnu: Add libwnck.
* gnu/packages/gnome.scm (libwnck, libwnck-1): New variables.
2014-12-09 18:50:01 +08:00
宋文武 a693bba135 gnu: Add startup-notification.
* gnu/packages/xdisorg.scm (startup-notification): New variable.
2014-12-09 18:50:01 +08:00
Ludovic Courtès 6005bd0700 build: Make sure the installed 'config.go' is newer than 'config.scm'.
Fixes <http://bugs.gnu.org/19317>.
Reported by rekado <rekado@elephly.net>.

* gnu-system.am (install-data-hook): Rename to...
  (set-bootstrap-executable-permissions): ... this.
* Makefile.am (install-data-hook): New target.
2014-12-09 11:44:21 +01:00
Ludovic Courtès 9f6f1aacf6 Thank rekado. 2014-12-09 11:34:24 +01:00
Ludovic Courtès 659a92fc7b doc: Explain how to set the ownership and permissions of /gnu/store.
Fixes <http://bugs.gnu.org/19316>.
Reported by rekado <rekado@elephly.net>.

* doc/guix.texi (Build Environment Setup): Show commands to set the
  ownership and permissions of /gnu/store.
2014-12-09 11:30:26 +01:00
Ludovic Courtès 5f742c84d4 substitute-binary: Add missing newline in download progress report.
Fixes <http://bugs.gnu.org/19313>.
Reported by rekado <rekado@elephly.net>.

* guix/scripts/substitute-binary.scm (guix-substitute-binary)
  <--substitute>: Add 'newline' call.
2014-12-09 11:24:56 +01:00
Ludovic Courtès 6412e58a68 system: Don't make /boot/grub/grub.cfg a symlink to the store.
This would not work when /boot is a separate partition, as reported by
Nikita Karetnikov <nikita@karetnikov.org> in <http://bugs.gnu.org/19220>.
This fixes a regression introduced in 39d1f82.

* gnu/build/install.scm (install-grub): Copy GRUB.CFG instead of
  symlinking it, as was the case before 39d1f82.
* gnu/build/vm.scm (register-grub.cfg-root): Add 'grub.cfg' parameter.
  Make it a permanent GC root instead of an indirect GC root.
  (initialize-hard-disk): Adjust accordingly.
* guix/scripts/system.scm (install-grub*): Replace use of
  'add-indirect-root' by the addition of a permanent GC root in
  %GC-ROOTS-DIRECTORY.
2014-12-09 11:06:50 +01:00
Ludovic Courtès f6d9b3ded7 gnu: Add socat.
* gnu/packages/socat.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-08 23:29:23 +01:00
Ludovic Courtès a182e94e25 linux-initrd: Add the 'virtio_console' module for QEMU guests.
* gnu/system/linux-initrd.scm (base-initrd)[virtio-modules]: Add
  "virtio_console".
2014-12-08 23:29:23 +01:00
Federico Beffa c3ea85d110 build-system/python: Add handling of 'propagated-inputs' in
'package-with-explicit-python'.

* guix/build-system/python.scm (package-with-explicit-python): Add mapping for
  'propagated-inputs'.
2014-12-08 09:54:34 +01:00
Federico Beffa 01480b9e1c gnu: atlas: Remove MIPS from 'supported-systems'.
* gnu/packages/maths.scm (atlas): Drop support for "mips64el-linux".
2014-12-08 09:54:34 +01:00
Jason Self e1bdb56e3b gnu: linux-libre: Update to 3.18
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.
2014-12-07 20:52:55 -08:00
Ludovic Courtès 18316d8656 system: Add 'man-db' to '%base-packages'.
Suggested by Tsutsukakushi on #guix.

* gnu/system.scm (%base-packages): Add MAN-DB.
2014-12-07 22:59:46 +01:00
Ludovic Courtès d8b94dbd76 doc: Give example uses of 'deco'.
Suggested by Sleep_Walker on #guix.

* doc/guix.texi (Services): Add 'deco' examples.
2014-12-07 22:55:06 +01:00
Ludovic Courtès 9668b3bb38 nls: Update 'eo' translation. 2014-12-07 21:50:58 +01:00
Ludovic Courtès 0d6a83390d gnu: python2-py2cairo: Fix 'license' field.
* gnu/packages/gtk.scm (python2-py2cairo)[license]: Change to a list of
  <license> (was a list of symbols.)
2014-12-07 12:14:19 +01:00
Alex Kost 4c8425b783 gnu: tzdata: Update to 2014j.
* gnu/packages/base.scm (tzdata): Update to 2014j.
2014-12-07 10:03:15 +03:00
宋文武 fa9d665385 gnu: fish: Use /etc as sysconfdir.
* gnu/packages/fish.scm (fish) [arguments]: Add #:configure-flags.
  [origin]: Add snippet.
2014-12-07 11:52:22 +08:00
Ludovic Courtès 6036453fff gnu: Add libyubikey and ykclient.
* gnu/packages/yubico.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-07 00:02:43 +01:00
Ludovic Courtès c9e46f1c39 guix system: Fix typo affecting 'guix system init'.
Fixes <http://bugs.gnu.org/19279>.
Fixes a regression introduced in cc7fa59.
Reported by Tomas Cech <tcech@suse.cz>.

* guix/scripts/system.scm (install): Fix order of arguments to 'lift'
  and 'lift2'.
2014-12-07 00:00:42 +01:00
nebuli 847391fe62 guix: scripts: Parse $GUIX_BUILD_OPTIONS separately.
Appending to "raw" args broke optional parameters in 'guix package -I'
and 'guix package -A', and possibly other places.  Therefore, switch to
parsing each set of options on its own and append resulting alists
together afterwards.

* guix/scripts/archive.scm (parse-options-from): Rename from
  (parse-options) and add explicit argument.  New form of (parse-options)
  using its old algorithm via -from function.
* guix/scripts/build.scm: Ditto.
* guix/scripts/environment.scm: Ditto.
* guix/scripts/package.scm: Ditto.
* guix/scripts/system.scm: Ditto.
* tests/guix-package.sh: Add test.
* doc/guix.texi (Invoking guix build): Make it clear that the options
  are parsed independently.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-12-06 16:03:49 +01:00
Ludovic Courtès 6496de9bc2 activation: Don't create unneeded "/var/guix/gcroots/etc-directory".
* gnu/build/activation.scm (activate-etc): Don't create
  "/var/guix/gcroots/etc-directory".
2014-12-06 16:03:49 +01:00
宋文武 4c8d523f93 gnu: fish: Update to 2.1.1.
* gnu/packages/fish.scm (fish): Update to 2.1.1.
2014-12-06 19:09:07 +08:00
Ludovic Courtès 39d1f82b52 system: Make /boot/grub/grub.cfg an indirect GC root.
Fixes <http://bugs.gnu.org/19160>.

* guix/scripts/system.scm (install-grub*): Make /boot/grub/grub.cfg an
  indirect GC root.
* gnu/build/install.scm (install-grub): Make TARGET a symlink.
* gnu/build/vm.scm (register-grub.cfg-root): New procedure.
  (initialize-hard-disk): Use it.
2014-12-04 23:53:16 +01:00
Ludovic Courtès 764ee9e808 nls: Update Hungarian translation. 2014-12-04 23:53:16 +01:00
Ludovic Courtès c3e79cde06 guix system: Factorize 'grub-install' error handling, and use more 'mbegin'.
* guix/scripts/system.scm (install-grub*): New procedure.
  (install): Use it, and use 'mwhen?'.
  (perform-action) <reconfigure>: Likewise.
2014-12-04 23:53:16 +01:00
Federico Beffa bb986599e6 gnu: Add scipy.
* gnu/packages/python.scm (python-scipy, python2-scipy): New variables.
2014-12-04 16:06:40 +01:00
宋文武 65a056900f gnu: Add dmenu.
* gnu/packages/dwm.scm (dmenu): New variable.
2014-12-04 18:51:14 +08:00
Ludovic Courtès f47f676120 gnu: glib: Update to 2.40.2.
* gnu/packages/glib.scm (glib): Update to 2.40.2.
2014-12-03 22:52:19 +01:00
Ludovic Courtès 36d2a3afeb gnu: glib: Work around unreliable GIO test.
Fixes <http://bugs.gnu.org/18445>.

* gnu/packages/patches/glib-tests-gapplication.patch: New file
* gnu/packages/glib.scm (glib)[source]: Add it.
* gnu-system.am (dist_patch_DATA): Add it.
2014-12-03 22:52:19 +01:00
Ludovic Courtès f2122ed1dc gnu: dbus: Update to 1.8.10.
* gnu/packages/glib.scm (dbus): Update to 1.8.10.
  (dbus-1.8.10): Remove.
2014-12-03 22:52:19 +01:00
Ludovic Courtès 845d48e7a1 nls: Add Hungarian translation.
* po/packages/hu.po: New file.
* po/packages/LINGUAS: Add it.
2014-12-03 22:52:19 +01:00
Alex Kost 5ec98c3de5 doc: emacs: Fix typo.
Reported by Ludovic Courtès <ludo@gnu.org>.

* doc/emacs.texi (Emacs Initial Setup): Replace "inbuilt" with "built-in".
2014-12-03 20:25:27 +03:00
John Darrington 1567bb1976 gnu: Add tre (including the agrep utility)
* gnu/packages/tre.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-03 11:14:57 +01:00
Alex Kost a7f862e4da doc: emacs: Document autoloading Emacs packages.
* doc/emacs.texi (Emacs Initial Setup): Describe how Emacs packages installed
  in a user profile are autoloaded by "guix.el"
2014-12-02 22:09:24 +03:00
Alex Kost d51cafb041 gnu: emacs: Add autoloads for Emacs packages.
* gnu/packages/emacs.scm (geiser): Make "geiser-autoloads.el" by
  symlinking "geiser-install.el".
  (emacs-w3m): Make "w3m-autoloads.el" by symlinking "w3m-load.el".
  (emms): Make "emms-autoloads.el" by symlinking "emms-auto.el".
  (paredit): Generate "paredit-autoloads.el".
  (magit): Generate "magit-autoloads.el".
  (emacs-wget): Generate "wget-autoloads.el".
2014-12-02 22:09:24 +03:00
Alex Kost 0b08600ca5 build: emacs-utils: Add 'emacs-generate-autoloads'.
* guix/build/emacs-utils.scm (emacs-generate-autoloads): New procedure.
2014-12-02 22:09:23 +03:00
Alex Kost 12f2490aa3 emacs: Handle autoloading Emacs packages installed with Guix.
* emacs/guix-emacs.el: New file.
* emacs.am (ELFILES): Add it.
* emacs/guix-backend.el (guix-after-repl-operation-hook): Add
  'guix-emacs-load-autoloads-maybe'.
* emacs/guix-init.el.in: Autoload emacs packages.
  (guix-package-enable-at-startup): New variable.
2014-12-02 22:09:23 +03:00
Alex Kost 3db349cb09 emacs: Move profiles code to "guix-profiles.el.in".
* emacs/guix-base.el (guix-user-profile, guix-default-profile,
  guix-current-profile, guix-profile-prompt, guix-set-current-profile): Move
  to...
* emacs/guix-init.el.in (guix-default-profile): Move to...
* emacs/guix-profiles.el.in: ... here.  New file.
* configure.ac (AC_CONFIG_FILES): Add "emacs/guix-profiles.el".
* emacs.am (nodist_lisp_DATA): Likewise.
2014-12-02 22:09:22 +03:00
Ludovic Courtès ece9b4173b gnu: Add more missing (gnu packages xdisorg) import.
This is a followup to 3c156c8..

* gnu/packages/qemu.scm, gnu/packages/texlive.scm: Use (gnu packages
  xdisorg).
2014-12-02 18:29:55 +01:00
Ludovic Courtès b2b7def1cc gnu: Add missing (gnu packages xdisorg) import.
This is a followup to 3c156c8..

* gnu/packages/gl.scm: Use (gnu packages xdisorg).
2014-12-02 17:47:42 +01:00
Ludovic Courtès 6c0e878e68 gnu: Add missing uses of (gnu packages xdisorg).
This is a followup to 3c156c8.

* gnu/packages/gtk.scm: Use (gnu packages xdisorg).
* gnu/packages/xorg.scm: Likewise.
2014-12-02 17:16:58 +01:00
Ludovic Courtès ec38437f94 packages: Use the target's system Guile when downloading patches.
* guix/packages.scm (patch-and-repack)[patch-inputs]: Pass SYSTEM in
  'package-source-derivation' call.
2014-12-02 16:51:43 +01:00
Ludovic Courtès 7ce7361b76 derivations: Export 'derivation-builder'.
* guix/derivations.scm: Export 'derivation-builder'.
2014-12-02 16:51:43 +01:00
Ludovic Courtès bc73aa439f doc: Adjust misleading 'user-account' example.
Reported by Sleep_Walker on #guix.

* doc/guix.texi (Using the Configuration System): Remove numeric UID and
  GID from example.
2014-12-02 16:51:43 +01:00
Ludovic Courtès b307c06456 monads: Add 'lift0'.
* guix/monads.scm (lift0): New variable.
2014-12-02 16:51:43 +01:00
Ludovic Courtès 21caa6deeb monads: Add 'mwhen' and 'munless'.
* guix/monads.scm (mbegin): Add special '%current-monad' syntactic
  keyword.
  (mwhen, munless): New macros.
2014-12-02 16:51:43 +01:00
Ludovic Courtès cc7fa5929c guix system: Use 'mbegin' for 'install'.
* guix/scripts/system.scm (install): Use 'mbegin'.  Lift FORMAT and
  POPULATE-ROOT-FILE-SYSTEM, and use the result.
2014-12-02 16:51:43 +01:00
Eric Bavier f4c4513d47 gnu: Add gourmet.
* gnu/packages/nutrition.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-02 08:35:06 -06:00
Eric Bavier 0b96fb2ac0 gnu: Add python2-pygtk.
* gnu/packages/gtk.scm (python2-pygtk): New variable.
2014-12-02 08:35:06 -06:00
Eric Bavier a1de06b6ab gnu: Add python-pygobject.
* gnu/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch:
  New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/glib.scm (python-pygobject, python2-pygobject-2): New
  variables.
2014-12-02 08:35:06 -06:00
Eric Bavier fbcfa73074 gnu: Add python-pycairo.
* gnu/packages/gtk.scm (python-pycairo, python2-py2cairo): New variables.
2014-12-02 08:35:06 -06:00
Eric Bavier ea5456c88c gnu: Add python-elib.intl.
* gnu/packages/python.scm (python-elib.intl, python2-elib.intl): New
  variables.
2014-12-02 08:35:06 -06:00
Eric Bavier 1671c07cc7 gnu: Add python-distutils-extra.
* gnu/packages/python.scm (python-distutils-extra, python2-distutils-extra):
  New variables.
2014-12-02 08:35:06 -06:00
Eric Bavier c937562e2f gnu: Add python-pillow.
* gnu/packages/python.scm (python-pillow, python2-pillow): New variables.
2014-12-02 08:35:06 -06:00
Eric Bavier 94914805c2 gnu: Add python-sqlalchemy.
* gnu/packages/python.scm (python-sqlalchemy, python2-sqlalchemy): New
  variables.
2014-12-02 08:35:06 -06:00
Eric Bavier b88e1b0a62 gnu: python: Add sqlite input.
* gnu/packages/patches/python-sqlite-3.8.4-test-fix.patch,
  gnu/packages/patches/python2-sqlite-3.8.4-test-fix.patch: New patches.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/python.scm (python-2)[source]: Add patch.
  [inputs]: Add sqlite.
  (python)[source]: Add patch.
2014-12-02 08:33:31 -06:00
Eric Bavier 7639105b12 gnu: subversion: Fix libtool wrapper execution in hooks.
* gnu/packages/version-control.scm (subversion)[arguments]: New
  'patch-libtool-wrapper-ls phase.
2014-12-02 08:33:30 -06:00
John Darrington de878f1b29 gnu: Add xclip.
* gnu/packages/xdisorg.scm (xclip): New variable.
2014-12-02 15:13:10 +01:00
John Darrington 3c156c8a94 gnu: move xorg to xdisorg
* gnu/packages/xorg.scm (xeyes, pixman, libdrm, libdrm-2.4.33, mtdev):
  Move to ...
* gnu/packages/xdisorg.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-12-02 15:13:10 +01:00
Federico Beffa 2ee8869a69 gnu: Add numpy.
* gnu/packages/python.scm (python-numpy, python2-numpy): New variables.
2014-12-02 11:12:44 +01:00
Ludovic Courtès 4cdec09a39 gnu: bittorrent: Build with 'glib-or-gtk-build-system'.
Fixes <http://bugs.gnu.org/19128>.

* gnu/packages/bittorrent.scm (transmission)[build-system]: Change to
  GLIB-OR-GTK-BUILD-SYSTEM.
  [arguments]: Add #:glib-or-gtk-wrap-excluded-outputs argument.
2014-12-01 22:41:04 +01:00
Ludovic Courtès 73aa8ddb75 build-system/glib-or-gtk: Allow specific outputs to be excluded from wrapping.
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Add
  #:glib-or-gtk-wrap-excluded-outputs parameter and honor it.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Add
  #:glib-or-gtk-wrap-excluded-outputs parameter and pass it in BUILDER.
* doc/guix.texi (Build Systems): Mention it.
2014-12-01 22:41:04 +01:00
Ludovic Courtès c8b7569558 build-system/glib-or-gtk: Correctly handle multiple-output packages.
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Move body
  to 'handle-output' inner procedure, and parametrize it by output name
  and directory.  Call it for each element of OUTPUTS.
  (compile-glib-schemas): Likewise.
2014-12-01 22:41:04 +01:00
Ludovic Courtès 4efdabb810 build-system/glib-or-gtk: Use 'for-each' and 'cut' as appropriate.
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Use
  'for-each' instead of 'map' in for-effect contexts.  Use 'cut' instead
  of 'lambda' when appropriate.
2014-12-01 22:41:04 +01:00
Ludovic Courtès 85dbd3dcd0 build-system/glib-or-gtk: Clean up whitespace.
* guix/build/glib-or-gtk-build-system.scm: M-x whitespace-cleanup.
2014-12-01 22:41:04 +01:00
Andreas Enge e823c14918 gnu: libgpg-error: Update to 1.17.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.17.
2014-12-01 22:39:47 +01:00
Andreas Enge 29cafd17f8 gnu: libtasn1: Update to 4.2.
* gnu/packages/gnutls.scm (libtasn1): Update to 4.2.
2014-12-01 22:35:39 +01:00
Andreas Enge 0bee13a4d9 gnu: parallel: Update to 20141122.
* gnu/packages/parallel.scm (parallel): Update to 20141122.
2014-12-01 22:33:44 +01:00
Andreas Enge fc205802ed gnu: ocrad: Update to 0.24.
* gnu/packages/ocrad.scm (ocrad): Update to 0.24.
2014-12-01 22:32:03 +01:00
Andreas Enge 98a11f81d1 gnu: libmicrohttpd: Update to 0.9.38.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.38.
2014-12-01 22:30:39 +01:00
Andreas Enge 8cb3f90074 gnu: freeipmi: Update to 1.4.6.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.6.
2014-12-01 22:24:32 +01:00
Andreas Enge 3de92182a4 gnu: help2man: Update to 1.46.4.
* gnu/packages/man.scm (help2man): Update to 1.46.4.
2014-12-01 22:21:18 +01:00
Andreas Enge bdeb576793 gnu: global: Update to 6.3.3.
* gnu/packages/global.scm (global): Update to 6.3.3.
2014-12-01 22:19:46 +01:00
Andreas Enge 4f7181b5df gnu: ucommon: Update to 6.2.3.
* gnu/packages/telephony.scm (ucommon): Update to 6.2.3.
2014-12-01 21:46:32 +01:00
Andreas Enge d514bedb05 gnu: cd-discid: Fix download location.
* gnu/packages/cdrom.scm (cd-discid): Fix download location.
2014-12-01 21:42:21 +01:00
Ludovic Courtès 7cc7dec139 build-system/gnu: Add 'compress-documentation' phase.
* guix/build/gnu-build-system.scm (compress-documentation): New
  procedure.
  (%standard-phases): Add it.
2014-12-01 16:50:28 +01:00
Ludovic Courtès 9741aca9a5 utils: Add 'symbolic-link?'.
* guix/build/utils.scm (symbolic-link?): New procedure.
2014-12-01 15:46:38 +01:00
Ludovic Courtès d68fe74162 build-system/gnu: Add 'validate-documentation-location' phase.
* guix/build/gnu-build-system.scm (validate-documentation-location): New
  procedure.
  (%standard-phases): Add it.
2014-12-01 14:09:36 +01:00
Eric Bavier a63094a752 gnu: Add git-test-sequence.
* gnu/packages/version-control.scm (git-test-sequence): New variable.
2014-12-01 00:23:24 -06:00
Eric Bavier c7810bd1a8 gnu: Add git-flow.
* gnu/packages/version-control.scm (git-flow, shflags): New variables.
2014-12-01 00:23:23 -06:00
Ludovic Courtès 40b4c6d606 gnu: wpa-supplicant: Remove dependency on DBus.
* gnu/packages/admin.scm (wpa-supplicant): Remove dependency on DBUS.
2014-11-30 23:23:24 +01:00
nebuli 16eb115ef4 guix: scripts: Add GUIX_BUILD_OPTIONS environment handling.
* doc/guix.texi (Invoking guix build): Mention 'GUIX_BUILD_OPTIONS'.
* guix/scripts/archive.scm: (append args (environment-build-options)).
* guix/scripts/build.scm: Ditto.
* guix/scripts/environment.scm: Ditto.
* guix/scripts/package.scm: Ditto.
* guix/scripts/system.scm: Ditto.
* guix/ui.scm (environment-build-options): New function.
* guix/utils.scm (arguments-from-environment-variable): New function.
* tests/guix-build.sh: Add tests.
* test-env.in: Unset GUIX_BUILD_OPTIONS.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-11-30 18:54:07 +01:00
Ludovic Courtès 6efc160efe daemon: Default to '--cores=0'.
Suggested by Deck Pickard <deck.r.pickard@gmail.com>.

* nix/nix-daemon/guix-daemon.cc (main): Set 'settings.buildCores' to 0.
* doc/guix.texi (Invoking guix-daemon): Adjust accordingly.
2014-11-30 18:54:07 +01:00
Ludovic Courtès 5f86a66efd doc: Explain that 'file-system' must refer to mapped devices by file name.
* doc/guix.texi (File Systems): Clarify what to do when mapped devices
  are used.
2014-11-30 18:54:07 +01:00
Ludovic Courtès 9cb426b8bf Revert "system: Add a 'needed-for-boot?' field to 'mapped-device'."
This reverts commit 3b09332adf, which
turned out to be a bad idea because we need to have dependency
information between the device-mapping service and the file-system
service that uses it.
2014-11-30 18:54:07 +01:00
Federico Beffa 1c65314c60 gnu: Add matplotlib.
* gnu/packages/python.scm (python-matplotlib, python2-matplotlib): New
  variables.
2014-11-30 16:59:08 +01:00
Alex Kost 2c37a34cb8 services: xorg: Add 'xf86-video-sis'.
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add
  ModulePath for 'xf86-video-sis'.
2014-11-30 09:53:20 +03:00
Ludovic Courtès f5d9604f27 gnu-maintenance: Support .zip files.
Reported by Andreas Enge <andreas@enge.fr>.

* guix/gnu-maintenance.scm (sans-extension): Add case for ".zip".
  (%tarball-rx): Extend to handle .zip extension.
2014-11-29 22:34:59 +01:00
Taylan Ulrich B 2184ed9179 gnu: Add mg.
* gnu/packages/mg.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add mg.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-29 22:34:59 +01:00
宋文武 ec01f22d15 gnu: wireless-tools: Install the manual pages under $out/share/man.
* gnu/packages/linux.scm (wireless-tools)[origin]: Add snippet.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-29 22:34:58 +01:00
Ludovic Courtès 7dfc937e2f gnu: Add abcde.
* gnu/packages/cdrom.scm (abcde): New variable.
2014-11-29 22:34:58 +01:00
Ludovic Courtès e2bb5fd627 gnu: Add cd-discid.
* gnu/packages/cdrom.scm (cd-discid): New variable.
2014-11-29 22:34:58 +01:00
Ludovic Courtès fbe52bcda2 gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update.
2014-11-29 22:34:58 +01:00
Ludovic Courtès 1c0c417d2d doc: Improve porting instructions.
* doc/guix.texi (Porting): Move 'glibc-dynamic-linker' paragraph above.
  Clarify what is meant by updating (gnu packages bootstrap).  Mention
  'gnu-system.am'.
2014-11-29 22:34:58 +01:00
Alex Kost 1cc8f3a63c system: locale: Fix typo in docstring.
* gnu/system/locale.scm (localedef-command): Fix typo.
2014-11-30 00:33:00 +03:00
Andreas Enge 5e6bdf06a7 gnu: Rename fonts according to our new naming scheme.
* gnu/packages/fonts.scm (ttf-dejavu): Rename to ...
* gnu/packages/fonts.scm (font-dejavu): ... this.
* gnu/packages/fonts.scm (ttf-bitstream-vera): Rename to ...
* gnu/packages/fonts.scm (font-bitstream-vera): ... this.
* gnu/packages/fonts.scm (freefont-ttf): Rename to ...
* gnu/packages/fonts.scm (font-gnu-freefont-ttf): ... this.
* gnu/packages/fonts.scm (terminus-font): Rename to ...
* gnu/packages/fonts.scm (font-terminus): ... this.
2014-11-29 21:48:38 +01:00
Ludovic Courtès 3b09332adf system: Add a 'needed-for-boot?' field to 'mapped-device'.
* gnu/system/file-systems.scm (<mapped-device>)[needed-for-boot?]: New
  field.
* gnu/system.scm (operating-system-user-mapped-devices,
  operating-system-boot-mapped-devices): Use it instead of trying to
  guess.  Guessing doesn't work when one refers to a partition using its
  label, for instance.
* doc/guix.texi (Mapped Devices): Document 'needed-for-boot?'.
2014-11-29 14:40:26 +01:00
Ludovic Courtès 9cd0dfaa46 system: Change "en_US.UTF-8" to "en_US.utf8".
* build-aux/hydra/demo-os.scm (locale): Change to "en_US.utf8".
* gnu/system/install.scm (installation-os)[locale]: Ditto.
2014-11-29 11:37:53 +01:00
Ludovic Courtès 7c4885f0d7 linux-modules: Correctly propagate error code from 'init_module'.
* gnu/packages/patches/guile-linux-syscalls.patch (scm_load_linux_module):
  Leave 'errno' unchanged when ERR != 0.
* gnu/build/linux-modules.scm (load-linux-module*): Check for the errno
  value of ARGS to determine whether the module was already loaded.
2014-11-28 15:08:56 +01:00
Ludovic Courtès 08b1990a93 linux-initrd: Remove the ".ko" suffix from module names in 'base-initrd'.
* gnu/system/linux-initrd.scm (base-initrd): Remove the .ko suffix from
  module names.
2014-11-28 00:10:28 +01:00
Ludovic Courtès d7e66f6295 linux-initrd: Remove now redundant module names.
* gnu/system/linux-initrd.scm (base-initrd)[virtio-modules]: Remove
  "virtio.ko" and "virtio_ring.ko".
  [virtio-9p-modules]: Remove "fscache.ko" and "9pnet.ko".
  [linux-modules]: Remove "libahci.ko".
2014-11-28 00:10:28 +01:00
Ludovic Courtès 0e704a2d4e linux-boot: Load modules and their dependencies, à la 'modprobe'.
* gnu/build/linux-boot.scm: Use (gnu build linux-modules).
  (load-linux-module*): Remove.
  (boot-system): Add #:linux-module-directory parameter.
  [lookup-module]: New procedure.
  Call 'current-module-debugging-port'.  Pass #:lookup-module to
  'load-linux-module*'.  Map LOOKUP-MODULE on LINUX-MODULES.
* gnu/system/linux-initrd.scm (base-initrd): Adjust 'boot-system' call
  accordingly.  Adjust #:modules argument as well.
* gnu/system.scm (operating-system-activation-script)[%modules]: Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
2014-11-28 00:10:28 +01:00
Ludovic Courtès 600c285b63 linux-initrd: Copy modules and their dependencies to the initrd.
* gnu/system/linux-initrd.scm (flat-linux-module-directory)[build-exp]:
  Add 'lookup' procedure.  Use 'recursive-module-dependencies' to
  compute the list of modules to copy.
  Adjust #:modules parameter.
2014-11-28 00:10:28 +01:00
Ludovic Courtès fcaa5f44a1 system: Add (gnu build linux-modules).
* gnu/build/linux-modules.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-11-28 00:10:28 +01:00
Ludovic Courtès d5d1668630 Add (guix elf).
* guix/elf.scm: New file.  Taken from Guile 'master', commit 3f826e3.
* Makefile.am (MODULES): Add it.
* THANKS: Thank Andy, who wrote this module.
2014-11-28 00:10:28 +01:00
Ludovic Courtès 1f6f57df7c doc: Update stale references in "Bootstrapping".
* doc/guix.texi (Bootstrapping): Final definitions are in (gnu packages
  commencement).
  Change gnu-build-system xref to "Build Systems".
2014-11-28 00:10:27 +01:00
Ludovic Courtès d616c05529 substitute-binary: Change "unresponsive" to "slow".
* guix/scripts/substitute-binary.scm (fetch): Change "unresponsive" to
  "somewhat slow".  I'm being told that the former is often
  misunderstood as "broken".
2014-11-28 00:10:27 +01:00
Andreas Enge 4625141126 gnu: gcl: Drop 'strip phase.
* gnu/packages/lisp.scm (gcl): Drop 'strip phase to make maxima build.
2014-11-27 23:34:46 +01:00
Federico Beffa ec00de358e gnu: Add numpydoc.
* gnu/packages/python.scm (python-numpydoc, python2-numpydoc): New variables.
2014-11-27 09:50:47 +01:00
Ludovic Courtès 598e19dca1 system: Build system-wide locale definitions.
* gnu/system/locale.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system.scm (<operating-system>)[locale]: Change the default to
  "en_US.utf8".
  (operating-system-locale-directory): New procecure.
  (operating-system-derivation): Use it.
* doc/guix.texi (Using the Configuration System): Change example locale
  to "fr_FR.utf8".
  (operating-system Reference): Add xref to "Locales".  Document
  'locale-definitions'.
  (Locales): New section.
* po/guix/POTFILES.in: Add gnu/system.scm.
2014-11-27 08:55:46 +01:00
Ludovic Courtès e9bab1df6d gnu: gawk: Build a UTF-8 locale for the tests.
* gnu/packages/gawk.scm (gawk)[arguments]: Add 'install-locales' phase.
2014-11-26 23:34:34 +01:00
Andreas Enge 9b4d1e7321 gnu: ccrtp: Update to 2.1.1.
* gnu/packages/telephony.scm (ccrtp): Update to 2.1.1.
2014-11-26 21:29:42 +01:00
Alex Kost cbbc877134 emacs: Add missing directory to the guile load path.
Reported by Adam Pribyl and David Thompson.

* emacs/guix-helper.scm.in (set-paths!): Add guile module dir to '%load-path'.
2014-11-26 23:07:16 +03:00
Andreas Enge d57b88bed5 Update gnupg mirrors.
* guix/download.scm (%mirrors): Update mirror list for gnupg.
2014-11-26 19:52:11 +01:00
Andreas Enge e26e134b4a gnu: ucommon: Update to 6.2.2.
* gnu/packages/telephony.scm (ucommon): Update to 6.2.2.
2014-11-26 14:56:51 +01:00
Andreas Enge 07ba213a39 gnu: sipwitch: Update to 1.9.3.
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.3.
2014-11-26 14:56:51 +01:00
Ludovic Courtès 67979e42c3 linux-boot: Call 'pre-mount' before 'mount-root-file-system'.
Partly fixes <http://bugs.gnu.org/19190>.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.

* gnu/build/linux-boot.scm (boot-system): Move PRE-MOUNT call before
  'mount-root-file-system' is called.
2014-11-26 11:58:06 +01:00
Ludovic Courtès 76bacc8264 linux-boot: Error out when 'pre-mount' returns #f.
* gnu/build/linux-boot.scm (boot-system): Call 'error' when PRE-MOUNT
  returns #f.
2014-11-26 11:54:21 +01:00
Taylan Ulrich Bayırlı/Kammer 094b2efc3c utils: Improve docstring of 'substitute*' & co.
* guix/build/utils.scm (substitute): Clarify first sentence of
  docstring and add warning to the docstring about using '$' to match
  an end of line.
  (substitute*): Add warning to the docstring about using '$' to match
  an end of line.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-26 11:17:48 +01:00
Ludovic Courtès 97e1120903 gnu: glibc: Do not install all the locales.
* gnu/packages/base.scm (glibc)[outputs]: Remove "locales".
  [arguments]: Remove --localedir argument.  Change libc_cv_localedir
  value to "/run/current-system/locale".  Remove 'install-locales'
  phase.
2014-11-26 11:16:05 +01:00
Ludovic Courtès 2d2a2bacc0 gnu: emms: Enable the 'mp3info' back-end for MP3 meta-data.
* gnu/packages/emacs.scm (emms)[arguments]: Properly initialize
  'emms-info-mp3info-program-name'.  This allows the 'emms-info-mp3info'
  back-end to be enabled by default, even when 'mp3info' is not in
  $PATH.
2014-11-26 09:24:06 +01:00
Ludovic Courtès 588a781396 gnu: pkg-config: Add pkg.m4 to the cross pkg-config.
Suggested by John Darrington.

* gnu/packages/pkg-config.scm (cross-pkg-config): Make
  $out/share/aclocal a symlink to %PKG-CONFIG/share/aclocal.
2014-11-25 23:12:42 +01:00
Ludovic Courtès 90fad2880d emacs: Disable build traces produced by the daemon.
* emacs/guix-main.scm (process-package-actions,
  package-source-build-derivation): Pass #:print-build-trace #f to
  'set-build-options', to reduce verbosity.
2014-11-25 23:01:48 +01:00
Andreas Enge e43c2a0b89 gnu: gss: Update to 1.0.3.
* gnu/packages/gsasl.scm (gss): Update to 1.0.3.
2014-11-25 22:47:51 +01:00
Ludovic Courtès f6526eb330 guix build: Add '--max-jobs' option.
Suggested by Deck Pickard <deck.r.pickard@gmail.com>.

* guix/scripts/build.scm (show-build-options-help): Document
  --max-jobs.
  (set-build-options-from-command-line): Pass #:max-build-jobs.
  (%standard-build-options): Add --max-jobs.
* doc/guix.texi (Invoking guix-daemon): Document the meaning of
  '--max-jobs 0'.
  (Invoking guix build): Document --max-jobs, with a reference to
  "Invoking guix-daemon'.
2014-11-25 22:37:44 +01:00
Taylan Ulrich Bayırlı/Kammer 1b366ee4f6 doc: Fix syntax errors.
* doc/guix.texi (Package Naming):
  (Fonts): Remove space between '@foo' and '{'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-25 22:37:44 +01:00
Federico Beffa 15bfe6d635 gnu: Add pyparsing.
* gnu/packages/python.scm (python-pyparsing, python2-pyparsing): New
  variables.
2014-11-25 22:04:38 +01:00
Ludovic Courtès a82bec4e89 gnu: Remove #:select on circular dependency.
* gnu/packages/mp3.scm: Remove #:select on (gnu packages linux) so that
  the circular dependency is correctly handled.
2014-11-25 21:49:20 +01:00
Ludovic Courtès 77c9286d4a gnu: Add EMMS.
* gnu/packages/emacs.scm (emms): New variable.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 4d6b879cb5 file-systems: 'file-system-needed-for-boot?' always returns #t for "/".
Reported by Nikita Karetnikov.

* gnu/system/file-systems.scm (<file-system>): Rename 'needed-for-boot?'
  accessor to '%file-system-needed-for-boot?'.
  (file-system-needed-for-boot?): New inlinable procedure.
* gnu/system.scm (other-file-system-services)[file-systems]: Rely on
  'file-system-needed-for-boot?' to handle the "/" case.
  (operating-system-initrd-file)[boot-file-systems]: Likewise.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 6eef465eea gnu: libksba: Update to 1.3.2 [security fix].
* gnu/packages/gnupg.scm (libksba): Update to 1.3.2.
2014-11-25 18:01:59 +01:00
Ludovic Courtès c63bc533c1 build: Bump version number.
* configure.ac: Bump to 0.9.
2014-11-25 18:01:59 +01:00
Ludovic Courtès db84467a90 install: Add wpa-supplicant to the image.
Reported by Amirouche Boubekki <amirouche.boubekki@gmail.com>.

* gnu/system/install.scm (installation-os)[packages]: Add
  WPA-SUPPLICANT.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 086518ddf3 gnu: Add TagLib.
* gnu/packages/mp3.scm (taglib): New variable.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 0ae332d3ef licenses: Add MPL 1.1.
* guix/licenses.scm (mpl1.1): New variable.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 68ff528c75 gnu: Add mp3info.
* gnu/packages/mp3.scm (mp3info): New variable.
2014-11-25 18:01:59 +01:00
Ludovic Courtès 2cdda52b1a import: gnu: Write the hash in nix-base32 format.
* guix/import/gnu.scm (gnu-package->sexp): Use
  'bytevector->nix-base32-string', not 'bytevector->base32-string'.
2014-11-25 18:01:59 +01:00
Andreas Enge e6c1e91d8b gnu: gcl: Update to 2.6.12.
* gnu/packages/lisp.scm (gcl): Update to 2.6.12.
2014-11-25 08:55:26 +01:00
Ludovic Courtès c4a298c52c gnu: grep: Update to 2.21.
* gnu/packages/base.scm (grep): Update to 2.21.
2014-11-24 22:47:41 +01:00
Ludovic Courtès f8bcf1935a build-system/gnu: Gracefully handle dangling symlinks in the 'strip' phase.
* guix/build/gnu-build-system.scm (strip): Check whether 'file-exists?'
  before calling 'elf-file?' and 'ar-file?'.  This should fix build
  failures in the presence of dangling symlinks, as in
  <http://hydra.gnu.org/build/167521/nixlog/1/raw>.
2014-11-24 22:45:41 +01:00
Federico Beffa 0da9853360 gnu: Add numpy-bootstrap.
* gnu/packages/python.scm (python-numpy-bootstrap, python2-numpy-bootstrap):
  New file-local variables.
2014-11-24 22:22:20 +01:00
Taylan Ulrich B 2d8dc79c1e gnu: Add rTorrent.
* gnu/packages/bittorrent.scm (rtorrent): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 22:01:47 +01:00
Ludovic Courtès df66fee79a gnu: Add libTorrent.
* gnu/packages/bittorrent.scm (libtorrent): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 22:01:08 +01:00
Julien Lepiller e8435c4d28 gnu: Add claws-mail.
* gnu/packages/mail.scm (claws-mail): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 21:52:39 +01:00
Julien Lepiller f58f767b6d gnu: Add libetpan.
* gnu/packages/mail.scm (libetpan): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 21:52:39 +01:00
Ludovic Courtès aaa3eaa97e doc: Add detailed node listing.
* doc/guix.texi (Top): Add @detailmenu.
2014-11-24 21:52:39 +01:00
宋文武 98e9e22feb gnu: Add getmail.
* gnu/packages/mail.scm (getmail): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-24 21:52:39 +01:00
Ludovic Courtès 20dd519cdb doc: Add xrefs to the lsh manual.
Suggested by Adam Pribyl <pribyl@lowlevel.cz>.

* gnu/services/ssh.scm (lsh-service): Update docstring with xrefs to
  the lsh manual.  Fix typos.
* doc/guix.texi (Networking Services): Synchronize.
2014-11-24 21:52:39 +01:00
Alex Kost 1619111731 gnu: Add 'font-liberation'.
* gnu/packages/fonts.scm (font-liberation): New variable.
2014-11-24 23:18:50 +03:00
Federico Beffa faef3b153a gnu: xfig: Add 'wrap-xfig phase.
* gnu/packages/xfig.scm (xfig): Set XAPPLRESDIR environment variable to help
  xfig find the app-defaults resource files.
2014-11-24 18:28:52 +01:00
Alex Kost fa1e31b8a5 doc: Fix typos.
* doc/guix.texi (Base Services): Fix 'lsh-service' name.
  (Networking Services): Fix (gnu services networking) module name.
2014-11-24 01:55:00 +03:00
Andreas Enge 47757541b9 gnu: vera: Update to 1.22.
* gnu/packages/dictionaries.scm (vera): Update to 1.22.
2014-11-23 22:13:13 +01:00
Andreas Enge 723fa420b4 gnu: ddrescue: Update to 1.19.
* gnu/packages/disk.scm (ddrescue): Update to 1.19.
2014-11-23 22:13:13 +01:00
Ludovic Courtès b419c7f5fb install: Add Cryptsetup to the image.
Reported by Nikita Karetnikov.

* gnu/system/install.scm (installation-os)[packages]: Add CRYPTSETUP.
* doc/guix.texi (System Installation): Mention it.
2014-11-23 21:56:31 +01:00
Andreas Enge b6e2215af7 gnu: libcdio: Update to 0.93.
* gnu/packages/cdrom.scm (libcdio): Update to 0.93.
2014-11-23 21:52:18 +01:00
Ludovic Courtès 5d1f117784 doc: Fix erroneous cross-manual references.
* doc/guix.texi (User Accounts): Fix cross-references to libc and guile.
2014-11-23 21:48:47 +01:00
nebuli 8b47758f02 store: default to serial "scheduler"
* guix/store.scm (set-build-options): exchange default argument values

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-23 21:48:47 +01:00
Andreas Enge 7fec52b78b doc: Add a section on naming conventions for font packages.
* doc/guix.texi (Fonts): New section.
  (Package naming): Reference the new section.
2014-11-23 21:37:51 +01:00
Ludovic Courtès c23d17095d utils: 'elf-file?' and 'ar-file?' return #f for directories.
This avoids uncaught exceptions when the 'strip' phase would call these
procedures on symlinks to directories, such as 'lib/terminfo' in
ncurses (see <http://hydra.gnu.org/build/167310/nixlog/1/tail-reload>.)

* guix/build/utils.scm (file-header-match): Catch 'system-error', and
  return #f upon EISDIR.
2014-11-23 19:19:35 +01:00
David Thompson 0c645f0bd1 gnu: abbaye: Fix install phase.
* gnu/packages/games (abbaye): Create '/share/pixmaps' directory
  before installing.
2014-11-23 11:30:44 -05:00
Andreas Enge bc0b89bb3e gnu: xf86-video-openchrome: Patch to correct build failure.
* gnu/packages/xorg.scm (xf86-video-openchrome): Add patch for build failure
    with glibc-2.20. Fixes bug #18740.
* gnu/packages/patches/xf86-video-openchrome-includes.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2014-11-23 15:46:06 +01:00
Federico Beffa af89a66735 gnu: atlas: Try to fix build on MIPS.
* gnu/packages/maths.scm (atlas): Add MIPS specific configure flags.
2014-11-23 15:37:29 +01:00
Andreas Enge bc9812f150 gnu: gegl: Disable tests.
* gnu/packages/gimp.scm (gegl): Disable tests since failures are apparently
    not taken care of in upstream releases.
2014-11-23 13:49:48 +01:00
Ludovic Courtès 1d1fa9327c utils: Turn 'parallel-job-count' into a parameter.
* guix/build/utils.scm (parallel-job-count): Turn into a SRFI-39 parameter.
2014-11-22 21:57:05 +01:00
Ludovic Courtès e8c7fdda5d build-system/gnu: Strip 'ar' archives as well.
* guix/build/gnu-build-system.scm (strip): Also strip when (ar-file?
  PATH) is true.
2014-11-22 21:54:27 +01:00
Ludovic Courtès 2bbc6db5e2 utils: Factorize magic bytes detection.
* guix/build/utils.scm (file-header-match): New procedure.
  (%elf-magic-bytes): New variable.
  (elf-file?, ar-file?): Define using 'file-header-match'.
2014-11-22 21:52:57 +01:00
Ludovic Courtès 91ee959b03 utils: Add 'ar-file?'.
* guix/build/utils.scm (%ar-magic-bytes): New variable.
  (ar-file?): New procedure.
2014-11-22 21:52:12 +01:00
Ludovic Courtès 2acb8b272a gnu: youtube-dl: Update to 2014.11.21.1.
* gnu/packages/video.scm (youtube-dl): Update to 2014.11.21.1.
2014-11-22 19:16:02 +01:00
Jason Self 49ff939f52 gnu: linux-libre: Update to 3.17.4
* gnu/packages/linux.scm (linux-libre): Update to version 3.17.4.
2014-11-22 07:14:51 -08:00
Andreas Enge 5dee80dde2 gnu: libxkbcommon: Add inputs libx11 and xkeyboard-config and use
corresponding configure flags.

* gnu/packages/qt.scm (libxkbcommon): Add inputs libx11 and xkeyboard-config.
    Use configure flags to set XKB config root and X11 locale root
    directories.
2014-11-22 13:06:58 +01:00
Andreas Enge 8b6a5e0f82 gnu: qt: Add input ruby.
* gnu/packages/qt.scm (qt): Add input ruby.
2014-11-22 13:06:58 +01:00
Ludovic Courtès 50b87bd54b build-system/gnu: Strip only ELF files.
Suggested by Mark H Weaver <mhw@netris.org>
at <http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00395.html>.

* guix/build/gnu-build-system.scm (strip)[strip-dir]: Strip only
  when (elf-file? PATH) is true.
2014-11-22 12:49:14 +01:00
Ludovic Courtès 99533da50d utils: Add 'elf-file?'.
* guix/build/utils.scm (elf-file?): New procedure.
2014-11-22 12:44:56 +01:00
Ludovic Courtès e6039b9c70 utils: Export 'parallel-job-count'.
* guix/build/utils.scm (parallel-job-count): New procedure.
* guix/build/gnu-build-system.scm (%parallel-job-count): Remove.
  (build, check): Use 'parallel-job-count' instead.
2014-11-22 12:32:32 +01:00
Ludovic Courtès e56512125d gnu: pkg-config: Update to 0.28.
* gnu/packages/pkg-config.scm (%pkg-config): Update to 0.28.
2014-11-22 12:26:37 +01:00
Ludovic Courtès 0253ab3979 gnu: file: Update to 5.20.
* gnu/packages/file.scm (file): Update to 5.20.
  (file-5.20): Remove.
* gnu/packages/patches/file-CVE-2014-3587.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/patchutils.scm (quilt): Use FILE instead of FILE-5.20.
* gnu/packages/version-control.scm (aegis): Ditto.
2014-11-22 12:24:41 +01:00
Manolis Ragkousis a5b60e3c6b gnu: Add AVR-Libc.
* gnu/packages/avr.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add avr.scm.
* gnu/packages/cross-base.scm (xgcc-avr): New variable.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for
  "avr".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-21 23:30:27 +01:00
Ludovic Courtès f4391bec00 doc: Fix typos regarding 'lsh-service'.
Reported by Adam Pribyl <pribyl@lowlevel.cz>.

* doc/guix.texi (Using the Configuration System): Use #:root-login?, not
  #:allow-root-login?, in example.
  (Networking Services): Fix module name for ssh.
2014-11-21 22:52:17 +01:00
Julien Lepiller b977cd2b8e gnu: Add hexchat.
* gnu/packages/messaging.scm (hexchat): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-21 22:52:17 +01:00
Andreas Enge ff53457d05 gnu: libxkbcommon: Update to 0.5.0.
* gnu/packages/qt.scm (libxkbcommon): Update to 0.5.0.
    Add input libxcb and native input pkg-config.
2014-11-21 18:01:22 +01:00
Andreas Enge c736bc94e9 gnu: xcb-util-renderutil: Update to 0.3.9.
* gnu/packages/xorg.scm (xcb-util-renderutil): Update to 0.3.9.
2014-11-21 18:01:22 +01:00
Andreas Enge 60ac75cdd1 gnu: xcb-util-keysyms: Update to 0.4.0.
* gnu/packages/xorg.scm (xcb-util-keysyms): Update to 0.4.0.
2014-11-21 18:01:22 +01:00
Andreas Enge 6639292daa gnu: xcb-util-image: Update to 0.4.0.
* gnu/packages/xorg.scm (xcb-util-image): Update to 0.4.0.
2014-11-21 18:01:22 +01:00
Andreas Enge 01400dd602 gnu: xcb-util: Update to 0.4.0.
* gnu/packages/xorg.scm (xcb-util): Update to 0.4.0.
2014-11-21 18:01:21 +01:00
Andreas Enge f8f68c0749 gnu: libxcb: Update to 1.11.
* gnu/packages/xorg.scm (libxcb): Update to 1.11.
2014-11-21 18:01:21 +01:00
Andreas Enge d1de5ff3b1 gnu: xcb-proto: Update to 1.11.
* gnu/packages/xorg.scm (xcb-proto): Update to 1.11.
2014-11-21 18:01:21 +01:00
Ludovic Courtès 9723ce5886 gnu: dbus: Add 1.8.10 as a replacement.
* gnu/packages/glib.scm (dbus)[replacement]: New field.
  (dbus-1.8.10): New variable.
2014-11-21 16:33:53 +01:00
Ludovic Courtès 9c960731d6 hydra: Build only non-grafted variants of the packages.
* build-aux/hydra/gnu-system.scm (package->alist): Pass #:graft? #f.
  (package-cross-job): Adjust last argument of 'package->alist' to
  accept #:graft?.  This fixes the problem reported in commit a480307.
2014-11-21 16:33:53 +01:00
David Thompson c09e60e4d5 gnu: Add pflask.
* gnu/packages/linux.scm (pflask): New variable.
2014-11-20 22:31:56 -05:00
Ludovic Courtès 0276f697b3 guix system: Add '--share' and '--expose' options for 'vm'.
* guix/scripts/system.scm (system-derivation-for-action): Add #:mappings
  parameter.  Pass it to 'system-qemu-image/shared-store-script'.
  (perform-action): Likewise.
  (show-help): Document --share and --expose.
  (specification->file-system-mapping): New procedure.
  (%options): Add --share and --expose.
  (guix-system): Pass #:mapping to 'perform-action'.
* doc/guix.texi (Invoking guix system): Document it.
2014-11-21 00:02:26 +01:00
Ludovic Courtès fcf63cf880 vm: Introduce 'file-system-mapping'.
* gnu/system/vm.scm (<file-system-mapping>): New record type.
  (%store-mapping): New variable.
  (host-9p-file-system): Rename to...
  (mapping->file-system): ... this.  Replace 'source' and 'target'
  parameters with 'mapping'.  Set 'flags' field.
  (virtualized-operating-system): Add 'mappings' parameter and  honor
  it.
  (system-qemu-image/shared-store-script): Add 'mappings' parameter.
  Pass it to 'virtualized-operating-system'.  Use it in argument to
  'common-qemu-options'.
2014-11-20 23:32:54 +01:00
Ludovic Courtès 96ffa27ba4 vm: Formalize use of '-virtfs' options.
* gnu/system/vm.scm (file-system->mount-tag, host-9p-file-system): New
  procedures.
  (virtualized-operating-system): Use 'host-9p-file-system' for the
  store.
  (common-qemu-options): Add 'shared-fs' parameter.
  [virtfs-option]: New procedure.
  Use it.
  (system-qemu-image/shared-store-script): Adjust accordingly.
2014-11-20 23:30:44 +01:00
Ludovic Courtès 4dfbdcbcb4 linux-boot: Don't catch exceptions thrown by 'mount-root-file-system'.
* gnu/build/linux-boot.scm (mount-root-file-system): Remove 'catch #t'
  around body.  This was unneeded and even inconvenient because this
  procedure is called from within 'call-with-error-handling' already.
2014-11-20 22:43:47 +01:00
Ludovic Courtès a1ca1b7a50 emacs: Don't override the user's 'geiser-guile-load-path'.
* emacs/guix-backend.el (guix-start-repl): Add GUIX-LOAD-PATH to the
  front of GEISER-GUILE-LOAD-PATH instead of overriding it.
2014-11-20 21:14:39 +01:00
Ludovic Courtès 1d18d87f34 services: xorg: Include ~/.guix-profile/bin to the session's $PATH.
Fixes <http://bugs.gnu.org/19119>.
Reported by David Thompson <dthompson2@worcester.edu>.

* gnu/services/xorg.scm (xinitrc): Augment $PATH to include
  ~/.guix-profile/bin.
2014-11-20 21:14:39 +01:00
Ludovic Courtès 1c27641f46 file-systems: Always write the options field in /etc/mtab.
* gnu/build/file-systems.scm (mount-file-system): When OPTIONS is false,
  write "rw" to /etc/mtab.  This fixes a bug whereby 'remove-from-mtab'
  in (guix syscalls) would otherwise raise a 'match-error' because of
  the missing field.  This affected file systems mounted from the
  initrd, such as devtmpfs, which has options == #f.
2014-11-20 21:14:39 +01:00
Andreas Enge 8c3fc83411 gnu: icu4c: Update to 54.1.
* gnu/packages/icu4c.scm (icu4c): Update to 54.1.
* gnu/packages/patches/icu4c-test-date-format.patch: Remove unneeded patch.
* gnu-system.am (dist_patch_DATA): Unregister dropped patch.
2014-11-20 14:01:20 +01:00
John Darrington a4d8913613 gnu: gst-plugins-good: Enable more plugins
* gnu/packages/gstreamer.scm (gst-plugins-good): New inputs:
  cairo, gdk-pixbuf, flac, speex, libogg, libx11, zlib, libpng, libjpeg,
  libXext, libxv, pulseaudio.
2014-11-19 23:42:28 +01:00
Ludovic Courtès 8b9019a6a9 lint: Fix typos in checker descriptions.
* guix/scripts/lint.scm (%checkers): "file names" (two words), and
  "synopses" (plural).
2014-11-19 22:52:30 +01:00
Ludovic Courtès db6dcf816f lint: Use localized checker descriptions.
* guix/scripts/lint.scm (list-checkers-and-exit): Wrap
  'lint-checker-description' call in (_ ...).
2014-11-19 22:52:30 +01:00
Ludovic Courtès 836f02bf52 lint: Correctly internationalize warning messages.
* guix/scripts/lint.scm (emit-warning): Remove '_' call for format
  string.
  (check-description-style, check-inputs-should-be-native,
  check-synopsis-style, check-patches, check-gnu-synopsis+description):
  Wrap message in (_ ...).
2014-11-19 22:52:30 +01:00
Ludovic Courtès f4d5bca39e lint: Change checker names to be symbols.
* guix/scripts/lint.scm (%checkers): Change 'name' fields to be
  symbols.
  (%options): Adjust "-c" option handler accordingly.
2014-11-19 22:52:30 +01:00
Ludovic Courtès 37627ffa89 lint: Fold 'sync-descriptions' script as 'gnu-description' lint checker.
* build-aux/sync-descriptions.scm: Remove.  Move payload to...
* guix/scripts/lint.scm: ... here.
  (escape-quotes, official-gnu-packages*,
  check-gnu-synopsis+description): New procedures.
  (%checkers): Add 'gnu-descriptions'.
* Makefile.am (EXTRA_DIST): Remove build-aux/sync-descriptions.scm.
  (sync-descriptions): Use 'guix lint'.
2014-11-19 22:52:28 +01:00
Ludovic Courtès dd3b6d66b9 gnu: Add NcFTP Client.
* gnu/packages/ftp.scm (ncftp): New variable.
2014-11-19 22:07:02 +01:00
Ludovic Courtès af8c2a158e licenses: Add the Clarified Artistic License.
* guix/licenses.scm (clarified-artistic): New variable.
2014-11-19 22:07:02 +01:00
宋文武 77264d1512 gnu: Add Glulxe.
* gnu/packages/games.scm (glkterm, glulxe): New variables.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
2014-11-19 09:44:30 -06:00
John Darrington 1fcf67f461 gnu: Add some more gstreamer plugins
* gnu/packages/gstreamer.scm (gst-plugins-good): New variable.
                             (gst-plugins-base): New inputs:
                               pango, libogg, libtheora,
                               libvorbis, libx11, libXext,
                               libxv, alsa-lib, zlib
2014-11-19 07:08:34 +01:00
John Darrington 24753e6947 gnu: busybox - whitespace changes only.
* gnu/packages/busybox.scm: Adjust formatting of description field.
2014-11-19 07:08:34 +01:00
Eric Bavier 93882f0eda gnu: intltool: Make file a regular input.
* gnu/packages/glib.scm (intltool)[propagated-inputs]: Move file from here...
  [inputs]: to here.
  [arguments]: New 'patch-file-references phase.
2014-11-18 23:10:26 +01:00
Andreas Enge 3f2a772789 gnu: acl: Towards tests; enable infrastructure, but keep tests disabled
since they fail.

* gnu/packages/acl.scm (acl): Correct test target, add inputs perl and sed,
    replace "/bin/sh" in perl test script.
2014-11-18 23:10:17 +01:00
Andreas Enge aa3d901126 gnu: acl: Also install header files.
* gnu/packages/acl.scm (acl): Install header files. Drop unneeded phase
    PATCH-MAKEFILE-SHELL.
2014-11-18 23:10:08 +01:00
宋文武 8f9580ca8b gnu: Add Wine.
* gnu/packages/wine.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-18 22:30:09 +01:00
Ludovic Courtès 418367f7f0 Add Julien to 'AUTHORS'. 2014-11-18 22:03:03 +01:00
Julien Lepiller 7131ef4b4a gnu: Add Openbox.
* gnu/packages/openbox.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-18 21:59:10 +01:00
Julien Lepiller 9a5acb54c1 gnu: pango: Add dependency on libxft.
* gnu/packages/gtk.scm (pango)[inputs]: Add LIBXFT.
2014-11-18 21:59:09 +01:00
Ludovic Courtès 186de634a7 gnu: curl: Enable more verbose test output.
* gnu/packages/curl.scm (curl)[arguments]: Fold 'patch-runtests' phase
  into 'check' phase, and replace the standard 'check' phase.  Run "make
  -C tests test".
2014-11-18 13:56:07 +01:00
John Darrington db5584dd11 gnu: Fix cross-compilation issue in guile-json
* gnu/packages/guile.scm (guile-json): Move guile from inputs to native inputs.
2014-11-18 10:45:45 +01:00
John Darrington e093274238 gnu: Fix cross compilation issue with libgcrypt.
* gnu/packages/gnupg.scm (libgcrypt): Distinguish between the native and
  non-native libgpg-error input
2014-11-18 10:38:13 +01:00
John Darrington a6abac9f2e gnu: Fix cross-compilation issues with autotools
* gnu/packages/autotools.scm (autoconf, automake): Move inputs to native-inputs.
2014-11-18 10:36:41 +01:00
Ludovic Courtès 05093579e9 gnu: Add perl-digest-sha1.
* gnu/packages/perl.scm (perl-digest-sha1): New variable.
2014-11-17 23:58:58 +01:00
Ludovic Courtès 90422555f1 gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to post-0.8
  commit.
  (guix): Switch from GUIX-0.8 to GUIX-DEVEL.
2014-11-17 23:57:46 +01:00
Ludovic Courtès 47739f5165 gnu: guix: Update to 0.8.
* gnu/packages/package-management.scm (guix-0.7): Rename to...
  (guix-0.8): ... this.  Update to 0.8.  Adjust users accordingly.
  (guix): Switch from GUIX-DEVEL to GUIX-0.8.
2014-11-17 22:57:43 +01:00
637 changed files with 87033 additions and 10052 deletions
+8
View File
@@ -14,12 +14,14 @@
((indent-tabs-mode . nil)
(eval . (put 'eval-when 'scheme-indent-function 1))
(eval . (put 'test-assert 'scheme-indent-function 1))
(eval . (put 'test-assertm 'scheme-indent-function 1))
(eval . (put 'test-equal 'scheme-indent-function 1))
(eval . (put 'test-eq 'scheme-indent-function 1))
(eval . (put 'call-with-input-string 'scheme-indent-function 1))
(eval . (put 'guard 'scheme-indent-function 1))
(eval . (put 'lambda* 'scheme-indent-function 1))
(eval . (put 'substitute* 'scheme-indent-function 1))
(eval . (put 'modify-phases 'scheme-indent-function 1))
(eval . (put 'with-directory-excursion 'scheme-indent-function 1))
(eval . (put 'package 'scheme-indent-function 0))
(eval . (put 'origin 'scheme-indent-function 0))
@@ -42,13 +44,19 @@
(eval . (put 'emacs-batch-edit-file 'scheme-indent-function 1))
(eval . (put 'emacs-substitute-sexps 'scheme-indent-function 1))
(eval . (put 'emacs-substitute-variables 'scheme-indent-function 1))
(eval . (put 'with-derivation-narinfo 'scheme-indent-function 1))
(eval . (put 'with-derivation-substitute 'scheme-indent-function 1))
(eval . (put 'syntax-parameterize 'scheme-indent-function 1))
(eval . (put 'with-monad 'scheme-indent-function 1))
(eval . (put 'mbegin 'scheme-indent-function 1))
(eval . (put 'mwhen 'scheme-indent-function 1))
(eval . (put 'munless 'scheme-indent-function 1))
(eval . (put 'mlet* 'scheme-indent-function 2))
(eval . (put 'mlet 'scheme-indent-function 2))
(eval . (put 'run-with-store 'scheme-indent-function 1))
(eval . (put 'run-with-state 'scheme-indent-function 1))
(eval . (put 'wrap-program 'scheme-indent-function 1))
;; Recognize '~', '+', and '$', as used for gexps, as quotation symbols.
;; This notably allows '(' in Paredit to not insert a space when the
+5 -1
View File
@@ -67,6 +67,7 @@ config.cache
/doc/version.texi
/gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz
/gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
/gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
/gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
/guix/config.scm
/nix/nix-daemon/nix-daemon.cc
@@ -95,7 +96,7 @@ stamp-h[0-9]
/doc/guix.tp
/doc/guix.vr
/doc/guix.vrs
/nix/scripts/substitute-binary
/nix/scripts/substitute
/doc/images/bootstrap-graph.png
/doc/images/bootstrap-graph.eps
/guix-register
@@ -110,3 +111,6 @@ GTAGS
/emacs/guix-autoloads.el
/emacs/guix-helper.scm
/emacs/guix-init.el
/emacs/guix-profiles.el
/doc/os-config-bare-bones.texi
/doc/os-config-desktop.texi
-3
View File
@@ -1,3 +0,0 @@
[submodule "nix-upstream"]
path = nix-upstream
url = https://github.com/NixOS/nix.git
+9
View File
@@ -13,14 +13,19 @@ alphabetical order):
Federico Beffa <beffa@fbengineering.ch>
Marek Benc <merkur32@gmail.com>
Sou Bunnbu (宋文武) <iyzsong@gmail.com>
Tomáš Čech <sleep_walker@suse.cz>
Ludovic Courtès <ludo@gnu.org>
John Darrington <jmd@gnu.org>
Andreas Enge <andreas@enge.fr>
Alírio Eyng <alirioeyng@gmail.com>
Alexander I. Grafov <grafov@gmail.com>
Joshua Grant <tadni@riseup.net>
Raimon Grau <raimonster@gmail.com>
David Hashe <david.hashe@dhashe.com>
Nikita Karetnikov <nikita@karetnikov.org>
Julien Lepiller <julien@lepiller.eu>
Aljosha Papsch <misc@rpapsch.de>
Deck Pickard <deck.r.pickard@gmail.com>
Manolis Ragkousis <manolis837@gmail.com>
Cyril Roelandt <tipecaml@gmail.com>
Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
@@ -28,4 +33,8 @@ alphabetical order):
Jason Self <j@jxself.org>
Sree Harsha Totakura <sreeharsha@totakura.in>
David Thompson <dthompson2@worcester.edu>
Paul van der Walt <paul@denknerd.org>
Mark H. Weaver <mhw@netris.org>
Christopher A. Webber <cwebber@dustycloud.org>
Andy Wingo <wingo@pobox.com>
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
-6
View File
@@ -25,12 +25,6 @@ Run ./bootstrap to download the Nix daemon source code and to generate the
build system infrastructure using autoconf. It reports an error if an
inappropriate version of the above packages is being used.
The bootstrap script, among other things, invokes git submodule update; if
you didnt run it, you may get the following error:
make: *** No rule to make target `nix/libstore/schema.sql', needed by
`nix/libstore/schema.sql.hh'
If you get an error like this one:
configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES
+61 -11
View File
@@ -1,5 +1,5 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013 Andreas Enge <andreas@enge.fr>
#
# This file is part of GNU Guix.
@@ -30,10 +30,12 @@ MODULES = \
guix/base32.scm \
guix/base64.scm \
guix/records.scm \
guix/gcrypt.scm \
guix/hash.scm \
guix/pk-crypto.scm \
guix/pki.scm \
guix/utils.scm \
guix/sets.scm \
guix/download.scm \
guix/git-download.scm \
guix/monads.scm \
@@ -49,14 +51,18 @@ MODULES = \
guix/build-system/cmake.scm \
guix/build-system/glib-or-gtk.scm \
guix/build-system/gnu.scm \
guix/build-system/haskell.scm \
guix/build-system/perl.scm \
guix/build-system/python.scm \
guix/build-system/waf.scm \
guix/build-system/ruby.scm \
guix/build-system/trivial.scm \
guix/ftp-client.scm \
guix/http-client.scm \
guix/gnupg.scm \
guix/elf.scm \
guix/store.scm \
guix/cvs-download.scm \
guix/svn-download.scm \
guix/ui.scm \
guix/build/download.scm \
@@ -68,15 +74,21 @@ MODULES = \
guix/build/perl-build-system.scm \
guix/build/python-build-system.scm \
guix/build/ruby-build-system.scm \
guix/build/waf-build-system.scm \
guix/build/haskell-build-system.scm \
guix/build/store-copy.scm \
guix/build/utils.scm \
guix/build/union.scm \
guix/build/profiles.scm \
guix/build/pull.scm \
guix/build/rpath.scm \
guix/build/cvs.scm \
guix/build/svn.scm \
guix/build/syscalls.scm \
guix/build/gremlin.scm \
guix/build/emacs-utils.scm \
guix/build/graft.scm \
guix/search-paths.scm \
guix/packages.scm \
guix/import/utils.scm \
guix/import/gnu.scm \
@@ -89,7 +101,7 @@ MODULES = \
guix/scripts/gc.scm \
guix/scripts/hash.scm \
guix/scripts/pull.scm \
guix/scripts/substitute-binary.scm \
guix/scripts/substitute.scm \
guix/scripts/authenticate.scm \
guix/scripts/refresh.scm \
guix/scripts/system.scm \
@@ -97,6 +109,7 @@ MODULES = \
guix/scripts/import/gnu.scm \
guix/scripts/import/nix.scm \
guix/scripts/environment.scm \
guix/scripts/publish.scm \
guix.scm \
$(GNU_SYSTEM_MODULES)
@@ -122,11 +135,14 @@ KCONFIGS = \
# Templates, examples.
EXAMPLES = \
gnu/system/os-config.tmpl
gnu/system/examples/bare-bones.tmpl \
gnu/system/examples/desktop.tmpl
GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go guix/tests.go
nobase_dist_guilemodule_DATA = $(MODULES) $(KCONFIGS) $(EXAMPLES)
nobase_dist_guilemodule_DATA = \
$(MODULES) $(KCONFIGS) $(EXAMPLES) \
$(MISC_DISTRO_FILES)
nobase_nodist_guilemodule_DATA = $(GOBJECTS) guix/config.scm
# Do we need to provide our own non-broken (srfi srfi-37) module?
@@ -152,7 +168,8 @@ SCM_TESTS = \
tests/hash.scm \
tests/pk-crypto.scm \
tests/pki.scm \
tests/substitute-binary.scm \
tests/sets.scm \
tests/substitute.scm \
tests/builders.scm \
tests/derivations.scm \
tests/ui.scm \
@@ -168,15 +185,22 @@ SCM_TESTS = \
tests/union.scm \
tests/profiles.scm \
tests/syscalls.scm \
tests/lint.scm
tests/gremlin.scm \
tests/lint.scm \
tests/publish.scm
if HAVE_GUILE_JSON
MODULES += \
guix/import/json.scm \
guix/import/pypi.scm \
guix/scripts/import/pypi.scm
guix/scripts/import/pypi.scm \
guix/import/cpan.scm \
guix/scripts/import/cpan.scm
SCM_TESTS += tests/pypi.scm
SCM_TESTS += \
tests/pypi.scm \
tests/cpan.scm
endif
@@ -186,6 +210,7 @@ SH_TESTS = \
tests/guix-gc.sh \
tests/guix-hash.sh \
tests/guix-package.sh \
tests/guix-package-net.sh \
tests/guix-system.sh \
tests/guix-archive.sh \
tests/guix-authenticate.sh \
@@ -220,6 +245,9 @@ tests/guix-gc.log: \
# Public key used to sign substitutes from hydra.gnu.org.
dist_pkgdata_DATA = hydra.gnu.org.pub
# Bash completion file.
dist_bashcompletion_DATA = etc/completion/bash/guix
EXTRA_DIST = \
HACKING \
ROADMAP \
@@ -233,7 +261,7 @@ EXTRA_DIST = \
build-aux/check-final-inputs-self-contained.scm \
build-aux/download.scm \
build-aux/list-packages.scm \
build-aux/sync-descriptions.scm \
build-aux/make-binary-tarball.scm \
srfi/srfi-37.scm.in \
srfi/srfi-64.scm \
srfi/srfi-64.upstream.scm \
@@ -261,10 +289,18 @@ AM_V_GUILEC = $(AM_V_GUILEC_$(V))
AM_V_GUILEC_ = $(AM_V_GUILEC_$(AM_DEFAULT_VERBOSITY))
AM_V_GUILEC_0 = @echo " GUILEC" $@;
# Unset 'GUILE_LOAD_COMPILED_PATH' altogether while compiling. Otherwise, if
# $GUILE_LOAD_COMPILED_PATH contains $(moduledir), we may find .go files in
# there that are newer than the local .scm files (for instance because the
# user ran 'make install' recently). When that happens, we end up loading
# those previously-installed .go files, which may be stale, thereby breaking
# the whole thing.
#
# XXX: Use the C locale for when Guile lacks
# <http://git.sv.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=e2c6bf3866d1186c60bacfbd4fe5037087ee5e3f>.
.scm.go:
$(AM_V_GUILEC)$(MKDIR_P) `dirname "$@"` ; \
unset GUILE_LOAD_COMPILED_PATH ; \
LC_ALL=C \
$(top_builddir)/pre-inst-env \
$(GUILD) compile -L "$(top_builddir)" -L "$(top_srcdir)" \
@@ -282,6 +318,13 @@ SUFFIXES = .go
guix_install_go_files = install-nobase_nodist_guilemoduleDATA
$(guix_install_go_files): install-nobase_dist_guilemoduleDATA
# The above trick doesn't work for 'config.go' because both 'config.scm' and
# 'config.go' are listed in $(nobase_nodist_guilemodule_DATA). Thus, give it
# special treatment.
install-data-hook: set-bootstrap-executable-permissions
touch "$(DESTDIR)$(guilemoduledir)/guix/config.go"
SUBDIRS = po/guix po/packages
BUILT_SOURCES =
@@ -304,12 +347,19 @@ dist_emacsui_DATA = emacs/guix-main.scm
nodist_emacsui_DATA = emacs/guix-helper.scm
include emacs.am
# The self-contained tarball.
guix-binary.%.tar.xz:
-GUIX_PACKAGE_PATH= \
$(top_builddir)/pre-inst-env "$(GUILE)" \
"$(top_srcdir)/build-aux/make-binary-tarball.scm" "$*" "$@"
dist-hook: sync-descriptions gen-ChangeLog assert-no-store-file-names
distcheck-hook: assert-binaries-available assert-final-inputs-self-contained
sync-descriptions:
-$(top_builddir)/pre-inst-env $(GUILE) \
$(top_srcdir)/build-aux/sync-descriptions.scm
-GUIX_PACKAGE_PATH= \
$(top_builddir)/pre-inst-env guix lint --checkers=gnu-description
gen-ChangeLog:
if test -d .git; then \
+632 -1
View File
@@ -2,7 +2,7 @@
#+TITLE: Guix NEWS history of user-visible changes
#+STARTUP: content hidestars
Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -10,6 +10,637 @@ Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
Please send Guix bug reports to bug-guix@gnu.org.
* Changes in 0.8.2 (since 0.8.1)
** Package management
*** New “binary tarball” installation method is available
See “Binary Installation” in the manual.
*** New guix publish command, to publish ones store
See “Invoking guix publish” in the manual.
*** guix package runs “profile creation hooks” as needed
It creates X.509 certificate bundles in the profiles etc/ssl directory, if
needed, generates a package database cache for GHC if the profile includes GHC
(the Haskell compiler), and generates an Info dir file (this part was
already done before.)
*** guix package creates an etc/profile file in the profile
See “Invoking guix package” in the manual.
*** Commands understand version prefixes, such as gcc-5 for gcc-5.1.0
*** guix package --search now sorts packages by name and version
*** Substitute information is now fetched using HTTP pipelining
Before that the “substituter” used threads. Using HTTP pipelining means that
resource consumption is reduced on both the client and server sides. As a
side effect, a progress report is displayed as substitute info is downloaded.
*** guix package warns when a $GUIX_PACKAGE_PATH module cannot be loaded
*** New --sources option to guix build
*** New Bash completion file, installed in $sysconfdir/bash_completion.d
*** New guix import hackage command
See “Invoking guix import” in the manual.
*** guix lint supports FTP for the source and home-page checkers
*** guix lint has a new derivation checker
*** guix import cpan better handles dependencies and licenses
*** Packages are now build in an environment with a UTF-8 locale
** Distribution
*** C library's name service switch (NSS) is now fully configurable
See “Name Service Switch” in the manual.
*** New services: wicd, lirc, colord, upower, console-keymap, postgresql
*** Xorg service supports new drivers, such as Nouveau
*** lsh service has new options, initializes its seed by default
*** /etc/ssl symlink is created, for X.509 certificates
See “X.509 Certificates” in the manual.
*** guix system reports duplicate service identifiers
*** New /etc/bashrc file that loads Bash completion when available
*** SLiM service uses sessions from /run/current-system/profile/share/xsessions
See “X Window” in the manual.
*** The Linux “YAMA” restricting policy on PTRACE_ATTACH is now disabled
*** /etc/shells now lists all the user accounts shells
*** /gnu/store is now remounted read-only, to avoid accidental modification
*** /etc/profile is sources each profiles etc/profile file
*** 718 new packages
aalib, aarddict, acpid, agg, aisleriot, alsa-modular-synth, ant, ardour,
ardour, argtable, arpack-ng, aspell-dict-ru, aubio, audacity, avidemux,
avidemux, azr3, bamtools, bash-completion, bedops, bind-utils, bluez, bool,
brdf-explorer, bwa, calf, calibre, catch, ccl, chibi-scheme, chmlib,
clalsadrv, clipper, clisp, clustal-omega, colord, colordiff, cpufrequtils,
crossmap, csound, ctl, cunit, cutadapt, desktop-file-utils, djvulibre,
dnsmasq, dosfstools, double-conversion, dovecot, ecl, efl, elementary,
elogind, emacs-no-x, emotion-generic-players, enca, enlightenment,
evas-generic-loaders, exim, express, extremetuxracer, faad2, fastx-toolkit,
fcitx, fdupes, flexbar, fluidsynth, font-adobe-source-han-sans,
font-wqy-zenhei, freepats, gambit-c, ganv, geda-gaf, geoclue, geocode-glib,
ghc, ghc-case-insensitive, ghc-containers, ghc-fgl, ghc-hashable, ghc-http,
ghc-hunit, ghc-mtl, ghc-network, ghc-network-uri, ghc-parallel, ghc-parsec,
ghc-paths, ghc-primitive, ghc-quickcheck, ghc-random, ghc-split, ghc-stm,
ghc-syb, ghc-text, ghc-tf-random, ghc-unordered-containers, ghc-vector,
ghc-zlib, girara, gitolite, glib-networking, glibc-locales,
glibc-utf8-locales, glibc-utf8-locales, glm, gnome-mines,
gnome-settings-daemon, gnome-terminal, gnucash, gnugo, grit, gst-libav,
guile-minikanren, guile-reader, hdparm, hisat, htseq, htsjdk, hunspell,
hyphen, i2c-tools, ibus, icecast, icedtea6, icedtea7, ilmbase, ir, isync,
ixion, jack2, jalv, jansson, jemalloc, julia, key-mon, ladspa, lash,
leptonica, liba52, libabw, libaio, libass, libavc1394, libbluray, libbs2b,
libcaca, libcap-ng, libcdio-paranoia, libcdr, libdca, libdv, libdvdcss,
libe-book, libedit, libepoxy, libetonyek, libexttextcat, libffcall,
libfreehand, libgnomecanvasmm, libgtextutils, libgweather, libical,
libiec61883, libinput, liblo, libmodplug, libmspack, libmspub, libmtp,
libmwaw, libodfgen, libpagemaker, libqtxdg, libquvi, libquvi-scripts,
libraw1394, librecad, librep, librevenge, libsbsms, libsecret, libshout,
libsoup, libsrtp, libtocc, libungif, libva, libvisio, libwacom, libwebp,
libwpd, libwpg, libwps, libxklavier, libxmp, libyaml, lilv, lilypond, lirc,
livestreamer, ltrace, lv2, lv2-mda-epiano, lv2-mda-piano, lvtk, macs, mariadb,
markdown, mdadm, mdds, mesa-headers, mesa-utils, miredo, miso, moreutils,
mpd-mpc, mpdscribble, mplayer2, mpv, muparser, mythes, ncbi-vdb, ngircd,
ngs-java, ngs-sdk, npth, nss-certs, openblas, openexr, openlibm, openntpd,
openspecfun, openvpn, orc, orcus, p11-kit, patchage, pbtranscript-tofu, pcb,
perl-algorithm-c3, perl-algorithm-diff, perl-aliased,
perl-apache-logformat-compiler, perl-appconfig, perl-b-hooks-endofscope,
perl-base, perl-bit-vector, perl-boolean, perl-cache-cache,
perl-cache-fastmmap, perl-capture-tiny, perl-carp-assert,
perl-carp-assert-more, perl-carp-clan, perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-component-instancepercontext,
perl-catalyst-devel, perl-catalyst-dispatchtype-regex,
perl-catalyst-model-dbic-schema, perl-catalyst-plugin-accesslog,
perl-catalyst-plugin-authentication, perl-catalyst-plugin-captcha,
perl-catalyst-plugin-configloader, perl-catalyst-plugin-session,
perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-session-store-fastmmap, perl-catalyst-plugin-stacktrace,
perl-catalyst-plugin-static-simple, perl-catalyst-runtime,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalyst-view-tt,
perl-catalystx-component-traits, perl-catalystx-roleapplicator,
perl-catalystx-script-server-starman, perl-cgi-simple, perl-cgi-struct,
perl-class-accessor, perl-class-accessor-chained, perl-class-accessor-grouped,
perl-class-c3, perl-class-c3-adopt-next, perl-class-c3-componentised,
perl-class-data-inheritable, perl-class-date, perl-class-factory-util,
perl-class-inspector, perl-class-load, perl-class-load-xs,
perl-class-method-modifiers, perl-class-methodmaker, perl-class-singleton,
perl-class-tiny, perl-class-unload, perl-class-xsaccessor, perl-common-sense,
perl-compress-raw-bzip2, perl-compress-raw-zlib, perl-config-any,
perl-config-autoconf, perl-config-general, perl-context-preserve,
perl-cpan-meta, perl-cpan-meta-check, perl-cpan-meta-requirements,
perl-cpan-meta-yaml, perl-cpanel-json-xs, perl-crypt-randpasswd,
perl-data-dump, perl-data-dumper-concise, perl-data-optlist, perl-data-page,
perl-data-stream-bulk, perl-data-tumbler, perl-data-visitor, perl-date-calc,
perl-date-calc-xs, perl-datetime, perl-datetime-event-ical,
perl-datetime-event-recurrence, perl-datetime-format-builder,
perl-datetime-format-flexible, perl-datetime-format-http,
perl-datetime-format-ical, perl-datetime-format-natural,
perl-datetime-format-strptime, perl-datetime-locale, perl-datetime-set,
perl-datetime-timezone, perl-datetimex-easy, perl-dbd-pg, perl-dbix-class,
perl-dbix-class-cursor-cached, perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader, perl-devel-caller, perl-devel-checkbin,
perl-devel-globaldestruction, perl-devel-lexalias, perl-devel-overloadinfo,
perl-devel-partialdump, perl-devel-stacktrace, perl-devel-stacktrace-ashtml,
perl-devel-symdump, perl-digest-hmac, perl-digest-md5-file,
perl-dist-checkconflicts, perl-email-abstract, perl-email-address,
perl-email-date-format, perl-email-messageid, perl-email-mime,
perl-email-mime-contenttype, perl-email-mime-encodings, perl-email-sender,
perl-email-simple, perl-error, perl-eval-closure, perl-exception-class,
perl-exporter-tiny, perl-extutils-config, perl-extutils-helpers,
perl-extutils-installpaths, perl-file-changenotify, perl-file-copy-recursive,
perl-file-find-rule, perl-file-find-rule-perl, perl-file-homedir,
perl-file-remove, perl-file-sharedir, perl-file-sharedir-install,
perl-file-slurp, perl-file-temp, perl-gd, perl-gd-securityimage,
perl-getopt-long-descriptive, perl-hash-merge, perl-hash-multivalue,
perl-html-form, perl-html-lint, perl-html-tree, perl-http-body,
perl-http-cookiejar, perl-http-parser, perl-http-parser-xs,
perl-http-request-ascgi, perl-http-server-simple, perl-http-tiny,
perl-image-magick, perl-import-into, perl-inc-latest, perl-io-compress,
perl-io-interactive, perl-io-socket-ip, perl-io-stringy, perl-ipc-run,
perl-ipc-sharelite, perl-json, perl-json-any, perl-json-maybexs, perl-json-xs,
perl-lingua-en-findnumber, perl-lingua-en-inflect,
perl-lingua-en-inflect-number, perl-lingua-en-inflect-phrase,
perl-lingua-en-number-isordinal, perl-lingua-en-tagger,
perl-lingua-en-words2nums, perl-lingua-pt-stemmer, perl-lingua-stem,
perl-lingua-stem-fr, perl-lingua-stem-it, perl-lingua-stem-ru,
perl-lingua-stem-snowball-da, perl-list-allutils, perl-list-moreutils,
perl-lwp-protocol-https, perl-lwp-useragent-determined,
perl-memoize-expirelru, perl-mime-types, perl-module-build,
perl-module-build-tiny, perl-module-find, perl-module-implementation,
perl-module-install, perl-module-runtime, perl-module-runtime-conflicts,
perl-module-scandeps, perl-module-util, perl-moo, perl-moose,
perl-moosex-emulate-class-accessor-fast, perl-moosex-getopt,
perl-moosex-markasmethods, perl-moosex-methodattributes, perl-moosex-nonmoose,
perl-moosex-params-validate, perl-moosex-relatedclassroles,
perl-moosex-role-parameterized, perl-moosex-role-withoverloading,
perl-moosex-semiaffordanceaccessor, perl-moosex-strictconstructor,
perl-moosex-traits-pluggable, perl-moosex-types, perl-moosex-types-datetime,
perl-moosex-types-datetime-morecoercions, perl-moosex-types-loadableclass,
perl-moox-types-mooselike, perl-mro-compat, perl-namespace-autoclean,
perl-namespace-clean, perl-net-amazon-s3, perl-net-server,
perl-number-compare, perl-object-signature, perl-package-anon,
perl-package-deprecationmanager, perl-package-stash, perl-package-stash-xs,
perl-padwalker, perl-par-dist, perl-params-util, perl-params-validate,
perl-parent, perl-parse-cpan-meta, perl-path-class, perl-plack,
perl-plack-middleware-fixmissingbodyinredirect,
perl-plack-middleware-methodoverride,
perl-plack-middleware-removeredundantbody, perl-plack-middleware-reverseproxy,
perl-plack-test-externalserver, perl-pod-coverage,
perl-posix-strftime-compiler, perl-readonly, perl-role-tiny, perl-safe-isa,
perl-scalar-list-utils, perl-scope-guard, perl-set-infinite, perl-set-scalar,
perl-snowball-norwegian, perl-snowball-swedish, perl-spiffy,
perl-sql-abstract, perl-sql-splitstatement, perl-sql-tokenizer,
perl-stream-buffered, perl-strictures, perl-string-camelcase,
perl-string-rewriteprefix, perl-string-toidentifier-en, perl-sub-exporter,
perl-sub-exporter-progressive, perl-sub-identify, perl-sub-install,
perl-sub-name, perl-sub-uplevel, perl-svg, perl-sys-hostname-long,
perl-task-weaken, perl-template-timer, perl-template-toolkit,
perl-term-encoding, perl-term-progressbar, perl-term-progressbar-quiet,
perl-term-progressbar-simple, perl-term-readkey, perl-test-base,
perl-test-cleannamespaces, perl-test-differences, perl-test-directory,
perl-test-exception, perl-test-fatal, perl-test-harness, perl-test-leaktrace,
perl-test-longstring, perl-test-mockobject, perl-test-mocktime,
perl-test-most, perl-test-output, perl-test-pod, perl-test-pod-coverage,
perl-test-requires, perl-test-sharedfork, perl-test-tcp, perl-test-trap,
perl-test-utf8, perl-test-warn, perl-test-warnings, perl-test-without-module,
perl-test-writevariants, perl-test-www-mechanize,
perl-test-www-mechanize-catalyst, perl-test-www-mechanize-psgi,
perl-test-yaml, perl-text-aligner, perl-text-balanced, perl-text-csv,
perl-text-diff, perl-text-german, perl-text-glob, perl-text-simpletable,
perl-text-table, perl-text-unidecode, perl-throwable, perl-tie-ixhash,
perl-tie-toobject, perl-time-duration, perl-time-duration-parse,
perl-time-local, perl-time-mock, perl-timedate, perl-tree-simple,
perl-tree-simple-visitorfactory, perl-try-tiny, perl-types-serialiser,
perl-universal-can, perl-universal-isa, perl-uri-find, perl-uri-ws,
perl-variable-magic, perl-www-mechanize, perl-xml-libxml,
perl-xml-namespacesupport, perl-xml-sax, perl-xml-sax-base, perl-yaml,
perl-yaml-tiny, ploticus, polipo, portaudio, pumpa, python-apsw,
python-biopython, python-cssselect, python-dbus, python-decorator,
python-drmaa, python-h5py, python-lxml, python-netifaces, python-networkx,
python-pyxdg, python-pyyaml, python-requests, python-scikit-learn,
python-singledispatch, python-sphinx-rtd-theme, python-sympy, python-testlib,
python-tornado, python-urwid, python-waf, python2-apsw,
python2-backport-ssl-match-hostname, python2-biopython, python2-bx-python,
python2-cssselect, python2-cssutils, python2-dbus, python2-decorator,
python2-drmaa, python2-h5py, python2-lxml, python2-netifaces,
python2-networkx, python2-pbcore, python2-pil, python2-pybedtools,
python2-pycairo, python2-pyxdg, python2-pyyaml, python2-rdflib, python2-rsvg,
python2-scikit-learn, python2-singledispatch, python2-six,
python2-sphinx-rtd-theme, python2-sympy, python2-testlib, python2-tornado,
python2-urwid, python2-waf, python2-xlib, quvi, r, rdesktop, recode, rep-gtk,
rseqc, rsound, rubberband, ruby-hoe, rxvt-unicode, s2tc, sawfish, sbcl, seqan,
serd, serf, sfml, shogun, sloccount, smartmontools, snakemake, soil, solfege,
sord, soundtouch, soxr, sra-tools, sratom, srt2vtt, star, starman, stow,
subread, suil, suitesparse, swt, sysfsutils, sysfsutils, taskwarrior, tbb,
terminology, tesseract-ocr, texlive-bin, texlive-texmf, the-silver-searcher,
tidy, tig, timidity++, tocc, totem-pl-parser, tree, tuxguitar, tvtime,
twolame, txt2man, unqlite, upower, utf8proc, vamp, vapoursynth, vcftools,
vigra, wavpack, webkitgtk, webkitgtk, weex, wicd, wpa-supplicant-light,
wxwidgets, wxwidgets, xbindkeys, xcape, xdg-utils, xf86-input-libinput,
xf86-input-wacom, xf86-video-nouveau, xfce, xmp, xosd, xournal, xvid, zathura,
zathura-cb, zathura-djvu, zathura-pdf-poppler, zathura-ps, zeromq,
zita-alsa-pcmi, zita-convolver
*** 189 package updates
acpica-20150410, apl-1.5, apr-1.5.2, arb-2.3.0, at-spi2-atk-2.16.0,
at-spi2-core-2.16.0, atk-2.16.0, autogen-5.18.5, bison-3.0.4, boost-1.57.0,
cairo-1.14.2, ccrtp-2.1.2, check-0.9.14, clang-3.6.0, cmake-3.2.2,
complexity-1.2, cups-filters-1.0.68, curl-7.42.1, dbus-1.8.16,
dbus-glib-0.104, dejagnu-1.5.3, docbook-xml-4.4, docbook-xml-4.5,
e2fsck-static-1.42.12, e2fsprogs-1.42.12, ed-1.11, eigen-3.2.4,
elfutils-0.161, emacs-24.5, emacs-no-x-toolkit-24.5, exo-0.10.3, ffmpeg-2.6.2,
fish-2.1.2, flac-1.3.1, flint-2.4.5, fltk-1.3.3, freetype-2.5.5, garcon-0.4.0,
gcc-5.1.0, gcc-toolchain-5.1.0, gdb-7.9, geiser-0.7, glib-2.44.0, glibc-2.21,
glibc-2.21, glibc-stripped-tarball-2.21, glibmm-2.44.0, global-6.4,
gnome-desktop-3.16.0, gnome-icon-theme-3.12.0, gnome-themes-standard-3.16.0,
gnu-pw-mgr-1.3, gnubik-2.4.2, gnumach-headers-1.5, gnunet-0.10.1,
gnupg-1.4.19, gnupg-2.0.27, gnupg-2.1.4, gnutls-3.4.0,
gobject-introspection-1.44.0, gpgme-1.5.4, gsettings-desktop-schemas-3.16.0,
gst-plugins-base-1.4.5, gst-plugins-good-1.4.5, gstreamer-1.4.5, gtk+-3.16.2,
gtkmm-2.24.4, gtkmm-3.16.0, guile-ssh-0.7.2, guix-0.8.1, guix-0.8.1.fc34dee,
help2man-1.46.6, httpd-2.4.12, hurd-headers-0.6, icecat-31.6.0-gnu1,
icu4c-55.1, imagemagick-6.9.0-4, imlib2-1.4.7, inetutils-1.9.3, inkscape-0.91,
isc-dhcp-4.3.1, itstool-2.0.2, kbd-2.0.2, libgcrypt-1.6.3, libgpg-error-1.18,
libidn-1.30, libltdl-2.4.6, libmicrohttpd-0.9.40, libmikmod-3.3.7,
libotr-4.1.0, libsigc++-2.4.1, libtasn1-4.5, libtool-2.4.6,
libunistring-0.9.5, libuv-1.4.2, libvorbis-1.3.5, libxfce4ui-4.12.0,
libxfce4util-4.12.1, libxfont-1.5.1, lightning-2.1.0, linux-libre-4.0.2,
linux-libre-headers-3.14.37, llvm-3.6.0, lua-5.2.3, man-pages-3.82,
mesa-10.5.4, mig-1.5, minetest-0.4.12, moe-1.7, mpc-1.0.3, mpd-0.19.9,
mu-0.9.12, nano-2.4.1, ncmpcpp-0.6.2, nettle-3.1, nginx-1.8.0, node-0.12.2,
notmuch-0.19, nspr-4.10.8, nss-3.18, ntp-4.2.8p2, ocrad-0.25, octave-3.8.2,
openconnect-7.05, openjpeg-2.0.1, openjpeg-2.1.0, openldap-2.4.40,
openssh-6.8p1, openssl-1.0.2a, pangomm-2.36.0, parallel-20150422,
pari-gp-2.7.3, patch-2.7.5, perf-4.0.2, perl-libwww-6.13, perl-net-http-6.07,
perl-net-ssleay-1.68, perl-test-simple-1.001014, perl-uri-1.67,
pinentry-0.9.0, pius-2.0.11, podofo-0.9.3, poppler-0.32.0, postgresql-9.3.6,
pulseaudio-6.0, python-3.4.3, python-pillow-2.7.0, python-pygobject-3.16.1,
python-setuptools-12.1, python-wrapper-3.4.3, python2-dateutil-2.2,
python2-pillow-2.7.0, python2-pygobject-3.16.1, python2-setuptools-12.1,
qt-5.4.1, ruby-2.2.2, samba-3.6.25, scons-2.3.4, sdl2-2.0.3, sharutils-4.15.1,
sipwitch-1.9.7, slock-1.2, source-highlight-3.1.8, sqlite-3.8.9,
subversion-1.8.13, texinfo-5.2, thunar-1.6.6, thunar-volman-0.8.1,
tor-0.2.5.12, tumbler-0.1.31, tzdata-2015c, ucommon-6.3.1, vala-0.28.0,
valgrind-3.10.1, vlc-2.2.0, vte-0.40.0, wget-1.16.3, wine-1.7.40,
wpa-supplicant-2.4, xboard-4.8.0, xfce4-appfinder-4.12.0, xfce4-panel-4.12.0,
xfce4-session-4.12.0, xfce4-settings-4.12.0, xfconf-4.12.0, xfdesktop-4.12.0,
xfwm4-4.12.0, xorg-server-1.16.4, xterm-317
** Programming interfaces
*** New (guix build gremlin) to parse and validate ELF dynamic link info
*** (guix build-system gnu) has a new validate-runpath phase
This phase reads the dynamic entries of ELF files and reports libraries listed
as NEEDED that are not found in the RUNPATH.
*** New (gnu services desktop) module and %desktop-services variable
*** New (guix cvs-download) module, for CVS checkouts
*** New (guix build-system waf) module, for the Waf build system
*** New (guix build-system haskell) module, to build Haskell packages
*** (guix build-system gnu) now supports zip archives
*** New convenience syntax modify-phases added in (guix build utils)
*** The ld wrapper more finely determines whether to use -rpath
*** (guix gexp) exports gexp-input to describe input unambiguously
*** The define-gexp-compiler form allows (guix gexp) to be extended
*** New local-file constructor exported by (guix gexp)
** Noteworthy bug fixes
*** Profiles created with guix package -p as indirect GC roots
Before that they were made permanent GC rootsi.e., uncollectable.
*** guix package distinguishes downgrades from upgrades
*** Handle HTTP redirects to relative URI references
(<http://bugs.gnu.org/19840>)
*** Downloads now honor the http_proxy environment variable
(<http://bugs.gnu.org/20402>)
*** --no-* options are now always correctly handled
(<http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00702.html>)
*** SLiM no longer leaks open file descriptors
*** Don't compare <pam-service> objects with 'equal?'
(<http://bugs.gnu.org/20037>)
*** x86_64 and i686 bootstrap binaries updated (<http://bugs.gnu.org/19780>)
*** find-files no longer follows symlinks (<http://bugs.gnu.org/20081>)
*** libc message catalog (libc.mo) is now installed
*** libstdc++ has appropriate RUNPATH (<http://bugs.gnu.org/20358>)
*** dhcp-client-service now correctly tracks dhclients PID
** Native language support
*** New translations: da (Danish)
*** Updated translations: eo
* Changes in 0.8.1 (since 0.8)
** Package management
*** New --share and --expose options for guix system vm
See “Invoking guix system” in the manual.
*** Emacs mode now automatically loads newly installed Emacs packages
See “Emacs Initial Setup” in the manual.
*** guix-daemon now defaults to --cores=0 --jobs=1
In other words, at any given time, only one derivation is being built or
substituted, and it can use as many cores as available. Before, there could
be N derivations using N cores, which was obviously not desirable.
*** Command-line tools support the GUIX_BUILD_OPTIONS environment variable
See “Invoking guix build” in the manual.
*** guix environment is faster
*** New --recursive option for guix archive
See “Invoking guix archive” in the manual.
*** Missing patches required by a package definition are gracefully reported
*** guix lint supports additional checkers
The new checkers are gnu-description, home-page, and source.
See “Invoking guix lint” in the manual.
*** New CPAN importer for guix import
See “Invoking guix import” in the manual.
** Distribution
*** USB installation image has more tools
Tools added since 0.8: wpa_supplicant, cryptsetup, and iw.
*** Linux kernel module dependencies are automatically handled
Before that, all the modules needed in the initrd would need to be explicitly
listed, including their dependencies, and in topological order.
*** Font packages now all have a name starting with font-
See “Fonts” in the manual.
*** Shell startup files have been cleaned up
/etc/profile contains only environment variable definitions, which may also be
used when running a different shell. The skeletons for users .bash_profile
and .bashrc files behave as documented in the Bash manual. Zsh is supported.
*** The root account gets a copy of the account skeleton files
Before that, the skeleton files would only be copied to non-root accounts.
*** The name service cache daemon (nscd) is configurable
By default it aggressively caches host and service lookups. See “Base
Services” in the manual.
*** Available locale definitions are now declared in operating-system
Before, the glibc package would contain all the existing locales, as well as
the locale-archive file, amounting to 110 MiB. See “Locales” in the manual.
*** SLiM sessions are configurable
Pressing F1 in the SLiM graphical log-in screen allows users to choose among
the pre-configured session types. See “X Window” in the manual.
*** Man pages and Info files are systematically gzip-compressed
*** gnu-build-system ensures that documentation is in share/{man,info}
If a package installs to $prefix/{man,info}, this is automatically fixed to be
$prefix/share/{man,info}.
*** strip is invoked only on ELF files and ar archives
*** libtool and libltdl are now separate packages
*** Emacs mode is readily usable on the Guix System Distribution
*** Substitutes are now enabled by default on freshly installed systems
*** 164 new packages
abcde, astyle, avr-libc, bbdb, bedtools, bowtie, bullet, c-reduce, cd-discid,
cgal, clang, claws-mail, cups, cups-filters, cups-minimal, dconf, delta,
dmenu, eigen, emms, exo, fastjar, font-bitstream-vera, font-dejavu,
font-gnu-freefont-ttf, font-liberation, font-terminus, fvwm, garcon,
gcc-cross-arm-linux-gnueabihf, gcc-cross-sans-libc-avr, gcj, getmail,
git-flow, git-manpages, git-test-sequence, glew, glulxe, gourmet,
gst-plugins-good, gtk-xfce-engine, hexchat, ijs, iw, jack, json-glib,
libdvdnav, libdvdread, libetpan, libevdev, libltdl, libtorrent, libupnp,
libwnck, libwnck, libxfce4ui, libxfce4util, libxshmfence, libyubikey, llvm,
lrdf, mg, mp3info, msmtp, ncftp, nginx, ninja, nss, openbox,
perl-benchmark-timer, perl-clone, perl-digest-sha1, perl-exporter-lite,
perl-file-which, perl-getopt-tabular, perl-ipc-run3, perl-probe-perl,
perl-regexp-common, perl-sys-cpu, perl-test-deep, perl-test-nowarnings,
perl-test-script, perl-test-simple, perl-test-tester, pflask,
python-cairocffi, python-cffi, python-distutils-extra, python-html5lib,
python-ipython, python-isodate, python-matplotlib, python-numpy,
python-numpydoc, python-pillow, python-pycairo, python-pycparser,
python-pygobject, python-pyparsing, python-pyqt, python-pysam, python-rdflib,
python-scipy, python-sip, python-sqlalchemy, python-xcffib, python2-cairocffi,
python2-cffi, python2-distutils-extra, python2-elib.intl, python2-html5lib,
python2-ipython, python2-isodate, python2-matplotlib, python2-numpy,
python2-numpydoc, python2-pillow, python2-py2cairo, python2-pycparser,
python2-pygobject, python2-pygtk, python2-pyparsing, python2-pyqt,
python2-pysam, python2-scipy, python2-sip, python2-sqlalchemy, python2-xcffib,
qpdf, retroarch, rtorrent, samtools, shflags, slang, slock, socat,
startup-notification, sxiv, taglib, telepathy-glib, thunar, thunar-volman,
tre, tumbler, vala, vte, vte, wine, wmctrl, xclip, xdotool, xf86-video-geode,
xfce4-appfinder, xfce4-battery-plugin, xfce4-panel, xfce4-session,
xfce4-settings, xfce4-terminal, xfconf, xfdesktop, xfwm4, xinit, ykclient,
zerofree
*** 222 package updates
apr-util-1.5.4, atk-2.15.3, automake-1.15, bash-4.3.33, bash-light-4.3.33,
bdftopcf-1.0.4, binutils-2.25, binutils-static-stripped-tarball-2.25,
cairo-1.12.18, cairomm-1.11.2, ccrtp-2.1.1, curl-7.40.0, dbus-1.8.12,
dbus-glib-0.102, ddrescue-1.19, dri2proto-2.8, e2fsck-static-1.42.11,
e2fsprogs-1.42.11, eudev-2.1.1, ffmpeg-2.5.3, file-5.22, fish-2.1.1,
fontconfig-2.11.92, fontsproto-2.1.3, freeipmi-1.4.8,
gcc-cross-mips64el-linux-gnuabi64-4.8.4, gcc-cross-sans-libc-xtensa-elf-4.8.4,
gcc-objc++-4.8.4, gcc-objc-4.8.4, gcc-stripped-tarball-4.8.4, gccgo-4.8.4,
gcl-2.6.12, gd-2.1.1, gdb-7.8.2, gdk-pixbuf-2.31.1, gettext-0.19.4,
gfortran-4.8.4, ghostscript-9.14.0, ghostscript-with-x-9.14.0, gimp-2.8.14,
git-2.2.1, glib-2.42.1, glibmm-2.42.0, global-6.3.3, glproto-1.4.17,
gnutls-3.2.21, gobject-introspection-1.42.0, gp2c-0.0.9pl2, grep-2.21,
groff-1.22.3, gss-1.0.3, gst-plugins-base-1.0.10, gtk+-3.14.7, gtkmm-3.14.0,
guix-0.8, guix-0.8.4ad8789, help2man-1.46.4, iceauth-1.0.6, icu4c-54.1,
inkscape-0.48.5, inputproto-2.3.1, lcms-2.6, lftp-4.6.1, libassuan-2.2.0,
libcdio-0.93, libdmx-1.1.3, libdrm-2.4.58, libfontenc-1.1.2, libfs-1.0.6,
libgcrypt-1.6.2, libgpg-error-1.17, libice-1.0.9, libjpeg-9a, libksba-1.3.2,
libmicrohttpd-0.9.39, libnl-3.2.25, libpciaccess-0.13.2, libpeas-1.12.1,
libpng-1.5.21, librsvg-2.40.6, libsm-1.2.2, libtasn1-4.2, libtool-2.4.5,
libx11-1.6.2, libxau-1.0.8, libxaw-1.0.12, libxcb-1.11, libxcomposite-0.4.4,
libxcursor-1.1.14, libxdamage-1.1.4, libxext-1.3.3, libxfixes-5.0.1,
libxfont-1.5.0, libxft-2.3.2, libxi-1.7.4, libxinerama-1.1.3,
libxkbcommon-0.5.0, libxmu-1.1.2, libxp-1.0.2, libxpm-3.5.11, libxrandr-1.4.2,
libxrender-0.9.8, libxres-1.0.7, libxt-1.1.4, libxtst-1.2.2, libxv-1.0.10,
libxvmc-1.0.8, libxxf86dga-1.1.4, libxxf86vm-1.1.3, linux-libre-3.18.4,
lua-5.2.3, makedepend-1.0.5, mercurial-3.2.4, mesa-10.4.0, minetest-0.4.11,
mkfontscale-1.1.1, neon-0.30.0, nix-1.8, ntp-4.2.8, ocrad-0.24,
openjpeg-2.0.1, openssl-1.0.1k, pango-1.36.8, parallel-20150122,
pari-gp-2.7.2, patchelf-0.8, pcre-8.36, perf-3.18.4, phonon-4.8.3,
pixman-0.32.6, pkg-config-0.28, poppler-0.28.1, python-3.3.5,
python-dateutil-2.2, python2-dateutil-2.2, qemu-2.2.0, qemu-headless-2.2.0,
qt-5.4.0, racket-6.1.1, randrproto-1.4.0, raptor2-2.0.15, rasqal-0.9.33,
rcs-5.9.4, ruby-2.1.5, sessreg-1.0.8, sipwitch-1.9.3, sqlite-3.8.7.4,
tiled-0.11.0, tmux-1.9a, tzdata-2014j, ucommon-6.2.3, util-linux-2.25.2,
util-macros-1.19.0, vera-1.22, videoproto-2.3.2, wget-1.16.1, xauth-1.0.9,
xbacklight-1.2.1, xcb-proto-1.11, xcb-util-0.4.0, xcb-util-image-0.4.0,
xcb-util-keysyms-0.4.0, xcb-util-renderutil-0.3.9, xcb-util-wm-0.4.1,
xcursor-themes-1.0.4, xcursorgen-1.0.6, xdpyinfo-1.3.1, xev-1.2.1,
xextproto-7.3.0, xf86-input-evdev-2.8.4, xf86-input-joystick-1.6.2,
xf86-input-keyboard-1.8.0, xf86-input-mouse-1.9.1, xf86-input-synaptics-1.8.1,
xf86-video-ark-0.7.5, xf86-video-ati-7.5.0, xf86-video-cirrus-1.5.2,
xf86-video-fbdev-0.4.4, xf86-video-glint-1.2.8, xf86-video-i128-1.3.6,
xf86-video-intel-2.21.15, xf86-video-mach64-6.9.4, xf86-video-mga-1.6.3,
xf86-video-neomagic-1.2.8, xf86-video-nv-2.1.20, xf86-video-openchrome-0.3.3,
xf86-video-r128-6.9.2, xf86-video-savage-2.3.7,
xf86-video-siliconmotion-1.7.7, xf86-video-sis-0.10.7,
xf86-video-suncg6-1.1.2, xf86-video-sunffb-1.2.2, xf86-video-tdfx-1.4.5,
xf86-video-tga-1.2.2, xf86-video-trident-1.3.6, xf86-video-vesa-2.3.3,
xf86-video-vmware-13.0.2, xf86-video-voodoo-1.2.5, xhost-1.0.6, xinput-1.6.1,
xkbcomp-1.3.0, xkbutils-1.0.4, xkeyboard-config-2.13, xkill-1.0.4,
xlockmore-5.45, xlsclients-1.1.3, xmodmap-1.0.8, xnee-3.19,
xorg-server-1.16.3, xprop-1.2.2, xproto-7.0.26, xrandr-1.4.3, xrdb-1.1.0,
xrefresh-1.0.5, xset-1.2.3, xsetroot-1.1.1, xtrans-1.3.5, xvinfo-1.1.2,
xwd-1.0.6, xwininfo-1.1.3, youtube-dl-2015.01.23.4, zsh-5.0.7
** Programming interfaces
*** New (guix elf) and (gnu build linux-modules) modules
These provide resolution of Linux kernel module dependencies. See
<https://lists.gnu.org/archive/html/guix-devel/2014-11/msg00670.html>.
*** glib-or-gtk-build-system has been extended
It now handles GIO and XDG themes, takes care of generating the icon cache,
and has a new #:glib-or-gtk-wrap-excluded-outputs parameter.
*** search-path-specification can now specify non-directory items
For example, the search-path-specification attached to libxml2 specifies a
file pattern, which allows all the catalog.xml files to be added to the
XML_CATALOG_FILES environment variable.
*** (guix build syscalls) has more network-related procedures
set-network-interface-flags, set-network-interface-address,
network-interface-address, and configure-network-interface are ioctl
bindings used by network-handling dmd services.
*** (guix monads) refactoring
%store-monad is now in (guix store) and is an alias for the new
%state-monad provided by (guix monads). Monadic procedures dealing with the
store, with derivations, and with packages have been moved from (guix monads)
to (guix store), (guix derivations), and (guix packages). See “The Store
Monad” in the manual.
*** (guix build utils) provides parallel-job-count
*** wrap-program preserves the original argv[0]
*** New (guix sets) module
*** define-record-type* now support “delayed” fields
** Noteworthy bug fixes
*** X session is executed from a login shell (<http://bugs.gnu.org/19119>)
*** grub.cfg is now a garbage-collector root (<http://bugs.gnu.org/19160>)
*** Substituter progress report properly formatted
(<http://bugs.gnu.org/19313>)
*** Document permissions for /gnu/store (<http://bugs.gnu.org/19316>)
*** Make sure config.go is newer than config.scm
(<http://bugs.gnu.org/19317>)
*** Emacs knows where to find its GLib schemas (<http://bugs.gnu.org/19138>)
*** Adjust 'grub.cfg' to work on systems with a separate /boot
(<http://bugs.gnu.org/19220>)
*** Fix removal of next-to-last item in a profile
(<http://lists.gnu.org/archive/html/guix-devel/2014-12/msg00292.html>)
*** Apply patches with "patch --force" (<http://bugs.gnu.org/19402>)
*** Extend search-path-specification for libxml2-style use cases
(<http://bugs.gnu.org/18033>)
*** Search for patches under $GUIX_PACKAGE_PATH (<http://bugs.gnu.org/19364>)
*** Use executables from the target inputs in 'patch-shebangs'
(<http://bugs.gnu.org/18895>)
*** guix-daemon now automatically creates '…/profiles/per-user'
(<http://bugs.gnu.org/19315>)
*** Make /etc/mtab a symlink to /proc/self/mounts
(<http://bugs.gnu.org/19491>)
*** Don't build the mips64el-linux-gnuabi64 cross-compiler on i686
(<http://bugs.gnu.org/19598>)
*** Read archive signatures as Latin-1 strings (<http://bugs.gnu.org/19610>)
*** Raise an error for references to non-existent outputs
(<http://bugs.gnu.org/19630>)
*** Initialize libgcrypt before use (<http://bugs.gnu.org/19677>)
** Native language support
*** New translations: fr (French), hu (Hungarian)
*** Updated translation: eo, vi
* Changes in 0.8 (since 0.7)
** Package management
+2 -1
View File
@@ -20,8 +20,9 @@ Guix is based on the [[http://nixos.org/nix/][Nix]] package manager.
GNU Guix currently depends on the following packages:
- [[http://gnu.org/software/guile/][GNU Guile 2.0.x]], version 2.0.5 or later
- [[http://gnu.org/software/guile/][GNU Guile 2.0.x]], version 2.0.7 or later
- [[http://gnupg.org/][GNU libgcrypt]]
- [[http://www.gnu.org/software/make/][GNU Make]]
- optionally [[http://savannah.nongnu.org/projects/guile-json/][Guile-JSON]], for the 'guix import pypi' command
- optionally [[http://www.gnutls.org][GnuTLS]] compiled with guile support enabled, for HTTPS support
in the 'guix download' command. Note that 'guix import pypi' requires
+59 -49
View File
@@ -2,7 +2,7 @@
#+TITLE: Tentative GNU Guix Road Map
Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -17,56 +17,66 @@ The goals of the GNU Guix project are two-fold:
GNU/Linux and possibly other GNU variants, with a focus on the
promotion and tight integration of GNU componentsthe GNU system.
This document lists milestones toward these goals.
Since its inception, the project has gone a long way towards that goal. Below
is a list of items we want for version "1.0" of the Guix System Distribution.
There will be a few 0.x releases by then to give the new features more
exposure and testing.
The timeline below was written at the end of Dec. 2012. An updated and more
detailed list of the remaining milestones was posted at
https://lists.gnu.org/archive/html/guix-devel/2013-12/msg00120.html .
You're welcome to discuss this road map on guix-devel@gnu.org or #guix on
Freenode!
The actual timeline was of course slightly different than initially
envisioned, and so was the feature setthings like cross-compilation support
and the MIPS64 port were not planned back then. See the news section at
http://www.gnu.org/software/guix/ and NEWS for the release history.
* Features scheduled for 1.0
* GNU Guix 0.1: Jan. 2013 (was: Dec. 2012)
- larger & more robust build farm
+ we need a powerful, dedicated front-end
+ armhf-linux build machine
+ leave Hydra in favor of 'guix publish' + custom code?
- more OS features
+ LVM support
+ encrypted root
+ configurable name service switch
+ whole-system unit tests, using VMs
- more service definitions
+ mcron, postfix(?), wicd(?), etc.
- better 'guix system'
+ 'reconfigure' should be able to restart non-essential services
+ support for '--list-generations' and '--delete-generations'
- better 'guix pull'
+ using Git to fetch the source instead of re-downloading everything
+ build more quickly
+ install new .mo files and new manual
+ authentication of the Guix source: use signed commits?
- simplified, purely declarative service list in 'operating-system'
+ it should be possible to inspect the service instance declarations and
settings
- GUIs
+ integrate guix-web?
+ guile-ncurses installer?
- 'guix publish'?
** basic package management facilities
* Features for later
Including install, upgrade, remove, roll-back, and search.
** self-contained user-land distribution
- GNU/Linux-only, i686 and x86_64; optionally mipsel64
- ~100 non-X11 packages
** maybe integrated Nix code
* GNU Guix 0.2: Feb./Mar. 2013
** improved package management features
- user-environment hooks
- sophisticated handling of collisions when building a union (package
priorities, etc.)
** [[file:TODO::*add%20guix-pull][guix-pull tool]] to quickly update Guix and GNU for normal users
** support for fetching pre-built binaries
- this is known as the "binary-cache substituter" in Nix parlance
** auto-update facility available for GNU packages
** more packages
- Xorg
- Emacs
* GNU Guix 0.9: June 2013
** bootable GNU/Linux-Libre distro
** high-level OS configuration descriptive EDSL, à la NixOS
* GNU Guix 1.0: September 2013 (GNU anniversary release)
** bootable GNU/Linux-Libre distro with non-GUI installer
** usable for a range of hacker-style uses
- complete GNU/Hurd port
- use content-based addressing when downloading substitutes to reduce
bandwidth requirements
+ design nar v2 format where file contents are replaced by their hashes
+ leverage /gnu/store/.links
- binary origin tracking
+ keep signatures in sqlite.db
+ preserve signatures upon import/export
- peer-to-peer distribution of updates (GNUnet?)
- more deterministic builds
+ identify & fix sources of non-determinism in builds
+ strengthen guix-daemon containers to further increase reproducibility
+ trusting-trust: bootstrap with different tool chains
+ fixed-point: re-bootstrap until fixed point is reached
+ distributed validation: compare contents of store items with others
* resist a hydra.gnu.org compromise
- reproducible containers: mix of 'guix environment' and 'guix system vm'
- execute code with least privilege
+ build containers like guix-daemon does
+ provide a Plash-like interface in Bash
- daemon rewritten in Guile
- more dmd integration
+ monitor network interfaces and start/stop events based on that
+ include a DHCP client written in Scheme
+7
View File
@@ -10,6 +10,7 @@ infrastructure help:
Federico Beffa <beffa@ieee.org>
Marek Benc <merkur32@gmail.com>
Sylvain Beucler <beuc@beuc.net>
Amirouche Boubekki <amirouche.boubekki@gmail.com>
Carlos Carleos <carleos@uniovi.es>
Felipe Castro <fefcas@gmail.com>
Daniel Clark <dclark@pobox.com>
@@ -21,16 +22,22 @@ infrastructure help:
Brandon Invergo <brandon@gnu.org>
Jeffrin Jose <ahiliation@yahoo.co.in>
Kete <kete@ninthfloor.org>
Daniel Kochmański <dkochmanski@hellsgate.pl>
Alex Kost <alezost@gmail.com>
Matthew Lien <bluet@bluet.org>
Niels Möller <nisse@lysator.liu.se>
Yutaka Niibe <gniibe@fsij.org>
Andrei Osipov <andrspv@gmail.com>
Adam Pribyl <pribyl@lowlevel.cz>
Pjotr Prins <pjotr.public12@thebird.nl>
rekado <rekado@elephly.net>
Joshua Randall <jcrandall@alum.mit.edu>
Bruno Félix Rezende Ribeiro <oitofelix@gnu.org>
Cyrill Schenkel <cyrill.schenkel@gmail.com>
Benno Schulenberg <coordinator@translationproject.org>
Alen Skondro <askondro@gmail.com>
Matthias Wachs <wachs@net.in.tum.de>
Andy Wingo <wingo@pobox.com>
Philip Woods <elzairthesorcerer@gmail.com>
GNU Guix also includes non-software works. Thanks to the following
+1 -11
View File
@@ -1,15 +1,5 @@
#!/bin/sh
# Import missing source files and create the build system.
# Create the build system.
set -e -x
top_srcdir="$PWD"
export top_srcdir
git submodule init
git submodule update
./nix/sync-with-upstream
exec autoreconf -vfi
+26 -28
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,31 +28,29 @@
(srfi srfi-1)
(srfi srfi-26))
(define %supported-systems
'("x86_64-linux" "i686-linux"))
(with-store store
(parameterize ((%graft? #f))
(let* ((native (append-map (lambda (system)
(map (cut package-derivation store <> system)
(list %bootstrap-tarballs emacs)))
%hydra-supported-systems))
(cross (map (cut package-cross-derivation store
%bootstrap-tarballs <>)
'("mips64el-linux-gnuabi64")))
(total (append native cross)))
(define (warn item system)
(format (current-error-port) "~a (~a) is not substitutable~%"
item system)
#f)
(let* ((store (open-connection))
(native (append-map (lambda (system)
(map (cut package-derivation store <> system)
(list %bootstrap-tarballs emacs)))
%supported-systems))
(cross (map (cut package-cross-derivation store
%bootstrap-tarballs <>)
'("mips64el-linux-gnuabi64")))
(total (append native cross)))
(define (warn proc)
(lambda (drv)
(or (proc drv)
(begin
(format (current-error-port) "~a is not substitutable~%"
drv)
#f))))
(set-build-options store #:use-substitutes? #t)
(let ((result (every (compose (warn (cut has-substitutes? store <>))
derivation->output-path)
total)))
(when result
(format (current-error-port) "~a packages found substitutable~%"
(length total)))
(exit result)))
(set-build-options store #:use-substitutes? #t)
(let* ((substitutable? (substitution-oracle store total))
(result (every (lambda (drv)
(let ((out (derivation->output-path drv)))
(or (substitutable? out)
(warn out (derivation-system drv)))))
total)))
(when result
(format (current-error-port) "~a packages found substitutable~%"
(length total)))
(exit result)))))
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,9 +29,6 @@
(srfi srfi-1)
(srfi srfi-26))
(define %supported-systems
'("x86_64-linux" "i686-linux"))
(define (final-inputs store system)
"Return the list of outputs directories of the final inputs for SYSTEM."
(append-map (match-lambda
@@ -76,8 +73,9 @@ refer to the bootstrap tools."
;; Entry point.
(with-store store
(set-build-options store #:use-substitutes? #t)
(parameterize ((%graft? #f))
(set-build-options store #:use-substitutes? #t)
(for-each (cut test-final-inputs store <>)
%supported-systems))
(for-each (cut test-final-inputs store <>)
%hydra-supported-systems)))
+7 -1
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -45,7 +46,12 @@
(match (string-tokenize file (char-set-complement (char-set #\/)))
((_ ... system basename)
(string->uri (string-append %url-base "/" system
"/20131110/" basename)))))
(match system
("armhf-linux"
"/20150101/")
(_
"/20131110/"))
basename)))))
(match (command-line)
((_ file expected-hash)
+1 -1
View File
@@ -37,7 +37,7 @@
(operating-system
(host-name "gnu")
(timezone "Europe/Paris")
(locale "en_US.UTF-8")
(locale "en_US.utf8")
(bootloader (grub-configuration
(device "/dev/sda")))
+44 -12
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -54,6 +54,7 @@
(gnu packages multiprecision)
(gnu packages make-bootstrap)
(gnu packages commencement)
(gnu packages package-management)
(gnu system)
(gnu system vm)
(gnu system install)
@@ -70,7 +71,8 @@
#:optional (package-derivation package-derivation))
"Convert PACKAGE to an alist suitable for Hydra."
`((derivation . ,(derivation-file-name
(package-derivation store package system)))
(package-derivation store package system
#:graft? #f)))
(description . ,(package-synopsis package))
(long-description . ,(package-description package))
(license . ,(package-license package))
@@ -93,7 +95,9 @@ SYSTEM."
`(,(symbol-append (string->symbol target) (string->symbol ".") job-name
(string->symbol ".") (string->symbol system)) .
,(cute package->alist store package system
(cut package-cross-derivation <> <> target <>))))
(lambda* (store package system #:key graft?)
(package-cross-derivation store package target system
#:graft? graft?)))))
(define %core-packages
;; Note: Don't put the '-final' package variants because (1) that's
@@ -144,16 +148,44 @@ system.")
(if (member system '("x86_64-linux" "i686-linux"))
(list (->job 'qemu-image
(run-with-store store
(system-qemu-image (demo-os)
#:disk-image-size
(* 1400 MiB)))) ; 1.4 GiB
(mbegin %store-monad
(set-guile-for-build (default-guile))
(system-qemu-image (demo-os)
#:disk-image-size
(* 1400 MiB))))) ; 1.4 GiB
(->job 'usb-image
(run-with-store store
(system-disk-image installation-os
#:disk-image-size
(* 800 MiB)))))
(mbegin %store-monad
(set-guile-for-build (default-guile))
(system-disk-image installation-os
#:disk-image-size
(* 850 MiB))))))
'()))
(define (tarball-jobs store system)
"Return Hydra jobs to build the self-contained Guix binary tarball."
(define (->alist drv)
`((derivation . ,(derivation-file-name drv))
(description . "Stand-alone binary Guix tarball")
(long-description . "This is a tarball containing binaries of Guix and
all its dependencies, and ready to be installed on non-GuixSD distributions.")
(license . ,gpl3+)
(home-page . ,%guix-home-page-url)
(maintainers . ("bug-guix@gnu.org"))))
(define (->job name drv)
(let ((name (symbol-append name (string->symbol ".")
(string->symbol system))))
`(,name . ,(cut ->alist drv))))
;; XXX: Add a job for the stable Guix?
(list (->job 'binary-tarball
(run-with-store store
(mbegin %store-monad
(set-guile-for-build (default-guile))
(self-contained-tarball))
#:system system))))
(define job-name
;; Return the name of a package's job.
(compose string->symbol package-full-name))
@@ -172,8 +204,7 @@ system.")
valid."
(cond ((member package base-packages)
#f)
((member system
(package-transitive-supported-systems package))
((supported-package? package system)
(package-job store (job-name package) package system))
(else
#f)))))
@@ -227,6 +258,7 @@ valid."
(cons job result)
result)))
(append (qemu-jobs store system)
(tarball-jobs store system)
(cross-jobs system))))
((core)
;; Build core packages only.
@@ -237,4 +269,4 @@ valid."
(cross-jobs system)))
(else
(error "unknown subset" subset))))
%supported-systems))
%hydra-supported-systems))
+7 -26
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -68,25 +68,10 @@
(home-page . ,(package-home-page package))
(maintainers . ("bug-guix@gnu.org"))))
(define (tarball-package checkout nix-checkout)
(define (tarball-package checkout)
"Return a package that does `make distcheck' from CHECKOUT, a directory
containing a Git checkout of Guix."
(let ((dist (dist-package guix checkout)))
(package (inherit dist)
(location (source-properties->location (current-source-location)))
(arguments (substitute-keyword-arguments (package-arguments dist)
((#:phases p)
`(alist-cons-before
'autoreconf 'set-nix-submodule
(lambda _
;; Tell Git to use the Nix checkout that Hydra gave us.
(zero?
(system* "git" "config" "submodule.nix-upstream.url"
,nix-checkout)))
,p))))
(native-inputs `(("git" ,git)
("graphviz" ,graphviz)
,@(package-native-inputs dist))))))
(dist-package guix checkout))
(define (hydra-jobs store arguments)
"Return Hydra jobs."
@@ -104,13 +89,9 @@ containing a Git checkout of Guix."
(define guix-checkout
(assq-ref arguments 'guix))
(define nix-checkout
(assq-ref arguments 'nix))
(format (current-error-port) "using checkout ~s (Nix: ~s)~%"
guix-checkout nix-checkout)
(let ((guix (assq-ref guix-checkout 'file-name))
(nix (assq-ref nix-checkout 'file-name)))
(let ((guix (assq-ref guix-checkout 'file-name)))
(format (current-error-port) "using checkout ~s (~s)~%"
guix-checkout guix)
`((tarball . ,(cute package->alist store
(tarball-package guix nix)
(tarball-package guix)
(%current-system))))))
+18 -10
View File
@@ -4,7 +4,7 @@ exec guile -l "$0" \
(cdr (command-line)))'
!#
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
;;;
;;; This file is part of GNU Guix.
@@ -27,6 +27,8 @@ exec guile -l "$0" \
#:use-module (guix packages)
#:use-module (guix licenses)
#:use-module (guix gnu-maintenance)
#:use-module ((guix download) #:select (%mirrors))
#:use-module ((guix build download) #:select (maybe-expand-mirrors))
#:use-module (gnu packages)
#:use-module (sxml simple)
#:use-module (sxml fold)
@@ -107,9 +109,12 @@ decreasing, is 1."
"http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/"
(basename patch)))
((? origin? patch)
(match (origin-uri patch)
((? string? uri) uri)
((head . tail) head)))))
(uri->string
(first (maybe-expand-mirrors (string->uri
(match (origin-uri patch)
((? string? uri) uri)
((head . tail) head)))
%mirrors))))))
(define patch-name
(match-lambda
@@ -162,7 +167,11 @@ decreasing, is 1."
,system))
`(div "status: "
,(list-join (map url (package-transitive-supported-systems package))
,(list-join (map url
(lset-intersection
string=?
%hydra-supported-systems
(package-transitive-supported-systems package)))
" ")))
(define (package-logo name)
@@ -237,14 +246,13 @@ description-ids as formal parameters."
(h2 "GNU Guix Package List")
(div (@ (id "intro"))
(div
(img (@ (src "graphics/guix-logo.small.png")
(alt "GNU Guix and the GNU System")
(img (@ (src "graphics/GuixSD-V.png")
(alt "Guix System Distribution")
(height "83"))))
(p "This web page lists the packages currently provided by the "
(a (@ (href "manual/guix.html#GNU-Distribution"))
"GNU system distribution")
" of "
(a (@ (href "/software/guix/guix.html")) "GNU Guix") ". "
"Guix System Distribution")
". "
"Our " (a (@ (href "http://hydra.gnu.org/jobset/gnu/master"))
"continuous integration system")
" shows their current build status."))
+50
View File
@@ -0,0 +1,50 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
;;;
;;; Build a self-contained tarball containing binaries for Guix and its
;;; dependencies.
;;;
(use-modules (guix)
(guix ui)
(gnu system install)
(ice-9 match))
(define show-what-to-build*
(store-lift show-what-to-build))
(define copy-file*
(lift2 copy-file %store-monad))
(define rename-file*
(lift2 rename-file %store-monad))
(match (command-line)
((_ system file)
(with-store store
(run-with-store store
(mlet %store-monad ((tarball (self-contained-tarball)))
(mbegin %store-monad
(show-what-to-build* (list tarball))
(built-derivations (list tarball))
(copy-file* (derivation->output-path tarball)
(string-append file ".part"))
(rename-file* (string-append file ".part") file)))
#:system system))))
-85
View File
@@ -1,85 +0,0 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
;;;
;;; Report package synopses and descriptions that defer from those found in
;;; the GNU Womb.
;;;
(use-modules (guix gnu-maintenance)
(guix packages)
(guix utils)
(guix ui)
(gnu packages)
(srfi srfi-1)
(srfi srfi-26)
(ice-9 match))
(define official
;; GNU package descriptors from the Womb.
(official-gnu-packages))
(define gnus
;; GNU packages available in the distro.
(let ((lookup (lambda (p)
(find (lambda (descriptor)
(equal? (gnu-package-name descriptor)
(package-name p)))
official))))
(fold-packages (lambda (package result)
(or (and=> (lookup package)
(cut alist-cons package <> result))
result))
'())))
(define (escape-quotes str)
"Replace any quote character in STR by an escaped quote character."
(list->string
(string-fold-right (lambda (chr result)
(match chr
(#\" (cons* #\\ #\"result))
(_ (cons chr result))))
'()
str)))
;; Iterate over GNU packages. Report those whose synopsis defers from that
;; found upstream.
(for-each (match-lambda
((package . descriptor)
(let ((upstream (gnu-package-doc-summary descriptor))
(downstream (package-synopsis package))
(loc (or (package-field-location package 'synopsis)
(package-location package))))
(unless (and upstream (string=? upstream downstream))
(format (guix-warning-port)
"~a: ~a: proposed synopsis: ~s~%"
(location->string loc) (package-name package)
upstream)))
(let ((upstream (gnu-package-doc-description descriptor))
(downstream (package-description package))
(loc (or (package-field-location package 'description)
(package-location package))))
(when (and upstream
(not (string=? (fill-paragraph upstream 100)
(fill-paragraph downstream 100))))
(format (guix-warning-port)
"~a: ~a: proposed description:~% \"~a\"~%"
(location->string loc) (package-name package)
(fill-paragraph (escape-quotes upstream) 77 7))))))
gnus)
+9 -6
View File
@@ -73,7 +73,11 @@ if test "x$guix_build_daemon" = "xyes"; then
dnl Chroot support.
AC_CHECK_FUNCS([chroot unshare])
AC_CHECK_HEADERS([sched.h sys/param.h sys/mount.h])
AC_CHECK_HEADERS([sched.h sys/param.h sys/mount.h tr1/unordered_set])
if test "x$ac_cv_func_chroot" != "xyes"; then
AC_MSG_ERROR(['chroot' function missing, bailing out])
fi
dnl lutimes and lchown: used when canonicalizing store items.
dnl posix_fallocate: used when extracting archives.
@@ -123,15 +127,14 @@ if test "x$guix_build_daemon" = "xyes"; then
fi
dnl Temporary directory used to store the daemon's data.
AC_MSG_CHECKING([for unit test root])
GUIX_TEST_ROOT="`pwd`/test-tmp"
AC_MSG_RESULT([$GUIX_TEST_ROOT])
GUIX_TEST_ROOT_DIRECTORY
GUIX_TEST_ROOT="$ac_cv_guix_test_root"
AC_SUBST([GUIX_TEST_ROOT])
AC_CONFIG_FILES([nix/scripts/list-runtime-roots],
[chmod +x nix/scripts/list-runtime-roots])
AC_CONFIG_FILES([nix/scripts/substitute-binary],
[chmod +x nix/scripts/substitute-binary])
AC_CONFIG_FILES([nix/scripts/substitute],
[chmod +x nix/scripts/substitute])
AC_CONFIG_FILES([nix/scripts/guix-authenticate],
[chmod +x nix/scripts/guix-authenticate])
AC_CONFIG_FILES([nix/scripts/offload],
+20 -6
View File
@@ -2,12 +2,15 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.68)
AC_INIT([GNU Guix], [0.8], [bug-guix@gnu.org], [guix],
AC_INIT([GNU Guix], [0.8.2], [bug-guix@gnu.org], [guix],
[http://www.gnu.org/software/guix/])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.12 gnu silent-rules subdir-objects \
color-tests parallel-tests -Woverride])
color-tests parallel-tests -Woverride -Wno-portability])
# Enable silent rules by default.
AM_SILENT_RULES([yes])
AC_CONFIG_SRCDIR([guix.scm])
AC_CONFIG_MACRO_DIR([m4])
@@ -31,6 +34,13 @@ AC_ARG_WITH(store-dir,
[storedir="/gnu/store"])
AC_SUBST(storedir)
AC_ARG_WITH([bash-completion-dir],
AC_HELP_STRING([--with-bash-completion-dir=DIR],
[name of the Bash completion directory]),
[bashcompletiondir="$withval"],
[bashcompletiondir='${sysconfdir}/bash_completion.d'])
AC_SUBST([bashcompletiondir])
dnl Better be verbose.
AC_MSG_CHECKING([for the store directory])
AC_MSG_RESULT([$storedir])
@@ -50,11 +60,14 @@ AC_SUBST([guix_localstatedir])
AC_SUBST([guix_sysconfdir])
AC_SUBST([guix_sbindir])
dnl We require the pkg.m4 set of macros from pkg-config.
dnl Make sure it's available.
m4_pattern_forbid([PKG_CHECK_MODULES])
GUIX_CHECK_FILE_NAME_LIMITS
PKG_CHECK_MODULES([GUILE], [guile-2.0 >= 2.0.5])
dnl We require pkg.m4 (from pkg-config) and guile.m4 (from Guile.)
dnl Make sure they are available.
m4_pattern_forbid([PKG_CHECK_MODULES])
m4_pattern_forbid([GUILE_MODULE_AVAILABLE])
PKG_CHECK_MODULES([GUILE], [guile-2.0 >= 2.0.7])
AC_PATH_PROG([GUILE], [guile])
AC_PATH_PROG([GUILD], [guild])
if test "x$GUILD" = "x"; then
@@ -185,6 +198,7 @@ AM_CONDITIONAL([HAVE_EMACS], [test "x$EMACS" != "xno"])
emacsuidir="${guilemoduledir}/guix/emacs"
AC_SUBST([emacsuidir])
AC_CONFIG_FILES([emacs/guix-init.el
emacs/guix-profiles.el
emacs/guix-helper.scm])
AC_OUTPUT
+2 -3
View File
@@ -1,5 +1,5 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
#
# This file is part of GNU Guix.
#
@@ -165,7 +165,7 @@ nix/libstore/schema.sql.hh: nix/libstore/schema.sql
nodist_pkglibexec_SCRIPTS = \
nix/scripts/list-runtime-roots \
nix/scripts/substitute-binary
nix/scripts/substitute
if BUILD_DAEMON_OFFLOAD
@@ -180,7 +180,6 @@ nodist_libexec_SCRIPTS = \
nix/scripts/guix-authenticate
EXTRA_DIST += \
nix/sync-with-upstream \
nix/libstore/schema.sql \
nix/AUTHORS \
nix/COPYING
+10 -6
View File
@@ -1,5 +1,5 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013 Andreas Enge <andreas@enge.fr>
#
# This file is part of GNU Guix.
@@ -25,12 +25,16 @@ EXTRA_DIST += \
doc/images/bootstrap-graph.eps \
doc/images/bootstrap-graph.pdf
# Bundle this file so that makeinfo finds it in out-of-source-tree builds.
BUILT_SOURCES += doc/os-config.texi
EXTRA_DIST += doc/os-config.texi
MAINTAINERCLEANFILES = doc/os-config.texi
OS_CONFIG_EXAMPLES_TEXI = \
doc/os-config-bare-bones.texi \
doc/os-config-desktop.texi
doc/os-config.texi: gnu/system/os-config.tmpl
# Bundle this file so that makeinfo finds it in out-of-source-tree builds.
BUILT_SOURCES += $(OS_CONFIG_EXAMPLES_TEXI)
EXTRA_DIST += $(OS_CONFIG_EXAMPLES_TEXI)
MAINTAINERCLEANFILES = $(OS_CONFIG_EXAMPLES_TEXI)
doc/os-config-%.texi: gnu/system/examples/%.tmpl
$(MKDIR_P) "`dirname "$@"`"
cp "$<" "$@"
+20 -4
View File
@@ -24,6 +24,12 @@ guix package}). Specifically, ``guix.el'' makes it easy to:
@node Emacs Initial Setup
@subsection Initial Setup
On the Guix System Distribution (@pxref{GNU Distribution}), ``guix.el''
is ready to use, provided Guix is installed system-wide, which is the
case by default. So if that is what you're using, you can happily skip
this section and read about the fun stuff.
If you're not yet a happy user of GSD, a little bit of setup is needed.
To be able to use ``guix.el'', you need to install the following
packages:
@@ -56,11 +62,21 @@ Manual}):
(require 'guix-init)
@end example
Do not worry about the efficiency of that @code{require} thing. It will
not load the whole ``guix.el'' package, it will just autoload the main
interactive commands (@pxref{Autoload,,, elisp, The GNU Emacs Lisp
Reference Manual}).
By default, along with autoloading (@pxref{Autoload,,, elisp, The GNU
Emacs Lisp Reference Manual}) the main interactive commands for
``guix.el'' (@pxref{Emacs Commands}), requiring @code{guix-init} will
also autoload commands for the Emacs packages installed in your user
profile.
To disable automatic loading of installed Emacs packages, set
@code{guix-package-enable-at-startup} variable to @code{nil} before
requiring @code{guix-init}. This variable has the same meaning for
Emacs packages installed with Guix, as @code{package-enable-at-startup}
for the built-in Emacs package system (@pxref{Package Installation,,,
emacs, The GNU Emacs Manual}).
You can activate Emacs packages installed in your profile whenever you
want using @kbd{M-x@tie{}guix-emacs-load-autoloads}.
@node Emacs Usage
@subsection Usage
+1515 -219
View File
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -21,6 +21,7 @@ AUTOLOADS = emacs/guix-autoloads.el
ELFILES = \
emacs/guix-backend.el \
emacs/guix-base.el \
emacs/guix-emacs.el \
emacs/guix-history.el \
emacs/guix-info.el \
emacs/guix-list.el \
@@ -36,7 +37,8 @@ dist_lisp_DATA = \
$(AUTOLOADS)
nodist_lisp_DATA = \
emacs/guix-init.el
emacs/guix-init.el \
emacs/guix-profiles.el
$(AUTOLOADS): $(ELFILES)
$(EMACS) --batch --eval \
+5 -2
View File
@@ -52,6 +52,7 @@
;;; Code:
(require 'geiser-mode)
(require 'guix-emacs)
(defvar guix-load-path
(file-name-directory (or load-file-name
@@ -125,7 +126,8 @@ This REPL is used for receiving information only if
"Hook run before executing an operation in Guix REPL.")
(defvar guix-after-repl-operation-hook
'(guix-repl-operation-success-message)
'(guix-emacs-load-autoloads-maybe
guix-repl-operation-success-message)
"Hook run after executing successful operation in Guix REPL.")
(defvar guix-repl-operation-p nil
@@ -206,7 +208,8 @@ this address (it should be defined by
;; A mix of the code from `geiser-repl--start-repl' and
;; `geiser-repl--to-repl-buffer'.
(let ((impl 'guile)
(geiser-guile-load-path (list guix-load-path))
(geiser-guile-load-path (cons guix-load-path
geiser-guile-load-path))
(geiser-repl-startup-time guix-repl-startup-time))
(with-current-buffer buffer
(geiser-repl-mode)
+1 -41
View File
@@ -28,52 +28,12 @@
;;; Code:
(require 'cl-lib)
(require 'guix-profiles)
(require 'guix-backend)
(require 'guix-utils)
(require 'guix-history)
(require 'guix-messages)
;;; Profiles
(defvar guix-user-profile
(expand-file-name "~/.guix-profile")
"User profile.")
(defvar guix-default-profile
(concat (or (getenv "NIX_STATE_DIR") "/var/guix")
"/profiles/per-user/"
(getenv "USER")
"/guix-profile")
"Default Guix profile.")
(defvar guix-current-profile guix-default-profile
"Current profile.")
(defun guix-profile-prompt (&optional default)
"Prompt for profile and return it.
Use DEFAULT as a start directory. If it is nil, use
`guix-current-profile'."
(let* ((path (read-file-name "Profile: "
(file-name-directory
(or default guix-current-profile))))
(path (directory-file-name (expand-file-name path))))
(if (string= path guix-user-profile)
guix-default-profile
path)))
(defun guix-set-current-profile (path)
"Set `guix-current-profile' to PATH.
Interactively, prompt for PATH. With prefix, use
`guix-default-profile'."
(interactive
(list (if current-prefix-arg
guix-default-profile
(guix-profile-prompt))))
(setq guix-current-profile path)
(message "Current profile has been set to '%s'."
guix-current-profile))
;;; Parameters of the entries
+79
View File
@@ -0,0 +1,79 @@
;;; guix-emacs.el --- Emacs packages installed with Guix
;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file provides auxiliary code for working with Emacs packages
;; installed with Guix.
;;; Code:
(require 'guix-profiles)
(defcustom guix-emacs-activate-after-operation t
"Activate Emacs packages after installing.
If nil, do not load autoloads of the Emacs packages after
they are successfully installed."
:type 'boolean
:group 'guix)
(defvar guix-emacs-autoloads nil
"List of the last loaded Emacs autoloads.")
(defun guix-emacs-directory (&optional profile)
"Return directory with Emacs packages installed in PROFILE.
If PROFILE is nil, use `guix-user-profile'."
(expand-file-name "share/emacs/site-lisp"
(or profile guix-user-profile)))
(defun guix-emacs-find-autoloads (&optional profile)
"Return list of autoloads of Emacs packages installed in PROFILE.
If PROFILE is nil, use `guix-user-profile'.
Return nil if there are no emacs packages installed in PROFILE."
(let ((dir (guix-emacs-directory profile)))
(if (file-directory-p dir)
(directory-files dir 'full-name "-autoloads\\.el\\'")
(message "Directory '%s' does not exist." dir)
nil)))
;;;###autoload
(defun guix-emacs-load-autoloads (&optional all)
"Load autoloads for Emacs packages installed in a user profile.
If ALL is nil, activate only those packages that were installed
after the last activation, otherwise activate all Emacs packages
installed in `guix-user-profile'."
(interactive "P")
(let* ((autoloads (guix-emacs-find-autoloads))
(files (if all
autoloads
(cl-nset-difference autoloads guix-emacs-autoloads
:test #'string=))))
(dolist (file files)
(load file 'noerror))
(setq guix-emacs-autoloads autoloads)))
(defun guix-emacs-load-autoloads-maybe ()
"Load autoloads for Emacs packages if needed.
See `guix-emacs-activate-after-operation' for details."
(and guix-emacs-activate-after-operation
(guix-emacs-load-autoloads)))
(provide 'guix-emacs)
;;; guix-emacs.el ends here
+1
View File
@@ -50,6 +50,7 @@
(and=> (getenv "HOME")
(cut string-append <> "/.config")))
(cut string-append <> "/guix/latest"))))
(push! module-dir %load-path)
(push! module-dir %load-compiled-path)
(if (and updates-dir (file-exists? updates-dir))
(begin
+13 -6
View File
@@ -1,14 +1,21 @@
(require 'guix-autoloads)
(require 'guix-emacs)
(defvar guix-load-path
(replace-regexp-in-string "${prefix}" "@prefix@" "@emacsuidir@")
"Directory with scheme files for \"guix.el\" package.")
(defvar guix-default-profile
(concat (or (getenv "NIX_STATE_DIR") "@guix_localstatedir@/guix")
"/profiles/per-user/"
(getenv "USER")
"/guix-profile")
"Default Guix profile.")
(defcustom guix-package-enable-at-startup t
"If non-nil, activate Emacs packages installed in a user profile.
Set this variable to nil before requiring `guix-init' file to
avoid loading autoloads of Emacs packages installed in
`guix-user-profile'."
:type 'boolean
:group 'guix)
(add-to-list 'load-path (guix-emacs-directory))
(when guix-package-enable-at-startup
(guix-emacs-load-autoloads 'all))
(provide 'guix-init)
+5 -1
View File
@@ -853,10 +853,13 @@ OUTPUTS is a list of package outputs (may be an empty list)."
(unless (and (null? install) (null? remove))
(with-store store
(let* ((derivation (run-with-store store
(profile-derivation new-manifest)))
(mbegin %store-monad
(set-guile-for-build (default-guile))
(profile-derivation new-manifest))))
(derivations (list derivation))
(new-profile (derivation->output-path derivation)))
(set-build-options store
#:print-build-trace #f
#:use-substitutes? use-substitutes?)
(show-manifest-transaction store manifest transaction
#:dry-run? dry-run?)
@@ -908,6 +911,7 @@ GENERATIONS is a list of generation numbers."
(let* ((derivation (package-source-derivation store source))
(derivations (list derivation)))
(set-build-options store
#:print-build-trace #f
#:use-substitutes? use-substitutes?)
(show-what-to-build store derivations
#:use-substitutes? use-substitutes?
+62
View File
@@ -0,0 +1,62 @@
;;; guix-profiles.el --- Guix profiles
;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
;; GNU Guix is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Guix is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Code:
(defvar guix-user-profile
(expand-file-name "~/.guix-profile")
"User profile.")
(defvar guix-default-profile
(concat (or (getenv "NIX_STATE_DIR") "@guix_localstatedir@/guix")
"/profiles/per-user/"
(getenv "USER")
"/guix-profile")
"Default Guix profile.")
(defvar guix-current-profile guix-default-profile
"Current profile.")
(defun guix-profile-prompt (&optional default)
"Prompt for profile and return it.
Use DEFAULT as a start directory. If it is nil, use
`guix-current-profile'."
(let* ((path (read-file-name "Profile: "
(file-name-directory
(or default guix-current-profile))))
(path (directory-file-name (expand-file-name path))))
(if (string= path guix-user-profile)
guix-default-profile
path)))
(defun guix-set-current-profile (path)
"Set `guix-current-profile' to PATH.
Interactively, prompt for PATH. With prefix, use
`guix-default-profile'."
(interactive
(list (if current-prefix-arg
guix-default-profile
(guix-profile-prompt))))
(setq guix-current-profile path)
(message "Current profile has been set to '%s'."
guix-current-profile))
(provide 'guix-profiles)
;;; guix-profiles.el ends here
+139
View File
@@ -0,0 +1,139 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
#
# This file is part of GNU Guix.
#
# GNU Guix is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# GNU Guix is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
# Bash completion for Guix commands.
_guix_complete_available_package ()
{
local prefix="$1"
local packages="$(${COMP_WORDS[0]} package -A "^$prefix" | cut -f1)"
COMPREPLY=($(compgen -W "$packages" -- "$prefix"))
}
_guix_complete_installed_package ()
{
local prefix="$1"
local packages="$(${COMP_WORDS[0]} package -I "^$prefix" | cut -f1)"
COMPREPLY=($(compgen -W "$packages" -- "$prefix"))
}
_guix_complete_option ()
{
local options="$(${COMP_WORDS[0]} ${COMP_WORDS[1]} --help \
| grep '^ \+-' \
| sed -e's/^.*--\([a-zA-Z0-9_-]\+\)\(=\?\).*/--\1\2/g' )"
compopt -o nospace
COMPREPLY=($(compgen -W "$options" -- "${COMP_WORDS[$word_count - 1]}"))
}
_guix_is_command ()
{
local word
local result="false"
for word in ${COMP_WORDS[*]}
do
if [ "$word" = "$1" ]
then
result=true
break
fi
done
$result
}
_guix_is_removing ()
{
local word
local result="false"
for word in ${COMP_WORDS[*]}
do
case "$word" in
--remove|--remove=*|-r)
result=true
break
;;
esac
done
$result
}
_guix_is_dash_L ()
{
[ "${COMP_WORDS[$COMP_CWORD - 1]}" = "-L" ] \
|| { case "${COMP_WORDS[$COMP_CWORD]}" in
--load-path=*) true;;
*) false;;
esac }
}
_guix_complete_file ()
{
# Let Readline complete file names.
compopt -o default
COMPREPLY=()
}
_guix_complete ()
{
local word_count=${#COMP_WORDS[*]}
local word_at_point="${COMP_WORDS[$COMP_CWORD]}"
if [ "$COMP_CWORD" -gt 1 ]
then
case "$word_at_point" in
-*)
_guix_complete_option "$word_at_point"
return
;;
esac
fi
case $COMP_CWORD in
1)
local subcommands="$(guix --help | grep '^ ' | cut -c 2-)"
COMPREPLY=($(compgen -W "$subcommands" -- "$word_at_point"))
;;
*)
if _guix_is_command "package"
then
if _guix_is_dash_L
then
_guix_complete_file
elif _guix_is_removing
then
_guix_complete_installed_package "$word_at_point"
else
_guix_complete_available_package "$word_at_point"
fi
elif _guix_is_command "system"
then
_guix_complete_file # TODO: complete sub-commands
elif _guix_is_command "hash"
then
_guix_complete_file
elif _guix_is_command "import" # TODO: complete sub-commands
then
_guix_complete_file
else
_guix_complete_available_package "$word_at_point"
fi
;;
esac
}
complete -F _guix_complete guix
+224 -36
View File
@@ -1,7 +1,7 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
# Copyright © 2013, 2014 Mark H Weaver <mhw@netris.org>
# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
# Copyright © 2013, 2014, 2015 Mark H Weaver <mhw@netris.org>
#
# This file is part of GNU Guix.
#
@@ -25,6 +25,7 @@ GNU_SYSTEM_MODULES = \
gnu.scm \
gnu/artwork.scm \
gnu/packages.scm \
gnu/packages/aarddict.scm \
gnu/packages/abiword.scm \
gnu/packages/acct.scm \
gnu/packages/acl.scm \
@@ -37,13 +38,17 @@ GNU_SYSTEM_MODULES = \
gnu/packages/asciidoc.scm \
gnu/packages/aspell.scm \
gnu/packages/attr.scm \
gnu/packages/audacity.scm \
gnu/packages/audio.scm \
gnu/packages/autogen.scm \
gnu/packages/autotools.scm \
gnu/packages/avahi.scm \
gnu/packages/avr.scm \
gnu/packages/backup.scm \
gnu/packages/base.scm \
gnu/packages/bash.scm \
gnu/packages/bdw-gc.scm \
gnu/packages/bioinformatics.scm \
gnu/packages/bittorrent.scm \
gnu/packages/bison.scm \
gnu/packages/boost.scm \
@@ -52,12 +57,12 @@ GNU_SYSTEM_MODULES = \
gnu/packages/calcurse.scm \
gnu/packages/ccache.scm \
gnu/packages/cdrom.scm \
gnu/packages/cflow.scm \
gnu/packages/certs.scm \
gnu/packages/check.scm \
gnu/packages/cmake.scm \
gnu/packages/code.scm \
gnu/packages/commencement.scm \
gnu/packages/compression.scm \
gnu/packages/complexity.scm \
gnu/packages/conkeror.scm \
gnu/packages/cook.scm \
gnu/packages/cpio.scm \
@@ -65,22 +70,30 @@ GNU_SYSTEM_MODULES = \
gnu/packages/cross-base.scm \
gnu/packages/crypto.scm \
gnu/packages/cryptsetup.scm \
gnu/packages/cups.scm \
gnu/packages/curl.scm \
gnu/packages/cursynth.scm \
gnu/packages/cyrus-sasl.scm \
gnu/packages/databases.scm \
gnu/packages/datamash.scm \
gnu/packages/dc.scm \
gnu/packages/debug.scm \
gnu/packages/dejagnu.scm \
gnu/packages/dictionaries.scm \
gnu/packages/disk.scm \
gnu/packages/djvu.scm \
gnu/packages/dns.scm \
gnu/packages/docbook.scm \
gnu/packages/doxygen.scm \
gnu/packages/dwm.scm \
gnu/packages/ebook.scm \
gnu/packages/ed.scm \
gnu/packages/elf.scm \
gnu/packages/emacs.scm \
gnu/packages/enchant.scm \
gnu/packages/engineering.scm \
gnu/packages/enlightenment.scm \
gnu/packages/fcitx.scm \
gnu/packages/feh.scm \
gnu/packages/file.scm \
gnu/packages/firmware.scm \
@@ -90,9 +103,12 @@ GNU_SYSTEM_MODULES = \
gnu/packages/fltk.scm \
gnu/packages/fonts.scm \
gnu/packages/fontutils.scm \
gnu/packages/freedesktop.scm \
gnu/packages/freeipmi.scm \
gnu/packages/ftp.scm \
gnu/packages/fribidi.scm \
gnu/packages/fvwm.scm \
gnu/packages/game-development.scm \
gnu/packages/games.scm \
gnu/packages/gawk.scm \
gnu/packages/gcal.scm \
@@ -107,8 +123,8 @@ GNU_SYSTEM_MODULES = \
gnu/packages/gkrellm.scm \
gnu/packages/gl.scm \
gnu/packages/glib.scm \
gnu/packages/global.scm \
gnu/packages/gnome.scm \
gnu/packages/gnucash.scm \
gnu/packages/gnunet.scm \
gnu/packages/gnupg.scm \
gnu/packages/gnustep.scm \
@@ -118,6 +134,7 @@ GNU_SYSTEM_MODULES = \
gnu/packages/gperf.scm \
gnu/packages/gprolog.scm \
gnu/packages/gps.scm \
gnu/packages/graphics.scm \
gnu/packages/graphviz.scm \
gnu/packages/groff.scm \
gnu/packages/grub.scm \
@@ -129,8 +146,10 @@ GNU_SYSTEM_MODULES = \
gnu/packages/guile-wm.scm \
gnu/packages/gv.scm \
gnu/packages/gxmessage.scm \
gnu/packages/haskell.scm \
gnu/packages/hugs.scm \
gnu/packages/hurd.scm \
gnu/packages/ibus.scm \
gnu/packages/icu4c.scm \
gnu/packages/idutils.scm \
gnu/packages/image.scm \
@@ -139,30 +158,42 @@ GNU_SYSTEM_MODULES = \
gnu/packages/inkscape.scm \
gnu/packages/irssi.scm \
gnu/packages/iso-codes.scm \
gnu/packages/java.scm \
gnu/packages/jemalloc.scm \
gnu/packages/jrnl.scm \
gnu/packages/julia.scm \
gnu/packages/kde.scm \
gnu/packages/ld-wrapper.scm \
gnu/packages/key-mon.scm \
gnu/packages/language.scm \
gnu/packages/less.scm \
gnu/packages/lesstif.scm \
gnu/packages/libcanberra.scm \
gnu/packages/libdaemon.scm \
gnu/packages/libedit.scm \
gnu/packages/libevent.scm \
gnu/packages/libffcall.scm \
gnu/packages/libffi.scm \
gnu/packages/libftdi.scm \
gnu/packages/calendar.scm \
gnu/packages/libidn.scm \
gnu/packages/libphidget.scm \
gnu/packages/libreoffice.scm \
gnu/packages/libsigsegv.scm \
gnu/packages/libunistring.scm \
gnu/packages/libusb.scm \
gnu/packages/libunwind.scm \
gnu/packages/libupnp.scm \
gnu/packages/lightning.scm \
gnu/packages/links.scm \
gnu/packages/linux.scm \
gnu/packages/lirc.scm \
gnu/packages/lisp.scm \
gnu/packages/llvm.scm \
gnu/packages/lout.scm \
gnu/packages/lsh.scm \
gnu/packages/lsof.scm \
gnu/packages/lua.scm \
gnu/packages/lxqt.scm \
gnu/packages/lynx.scm \
gnu/packages/m4.scm \
gnu/packages/man.scm \
@@ -172,26 +203,33 @@ GNU_SYSTEM_MODULES = \
gnu/packages/mc.scm \
gnu/packages/mcrypt.scm \
gnu/packages/messaging.scm \
gnu/packages/mg.scm \
gnu/packages/miscfiles.scm \
gnu/packages/mit-krb5.scm \
gnu/packages/moe.scm \
gnu/packages/moreutils.scm \
gnu/packages/mpd.scm \
gnu/packages/mp3.scm \
gnu/packages/mpi.scm \
gnu/packages/multiprecision.scm \
gnu/packages/music.scm \
gnu/packages/mtools.scm \
gnu/packages/nano.scm \
gnu/packages/ncdu.scm \
gnu/packages/ncurses.scm \
gnu/packages/netpbm.scm \
gnu/packages/nettle.scm \
gnu/packages/networking.scm \
gnu/packages/ninja.scm \
gnu/packages/node.scm \
gnu/packages/noweb.scm \
gnu/packages/ntp.scm \
gnu/packages/nutrition.scm \
gnu/packages/nvi.scm \
gnu/packages/ocaml.scm \
gnu/packages/ocrad.scm \
gnu/packages/ocr.scm \
gnu/packages/onc-rpc.scm \
gnu/packages/openbox.scm \
gnu/packages/openldap.scm \
gnu/packages/openssl.scm \
gnu/packages/orpheus.scm \
@@ -211,12 +249,14 @@ GNU_SYSTEM_MODULES = \
gnu/packages/popt.scm \
gnu/packages/pth.scm \
gnu/packages/pulseaudio.scm \
gnu/packages/pumpio.scm \
gnu/packages/pretty-print.scm \
gnu/packages/protobuf.scm \
gnu/packages/python.scm \
gnu/packages/qemu.scm \
gnu/packages/qt.scm \
gnu/packages/ratpoison.scm \
gnu/packages/rdesktop.scm \
gnu/packages/rdf.scm \
gnu/packages/readline.scm \
gnu/packages/rrdtool.scm \
@@ -224,30 +264,37 @@ GNU_SYSTEM_MODULES = \
gnu/packages/ruby.scm \
gnu/packages/rush.scm \
gnu/packages/samba.scm \
gnu/packages/sawfish.scm \
gnu/packages/scanner.scm \
gnu/packages/scheme.scm \
gnu/packages/screen.scm \
gnu/packages/scrot.scm \
gnu/packages/sdl.scm \
gnu/packages/search.scm \
gnu/packages/serveez.scm \
gnu/packages/shishi.scm \
gnu/packages/skribilo.scm \
gnu/packages/slang.scm \
gnu/packages/slim.scm \
gnu/packages/smalltalk.scm \
gnu/packages/ssh.scm \
gnu/packages/stalonetray.scm \
gnu/packages/statistics.scm \
gnu/packages/swig.scm \
gnu/packages/sxiv.scm \
gnu/packages/synergy.scm \
gnu/packages/task-management.scm \
gnu/packages/tbb.scm \
gnu/packages/tcl.scm \
gnu/packages/tcsh.scm \
gnu/packages/telephony.scm \
gnu/packages/texinfo.scm \
gnu/packages/texlive.scm \
gnu/packages/textutils.scm \
gnu/packages/time.scm \
gnu/packages/tmux.scm \
gnu/packages/tor.scm \
gnu/packages/unclutter.scm \
gnu/packages/tre.scm \
gnu/packages/tv.scm \
gnu/packages/unrtf.scm \
gnu/packages/upnp.scm \
gnu/packages/uucp.scm \
@@ -260,18 +307,23 @@ GNU_SYSTEM_MODULES = \
gnu/packages/w3m.scm \
gnu/packages/wdiff.scm \
gnu/packages/web.scm \
gnu/packages/webkit.scm \
gnu/packages/weechat.scm \
gnu/packages/wget.scm \
gnu/packages/which.scm \
gnu/packages/wicd.scm \
gnu/packages/wine.scm \
gnu/packages/wordnet.scm \
gnu/packages/wv.scm \
gnu/packages/wxwidgets.scm \
gnu/packages/xfig.scm \
gnu/packages/xiph.scm \
gnu/packages/xlockmore.scm \
gnu/packages/xml.scm \
gnu/packages/xnee.scm \
gnu/packages/xdisorg.scm \
gnu/packages/xorg.scm \
gnu/packages/xfce.scm \
gnu/packages/yasm.scm \
gnu/packages/yubico.scm \
gnu/packages/zile.scm \
gnu/packages/zip.scm \
gnu/packages/zsh.scm \
@@ -279,8 +331,10 @@ GNU_SYSTEM_MODULES = \
gnu/services.scm \
gnu/services/avahi.scm \
gnu/services/base.scm \
gnu/services/dbus.scm \
gnu/services/databases.scm \
gnu/services/desktop.scm \
gnu/services/dmd.scm \
gnu/services/lirc.scm \
gnu/services/networking.scm \
gnu/services/ssh.scm \
gnu/services/xorg.scm \
@@ -291,6 +345,8 @@ GNU_SYSTEM_MODULES = \
gnu/system/install.scm \
gnu/system/linux.scm \
gnu/system/linux-initrd.scm \
gnu/system/locale.scm \
gnu/system/nss.scm \
gnu/system/shadow.scm \
gnu/system/vm.scm \
\
@@ -299,6 +355,7 @@ GNU_SYSTEM_MODULES = \
gnu/build/install.scm \
gnu/build/linux-boot.scm \
gnu/build/linux-initrd.scm \
gnu/build/linux-modules.scm \
gnu/build/vm.scm
@@ -310,24 +367,44 @@ dist_patch_DATA = \
gnu/packages/patches/abiword-pass-no-undefined-to-linker.patch \
gnu/packages/patches/abiword-use-proper-png-api.patch \
gnu/packages/patches/abiword-wmf-version-lookup-fix.patch \
gnu/packages/patches/aegis-constness-error.patch \
gnu/packages/patches/aegis-perl-tempdir1.patch \
gnu/packages/patches/aegis-perl-tempdir2.patch \
gnu/packages/patches/aegis-test-fixup-1.patch \
gnu/packages/patches/aegis-test-fixup-2.patch \
gnu/packages/patches/agg-am_c_prototype.patch \
gnu/packages/patches/alsa-lib-mips-atomic-fix.patch \
gnu/packages/patches/apr-skip-getservbyname-test.patch \
gnu/packages/patches/ath9k-htc-firmware-binutils.patch \
gnu/packages/patches/ath9k-htc-firmware-gcc.patch \
gnu/packages/patches/ath9k-htc-firmware-objcopy.patch \
gnu/packages/patches/audacity-fix-ffmpeg-binding.patch \
gnu/packages/patches/automake-skip-amhello-tests.patch \
gnu/packages/patches/avahi-localstatedir.patch \
gnu/packages/patches/avrdude-fix-libusb.patch \
gnu/packages/patches/bash-completion-directories.patch \
gnu/packages/patches/bowtie-fix-makefile.patch \
gnu/packages/patches/bigloo-gc-shebangs.patch \
gnu/packages/patches/binutils-ld-new-dtags.patch \
gnu/packages/patches/binutils-loongson-workaround.patch \
gnu/packages/patches/calibre-drop-unrar.patch \
gnu/packages/patches/calibre-no-updates-dialog.patch \
gnu/packages/patches/cdparanoia-fpic.patch \
gnu/packages/patches/chmlib-inttypes.patch \
gnu/packages/patches/clucene-pkgconfig.patch \
gnu/packages/patches/cmake-fix-tests.patch \
gnu/packages/patches/coreutils-dummy-man.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt1.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt2.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt3.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt4.patch \
gnu/packages/patches/cpio-CVE-2014-9112-pt5.patch \
gnu/packages/patches/cpio-gets-undeclared.patch \
gnu/packages/patches/cpufrequtils-fix-aclocal.patch \
gnu/packages/patches/crossmap-allow-system-pysam.patch \
gnu/packages/patches/cssc-gets-undeclared.patch \
gnu/packages/patches/cssc-missing-include.patch \
gnu/packages/patches/clucene-contribs-lib.patch \
gnu/packages/patches/cursynth-wave-rand.patch \
gnu/packages/patches/dbus-localstatedir.patch \
gnu/packages/patches/diffutils-gets-undeclared.patch \
@@ -336,108 +413,207 @@ dist_patch_DATA = \
gnu/packages/patches/doxygen-tmake.patch \
gnu/packages/patches/duplicity-piped-password.patch \
gnu/packages/patches/duplicity-test_selection-tmp.patch \
gnu/packages/patches/elfutils-tests-ptrace.patch \
gnu/packages/patches/emacs-exec-path.patch \
gnu/packages/patches/eudev-rules-directory.patch \
gnu/packages/patches/file-CVE-2014-3587.patch \
gnu/packages/patches/findutils-absolute-paths.patch \
gnu/packages/patches/flashrom-use-libftdi1.patch \
gnu/packages/patches/flex-bison-tests.patch \
gnu/packages/patches/fltk-shared-lib-defines.patch \
gnu/packages/patches/gawk-shell.patch \
gnu/packages/patches/gcc-arm-link-spec-fix.patch \
gnu/packages/patches/gcc-cross-environment-variables.patch \
gnu/packages/patches/gcc-fix-pr61801.patch \
gnu/packages/patches/gd-mips64-deplibs-fix.patch \
gnu/packages/patches/gcc-libvtv-runpath.patch \
gnu/packages/patches/gcc-5.0-libvtv-runpath.patch \
gnu/packages/patches/geoclue-config.patch \
gnu/packages/patches/ghostscript-runpath.patch \
gnu/packages/patches/gitolite-openssh-6.8-compat.patch \
gnu/packages/patches/glib-tests-desktop.patch \
gnu/packages/patches/glib-tests-homedir.patch \
gnu/packages/patches/glib-tests-prlimit.patch \
gnu/packages/patches/glib-tests-timer.patch \
gnu/packages/patches/glib-tests-gapplication.patch \
gnu/packages/patches/glibc-bootstrap-system.patch \
gnu/packages/patches/glibc-ldd-x86_64.patch \
gnu/packages/patches/gnunet-fix-scheduler.patch \
gnu/packages/patches/gnunet-fix-tests.patch \
gnu/packages/patches/glibc-locales.patch \
gnu/packages/patches/gmp-arm-asm-nothumb.patch \
gnu/packages/patches/gnutls-fix-duplicate-manpages.patch \
gnu/packages/patches/gobject-introspection-absolute-shlib-path.patch \
gnu/packages/patches/gobject-introspection-cc.patch \
gnu/packages/patches/gobject-introspection-girepository.patch \
gnu/packages/patches/grep-CVE-2015-1345.patch \
gnu/packages/patches/grub-gets-undeclared.patch \
gnu/packages/patches/gstreamer-0.10-bison3.patch \
gnu/packages/patches/gstreamer-0.10-silly-test.patch \
gnu/packages/patches/grub-freetype.patch \
gnu/packages/patches/guile-1.8-cpp-4.5.patch \
gnu/packages/patches/guile-arm-fixes.patch \
gnu/packages/patches/guile-default-utf8.patch \
gnu/packages/patches/guile-linux-syscalls.patch \
gnu/packages/patches/guile-relocatable.patch \
gnu/packages/patches/guix-test-networking.patch \
gnu/packages/patches/gtkglext-disable-disable-deprecated.patch \
gnu/packages/patches/hop-bigloo-4.0b.patch \
gnu/packages/patches/icu4c-test-date-format.patch \
gnu/packages/patches/inkscape-stray-comma.patch \
gnu/packages/patches/hop-linker-flags.patch \
gnu/packages/patches/icecat-CVE-2015-0797.patch \
gnu/packages/patches/icecat-CVE-2015-2708-pt1.patch \
gnu/packages/patches/icecat-CVE-2015-2708-pt2.patch \
gnu/packages/patches/icecat-CVE-2015-2708-pt3.patch \
gnu/packages/patches/icecat-CVE-2015-2708-pt4.patch \
gnu/packages/patches/icecat-CVE-2015-2710-pt1.patch \
gnu/packages/patches/icecat-CVE-2015-2710-pt2.patch \
gnu/packages/patches/icecat-CVE-2015-2710-pt3.patch \
gnu/packages/patches/icecat-CVE-2015-2713-pt1.patch \
gnu/packages/patches/icecat-CVE-2015-2713-pt2.patch \
gnu/packages/patches/icecat-CVE-2015-2716.patch \
gnu/packages/patches/irrlicht-mesa-10.patch \
gnu/packages/patches/jbig2dec-ignore-testtest.patch \
gnu/packages/patches/kmod-module-directory.patch \
gnu/packages/patches/lftp-dont-save-unknown-host-fingerprint.patch \
gnu/packages/patches/libarchive-CVE-2013-0211.patch \
gnu/packages/patches/libarchive-fix-lzo-test-case.patch \
gnu/packages/patches/libarchive-mtree-filename-length-fix.patch \
gnu/packages/patches/libbonobo-activation-test-race.patch \
gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch \
gnu/packages/patches/libevent-dns-tests.patch \
gnu/packages/patches/liboop-mips64-deplibs-fix.patch \
gnu/packages/patches/libmad-mips-newgcc.patch \
gnu/packages/patches/libtheora-config-guess.patch \
gnu/packages/patches/libtool-skip-tests.patch \
gnu/packages/patches/libtool-skip-tests-for-mips.patch \
gnu/packages/patches/libtool-skip-tests2.patch \
gnu/packages/patches/libssh-CVE-2014-0017.patch \
gnu/packages/patches/libvpx-fix-armhf-link.patch \
gnu/packages/patches/libvpx-fix-ssse3-quantize.patch \
gnu/packages/patches/libvpx-vp9-out-of-bounds-access.patch \
gnu/packages/patches/lirc-localstatedir.patch \
gnu/packages/patches/lm-sensors-hwmon-attrs.patch \
gnu/packages/patches/lua51-liblua-so.patch \
gnu/packages/patches/luajit-no_ldconfig.patch \
gnu/packages/patches/luajit-symlinks.patch \
gnu/packages/patches/luit-posix.patch \
gnu/packages/patches/m4-gets-undeclared.patch \
gnu/packages/patches/m4-readlink-EINVAL.patch \
gnu/packages/patches/make-impure-dirs.patch \
gnu/packages/patches/mc-fix-ncurses-build.patch \
gnu/packages/patches/mcron-install.patch \
gnu/packages/patches/mhash-keygen-test-segfault.patch \
gnu/packages/patches/minetest-subgame-env-var.patch \
gnu/packages/patches/mit-krb5-init-fix.patch \
gnu/packages/patches/mpc123-initialize-ao.patch \
gnu/packages/patches/mplayer2-theora-fix.patch \
gnu/packages/patches/module-init-tools-moduledir.patch \
gnu/packages/patches/mupdf-buildsystem-fix.patch \
gnu/packages/patches/mutt-CVE-2014-9116.patch \
gnu/packages/patches/net-tools-bitrot.patch \
gnu/packages/patches/nvi-assume-preserve-path.patch \
gnu/packages/patches/ngircd-handle-zombies.patch \
gnu/packages/patches/ngircd-no-dns-in-tests.patch \
gnu/packages/patches/ninja-tests.patch \
gnu/packages/patches/nss-pkgconfig.patch \
gnu/packages/patches/nvi-assume-preserve-path.patch \
gnu/packages/patches/nvi-dbpagesize-binpower.patch \
gnu/packages/patches/nvi-db4.patch \
gnu/packages/patches/openexr-missing-samples.patch \
gnu/packages/patches/openssl-runpath.patch \
gnu/packages/patches/orpheus-cast-errors-and-includes.patch \
gnu/packages/patches/ots-no-include-missing-file.patch \
gnu/packages/patches/patchelf-page-size.patch \
gnu/packages/patches/patchelf-rework-for-arm.patch \
gnu/packages/patches/patchutils-xfail-gendiff-tests.patch \
gnu/packages/patches/pavucontrol-sigsegv.patch \
gnu/packages/patches/perl-gd-options-passthrough-and-fontconfig.patch \
gnu/packages/patches/perl-module-pluggable-search.patch \
gnu/packages/patches/perl-net-amazon-s3-moose-warning.patch \
gnu/packages/patches/perl-no-sys-dirs.patch \
gnu/packages/patches/perl-tk-x11-discover.patch \
gnu/packages/patches/petsc-fix-threadcomm.patch \
gnu/packages/patches/pingus-sdl-libs-config.patch \
gnu/packages/patches/plotutils-libpng-jmpbuf.patch \
gnu/packages/patches/polkit-drop-test.patch \
gnu/packages/patches/portaudio-audacity-compat.patch \
gnu/packages/patches/procps-make-3.82.patch \
gnu/packages/patches/pulseaudio-CVE-2014-3970.patch \
gnu/packages/patches/pulseaudio-fix-mult-test.patch \
gnu/packages/patches/pulseaudio-longer-test-timeout.patch \
gnu/packages/patches/pycairo-wscript.patch \
gnu/packages/patches/pybugz-encode-error.patch \
gnu/packages/patches/pybugz-stty.patch \
gnu/packages/patches/pyqt-configure.patch \
gnu/packages/patches/python-fix-tests.patch \
gnu/packages/patches/python-libffi-mips-n32-fix.patch \
gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch \
gnu/packages/patches/python2-sqlite-3.8.4-test-fix.patch \
gnu/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch \
gnu/packages/patches/qt4-ldflags.patch \
gnu/packages/patches/qt4-tests.patch \
gnu/packages/patches/qt5-conflicting-typedefs.patch \
gnu/packages/patches/qt5-runpath.patch \
gnu/packages/patches/ratpoison-shell.patch \
gnu/packages/patches/readline-link-ncurses.patch \
gnu/packages/patches/ripperx-libm.patch \
gnu/packages/patches/scheme48-tests.patch \
gnu/packages/patches/scotch-test-threading.patch \
gnu/packages/patches/sdl-libx11-1.6.patch \
gnu/packages/patches/serf-comment-style-fix.patch \
gnu/packages/patches/serf-deflate-buckets-test-fix.patch \
gnu/packages/patches/slim-session.patch \
gnu/packages/patches/slim-config.patch \
gnu/packages/patches/slim-sigusr1.patch \
gnu/packages/patches/soprano-find-clucene.patch \
gnu/packages/patches/source-highlight-regexrange-test.patch \
gnu/packages/patches/sqlite-large-page-size-fix.patch \
gnu/packages/patches/subversion-sqlite-3.8.9-fix.patch \
gnu/packages/patches/superlu-dist-scotchmetis.patch \
gnu/packages/patches/tcsh-fix-autotest.patch \
gnu/packages/patches/teckit-cstdio.patch \
gnu/packages/patches/texi2html-document-encoding.patch \
gnu/packages/patches/texi2html-i18n.patch \
gnu/packages/patches/udev-gir-libtool.patch \
gnu/packages/patches/util-linux-perl.patch \
gnu/packages/patches/tvtime-gcc41.patch \
gnu/packages/patches/tvtime-pngoutput.patch \
gnu/packages/patches/tvtime-videodev2.patch \
gnu/packages/patches/tvtime-xmltv.patch \
gnu/packages/patches/unzip-CVE-2014-8139.patch \
gnu/packages/patches/unzip-CVE-2014-8140.patch \
gnu/packages/patches/unzip-CVE-2014-8141.patch \
gnu/packages/patches/util-linux-tests.patch \
gnu/packages/patches/upower-builddir.patch \
gnu/packages/patches/valgrind-glibc-2.21.patch \
gnu/packages/patches/vpnc-script.patch \
gnu/packages/patches/vtk-mesa-10.patch \
gnu/packages/patches/w3m-fix-compile.patch \
gnu/packages/patches/xf86-input-synaptics-glibc-2.20.patch \
gnu/packages/patches/xmodmap-asprintf.patch
gnu/packages/patches/webkitgtk-2.4.8-gmutexlocker.patch \
gnu/packages/patches/weex-vacopy.patch \
gnu/packages/patches/wicd-template-instantiation.patch \
gnu/packages/patches/wicd-urwid-1.3.patch \
gnu/packages/patches/wmctrl-64-fix.patch \
gnu/packages/patches/wpa-supplicant-CVE-2015-1863.patch \
gnu/packages/patches/wpa-supplicant-2015-2-fix.patch \
gnu/packages/patches/wpa-supplicant-2015-3-fix.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt1.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt2.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt3.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt4.patch \
gnu/packages/patches/wpa-supplicant-2015-4-fix-pt5.patch \
gnu/packages/patches/xf86-video-ark-remove-mibstore.patch \
gnu/packages/patches/xf86-video-ast-remove-mibstore.patch \
gnu/packages/patches/xf86-video-geode-glibc-2.20.patch \
gnu/packages/patches/xf86-video-glint-remove-mibstore.patch \
gnu/packages/patches/xf86-video-i128-remove-mibstore.patch \
gnu/packages/patches/xf86-video-intel-compat-api.patch \
gnu/packages/patches/xf86-video-intel-glibc-2.20.patch \
gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch \
gnu/packages/patches/xf86-video-mga-glibc-2.20.patch \
gnu/packages/patches/xf86-video-nv-remove-mibstore.patch \
gnu/packages/patches/xf86-video-openchrome-glibc-2.20.patch \
gnu/packages/patches/xf86-video-r128-glibc-2.20.patch \
gnu/packages/patches/xf86-video-siliconmotion-remove-mibstore.patch \
gnu/packages/patches/xf86-video-sis-fix-exa-crash.patch \
gnu/packages/patches/xf86-video-sis-update-api.patch \
gnu/packages/patches/xf86-video-tdfx-remove-mibstore.patch \
gnu/packages/patches/xf86-video-tga-remove-mibstore.patch \
gnu/packages/patches/xf86-video-trident-remove-mibstore.patch \
gnu/packages/patches/xf86-video-vmware-glibc-2.20.patch \
gnu/packages/patches/xfce4-panel-plugins.patch \
gnu/packages/patches/xmodmap-asprintf.patch \
gnu/packages/patches/zathura-plugindir-environment-variable.patch
MISC_DISTRO_FILES = \
gnu/packages/ld-wrapper.in
bootstrapdir = $(guilemoduledir)/gnu/packages/bootstrap
bootstrap_x86_64_linuxdir = $(bootstrapdir)/x86_64-linux
bootstrap_i686_linuxdir = $(bootstrapdir)/i686-linux
bootstrap_armhf_linuxdir = $(bootstrapdir)/armhf-linux
bootstrap_mips64el_linuxdir = $(bootstrapdir)/mips64el-linux
dist_bootstrap_x86_64_linux_DATA = \
@@ -452,6 +628,12 @@ dist_bootstrap_i686_linux_DATA = \
gnu/packages/bootstrap/i686-linux/tar \
gnu/packages/bootstrap/i686-linux/xz
dist_bootstrap_armhf_linux_DATA = \
gnu/packages/bootstrap/armhf-linux/bash \
gnu/packages/bootstrap/armhf-linux/mkdir \
gnu/packages/bootstrap/armhf-linux/tar \
gnu/packages/bootstrap/armhf-linux/xz
dist_bootstrap_mips64el_linux_DATA = \
gnu/packages/bootstrap/mips64el-linux/bash \
gnu/packages/bootstrap/mips64el-linux/mkdir \
@@ -464,17 +646,20 @@ nodist_bootstrap_x86_64_linux_DATA = \
gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz
nodist_bootstrap_i686_linux_DATA = \
gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
nodist_bootstrap_armhf_linux_DATA = \
gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
nodist_bootstrap_mips64el_linux_DATA = \
gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
# Those files must remain executable, so they remain executable once
# imported into the store.
install-data-hook:
set-bootstrap-executable-permissions:
chmod +x $(DESTDIR)$(bootstrapdir)/*/{bash,mkdir,tar,xz}
DISTCLEANFILES = \
$(nodist_bootstrap_x86_64_linux_DATA) \
$(nodist_bootstrap_i686_linux_DATA) \
$(nodist_bootstrap_armhf_linux_DATA) \
$(nodist_bootstrap_mips64el_linux_DATA)
# Method to download a file from an external source.
@@ -489,6 +674,9 @@ gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz:
gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz:
$(MKDIR_P) `dirname "$@"`
$(DOWNLOAD_FILE) "$@" "b757cd46bf13ecac83fb8e955fb50096ac2d17bb610ca8eb816f29302a00a846"
gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz:
$(MKDIR_P) `dirname "$@"`
$(DOWNLOAD_FILE) "$@" "e551d05d4d385d6706ab8d574856a087758294dc90ab4c06e70a157a685e23d6"
gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz:
$(MKDIR_P) `dirname "$@"`
$(DOWNLOAD_FILE) "$@" "994680f0001346864aa2c2cc5110f380ee7518dcd701c614291682b8e948f73b"
+16 -2
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Joshua S. Grant <jgrant@parenthetical.io>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -16,7 +17,10 @@
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu))
(define-module (gnu)
#:export (use-package-modules
use-service-modules
use-system-modules))
;;; Commentary:
;;;
@@ -33,6 +37,7 @@
(gnu system linux) ; 'base-pam-services'
(gnu system shadow) ; 'user-account'
(gnu system linux-initrd)
(gnu system nss)
(gnu services)
(gnu services base)
(gnu packages)
@@ -44,4 +49,13 @@
(module-use! i (resolve-interface m))))
%public-modules)))
(define-syntax-rule (use-package-modules module ...)
(use-modules (gnu packages module) ...))
(define-syntax-rule (use-service-modules module ...)
(use-modules (gnu services module) ...))
(define-syntax-rule (use-system-modules module ...)
(use-modules (gnu system module) ...))
;;; gnu.scm ends here
+3 -3
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,9 +32,9 @@
(method git-fetch)
(uri (git-reference
(url "git://git.savannah.gnu.org/guix/guix-artwork.git")
(commit "94e6111")))
(commit "6998d30")))
(sha256
(base32
"0aax85mygpq4lbyn8sriafikyg54yss3lisin6pwkvlvp23a3v1j"))))
"0k7j3pj9s3zqiqmfkapypssvzx3f12yr0cc2rbzxqfii0b4clp1j"))))
;;; artwork.scm ends here
+119 -12
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,6 +30,7 @@
activate-/bin/sh
activate-modprobe
activate-firmware
activate-ptrace-attach
activate-current-system))
;;; Commentary:
@@ -39,6 +41,24 @@
;;;
;;; Code:
(define (enumerate thunk)
"Return the list of values returned by THUNK until it returned #f."
(let loop ((entry (thunk))
(result '()))
(if (not entry)
(reverse result)
(loop (thunk) (cons entry result)))))
(define (current-users)
"Return the passwd entries for all the currently defined user accounts."
(setpw)
(enumerate getpwent))
(define (current-groups)
"Return the group entries for all the currently defined user groups."
(setgr)
(enumerate getgrent))
(define* (add-group name #:key gid password system?
(log-port (current-error-port)))
"Add NAME as a user group, with the given numeric GID if specified."
@@ -50,6 +70,43 @@
,name)))
(zero? (apply system* "groupadd" args))))
(define %skeleton-directory
;; Directory containing skeleton files for new accounts.
;; Note: keep the trailing '/' so that 'scandir' enters it.
"/etc/skel/")
(define (dot-or-dot-dot? file)
(member file '("." "..")))
(define (make-file-writable file)
"Make FILE writable for its owner.."
(let ((stat (lstat file))) ;XXX: symlinks
(chmod file (logior #o600 (stat:perms stat)))))
(define* (copy-account-skeletons home
#:optional (directory %skeleton-directory))
"Copy the account skeletons from DIRECTORY to HOME."
(let ((files (scandir directory (negate dot-or-dot-dot?)
string<?)))
(mkdir-p home)
(for-each (lambda (file)
(let ((target (string-append home "/" file)))
(copy-file (string-append directory "/" file) target)
(make-file-writable target)))
files)))
(define* (make-skeletons-writable home
#:optional (directory %skeleton-directory))
"Make sure that the files that have been copied from DIRECTORY to HOME are
owner-writable in HOME."
(let ((files (scandir directory (negate dot-or-dot-dot?)
string<?)))
(for-each (lambda (file)
(let ((target (string-append home "/" file)))
(when (file-exists? target)
(make-file-writable target))))
files)))
(define* (add-user name group
#:key uid comment home shell password system?
(supplementary-groups '())
@@ -70,6 +127,7 @@ properties. Return #t on success."
(cut format <> "~a:x:~a:~a:~a:~a:~a~%"
name "0" "0" comment home shell))
(chmod "/etc/shadow" #o600)
(copy-account-skeletons (or home "/root"))
#t)
;; Use 'useradd' from the Shadow package.
@@ -88,7 +146,14 @@ properties. Return #t on success."
,@(if password `("-p" ,password) '())
,@(if system? '("--system") '())
,name)))
(zero? (apply system* "useradd" args)))))
(and (zero? (apply system* "useradd" args))
(begin
;; Since /etc/skel is a link to a directory in the store where
;; all files have the writable bit cleared, and since 'useradd'
;; preserves permissions when it copies them, explicitly make
;; them writable.
(make-skeletons-writable home)
#t)))))
(define* (modify-user name group
#:key uid comment home shell password system?
@@ -107,6 +172,17 @@ properties. Return #t on success."
,name)))
(zero? (apply system* "usermod" args))))
(define* (delete-user name #:key (log-port (current-error-port)))
"Remove user account NAME. Return #t on success. This may fail if NAME is
logged in."
(format log-port "deleting user '~a'...~%" name)
(zero? (system* "userdel" name)))
(define* (delete-group name #:key (log-port (current-error-port)))
"Remove group NAME. Return #t on success."
(format log-port "deleting group '~a'...~%" name)
(zero? (system* "groupdel" name)))
(define* (ensure-user name group
#:key uid comment home shell password system?
(supplementary-groups '())
@@ -165,8 +241,22 @@ numeric gid or #f."
#:system? system?))))
groups)
;; Finally create the other user accounts.
(for-each activate-user users))
;; Create the other user accounts.
(for-each activate-user users)
;; Finally, delete extra user accounts and groups.
(for-each delete-user
(lset-difference string=?
(map passwd:name (current-users))
(match users
(((names . _) ...)
names))))
(for-each delete-group
(lset-difference string=?
(map group:name (current-groups))
(match groups
(((names . _) ...)
names)))))
(define (activate-etc etc)
"Install ETC, a directory in the store, as the source of static files for
@@ -180,6 +270,15 @@ numeric gid or #f."
(format #t "populating /etc from ~a...~%" etc)
;; Create the /etc/ssl -> /run/current-system/profile/etc/ssl symlink. This
;; symlink, to a target outside of the store, probably doesn't belong in the
;; static 'etc' store directory. However, if it were to be put there,
;; beware that if /run/current-system/profile/etc/ssl doesn't exist at the
;; time of activation (e.g. when installing a fresh system), the call to
;; 'file-is-directory?' below will fail because it uses 'stat', not 'lstat'.
(rm-f "/etc/ssl")
(symlink "/run/current-system/profile/etc/ssl" "/etc/ssl")
(rm-f "/etc/static")
(symlink etc "/etc/static")
(for-each (lambda (file)
@@ -198,18 +297,12 @@ numeric gid or #f."
;; XXX: Dirty hack to meet sudo's expectations.
(when (string=? (basename target) "sudoers")
(chmod target #o440))))
(scandir etc
(lambda (file)
(not (member file '("." ".."))))
(scandir etc (negate dot-or-dot-dot?)
;; The default is 'string-locale<?', but we don't have
;; it when run from the initrd's statically-linked
;; Guile.
string<?))
;; Prevent ETC from being GC'd.
(rm-f "/var/guix/gcroots/etc-directory")
(symlink etc "/var/guix/gcroots/etc-directory"))
string<?)))
(define %setuid-directory
;; Place where setuid programs are stored.
@@ -268,6 +361,20 @@ by itself, without having to resort to a \"user helper\"."
(lambda (port)
(display directory port))))
(define (activate-ptrace-attach)
"Allow users to PTRACE_ATTACH their own processes.
This works around a regression introduced in the default \"security\" policy
found in Linux 3.4 onward that prevents users from attaching to their own
processes--see Yama.txt in the Linux source tree for the rationale. This
sounds like an unacceptable restriction for little or no security
improvement."
(let ((file "/proc/sys/kernel/yama/ptrace_scope"))
(when (file-exists? file)
(call-with-output-file file
(lambda (port)
(display 0 port))))))
(define %current-system
;; The system that is current (a symlink.) This is not necessarily the same
+11 -9
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -55,6 +55,7 @@
(define MS_NOSUID 2)
(define MS_NODEV 4)
(define MS_NOEXEC 8)
(define MS_REMOUNT 32)
(define MS_BIND 4096)
(define MS_MOVE 8192)
@@ -280,20 +281,21 @@ run a file system check."
(match spec
((source title mount-point type (flags ...) options check?)
(let ((source (canonicalize-device-spec source title))
(mount-point (string-append root "/" mount-point)))
(mount-point (string-append root "/" mount-point))
(flags (mount-flags->bit-mask flags)))
(when check?
(check-file-system source type))
(mkdir-p mount-point)
(mount source mount-point type (mount-flags->bit-mask flags)
(mount source mount-point type flags
(if options
(string->pointer options)
%null-pointer))
;; Update /etc/mtab.
(mkdir-p (string-append root "/etc"))
(let ((port (open-file (string-append root "/etc/mtab") "a")))
(format port "~a ~a ~a ~a 0 0~%"
source mount-point type (or options ""))
(close-port port))))))
;; For read-only bind mounts, an extra remount is needed, as per
;; <http://lwn.net/Articles/281157/>, which still applies to Linux 4.0.
(when (and (= MS_BIND (logand flags MS_BIND))
(= MS_RDONLY (logand flags MS_RDONLY)))
(mount source mount-point type (logior MS_BIND MS_REMOUNT MS_RDONLY)
%null-pointer))))))
;;; file-systems.scm ends here
+52 -5
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,12 +18,14 @@
(define-module (gnu build install)
#:use-module (guix build utils)
#:use-module (guix build store-copy)
#:use-module (srfi srfi-26)
#:use-module (ice-9 match)
#:export (install-grub
populate-root-file-system
reset-timestamps
register-closure))
register-closure
populate-single-profile-directory))
;;; Commentary:
;;;
@@ -36,13 +38,17 @@
(define* (install-grub grub.cfg device mount-point)
"Install GRUB with GRUB.CFG on DEVICE, which is assumed to be mounted on
MOUNT-POINT."
MOUNT-POINT.
Note that the caller must make sure that GRUB.CFG is registered as a GC root
so that the fonts, background images, etc. referred to by GRUB.CFG are not
GC'd."
(let* ((target (string-append mount-point "/boot/grub/grub.cfg"))
(pivot (string-append target ".new")))
(mkdir-p (dirname target))
;; Copy GRUB.CFG instead of just symlinking it since it's not a GC root.
;; Do that atomically.
;; Copy GRUB.CFG instead of just symlinking it, because symlinks won't
;; work when /boot is on a separate partition. Do that atomically.
(copy-file grub.cfg pivot)
(rename-file pivot target)
@@ -114,6 +120,8 @@ STORE."
(directory "/bin")
(directory "/tmp" 0 0 #o1777) ; sticky bit
(directory "/var/tmp" 0 0 #o1777)
(directory "/var/lock" 0 0 #o1777)
(directory "/root" 0 0) ; an exception
(directory "/home" 0 0)))
@@ -152,4 +160,43 @@ by 'guix-register'. As a side effect, this resets timestamps on store files."
(unless (zero? status)
(error "failed to register store items" closure))))
(define* (populate-single-profile-directory directory
#:key profile closure)
"Populate DIRECTORY with a store containing PROFILE, whose closure is given
in the file called CLOSURE (as generated by #:references-graphs.) DIRECTORY
is initialized to contain a single profile under /root pointing to PROFILE.
This is used to create the self-contained Guix tarball."
(define (scope file)
(string-append directory "/" file))
(define %root-profile
"/var/guix/profiles/per-user/root")
(define (mkdir-p* dir)
(mkdir-p (scope dir)))
(define (symlink* old new)
(symlink old (scope new)))
;; Populate the store.
(populate-store (list closure) directory)
(register-closure (canonicalize-path directory) closure)
;; XXX: 'guix-register' registers profiles as GC roots but the symlink
;; target uses $TMPDIR. Fix that.
(delete-file (scope "/var/guix/gcroots/profiles"))
(symlink* "/var/guix/profiles"
"/var/guix/gcroots/profiles")
;; Make root's profile, which makes it a GC root.
(mkdir-p* %root-profile)
(symlink* profile
(string-append %root-profile "/guix-profile-1-link"))
(symlink* (string-append %root-profile "/guix-profile-1-link")
(string-append %root-profile "/guix-profile"))
(mkdir-p* "/root")
(symlink* (string-append %root-profile "/guix-profile")
"/root/.guix-profile"))
;;; install.scm ends here
+52 -52
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,6 +26,7 @@
#:use-module (ice-9 match)
#:use-module (ice-9 ftw)
#:use-module (guix build utils)
#:use-module (gnu build linux-modules)
#:use-module (gnu build file-systems)
#:export (mount-essential-file-systems
linux-command-line
@@ -34,7 +35,6 @@
configure-qemu-networking
bind-mount
load-linux-module*
device-number
boot-system))
@@ -218,14 +218,6 @@ networking values.) Return #t if INTERFACE is up, #f otherwise."
(logand (network-interface-flags sock interface) IFF_UP)))
(define (load-linux-module* file)
"Load Linux module from FILE, the name of a `.ko' file."
(define (slurp module)
;; TODO: Use 'mmap' to reduce memory usage.
(call-with-input-file file get-bytevector-all))
(load-linux-module (slurp file)))
(define (device-number major minor)
"Return the device number for the device with MAJOR and MINOR, for use as
the last argument of `mknod'."
@@ -255,41 +247,38 @@ UNIONFS."
(newline port)
(close-port port)))
(catch #t
(lambda ()
(if volatile-root?
(begin
(mkdir-p "/real-root")
(mount root "/real-root" type MS_RDONLY)
(mkdir-p "/rw-root")
(mount "none" "/rw-root" "tmpfs")
(if volatile-root?
(begin
(mkdir-p "/real-root")
(mount root "/real-root" type MS_RDONLY)
(mkdir-p "/rw-root")
(mount "none" "/rw-root" "tmpfs")
;; We want read-write /dev nodes.
(make-essential-device-nodes #:root "/rw-root")
;; We want read-write /dev nodes.
(make-essential-device-nodes #:root "/rw-root")
;; Make /root a union of the tmpfs and the actual root. Use
;; 'max_files' to set a high RLIMIT_NOFILE for the unionfs process
;; itself. Failing to do that, we quickly run out of file
;; descriptors; see <http://bugs.gnu.org/17827>.
(unless (zero? (system* unionfs "-o"
"cow,allow_other,use_ino,suid,dev,max_files=65536"
"/rw-root=RW:/real-root=RO"
"/root"))
(error "unionfs failed"))
;; Make /root a union of the tmpfs and the actual root. Use
;; 'max_files' to set a high RLIMIT_NOFILE for the unionfs process
;; itself. Failing to do that, we quickly run out of file
;; descriptors; see <http://bugs.gnu.org/17827>.
(unless (zero? (system* unionfs "-o"
"cow,allow_other,use_ino,suid,dev,max_files=65536"
"/rw-root=RW:/real-root=RO"
"/root"))
(error "unionfs failed"))
;; Make sure unionfs remains alive till the end. Because
;; 'fuse_daemonize' doesn't tell the PID of the forked daemon, we
;; have to resort to 'pidof' here.
(mark-as-not-killable (pidof unionfs)))
(begin
(check-file-system root type)
(mount root "/root" type))))
(lambda args
(format (current-error-port) "exception while mounting '~a': ~s~%"
root args)
(start-repl)))
;; Make sure unionfs remains alive till the end. Because
;; 'fuse_daemonize' doesn't tell the PID of the forked daemon, we
;; have to resort to 'pidof' here.
(mark-as-not-killable (pidof unionfs)))
(begin
(check-file-system root type)
(mount root "/root" type)))
(copy-file "/proc/mounts" "/root/etc/mtab"))
;; Make sure /root/etc/mtab is a symlink to /proc/self/mounts.
(false-if-exception
(delete-file "/root/etc/mtab"))
(symlink "/proc/self/mounts" "/root/etc/mtab"))
(define (switch-root root)
"Switch to ROOT as the root file system, in a way similar to what
@@ -338,16 +327,17 @@ bailing out.~%root contents: ~s~%" (scandir "/"))
(define* (boot-system #:key
(linux-modules '())
linux-module-directory
qemu-guest-networking?
volatile-root?
pre-mount
(mounts '()))
"This procedure is meant to be called from an initrd. Boot a system by
first loading LINUX-MODULES (a list of absolute file names of '.ko' files),
then setting up QEMU guest networking if QEMU-GUEST-NETWORKING? is true,
calling PRE-MOUNT, mounting the file systems specified in MOUNTS, and finally
booting into the new root if any. The initrd supports kernel command-line
options '--load', '--root', and '--repl'.
first loading LINUX-MODULES (a list of module names) from
LINUX-MODULE-DIRECTORY, then setting up QEMU guest networking if
QEMU-GUEST-NETWORKING? is true, calling PRE-MOUNT, mounting the file systems
specified in MOUNTS, and finally booting into the new root if any. The initrd
supports kernel command-line options '--load', '--root', and '--repl'.
Mount the root file system, specified by the '--root' command-line argument,
if any.
@@ -368,6 +358,10 @@ to it are lost."
mounts)
"ext4"))
(define (lookup-module name)
(string-append linux-module-directory "/"
(ensure-dot-ko name)))
(display "Welcome, this is GNU's early boot Guile.\n")
(display "Use '--repl' for an initrd REPL.\n\n")
@@ -382,7 +376,10 @@ to it are lost."
(start-repl))
(display "loading kernel modules...\n")
(for-each load-linux-module* linux-modules)
(current-module-debugging-port (current-output-port))
(for-each (cut load-linux-module* <>
#:lookup-module lookup-module)
(map lookup-module linux-modules))
(when qemu-guest-networking?
(unless (configure-qemu-networking)
@@ -394,6 +391,14 @@ to it are lost."
;; Prepare the real root file system under /root.
(unless (file-exists? "/root")
(mkdir "/root"))
(when (procedure? pre-mount)
;; Do whatever actions are needed before mounting the root file
;; system--e.g., installing device mappings. Error out when the
;; return value is false.
(unless (pre-mount)
(error "pre-mount actions failed")))
(if root
(mount-root-file-system (canonicalize-device-spec root)
root-fs-type
@@ -404,11 +409,6 @@ to it are lost."
(mkdir "/root/dev")
(make-essential-device-nodes #:root "/root"))
(when (procedure? pre-mount)
;; Do whatever actions are needed before mounting--e.g., installing
;; device mappings.
(pre-mount))
;; Mount the specified file systems.
(for-each mount-file-system
(remove root-mount-point? mounts))
+166
View File
@@ -0,0 +1,166 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu build linux-modules)
#:use-module (guix elf)
#:use-module (rnrs io ports)
#:use-module (rnrs bytevectors)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
#:use-module (ice-9 vlist)
#:use-module (ice-9 match)
#:export (dot-ko
ensure-dot-ko
module-dependencies
recursive-module-dependencies
modules-loaded
module-loaded?
load-linux-module*
current-module-debugging-port))
;;; Commentary:
;;;
;;; Tools to deal with Linux kernel modules.
;;;
;;; Code:
(define current-module-debugging-port
(make-parameter (%make-void-port "w")))
(define (section-contents elf section)
"Return the contents of SECTION in ELF as a bytevector."
(let* ((modinfo (elf-section-by-name elf ".modinfo"))
(contents (make-bytevector (elf-section-size modinfo))))
(bytevector-copy! (elf-bytes elf) (elf-section-offset modinfo)
contents 0
(elf-section-size modinfo))
contents))
(define %not-nul
(char-set-complement (char-set #\nul)))
(define (nul-separated-string->list str)
"Split STR at occurrences of the NUL character and return the resulting
string list."
(string-tokenize str %not-nul))
(define (key=value->pair str)
"Assuming STR has the form \"KEY=VALUE\", return a pair like (KEY
. \"VALUE\")."
(let ((= (string-index str #\=)))
(cons (string->symbol (string-take str =))
(string-drop str (+ 1 =)))))
(define (modinfo-section-contents file)
"Return the contents of the '.modinfo' section of FILE as a list of
key/value pairs.."
(let* ((bv (call-with-input-file file get-bytevector-all))
(elf (parse-elf bv))
(modinfo (section-contents elf ".modinfo")))
(map key=value->pair
(nul-separated-string->list (utf8->string modinfo)))))
(define %not-comma
(char-set-complement (char-set #\,)))
(define (module-dependencies file)
"Return the list of modules that FILE depends on. The returned list
contains module names, not actual file names."
(let ((info (modinfo-section-contents file)))
(match (assq 'depends info)
(('depends . what)
(string-tokenize what %not-comma)))))
(define dot-ko
(cut string-append <> ".ko"))
(define (ensure-dot-ko name)
"Return NAME with a '.ko' prefix appended, unless it already has it."
(if (string-suffix? ".ko" name)
name
(dot-ko name)))
(define* (recursive-module-dependencies files
#:key (lookup-module dot-ko))
"Return the topologically-sorted list of file names of the modules depended
on by FILES, recursively. File names of modules are determined by applying
LOOKUP-MODULE to the module name."
(let loop ((files files)
(result '())
(visited vlist-null))
(match files
(()
(delete-duplicates (reverse result)))
((head . tail)
(let* ((visited? (vhash-assoc head visited))
(deps (if visited?
'()
(map lookup-module (module-dependencies head))))
(visited (if visited?
visited
(vhash-cons head #t visited))))
(loop (append deps tail)
(append result deps) visited))))))
(define %not-newline
(char-set-complement (char-set #\newline)))
(define (modules-loaded)
"Return the list of names of currently loaded Linux modules."
(let* ((contents (call-with-input-file "/proc/modules"
get-string-all))
(lines (string-tokenize contents %not-newline)))
(match (map string-tokenize lines)
(((modules . _) ...)
modules))))
(define (module-loaded? module)
"Return #t if MODULE is already loaded. MODULE must be a Linux module name,
not a file name."
(member module (modules-loaded)))
(define* (load-linux-module* file
#:key
(recursive? #t)
(lookup-module dot-ko))
"Load Linux module from FILE, the name of a `.ko' file. When RECURSIVE? is
true, load its dependencies first (à la 'modprobe'.) The actual files
containing modules depended on are obtained by calling LOOKUP-MODULE with the
module name."
(define (slurp module)
;; TODO: Use 'mmap' to reduce memory usage.
(call-with-input-file file get-bytevector-all))
(when recursive?
(for-each (cut load-linux-module* <> #:lookup-module lookup-module)
(map lookup-module (module-dependencies file))))
(format (current-module-debugging-port)
"loading Linux module from '~a'...~%" file)
(catch 'system-error
(lambda ()
(load-linux-module (slurp file)))
(lambda args
;; If this module was already loaded and we're in modprobe style, ignore
;; the error.
(unless (and recursive? (= EEXIST (system-error-errno args)))
(apply throw args)))))
;;; linux-modules.scm ends here
+9
View File
@@ -178,6 +178,12 @@ volume name."
(display "populating...\n")
(populate-root-file-system system-directory target-directory))
(define (register-grub.cfg-root target grub.cfg)
"On file system TARGET, register GRUB.CFG as a GC root."
(let ((directory (string-append target "/var/guix/gcroots")))
(mkdir-p directory)
(symlink grub.cfg (string-append directory "/grub.cfg"))))
(define* (initialize-hard-disk device
#:key
system-directory
@@ -222,6 +228,9 @@ SYSTEM-DIRECTORY is the name of the directory of the 'system' derivation."
(install-grub grub.cfg device target-directory)
;; Register GRUB.CFG as a GC root.
(register-grub.cfg-root target-directory grub.cfg)
;; 'guix-register' resets timestamps and everything, so no need to do it
;; once more in that case.
(unless register-closures?
+69 -37
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;;
@@ -30,10 +30,12 @@
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-11)
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-34)
#:use-module (srfi srfi-35)
#:use-module (srfi srfi-39)
#:export (search-patch
search-bootstrap-binary
%patch-directory
%patch-path
%bootstrap-binaries-path
%package-module-path
@@ -64,24 +66,29 @@
;; and an extra environment variable. One advantage of this setup is
;; that everything just works in an auto-compilation setting.
(define %patch-path
(make-parameter
(map (cut string-append <> "/gnu/packages/patches")
%load-path)))
(define %bootstrap-binaries-path
(make-parameter
(map (cut string-append <> "/gnu/packages/bootstrap")
%load-path)))
(define (search-patch file-name)
"Search the patch FILE-NAME."
(search-path (%patch-path) file-name))
"Search the patch FILE-NAME. Raise an error if not found."
(or (search-path (%patch-path) file-name)
(raise (condition
(&message (message (format #f (_ "~a: patch not found")
file-name)))))))
(define (search-bootstrap-binary file-name system)
"Search the bootstrap binary FILE-NAME for SYSTEM."
(search-path (%bootstrap-binaries-path)
(string-append system "/" file-name)))
"Search the bootstrap binary FILE-NAME for SYSTEM. Raise an error if not
found."
(or (search-path (%bootstrap-binaries-path)
(string-append system "/" file-name))
(raise (condition
(&message
(message
(format #f (_ "could not find bootstrap binary '~a' \
for system '~a'")
file-name system)))))))
(define %distro-root-directory
;; Absolute file name of the module hierarchy.
@@ -104,25 +111,40 @@
(make-parameter
(append environment `((,%distro-root-directory . "gnu/packages"))))))
(define %patch-path
;; Define it after '%package-module-path' so that '%load-path' contains user
;; directories, allowing patches in $GUIX_PACKAGE_PATH to be found.
(make-parameter
(map (lambda (directory)
(if (string=? directory %distro-root-directory)
(string-append directory "/gnu/packages/patches")
directory))
%load-path)))
(define* (scheme-files directory)
"Return the list of Scheme files found under DIRECTORY."
(file-system-fold (const #t) ; enter?
(lambda (path stat result) ; leaf
(if (string-suffix? ".scm" path)
(cons path result)
result))
(lambda (path stat result) ; down
result)
(lambda (path stat result) ; up
result)
(const #f) ; skip
(lambda (path stat errno result)
(warning (_ "cannot access `~a': ~a~%")
path (strerror errno))
result)
'()
directory
stat))
"Return the list of Scheme files found under DIRECTORY, recursively. The
returned list is sorted in alphabetical order."
;; Sort entries so that 'fold-packages' works in a deterministic fashion
;; regardless of details of the underlying file system.
(sort (file-system-fold (const #t) ; enter?
(lambda (path stat result) ; leaf
(if (string-suffix? ".scm" path)
(cons path result)
result))
(lambda (path stat result) ; down
result)
(lambda (path stat result) ; up
result)
(const #f) ; skip
(lambda (path stat errno result)
(warning (_ "cannot access `~a': ~a~%")
path (strerror errno))
result)
'()
directory
stat)
string<?))
(define file-name->module-name
(let ((not-slash (char-set-complement (char-set #\/))))
@@ -138,9 +160,15 @@ Optionally, narrow the search to SUB-DIRECTORY."
(string-length directory))
(filter-map (lambda (file)
(let ((file (substring file prefix-len)))
(false-if-exception
(resolve-interface (file-name->module-name file)))))
(let* ((file (substring file prefix-len))
(module (file-name->module-name file)))
(catch #t
(lambda ()
(resolve-interface module))
(lambda args
;; Report the error, but keep going.
(warn-about-load-error module args)
#f))))
(scheme-files (if sub-directory
(string-append directory "/" sub-directory)
directory))))
@@ -183,14 +211,18 @@ same package twice."
(let ((packages (delay
(fold-packages (lambda (p r)
(vhash-cons (package-name p) p r))
vlist-null))))
vlist-null)))
(version>? (lambda (p1 p2)
(version>? (package-version p1) (package-version p2)))))
(lambda* (name #:optional version)
"Return the list of packages with the given NAME. If VERSION is not #f,
then only return packages whose version is equal to VERSION."
(let ((matching (vhash-fold* cons '() name (force packages))))
then only return packages whose version is prefixed by VERSION, sorted in
decreasing version order."
(let ((matching (sort (vhash-fold* cons '() name (force packages))
version>?)))
(if version
(filter (lambda (package)
(string=? (package-version package) version))
(string-prefix? version (package-version package)))
matching)
matching)))))
+70
View File
@@ -0,0 +1,70 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages aarddict)
#:use-module ((guix licenses) #:select (gpl3))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system python)
#:use-module (gnu packages python)
#:use-module (gnu packages qt))
(define-public aarddict
(package
(name "aarddict")
(version "0.9.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/aarddict/desktop/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"12h7m0z7nd7rg8avpi9syd265k0rhh4vbdh464nq0jzdg8m9p28c"))))
(build-system python-build-system)
(inputs
`(("python2-pyicu" ,python2-pyicu)
("python2-pyqt-4" ,python2-pyqt-4)
("python2-setuptools" ,python2-setuptools)
("python2-simplejson" ,python2-simplejson)
("python2-sip" ,python2-sip)))
(arguments
`(#:python ,python-2 ; incompatible with Python 3
#:phases
(alist-cons-before
'build 'configure
;; Force data into the output instead of the python package.
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "setup.py"
(("sys.prefix") (string-append "'" out "'")))))
%standard-phases)))
(home-page "http://aarddict.org/index.html")
(synopsis
"Dictionary program and offline Wikipedia reader")
(description
"Aard Dictionary is a free, fast, easy to use word lookup program that
looks up words fast even with huge dictionaries like English Wikipedia;
looks up words in multiple dictionaries in multiple languages without
switching;
works great as offline Wikipedia reader;
is keyboard navigation friendly;
has efficient, highly compressed dictionary data storage format with
ability to verify data integrity built-in.")
(license gpl3)))
+16 -10
View File
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,8 +21,9 @@
(define-module (gnu packages acl)
#:use-module (guix licenses)
#:use-module (gnu packages attr)
#:use-module (gnu packages perl)
#:use-module (gnu packages base)
#:use-module (gnu packages gettext)
#:use-module (gnu packages perl)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
@@ -41,19 +43,23 @@
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; FIXME: Investigate test suite failures
#:test-target "tests"
#:phases
(alist-cons-after
'configure 'patch-makefile-SHELL
(lambda _
(patch-makefile-SHELL "include/buildmacros"))
(alist-replace
'install
(alist-cons-after
'build 'patch-exec-bin-sh
(lambda _
(zero? (system* "make" "install" "install-lib")))
%standard-phases))))
(substitute* "test/run"
(("/bin/sh") (which "sh"))))
(alist-replace
'install
(lambda _
(zero? (system* "make" "install" "install-lib" "install-dev")))
%standard-phases))))
(inputs `(("attr" ,attr)))
(native-inputs
`(("gettext" ,gnu-gettext)))
`(("gettext" ,gnu-gettext)
("perl" ,perl)
("sed" ,sed)))
(home-page
"http://savannah.nongnu.org/projects/acl")
+239 -61
View File
@@ -1,8 +1,10 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015 Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,8 +22,9 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages admin)
#:use-module (guix licenses)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
@@ -36,8 +39,10 @@
#:use-module (gnu packages gettext)
#:use-module (gnu packages perl)
#:use-module (gnu packages tcl)
#:use-module ((gnu packages compression) #:prefix c:)
#:use-module (gnu packages compression)
#:use-module ((gnu packages openssl) #:prefix o:)
#:use-module (gnu packages gnutls)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages glib)
@@ -49,7 +54,9 @@
#:use-module (gnu packages libusb)
#:use-module (gnu packages libftdi)
#:use-module (gnu packages image)
#:use-module (gnu packages xorg))
#:use-module (gnu packages xorg)
#:use-module (gnu packages python)
#:use-module (gnu packages man))
(define-public dmd
(package
@@ -73,7 +80,7 @@
execution of system services, replacing similar functionality found in
typical init systems. It provides dependency-handling through a convenient
interface and is based on GNU Guile.")
(license gpl3+)
(license license:gpl3+)
(home-page "http://www.gnu.org/software/dmd/")))
(define-public dfc
@@ -97,7 +104,7 @@ interface and is based on GNU Guile.")
(description
"dfc (df color) is a modern version of df. It uses colors, draws pretty
graphs and can export its output to different formats.")
(license bsd-3)))
(license license:bsd-3)))
(define-public htop
(package
@@ -118,7 +125,7 @@ graphs and can export its output to different formats.")
(description
"This is htop, an interactive process viewer. It is a text-mode
application (for console or X terminals) and requires ncurses.")
(license gpl2)))
(license license:gpl2)))
(define-public pies
(package
@@ -140,19 +147,19 @@ application (for console or X terminals) and requires ncurses.")
other programs. It reads the list of programs to be started from its
configuration file, executes them, and then monitors their status,
re-executing them as necessary.")
(license gpl3+)))
(license license:gpl3+)))
(define-public inetutils
(package
(name "inetutils")
(version "1.9.2")
(version "1.9.3")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/inetutils/inetutils-"
version ".tar.gz"))
(sha256
(base32
"04wrm0v7l4890mmbaawd6wjwdv08bkglgqhpz0q4dkb0l50fl8q4"))))
"06dshajjpyi9sxi7qfki9gnp5r3nxvyvf81r81gx0x2qkqzqcxlj"))))
(build-system gnu-build-system)
(arguments `(;; FIXME: `tftp.sh' relies on `netstat' from utils-linux,
;; which is currently missing.
@@ -164,7 +171,7 @@ re-executing them as necessary.")
(description
"Inetutils is a collection of common network programs, such as an ftp
client and server, a telnet client and server, and an rsh client and server.")
(license gpl3+)))
(license license:gpl3+)))
(define-public shadow
(package
@@ -219,7 +226,7 @@ login, passwd, su, groupadd, and useradd.")
;; The `vipw' program is GPLv2+.
;; libmisc/salt.c is public domain.
(license bsd-3)))
(license license:bsd-3)))
(define-public mingetty
(package
@@ -269,7 +276,7 @@ login, passwd, su, groupadd, and useradd.")
"Small console getty that is started on the Linux text console,
asks for a login name and then transfers over to 'login'. It is extended to
allow automatic login and starting any app.")
(license gpl2+)))
(license license:gpl2+)))
(define-public net-base
(package
@@ -306,14 +313,14 @@ allow automatic login and starting any app.")
'("services" "protocols" "rpc")))
#t))))
(native-inputs `(("tar" ,tar)
("xz" ,c:xz)))
("xz" ,xz)))
(synopsis "IANA protocol, port, and RPC number assignments")
(description
"This package provides the /etc/services, /etc/protocols, and /etc/rpc
files, which contain information about the IANA-assigned port, protocol, and
ONC RPC numbers")
(home-page "http://packages.debian.org/sid/netbase")
(license gpl2)))
(license license:gpl2)))
(define-public netcat
(package
@@ -343,7 +350,7 @@ reliable \"back-end\" tool that can be used directly or easily driven by other
programs and scripts. At the same time, it is a feature-rich network debugging
and exploration tool, since it can create almost any kind of connection you
would need and has several interesting built-in capabilities.")
(license gpl2+)))
(license license:gpl2+)))
(define-public alive
(package
@@ -365,19 +372,19 @@ would need and has several interesting built-in capabilities.")
(description
"GNU Alive sends periodic pings to a server, generally to keep a
connection alive.")
(license gpl3+)))
(license license:gpl3+)))
(define-public isc-dhcp
(package
(name "isc-dhcp")
(version "4.3.0")
(version "4.3.1")
(source (origin
(method url-fetch)
(uri (string-append "http://ftp.isc.org/isc/dhcp/"
version "/dhcp-" version ".tar.gz"))
(sha256
(base32
"12mydvj6x3zcl3gla06bywfkkrgg03g66fijs94mwb7kbiym3dm7"))))
"1w4s7sni1m9223ya8m2a64lr62845c6xlraprjf8zfx6lylbqv16"))))
(build-system gnu-build-system)
(arguments
'(#:phases (alist-cons-after
@@ -404,9 +411,9 @@ connection alive.")
(system* "tar" "xf" "bind.tar.gz")
(for-each patch-shebang
(find-files "bind-9.9.5" ".*"))
(find-files "bind-9.9.5-P1" ".*"))
(zero? (system* "tar" "cf" "bind.tar.gz"
"bind-9.9.5"))))
"bind-9.9.5-P1"))))
(alist-cons-after
'install 'post-install
(lambda* (#:key inputs outputs #:allow-other-keys)
@@ -415,6 +422,7 @@ connection alive.")
(let* ((out (assoc-ref outputs "out"))
(libexec (string-append out "/libexec"))
(coreutils (assoc-ref inputs "coreutils"))
(inetutils (assoc-ref inputs "inetutils"))
(net-tools (assoc-ref inputs "net-tools"))
(sed (assoc-ref inputs "sed")))
(substitute* "client/scripts/linux"
@@ -426,17 +434,19 @@ connection alive.")
(copy-file "client/scripts/linux"
(string-append libexec "/dhclient-script"))
(wrap-program (string-append libexec "/dhclient-script")
`("PATH" ":" prefix
,(map (lambda (dir)
(string-append dir "/bin:"
dir "/sbin"))
(list net-tools coreutils sed))))))
(wrap-program
(string-append libexec "/dhclient-script")
`("PATH" ":" prefix
,(map (lambda (dir)
(string-append dir "/bin:"
dir "/sbin"))
(list inetutils net-tools coreutils sed))))))
%standard-phases))))
(native-inputs `(("perl" ,perl)))
(inputs `(("net-tools" ,net-tools)
(inputs `(("inetutils" ,inetutils)
("net-tools" ,net-tools)
("iproute" ,iproute)
;; When cross-compiling, we need the cross Coreutils and sed.
@@ -452,7 +462,7 @@ connection alive.")
"ISC's Dynamic Host Configuration Protocol (DHCP) distribution provides a
reference implementation of all aspects of DHCP, through a suite of DHCP
tools: server, client, and relay agent.")
(license isc)))
(license license:isc)))
(define-public libpcap
(package
@@ -476,7 +486,7 @@ portable framework for low-level network monitoring. Applications include
network statistics collection, security monitoring, network debugging, etc.")
;; fad-*.c and a couple other files are BSD-4, but the rest is BSD-3.
(license bsd-3)))
(license license:bsd-3)))
(define-public tcpdump
(package
@@ -498,7 +508,7 @@ network statistics collection, security monitoring, network debugging, etc.")
(description
"Tcpdump is a command-line tool to analyze network traffic passing
through the network interface controller.")
(license bsd-3)))
(license license:bsd-3)))
(define-public jnettop
(package
@@ -524,7 +534,7 @@ through the network interface controller.")
"Jnettop is a traffic visualiser, which captures traffic going
through the host it is running from and displays streams sorted
by bandwidth they use.")
(license gpl2+)))
(license license:gpl2+)))
(define-public clusterssh
(package
@@ -570,7 +580,7 @@ by bandwidth they use.")
"ClusterSSH controls a number of xterm windows via a single graphical
console window to allow commands to be interactively run on multiple servers
over ssh connections.")
(license gpl2+)))
(license license:gpl2+)))
(define-public rottlog
(package
@@ -613,7 +623,7 @@ automatically rotate out log files when they have reached a given size or
according to a given schedule. It can also be used to automatically compress
and archive such logs. Rot[t]log will mail reports of its activity to the
system administrator.")
(license gpl3+)))
(license license:gpl3+)))
(define-public sudo
(package
@@ -631,7 +641,10 @@ system administrator.")
"002l6h27pnhb77b65frhazbhknsxvrsnkpi43j7i0qw1lrgi7nkf"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--with-logpath=/var/log/sudo.log")
`(#:configure-flags '("--with-logpath=/var/log/sudo.log"
"--with-rundir=/run/sudo"
"--with-vardir=/var/db/sudo"
"--with-iologdir=/var/log/sudo-io")
#:phases (alist-cons-before
'configure 'pre-configure
(lambda _
@@ -645,7 +658,13 @@ system administrator.")
"")
(("^install: (.*)install-sudoers(.*)" _ before after)
;; Don't try to create /etc/sudoers.
(string-append "install: " before after "\n"))))
(string-append "install: " before after "\n"))
(("\\$\\(DESTDIR\\)\\$\\(rundir\\)")
;; Don't try to create /run/sudo.
"$(TMPDIR)/dummy")
(("\\$\\(DESTDIR\\)\\$\\(vardir\\)")
;; Don't try to create /var/db/sudo.
"$(TMPDIR)/dummy")))
%standard-phases)
;; XXX: The 'testsudoers' test series expects user 'root' to exist, but
@@ -664,21 +683,30 @@ commands as root or another user while providing an audit trail of the
commands and their arguments.")
;; See <http://www.sudo.ws/sudo/license.html>.
(license x11)))
(license license:x11)))
(define-public wpa-supplicant
(define-public wpa-supplicant-light
(package
(name "wpa-supplicant")
(version "2.2")
(name "wpa-supplicant-light")
(version "2.4")
(source (origin
(method url-fetch)
(uri (string-append
"http://hostap.epitest.fi/releases/wpa_supplicant-"
"http://w1.fi/releases/wpa_supplicant-"
version
".tar.gz"))
(sha256
(base32
"1vf8jc4yyksbxf86narvsli3vxfbm8nbnim2mdp66nd6d3yvin70"))))
"08li21q1wjn5chrv289w666il9ah1w419y3dkq2rl4wnq0rci385"))
(patches
(map search-patch '("wpa-supplicant-CVE-2015-1863.patch"
"wpa-supplicant-2015-2-fix.patch"
"wpa-supplicant-2015-3-fix.patch"
"wpa-supplicant-2015-4-fix-pt1.patch"
"wpa-supplicant-2015-4-fix-pt2.patch"
"wpa-supplicant-2015-4-fix-pt3.patch"
"wpa-supplicant-2015-4-fix-pt4.patch"
"wpa-supplicant-2015-4-fix-pt5.patch")))))
(build-system gnu-build-system)
(arguments
'(#:phases (alist-replace
@@ -689,15 +717,36 @@ commands and their arguments.")
(let ((port (open-file ".config" "al")))
(display "
CONFIG_DEBUG_SYSLOG=y
CONFIG_CTRL_IFACE_DBUS=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CONFIG_CTRL_IFACE_DBUS_INTRO=y
# Choose GnuTLS (the default is OpenSSL.)
CONFIG_TLS=gnutls
CONFIG_DRIVER_NL80211=y
CFLAGS += $(shell pkg-config libnl-3.0 --cflags)
CONFIG_LIBNL32=y
CONFIG_READLINE=y\n" port)
(close-port port)))
%standard-phases)
(alist-cons-after
'install 'install-man-pages
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(man (string-append out "/share/man"))
(man5 (string-append man "/man5"))
(man8 (string-append man "/man8")))
(define (copy-man-page target)
(lambda (file)
(copy-file file
(string-append target "/"
(basename file)))))
(mkdir-p man5) (mkdir man8)
(for-each (copy-man-page man5)
(find-files "doc/docbook" "\\.5"))
(for-each (copy-man-page man8)
(find-files "doc/docbook" "\\.8"))
#t))
%standard-phases))
#:make-flags (list "CC=gcc"
(string-append "BINDIR=" (assoc-ref %outputs "out")
@@ -708,11 +757,11 @@ commands and their arguments.")
(inputs
`(("readline" ,readline)
("libnl" ,libnl)
("dbus" ,dbus)
("openssl" ,o:openssl)))
("gnutls" ,gnutls)
("libgcrypt" ,libgcrypt))) ;needed by crypto_gnutls.c
(native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "http://hostap.epitest.fi/wpa_supplicant/")
(home-page "http://w1.fi/wpa_supplicant/")
(synopsis "Connecting to WPA and WPA2-protected wireless networks")
(description
"wpa_supplicant is a WPA Supplicant with support for WPA and WPA2 (IEEE
@@ -724,7 +773,35 @@ WLAN driver.
This package provides the 'wpa_supplicant' daemon and the 'wpa_cli' command.")
;; In practice, this is linked against Readline, which makes it GPLv3+.
(license bsd-3)))
(license license:bsd-3)))
(define-public wpa-supplicant
(package (inherit wpa-supplicant-light)
(name "wpa-supplicant")
(inputs `(("dbus" ,dbus)
,@(package-inputs wpa-supplicant-light)))
(arguments
(substitute-keyword-arguments (package-arguments wpa-supplicant-light)
((#:phases phases)
`(alist-cons-after
'configure 'configure-for-dbus
(lambda _
(let ((port (open-file ".config" "al")))
(display "
CONFIG_CTRL_IFACE_DBUS=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CONFIG_CTRL_IFACE_DBUS_INTRO=y\n" port)
(close-port port))
#t)
(alist-cons-after
'install-man-pages 'install-dbus-conf
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(dir (string-append out "/etc/dbus-1/system.d")))
(mkdir-p dir)
(copy-file "dbus/dbus-wpa_supplicant.conf"
(string-append dir "/wpa_supplicant.conf"))))
,phases)))))))
(define-public wakelan
(package
@@ -762,7 +839,7 @@ This package provides the 'wpa_supplicant' daemon and the 'wpa_cli' command.")
(description
"WakeLan broadcasts a properly formatted UDP packet across the local area
network, which causes enabled computers to power on.")
(license gpl2+)))
(license license:gpl2+)))
(define-public dmidecode
(package
@@ -792,12 +869,12 @@ tag as well as a lot of other details of varying level of interest and
reliability depending on the manufacturer. This will often include usage
status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory
module slots, and the list of I/O ports (e.g. serial, parallel, USB).")
(license gpl2+)))
(license license:gpl2+)))
(define-public acpica
(package
(name "acpica")
(version "20140724")
(version "20150410")
(source (origin
(method url-fetch)
(uri (string-append
@@ -805,7 +882,7 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).")
version ".tar.gz"))
(sha256
(base32
"01vdgrh7dsxrrvg5yd8sxm63cw8210pnsi5qg9g15ac53gn243ac"))))
"0q1fjwkyw9x6gsva6fd0zbn7ly4fx0ha4853f416np9kf2irillw"))))
(build-system gnu-build-system)
(native-inputs `(("flex" ,flex)
("bison" ,bison)))
@@ -825,7 +902,7 @@ ACPI meant to be directly integrated into the host OS as a kernel-resident
subsystem, and a small set of tools to assist in developing and debugging ACPI
tables. This package contains only the user-space tools needed for ACPI table
development, not the kernel implementation of ACPI.")
(license gpl2))) ; Dual GPLv2/ACPICA Licence
(license license:gpl2))) ; Dual GPLv2/ACPICA Licence
(define-public stress
(package
@@ -851,7 +928,7 @@ evaluate how well their systems will scale, by kernel programmers to evaluate
perceived performance characteristics, and by systems programmers to expose
the classes of bugs which only or more frequently manifest themselves when the
system is under heavy load.")
(license gpl2+)))
(license license:gpl2+)))
(define-public detox
(package
@@ -881,7 +958,7 @@ system is under heavy load.")
under Unix and related operating systems. Spaces and various other unsafe
characters (such as \"$\") get replaced with \"_\". ISO 8859-1 (Latin-1)
characters can be replaced as well, as can UTF-8 characters.")
(license bsd-3)))
(license license:bsd-3)))
(define-public testdisk
(package
@@ -899,7 +976,7 @@ characters can be replaced as well, as can UTF-8 characters.")
`(;; ("ntfs" ,ntfs)
("util-linux" ,util-linux)
("openssl" ,o:openssl)
("zlib" ,c:zlib)
("zlib" ,zlib)
("e2fsprogs" ,e2fsprogs)
("libjpeg" ,libjpeg)
("ncurses" ,ncurses)))
@@ -908,7 +985,32 @@ characters can be replaced as well, as can UTF-8 characters.")
(description
"TestDisk is a program for data recovery, primarily designed to help
recover lost partitions and/or make non-booting disks bootable again.")
(license gpl2+)))
(license license:gpl2+)))
(define-public tree
(package
(name "tree")
(version "1.7.0")
(source (origin
(method url-fetch)
(uri (string-append
"http://mama.indstate.edu/users/ice/tree/src/tree-"
version ".tgz"))
(sha256
(base32 "04kviw799qxly08zb8n5mgxfd96gyis6x69q2qiw86jnh87c4mv9"))))
(build-system gnu-build-system)
(arguments
'(#:phases (alist-delete 'configure %standard-phases)
#:tests? #f ; no check target
#:make-flags (let ((out (assoc-ref %outputs "out")))
(list (string-append "prefix=" out)))))
(synopsis "Recursively list the contents of a directory")
(description
"Tree is a recursive directory listing command that produces a depth
indented listing of files, which is colorized ala dircolors if the LS_COLORS
environment variable is set and output is to tty.")
(home-page "http://mama.indstate.edu/users/ice/tree/")
(license license:gpl2+)))
(define-public direvent
(package
@@ -946,4 +1048,80 @@ external program with information about the event, such as the location
within the file system where it occurred. Thus, \"direvent\" provides an
easy way to react immediately if given files undergo changes, for example, to
track changes in important system configuration files.")
(license gpl3+)))
(license license:gpl3+)))
(define-public libcap-ng
(package
(name "libcap-ng")
(version "0.7.4")
(source (origin
(method url-fetch)
(uri (string-append
"http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-"
version ".tar.gz"))
(sha256
(base32
"0ssvnh4cvhya0c1j6k6192zvqcq7nc0x01fb5nwhr0prfqr0i8j8"))))
(build-system gnu-build-system)
(inputs `(("python" ,python)))
(home-page "http://people.redhat.com/sgrubb/libcap-ng/")
(synopsis "Library for more easily working with POSIX capabilities")
(description
"The libcap-ng library is intended to make programming with POSIX
capabilities easier than the traditional libcap library. It includes
utilities that can analyse all currently running applications and print out
any capabilities and whether or not it has an open ended bounding set. The
included utilities are designed to let admins and developers spot apps from
various ways that may be running with too much privilege.")
;; The library is lgpl2.1+, but also ships some utils which are gpl2+.
(license (list license:lgpl2.1+ license:gpl2+))))
(define-public smartmontools
(package
(name "smartmontools")
(version "6.3")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://sourceforge/smartmontools/smartmontools/"
version "/smartmontools-" version ".tar.gz"))
(sha256
(base32
"06gy71jh2d3gcfmlbbrsqw7215knkfq59q3j6qdxfrar39fhcxx7"))))
(build-system gnu-build-system)
(inputs `(("libcap-ng" ,libcap-ng)))
(home-page "http://www.smartmontools.org/")
(synopsis "S.M.A.R.T. harddisk control and monitoring tools")
(description
"The smartmontools package contains utility programs to control and
monitor storage systems using the Self-Monitoring, Analysis and Reporting
Technology System (S.M.A.R.T.) built into most modern ATA and SCSI harddisks.
In many cases, these utilities will provide advanced warning of disk
degradation and failure.")
(license license:gpl2+)))
(define-public fdupes
(package
(name "fdupes")
(version "1.51")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/adrianlopezroche/fdupes/archive/fdupes-"
version ".tar.gz"))
(sha256
(base32
"11j96vxl9vg3jsnxqxskrv3gad6dh7hz2zpyc8n31xzyxka1c7kn"))))
(build-system gnu-build-system)
(arguments
'(#:phases (alist-delete 'configure %standard-phases)
#:tests? #f ; no 'check' target
#:make-flags (list (string-append "PREFIX="
(assoc-ref %outputs "out")))))
(home-page "https://github.com/adrianlopezroche/fdupes")
(synopsis "Identify duplicate files")
(description
"fdupes is a program for identifying duplicate files residing within
specified directories.")
(license license:expat)))
+75 -17
View File
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
@@ -29,6 +29,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix utils))
@@ -83,22 +84,23 @@ solve the shortest vector problem.")
(define-public pari-gp
(package
(name "pari-gp")
(version "2.7.1")
(version "2.7.3")
(source (origin
(method url-fetch)
(uri (string-append
"http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-"
version ".tar.gz"))
(sha256 (base32
"1gj1rddi22hinzwy7r6hljgbi252wwwyd6gapg4hvcn0ycc7jqyc"))))
(sha256
(base32
"02k54m7p47r54lgxqanxvf7pdrss17n8if1qwk5wx0j1px22j0rq"))))
(build-system gnu-build-system)
(inputs `(("gmp" ,gmp)
("perl" ,perl)
("readline" ,readline)))
(arguments
'(#:make-flags '("gp")
;; FIXME: building the documentation requires tex; once this is available,
;; replace "gp" by "all"
;; FIXME: building the documentation requires tex; once this is
;; available, replace "gp" by "all"
#:test-target "dobench"
#:phases
(alist-replace
@@ -123,14 +125,14 @@ PARI is also available as a C library to allow for faster computations.")
(define-public gp2c
(package
(name "gp2c")
(version "0.0.9pl1")
(version "0.0.9pl2")
(source (origin
(method url-fetch)
(uri (string-append
"http://pari.math.u-bordeaux.fr/pub/pari/GP2C/gp2c-"
version ".tar.gz"))
(sha256 (base32
"1p36060vwhn38j77r4c3jqyaslvhvgm6fdw2486k7krxk5ai7ph5"))))
"02h35fwz1caicii7fj8zb9ky4hcrd8rqmzkyvhbls0r05yg5bwwb"))))
(build-system gnu-build-system)
(native-inputs `(("perl" ,perl)))
(inputs `(("pari-gp" ,pari-gp)))
@@ -156,18 +158,18 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.")
(define-public flint
(package
(name "flint")
(version "2.4.4")
(version "2.4.5")
(source (origin
(method url-fetch)
(uri (string-append
"http://flintlib.org/flint-"
version ".tar.gz"))
(sha256 (base32
"1isv1sfv8sg3qvf0d99apdfi3jnql95xfzszcawdf1pgjj9rwyf4"))))
"1qq11sxliy499a9g656dgk47ffb951q4gl6ddjbq838gy16kb2g4"))))
(build-system gnu-build-system)
(inputs
(propagated-inputs
`(("gmp" ,gmp)
("mpfr" ,mpfr)))
("mpfr" ,mpfr))) ; header files from both are included by flint/arith.h
(arguments
`(#:phases
(alist-replace
@@ -207,18 +209,20 @@ fast arithmetic.")
(define-public arb
(package
(name "arb")
(version "2.2.0")
(version "2.3.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/fredrik-johansson/arb/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (base32
"0a8cgzznkmr59ngj4di9a37b5h4i00gbnixnxlwd34bcbflvjzyr"))))
"0yvabxyyj1g0d8b5mfgzrxq6qya8cmq97vz60ss6aajzm3nwrabk"))))
(build-system gnu-build-system)
(propagated-inputs
`(("flint" ,flint))) ; flint.h is included by arf.h
(inputs
`(("flint" ,flint)
("gmp" ,gmp)
`(("gmp" ,gmp)
("mpfr" ,mpfr)))
(arguments
`(#:phases
@@ -345,3 +349,57 @@ cosine/ sine transforms or DCT/DST).")
(description
(string-append (package-description fftw)
" With OpenMPI parallelism support."))))
(define-public eigen
(package
(name "eigen")
(version "3.2.4")
(source (origin
(method url-fetch)
(uri (string-append "https://bitbucket.org/eigen/eigen/get/"
version ".tar.bz2"))
(sha256
(base32
"08l92i6vpzz9ypj89hn7rxm6cp4njgc6wr7nb4n3v01i5v4k4hyn"))
(modules '((guix build utils)))
(snippet
;; There are 3 test failures in the "unsupported" directory,
;; but maintainers say it's a known issue and it's unsupported
;; anyway, so just skip them.
'(substitute* "CMakeLists.txt"
(("add_subdirectory\\(unsupported\\)")
"# Do not build the tests for unsupported features.\n")))))
(build-system cmake-build-system)
(arguments
'(;; Turn off debugging symbols to save space.
#:build-type "Release"
;; Use 'make check', as per
;; <http://eigen.tuxfamily.org/index.php?title=Tests>.
#:test-target "check"
#:phases (alist-cons-before
'check 'build-tests
(lambda _
;; First build the tests, in parallel.
;; See <http://eigen.tuxfamily.org/index.php?title=Tests>.
(let* ((cores (current-processor-count))
(dash-j (format #f "-j~a" cores)))
;; These variables are supposed to be honored.
(setenv "EIGEN_MAKE_ARGS" dash-j)
(setenv "EIGEN_CTEST_ARGS" dash-j)
(zero? (system* "make" "buildtests" dash-j))))
%standard-phases)))
(home-page "http://eigen.tuxfamily.org")
(synopsis "C++ template library for linear algebra")
(description
"Eigen is a C++ template library for linear algebra: matrices, vectors,
numerical solvers, and related algorithms. It provides an elegant API based
on \"expression templates\". It is versatile: it supports all matrix sizes,
all standard numeric types, various matrix decompositions and geometry
features, and more.")
;; Most of the code is MPLv2, with a few files under LGPLv2.1+ or BSD-3.
;; See 'COPYING.README' for details.
(license mpl2.0)))
+3 -3
View File
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,14 +30,14 @@
(define-public apl
(package
(name "apl")
(version "1.4")
(version "1.5")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnu/apl/apl-" version ".tar.gz"))
(sha256
(base32
"0fl9l4jb5wpnb54kqkphavi657z1cv15h9qj2rqy2shf33dk3nk9"))))
"0h4diq3wfbdwxp5nm0z4b0p1zq13lwip0y7v28r9v0mbbk8xsfh1"))))
(build-system gnu-build-system)
(home-page "http://www.gnu.org/software/apl/")
(inputs
+18 -13
View File
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,25 +18,26 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages apr)
#:use-module (guix licenses)
#:use-module ((guix licenses) #:prefix l:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages perl)
#:use-module (gnu packages xml)
#:use-module (gnu packages autotools))
(define-public apr
(package
(name "apr")
(version "1.5.1")
(version "1.5.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://apache/apr/apr-"
version ".tar.bz2"))
(sha256
(base32
"1b4qw686bwjn19iyb0lg918q23xxd6s2gnyczhjq992d3m1vwjp9"))
"0ypn51xblix5ys9xy7da3ngdydip0qqh9rdq8nz54w9aq8lys0vx"))
(patches
(list (search-patch "apr-skip-getservbyname-test.patch")))
(patch-flags '("-p0"))))
@@ -48,7 +49,7 @@
'(#:parallel-build? #f
#:parallel-tests? #f))
(inputs `(("perl" ,perl)
("libtool" ,libtool)))
("libltdl" ,libltdl)))
(home-page "http://apr.apache.org/")
(synopsis "The Apache Portable Runtime Library")
(description
@@ -59,34 +60,38 @@ an API to which software developers may code and be assured of predictable if
not identical behaviour regardless of the platform on which their software is
built, relieving them of the need to code special-case conditions to work
around or take advantage of platform-specific deficiencies or features.")
(license asl2.0)))
(license l:asl2.0)))
(define-public apr-util
(package
(name "apr-util")
(version "1.5.3")
(version "1.5.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://apache/apr/apr-util-"
version ".tar.bz2"))
(sha256
(base32
"0s1rpqjy5xr03k9s4xrsm5wvhj5286vlkf6jvqayw99yy5sb3vbq"))))
"0bn81pfscy9yjvbmyx442svf43s6dhrdfcsnkpxz43fai5qk5kx6"))))
(build-system gnu-build-system)
(inputs
`(("apr" ,apr)))
`(("apr" ,apr)))
(propagated-inputs
`(("expat" ,expat)))
(arguments
'(#:phases
(alist-replace
'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(apr (assoc-ref inputs "apr")))
(let ((out (assoc-ref outputs "out"))
(apr (assoc-ref inputs "apr"))
(expat (assoc-ref inputs "expat")))
(setenv "CONFIG_SHELL" (which "bash"))
(zero?
(system* "./configure"
(string-append "--prefix=" out)
(string-append "--with-apr=" apr)))))
(string-append "--with-apr=" apr)
(string-append "--with-expat=" expat)))))
%standard-phases)
;; There are race conditions during 'make check'. Typically, the
@@ -98,4 +103,4 @@ around or take advantage of platform-specific deficiencies or features.")
(synopsis "One of the Apache Portable Runtime Library companions")
(description
"APR-util provides a number of helpful abstractions on top of APR.")
(license asl2.0)))
(license l:asl2.0)))
+10 -2
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,7 +23,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (gnu packages perl)
#:use-module (gnu packages which))
#:use-module (gnu packages base))
(define-public aspell
(package
@@ -114,3 +115,10 @@ dictionaries, including personal ones.")
#:sha256
(base32
"14ffy9mn5jqqpp437kannc3559bfdrpk7r36ljkzjalxa53i0hpr")))
(define-public aspell-dict-ru
(aspell-dictionary "ru" "Russian"
#:version "0.99f7-1"
#:sha256
(base32
"0ip6nq43hcr7vvzbv4lwwmlwgfa60hrhsldh9xy3zg2prv6bcaaw")))
+102
View File
@@ -0,0 +1,102 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages audacity)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages audio)
#:use-module (gnu packages base)
#:use-module (gnu packages gtk)
#:use-module (gnu packages linux)
#:use-module (gnu packages mp3)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xml)
#:use-module (gnu packages video)
#:use-module (gnu packages wxwidgets))
(define-public audacity
(package
(name "audacity")
(version "2.1.0")
(source
(origin
(method url-fetch)
(uri
(string-append
"mirror://sourceforge/audacity/audacity-minsrc-" version ".tar.xz"))
(sha256
(base32 "1cs2w3fwqylpqmfwkvlgdx5lhclpckfil7pqibl37qlbnf4qvndh"))
(patches (list (search-patch "audacity-fix-ffmpeg-binding.patch")))))
(build-system gnu-build-system)
(inputs
;; TODO: Add portSMF and libwidgetextra once they're packaged. In-tree
;; versions shipping with Audacity are used for now.
`(("wxwidgets" ,wxwidgets-2)
("gtk" ,gtk+-2)
("alsa-lib" ,alsa-lib)
("jack" ,jack-2)
("expat" ,expat)
("ffmpeg" ,ffmpeg)
("lame" ,lame)
("flac" ,flac)
("libid3tag" ,libid3tag)
("libmad" ,libmad)
("libsbsms" ,libsbsms)
("libsndfile" ,libsndfile)
("soundtouch" ,soundtouch)
("soxr" ,soxr) ;replaces libsamplerate
("twolame" ,twolame)
("vamp" ,vamp)
("libvorbis" ,libvorbis)
("lv2" ,lv2)
("lilv" ,lilv)
("portaudio" ,portaudio)))
(native-inputs
`(("pkg-config" ,pkg-config)
("python" ,python-2)
("which" ,which)))
(arguments
'(#:configure-flags
(let ((libid3tag (assoc-ref %build-inputs "libid3tag"))
(libmad (assoc-ref %build-inputs "libmad")))
(list
;; Loading FFmpeg dynamically is problematic.
"--disable-dynamic-loading"
;; libid3tag and libmad provide no .pc files, so pkg-config fails to
;; find them. Force their inclusion.
(string-append "ID3TAG_CFLAGS=-I" libid3tag "/include")
(string-append "ID3TAG_LIBS=-L" libid3tag "/lib -lid3tag -lz")
(string-append "LIBMAD_CFLAGS=-I" libmad "/include")
(string-append "LIBMAD_LIBS=-L" libmad "/lib -lmad")))
;; The test suite is not "well exercised" according to the developers,
;; and fails with various errors. See
;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>.
#:tests? #f))
(home-page "http://audacity.sourceforge.net/")
(synopsis "Software for recording and editing sounds")
(description
"Audacity is a multi-track audio editor designed for recording, playing
and editing digital audio. It features digital effects and spectrum analysis
tools.")
(license license:gpl2+)))
File diff suppressed because it is too large Load Diff
+6 -4
View File
@@ -23,13 +23,14 @@
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages perl)
#:use-module (gnu packages which)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages base)
#:use-module (gnu packages guile))
(define-public autogen
(package
(name "autogen")
(version "5.18.4")
(version "5.18.5")
(source
(origin
(method url-fetch)
@@ -38,9 +39,10 @@
version ".tar.gz"))
(sha256
(base32
"0pbjzwgvmjvi6nl1bcyhfc9kl93s6321dgmvp5dqdip7i8dgin9w"))))
"1flnbnmkbqmbfgammkl8m36wrlk6rhpgnf9pdm6gdfhqalxvggbv"))))
(build-system gnu-build-system)
(native-inputs `(("perl" ,perl))) ;for doc generator mdoc
(native-inputs `(("perl" ,perl) ;for doc generator mdoc
("pkg-config" ,pkg-config)))
(inputs `(("which" ,which)
("guile" ,guile-2.0)))
(arguments
+72 -46
View File
@@ -1,7 +1,8 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -45,7 +46,7 @@
(base32
"113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4"))))
(build-system gnu-build-system)
(inputs
(native-inputs
`(("perl" ,perl)
("m4" ,m4)))
;; XXX: testsuite: 209 and 279 failed. The latter is an impurity. It
@@ -161,24 +162,24 @@ exec ~a --no-auto-compile \"$0\" \"$@\"
(define-public automake
(package
(name "automake")
(version "1.14.1")
(version "1.15")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/automake/automake-"
version ".tar.xz"))
(sha256
(base32
"0s86rzdayj1licgj35q0mnynv5xa8f4p32m36blc5jk9id5z1d59"))
"0dl6vfi2lzz8alnklwxzfz624b95hb1ipjvd3mk177flmddcf24r"))
(patches
(list (search-patch "automake-skip-amhello-tests.patch")))))
(build-system gnu-build-system)
(inputs
(native-inputs
`(("autoconf" ,(autoconf-wrapper))
("perl" ,perl)))
(native-search-paths
(list (search-path-specification
(variable "ACLOCAL_PATH")
(directories '("share/aclocal")))))
(files '("share/aclocal")))))
(arguments
'(#:modules ((guix build gnu-build-system)
(guix build utils)
@@ -238,52 +239,48 @@ Makefile, simplifying the entire process for the developer.")
(define-public libtool
(package
(name "libtool")
(version "2.4.2")
(version "2.4.6")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/libtool/libtool-"
version ".tar.gz"))
(sha256
(base32
"0649qfpzkswgcj9vqkkr9rn4nlcx80faxpyqscy2k1x9c94f93dk"))
(patches
(list (search-patch "libtool-skip-tests.patch")
(search-patch "libtool-skip-tests-for-mips.patch")))))
(method url-fetch)
(uri (string-append "mirror://gnu/libtool/libtool-"
version ".tar.xz"))
(sha256
(base32
"0vxj52zm709125gwv9qqlw02silj8bnjnh4y07arrz60r31ai1vw"))
(patches
(list (search-patch "libtool-skip-tests2.patch")))))
(build-system gnu-build-system)
(propagated-inputs `(("m4" ,m4)))
(native-inputs `(("m4" ,m4)
("perl" ,perl)))
;; Separate binaries from the rest. During bootstrap, only ltdl is
;; used; not depending on the binaries allows us to avoid retaining
;; a reference to the bootstrap bash.
(outputs '("bin" ; libtoolize, libtool, etc.
"out")) ; libltdl.so, ltdl.h, etc.
("perl" ,perl)
("automake" ,automake) ;some tests rely on 'aclocal'
("autoconf" ,(autoconf-wrapper)))) ;others on 'autom4te'
(arguments
(if (%current-target-system)
'() ; no `check' phase when cross-building
'(#:phases (alist-cons-before
'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)
;; Run the test suite in parallel, if possible.
(let ((ncores
(cond
((getenv "NIX_BUILD_CORES")
=>
(lambda (n)
(if (zero? (string->number n))
(number->string (current-processor-count))
n)))
(else "1"))))
(setenv "TESTSUITEFLAGS"
(string-append "-j" ncores)))
`(;; Libltdl is provided as a separate package, so don't install it here.
#:configure-flags '("--disable-ltdl-install")
;; Path references to /bin/sh.
(let ((bash (assoc-ref inputs "bash")))
(substitute* "tests/testsuite"
(("/bin/sh")
(string-append bash "/bin/bash")))))
%standard-phases))))
;; XXX: There are test failures on mips64el-linux starting from 2.4.4:
;; <http://hydra.gnu.org/build/181662>.
#:tests? ,(not (string-prefix? "mips64"
(or (%current-target-system)
(%current-system))))
#:phases (alist-cons-before
'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)
;; Run the test suite in parallel, if possible.
(setenv "TESTSUITEFLAGS"
(string-append
"-j"
(number->string (parallel-job-count))))
;; Path references to /bin/sh.
(let ((bash (assoc-ref inputs "bash")))
(substitute* "tests/testsuite"
(("/bin/sh")
(string-append bash "/bin/bash")))))
%standard-phases)))
(synopsis "Generic shared library support tools")
(description
"GNU Libtool helps in the creation and use of shared libraries, by
@@ -291,3 +288,32 @@ presenting a single consistent, portable interface that hides the usual
complexity of working with shared libraries across platforms.")
(license gpl3+)
(home-page "http://www.gnu.org/software/libtool/")))
(define-public libltdl
;; This is a libltdl package separate from the libtool package. This is
;; useful because, unlike libtool, it has zero extra dependencies (making it
;; readily usable during bootstrap), and it builds very quickly since
;; Libtool's extensive test suite isn't run.
(package
(name "libltdl")
(version "2.4.6")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/libtool/libtool-"
version ".tar.xz"))
(sha256
(base32
"0vxj52zm709125gwv9qqlw02silj8bnjnh4y07arrz60r31ai1vw"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--enable-ltdl-install") ;really install it
#:phases (alist-cons-before
'configure 'change-directory
(lambda _
(chdir "libltdl"))
%standard-phases)))
(synopsis "System-independent dlopen wrapper of GNU libtool")
(description (package-description libtool))
(home-page (package-home-page libtool))
(license lgpl2.1+)))
+6 -1
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
@@ -93,6 +93,11 @@ DNS-SD (for \"DNS-Based Service Discovery\") protocols.")
"0vgs6j0qsl0mwzh5a0m0bykr7x6bx79vnbyn0r3q289rghp3qs0y"))
(file-name (string-append name "-" version ".tar.gz"))))
(build-system gnu-build-system)
(arguments
;; The Avahi daemon socket is expected by src/Makefile.am to be at
;; "$(localstatedir)/run/avahi-daemon/socket", so set $(localstatedir)
;; appropriately.
'(#:configure-flags '("--localstatedir=/var")))
;; XXX: Stale URL, missing replacement. See <http://bugs.gnu.org/18704>.
(home-page "http://0pointer.de/lennart/projects/nss-mdns/")
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -16,34 +16,36 @@
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages complexity)
#:use-module (guix packages)
#:use-module (guix download)
(define-module (gnu packages avr)
#:use-module (guix licenses)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages autogen))
#:use-module (gnu packages)
#:use-module (gnu packages cross-base))
(define-public complexity
(define-public avr-libc
(package
(name "complexity")
(version "1.1")
(name "avr-libc")
(version "1.8.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/complexity/complexity-"
version ".tar.gz"))
(uri (string-append
"mirror://savannah//avr-libc/avr-libc-"
version ".tar.bz2"))
(sha256
(base32
"1aad7n35ymxbj5dlpvm64dcd71b6i7hbmps0g7nkf47vj53l6y2j"))))
"0sd9qkvhmk9av4g1f8dsjwc309hf1g0731bhvicnjb3b3d42l1n3"))))
(build-system gnu-build-system)
(native-inputs
`(("texinfo" ,texinfo)
("autogen" ,autogen)))
(home-page "http://www.gnu.org/software/complexity/")
(synopsis "Analyze complexity of C functions")
(arguments
`(#:out-of-source? #t
#:configure-flags '("--host=avr")))
(native-inputs `(("cross-binutils" ,(cross-binutils "avr"))
("cross-gcc" ,xgcc-avr)))
(home-page "http://www.nongnu.org/avr-libc/")
(synopsis "The AVR C Library")
(description
"GNU complexity provides tools for finding procedures that are
convoluted, overly long or otherwise difficult to understand. This
may help in learning or reviewing unfamiliar code or perhaps
highlighting your own code that seemed comprehensible when you wrote it.")
(license gpl3+)))
"AVR Libc is a project whose goal is to provide a high quality C library
for use with GCC on Atmel AVR microcontrollers.")
(license (non-copyleft "http://www.nongnu.org/avr-libc/LICENSE.txt"))))
+232 -42
View File
@@ -1,8 +1,9 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,13 +29,17 @@
#:use-module (gnu packages ed)
#:use-module (gnu packages guile)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages compression)
#:use-module (gnu packages perl)
#:use-module (gnu packages linux)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages gettext)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial))
;;; Commentary:
;;;
@@ -64,14 +69,15 @@ command-line arguments, multiple languages, and so on.")
(define-public grep
(package
(name "grep")
(version "2.20")
(version "2.21")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/grep/grep-"
version ".tar.xz"))
(sha256
(base32
"0rcs0spsxdmh6yz8y4frkqp6f5iw19mdbdl9s2v6956hq0mlbbzh"))))
"1pp5n15qwxrw1pibwjhhgsibyv5cafhamf8lwzjygs6y00fa2i2j"))
(patches (list (search-patch "grep-CVE-2015-1345.patch")))))
(build-system gnu-build-system)
(synopsis "Print lines matching a pattern")
(description
@@ -146,18 +152,16 @@ standard utility.")
(define-public patch
(package
(name "patch")
(version "2.7.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/patch/patch-"
version ".tar.xz"))
(sha256
(base32
"1sqckf560pzwgniy00vcpdv2c9c11s4cmhlm14yqgg8avd3bl94i"))))
(version "2.7.5")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/patch/patch-"
version ".tar.xz"))
(sha256
(base32
"16d2r9kpivaak948mxzc0bai45mqfw73m113wrkmbffnalv1b5gx"))))
(build-system gnu-build-system)
(native-inputs `(("ed", ed)))
;; TODO: When cross-compiling, add this:
;; '(#:configure-flags '("ac_cv_func_strnlen_working=yes"))
(synopsis "Apply differences to originals, with optional backups")
(description
"Patch is a program that applies changes to files based on differences
@@ -311,14 +315,14 @@ change. GNU make offers many powerful extensions over the standard utility.")
(define-public binutils
(package
(name "binutils")
(version "2.24")
(version "2.25")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/binutils/binutils-"
version ".tar.bz2"))
(sha256
(base32
"0ds1y7qa0xqihw4ihnsgg6bxanmb228r228ddvwzgrv4jszcbs75"))
"08r9i26b05zcwb9zxb6zllpfdiiicdfsgbpsjlrjmvx3rxjzrpi2"))
(patches (list (search-patch "binutils-ld-new-dtags.patch")
(search-patch "binutils-loongson-workaround.patch")))))
(build-system gnu-build-system)
@@ -355,17 +359,83 @@ included.")
(license gpl3+)
(home-page "http://www.gnu.org/software/binutils/")))
(define* (make-ld-wrapper name #:key binutils
(guile (canonical-package guile-2.0))
(bash (canonical-package bash)) target
(guile-for-build guile))
"Return a package called NAME that contains a wrapper for the 'ld' program
of BINUTILS, which adds '-rpath' flags to the actual 'ld' command line. When
TARGET is not #f, make a wrapper for the cross-linker for TARGET, called
'TARGET-ld'. The wrapper uses GUILE and BASH."
(package
(name name)
(version "0")
(source #f)
(build-system trivial-build-system)
(inputs `(("binutils" ,binutils)
("guile" ,guile)
("bash" ,bash)
("wrapper" ,(search-path %load-path
"gnu/packages/ld-wrapper.in"))))
(arguments
`(#:guile ,guile-for-build
#:modules ((guix build utils))
#:builder (begin
(use-modules (guix build utils)
(system base compile))
(let* ((out (assoc-ref %outputs "out"))
(bin (string-append out "/bin"))
(ld ,(if target
`(string-append bin "/" ,target "-ld")
'(string-append bin "/ld")))
(go (string-append ld ".go")))
(setvbuf (current-output-port) _IOLBF)
(format #t "building ~s/bin/ld wrapper in ~s~%"
(assoc-ref %build-inputs "binutils")
out)
(mkdir-p bin)
(copy-file (assoc-ref %build-inputs "wrapper") ld)
(substitute* ld
(("@SELF@")
ld)
(("@GUILE@")
(string-append (assoc-ref %build-inputs "guile")
"/bin/guile"))
(("@BASH@")
(string-append (assoc-ref %build-inputs "bash")
"/bin/bash"))
(("@LD@")
(string-append (assoc-ref %build-inputs "binutils")
,(if target
(string-append "/bin/"
target "-ld")
"/bin/ld"))))
(chmod ld #o555)
(compile-file ld #:output-file go)))))
(synopsis "The linker wrapper")
(description
"The linker wrapper (or 'ld-wrapper') wraps the linker to add any
missing '-rpath' flags, and to detect any misuse of libraries outside of the
store.")
(home-page "http://www.gnu.org/software/guix/")
(license gpl3+)))
(export make-ld-wrapper)
(define-public glibc
(package
(name "glibc")
(version "2.20")
(version "2.21")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/glibc/glibc-"
version ".tar.xz"))
(sha256
(base32
"19bbyfc2gcxr9rihrkkbd3p362i608yhlyrr7icqsa6cmr16sjzq"))
"1f135546j34s9bfkydmx2nhh9vwxlx60jldi80zmsnln6wj3dsxf"))
(snippet
;; Disable 'ldconfig' and /etc/ld.so.cache. The latter is
;; required on LFS distros to avoid loading the distro's libc.so
@@ -381,31 +451,44 @@ included.")
;; users should automatically pull Linux headers as well.
(propagated-inputs `(("linux-headers" ,linux-libre-headers)))
;; Store the locales separately (~100 MiB). Note that "out" retains a
;; reference to them anyway, so there's no space savings here.
;; TODO: Eventually we may want to add a $LOCALE_ARCHIVE search path like
;; Nixpkgs does.
(outputs '("out" "locales" "debug"))
(outputs '("out" "debug"))
(arguments
`(#:out-of-source? #t
;; In version 2.21, there a race in the 'elf' directory, see
;; <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00709.html>.
#:parallel-build? #f
;; The libraries have an empty RUNPATH, but some, such as the versioned
;; libraries (libdl-2.21.so, etc.) have ld.so marked as NEEDED. Since
;; these libraries are always going to be found anyway, just skip
;; RUNPATH checks.
#:validate-runpath? #f
#:configure-flags
(list "--enable-add-ons"
"--sysconfdir=/etc"
(string-append "--localedir=" (assoc-ref %outputs "locales")
"/share/locale")
;; Installing a locale archive with all the locales is to
;; expensive (~100 MiB), so we rely on users to install the
;; locales they really want.
;;
;; Set the default locale path. In practice, $LOCPATH may be
;; defined to point whatever locales users want. However, setuid
;; binaries don't honor $LOCPATH, so they'll instead look into
;; $libc_cv_localedir; we choose /run/current-system/locale, with
;; the idea that it is going to be populated by the sysadmin.
;;
;; `--localedir' is not honored, so work around it.
;; See <http://sourceware.org/ml/libc-alpha/2013-03/msg00093.html>.
(string-append "libc_cv_localedir="
(assoc-ref %outputs "locales")
"/share/locale")
(string-append "libc_cv_localedir=/run/current-system/locale")
(string-append "--with-headers="
(assoc-ref %build-inputs "linux-headers")
"/include")
;; This is the default for most architectures as of GNU libc 2.20,
;; This is the default for most architectures as of GNU libc 2.21,
;; but we specify it explicitly for clarity and consistency. See
;; "kernel-features.h" in the GNU libc for details.
"--enable-kernel=2.6.32"
@@ -421,7 +504,8 @@ included.")
#:tests? #f ; XXX
#:phases (alist-cons-before
'configure 'pre-configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(lambda* (#:key inputs native-inputs outputs
#:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
;; Use `pwd', not `/bin/pwd'.
@@ -445,8 +529,13 @@ included.")
;; Copy a statically-linked Bash in the output, with
;; no references to other store paths.
;; FIXME: Normally we would look it up only in INPUTS but
;; cross-base uses it as a native input.
(mkdir-p bin)
(copy-file (string-append (assoc-ref inputs "static-bash")
(copy-file (string-append (or (assoc-ref inputs
"static-bash")
(assoc-ref native-inputs
"static-bash"))
"/bin/bash")
(string-append bin "/bash"))
(remove-store-references (string-append bin "/bash"))
@@ -476,17 +565,22 @@ included.")
"")
(("exec @PERL@")
"exec perl"))))
(alist-cons-after
'install 'install-locales
(lambda _
(zero? (system* "make" "localedata/install-locales")))
%standard-phases))))
%standard-phases)))
(inputs `(("static-bash" ,(static-package bash-light))))
;; To build the manual, we need Texinfo and Perl.
;; To build the manual, we need Texinfo and Perl. Gettext is needed to
;; install the message catalogs, with 'msgfmt'.
(native-inputs `(("texinfo" ,texinfo)
("perl" ,perl)))
("perl" ,perl)
("gettext" ,gnu-gettext)))
(native-search-paths
;; Search path for packages that provide locale data. This is useful
;; primarily in build environments.
(list (search-path-specification
(variable "LOCPATH")
(files '("lib/locale")))))
(synopsis "The GNU C Library")
(description
@@ -499,10 +593,106 @@ with the Linux kernel.")
(license lgpl2.0+)
(home-page "http://www.gnu.org/software/libc/")))
(define-public glibc-locales
(package
(inherit glibc)
(name "glibc-locales")
(source (origin (inherit (package-source glibc))
(patches (cons (search-patch "glibc-locales.patch")
(origin-patches (package-source glibc))))))
(synopsis "All the locales supported by the GNU C Library")
(description
"This package provides all the locales supported by the GNU C Library,
more than 400 in total. To use them set the 'LOCPATH' environment variable to
the 'share/locale' sub-directory of this package.")
(outputs '("out")) ;110+ MiB
(native-search-paths '())
(arguments
(let ((args `(#:tests? #f #:strip-binaries? #f
,@(package-arguments glibc))))
(substitute-keyword-arguments args
((#:phases phases)
`(alist-replace
'build
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
;; Delete $out/bin, which contains 'bash'.
(delete-file-recursively (string-append out "/bin")))
(zero? (system* "make" "localedata/install-locales"
"-j" (number->string (parallel-job-count)))))
(alist-delete 'install ,phases)))
((#:configure-flags flags)
`(append ,flags
;; Use $(libdir)/locale as is the case by default.
(list (string-append "libc_cv_localedir="
(assoc-ref %outputs "out")
"/lib/locale")))))))))
(define-public glibc-utf8-locales
(package
(name "glibc-utf8-locales")
(version (package-version glibc))
(source #f)
(build-system trivial-build-system)
(arguments
'(#:modules ((guix build utils))
#:builder (begin
(use-modules (srfi srfi-1)
(guix build utils))
(let* ((libc (assoc-ref %build-inputs "glibc"))
(gzip (assoc-ref %build-inputs "gzip"))
(out (assoc-ref %outputs "out"))
(localedir (string-append out "/lib/locale")))
;; 'localedef' needs 'gzip'.
(setenv "PATH" (string-append libc "/bin:" gzip "/bin"))
(mkdir-p localedir)
(every (lambda (locale)
(zero? (system* "localedef" "--no-archive"
"--prefix" localedir "-i" locale
"-f" "UTF-8"
(string-append localedir "/"
locale
".UTF-8"))))
;; These are the locales commonly used for
;; tests---e.g., in Guile's i18n tests.
'("de_DE" "el_GR" "en_US" "fr_FR" "tr_TR"))))))
(inputs `(("glibc" ,glibc)
("gzip" ,gzip)))
(synopsis "Small sample of UTF-8 locales")
(description
"This package provides a small sample of UTF-8 locales mostly useful in
test environments.")
(home-page (package-home-page glibc))
(license (package-license glibc))))
(define-public which
(package
(name "which")
(version "2.20")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/which/which-"
version ".tar.gz"))
(sha256
(base32
"1y2p50zadb36izzh2zw4dm5hvdiydqf3qa88l8kav20dcmfbc5yl"))))
(build-system gnu-build-system)
(home-page "https://gnu.org/software/which/")
(synopsis "Find full path of shell commands")
(description
"The which program finds the location of executables in PATH, with a
variety of options. It is an alternative to the shell \"type\" built-in
command.")
(license gpl3+))) ; some files are under GPLv2+
(define-public tzdata
(package
(name "tzdata")
(version "2014a")
(version "2015c")
(source (origin
(method url-fetch)
(uri (string-append
@@ -510,7 +700,7 @@ with the Linux kernel.")
version ".tar.gz"))
(sha256
(base32
"1cg843ajz4g16axpz56zvalwsbp1s764na2bk4fb44ayx162bzvw"))))
"0nin48g5dmkfgckp25bngxchn3sw3yyjss5sq7gs5xspbxgsq3w6"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f
@@ -557,7 +747,7 @@ with the Linux kernel.")
version ".tar.gz"))
(sha256
(base32
"1xfkqi1q8cnxqbv8azdj5pqlzhkjz6xag09f1z0s8rxi86jkpf85"))))))
"0bplibiy70dvlrhwqzkzxgmg81j6d2kklvjgi2f1g2zz1nkb3vkz"))))))
(home-page "http://www.iana.org/time-zones")
(synopsis "Database of current and historical time zones")
(description "The Time Zone Database (often called tz or zoneinfo)
+80 -7
View File
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,9 +19,11 @@
(define-module (gnu packages bash)
#:use-module (guix licenses)
#:use-module (gnu packages)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages readline)
#:use-module (gnu packages bison)
#:use-module (gnu packages linux)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
@@ -81,8 +83,10 @@
(27 "1gnsfvq6bhb3srlbh0cannj2hackdsipcg7z0ds7zlk1hp96mdqy")
(28 "17a65c4fn4c5rgsiw9gqqnzhznh3gwnd2xzzv2dppyi48znxpc78") ;CVE-2014-7186
(29 "14k27p28r5l2fz3r03kd0x72vvsq8bja8c6hjz5kxikbzsbs7i2c") ;CVE-2014-6277
(30 "0nrqb0m7s89qsrbfaffpilc5gcf82bx9yvgzld4hr79p5y54yhw5"))) ;CVE-2014-6278
(30 "0nrqb0m7s89qsrbfaffpilc5gcf82bx9yvgzld4hr79p5y54yhw5") ;CVE-2014-6278
(31 "07d62bl3z7qa8v6kgk47vzzazw563mlk9zhrsr4xsbqgvmcrylnd")
(32 "0jjgapfq4qhmndfrw8c3q3lva8xjdhlbd9cc631v41b0kb95g4w8")
(33 "05ma5rlxiadnfh925p4y7s0vvk917kmsdb1mfdx05gizl63pfapv")))
(define (download-patches store count)
"Download COUNT Bash patches into store. Return a list of
number/base32-hash tuples, directly usable in the 'patch-series' form."
@@ -125,6 +129,26 @@ number/base32-hash tuples, directly usable in the 'patch-series' form."
(let ((out (assoc-ref outputs "out")))
(with-directory-excursion (string-append out "/bin")
(symlink "bash" "sh")))))
(install-headers-phase
'(lambda* (#:key outputs #:allow-other-keys)
;; Install Bash headers so that packages that provide extensions
;; can use them. We install them in include/bash; that's what
;; Debian does and what Bash extensions like recutils or
;; guile-bash expect.
(let ((include (string-append (assoc-ref outputs "include")
"/include/bash"))
(headers "^\\./(builtins/|lib/glob/|lib/tilde/|)[^/]+\\.h$"))
(mkdir-p include)
(for-each (lambda (file)
(when ((@ (ice-9 regex) string-match) headers file)
(let ((directory (string-append include "/"
(dirname file))))
(mkdir-p directory)
(copy-file file
(string-append directory "/"
(basename file))))))
(find-files "." "\\.h$"))
#t)))
(version "4.3"))
(package
(name "bash")
@@ -145,6 +169,9 @@ number/base32-hash tuples, directly usable in the 'patch-series' form."
(version (string-append version "."
(number->string (length %patch-series-4.3))))
(build-system gnu-build-system)
(outputs '("out"
"include")) ;headers used by extensions
(native-inputs `(("bison" ,bison))) ;to rebuild the parser
(inputs `(("readline" ,readline)
("ncurses" ,ncurses))) ;TODO: add texinfo
@@ -166,9 +193,10 @@ number/base32-hash tuples, directly usable in the 'patch-series' form."
;; for now.
#:tests? #f
#:phases (alist-cons-after 'install 'post-install
,post-install-phase
%standard-phases)))
#:phases (modify-phases %standard-phases
(add-after 'install 'post-install ,post-install-phase)
(add-after 'install 'install-headers
,install-headers-phase))))
(synopsis "The GNU Bourne-Again SHell")
(description
"Bash is the shell, or command-line interpreter, of the GNU system. It
@@ -204,3 +232,48 @@ without modification.")
,@(if (%current-target-system)
'("bash_cv_job_control_missing=no")
'()))))))))
(define-public bash-completion
(package
(name "bash-completion")
(version "2.1")
(source (origin
(method url-fetch)
(uri (string-append
"http://bash-completion.alioth.debian.org/files/"
"bash-completion-" version ".tar.bz2"))
(sha256
(base32
"0kxf8s5bw7y50x0ksb77d3kv0dwadixhybl818w27y6mlw26hq1b"))
(patches
(list (search-patch "bash-completion-directories.patch")))))
(build-system gnu-build-system)
(native-inputs `(("util-linux" ,util-linux)))
(arguments
`(#:phases (alist-cons-after
'install 'remove-redundant-completions
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Util-linux comes with a bunch of completion files for
;; its own commands which are more sophisticated and
;; up-to-date than those of bash-completion. Remove those
;; from bash-completion.
(let* ((out (assoc-ref outputs "out"))
(util-linux (assoc-ref inputs "util-linux"))
(completions (string-append out
"/share/bash-completion"
"/completions"))
(already (find-files (string-append util-linux
"/etc/bash_completion.d"))))
(with-directory-excursion completions
(for-each (lambda (file)
(when (file-exists? file)
(delete-file file)))
(map basename already)))
#t))
%standard-phases)))
(synopsis "Bash completions for common commands")
(description
"This package provides extensions that allow Bash to provide adapted
completion for many common commands.")
(home-page "http://bash-completion.alioth.debian.org/")
(license gpl2+)))
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,7 +30,7 @@
(define bison
(package
(name "bison")
(version "3.0.2")
(version "3.0.4")
(source
(origin
(method url-fetch)
@@ -38,7 +38,7 @@
version ".tar.xz"))
(sha256
(base32
"0g4gjan477lac18m51kv4xzcsp6wjfsfwvd2dxymcl6vid9fihx2"))))
"1qbgf6q1n2z17k8g33444m0q68kf3fbiq65q7jlrzpvvj73jh957"))))
(build-system gnu-build-system)
(native-inputs `(("perl" ,perl)))
(inputs `(("flex" ,flex)))
+70 -3
View File
@@ -1,4 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
@@ -20,6 +21,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
#:use-module ((guix licenses) #:prefix l:)
#:use-module (gnu packages openssl)
#:use-module (gnu packages libevent)
@@ -30,7 +32,11 @@
#:use-module ((gnu packages compression)
#:select (zlib))
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk))
#:use-module (gnu packages gtk)
#:use-module (gnu packages check)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl))
(define-public transmission
(package
@@ -44,11 +50,12 @@
(sha256
(base32
"1sxr1magqb5s26yvr5yhs1f7bmir8gl09niafg64lhgfnhv1kz59"))))
(build-system gnu-build-system)
(build-system glib-or-gtk-build-system)
(outputs '("out" ; library and command-line interface
"gui")) ; graphical user interface
(arguments
'(#:phases (alist-cons-after
'(#:glib-or-gtk-wrap-excluded-outputs '("out")
#:phases (alist-cons-after
'install 'move-gui
(lambda* (#:key outputs #:allow-other-keys)
;; Move the GUI to its own output, so that "out" doesn't
@@ -88,3 +95,63 @@ DHT, µTP, PEX and Magnet Links.")
;;
;; A few files files carry an MIT/X11 license header.
(license l:gpl3+)))
(define-public libtorrent
(package
(name "libtorrent")
(version "0.13.4")
(source (origin
(method url-fetch)
(uri (string-append
"http://libtorrent.rakshasa.no/downloads/libtorrent-"
version ".tar.gz"))
(sha256
(base32
"0ma910br5vxrfpm4f4w4942lpmhwvqjnnf9h8vpf52fw35qhjkkh"))))
(build-system gnu-build-system)
(inputs `(("openssl" ,openssl)
("zlib" ,zlib)))
(native-inputs `(("pkg-config" ,pkg-config)
;; Add this when you enable tests:
;; ("cppunit" ,cppunit)
))
(arguments
;; FIXME: enable tests on the next release:
;; https://github.com/rakshasa/libtorrent/issues/59
`(#:tests? #f))
(synopsis "BitTorrent library of rtorrent")
(description
"LibTorrent is a BitTorrent library used by and developed in parallel
with the BitTorrent client rtorrent. It is written in C++ with emphasis on
speed and efficiency.")
(home-page "http://libtorrent.rakshasa.no/")
(license l:gpl2+)))
(define-public rtorrent
(package
(name "rtorrent")
(version "0.9.4")
(source (origin
(method url-fetch)
(uri (string-append
"http://libtorrent.rakshasa.no/downloads/rtorrent-"
version ".tar.gz"))
(sha256
(base32
"113yrrac75vqi4g8r6bgs0ggjllj9bkg9shv08vqzdhkwqg2q2mw"))))
(build-system gnu-build-system)
(inputs `(("libtorrent" ,libtorrent)
("ncurses" ,ncurses)
("curl" ,curl)
("cyrus-sasl" ,cyrus-sasl)
("openssl" ,openssl)
("zlib" ,zlib)))
(native-inputs `(("pkg-config" ,pkg-config)
("cppunit" ,cppunit)))
(synopsis "BitTorrent client with ncurses interface")
(description
"rTorrent is a BitTorrent client with an ncurses interface. It supports
full encryption, DHT, PEX, and Magnet Links. It can also be controlled via
XML-RPC over SCGI.")
(home-page "http://libtorrent.rakshasa.no/")
(license l:gpl2+)))
+44 -18
View File
@@ -1,6 +1,8 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -31,7 +33,7 @@
(define-public boost
(package
(name "boost")
(version "1.55.0")
(version "1.57.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -40,7 +42,7 @@
".tar.bz2"))
(sha256
(base32
"0lkv5dzssbl5fmh2nkaszi8x9qbj80pr4acf9i26sj3rvlih1w7z"))))
"0rs94vdmg34bwwj23fllva6mhrml2i7mvmlb11zyrk1k5818q34i"))))
(build-system gnu-build-system)
(inputs `(("zlib" ,zlib)))
(native-inputs
@@ -50,24 +52,30 @@
(arguments
(let ((build-flags
`("threading=multi" "link=shared"
;; Set the RUNPATH to $libdir so that the libs find each other.
(string-append "linkflags=-Wl,-rpath="
(assoc-ref outputs "out") "/lib")
;; Boost's 'context' library is not yet supported on mips64, so
;; we disable it. The 'coroutine' library depends on 'context',
;; so we disable that too.
,@(if (equal? "mips64el-linux" (or (%current-target-system)
,@(if (string-prefix? "mips64" (or (%current-target-system)
(%current-system)))
'("--without-context" "--without-coroutine")
'()))))
`(#:phases
`(#:tests? #f
#:phases
(alist-replace
'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* '("libs/config/configure"
"libs/spirit/classic/phoenix/test/runtest.sh"
"tools/build/v2/doc/bjam.qbk"
"tools/build/v2/engine/execunix.c"
"tools/build/v2/engine/Jambase"
"tools/build/v2/engine/jambase.c")
"tools/build/doc/bjam.qbk"
"tools/build/src/engine/execunix.c"
"tools/build/src/engine/Jambase"
"tools/build/src/engine/jambase.c")
(("/bin/sh") (which "sh")))
(setenv "SHELL" (which "sh"))
@@ -78,18 +86,14 @@
"--with-toolset=gcc"))))
(alist-replace
'build
(lambda _
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "./b2" ,@build-flags)))
(alist-replace
'check
(lambda _ #t)
(alist-replace
'install
(lambda _
(zero? (system* "./b2" "install" ,@build-flags)))
%standard-phases)))))))
'install
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "./b2" "install" ,@build-flags)))
%standard-phases))))))
(home-page "http://boost.org")
(synopsis "Peer-reviewed portable C++ source libraries")
@@ -98,3 +102,25 @@
across a broad spectrum of applications.")
(license (license:x11-style "http://www.boost.org/LICENSE_1_0.txt"
"Some components have other similar licences."))))
(define-public mdds
(package
(name "mdds")
(version "0.12.0")
(source (origin
(method url-fetch)
(uri (string-append
"http://kohei.us/files/mdds/src/mdds_" version ".tar.bz2"))
(sha256
(base32
"10ar7r0gkdl2r7916jlkl5c38cynrh7x9s90a5i8d242r8ixw8ia"))))
(build-system gnu-build-system)
(propagated-inputs
`(("boost" ,boost))) ; inclusion of header files
(home-page "https://code.google.com/p/multidimalgorithm/")
(synopsis "Multi-dimensional C++ data structures and indexing algorithms")
(description "Mdds (multi-dimensional data structure) provides a
collection of multi-dimensional data structures and indexing algorithms
for C++. It includes flat segment trees, segment trees, rectangle sets,
point quad trees, multi-type vectors and multi-type matrices.")
(license license:expat)))
+60 -14
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -58,9 +59,9 @@
"Return a variant of SOURCE, an <origin> instance, whose method uses
%BOOTSTRAP-GUILE to do its job."
(define (boot fetch)
(lambda* (store url hash-algo hash
(lambda* (url hash-algo hash
#:optional name #:key system)
(fetch store url hash-algo hash
(fetch url hash-algo hash
#:guile %bootstrap-guile
#:system system)))
@@ -87,10 +88,13 @@
(patch patch))
(origin-patches source))))))
(define (package-from-tarball name source program-to-test description)
(define* (package-from-tarball name source program-to-test description
#:key snippet)
"Return a package that correspond to the extraction of SOURCE.
PROGRAM-TO-TEST is a program to run after extraction of SOURCE, to
check whether everything is alright."
check whether everything is alright. If SNIPPET is provided, it is
evaluated after extracting SOURCE. SNIPPET should return true if
successful, or false to signal an error."
(package
(name name)
(version "0")
@@ -112,6 +116,7 @@ check whether everything is alright."
(with-directory-excursion out
(and (zero? (system* tar "xvf"
(string-append builddir "/binaries.tar")))
,@(if snippet (list snippet) '())
(zero? (system* (string-append "bin/" ,program-to-test)
"--version"))))))))
(inputs
@@ -157,11 +162,13 @@ check whether everything is alright."
"Return the name of Glibc's dynamic linker for SYSTEM."
(cond ((string=? system "x86_64-linux") "/lib/ld-linux-x86-64.so.2")
((string=? system "i686-linux") "/lib/ld-linux.so.2")
((string=? system "armhf-linux") "/lib/ld-linux-armhf.so.3")
((string=? system "mips64el-linux") "/lib/ld.so.1")
;; XXX: This one is used bare-bones, without a libc, so add a case
;; here just so we can keep going.
((string=? system "xtensa-elf") "no-ld.so")
((string=? system "avr") "no-ld.so")
(else (error "dynamic linker name not known for this system"
system))))
@@ -185,7 +192,11 @@ check whether everything is alright."
(xz (->store "xz"))
(mkdir (->store "mkdir"))
(bash (->store "bash"))
(guile (->store "guile-2.0.9.tar.xz"))
(guile (->store (match system
("armhf-linux"
"guile-2.0.11.tar.xz")
(_
"guile-2.0.9.tar.xz"))))
(builder
(add-text-to-store store
"build-bootstrap-guile.sh"
@@ -245,7 +256,11 @@ $out/bin/guile --version~%"
(origin
(method url-fetch)
(uri (map (cut string-append <> "/" system
"/20131110/static-binaries.tar.xz")
(match system
("armhf-linux"
"/20150101/static-binaries.tar.xz")
(_
"/20131110/static-binaries.tar.xz")))
%bootstrap-base-urls))
(sha256
(match system
@@ -255,11 +270,21 @@ $out/bin/guile --version~%"
("i686-linux"
(base32
"0s5b3jb315n13m1k8095l0a5hfrsz8g0fv1b6riyc5hnxqyphlak"))
("armhf-linux"
(base32
"0gf0fn2kbpxkjixkmx5f4z6hv6qpmgixl69zgg74dbsfdfj8jdv5"))
("mips64el-linux"
(base32
"072y4wyfsj1bs80r6vbybbafy8ya4vfy7qj25dklwk97m6g71753"))))))
"true" ; the program to test
"Bootstrap binaries of Coreutils, Awk, etc."))
"fgrep" ; the program to test
"Bootstrap binaries of Coreutils, Awk, etc."
#:snippet
'(let ((path (list (string-append (getcwd) "/bin"))))
(chmod "bin" #o755)
(patch-shebang "bin/egrep" path)
(patch-shebang "bin/fgrep" path)
(chmod "bin" #o555)
#t)))
(define %bootstrap-binutils
(package-from-tarball "binutils-bootstrap"
@@ -267,7 +292,11 @@ $out/bin/guile --version~%"
(origin
(method url-fetch)
(uri (map (cut string-append <> "/" system
"/20131110/binutils-2.23.2.tar.xz")
(match system
("armhf-linux"
"/20150101/binutils-2.25.tar.xz")
(_
"/20131110/binutils-2.23.2.tar.xz")))
%bootstrap-base-urls))
(sha256
(match system
@@ -277,6 +306,9 @@ $out/bin/guile --version~%"
("i686-linux"
(base32
"14jgwf9gscd7l2pnz610b1zia06dvcm2qyzvni31b8zpgmcai2v9"))
("armhf-linux"
(base32
"1v7dj6bzn6m36f20gw31l99xaabq4xrhrx3gwqkhhig0mdlmr69q"))
("mips64el-linux"
(base32
"1x8kkhcxmfyzg1ddpz2pxs6fbdl6412r7x0nzbmi5n7mj8zw2gy7"))))))
@@ -321,7 +353,11 @@ $out/bin/guile --version~%"
(origin
(method url-fetch)
(uri (map (cut string-append <> "/" (%current-system)
"/20131110/glibc-2.18.tar.xz")
(match (%current-system)
("armhf-linux"
"/20150101/glibc-2.20.tar.xz")
(_
"/20131110/glibc-2.18.tar.xz")))
%bootstrap-base-urls))
(sha256
(match (%current-system)
@@ -331,6 +367,9 @@ $out/bin/guile --version~%"
("i686-linux"
(base32
"1hgrccw1zqdc7lvgivwa54d9l3zsim5pqm0dykxg0z522h6gr05w"))
("armhf-linux"
(base32
"18cmgvpllqfpn6khsmivqib7ys8ymnq0hdzi3qp24prik0ykz8gn"))
("mips64el-linux"
(base32
"0k97a3whzx3apsi9n2cbsrr79ad6lh00klxph9hw4fqyp1abkdsg")))))))))
@@ -392,7 +431,11 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
(origin
(method url-fetch)
(uri (map (cut string-append <> "/" (%current-system)
"/20131110/gcc-4.8.2.tar.xz")
(match (%current-system)
("armhf-linux"
"/20150101/gcc-4.8.4.tar.xz")
(_
"/20131110/gcc-4.8.2.tar.xz")))
%bootstrap-base-urls))
(sha256
(match (%current-system)
@@ -402,16 +445,19 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
("i686-linux"
(base32
"150c1arrf2k8vfy6dpxh59vcgs4p1bgiz2av5m19dynpks7rjnyw"))
("armhf-linux"
(base32
"0ghz825yzp43fxw53kd6afm8nkz16f7dxi9xi40bfwc8x3nbbr8v"))
("mips64el-linux"
(base32
"1m5miqkyng45l745n0sfafdpjkqv9225xf44jqkygwsipj2cv9ks")))))))))
(native-search-paths
(list (search-path-specification
(variable "CPATH")
(directories '("include")))
(files '("include")))
(search-path-specification
(variable "LIBRARY_PATH")
(directories '("lib" "lib64")))))
(files '("lib" "lib64")))))
(synopsis "Bootstrap binaries of the GNU Compiler Collection")
(description #f)
(home-page #f)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -98,8 +98,8 @@
("zip" ,zip)))
(synopsis "Many common UNIX utilities in a single executable")
(description "BusyBox combines tiny versions of many common UNIX utilities
into a single small executable. It provides a fairly complete
environment for any small or embedded system.")
into a single small executable. It provides a fairly complete environment for
any small or embedded system.")
(home-page "http://www.busybox.net")
;; Some files are gplv2+
(license gpl2)))
+52
View File
@@ -0,0 +1,52 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 David Thompson <davet@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages calendar)
#:use-module (gnu packages)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages perl))
(define-public libical
(package
(name "libical")
(version "1.0.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/libical/libical/releases/download/v"
version "/libical-" version ".tar.gz"))
(sha256
(base32
"14lmjj63zyx88rf1z71l0v9ms4c2vpdhmixksjjxgywp5p2f7708"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f)) ; test suite appears broken
(native-inputs
`(("perl" ,perl)))
(inputs
`(("icu4c" ,icu4c)))
(home-page "https://libical.github.io/libical/")
(synopsis "iCalendar protocols and data formats implementation")
(description
"Libical is an implementation of the iCalendar protocols and protocol
data units.")
(license lgpl2.1)))
+139 -25
View File
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,7 +33,11 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages readline)
#:use-module (gnu packages which))
#:use-module (gnu packages base)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
#:use-module (gnu packages wget)
#:use-module (gnu packages xiph))
(define-public libcddb
(package
@@ -68,14 +73,14 @@ caching facility provided by the library.")
(define-public libcdio
(package
(name "libcdio")
(version "0.92")
(version "0.93")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/libcdio/libcdio-"
version ".tar.gz"))
(sha256
(base32
"1b9zngn8nnxb1yyngi1kwi73nahp4lsx59j17q1bahzz58svydik"))))
"0xb9km1750ndr7nglgbv1smv03dy8nkcfd9djbzqn3ldzlicswj9"))))
(build-system gnu-build-system)
(inputs
`(("ncurses" ,ncurses)
@@ -95,6 +100,27 @@ libcdio-paranoia, a library providing jitter-free and error-free audio
extraction from CDs.")
(license gpl3+)))
(define-public libcdio-paranoia
(package
(name "libcdio-paranoia")
(version "10.2+0.93+1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/libcdio/libcdio-paranoia-"
version ".tar.bz2"))
(sha256
(base32
"14x4b4jk5b0zvcalrg02y4jmbkmmlb07qfmk5hph9k18b8frn7gc"))))
(build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config)))
(propagated-inputs `(("libcdio" ,libcdio)))
(home-page "http://www.gnu.org/software/libcdio/")
(synopsis "Jitter- and error-tolerant CD audio extraction")
(description
"libcdio-paranoia is an implementation of CD paranoia libraries based on
libcdio.")
(license gpl3+)))
(define-public xorriso
(package
(name "xorriso")
@@ -135,30 +161,17 @@ files.")
(sha256
(base32
"1pv4zrajm46za0f6lv162iqffih57a8ly4pc69f7y0gfyigb8p80"))
(patches (list (search-patch "cdparanoia-fpic.patch")))))
(patches (list (search-patch "cdparanoia-fpic.patch")))
(modules '((guix build utils)))
(snippet
;; Make libraries respect LDFLAGS.
'(substitute* '("paranoia/Makefile.in" "interface/Makefile.in")
(("-Wl,-soname") "$(LDFLAGS) -Wl,-soname")))))
(build-system gnu-build-system)
(inputs
`(("patchelf" ,patchelf)))
(arguments
`(#:tests? #f ; there is no check target
#:modules ((guix build gnu-build-system)
(guix build utils)
(guix build rpath)
(srfi srfi-26))
#:imported-modules ((guix build gnu-build-system)
(guix build utils)
(guix build rpath))
#:phases
(alist-cons-after
'strip 'add-lib-to-runpath
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(lib (string-append out "/lib")))
;; Add LIB to the RUNPATH of all the executables.
(with-directory-excursion out
(for-each (cut augment-rpath <> lib)
(find-files "bin" ".*")))))
%standard-phases)))
#:configure-flags ; Add $libdir to the RUNPATH of all the executables.
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))))
(home-page "http://www.xiph.org/paranoia/")
(synopsis "Audio CD reading utility")
(description "Cdparanoia retrieves audio tracks from CDDA capable CDROM
@@ -217,3 +230,104 @@ files. Dvdisaster works at the image level so that the recovery does not
depend on the file system of the medium. The maximum error correction
capacity is user-selectable.")
(license gpl2+)))
(define-public cd-discid
(package
(name "cd-discid")
(version "1.4")
(home-page "http://linukz.org/cd-discid.shtml")
(source (origin
(method url-fetch)
(uri (string-append "http://linukz.org/download/cd-discid-"
version ".tar.gz"))
(sha256
(base32
"0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz"))
(modules '((guix build utils)))
(snippet
'(substitute* "Makefile"
(("/usr/bin/install")
"install")))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f
#:phases (alist-delete 'configure %standard-phases)
#:make-flags (list "CC=gcc"
(string-append "PREFIX="
(assoc-ref %outputs "out")))))
(synopsis "Get CDDB discid information from an audio CD")
(description
"cd-discid is a command-line tool to retrieve CDDB discid information
from an audio CD.")
(license gpl2+)))
(define-public abcde
(package
(name "abcde")
(version "2.6")
(home-page "http://abcde.einval.com/")
(source (origin
(method url-fetch)
(uri (string-append home-page "/download/abcde-"
version ".tar.gz"))
(sha256
(base32
"0y2cg233n2hixs0ji76dggpzgf52v4c4mnpwiai889ql2piafgk8"))
(modules '((guix build utils)))
(snippet
'(substitute* "Makefile"
(("/usr/bin/install")
"install")
(("^etcdir = .*$")
(string-append "etcdir = $(prefix)/etc\n"))))))
(build-system gnu-build-system)
(arguments
'(#:phases (alist-replace
'configure
(lambda* (#:key outputs inputs #:allow-other-keys)
(substitute* "Makefile"
(("^prefix = .*$")
(string-append "prefix = "
(assoc-ref outputs "out")
"\n"))))
(alist-cons-after
'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((wget (assoc-ref inputs "wget"))
(vorbis (assoc-ref inputs "vorbis-tools"))
(parano (assoc-ref inputs "cdparanoia"))
(which (assoc-ref inputs "which"))
(discid (assoc-ref inputs "cd-discid"))
(out (assoc-ref outputs "out")))
(define (wrap file)
(wrap-program file
`("PATH" ":" prefix
(,(string-append out "/bin:"
wget "/bin:"
which "/bin:"
vorbis "/bin:"
discid "/bin:"
parano "/bin")))))
(for-each wrap
(find-files (string-append out "/bin")
".*"))))
%standard-phases))
#:tests? #f))
(inputs `(("wget" ,wget)
("which" ,which)
("cdparanoia" ,cdparanoia)
("cd-discid" ,cd-discid)
("vorbis-tools" ,vorbis-tools)
;; A couple of Python and Perl scripts are included.
("python" ,python)
("perl" ,perl)))
(synopsis "Command-line audio CD ripper")
(description
"abcde is a front-end command-line utility (actually, a shell script)
that grabs tracks off a CD, encodes them to Ogg/Vorbis, MP3, FLAC, Ogg/Speex
and/or MPP/MP+ (Musepack) format, and tags them, all in one go.")
(license gpl2+)))
+125
View File
@@ -0,0 +1,125 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages certs)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
#:use-module (gnu packages gnuzilla)
#:use-module (gnu packages openssl)
#:use-module (gnu packages python))
(define certdata2pem
(package
(name "certdata2pem")
(version "2013")
(source
(origin
(method url-fetch)
(uri
"http://pkgs.fedoraproject.org/cgit/ca-certificates.git/plain/certdata2pem.py?id=053dde8a2f5901e97028a58bf54e7d0ef8095a54")
(file-name "certdata2pem.py")
(sha256
(base32
"0zscrm41gnsf14zvlkxhy00h3dmgidyz645ldpda3y3vabnwv8dx"))))
(build-system trivial-build-system)
(inputs
`(("python" ,python-2)))
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let ((bin (string-append %output "/bin")))
(copy-file (assoc-ref %build-inputs "source") "certdata2pem.py")
(chmod "certdata2pem.py" #o555)
(substitute* "certdata2pem.py"
(("/usr/bin/python")
(string-append (assoc-ref %build-inputs "python")
"/bin/python"))
;; Use the file extension .pem instead of .crt.
(("crt") "pem"))
(mkdir-p bin)
(copy-file "certdata2pem.py"
(string-append bin "/certdata2pem.py"))))))
(synopsis "Python script to extract .pem data from certificate collection")
(description
"certdata2pem.py is a Python script to transform X.509 certificate
\"source code\" as contained, for example, in the Mozilla sources, into
.pem formatted certificates.")
(license license:gpl2+)
(home-page "http://pkgs.fedoraproject.org/cgit/ca-certificates.git/")))
(define-public nss-certs
(package (inherit nss) ; to reuse the source, version and some metadata
(name "nss-certs")
(build-system gnu-build-system)
(outputs '("out"))
(native-inputs
`(("certdata2pem" ,certdata2pem)
("openssl" ,openssl)))
(inputs '())
(propagated-inputs '())
(arguments
`(#:modules ((guix build gnu-build-system)
(guix build utils)
(rnrs io ports)
(srfi srfi-26)
(ice-9 regex))
#:phases
(alist-cons-after
'unpack 'install
(lambda _
(let ((certsdir (string-append %output "/etc/ssl/certs/"))
(trusted-rx (make-regexp "^# openssl-trust=[a-zA-Z]"
regexp/newline)))
(define (maybe-install-cert file)
(let ((cert (call-with-input-file file get-string-all)))
(when (regexp-exec trusted-rx cert)
(call-with-output-file
(string-append certsdir file)
(cut display cert <>)))))
(mkdir-p certsdir)
(with-directory-excursion "nss/lib/ckfw/builtins/"
;; extract single certificates from blob
(system* "certdata2pem.py" "certdata.txt")
;; copy selected .pem files into the output
(for-each maybe-install-cert
(find-files "." ".*\\.pem")))
(with-directory-excursion certsdir
;; create symbolic links for and by openssl
;; Strangely, the call (system* "c_rehash" certsdir)
;; from inside the build dir fails with
;; "Usage error; try -help."
;; This looks like a bug in openssl-1.0.2, but we can also
;; switch into the target directory.
(system* "c_rehash" "."))))
(map (cut assq <> %standard-phases)
'(set-paths install-locale unpack)))))
(synopsis "CA certificates from Mozilla")
(description
"This package provides certificates for Certification Authorities (CA)
taken from the NSS package and thus ultimately from the Mozilla project.")))
-49
View File
@@ -1,49 +0,0 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages cflow)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (gnu packages emacs))
(define-public cflow
(package
(name "cflow")
(version "1.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/cflow/cflow-"
version ".tar.bz2"))
(sha256
(base32
"1jkbq97ajcf834z68hbn3xfhiz921zhn39gklml1racf0kb3jzh3"))))
(build-system gnu-build-system)
;; Needed to have cflow-mode.el installed.
(native-inputs `(("emacs" ,emacs)))
(home-page "http://www.gnu.org/software/cflow/")
(synopsis "Create a graph of control flow within a program")
(description
"GNU cflow analyzes C source files and produces a graph charting the
control flow of the program. It can output the graph in several styles and
in either the POSIX format or in an extended GNU format. cflow also includes
a major mode for Emacs for examining the flowcharts that it produces.")
(license gpl3+)))
+85 -5
View File
@@ -1,5 +1,8 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,15 +21,18 @@
(define-module (gnu packages check)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial))
(define-public check
(package
(name "check")
(version "0.9.9")
(version "0.9.14")
(source
(origin
(method url-fetch)
@@ -34,7 +40,7 @@
version "/check-" version ".tar.gz"))
(sha256
(base32
"1jcahzrvxcnp5chdn2x46l0y4aba8d8yd70lljfin7h5knxrlyhs"))))
"02l4g79d81s07hzywcv1knwj5dyrwjiq2pgxaz7kidxi8m364wn2"))))
(build-system gnu-build-system)
(home-page "http://check.sourceforge.net/")
(synopsis "Unit test framework for C")
@@ -47,6 +53,36 @@ faults or other signals. The output from unit tests can be used within
source code editors and IDEs.")
(license lgpl2.1+)))
(define-public cunit
(package
(name "cunit")
(version "2.1-3")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/cunit/CUnit/"
version "/CUnit-" version ".tar.bz2"))
(sha256
(base32
"057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm"))))
(build-system gnu-build-system)
(arguments '(#:phases
(alist-cons-before
'configure 'autoconf
(lambda _
(zero? (system* "autoreconf" "-vfi")))
%standard-phases)))
(native-inputs
`(("automake" ,automake)
("autoconf" ,autoconf)
("libtool" ,libtool)))
(home-page "http://cunit.sourceforge.net/")
(synopsis "Automated testing framework for C")
(description
"CUnit is a lightweight system for writing, administering, and running
unit tests in C. It provides C programmers with basic testing functionality
with a flexible variety of user interfaces.")
(license gpl2+)))
(define-public cppunit
(package
@@ -54,12 +90,18 @@ source code editors and IDEs.")
(version "1.12.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/cppunit/" name "/"
(uri (string-append "mirror://sourceforge/cppunit/" name "/"
name "-"
version ".tar.gz"))
(sha256
(base32
"0jm49v5rmc5qw34vqs56gy8xja1dhci73bmh23cig4kcir6a0a5c"))))
;; Explicitly link with libdl. This is expected to be done by packages
;; relying on cppunit for their tests. However, not all of them do.
;; If we added the linker flag to such packages, we would pollute all
;; binaries, not only those used for testing.
(arguments
`(#:make-flags '("LDFLAGS=-ldl")))
(build-system gnu-build-system)
(home-page "http://sourceforge.net/projects/cppunit/")
(synopsis "Unit testing framework for C++")
@@ -68,4 +110,42 @@ unit testing. Test output is in XML for automatic testing and GUI based for
supervised tests.")
(license lgpl2.1))) ; no copyright notices. LGPL2.1 is in the tarball
(define-public catch-framework
(package
(name "catch")
(version "1.0.53") ;Sub-minor is the build number
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/philsquared/Catch")
;; Semi-arbitrary. Contains mostly documentation fixes
;; since build 53.
(commit "b9ec8a1")))
(file-name (string-append name "-" version))
(sha256
(base32
"05iijiwjwcjbza7qamwd32d0jypi0lpywmilmmj2xh280mcl4dbd"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder (begin
(use-modules (guix build utils))
(let* ((source (assoc-ref %build-inputs "source"))
(output (assoc-ref %outputs "out"))
(incdir (string-append output "/include"))
(docdir (string-append output "/share/doc/catch-"
,version)))
(begin
(for-each mkdir-p (list incdir docdir))
(copy-file (string-append source
"/single_include/catch.hpp")
(string-append incdir
"/catch.hpp"))
(copy-recursively (string-append source "/docs")
docdir))))))
(home-page "http://catch-lib.net/")
(synopsis "Automated test framework for C++ and Objective-C")
(description
"Catch stands for C++ Automated Test Cases in Headers and is a
multi-paradigm automated test framework for C++ and Objective-C.")
(license boost1.0)))
+15 -4
View File
@@ -3,6 +3,7 @@
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,7 +36,7 @@
(define-public cmake
(package
(name "cmake")
(version "2.8.12")
(version "3.2.2")
(source (origin
(method url-fetch)
(uri (string-append
@@ -43,11 +44,12 @@
(version-major+minor version)
"/cmake-" version ".tar.gz"))
(sha256
(base32 "11q21vyrr6c6smyjy81k2k07zmn96ggjia9im9cxwvj0n88bm1fq"))
(base32 "0y3w83al0vh9ll7fnqm3nx7l8hsl85k8iv9abxb791q36rp4xsdd"))
(patches (list (search-patch "cmake-fix-tests.patch")))))
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
#:parallel-tests? #f ; 3 test from RunCMake fails
#:phases (alist-cons-before
'configure 'patch-bin-sh
(lambda _
@@ -62,10 +64,12 @@
"Source/cmGlobalXCodeGenerator.cxx"
"Source/CTest/cmCTestBatchTestHandler.cxx"
"Source/cmLocalUnixMakefileGenerator3.cxx"
"Source/cmExecProgramCommand.cxx"
"Utilities/cmbzip2/Makefile-libbz2_so"
"Utilities/Release/release_cmake.cmake"
"Utilities/cmlibarchive/libarchive/archive_write_set_format_shar.c"
"Tests/CMakeLists.txt")
"Tests/CMakeLists.txt"
"Tests/RunCMake/File_Generate/RunCMakeTest.cmake")
(("/bin/sh") (which "sh"))))
(alist-cons-before
'configure 'set-paths
@@ -73,7 +77,9 @@
;; Help cmake's bootstrap process to find system libraries
(begin
(setenv "CMAKE_LIBRARY_PATH" (getenv "LIBRARY_PATH"))
(setenv "CMAKE_INCLUDE_PATH" (getenv "CPATH"))))
(setenv "CMAKE_INCLUDE_PATH" (getenv "CPATH"))
;; Get verbose output from failed tests
(setenv "CTEST_OUTPUT_ON_FAILURE" "TRUE")))
(alist-replace
'configure
(lambda* (#:key outputs #:allow-other-keys)
@@ -82,6 +88,7 @@
"./configure"
(string-append "--prefix=" out)
"--system-libs"
"--no-system-jsoncpp" ; not packaged yet
;; By default, the man pages and other docs land
;; in PREFIX/man and PREFIX/doc, but we want them
;; in share/{man,doc}. Note that unlike
@@ -100,6 +107,10 @@
("expat" ,expat)
("bzip2" ,bzip2)
("libarchive" ,libarchive)))
(native-search-paths
(list (search-path-specification
(variable "CMAKE_PREFIX_PATH")
(files '("")))))
(home-page "http://www.cmake.org/")
(synopsis "Cross-platform build system")
(description
+227
View File
@@ -0,0 +1,227 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages code)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu)
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
#:use-module (gnu packages emacs)
#:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages perl)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages autogen)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages autotools))
;;; Tools to deal with source code: metrics, cross-references, etc.
(define-public cflow
(package
(name "cflow")
(version "1.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/cflow/cflow-"
version ".tar.bz2"))
(sha256
(base32
"1jkbq97ajcf834z68hbn3xfhiz921zhn39gklml1racf0kb3jzh3"))))
(build-system gnu-build-system)
;; Needed to have cflow-mode.el installed.
(native-inputs `(("emacs" ,emacs-no-x)))
(home-page "http://www.gnu.org/software/cflow/")
(synopsis "Create a graph of control flow within a program")
(description
"GNU cflow analyzes C source files and produces a graph charting the
control flow of the program. It can output the graph in several styles and
in either the POSIX format or in an extended GNU format. cflow also includes
a major mode for Emacs for examining the flowcharts that it produces.")
(license license:gpl3+)))
(define-public complexity
(package
(name "complexity")
(version "1.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/complexity/complexity-"
version ".tar.gz"))
(sha256
(base32
"0pmlhlj1chl4caaqffvn1cy9z8gwmjbx97syi7pdfa0vqygkql6d"))))
(build-system gnu-build-system)
(native-inputs
`(("texinfo" ,texinfo)
("autogen" ,autogen)))
(home-page "http://www.gnu.org/software/complexity/")
(synopsis "Analyze complexity of C functions")
(description
"GNU complexity provides tools for finding procedures that are
convoluted, overly long or otherwise difficult to understand. This
may help in learning or reviewing unfamiliar code or perhaps
highlighting your own code that seemed comprehensible when you wrote it.")
(license license:gpl3+)))
(define-public global ; a global variable
(package
(name "global")
(version "6.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/global/global-"
version ".tar.gz"))
(sha256
(base32
"13i4zwx6gaibc4j79wd0hgxysw8ibxz9c018zxhydnxlyadzcnri"))))
(build-system gnu-build-system)
(inputs `(("ncurses" ,ncurses)
("libltdl" ,libltdl)
("sqlite" ,sqlite)))
(arguments
`(#:configure-flags
(list (string-append "--with-ncurses="
(assoc-ref %build-inputs "ncurses"))
(string-append "--with-sqlite3="
(assoc-ref %build-inputs "sqlite")))
#:phases (alist-cons-after
'install 'post-install
(lambda* (#:key outputs #:allow-other-keys)
;; Install the Emacs Lisp file in the right place.
(let* ((out (assoc-ref outputs "out"))
(data (string-append out "/share/gtags"))
(lisp (string-append out "/share/emacs/site-lisp")))
(mkdir-p lisp)
(copy-file (string-append data "/gtags.el")
(string-append lisp "/gtags.el"))
(delete-file (string-append data "/gtags.el"))
#t))
%standard-phases)))
(home-page "http://www.gnu.org/software/global/")
(synopsis "Cross-environment source code tag system")
(description
"GLOBAL is a source code tagging system that functions in the same way
across a wide array of environments, such as different text editors, shells
and web browsers. The resulting tags are useful for quickly moving around in
a large, deeply nested project.")
(license license:gpl3+)))
(define-public sloccount
(package
(name "sloccount")
(version "2.26")
(source (origin
(method url-fetch)
(uri (string-append "http://www.dwheeler.com/sloccount/sloccount-"
version ".tar.gz"))
(sha256
(base32
"0ayiwfjdh1946asah861ah9269s5xkc8p5fv1wnxs9znyaxs4zzs"))))
(build-system gnu-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(delete 'configure)
(add-before 'build 'make-dotl-files-older
(lambda _
;; Make the '.l' files as old as the '.c'
;; files to avoid triggering the rule that
;; requires Flex.
(define ref
(stat "README"))
(for-each (lambda (file)
(set-file-time file ref))
(find-files "." "\\.[chl]$"))
#t))
(add-before 'install 'make-target-directories
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(mkdir-p (string-append out "/bin"))
(mkdir-p (string-append out
"/share/man/man1"))
(mkdir-p (string-append out
"/share/doc")))))
(replace 'check
(lambda _
(setenv "HOME" (getcwd))
(setenv "PATH"
(string-append (getcwd) ":"
(getenv "PATH")))
(zero? (system* "make" "test")))))
#:make-flags (list (string-append "PREFIX="
(assoc-ref %outputs "out")))))
(inputs `(("perl" ,perl)))
(home-page "http://www.dwheeler.com/sloccount/")
(synopsis "Count physical source lines of code (SLOC)")
(description
"SLOCCount is a set of the programs for counting source lines of
code (SLOC) in large software systems. It can automatically identify and
measure a wide range of programming languages. It automatically estimates the
effort, time, and money it would take to develop the software, using the
COCOMO model or user-provided parameters.")
(license license:gpl2+)))
(define-public the-silver-searcher
(package
(name "the-silver-searcher")
(version "0.29.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/ggreer/the_silver_searcher/archive/"
version ".tar.gz"))
(sha256
(base32
"0ah7vcqprl9hhafi68bvzaiywy7dfm28zf7kpw3xrlqzfn0vg7kp"))
(file-name (string-append name "-" version ".tar.gz"))))
(build-system gnu-build-system)
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(inputs
`(("pcre" ,pcre)
("xz" ,xz)
("zlib" ,zlib)))
(arguments
`(#:phases
;; There is no configure yet, so let's create it, but let configure and
;; make do the work in later phases.
(alist-cons-before 'configure 'autoconf
(lambda _
(substitute* "build.sh"
(("./configure") "true")
(("make -j4") "true"))
(zero? (system* "sh" "build.sh")))
%standard-phases)))
(home-page "http://geoff.greer.fm/ag/")
(synopsis "Fast code searching tool")
(description
"The silver searcher, or 'ag', is tool for quickly searching through
files, but compared to grep is much faster and respects files like .gitignore,
.hgignore, etc.")
(license license:asl2.0)))
+81 -72
View File
@@ -1,8 +1,8 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,12 +26,12 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages gcc)
#:use-module (gnu packages ed)
#:use-module (gnu packages m4)
#:use-module (gnu packages file)
#:use-module (gnu packages gawk)
#:use-module (gnu packages bison)
#:use-module (gnu packages guile)
#:use-module (gnu packages gettext)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages compression)
#:use-module (gnu packages perl)
@@ -122,19 +122,6 @@
("file" ,file-boot0)
,@%bootstrap-inputs))
(define* (nix-system->gnu-triplet
#:optional (system (%current-system)) (vendor "unknown"))
"Return an a guess of the GNU triplet corresponding to Nix system
identifier SYSTEM."
(let* ((dash (string-index system #\-))
(arch (substring system 0 dash))
(os (substring system (+ 1 dash))))
(string-append arch
"-" vendor "-"
(if (string=? os "linux")
"linux-gnu"
os))))
(define* (boot-triplet #:optional (system (%current-system)))
;; Return the triplet used to create the cross toolchain needed in the
;; first bootstrapping stage.
@@ -430,6 +417,40 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
'("gcc" "libc")))
(current-source-location)))))
(define gettext-boot0
;; A minimal gettext used during bootstrap.
(let ((gettext-minimal
(package (inherit gnu-gettext)
(name "gettext-boot0")
(inputs '()) ;zero dependencies
(arguments
(substitute-keyword-arguments
`(#:tests? #f
,@(package-arguments gnu-gettext))
((#:phases phases)
`(modify-phases ,phases
;; Build only the tools.
(add-after 'unpack 'chdir
(lambda _
(chdir "gettext-tools")))
;; Some test programs require pthreads, which we don't have.
(add-before 'configure 'no-test-programs
(lambda _
(substitute* "tests/Makefile.in"
(("^PROGRAMS =.*$")
"PROGRAMS =\n"))
#t))
;; Don't try to link against libexpat.
(delete 'link-expat)
(delete 'patch-tests))))))))
(package-with-bootstrap-guile
(package-with-explicit-inputs gettext-minimal
%boot1-inputs
(current-source-location)
#:guile %bootstrap-guile))))
(define-public glibc-final
;; The final glibc, which embeds the statically-linked Bash built above.
(package (inherit glibc-final-with-bootstrap-bash)
@@ -439,6 +460,10 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
"static-bash"
(package-inputs glibc-final-with-bootstrap-bash))))
;; This time we need 'msgfmt' to install all the libc.mo files.
(native-inputs `(,@(package-native-inputs glibc-final-with-bootstrap-bash)
("gettext" ,gettext-boot0)))
;; The final libc only refers to itself, but the 'debug' output contains
;; references to GCC-BOOT0 and to the Linux headers. XXX: Would be great
;; if 'allowed-references' were per-output.
@@ -513,6 +538,11 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
#:allowed-references ("out" "lib" ,glibc-final)
;; Things like libasan.so and libstdc++.so NEED ld.so for some
;; reason, but it is not in their RUNPATH. This is a false
;; positive, so turn it off.
#:validate-runpath? #f
;; Build again GMP & co. within GCC's build process, because it's hard
;; to do outside (because GCC-BOOT0 is a cross-compiler, and thus
;; doesn't honor $LIBRARY_PATH, which breaks `gnu-build-system'.)
@@ -544,7 +574,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
(native-inputs `(("texinfo" ,texinfo-boot0)
,@(package-native-inputs gcc-boot0)))
(inputs `(("gmp-source" ,(package-source gmp))
(inputs `(("gmp-source" ,(bootstrap-origin (package-source gmp)))
("mpfr-source" ,(package-source mpfr))
("mpc-source" ,(package-source mpc))
("binutils" ,binutils-final)
@@ -553,54 +583,10 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
(define ld-wrapper-boot3
;; A linker wrapper that uses the bootstrap Guile.
(package
(name "ld-wrapper-boot3")
(version "0")
(source #f)
(build-system trivial-build-system)
(inputs `(("binutils" ,binutils-final)
("guile" ,%bootstrap-guile)
("bash" ,@(assoc-ref %boot2-inputs "bash"))
("wrapper" ,(search-path %load-path
"gnu/packages/ld-wrapper.scm"))))
(arguments
`(#:guile ,%bootstrap-guile
#:modules ((guix build utils))
#:builder (begin
(use-modules (guix build utils)
(system base compile))
(let* ((out (assoc-ref %outputs "out"))
(bin (string-append out "/bin"))
(ld (string-append bin "/ld"))
(go (string-append bin "/ld.go")))
(setvbuf (current-output-port) _IOLBF)
(format #t "building ~s/bin/ld wrapper in ~s~%"
(assoc-ref %build-inputs "binutils")
out)
(mkdir-p bin)
(copy-file (assoc-ref %build-inputs "wrapper") ld)
(substitute* ld
(("@GUILE@")
(string-append (assoc-ref %build-inputs "guile")
"/bin/guile"))
(("@BASH@")
(string-append (assoc-ref %build-inputs "bash")
"/bin/bash"))
(("@LD@")
(string-append (assoc-ref %build-inputs "binutils")
"/bin/ld")))
(chmod ld #o555)
(compile-file ld #:output-file go)))))
(synopsis "The linker wrapper")
(description
"The linker wrapper (or `ld-wrapper') wraps the linker to add any
missing `-rpath' flags, and to detect any misuse of libraries outside of the
store.")
(home-page #f)
(license gpl3+)))
(make-ld-wrapper "ld-wrapper-boot3"
#:binutils binutils-final
#:guile %bootstrap-guile
#:bash (car (assoc-ref %boot2-inputs "bash"))))
(define %boot3-inputs
;; 4th stage inputs.
@@ -629,12 +615,31 @@ store.")
(current-source-location)
#:guile %bootstrap-guile)))
(define-public glibc-utf8-locales-final
;; Now that we have GUILE-FINAL, build the UTF-8 locales. They are needed
;; by the build processes afterwards so their 'scm_to_locale_string' works
;; with the full range of Unicode codepoints (remember
;; 'scm_to_locale_string' is called every time a string is passed to a C
;; function.)
(package
(inherit glibc-utf8-locales)
(inputs `(("glibc" ,glibc-final)
("gzip"
,(package-with-explicit-inputs gzip %boot4-inputs
(current-source-location)
#:guile %bootstrap-guile))))))
(define %boot5-inputs
;; Now with UTF-8 locale.
`(("locales" ,glibc-utf8-locales-final)
,@%boot4-inputs))
(define gnu-make-final
;; The final GNU Make, which uses the final Guile.
(package-with-bootstrap-guile
(package-with-explicit-inputs gnu-make
`(("guile" ,guile-final)
,@%boot4-inputs)
,@%boot5-inputs)
(current-source-location))))
(define-public ld-wrapper
@@ -651,7 +656,7 @@ store.")
;; Findutils, keep a reference to the Coreutils they were built with.
(package-with-bootstrap-guile
(package-with-explicit-inputs coreutils
%boot4-inputs
%boot5-inputs
(current-source-location)
;; Use the final Guile, linked against the
@@ -665,15 +670,15 @@ store.")
;; built before gzip.
(package-with-bootstrap-guile
(package-with-explicit-inputs grep
%boot4-inputs
%boot5-inputs
(current-source-location)
#:guile guile-final)))
(define %boot5-inputs
(define %boot6-inputs
;; Now use the final Coreutils.
`(("coreutils" ,coreutils-final)
("grep" ,grep-final)
,@%boot4-inputs))
,@%boot5-inputs))
(define-public %final-inputs
;; Final derivations used as implicit inputs by 'gnu-build-system'. We
@@ -681,7 +686,7 @@ store.")
;; used for origins that have patches, thereby avoiding circular
;; dependencies.
(let ((finalize (compose package-with-bootstrap-guile
(cut package-with-explicit-inputs <> %boot5-inputs
(cut package-with-explicit-inputs <> %boot6-inputs
(current-source-location)))))
`(,@(map (match-lambda
((name package)
@@ -703,7 +708,8 @@ store.")
("ld-wrapper" ,ld-wrapper)
("binutils" ,binutils-final)
("gcc" ,gcc-final)
("libc" ,glibc-final))))
("libc" ,glibc-final)
("locales" ,glibc-utf8-locales-final))))
(define-public canonical-package
(let ((name->package (fold (lambda (input result)
@@ -788,4 +794,7 @@ and binaries, plus debugging symbols in the 'debug' output), and Binutils.")
(define-public gcc-toolchain-4.9
(gcc-toolchain gcc-4.9))
(define-public gcc-toolchain-5.1
(gcc-toolchain gcc-5.1))
;;; commencement.scm ends here
+131 -22
View File
@@ -1,7 +1,9 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,7 +25,9 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages which))
#:use-module (guix build-system perl)
#:use-module (gnu packages base)
#:use-module (gnu packages perl))
(define-public zlib
(package
@@ -70,6 +74,26 @@ independent of the input data and can be reduced, if necessary, at some cost
in compression.")
(license license:zlib)))
(define-public fastjar
(package
(name "fastjar")
(version "0.98")
(source (origin
(method url-fetch)
(uri (string-append "mirror://savannah/fastjar/fastjar-"
version ".tar.gz"))
(sha256
(base32
"0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi"))))
(build-system gnu-build-system)
(inputs `(("zlib" ,zlib)))
(home-page "http://savannah.nongnu.org/projects/fastjar")
(synopsis "Replacement for Sun's 'jar' utility")
(description
"FastJar is an attempt to create a much faster replacement for Sun's 'jar'
utility. Instead of being written in Java, FastJar is written in C.")
(license license:gpl2+)))
(define-public gzip
(package
(name "gzip")
@@ -95,13 +119,7 @@ file; as a result, it is often used in conjunction with \"tar\", resulting in
(home-page "http://www.gnu.org/software/gzip/")))
(define-public bzip2
(let ((fix-man-dir
;; Move man pages to $out/share/.
'(lambda* (#:key outputs #:allow-other-keys)
(with-directory-excursion (assoc-ref outputs "out")
(mkdir "share")
(rename-file "man" "share/man"))))
(build-shared-lib
(let ((build-shared-lib
;; Build a shared library.
'(lambda* (#:key inputs #:allow-other-keys)
(patch-makefile-SHELL "Makefile-libbz2_so")
@@ -151,20 +169,16 @@ file; as a result, it is often used in conjunction with \"tar\", resulting in
`(alist-cons-before
'build 'build-shared-lib ,build-shared-lib
(alist-cons-after
'install 'fix-man-dir ,fix-man-dir
(alist-cons-after
'install 'install-shared-lib ,install-shared-lib
(alist-replace 'configure ,set-cross-environment
%standard-phases))))
'install 'install-shared-lib ,install-shared-lib
(alist-replace 'configure ,set-cross-environment
%standard-phases)))
;; Native compilation: build the shared library.
`(alist-cons-before
'build 'build-shared-lib ,build-shared-lib
(alist-cons-after
'install 'fix-man-dir ,fix-man-dir
(alist-cons-after
'install 'install-shared-lib ,install-shared-lib
(alist-delete 'configure %standard-phases)))))
'install 'install-shared-lib ,install-shared-lib
(alist-delete 'configure %standard-phases))))
#:make-flags (list (string-append "PREFIX="
(assoc-ref %outputs "out")))
@@ -180,7 +194,7 @@ compressor. It typically compresses files to within 10% to 15% of the best
available techniques (the PPM family of statistical compressors), whilst
being around twice as fast at compression and six times faster at
decompression.")
(license (license:bsd-style "file://LICENSE"
(license (license:non-copyleft "file://LICENSE"
"See LICENSE in the distribution."))
(home-page "http://www.bzip.org/"))))
@@ -283,7 +297,7 @@ archiving. Lzip is a clean implementation of the LZMA algorithm.")
(define-public sharutils
(package
(name "sharutils")
(version "4.14")
(version "4.15.1")
(source
(origin
(method url-fetch)
@@ -291,7 +305,7 @@ archiving. Lzip is a clean implementation of the LZMA algorithm.")
version ".tar.xz"))
(sha256
(base32
"033sq1v0cp0bi1mp320xaqwd4fhakqc5747hh6qa1asjrzpqiqza"))))
"02p7j270wrbwxcb86lcvxrzl29xmr3n5a2m7if46jnprvcvycb5r"))))
(build-system gnu-build-system)
(inputs
`(("which" ,which)))
@@ -314,3 +328,98 @@ processed by a Bourne-type shell to unpack the original collection of files.
This package is mostly for compatibility and historical interest.")
(license license:gpl3+)))
(define-public libmspack
(package
(name "libmspack")
(version "0.5")
(source
(origin
(method url-fetch)
(uri (string-append "http://www.cabextract.org.uk/libmspack/libmspack-"
version "alpha.tar.gz"))
(sha256
(base32 "04413hynb7zizxnkgy9riik3612dwirkpr6fcjrnfl2za9sz4rw9"))))
(build-system gnu-build-system)
(home-page "http://www.cabextract.org.uk/libmspack/")
(synopsis "Compression tools for some formats used by Microsoft")
(description
"The purpose of libmspack is to provide both compression and
decompression of some loosely related file formats used by Microsoft.")
(license license:lgpl2.1+)))
(define-public perl-compress-raw-bzip2
(package
(name "perl-compress-raw-bzip2")
(version "2.068")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
"Compress-Raw-Bzip2-" version ".tar.gz"))
(sha256
(base32
"16hl58xppckldz05zdyid1l5gpaykzwvkq682h3rc3nilbhgjqqg"))))
(build-system perl-build-system)
;; TODO: Use our bzip2 package.
(home-page "http://search.cpan.org/dist/Compress-Raw-Bzip2")
(synopsis "Low-level interface to bzip2 compression library")
(description "This module provides a Perl interface to the bzip2
compression library.")
(license (package-license perl))))
(define-public perl-compress-raw-zlib
(package
(name "perl-compress-raw-zlib")
(version "2.068")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
"Compress-Raw-Zlib-" version ".tar.gz"))
(sha256
(base32
"06q7n87g26nn5gv4z2p31ca32f6zk124hqxc25rfgkjd3qi5798i"))))
(build-system perl-build-system)
(inputs
`(("zlib" ,zlib)))
(arguments
`(#:phases (modify-phases %standard-phases
(add-before
'configure 'configure-zlib
(lambda* (#:key inputs #:allow-other-keys)
(call-with-output-file "config.in"
(lambda (port)
(format port "
BUILD_ZLIB = False
INCLUDE = ~a/include
LIB = ~:*~a/lib
OLD_ZLIB = False
GZIP_OS_CODE = AUTO_DETECT"
(assoc-ref inputs "zlib")))))))))
(home-page "http://search.cpan.org/dist/Compress-Raw-Zlib")
(synopsis "Low-level interface to zlib compression library")
(description "This module provides a Perl interface to the zlib
compression library.")
(license (package-license perl))))
(define-public perl-io-compress
(package
(name "perl-io-compress")
(version "2.068")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
"IO-Compress-" version ".tar.gz"))
(sha256
(base32
"0dy0apjp7j9dfkzfjspjd3z9gh26srx5vac72g59bkkz1jf8s1gs"))))
(build-system perl-build-system)
(propagated-inputs
`(("perl-compress-raw-zlib" ,perl-compress-raw-zlib) ; >=2.068
("perl-compress-raw-bzip2" ,perl-compress-raw-bzip2))) ; >=2.068
(home-page "http://search.cpan.org/dist/IO-Compress")
(synopsis "IO Interface to compressed files/buffers")
(description "IO-Compress provides a Perl interface to allow reading and
writing of compressed data created with the zlib and bzip2 libraries.")
(license (package-license perl))))
+14 -1
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,6 +20,7 @@
(define-module (gnu packages cpio)
#:use-module (guix licenses)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
@@ -34,8 +36,19 @@
(sha256
(base32
"1gavgpzqwgkpagjxw72xgxz52y1ifgz0ckqh8g7cckz7jvyhp0mv"))
(patches (list (search-patch "cpio-gets-undeclared.patch")))))
(patches (list (search-patch "cpio-CVE-2014-9112-pt1.patch")
(search-patch "cpio-CVE-2014-9112-pt2.patch")
(search-patch "cpio-CVE-2014-9112-pt3.patch")
(search-patch "cpio-CVE-2014-9112-pt4.patch")
(search-patch "cpio-CVE-2014-9112-pt5.patch")
(search-patch "cpio-gets-undeclared.patch")))))
(build-system gnu-build-system)
;; FIXME: autoconf is needed to run autom4te, to update to test suite
;; after the CVE-2014-9112 patches. Remove this when cpio is
;; updated to post-2.11.
(native-inputs `(("autoconf" ,autoconf)))
(home-page "https://www.gnu.org/software/cpio/")
(synopsis "Manage cpio and tar file archives")
(description
+47 -12
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -88,7 +89,6 @@ may be either a libc package or #f.)"
(substitute-keyword-arguments (package-arguments gcc-4.8)
((#:configure-flags flags)
`(append (list ,(string-append "--target=" target)
,@(gcc-configure-flags-for-triplet target)
,@(if libc
'()
`( ;; Disable features not needed at this stage.
@@ -130,12 +130,16 @@ may be either a libc package or #f.)"
,target))
(binutils (string-append
(assoc-ref inputs "binutils-cross")
"/bin/" ,target "-")))
"/bin/" ,target "-"))
(wrapper (string-append
(assoc-ref inputs "ld-wrapper-cross")
"/bin/" ,target "-ld")))
(for-each (lambda (file)
(symlink (string-append binutils file)
(string-append libexec "/"
file)))
'("as" "ld" "nm"))
'("as" "nm"))
(symlink wrapper (string-append libexec "/ld"))
#t))
,phases)))
(if libc
@@ -196,8 +200,10 @@ GCC that does not target a libc; otherwise, target that libc."
target))
(source (origin (inherit (package-source gcc-4.8))
(patches
(cons (search-patch "gcc-cross-environment-variables.patch")
(cross-gcc-patches target)))))
(append
(origin-patches (package-source gcc-4.8))
(cons (search-patch "gcc-cross-environment-variables.patch")
(cross-gcc-patches target))))))
;; For simplicity, use a single output. Otherwise libgcc_s & co. are not
;; found by default, etc.
@@ -214,7 +220,11 @@ GCC that does not target a libc; otherwise, target that libc."
,@(cross-gcc-arguments target libc)))
(native-inputs
`(("binutils-cross" ,xbinutils)
`(("ld-wrapper-cross" ,(make-ld-wrapper
(string-append "ld-wrapper-" target)
#:target target
#:binutils xbinutils))
("binutils-cross" ,xbinutils)
;; Call it differently so that the builder can check whether the "libc"
;; input is #f.
@@ -234,10 +244,10 @@ GCC that does not target a libc; otherwise, target that libc."
(search-paths
(list (search-path-specification
(variable "CROSS_CPATH")
(directories '("include")))
(files '("include")))
(search-path-specification
(variable "CROSS_LIBRARY_PATH")
(directories '("lib" "lib64")))))
(files '("lib" "lib64")))))
(native-search-paths '())))
(define* (cross-libc target
@@ -298,8 +308,13 @@ XBINUTILS and the cross tool chain."
;; "linux-headers" input to point to the right thing.
(propagated-inputs `(("linux-headers" ,xlinux-headers)))
;; FIXME: 'static-bash' should really be an input, not a native input, but
;; to do that will require building an intermediate cross libc.
(inputs '())
(native-inputs `(("cross-gcc" ,xgcc)
("cross-binutils" ,xbinutils)
,@(package-inputs glibc) ;FIXME: static-bash
,@(package-native-inputs glibc)))))
@@ -308,15 +323,35 @@ XBINUTILS and the cross tool chain."
;;;
(define-public xgcc-mips64el
(let ((triplet "mips64el-linux-gnuabi64")) ; N64 ABI
(let* ((triplet "mips64el-linux-gnuabi64") ;N64 ABI
(xgcc (cross-gcc triplet
(cross-binutils triplet)
(cross-libc triplet))))
;; Don't attempt to build this cross-compiler on i686;
;; see <http://bugs.gnu.org/19598>.
(package (inherit xgcc)
(supported-systems (fold delete
(package-supported-systems xgcc)
'("mips64el-linux" "i686-linux"))))))
(define-public xgcc-avr
;; AVR cross-compiler, used to build AVR-Libc.
(let ((triplet "avr"))
(cross-gcc triplet
(cross-binutils triplet)
(cross-libc triplet))))
(cross-binutils triplet))))
(define-public xgcc-xtensa
;; Bare-bones Xtensa cross-compiler, used to build the Atheros firmware.
(cross-gcc "xtensa-elf"))
(define-public xgcc-armhf
(let* ((triplet "arm-linux-gnueabihf")
(xgcc (cross-gcc triplet
(cross-binutils triplet)
(cross-libc triplet))))
(package (inherit xgcc)
(supported-systems (delete "armhf-linux" %supported-systems)))))
;; (define-public xgcc-armel
;; (let ((triplet "armel-linux-gnueabi"))
;; (cross-gcc triplet
+293
View File
@@ -0,0 +1,293 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages cups)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages avahi)
#:use-module (gnu packages compression)
#:use-module (gnu packages image)
#:use-module (gnu packages fonts) ;font-dejavu
#:use-module (gnu packages fontutils)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnutls)
#:use-module (gnu packages pdf)
#:use-module (gnu packages pkg-config))
(define-public cups-filters
(package
(name "cups-filters")
(version "1.0.68")
(source (origin
(method url-fetch)
(uri
(string-append "http://openprinting.org/download/cups-filters/"
"cups-filters-" version ".tar.xz"))
(sha256
(base32
"0dx4assqzqdi0q4j7z5s7xzzvzxnd5c1njd9139a1h353qrcr5fi"))
(modules '((guix build utils)))
(snippet
;; install backends, banners and filters to cups-filters output
;; directory, not the cups server directory
'(substitute* "Makefile.in"
(("CUPS_DATADIR = @CUPS_DATADIR@")
"CUPS_DATADIR = $(PREFIX)/share/cups")
(("pkgcupsserverrootdir = \\$\\(CUPS_SERVERROOT\\)")
"pkgcupsserverrootdir = $(PREFIX)")
(("pkgbackenddir = \\$\\(CUPS_SERVERBIN\\)/backend")
"pkgbackenddir = $(PREFIX)/backend")
(("pkgfilterdir = \\$\\(CUPS_SERVERBIN\\)/filter")
"pkgfilterdir = $(PREFIX)/filter")))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list (string-append "PREFIX=" %output))
#:configure-flags
`(,(string-append "--with-test-font-path="
(assoc-ref %build-inputs "font-dejavu")
"/share/fonts/truetype/DejaVuSans.ttf")
,(string-append "--with-rcdir="
(assoc-ref %outputs "out") "/etc/rc.d"))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("fontconfig" ,fontconfig)
("freetype" ,freetype)
("font-dejavu" ,font-dejavu) ;needed by test suite
("ghostscript" ,ghostscript)
("ijs" ,ijs)
("dbus" ,dbus)
("lcms" ,lcms)
("libjpeg-8" ,libjpeg-8)
("libpng" ,libpng)
("libtiff" ,libtiff)
("glib" ,glib)
("qpdf" ,qpdf)
("poppler" ,poppler)
("cups-minimal" ,cups-minimal)))
(home-page "http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters")
(synopsis "OpenPrinting CUPS filters and backends")
(description
"Contains backends, filters, and other software that was once part of the
core CUPS distribution but is no longer maintained by Apple Inc. In addition
it contains additional filters developed independently of Apple, especially
filters for the PDF-centric printing workflow introduced by OpenPrinting.")
;; Different filters and backends have different licenses; see COPYING for
;; details
(license (list license:gpl2
license:gpl2+
license:gpl3
license:gpl3+
license:lgpl2.0+
license:expat))))
;; CUPS on non-MacOS systems requires cups-filters. Since cups-filters also
;; depends on CUPS libraries and binaries, cups-minimal has been added to
;; satisfy this dependency.
(define-public cups-minimal
(package
(name "cups-minimal")
(version "2.0.1")
(source (origin
(method url-fetch)
(uri (string-append "http://www.cups.org/software/"
version "/cups-" version "-source.tar.gz"))
(sha256
(base32
"1kbc85kwhm1vyzahblrg3qih9yypggs91d13gdrbnaac8q7jd9jr"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
'("--disable-launchd"
"--disable-systemd"
"--disable-avahi"
"--disable-dnssd")
;; Seven tests fail, mostly because of files that are provided by the
;; cups-filters package.
#:tests? #f
#:phases
(alist-cons-before
'configure
'patch-makedefs
(lambda _
(substitute* "Makedefs.in"
(("INITDIR.*=.*@INITDIR@") "INITDIR = @prefix@/@INITDIR@")
(("/bin/sh") (which "sh"))))
(alist-cons-before
'build
'patch-tests
(lambda _
(substitute* "test/ippserver.c"
(("# else /\\* HAVE_AVAHI \\*/") "#elif defined(HAVE_AVAHI)")))
%standard-phases))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("zlib" ,zlib)
("gnutls" ,gnutls)))
(home-page "http://www.cups.org")
(synopsis "The Common Unix Printing System")
(description
"CUPS is a printing system that uses the Internet Printing
Protocol (IPP). It provides System V and BSD command-line interfaces, as well
as a Web interface and a C programming interface to manage printers and print
jobs. It supports printing to both local (parallel, serial, USB) and
networked printers, and printers can be shared from one computer to another.
Internally, CUPS uses PostScript Printer Description (PPD) files to describe
printer capabilities and features and a wide variety of generic and
device-specific programs to convert and print many types of files.")
(license license:gpl2)))
(define-public cups
(package (inherit cups-minimal)
(name "cups")
(arguments
`(;; Three tests fail:
;; * two tests in ipp-1.1.test related to "RFC 2911 section 3.2.6:
;; Get-Jobs Operation"
;; * test of number of error/warning messages, probably related to a
;; missing font.
#:tests? #f
#:configure-flags
'("--disable-launchd"
"--disable-systemd")
#:phases
(alist-cons-before
'configure
'patch-makedefs
(lambda _
(substitute* "Makedefs.in"
(("INITDIR.*=.*@INITDIR@") "INITDIR = @prefix@/@INITDIR@")
(("/bin/sh") (which "sh"))))
(alist-cons-before
'check
'patch-tests
(lambda _
(let ((filters (assoc-ref %build-inputs "cups-filters"))
(catpath (string-append
(assoc-ref %build-inputs "coreutils") "/bin/"))
(testdir (string-append (getcwd) "/tmp/")))
(mkdir testdir)
(substitute* "test/run-stp-tests.sh"
((" *BASE=/tmp/") (string-append "BASE=" testdir))
;; allow installation of filters from output dir and from
;; cups-filters
(("for dir in /usr/libexec/cups/filter /usr/lib/cups/filter")
(string-append
"for dir in "
(assoc-ref %outputs "out") "/lib/cups/filter "
filters "/filter"))
;; check for charsets in cups-filters output
(("/usr/share/cups/charsets")
(string-append filters "/share/cups/charsets"))
;; install additional required filters
(("instfilter texttopdf texttopdf pdf")
(string-append
"instfilter texttopdf texttopdf pdf;"
"instfilter imagetoraster imagetoraster raster;"
"instfilter gstoraster gstoraster raster;"
"instfilter urftopdf urftopdf pdf;"
"instfilter rastertopdf rastertopdf pdf;"
"instfilter pstopdf pstopdf pdf"))
;; specify location of lpstat binary
(("description=\"`lpstat -l")
"description=\"`../systemv/lpstat -l")
;; patch shebangs of embedded scripts
(("#!/bin/sh") (string-append "#!" (which "sh")))
;; also link mime definitions from cups-filters
;; to enable the additional filters for the test suite
(("ln -s \\$root/conf/mime\\.types")
(string-append
"ln -s " filters
"/share/cups/mime/cupsfilters.types $BASE/share/mime; "
"ln -s $root/conf/mime.types"))
(("ln -s \\$root/conf/mime\\.convs")
(string-append
"ln -s " filters
"/share/cups/mime/cupsfilters.convs $BASE/share/mime; "
"ln -s $root/conf/mime.convs")))
;; fix search path for "cat"
(substitute* "cups/testfile.c"
(("cupsFileFind\\(\"cat\", \"/bin\"")
(string-append "cupsFileFind(\"cat\", \"" catpath "\""))
(("cupsFileFind\\(\"cat\", \"/bin:/usr/bin\"")
(string-append "cupsFileFind(\"cat\", \"" catpath "\"")))))
(alist-cons-after
'install
'install-cups-filters-symlinks
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(cups-filters (assoc-ref inputs "cups-filters")))
;; charsets
(symlink
(string-append cups-filters "/share/cups/charsets")
(string-append out "/share/charsets"))
;; mime types, driver file, ppds
(for-each
(lambda (f)
(symlink (string-append cups-filters f)
(string-append out f)))
'("/share/cups/mime/cupsfilters.types"
"/share/cups/mime/cupsfilters.convs"
"/share/cups/drv/cupsfilters.drv"
"/share/ppd"))
;; filters
(for-each
(lambda (f)
(symlink f
(string-append out "/lib/cups/filter" (basename f))))
(find-files (string-append cups-filters "/filter") ".*"))
;; backends
(for-each
(lambda (f)
(symlink (string-append cups-filters f)
(string-append out "/lib/cups" f)))
'("/backend/parallel"
"/backend/serial"))
;; banners
(let ((banners "/share/cups/banners"))
(delete-file-recursively (string-append out banners))
(symlink (string-append cups-filters banners)
(string-append out banners)))
;; assorted data
(let ((data "/share/cups/data"))
(delete-file-recursively (string-append out data))
(symlink (string-append cups-filters data)
(string-append out data)))))
%standard-phases)))))
(inputs
`(("avahi" ,avahi)
("gnutls" ,gnutls)
("cups-filters" ,cups-filters)
("zlib" ,zlib)))))
+18 -7
View File
@@ -1,5 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -36,14 +38,14 @@
(define-public curl
(package
(name "curl")
(version "7.37.1")
(version "7.42.1")
(source (origin
(method url-fetch)
(uri (string-append "http://curl.haxx.se/download/curl-"
version ".tar.lzma"))
(sha256
(base32
"10yfh4hy8wbkj43la238hg6h8i9wyp1cvvk8kl0giac1020imn5d"))))
"0ircrhi4i9iviq0d9044rq288sdrww19d0ci6vmb4fh8nmm1jv1x"))))
(build-system gnu-build-system)
(inputs `(("gnutls" ,gnutls)
("gss" ,gss)
@@ -61,11 +63,20 @@
`(#:configure-flags '("--with-gnutls" "--with-gssapi")
;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
#:phases
(alist-cons-before
'check 'patch-runtests
(alist-replace
'check
(lambda _
(substitute* "tests/runtests.pl"
(("/bin/sh") (which "sh"))))
(substitute* "tests/runtests.pl"
(("/bin/sh") (which "sh")))
;; Test #1135 requires extern-scan.pl, which is not part of the
;; tarball due to a mistake. It has been fixed upstream. We can
;; simply disable the test as it is specific to VMS and OS/400.
(delete-file "tests/data/test1135")
;; The top-level "make check" does "make -C tests quiet-test", which
;; is too quiet. Use the "test" target instead, which is more
;; verbose.
(zero? (system* "make" "-C" "tests" "test")))
%standard-phases)))
(synopsis "Command line tool for transferring data with URL syntax")
(description
@@ -76,6 +87,6 @@ curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading,
HTTP form based upload, proxies, cookies, user+password authentication
(Basic, Digest, NTLM, Negotiate, kerberos...), file transfer resume,
proxy tunneling, and so on")
(license (license:bsd-style "file://COPYING"
(license (license:non-copyleft "file://COPYING"
"See COPYING in the distribution."))
(home-page "http://curl.haxx.se/")))
+2 -2
View File
@@ -61,6 +61,6 @@
standards-track method for remote computers to authenticate. The Cyrus SASL
library makes supporting various SASL mechanisms easy for both client and
server writers.")
(license (license:bsd-style "file://COPYING"
"See COPYING in the distribution."))
(license (license:non-copyleft "file://COPYING"
"See COPYING in the distribution."))
(home-page "http://cyrusimap.web.cmu.edu/index.php")))
+380 -16
View File
@@ -1,9 +1,11 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014 David Thompson <davet@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +25,7 @@
(define-module (gnu packages databases)
#:use-module (gnu packages)
#:use-module (gnu packages perl)
#:use-module (gnu packages language)
#:use-module (gnu packages linux)
#:use-module (gnu packages openssl)
#:use-module (gnu packages compression)
@@ -34,13 +37,18 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages python)
#:use-module (gnu packages pcre)
#:use-module (gnu packages xml)
#:use-module (gnu packages bison)
#:use-module (gnu packages jemalloc)
#:use-module ((guix licenses)
#:select (gpl2 gpl3+ lgpl2.1+ lgpl3+ x11-style bsd-style
public-domain))
#:select (gpl2 gpl3+ lgpl2.1+ lgpl3+ x11-style non-copyleft
bsd-2 public-domain))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
#:use-module (guix build-system cmake)
#:use-module (srfi srfi-26)
#:use-module (ice-9 match))
@@ -84,8 +92,8 @@
(description
"Berkeley DB is an embeddable database allowing developers the choice of
SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
(license (bsd-style "file://LICENSE"
"See LICENSE in the distribution."))
(license (non-copyleft "file://LICENSE"
"See LICENSE in the distribution."))
(home-page
"http://www.oracle.com/us/products/database/berkeley-db/overview/index.html")))
@@ -147,17 +155,85 @@ management system that supports the standardized Structured Query
Language.")
(license gpl2)))
(define-public mariadb
(package
(name "mariadb")
(version "10.0.18")
(source (origin
(method url-fetch)
(uri (string-append "https://downloads.mariadb.org/f/"
name "-" version "/source/"
name "-" version ".tar.gz"))
(sha256
(base32
"1xcs391cm0vnl9bvx1470v8z4d77zqv16n6iaqi12jm0ma8fwvv8"))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags
'("-DBUILD_CONFIG=mysql_release"
"-DDEFAULT_CHARSET=utf8"
"-DDEFAULT_COLLATION=utf8_general_ci"
"-DMYSQL_DATADIR=/var/lib/mysql"
"-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
"-DINSTALL_INFODIR=share/mysql/docs"
"-DINSTALL_MANDIR=share/man"
"-DINSTALL_PLUGINDIR=lib/mysql/plugin"
"-DINSTALL_SCRIPTDIR=bin"
"-DINSTALL_INCLUDEDIR=include/mysql"
"-DINSTALL_DOCREADMEDIR=share/mysql/docs"
"-DINSTALL_SUPPORTFILESDIR=share/mysql/support-files"
"-DINSTALL_MYSQLSHAREDIR=share/mysql"
"-DINSTALL_DOCDIR=share/mysql/docs"
"-DINSTALL_SHAREDIR=share/mysql")
#:phases
(modify-phases %standard-phases
(add-before
'configure 'pre-configure
(lambda _
(setenv "CONFIG_SHELL" (which "sh"))
#t))
(add-after
'install 'post-install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(test (assoc-ref outputs "test")))
(substitute* (string-append out "/bin/mysql_install_db")
(("basedir=\"\"")
(string-append "basedir=\"" out "\"")))
;; Remove unneeded files for testing.
(with-directory-excursion out
(for-each delete-file-recursively
'("data" "mysql-test" "sql-bench"
"share/man/man1/mysql-test-run.pl.1")))))))))
(native-inputs
`(("bison" ,bison)
("perl" ,perl)))
(inputs
`(("jemalloc" ,jemalloc)
("libaio" ,libaio)
("libxml2" ,libxml2)
("ncurses" ,ncurses)
("openssl" ,openssl)
("pcre" ,pcre)
("zlib" ,zlib)))
(home-page "https://mariadb.org/")
(synopsis "SQL database server")
(description
"MariaDB is a multi-user and multi-threaded SQL database server, designed
as a drop-in replacement of MySQL.")
(license gpl2)))
(define-public postgresql
(package
(name "postgresql")
(version "9.3.5")
(version "9.3.6")
(source (origin
(method url-fetch)
(uri (string-append "http://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.gz"))
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
"08kga00izykgvnx7hn995wc4zjqslspapaa8z63045p1ya14mr4g"))))
"056ass7nnfyv7blv02anv795kgpz77gipdpxggd835cdwrhwns13"))))
(build-system gnu-build-system)
(inputs
`(("readline" ,readline)
@@ -190,7 +266,7 @@ pictures, sounds, or video.")
;; torture/utils.
(arguments '(#:parallel-tests? #f))
(native-inputs `(("emacs" ,emacs)
(native-inputs `(("emacs" ,emacs-no-x)
("bc" ,bc)))
;; TODO: Add more optional inputs.
@@ -213,7 +289,7 @@ types are supported, as is encryption.")
(define-public sqlite
(package
(name "sqlite")
(version "3.8.4.3")
(version "3.8.9")
(source (origin
(method url-fetch)
;; TODO: Download from sqlite.org once this bug :
@@ -233,12 +309,15 @@ types are supported, as is encryption.")
"/sqlite-autoconf-" numeric-version ".tar.gz")))
(sha256
(base32
"0rcdsk5sz34w8vy0g5yhfms4saiq81i872jxx5m5sjij7bi9bsg0"))
(patches
(list (search-patch "sqlite-large-page-size-fix.patch")))))
"18k90bbfvvgc5204nm1hzw0vsj9ygzv7zbq3z6zrya6j5hwvdsvn"))))
(build-system gnu-build-system)
(inputs
`(("readline" ,readline)))
(inputs `(("readline" ,readline)))
(arguments
`(#:configure-flags
;; Add -DSQLITE_SECURE_DELETE and -DSQLITE_ENABLE_UNLOCK_NOTIFY to
;; CFLAGS. GNU Icecat will refuse to use the system SQLite unless these
;; options are enabled.
'("CFLAGS=-O2 -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY")))
(home-page "http://www.sqlite.org/")
(synopsis "The SQLite database management system")
(description
@@ -303,6 +382,188 @@ extremely small.")
(home-page "http://search.cpan.org/~timb/DBI-1.631/DBI.pm")
(license (package-license perl))))
(define-public perl-dbix-class
(package
(name "perl-dbix-class")
(version "0.082810")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
"DBIx-Class-" version ".tar.gz"))
(sha256
(base32
"1zlsswk8j2k024gwhdhia8ksrmb8065n98dahkk8c0r69wv85n04"))))
(build-system perl-build-system)
(native-inputs
`(("perl-dbd-sqlite" ,perl-dbd-sqlite)
("perl-file-temp" ,perl-file-temp)
("perl-package-stash" ,perl-package-stash)
("perl-test-deep" ,perl-test-deep)
("perl-test-exception" ,perl-test-exception)
("perl-test-warn" ,perl-test-warn)))
(propagated-inputs
`(("perl-class-accessor-grouped" ,perl-class-accessor-grouped)
("perl-class-c3-componentised" ,perl-class-c3-componentised)
("perl-class-inspector" ,perl-class-inspector)
("perl-config-any" ,perl-config-any)
("perl-context-preserve" ,perl-context-preserve)
("perl-data-dumper-concise" ,perl-data-dumper-concise)
("perl-data-page" ,perl-data-page)
("perl-dbi" ,perl-dbi)
("perl-devel-globaldestruction" ,perl-devel-globaldestruction)
("perl-hash-merge" ,perl-hash-merge)
("perl-module-find" ,perl-module-find)
("perl-moo" ,perl-moo)
("perl-mro-compat" ,perl-mro-compat)
("perl-namespace-clean" ,perl-namespace-clean)
("perl-path-class" ,perl-path-class)
("perl-scalar-list-utils" ,perl-scalar-list-utils)
("perl-scope-guard" ,perl-scope-guard)
("perl-sql-abstract" ,perl-sql-abstract)
("perl-sub-name" ,perl-sub-name)
("perl-text-balanced" ,perl-text-balanced)
("perl-try-tiny" ,perl-try-tiny)))
(home-page "http://search.cpan.org/dist/DBIx-Class")
(synopsis "Extensible and flexible object <-> relational mapper")
(description "An SQL to OO mapper with an object API inspired by
Class::DBI (with a compatibility layer as a springboard for porting) and a
resultset API that allows abstract encapsulation of database operations. It
aims to make representing queries in your code as perl-ish as possible while
still providing access to as many of the capabilities of the database as
possible, including retrieving related records from multiple tables in a
single query, \"JOIN\", \"LEFT JOIN\", \"COUNT\", \"DISTINCT\", \"GROUP BY\",
\"ORDER BY\" and \"HAVING\" support.")
(license (package-license perl))))
(define-public perl-dbix-class-cursor-cached
(package
(name "perl-dbix-class-cursor-cached")
(version "1.001002")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/A/AR/ARCANEZ/"
"DBIx-Class-Cursor-Cached-" version ".tar.gz"))
(sha256
(base32
"19r7jr6pknxiirrybq0cd0lnr76xiw05arnfqgk9nrhp6c7vvil0"))))
(build-system perl-build-system)
(native-inputs
`(("perl-cache-cache" ,perl-cache-cache)
("perl-dbd-sqlite" ,perl-dbd-sqlite)))
(propagated-inputs
`(("perl-carp-clan" ,perl-carp-clan)
("perl-dbix-class" ,perl-dbix-class)))
(home-page "http://search.cpan.org/dist/DBIx-Class-Cursor-Cached")
(synopsis "Cursor with built-in caching support")
(description "DBIx::Class::Cursor::Cached provides a cursor class with
built-in caching support.")
(license (package-license perl))))
(define-public perl-dbix-class-introspectablem2m
(package
(name "perl-dbix-class-introspectablem2m")
(version "0.001001")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
"DBIx-Class-IntrospectableM2M-" version ".tar.gz"))
(sha256
(base32
"0p9zx1yc1f6jg583l206wilsni2v8mlngc2vf2q8yn10pmy4y6wm"))))
(build-system perl-build-system)
(propagated-inputs
`(("perl-dbix-class" ,perl-dbix-class)))
(home-page "http://search.cpan.org/dist/DBIx-Class-IntrospectableM2M")
(synopsis "Introspect many-to-many relationships")
(description "Because the many-to-many relationships are not real
relationships, they can not be introspected with DBIx::Class. Many-to-many
relationships are actually just a collection of convenience methods installed
to bridge two relationships. This DBIx::Class component can be used to store
all relevant information about these non-relationships so they can later be
introspected and examined.")
(license (package-license perl))))
(define-public perl-dbix-class-schema-loader
(package
(name "perl-dbix-class-schema-loader")
(version "0.07042")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
"DBIx-Class-Schema-Loader-" version ".tar.gz"))
(sha256
(base32
"0sb48as7azmj6s4acxh98wcvcik7lxm7dcjz1c3wdrkrbmbbz0jf"))))
(build-system perl-build-system)
(native-inputs
`(("perl-config-any" ,perl-config-any)
("perl-config-general" ,perl-config-general)
("perl-dbd-sqlite" ,perl-dbd-sqlite)
("perl-dbix-class-introspectablem2m" ,perl-dbix-class-introspectablem2m)
("perl-moose" ,perl-moose)
("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
("perl-namespace-autoclean" ,perl-namespace-autoclean)
("perl-test-deep" ,perl-test-deep)
("perl-test-differences" ,perl-test-differences)
("perl-test-exception" ,perl-test-exception)
("perl-test-pod" ,perl-test-pod)
("perl-test-warn" ,perl-test-warn)))
(propagated-inputs
`(("perl-class-unload" ,perl-class-unload)
("perl-class-inspector" ,perl-class-inspector)
("perl-class-accessor-grouped" ,perl-class-accessor-grouped)
("perl-class-c3-componentised" ,perl-class-c3-componentised)
("perl-carp-clan" ,perl-carp-clan)
("perl-data-dump" ,perl-data-dump)
("perl-dbix-class" ,perl-dbix-class)
("perl-hash-merge" ,perl-hash-merge)
("perl-list-moreutils" ,perl-list-moreutils)
("perl-lingua-en-inflect-phrase" ,perl-lingua-en-inflect-phrase)
("perl-lingua-en-inflect-number" ,perl-lingua-en-inflect-number)
("perl-lingua-en-tagger" ,perl-lingua-en-tagger)
("perl-namespace-clean" ,perl-namespace-clean)
("perl-mro-compat" ,perl-mro-compat)
("perl-scope-guard" ,perl-scope-guard)
("perl-string-camelcase" ,perl-string-camelcase)
("perl-string-toidentifier-en" ,perl-string-toidentifier-en)
("perl-sub-name" ,perl-sub-name)
("perl-try-tiny" ,perl-try-tiny)))
(arguments `(#:tests? #f)) ;TODO: t/20invocations.t fails
(home-page "http://search.cpan.org/dist/DBIx-Class-Schema-Loader")
(synopsis "Create a DBIx::Class::Schema based on a database")
(description "DBIx::Class::Schema::Loader automates the definition of a
DBIx::Class::Schema by scanning database table definitions and setting up the
columns, primary keys, unique constraints and relationships.")
(license (package-license perl))))
(define-public perl-dbd-pg
(package
(name "perl-dbd-pg")
(version "3.5.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/T/TU/TURNSTEP/"
"DBD-Pg-" version ".tar.gz"))
(sha256
(base32
"0z0kf1kjgbi5f6nr63i2fnrx7629d9lvxg1q8sficwb3zdf1ggzx"))))
(build-system perl-build-system)
(native-inputs
`(("perl-dbi" ,perl-dbi)))
(propagated-inputs
`(("perl-dbi" ,perl-dbi)
("postgresql" ,postgresql)))
(home-page "http://search.cpan.org/dist/DBD-Pg")
(synopsis "DBI PostgreSQL interface")
(description "")
(license (package-license perl))))
(define-public perl-dbd-sqlite
(package
(name "perl-dbd-sqlite")
@@ -326,6 +587,83 @@ module, and nothing else.")
(license (package-license perl))
(home-page "http://search.cpan.org/~ishigaki/DBD-SQLite/lib/DBD/SQLite.pm")))
(define-public perl-sql-abstract
(package
(name "perl-sql-abstract")
(version "1.81")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
"SQL-Abstract-" version ".tar.gz"))
(sha256
(base32
"17sgwq3mvqjhv3b77cnvrq60xgp8harjhlnvpwmxc914rqc5ckaz"))))
(build-system perl-build-system)
(native-inputs
`(("perl-test-deep" ,perl-test-deep)
("perl-test-exception" ,perl-test-exception)
("perl-test-warn" ,perl-test-warn)))
(propagated-inputs
`(("perl-hash-merge" ,perl-hash-merge)
("perl-moo" ,perl-moo)
("perl-mro-compat" ,perl-mro-compat)
("perl-text-balanced" ,perl-text-balanced)))
(home-page "http://search.cpan.org/dist/SQL-Abstract")
(synopsis "Generate SQL from Perl data structures")
(description "This module was inspired by the excellent DBIx::Abstract.
While based on the concepts used by DBIx::Abstract, the concepts used have
been modified to make the SQL easier to generate from Perl data structures.
The underlying idea is for this module to do what you mean, based on the data
structures you provide it, so that you don't have to modify your code every
time your data changes")
(license (package-license perl))))
(define-public perl-sql-splitstatement
(package
(name "perl-sql-splitstatement")
(version "1.00020")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/E/EM/EMAZEP/"
"SQL-SplitStatement-" version ".tar.gz"))
(sha256
(base32
"0bqg45k4c9qkb2ypynlwhpvzsl4ssfagmsalys18s5c79ps30z7p"))))
(build-system perl-build-system)
(native-inputs
`(("perl-test-exception" ,perl-test-exception)))
(propagated-inputs
`(("perl-class-accessor" ,perl-class-accessor)
("perl-list-moreutils" ,perl-list-moreutils)
("perl-regexp-common" ,perl-regexp-common)
("perl-sql-tokenizer" ,perl-sql-tokenizer)))
(home-page "http://search.cpan.org/dist/SQL-SplitStatement")
(synopsis "Split SQL code into atomic statements")
(description "This module tries to split any SQL code, even including
non-standard extensions, into the atomic statements it is composed of.")
(license (package-license perl))))
(define-public perl-sql-tokenizer
(package
(name "perl-sql-tokenizer")
(version "0.24")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/I/IZ/IZUT/"
"SQL-Tokenizer-" version ".tar.gz"))
(sha256
(base32
"1qa2dfbzdlr5qqdam9yn78z5w3al5r8577x06qan8wv58ay6ka7s"))))
(build-system perl-build-system)
(home-page "http://search.cpan.org/dist/SQL-Tokenizer")
(synopsis "SQL tokenizer")
(description "SQL::Tokenizer is a tokenizer for SQL queries. It does not
claim to be a parser or query verifier. It just creates sane tokens from a
valid SQL query.")
(license (package-license perl))))
(define-public unixodbc
(package
@@ -346,3 +684,29 @@ Driver.")
(license lgpl2.1+)
;; COPYING contains copy of lgpl2.1 - but copyright notices just say "LGPL"
(home-page "http://www.unixodbc.org")))
(define-public unqlite
(package
(name "unqlite")
(version "1.1.6")
(source (origin
(method url-fetch)
;; Contains bug fixes against the official release, and has an
;; autotooled build system.
(uri (string-append "https://github.com/aidin36/tocc/releases/"
"download/v1.0.0/"
"unqlite-unofficial-" version ".tar.gz"))
(sha256
(base32
"1sbpvhg15gadq0mpcy16q7k3rkg4b4dicpnn5xifpkpn02sqik3s"))))
(build-system gnu-build-system)
(arguments `(#:tests? #f)) ;No check target
(home-page "http://www.unqlite.org")
(synopsis "In-memory key/value and document store")
(description
"UnQLite is an in-process software library which implements a
self-contained, serverless, zero-configuration, transactional NoSQL
database engine. UnQLite is a document store database similar to
MongoDB, Redis, CouchDB, etc. as well as a standard Key/Value store
similar to BerkelyDB, LevelDB, etc.")
(license bsd-2)))
+1 -1
View File
@@ -22,7 +22,7 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages perl)
#:use-module (gnu packages which))
#:use-module (gnu packages base))
(define-public datamash
(package
+139
View File
@@ -0,0 +1,139 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages debug)
#:use-module (guix packages)
#:use-module (guix licenses)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (gnu packages bash)
#:use-module (gnu packages flex)
#:use-module (gnu packages indent)
#:use-module (gnu packages llvm)
#:use-module (gnu packages perl)
#:use-module (gnu packages pretty-print))
(define-public delta
(package
(name "delta")
(version "2006.08.03")
(source
(origin
(method url-fetch)
(uri (list
(string-append "http://ftp.de.debian.org/debian/pool/main/d/delta/"
"delta_" version ".orig.tar.gz")
;; This uri seems to send guix download into an infinite loop
(string-append "http://delta.tigris.org/files/documents/3103/"
"33566/delta-" version ".tar.gz")))
(sha256
(base32
"184wh35pf2ddx97319s6sgkzpz48xxkbwzcjpycv009bm53lh61q"))))
(build-system gnu-build-system)
(inputs ;Installed programs are perl scripts
`(("perl" ,perl)))
(arguments
`(#:phases
(alist-replace
'install
(lambda* (#:key outputs #:allow-other-keys)
;; Makefile contains no install target
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(doc (string-append out "/share/doc/delta-" ,version)))
(begin
(mkdir-p bin)
(mkdir-p doc)
(for-each (lambda (h)
(copy-file h (string-append doc "/" (basename h))))
`("License.txt" ,@(find-files "www" ".*\\.html")))
(for-each (lambda (b)
(copy-file b (string-append bin "/" b)))
`("delta" "multidelta" "topformflat")))))
(alist-delete 'configure %standard-phases))))
(home-page "http://delta.tigris.org/")
(synopsis "Heuristical file minimizer")
(description
"Delta assists you in minimizing \"interesting\" files subject to a test
of their interestingness. A common such situation is when attempting to
isolate a small failure-inducing substring of a large input that causes your
program to exhibit a bug.")
;; See License.txt, which is a bsd-3 license, despite the project's
;; home-page pointing to a bsd-2 license.
(license bsd-3)))
(define-public c-reduce
(package
(name "c-reduce")
(version "2.2.1")
(source
(origin
(method url-fetch)
(uri (list
(string-append "http://embed.cs.utah.edu/creduce/"
"creduce-" version ".tar.gz")))
(sha256
(base32
"0wh0fkyg2l41d2wkndrgdiai9g2qiav7jik7cys21vmgzq01pyy2"))
(modules '((guix build utils)))
(snippet
'(substitute* "clang_delta/TransformationManager.cpp"
(("llvm/Config/config.h") "llvm/Config/llvm-config.h")))))
(build-system gnu-build-system)
(inputs
`(("astyle" ,astyle)
("delta" ,delta)
("llvm" ,llvm-3.5)
("clang" ,clang-3.5)
("flex" ,flex)
("indent" ,indent)
("perl" ,perl)
("benchmark-timer" ,perl-benchmark-timer)
("exporter-lite" ,perl-exporter-lite)
("file-which" ,perl-file-which)
("getopt-tabular" ,perl-getopt-tabular)
("regex-common" ,perl-regexp-common)
("sys-cpu" ,perl-sys-cpu)))
(arguments
`(#:phases (alist-cons-after
'install 'set-load-paths
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Tell creduce where to find the perl modules it needs.
(let* ((out (assoc-ref outputs "out"))
(prog (string-append out "/bin/creduce")))
(wrap-program
prog
`("PERL5LIB" ":" prefix
,(map (lambda (p)
(string-append (assoc-ref inputs p)
"/lib/perl5/site_perl/"
,(package-version perl)))
'("benchmark-timer" "exporter-lite"
"file-which" "getopt-tabular"
"regex-common" "sys-cpu"))))))
%standard-phases)))
(home-page "http://embed.cs.utah.edu/creduce")
(synopsis "Reducer for interesting code")
(description
"C-Reduce is a tool that takes a large C or C++ program that has a
property of interest (such as triggering a compiler bug) and automatically
produces a much smaller C/C++ program that has the same property. It is
intended for use by people who discover and report bugs in compilers and other
tools that process C/C++ code.")
(license ncsa)))
+2 -2
View File
@@ -26,7 +26,7 @@
(define-public dejagnu
(package
(name "dejagnu")
(version "1.5.1")
(version "1.5.3")
(source
(origin
(method url-fetch)
@@ -34,7 +34,7 @@
version ".tar.gz"))
(sha256
(base32
"1lik8h4qi7x0mhsi8xmj91an1yb63rjbk6v4xrmzgiy5lk8lgrv0"))))
"069z3qrdv35cm2sbnfr5yjzplrqj9f61cchxis7j9mm19hv8x6q9"))))
(build-system gnu-build-system)
(inputs `(("expect" ,expect)))
(arguments
+2 -2
View File
@@ -29,14 +29,14 @@
(define-public vera
(package
(name "vera")
(version "1.21a")
(version "1.22")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/vera/vera-" version
".tar.gz"))
(sha256
(base32
"09qz1g8js8qw735wmd8kraqbk1d1997v3px2lcc58frf1r66bp8f"))))
"1anx6ikwlkg7bn3c5a8xxrp33bvhfgxmncvnqbn2fp1hnbhqh5i7"))))
(build-system trivial-build-system)
(arguments
`(#:builder (begin
+30 -2
View File
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -100,7 +101,7 @@ tables, and it understands a variety of different formats.")
(define-public ddrescue
(package
(name "ddrescue")
(version "1.18.1")
(version "1.19")
(source
(origin
(method url-fetch)
@@ -108,7 +109,7 @@ tables, and it understands a variety of different formats.")
version ".tar.lz"))
(sha256
(base32
"1ad1ifby89wys8lxh4d24y5lih6hkz54jhv6sf6bs1i7sd7lnqaq"))))
"1f278w7i9sx45jk6fsw1kyzx743k3alx1c4w1q8sk05ckafhr3gd"))))
(build-system gnu-build-system)
(home-page "http://www.gnu.org/software/ddrescue/ddrescue.html")
(synopsis "Data recovery utility")
@@ -119,3 +120,30 @@ from one file to another, working to rescue data in case of read errors. The
program also includes a tool for manipulating its log files, which are used
to recover data more efficiently by only reading the necessary blocks.")
(license gpl3+)))
(define-public dosfstools
(package
(name "dosfstools")
(version "3.0.27")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/" name "/" name
"/releases/download/v" version "/"
name "-" version ".tar.xz"))
(sha256
(base32
"1a2qs5g2zqbk1gzaaf4v3fw3yny6jgbzddpgcamkp3fjifn8wxl5"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list (string-append "PREFIX=" %output)
"CC=gcc")
#:tests? #f ;no tests
#:phases (modify-phases %standard-phases
(delete 'configure))))
(home-page "https://github.com/dosfstools/dosfstools")
(synopsis "Utilities for making and checking MS-DOS FAT filesystems")
(description
"The dosfstools package includes the mkfs.fat and fsck.fat utilities,
which respectively make and check MS-DOS FAT filesystems.")
(license gpl3+)))
+42
View File
@@ -0,0 +1,42 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages djvu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
(define-public djvulibre
(package
(name "djvulibre")
(version "3.5.27")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/djvu/djvulibre-"
version ".tar.gz"))
(sha256
(base32
"0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6"))))
(build-system gnu-build-system)
(home-page "http://djvu.sourceforge.net/")
(synopsis "Implementation of DjVu, the document format")
(description "DjVuLibre is an implementation of DjVu,
including viewers, browser plugins, decoders, simple encoders, and
utilities.")
(license license:gpl2+)))
+112
View File
@@ -0,0 +1,112 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages dns)
#:use-module (gnu packages databases)
#:use-module (gnu packages gnutls)
#:use-module (gnu packages linux)
#:use-module (gnu packages openssl)
#:use-module (gnu packages perl)
#:use-module (gnu packages xml)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
(define-public dnsmasq
(package
(name "dnsmasq")
(version "2.72")
(source (origin
(method url-fetch)
(uri (string-append
"http://www.thekelleys.org.uk/dnsmasq/dnsmasq-"
version ".tar.xz"))
(sha256
(base32
"1c80hq09hfm8cp5pirfb8wdlc7dqkp7zzmbmdaradcvlblzx42vx"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(alist-delete 'configure %standard-phases)
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
"CC=gcc")
;; No 'check' target.
#:tests? #f))
(home-page "http://www.thekelleys.org.uk/dnsmasq/doc.html")
(synopsis "Small caching DNS proxy and DHCP/TFTP server")
(description
"Dnsmasq is a lightweight DNS forwarder and DHCP server. It is designed
to provide DNS and optionally, DHCP, to a small network. It can serve the
names of local machines which are not in the global DNS. The DHCP server
integrates with the DNS server and allows machines with DHCP-allocated
addresses to appear in the DNS with names configured either in each host or in
a central configuration file. Dnsmasq supports static and dynamic DHCP leases
and BOOTP/TFTP for network booting of diskless machines.")
;; Source files only say GPL2 and GPL3 are allowed.
(license (list license:gpl2 license:gpl3))))
(define-public bind-utils
(package
(name "bind-utils")
(version "9.10.1-P2")
(source (origin
(method url-fetch)
(uri (string-append "ftp://ftp.isc.org/isc/bind9/" version
"/bind-" version ".tar.gz"))
(sha256
(base32
"1svzia5vv0s4bv6r04j8bsvlf3klwyigmdz1iwb4fqds00iyvp22"))))
(build-system gnu-build-system)
(inputs
;; it would be nice to add GeoIP and gssapi once there is package
`(("libcap" ,libcap)
("libxml2" ,libxml2)
("mysql" ,mysql)
("openssl" ,openssl)
("perl" ,perl)
("p11-kit" ,p11-kit)))
(arguments
`(#:tests? #f ; no test phase implemented
#:configure-flags
(list (string-append "--with-openssl="
(assoc-ref %build-inputs "openssl"))
(string-append "--with-dlz-mysql="
(assoc-ref %build-inputs "mysql"))
(string-append "--with-pkcs11="
(assoc-ref %build-inputs "p11-kit")))
#:phases
(alist-replace
'build
(lambda _
(and (zero? (system* "make" "-C" "lib/dns"))
(zero? (system* "make" "-C" "lib/isc"))
(zero? (system* "make" "-C" "lib/bind9"))
(zero? (system* "make" "-C" "lib/isccfg"))
(zero? (system* "make" "-C" "lib/lwres"))
(zero? (system* "make" "-C" "bin/dig"))))
(alist-replace
'install
(lambda _ (zero? (system* "make" "-C" "bin/dig" "install")))
%standard-phases))))
(home-page "https://www.isc.org/downloads/bind/")
(synopsis "Tools for querying nameservers")
(description
"These tools, included with ISC BIND, are useful for analysis of DNS
issues or verification of configuration.")
(license (list license:isc))))

Some files were not shown because too many files have changed in this diff Show More