Commit Graph

8004 Commits

Author SHA1 Message Date
Ludovic Courtès fe8199a80c gnu: openssl: Allow shared objects to be stripped.
* gnu/packages/tls.scm (openssl)[arguments]: Add
  'make-libraries-writable' phase.
2015-09-09 18:31:05 +02:00
Ludovic Courtès 4fb254a339 gnu: openssl: Install data and documentation to PREFIX/share.
* gnu/packages/tls.scm (openssl)[arguments]: Add 'fix-man-dir' phase.
  Pass --openssldir=PREFIX/share/openssl-VERSION to ./config.
2015-09-09 18:17:38 +02:00
Ludovic Courtès b6cb13583b gnu: openssl: Use 'modify-phases'.
* gnu/packages/tls.scm (openssl)[arguments]: Use 'modify-phases'.
2015-09-09 15:31:23 +02:00
Ludovic Courtès 6f6eb85760 gnu: libtiff: Add "doc" output.
* gnu/packages/image.scm (libtiff)[outputs, arguments]: New fields.
2015-09-09 15:25:05 +02:00
Ludovic Courtès c5d8e688dc gnu: glibc: Patch 'openat64', which was buggy on 32-bit platforms.
* gnu/packages/patches/glibc-o-largefile.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Add it to 'patches'.
* gnu-system.am (dist_patch_DATA): Add it.
2015-09-08 15:53:05 +02:00
Mark H Weaver 140b4bc6cd packages: Build tarballs in sorted order even if tar doesn't support it.
This is a followup to commit 92226a470d.

* guix/packages.scm (patch-and-repack)[build]: Determine if tar supports the
  "--sort=name" option using a run-time test.  If not supported, generate the
  sorted file list with 'find-files' and pass it to tar using "--files-from".
2015-09-06 17:25:51 -04:00
Mark H Weaver f4ae827e26 utils: find-files: Add DIRECTORIES? and FAIL-ON-ERROR? arguments.
* guix/build/utils.scm (find-files): Add DIRECTORIES? and FAIL-ON-ERROR?
  keyword arguments.
2015-09-06 17:25:50 -04:00
宋文武 f5c0b04bfe gnu: poppler: Update to 0.35.0.
* gnu/packages/pdf.scm (poppler): Update to 0.35.0.
2015-09-06 21:52:21 +08:00
宋文武 81ece42981 gnu: harfbuzz: Update to 1.0.3.
* gnu/packages/gtk.scm (harfbuzz): Update to 1.0.3.
2015-09-06 21:52:21 +08:00
宋文武 e6f22a828e gnu: graphite2: Update to 1.3.1.
* gnu/packages/fontutils.scm (graphite2): Update to 1.3.1.  Remove
  unused PERL from inputs.
  [native-inputs]: New field.
2015-09-06 21:52:21 +08:00
宋文武 d582eaacec gnu: Add python-fonttools.
* gnu/packages/python.scm (python-fonttools, python2-fonttools): New
  variables.
2015-09-06 21:52:21 +08:00
宋文武 030fa12ef2 gnu: fontconfig: Update to 2.11.94.
* gnu/packages/fontutils.scm (fontconfig): Update to 2.11.94.
  [arguments]: Pass '--with-cache-dir=/var/cache/fontconfig' to configure.
  Add #:phases.
2015-09-06 21:52:21 +08:00
Alex Kost d0f74308e2 gnu: coreutils-light: Rename to coreutils-minimal.
* gnu/packages/base.scm (coreutils-light): Rename to ...
  (coreutils-minimal): ...this.
* gnu/packages/commencement.scm (%boot5-inputs): Use it.
2015-09-06 12:33:21 +03:00
Alex Kost f24931d841 gnu: bash-light: Rename to bash-minimal.
* gnu/packages/bash.scm (bash-light): Rename to ...
  (bash-minimal): ...this.
  (static-bash): Use it.
* gnu/packages/make-bootstrap.scm (%bash-static): Use it.
2015-09-06 12:33:21 +03:00
Andreas Enge 1de0afd5a5 gnu: libtiff: Build with the current libjpeg instead of libjpeg-8.
* gnu/packages/image.scm (libtiff)[inputs]: Use libjpeg instead of libjpeg-9.
  [arguments]: Drop the now unneeded field.
