Commit Graph

7557 Commits

Author SHA1 Message Date
Ludovic Courtès aa27987f71 gnu: cross-base: Distinguish cross Linux headers from native headers.
Commit c6d33a9 provided an incorrect fix, whereby the "linux-headers" key
would be used twice in %BUILD-INPUTS and the 'set-cross-path' phase would
refer to the first one of them, which happened to be the native headers, and
not the target headers.  This patch solves the problem by removing the
ambiguity.

* gnu/packages/cross-base.scm (cross-gcc-arguments)[set-cross-path]: Remove to
  "xlinux-headers" instead of "linux-headers".
  (cross-gcc): When LIBC is true, add explicit "xlinux-headers" input, taken
  from LIBC's propagated inputs.
2015-07-19 00:15:44 +02:00
Ludovic Courtès 2e839545c7 gnu: ninja: Do not report files with mtime = 0 as missing.
This is a followup to 47f315a.

* gnu/packages/patches/ninja-zero-mtime.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/ninja.scm (ninja)[source]: Reinstate 'patches' field and add
  this patch.
  [arguments]: Remove 'apply-ninja-tests.patch' phase.
2015-07-18 23:27:18 +02:00
Ludovic Courtès c5c4c4b437 gnu: rapidjson: Build without -Werror.
* gnu/packages/web.scm (rapidjson)[source]: Add 'snippet'.
2015-07-18 22:53:50 +02:00
Mark H Weaver 47f315a73f gnu: ninja: Apply the patch in a phase to avoid 'patch-and-repack'.
* gnu/packages/ninja.scm (ninja)[source]: Comment out 'patches' field.
  [native-inputs]: Add 'patch' and "ninja-tests.patch".  Move above
  'arguments' field.
  [arguments]: Add 'apply-ninja-tests.patch' phase.
2015-07-17 21:46:14 -04:00
Mark H Weaver b40c3d09b5 gnu: ninja: Use modify-phases.
* gnu/packages/ninja.scm (ninja)[arguments]: Use modify-phases.  Return a
  boolean result from all phase procedures.
2015-07-17 21:25:58 -04:00
Mark H Weaver f90ef3c355 gnu: clisp: Do not pass --build=<triplet> to configure.
* gnu/packages/lisp.scm (clisp)[arguments]: Add #:build #f.
2015-07-17 18:34:05 -04: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
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
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
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
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
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
Ludovic Courtès dbe422aba8 emacs: Fill package heading in Info buffers.
* 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-14 18:46:59 +03:00
Alex Kost b0ded08ff7 gnu: Add dunst.
* gnu/packages/dunst.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-07-14 18:46:18 +03:00
Alex Kost 60a5617b9d gnu: Add libxdg-basedir.
* gnu/packages/freedesktop.scm (libxdg-basedir): New variable.
2015-07-14 18:46:17 +03:00
Ludovic Courtès c6d33a9d9c gnu: Adjust packages 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/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-14 16:15:30 +02:00
Ludovic Courtès 661a1d7924 file-systems: Allow users to specify file system UUIDs as strings.
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-14 15:24:20 +02:00
Ludovic Courtès 0ec5ee9486 file-systems: Implement partition lookup by UUID.
* 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-14 15:24:19 +02:00
Ludovic Courtès f868637527 gnu: nss: Upgrade to 3.19.2.
* gnu/packages/gnuzilla.scm (nss): Upgrade to 3.19.2.
2015-07-14 15:24:19 +02:00
Ludovic Courtès 2de3cd8972 file-systems: Use (guix build syscalls) at build time if needed.
* gnu/build/file-systems.scm: Wrap 'module-use!' statement in 'eval-when'.
2015-07-14 15:24:18 +02:00
Ludovic Courtès 7e5124976b gnu: util-linux: Fix file name of 'umount' in 'eject'.
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-14 14:00:46 +02:00
Ludovic Courtès 1b9cf4ad2f gnu: util-linux: Use 'modify-phases'.
* gnu/packages/linux.scm (util-linux)[arguments]: Use 'modify-phases' instead
  of 'alist-cons-before'.
2015-07-14 12:40:35 +02:00
Jeff Mickey 0577ddc45d gnu: Add rc.
* gnu/packages/rc.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-07-13 19:33:17 -04:00
Mark H Weaver 7a34576206 gnu: corkscrew: Pass triplet instead of system as --build and --host.
This is a followup to commit 3c7d023d64,
"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-13 19:05:17 -04:00
Mark H Weaver 412a242258 gnu: liba52: Remove --build from configure flags.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"

* gnu/packages/video.scm (liba52)[arguments]: Remove --build from configure
  flags.
2015-07-13 19:04:27 -04:00
Mark H Weaver 92e79092eb gnu: sysfsutils-1: Remove --build from configure flags.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"

* gnu/packages/linux.scm (sysfsutils-1)[arguments]: Remove field.
2015-07-13 19:03:02 -04:00
Mark H Weaver 28b26cab94 gnu: xbindkeys: Remove --build from configure flags.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"

* gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Remove field.
2015-07-13 19:02:09 -04:00
Mark H Weaver b2314ca228 gnu: gmp: Remove --build from configure-flags.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"

* gnu/packages/multiprecision.scm (gmp)[arguments]: Remove field.
2015-07-13 18:59:32 -04:00
Mark H Weaver 3c7d023d64 build-system/gnu: Pass --build=<triplet> to configure by default.
* 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-13 18:54:40 -04:00
Mark H Weaver 28dbc04750 gnu: linux-libre: Update to 4.1.2.
* gnu/packages/linux.scm (linux-libre): Update to 4.1.2.
2015-07-13 15:06:03 -04:00
Andreas Enge 8d662672fc gnu: boost: Patch to avoid -m32 flag on mips.
* 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-13 14:53:38 -04:00