summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-15gnu: unzip: Fix CVE-2014-9636 and some other bugs.Mark H Weaver
* 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-15Merge branch 'master' into core-updatesMark H Weaver
2015-07-15gnu: icecat: Update to 31.8.0-gnu1.Mark H Weaver
* 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-15Merge branch 'master' into core-updatesMark H Weaver
2015-07-15gnu: freetype: Update to 2.6.Mark H Weaver
* gnu/packages/fontutils.scm (freetype): Update to 2.6.
2015-07-15gnu: libgnome: Move popt to propagated-inputs.Mark H Weaver
* gnu/packages/gnome.scm (libgnome)[inputs]: Move popt to ... [propagated-inputs]: ... here.
2015-07-15gnu: qt: On armhf, enable use of NEON.Mark H Weaver
* gnu/packages/qt.scm (qt-4)[arguments]: Remove "-no-neon" from arguments passed to configure.
2015-07-15gnu: mplayer: Enable use of NEON on armhf.Mark H Weaver
* gnu/packages/video.scm (mplayer)[arguments]: Remove "--disable-neon" from arguments passed to configure.
2015-07-15gnu: python: Set source file times to 1980 to fix test.Mark H Weaver
* 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-15gnu: libpcap: Enable plain "linux" backend.Ricardo Wurmus
* gnu/packages/admin.scm (libpcap)[arguments]: Add "--with-pcap=linux" configure flag.
2015-07-15gnu: setbfree: Disable unsupported optimizations on non-x86.Ricardo Wurmus
* gnu/packages/music.scm (setbfree)[arguments]: Override default OPTIMIZATIONS variable on non-x86 systems.
2015-07-14gnu: eigen: Use parallel-job-count.Eric Bavier
* gnu/packages/algebra.scm (eigen)[arguments]: 'current-processor-count' -> 'parallel-job-count'.
2015-07-14gnu: Build tarballs deterministically.Mark H Weaver
* 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-14packages: patch-and-repack: Build tarballs deterministically.Mark H Weaver
* 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-14gnu: ccache: Update to 3.2.2.Eric Bavier
* 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-14emacs: Fill package heading in Info buffers.Ludovic Courtès
* emacs/guix-info.el (guix-package-info-fill-heading): New variable. (guix-package-info-insert-heading): Fill heading if needed. Co-authored-by: Alex Kost <alezost@gmail.com>
2015-07-14gnu: Add dunst.Alex Kost
* gnu/packages/dunst.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-07-14gnu: Add libxdg-basedir.Alex Kost
* gnu/packages/freedesktop.scm (libxdg-basedir): New variable.
2015-07-14gnu: Adjust packages to new handling of propagated inputs.Ludovic Courtès
This is a followup to 161094c, which gets rid of the "a/b" notation for propagated inputs. * gnu/packages/cross-base.scm (cross-gcc-arguments): Change reference from "libc/linux-headers" to "linux-headers". * gnu/packages/emacs.scm (magit-svn): Change "magit/git-modes" to "git-modes".
2015-07-14file-systems: Allow users to specify file system UUIDs as strings.Ludovic Courtès
Fixes <http://bugs.gnu.org/19778>. Reported by Mark H Weaver <mhw@netris.org>. * gnu/system/file-systems.scm (%uuid-rx): New variable. (string->uuid): New procedure. (uuid): New macro. * tests/file-systems.scm: New file. * Makefile.am (SCM_TESTS): Add it. * doc/guix.texi (File Systems): Give an example of UUID.
2015-07-14file-systems: Implement partition lookup by UUID.Ludovic Courtès
* gnu/build/file-systems.scm (read-ext2-superblock*, partition-predicate): New procedures. (partition-label-predicate): Rewrite in terms of 'partition-predicate'. (partition-uuid-predicate, find-partition-by-uuid, uuid->string): New procedures. (%network-byte-order): New macro. (canonicalize-device-spec)[canonical-title]: Check whether SPEC is a string. [resolve]: New procedure. Add 'uuid' case and use it.
2015-07-14gnu: nss: Upgrade to 3.19.2.Ludovic Courtès
* gnu/packages/gnuzilla.scm (nss): Upgrade to 3.19.2.
2015-07-14file-systems: Use (guix build syscalls) at build time if needed.Ludovic Courtès
* gnu/build/file-systems.scm: Wrap 'module-use!' statement in 'eval-when'.
2015-07-14gnu: util-linux: Fix file name of 'umount' in 'eject'.Ludovic Courtès
Fixes <http://bugs.gnu.org/21010>. Reported by Alex Sassmannshausen <alex.sassmannshausen@gmail.com>. * gnu/packages/linux.scm (util-linux)[arguments]: Add 'set-umount-file-name'.
2015-07-14gnu: util-linux: Use 'modify-phases'.Ludovic Courtès
* gnu/packages/linux.scm (util-linux)[arguments]: Use 'modify-phases' instead of 'alist-cons-before'.
2015-07-13gnu: Add rc.Jeff Mickey
* gnu/packages/rc.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-07-13gnu: corkscrew: Pass triplet instead of system as --build and --host.Mark H Weaver
This is a followup to commit 3c7d023d6458669c6bfa23bc85e098c91f699892, "build-system/gnu: Pass --build=<triplet> to configure by default" * gnu/packages/ssh.scm (corkscrew)[arguments]: In custom configure phase, accept 'build' keyword argument and pass it to configure in --build argument and, if not cross-compiling, the --host argument. Previously, the nix system string was passed.
2015-07-13gnu: liba52: Remove --build from configure flags.Mark H Weaver
This is a followup to commit 3c7d023d6458669c6bfa23bc85e098c91f699892, "build-system/gnu: Pass --build=<triplet> to configure by default" * gnu/packages/video.scm (liba52)[arguments]: Remove --build from configure flags.
2015-07-13gnu: sysfsutils-1: Remove --build from configure flags.Mark H Weaver
This is a followup to commit 3c7d023d6458669c6bfa23bc85e098c91f699892, "build-system/gnu: Pass --build=<triplet> to configure by default" * gnu/packages/linux.scm (sysfsutils-1)[arguments]: Remove field.
2015-07-13gnu: xbindkeys: Remove --build from configure flags.Mark H Weaver
This is a followup to commit 3c7d023d6458669c6bfa23bc85e098c91f699892, "build-system/gnu: Pass --build=<triplet> to configure by default" * gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Remove field.
2015-07-13gnu: gmp: Remove --build from configure-flags.Mark H Weaver
This is a followup to commit 3c7d023d6458669c6bfa23bc85e098c91f699892, "build-system/gnu: Pass --build=<triplet> to configure by default" * gnu/packages/multiprecision.scm (gmp)[arguments]: Remove field.
2015-07-13build-system/gnu: Pass --build=<triplet> to configure by default.Mark H Weaver
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Accept #:build keyword argument. Pass it to 'gnu-build' on the build side. * guix/build/gnu-build-system.scm (configure): Accept #:build keyword argument. Unless it is false, pass --build to configure.
2015-07-13gnu: linux-libre: Update to 4.1.2.Mark H Weaver
* gnu/packages/linux.scm (linux-libre): Update to 4.1.2.
2015-07-13gnu: boost: Patch to avoid -m32 flag on mips.Andreas Enge
* gnu/packages/patches/boost-mips-avoid-m32.patch: New file. * gnu-system.am (dist_patch_DATA): Register patch. * gnu/packages/boost.scm (boost): Use it.
2015-07-13gnu: boost: Update to 1.58.0.Andreas Enge
* gnu/packages/boost.scm (boost): Update to 1.58.0.
2015-07-13substitute: Improve functional decomposition.Ludovic Courtès
* guix/scripts/substitute.scm (display-narinfo-data, process-query, process-substitution): New procedures. Code moved from... (guix-substitute): ... here. Use them.
2015-07-13guix build: Add '--substitute-urls' client option.Ludovic Courtès
* guix/scripts/build.scm (%standard-build-options, show-build-options-help): Add --substitute-urls=URLS. (set-build-options-from-command-line): Honor it. * guix/store.scm (%default-substitute-urls): Make public. * doc/guix.texi (Substitutes): Add xref to the client --substitute-urls option. (Invoking guix build): Document it. (Invoking guix-daemon): Add 'daemon-substitute-urls' anchor.
2015-07-13substitute: Honor "substitute-urls" option passed by "untrusted" clients.Ludovic Courtès
* guix/scripts/substitute.scm (or*): New macro. (%cache-url): Honor "untrusted-substitute-urls". * guix/tests.scm (%test-substitute-urls): New variable. (open-connection-for-tests): Use it. * tests/derivations.scm ("derivation-prerequisites-to-build and substitutes", "derivation-prerequisites-to-build and substitutes, non-substitutable build", "derivation-prerequisites-to-build and substitutes, local build"): Pass it to 'set-build-options'. * tests/guix-daemon.sh: Likewise. * tests/store.scm ("substitute query, alternating URLs"): New test. ("substitute query", "substitute", "substitute + build-things with output path", "substitute, corrupt output hash", "substitute --fallback"): Pass #:substitute-urls to 'set-build-options'.
2015-07-13substitute: Store cached narinfo in cache-specific sub-directories.Ludovic Courtès
This ensures that switching between different substitute servers doesn't lead to a polluted narinfo cache. * guix/scripts/substitute.scm (narinfo-cache-file): Add 'cache-url' parameter. Add the base32 of CACHE-URL as a sub-directory under %NARINFO-CACHE-DIRECTORY. Update callers. (cached-narinfo): Likewise. Call 'mkdir-p' on the dirname of the cache file. Update callers. (remove-expired-cached-narinfos): Add 'directory' parameter and use it instead of %NARINFO-CACHE-DIRECTORY. (narinfo-cache-directories): New procedure. (maybe-remove-expired-cached-narinfo): Call 'remove-expired-cached-narinfos' for each item returned by 'narinfo-cache-directories'.
2015-07-13substitute: Pass the cache URL instead of <cache> objects.Ludovic Courtès
* guix/scripts/substitute.scm (<cache>): Rename to... (<cache-info>): ... this. (open-cache): Rename to... (download-cache-info): ... this. Return a <cache-info> or #f. (open-cache*): Remove. (cache-narinfo!): Take a URL instead of a <cache> as the first parameter. (fetch-narinfos): Likewise. Call 'download-cache-info'. Remove use of 'force'. (guix-substitute): Replace calls to 'open-cache*' with %CACHE-URL.
2015-07-13substitute: Remove unneeded conditionals.Ludovic Courtès
* guix/scripts/substitute.scm (guix-substitute): Remove unneeded (if cache ...) forms since CACHE is always true (it's a promise.)
2015-07-13gnu: file-systems: Fix typo.Mathieu Lirzin
* gnu/system/file-systems.scm (%container-file-systems): Fix typo in a comment.
2015-07-13guix lint: Remove duplicated module lines.Alex Kost
* guix/scripts/lint.scm (guix): Remove duplicated lines for using 'srfi-34' and 'srfi-35' modules. These lines were introduced twice by commits b210b35 and 002c57c.
2015-07-12gnu: Add rhythmbox.David Hashe
* gnu/packages/gnome.scm (rhythmbox): New variable.
2015-07-12gnu: Add 'libstdc++-doc'.Ludovic Courtès
* gnu/packages/gcc.scm (make-libstdc++-doc): New procedure. (libstdc++-doc-4.9, libstdc++-doc-5.1): New variables.
2015-07-12gnu: Add execline.Claes Wallin
* gnu/package/skarnet.scm (execline): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-07-12gnu: Add skalibs.Claes Wallin
* gnu/package/skarnet.scm (skalibs): New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-07-12gnu: pumpa: Update to 0.9.1.Claes Wallin
* gnu/packages/pumpio.scm (pumpa): Update to 0.9.1. Change URL. Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-07-12gnu: perl: Do not retain references to Binutils and other build-time tools.Ludovic Courtès
* gnu/packages/perl.scm (perl)[arguments]: Pass -Dlibpth and -Dplibpth to ./Configure.
2015-07-12packages: Rewrite 'transitive-inputs' to be linear and remove duplicates.Ludovic Courtès
There were two issues: 1. Use of 'delete-duplicates', which is quadratic, was a serious problem for closures with lots of propagated inputs, such as that of the 'hydra' package (several minutes for 'guix build hydra -n'!). 2. The 'delete-duplicates' call essentially had no effect since duplicate inputs typically had a different label and were thus kept. For instance, (bag-transitive-inputs (package->bag inkscape)) would return 216 items whereas (delete-duplicates (map cdr THAT)) contains only 67 items. The new implementation returns 67 items in this case. For 'hydra', we're down from 42211 items to 361, and roughly 13s for 'guix build hydra'. * guix/packages.scm (transitive-inputs): Rewrite as a breadth-first traversal. Remove duplicate propagated inputs. * tests/packages.scm ("package-transitive-inputs", "package->bag, propagated inputs"): Adjust to use simple labels for propagated inputs, without "/". ("package-transitive-inputs, no duplicates"): New test.