2015-09-05 17:58:53 +02:00
Andreas Enge 45468e3649 gnu: libtiff: Update to 4.0.5.
* gnu/packages/patches/libtiff-CVE-2012-4564.patch,
  gnu/packages/patches/libtiff-CVE-2013-1960.patch,
  gnu/packages/patches/libtiff-CVE-2013-1961.patch,
  gnu/packages/patches/libtiff-CVE-2013-4231.patch,
  gnu/packages/patches/libtiff-CVE-2013-4232.patch,
  gnu/packages/patches/libtiff-CVE-2013-4243.patch,
  gnu/packages/patches/libtiff-CVE-2013-4244.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt1.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt2.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt3.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt4.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt1.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt2.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt3.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt4.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt5.patch,
  gnu/packages/patches/libtiff-CVE-2014-8129.patch,
  gnu/packages/patches/libtiff-CVE-2014-9330.patch,
  gnu/packages/patches/libtiff-CVE-2014-9655.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Unregister the patches.
* gnu/packages/image.scm (libtiff): Update to 4.0.5 and drop the patches.
2015-09-05 17:58:45 +02:00
Manolis Ragkousis 21a8fe1bf5 gnu: base: Add glibc-hurd and hurd-minimal.
* gnu/packages/base.scm (glibc/hurd, glibc/hurd-headers): New variables.
* gnu/packages/hurd.scm (hurd-minimal): New variable.
* gnu/packages/patches/glibc-hurd-extern-inline.patch: New file.
* gnu/packages/patches/libpthread-glibc-preparation.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Mark H Weaver <mhw@netris.org>
2015-09-04 13:50:38 +02:00
Ludovic Courtès 035b6ff707 packages: Define '%hurd-systems'.
* guix/packages.scm (%hurd-systems): New variable.
2015-09-04 13:50:38 +02:00
Manolis Ragkousis 70db9576f4 gnu: make-bootstrap: Remove unneeded configure flag from %gcc-static.
With this commit "guix build bootstrap-tarballs --target=i686-pc-gnu" works.

* gnu/packages/make-bootstrap.scm (%gcc-static): Remove unneeded
  --disable-decimal-float.
2015-09-04 13:50:38 +02:00
Manolis Ragkousis a7ecc92dc5 gnu: hurd: Add flex as an input to mig.
* gnu/packages/hurd (mig): Add flex as an input.
2015-09-04 13:50:38 +02:00
Manolis Ragkousis 561840b4aa gnu: acl: Fix i686-gnu build.
* gnu/packages/patches/acl-hurd-path-max.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-09-04 13:50:38 +02:00
Marek Benc 0cce99684a gnu: gcc: Also substitute the dynamic linker name for GNU/Hurd.
* gnu/packages/gcc.scm (gcc-4.7): Also substitute the dynamic linker name
  for GNU (ie. Hurd) systems.

Signed-off-by: Manolis Ragkousis <manolis837@gmail.com>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-04 13:50:38 +02:00
Marek Benc 66feaa320e gnu: bootstrap: Add the location of ld.so on GNU/Hurd.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add the dynamic
  linker for i686-gnu and i585-gnu.

Signed-off-by: Manolis Ragkousis <manolis837@gmail.com>
2015-09-04 13:50:16 +02:00
Ludovic Courtès 52f62492b0 gnu: acl: Remove explicit 'sed' dependency.
* gnu/packages/acl.scm (acl)[native-inputs]: Remove SED, which is
  implicit.
2015-09-04 11:58:37 +02:00
Ludovic Courtès 62ea886525 gnu: coreutils: Drop dependency on libcap when cross-compiling.
* gnu/packages/base.scm (coreutils)[inputs]: Drop LIBCAP
  when (%current-target-system) is true.
2015-09-04 11:56:51 +02:00
Mark H Weaver 92226a470d Build tarballs with deterministic file ordering.
* guix/packages.scm (patch-and-repack)[build],
  gnu/system/install.scm (self-contained-tarball)[build],
  gnu/packages/make-bootstrap.scm (tarball-package),
  gnu/packages/admin.scm (isc-dhcp),
  gnu/packages/video.scm (avidemux): Pass "--sort=name" to 'tar'.
2015-09-03 12:57:01 -04:00
Mark H Weaver 52c20d8e15 packages: Add 'armhf-linux' to '%hydra-supported-systems'.
* guix/packages.scm (%hydra-supported-systems): Do not remove 'armhf-linux'
  from it.  It is now equal to '%supported-systems'.
