Commit Graph

8126 Commits

Author SHA1 Message Date
Ludovic Courtès 13f0c6ed41 syscalls: Struct deserializer can now return arbitrary objects.
* guix/build/syscalls.scm (read-types): Add RETURN and VALUES parameters.
  (define-c-struct): Add WRAP-FIELDS parameter and pass it to 'read-types'.
  (sockaddr-in, sockaddr-in6): Add first argument that uses
  'make-socket-address'.
  (read-socket-address): Remove 'match' on the result of 'read-sockaddr-in'
  and 'read-sockaddr-in6'.
2015-07-17 23:31:29 +02:00
Ludovic Courtès 4f7b564adb download: Remove spurious warning about 'https_proxy'.
* guix/build/download.scm (open-connection-for-uri)[with-https-proxy]: Warn
  about 'https_proxy' only when 'getenv' returns a non-empty string.
2015-07-17 22:31:12 +02:00
Ludovic Courtès b7e147fffd gnu: libpsl: Fix source URL.
* gnu/packages/web.scm (libpsl)[source]: Fix 'uri'.  Remove now
  unneeded 'file-name'.
2015-07-17 22:10:24 +02:00
Ludovic Courtès b78cad85d3 file-systems: Subsystem cgroups now depend on /sys/fs/cgroup.
* gnu/system/file-systems.scm (%control-groups): Define 'parent' variable.
  Initialize the 'dependencies' field for all the subsystems.
2015-07-17 19:25:09 +02:00
Ludovic Courtès e51710d1ef file-systems: Add a 'dependencies' field to <file-system>.
* gnu/system/file-systems.scm (<file-system>)[dependencies]: New field.
* gnu/system.scm (other-file-system-services)[requirements]: Honor
  'file-system-dependencies'.
* doc/guix.texi (File Systems): Document it.
2015-07-17 19:24:15 +02:00
Ludovic Courtès 97121c2a21 gnu: Add Linux-Libre 4.0.8.
* gnu/packages/linux.scm (linux-libre-4.0): New variable.
2015-07-17 15:35:57 +02:00
Ludovic Courtès 68ac258b52 system: Use the CRDA udev rules.
* gnu/services/base.scm (%base-services): Add CRDA to the #:rules of
  'udev-service'.
* gnu/system/install.scm (installation-services): Likewise.
2015-07-17 15:35:57 +02:00
Ludovic Courtès cc205dac76 gnu: Add CRDA.
* gnu/packages/linux.scm (crda): New variable.
2015-07-17 15:35:57 +02:00
Ludovic Courtès c80b4a3e83 gnu: Add wireless-regdb.
* gnu/packages/linux.scm (wireless-regdb): New variable.
2015-07-17 15:35:57 +02:00
Ludovic Courtès 0eed5501b8 licenses: Add Fontana's copyleft-next.
* guix/licenses.scm (copyleft-next): New variable.
2015-07-17 15:35:57 +02:00
David Hashe f70d8383ee gnu: Add eog.
* gnu/packages/gnome.scm (eog): New variable.
2015-07-17 20:48:22 +08:00
David Hashe 177b42552f gnu: Add exempi.
* gnu/packages/freedesktop.scm (exempi): New variable.
2015-07-17 20:48:22 +08:00
Eric Bavier aa90f2cda7 gnu: duplicity: Update to 0.6.26.
* gnu/packages/backup.scm (duplicity): Update to 0.6.26.
2015-07-17 02:50:55 -05:00
Mark H Weaver e12027179f gnu: openssl: Work around GCC code generation bug on ARM with NEON.
* gnu/packages/tls.scm (openssl)[arguments]: When compiling natively for
  armhf, pass -mfpu=vfpv3 to ./config.
2015-07-17 03:31:28 -04:00
Ricardo Wurmus ec9825d666 gnu: Add emacs-pdf-tools.
* gnu/packages/emacs.scm (emacs-pdf-tools): New variable.

