gnu: ijs: Use modify-phases syntax.
* gnu/packages/ghostscript.scm (ijs)[arguments]: Use modify-phases.
gnu: ghostscript: Switch to Artifex Ghostcript and update to 9.21.
* gnu/packages/ghostscript.scm (ghostscript): Update to 9.21.
[source]: Fetch the source from Artifex.
[native-inputs]: Remove pkg-config.
[inputs]: Add jbig2dec and use libjpeg instead of libjpeg-8.
[arguments]: Add #:configure-flags.
[replacement]: Remove field.
(ghostcript/fixed): Remove variable.
* gnu/packages/patches/ghostscript-CVE-2017-8291.patch,
gnu/packages/patches/ghostscript-runpath.patch: Adjust to new upstream
source.
* gnu/packages/patches/ghostscript-CVE-2013-5653.patch,
gnu/packages/patches/ghostscript-CVE-2015-3228.patch,
gnu/packages/patches/ghostscript-CVE-2016-7976.patch,
gnu/packages/patches/ghostscript-CVE-2016-7978.patch,
gnu/packages/patches/ghostscript-CVE-2016-7979.patch,
gnu/packages/patches/ghostscript-CVE-2016-8602.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
gnu: guile: Depend on 'bash-minimal' rather than 'bash'.
* gnu/packages/guile.scm (guile-2.0)[inputs]: Depend on BASH-MINIMAL
instead of BASH.
gnu: bash-minimal: Simplify 'arguments' field.
* gnu/packages/bash.scm (bash-minimal)[arguments]: Remove 'let' and use
'substitute-keyword-arguments' directly.
gnu: commencement: 'bash-final' inherits from 'bash-minimal'.
* gnu/packages/commencement.scm (bash-final): Inherit from BASH-MINIMAL
instead of BASH.
utils: Add helper for invoking programs.
* guix/build/utils.scm (invoke): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
gnu: python-file: Drop outdated patch.
* gnu/local.mk: Remove python-file-double-encoding-bug.patch
* gnu/packages/patches/python-file-double-encoding-bug.patch: Delete file.
* gnu/packages/python.scm (python-file)[source]:
Remove "python-file-double-encoding-bug.patch".
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
build-system/gnu: 'compress-documentation' phase handles double symlinks.
The compress-documentation phase was breaking recursive symbolic links used
for manuals, which was made visible by the `find-files' call in the recently
added `manual-database' profile hook. See <http://bugs.gnu.org/26771>.
* guix/build/gnu-build-system.scm (compress-documentation)
[points-to-symbolic-link?]: New procedure.
[maybe-compress-directory]: Use `points-to-symbolic-link?' to filter out
symbolic links that shouldn't be retargetted, and re-order the calls to
`retarget-symlink' and `documentation-compressor'.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
gnu: bash-minimal: Override keywords from 'bash'.
'bash-minimal' is a package derived from 'bash' package. 'bash-minimal'
is supposed to override keywords from 'bash', but does not do it due to
ordering issue.
This patch moves #:modules last.
Fixes the bootstrap failure reported by rennes and Manolis Ragkousis and
tracked down by Andy Wingo in
<https://lists.gnu.org/archive/html/guix-devel/2017-05/msg00010.html>.
* gnu/packages/bash.scm (bash-minimal)[arguments]: Move #:modules
after (package-arguments bash).
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: libtasn1: Update to 4.12.
* gnu/packages/tls.scm (libtasn1): Update to 4.12.
build-system/cmake: Add support for cross compilation.
Fixes <https://bugs.gnu.org/26897>.
* guix/build-system/gnu.scm: Export standard-cross-packages.
* guix/build-system/cmake.scm (cmake-cross-build): New procedure.
(lower): Add support for cross-builds.
* guix/build/cmake-build-system.scm (configure): Handle "target" argument.
gnu: openssl: Delete ELF files from tarball.
Otherwise building openssl fails: substitute can't decode binary ELF file:
ice-9/boot-9.scm:760:25: In procedure dispatch-exception:
ice-9/boot-9.scm:760:25: Throw to key `decoding-error' with args
`("peek-char" "input decoding error" 84 #<input: test/ssltest_old 15>)'.
* gnu/packages/tls.scm (openssl)[source]: Add 'snippet'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: libtasn1: Remove obsolete patch.
This is a followup to 6a09628cb1147481131e582c1711edeb0db81944.
(picked from the wrong branch, sorry!)
* gnu/packages/tls.scm (libtasn1)[source]: Remove upstreamed patch.
* gnu/packages/patches/libtasn1-CVE-2017-6891.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
gnu: Remove workaround for <https://bugs.gnu.org/26238>.
* gnu/packages/base.scm (coreutils-8.27): Remove variable.
* gnu/system.scm (%base-packages): Change back to COREUTILS.
gnu: libtasn1: Update to 4.11.
* gnu/packages/tls.scm (libtasn1): Update to 4.11.
gnu: binutils: Update to 2.28.
* gnu/packages/base.scm (binutils): Update to 2.28.
[source]<patches>: Remove upstreamed patch.
[arguments]<#:configure-flags>: Remove "--disable-werror"
* gnu/packages/patches/binutils-mips-bash-bug.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
gnu: flex: Use the gzip-compressed tarball.
This reverts commit 77e2538eda8a2721aef8336103c94fe31e12870c and fetches the
gzip-compressed tarball. We do this so that flex-boot0 will not require lzip.
* gnu/packages/flex.scm (flex)[source]: Fetch the '.tar.gz' tarball.
[native-inputs]: Remove lzip.
gnu: packages: flex: Add missing 'lzip' input.
* gnu/packages/flex.scm (flex)[native-inputs]: Add lzip.
Signed-off-by: Leo Famulari <leo@famulari.name>
Merge branch 'master' into core-updates