2015-09-02 19:59:12 -04:00
Ludovic Courtès df2d51f025 gexp: Remove duplicate 'mkdir-p' definition.
* guix/gexp.scm (%mkdir-p-definition): Remove.
  (%utils-module): New variable.
  (imported-files, compiled-modules): Have gexp load %UTILS-MODULE
  instead of using %MKDIR-P-DEFINITION.
2015-09-02 11:24:57 +02:00
Ludovic Courtès 09cc7729d0 gnu: coreutils: Add dependency on libcap.
* gnu/packages/base.scm (coreutils)[inputs]: Add LIBCAP.
2015-09-02 11:20:48 +02:00
Ludovic Courtès f6c2d05ceb gnu: libcap: Update to 2.24.
* gnu/packages/linux.scm (libcap): Update to 2.24.  Fetch the source
  from mirror://kernel.org.
2015-09-02 11:12:11 +02:00
Ludovic Courtès 28cbc587d3 gnu: glibc: Upgrade to 2.22.
* gnu/packages/base.scm (glibc): Upgrade to 2.22.
  (coreutils-light): New variable.
* gnu/packages/commencement.scm (locale-proof-package): New procedure.
  (%boot5-inputs): Add LD-WRAPPER, BINUTILS-FINAL, BASH-FINAL, GNU-MAKE,
  DIFFUTILS, FINDUTILS, COREUTILS-LIGHT (pass through
  'new-libc-package'), and %BOOTSTRAP-COREUTILS&CO (passed through
  'locale-proof-package'.)
2015-09-02 10:58:28 +02:00
Ludovic Courtès 8c578a6094 utils: Move 'package-name->name+version' to (guix build utils).
* guix/utils.scm (package-name->name+version): Move to...
* guix/build/utils.scm (package-name->name+version): ... here.  New
  procedure.
* guix/build/emacs-build-system.scm (package-name->name+version):
  Remove.
2015-08-30 18:38:08 +02:00
Ludovic Courtès b7c7c03eb5 utils: Add 'strip-store-file-name'.
* guix/build/utils.scm (strip-store-file-name): New procedure.
* guix/build/emacs-build-system.scm (store-directory->name-version):
  Remove.  Update callers to use 'strip-store-file-name'.
* gnu/packages/gcc.scm (make-libstdc++-doc)[arguments]: Use
  'strip-store-file-name' instead of 'string-drop'.
2015-08-30 18:38:08 +02:00
Ludovic Courtès d56f8d5e74 gnu: glibc: _PATH_BSHELL refers to our static bash.
* gnu/packages/base.scm (glibc)[arguments]: Change _PATH_BSHELL in
  paths.h to refer to STATIC-BASH.
2015-08-30 18:37:54 +02:00
Ludovic Courtès 57f65bcc9c gnu: glibc: Use 'modify-phases'.
* gnu/packages/base.scm (glibc)[arguments]: Use 'modify-phases' instead
  of 'alist-cons-before'.
2015-08-30 17:08:09 +02:00
Ludovic Courtès 5c962e93e5 build-system/gnu: Use monotic time to measure elapsed time.
* guix/build/gnu-build-system.scm (gnu-build)[elapsed-time]: New
  procedure.
  Use it, and use (current-time time-monotonic) instead
  of (gettimeofday).  Show one digit after the comma for the elapsed
  time.
2015-08-30 17:07:45 +02:00
Ludovic Courtès 409ba9a2cb gnu: ncurses: Really install headers to OUT/include.
* gnu/packages/ncurses.scm (ncurses)[arguments]: Pass --enable-overwrite.
2015-08-30 13:53:43 +02:00
Ludovic Courtès 96c4621056 gnu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases.
* gnu/packages/bioinformatics.scm (bedtools, bowtie, bwa, hisat, samtools,
  plink, star): Use 'install-file' instead of 'mkdir-p' + 'copy-file'.
* gnu/packages/check.scm (catch-framework): Likewise.
* gnu/packages/code.scm (global): Likewise.
* gnu/packages/emacs.scm (magit-svn, haskell-mode, emacs-pdf-tools):
  Likewise.