Co-authored-by: Alex Kost <alezost@gmail.com>
2015-07-17 09:12:09 +02:00
Mark H Weaver 2fdc682742 gnu: icecat: Add patch to adapt to freetype 2.6.
* gnu/packages/patches/icecat-freetype-2.6.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patch.
2015-07-17 01:42:35 -04:00
Ludovic Courtès ee2a6304f3 system: Add 'kernel-arguments' field.
* gnu/system.scm (<operating-system>)[kernel-arguments]: New field.
  (operating-system-grub.cfg): Honor it.
  (operating-system-parameters-file): Add 'kernel-arguments' to the parameters
  file.
* guix/scripts/system.scm (previous-grub-entries)[system->grub-entry]: Read
  the 'kernel-arguments' field of the parameters file, when available.
* gnu/system/vm.scm (system-qemu-image/shared-store-script):
  Use (operating-system-kernel-arguments os) in '-append'.
* doc/guix.texi (operating-system Reference): Document it.
2015-07-17 01:11:06 +02:00
Ludovic Courtès 2378df558a system: Fix typo in 'PS1' in skeleton '.bashrc'.
* gnu/system/shadow.scm (default-skeletons): Move misplaced backslash.
2015-07-17 00:20:08 +02:00
Eric Bavier 355e53c4ca gnu: git: Adjust to new handling of propagated inputs.
This is a followup to 161094c, which gets rid of the "a/b" notation for
propagated inputs.

* gnu/packages/version-control.scm (package-transitive-propagated-labels*):
  Do not prepend the package name to its input label.
  (package-propagated-input-refs): Delete duplicate labels.
  (git)[arguments]: Adjust wrapping of git-send-email accordingly.
2015-07-16 16:47:05 -05:00
Ludovic Courtès e4d801623e gnu: libpsl: Update to 0.7.1.
Removing the 'snippet' allows us to avoid 'patch-and-repack', which resets all
the mtimes, thereby breaking the expectation tested in
'test-is-public-builtin.c' that the mtime returned by 'psl_builtin_file_time'
is non-zero.

* gnu/packages/web.scm (libpsl): Update to 0.7.1.
  [source]: Remove 'modules' and 'snippet'.
  [native-inputs]: Add PKG-CONFIG.
2015-07-17 00:01:38 +02:00
Ludovic Courtès 81e558fdb1 gnu: subversion: Skip the faulty test.
The added patch from upstream didn't help, nor did downgrading to SQLite
3.8.9.  Thus, shamelessly skip the offending test.

* gnu/packages/patches/subversion-sqlite-3.8.9-fix.patch: Add one hunk to skip
  the faulty test, and another one from upstream.
2015-07-16 23:33:15 +02:00
Ludovic Courtès a640d3d51b gnu: libgnome: Leave only one 'propagated-inputs' field.
* gnu/packages/gnome.scm (libgnome): Merge the two 'propagated-inputs'
  fields (followup to 25338e9.)
2015-07-16 17:17:12 +02:00
Mathieu Lirzin 7aab13f19d gnu: Add gnome-common.
* gnu/packages/gnome.scm (gnome-common): New variable.
2015-07-16 11:56:04 +02:00
Mathieu Lirzin 889e57f4d8 gnu: Add lxappearance.
* gnu/packages/lxde.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-07-16 11:56:04 +02:00
Ludovic Courtès 6c92551af9 install: Reset the mtimes of all the files in the binary tarball.
* gnu/system/install.scm (self-contained-tarball): Pass "--mtime=@0".  The
  only files whose mtime was not already were those in /var/guix and
  /gnu/store/.links.
2015-07-16 09:58:19 +02:00
Ludovic Courtès 1cab9e810e file-systems: 'uuid' raises a syntax error for invalid UUIDs.
* gnu/system/file-systems.scm (uuid): Call 'syntax-violation' when
  'string->uuid' returns #f.
* tests/file-systems.scm ("uuid, syntax error"): New test.
2015-07-16 09:49:36 +02:00
Mark H Weaver 3bacb7a698 python-build-system: Add 'ensure-no-mtimes-pre-1980' phase.
* guix/build/python-build-system.scm (ensure-no-mtimes-pre-1980):
  New phase.
  (%standard-phases): Add it after 'unpack'.
2015-07-16 01:49:39 -04:00
Mark H Weaver 1084ec08c2 gnu: perl-net-ssleay: Avoid patching source in 'origin'.
* gnu/packages/tls.scm (perl-net-ssleay)[source]: Move patch to ...
  [native-inputs]: ... here, and also add the 'patch' program.
  [arguments]: Use 'modify-phases'.  Add 'apply-patch' phase.  Return
  boolean result from 'set-ssl-prefix' phase.
2015-07-15 23:43:33 -04:00
Mark H Weaver bbd1961545 gnu: ghc: Don't pass --build=<triplet> to configure.
* gnu/packages/haskell.scm (ghc)[arguments]: Add #:build #f.
2015-07-15 23:19:27 -04:00
Mark H Weaver 385ae063c9 gnu: unzip: Fix CVE-2014-9636 and some other bugs.
* gnu/packages/patches/unzip-CVE-2014-9636.patch,
  gnu/packages/patches/unzip-allow-greater-hostver-values.patch,
  gnu/packages/patches/unzip-increase-size-of-cfactorstr.patch,
  gnu/packages/patches/unzip-initialize-symlink-flag.patch,
  gnu/packages/patches/unzip-remove-build-date.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/zip.scm (unzip)[source]: Add patches.
  [arguments]: Use 'modify-phases'.  Remove custom 'configure' phase; pass
  additional make-flags instead.  Add custom 'build' phase that builds
  "generic_gcc" target; remove "generic_gcc" from make-flags.
2015-07-15 23:02:27 -04:00
Efraim Flashner 68e88a09b4 gnu: Update livestreamer to 1.12.2.
* gnu/packages/video (livestreamer): Update to 1.12.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-07-15 23:57:01 +02:00
Ludovic Courtès d2f2c8f126 size: Gracefully handle EPIPE.
* guix/scripts/size.scm (guix-size): Wrap body in 'leave-on-EPIPE'.
2015-07-15 23:57:01 +02:00
Ludovic Courtès df36e62938 ui: Add 'leave-on-EPIPE'.
* guix/scripts/package.scm (leave-on-EPIPE): Move to...
* guix/ui.scm (leave-on-EPIPE): ... here.
2015-07-15 23:57:01 +02:00
Ludovic Courtès d2825c9614 Add 'guix-daemon.service' file for systemd.
* etc/guix-daemon.service.in: New file, provided by Ricardo Wurmus.
* daemon.am (CLEANFILES): Add etc/guix-daemon.service.
  (systemdservicedir, nodist_systemdservice_DATA): New variables.
  (EXTRA_DIST): Add etc/guix-daemon.service.in.
* doc/guix.texi (Binary Installation, Build Environment Setup): Mention
  'guix-daemon.service'.
2015-07-15 23:57:01 +02:00
Ludovic Courtès 64720891ae system: Make /dev/kvm 660.
* gnu/services/base.scm (kvm-udev-rule): Change /dev/kvm mode to 0660 as a
  followup to the resolution of <http://bugs.gnu.org/18994>.
2015-07-15 23:57:01 +02:00
Ludovic Courtès 43c33047da doc: Reinstate bit about creating build accounts.
* doc/guix.texi (Binary Installation): Reinstate bit about creating group and
  user accounts, which was inadvertently removed in 01dbc7e0.
2015-07-15 23:57:01 +02:00
Mark H Weaver 368474150b Merge branch 'master' into core-updates 2015-07-15 16:11:13 -04:00
Mark H Weaver b76c415253 gnu: icecat: Update to 31.8.0-gnu1.
* gnu/packages/patches/icecat-enable-acceleration-and-webgl.patch: New file.
* gnu/packages/patches/icecat-CVE-2015-2722-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2722-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt3.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt4.patch,
  gnu/packages/patches/icecat-CVE-2015-2728-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2728-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2733-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2733-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2735.patch,
  gnu/packages/patches/icecat-CVE-2015-2736.patch,
  gnu/packages/patches/icecat-CVE-2015-2738.patch,
  gnu/packages/patches/icecat-CVE-2015-2739.patch,
  gnu/packages/patches/icecat-CVE-2015-2740.patch,
  gnu/packages/patches/icecat-CVE-2015-2743.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them, and add the new file.