* gnu/packages/engineering.scm (fastcap, fasthenry): Likewise.
* gnu/packages/gnuzilla.scm (nss): Likewise.
* gnu/packages/guile.scm (guile-minikanren): Likewise.
* gnu/packages/java.scm (swt): Likewise.
* gnu/packages/make-bootstrap.scm (%static-binaries): Likewise.
* gnu/packages/maths.scm (lpsolve): Likewise.
* gnu/packages/mp3.scm (mpc123): Likewise.
* gnu/packages/ninja.scm (ninja): Likewise.
* gnu/packages/python.scm (python-numpy, python-pyparsing): Likewise.
* gnu/packages/screen.scm (dtach): Likewise.
* gnu/packages/synergy.scm (synergy): Likewise.
* gnu/packages/textutils.scm (utf8proc): Likewise.
* gnu/packages/version-control.scm (git-test-sequence): Likewise.
* gnu/packages/wicd.scm (wicd): Likewise.
2015-08-29 01:25:08 +02:00
Ludovic Courtès 4cc2ed98cf utils: Add 'install-file'.
* guix/build/utils.scm (install-file): New procedure.
2015-08-29 01:25:08 +02:00
Ludovic Courtès 90d891fc6c gnu: glibc: Do not copy static Bash binary to bin/.
This avoids problems when installing 'glibc' in a profile, where glibc's
limited 'bash' would take precedence over the valid 'bash'.

* gnu/packages/base.scm (glibc)[arguments]: Do not copy STATIC-BASH to
  OUT/bin.  Instead, simply refer to it directly.
  [inputs]: Use STATIC-BASH instead of BASH-LIGHT.
* gnu/packages/commencement.scm (static-bash-for-glibc): Likewise.
  (glibc-final)[arguments]: Add STATIC-BASH-FOR-GLIBC to
  #:allowed-references.
  (gcc-final)[arguments]: Likewise.
  [native-inputs]: Add "static-bash".
2015-08-29 01:25:08 +02:00
Ludovic Courtès aad5df4058 gnu: ncurses: Remove obsolete hack.
* gnu/packages/ncurses.scm (ncurses)[arguments]: Remove obsolete Solaris
  hack.
2015-08-29 01:25:08 +02:00
Ludovic Courtès bfaaffb06a gnu: ncurses: Rework trick to avoid reference to the bootstrap bash.
This removes reliance on the availability of 'bin/sh' in glibc.

* gnu/packages/ncurses.scm (ncurses): Remove 'configure-phase'.  Add
  'remove-shebang-phase'.
  [arguments]: Remove distinction between cross builds and native builds.  Use
  'modify-phases'.  Add 'remove-unneeded-shebang' phase.
2015-08-29 01:25:08 +02:00
Ludovic Courtès 7b06688048 gnu: ncurses: Upgrade to 6.0.
* gnu/packages/ncurses.scm (ncurses): Upgrade to 6.0.  Change library names to
  '.so.6'.
2015-08-29 01:25:07 +02:00
Ludovic Courtès f02c902cbe gnu: binutils: Upgrade to 2.25.1.
* gnu/packages/base.scm (binutils): Upgrade to 2.25.1.
2015-08-29 01:25:07 +02:00
Ludovic Courtès 6c7f44efc2 gnu: Add 'bash-static'.
* gnu/packages/bash.scm (static-bash): New variable.
2015-08-29 01:25:07 +02:00
Ludovic Courtès ced200328c download: Keep only 2 store items for all the downloads.
This significantly reduces churn in the store.  It also reduces run time
of 'guix build inkscape -Sd' by ~10%.

* guix/download.scm (url-fetch)[mirror-file]: New variable.
  [builder]: Get URL from the "guix download url" env. var.  Get the mirrors
  from MIRROR-FILE.  Pass #:script-name and #:env-vars to 'gexp->derivation'.
2015-08-29 01:22:54 +02:00
Ludovic Courtès 0309e1b0ba gexp: Add #:script-name parameter to 'gexp->derivation'.
* guix/gexp.scm (gexp->derivation): Add #:script-name parameter.
* doc/guix.texi (G-Expressions): Document it.
2015-08-29 01:22:54 +02:00
Ludovic Courtès b6c6105cac monads: Inline the procedure returned by liftN.
* guix/monads.scm (define-lift): Turn into a macro that open-codes the result
  of its lift.
2015-08-29 01:22:54 +02:00
宋文武 ca2a55d46b gnu: shadow: Update to 4.2.1.
* gnu/packages/admin.scm (shadow): Update to 4.2.1.
  [source]: Use the release tarball.
2015-08-28 19:53:26 +08:00
Leo Famulari cef644e627 gnu: Add abduco.
* gnu/packages/abduco.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-08-28 11:46:48 +02:00