* gnu/packages/gnuzilla.scm (icecat): Update to 31.8.0-gnu1.  Remove the
  outdated patches and add the new one.
2015-07-15 15:43:23 -04:00
Mark H Weaver 35995769b5 Merge branch 'master' into core-updates 2015-07-15 15:10:32 -04:00
Mark H Weaver c6f909809a gnu: freetype: Update to 2.6.
* gnu/packages/fontutils.scm (freetype): Update to 2.6.
2015-07-15 15:08:47 -04:00
Mark H Weaver 25338e9f2f gnu: libgnome: Move popt to propagated-inputs.
* gnu/packages/gnome.scm (libgnome)[inputs]: Move popt to ...
  [propagated-inputs]: ... here.
2015-07-15 15:03:56 -04:00
Mark H Weaver 84811c22ff gnu: qt: On armhf, enable use of NEON.
* gnu/packages/qt.scm (qt-4)[arguments]: Remove "-no-neon" from arguments
  passed to configure.
2015-07-15 13:37:01 -04:00
Mark H Weaver 3a286b9594 gnu: mplayer: Enable use of NEON on armhf.
* gnu/packages/video.scm (mplayer)[arguments]: Remove "--disable-neon" from
  arguments passed to configure.
2015-07-15 13:36:58 -04:00
Mark H Weaver 46472ecd00 gnu: python: Set source file times to 1980 to fix test.
* gnu/packages/python.scm (python-2)[arguments]: Use 'modify-phases'.  Return
  true from phases where needed.  Add 'set-source-file-times-to-1980' phase.
  Add (ice-9 ftw) to #:modules.
2015-07-15 13:31:51 -04:00
Ricardo Wurmus e03f6d5e95 gnu: libpcap: Enable plain "linux" backend.
* gnu/packages/admin.scm (libpcap)[arguments]: Add "--with-pcap=linux"
  configure flag.
2015-07-15 18:28:36 +02:00
Ricardo Wurmus b42d45088d gnu: setbfree: Disable unsupported optimizations on non-x86.
* gnu/packages/music.scm (setbfree)[arguments]: Override default OPTIMIZATIONS
  variable on non-x86 systems.
2015-07-15 17:19:58 +02:00
Eric Bavier fc3cbc67c1 gnu: eigen: Use parallel-job-count.
* gnu/packages/algebra.scm (eigen)[arguments]: 'current-processor-count' ->
  'parallel-job-count'.
2015-07-14 20:49:43 -05:00
Mark H Weaver c09e6a5f5e gnu: Build tarballs deterministically.
* gnu/packages/make-bootstrap.scm (tarball-package)[arguments]: Build tarball
  deterministically.
* gnu/packages/admin.scm (isc-dhcp)[arguments]: In 'post-configure' phase,
  create bind.tar.gz deterministically.
* gnu/packages/video.scm (avidemux)[arguments]: In 'repack-ffmpeg' phase,
  create ffmpeg-1.2.1.tar.bz2 deterministically.
2015-07-14 19:44:38 -04:00
Mark H Weaver 2e9511dfbd packages: patch-and-repack: Build tarballs deterministically.
* guix/packages.scm (patch-and-repack)[build]: When invoking 'tar' to repack
  the archive, pass "--mtime=@0", "--owner=root:0", and "--group=root:0".
2015-07-14 19:41:20 -04:00
Eric Bavier 107db20da8 gnu: ccache: Update to 3.2.2.
* gnu/packages/ccache.scm (ccache): Update to 3.2.2.
  [arguments]: Rename 'patch-test-shebangs phase to 'setup-tests.  Set the
  SHELL environment variable.
2015-07-14 18:14:43 -05:00