Commit Graph

21533 Commits

Author SHA1 Message Date
Alex Griffin b6726480e2
gnu: font-go: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-go): Switch to font-build-system.
Re-indent.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-05-31 23:29:44 +02:00
Alex Griffin 4a9140b1ee
gnu: font-iosevka: Use 'font-build-system'.
Fixes <https://bugs.gnu.org/27172>.

* gnu/packages/fonts.scm (font-iosevka): Switch to font-build-system.
[source]: Use url-fetch/zipbomb.
[native-inputs]: Remove dependency on unzip.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-05-31 23:25:49 +02:00
Alex Griffin 046175cd4e
build: font: Support font collection files.
* guix/build/font-build-system.scm (install): Support TrueType
Collection (TTC) and OpenType Collection (OTC) files.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-05-31 23:24:41 +02:00
Danny Milosavljevic 203a9455c4
file-systems: Improve error reporting.
Suggested by Chris Marusich <cmmarusich@gmail.com>.
Fixes <https://bugs.gnu.org/27143>.

* gnu/build/file-systems.scm (read-iso9660-primary-volume-descriptor):
Improve error reporting.
2017-05-31 21:13:15 +02:00
Danny Milosavljevic 1c25d6d06e
doc: Fix qemu-system-x86_64 example.
Reported by Fox <firefox@firemail.cc>.
Fixes <https://bugs.gnu.org/27052>.

* doc/guix.texi (Running GuixSD in a VM): Fix qemu-system-x86_64 example.
2017-05-31 19:48:21 +02:00
Danny Milosavljevic cdc701ea48
gnu: build: Improve comments.
* gnu/build/file-systems.scm (iso9660-superblock-volume-name):
Add clarifying comment.
2017-05-31 19:38:49 +02:00
Leo Famulari 1c797d4bfb
gnu: go@1.8: Update to 1.8.3 [fixes CVE-2017-8932].
* gnu/packages/golang.scm (go-1.8): Update to 1.8.3.
2017-05-31 11:54:57 -04:00
Roel Janssen 76ab3141f5
gnu: scons: Update to 2.5.1.
* gnu/packages/python.scm (scons): Update to 2.5.1.
2017-05-31 17:40:16 +02:00
Alex Griffin 208abecabf
gnu: font-iosevka: Update to 1.12.5.
* gnu/packages/fonts.scm (font-iosevka): Update to 1.12.5.  Re-indent.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-31 17:08:45 +02:00
Alex Griffin 406c46e20a
gnu: font-go: Update to 20170330-1.f03a046.
* gnu/packages/fonts.scm (font-go): Update to 20170330-1.f03a046.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-31 17:08:45 +02:00
Ethan R. Jones d5fa27774c
gnu: Add mediainfo.
* gnu/packages/video.scm (mediainfo): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-31 17:08:45 +02:00
Ethan R. Jones e0c407074e
gnu: Add libmediainfo
* gnu/packages/video.scm (libmediainfo): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-31 17:08:45 +02:00
Ethan R. Jones 17ce0d45bd
gnu: Add libzen.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new file.
* gnu/packages/cpp.scm (libzen): New varible.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-31 17:08:45 +02:00
Ludovic Courtès 3e89491741
tests: Fix race condition in 'container-excursion*' test.
* tests/containers.scm ("container-excursion*"): Move (namespace pid)
call before (kill pid SIGKILL).
2017-05-31 17:08:45 +02:00
Tobias Geerinckx-Rice bbc4167995
gnu: dovecot: Update to 2.2.30.1.
* gnu/packages/mail.scm (dovecot): Update to 2.2.30.1.
2017-05-31 15:54:42 +02:00
Ricardo Wurmus ae44ebb90e
gnu: synfigstudio: Fix crash on opening files.
* gnu/packages/animation.scm (synfigstudio)[arguments]: Add "wrap-program"
phase.
2017-05-31 08:27:45 +02:00
Leo Famulari b0415c0361
gnu: openldap: Fix CVE-2017-9287.
* gnu/packages/patches/openldap-CVE-2017-9287.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/openldap.scm (openldap)[replacement]: New field.
(openldap/fixed): New variable.
2017-05-30 18:15:23 -04:00
Maxim Cournoyer facac29280
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>
2017-05-30 21:56:20 +02:00
Sergei Trofimovich a30188f561
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>
2017-05-30 21:20:19 +02:00
Tobias Geerinckx-Rice 8e33bc1816
gnu: dovecot: Update to 2.2.30.
* gnu/packages/mail.scm (dovecot): Update to 2.2.30.
2017-05-30 21:09:35 +02:00
Ricardo Wurmus ee33f9a742
gnu: libtasn1: Update to 4.12.
* gnu/packages/tls.scm (libtasn1): Update to 4.12.
2017-05-30 20:30:35 +02:00
Marius Bakke 6b7f1b6ce9
gnu: sudo: Unbundle zlib.
* gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
[inputs]: Add ZLIB.
2017-05-30 19:49:19 +02:00
Marius Bakke cab1c11741
gnu: Add xsel.
* gnu/packages/xdisorg.scm (xsel): New variable.
2017-05-30 19:47:50 +02:00
Leo Famulari 6e82fb2c27
gnu: graphicsmagick: Remove bundled libraries from source checkout.
Fixes <https://bugs.gnu.org/27120>.

* gnu/packages/imagemagick.scm (graphicsmagick)[source]: Add a snippet
to delete bundled libraries.
[version]: Bump the package revision counter to 3.
2017-05-30 13:33:15 -04:00
André Miranda ed2b7cb2f9
gnu: Add 'git-remote-gcrypt' package
* gnu/packages/version-control.scm (git-remote-gcrypt): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-30 18:08:38 +02:00
Ludovic Courtès f0a0b58bfa
daemon: Report hash mismatches in a cleaner way.
Suggested by Hartmut Goebel.

* nix/libstore/build.cc (DerivationGoal::registerOutputs): Report hash
mismatches on 3 lines for clarity.
(SubstitutionGoal::finished): Likewise.
2017-05-30 18:08:37 +02:00
Christopher Baines a88d41d11c
doc: Move the NGinx service configuration documentation together.
* doc/guix.texi (Web Services): Add documentation for
  nginx-upstream-configuration and nginx-location-configuration.
  (VPN Services): Remove documentation for nginx-upstream-configuration and
  nginx-location-configuration.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-30 18:08:37 +02:00
Ludovic Courtès 41db5a7563
activation: Change permissions on /root to #o700.
Reported by Alex Griffin <a@ajgrf.com>.
Fixes <http://bugs.gnu.org/27135>.

* gnu/build/activation.scm (add-user): When UID is zero, add 'chmod'
call.
* gnu/tests/base.scm (run-basic-test)["permissions on /root"]: New test.
2017-05-30 18:08:37 +02:00
Christopher Baines 151cb9738a
git-download: Fix 'git-predicate' to use absolute paths.
git ls-files will return paths relative to the repository directory. This
commit prepends the repository directory to those paths when calling lstat,
such that 'git-predicate' works if the current working directory is not the
repository directory.

* guix/git-download.scm (git-predicate): Prepend repository directory to the
  file path when calling lstat.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-30 18:08:37 +02:00
Ricardo Wurmus 294739b5b8
gnu: libntlm: Update to 1.4.
* gnu/packages/gsasl.scm (libntlm): Update to 1.4.
2017-05-30 17:57:48 +02:00
Marius Bakke eea879d74c
gnu: sudo: Update to 1.8.20p1 [fixes CVE-2017-1000367].
* gnu/packages/admin.scm (sudo): Update to 1.8.20p1.
2017-05-30 17:40:23 +02:00
Alex Kost 91762db6fe
gnu: emacs-debbugs: Install missing file.
This is a followup to commit d879685176.

* gnu/packages/emacs.scm (emacs-debbugs)[arguments]: Include ".wsdl"
along with ".el" and ".info".
2017-05-30 18:30:39 +03:00
Alex Kost f753c28299
doc: htmlxref: Fix link to Emacs-Guix manual.
Reported-by: Ludovic Courtès <ludo@gnu.org>

This fixes a regression introduced by commit
8ca0c88a89.

* doc/htmlxref.cnf (EMACS_GUIX): Fix the link to 'html_node'.
2017-05-30 18:30:39 +03:00
Ricardo Wurmus d2ac5e2975
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.
2017-05-30 16:52:55 +02:00
Ricardo Wurmus 93c103ab59
gnu: classpath-devel: Ensure initial heap size is less than maximum.
Fixes <https://bugs.gnu.org/27142>.

* gnu/packages/java.scm (classpath-devel)[arguments]: Pass Xms option with a
value lower than Xmx.
2017-05-30 15:56:25 +02:00
Ludovic Courtès 27fd13c3c2
download: Work around GnuTLS bug with UTF-8 certificate file names.
Reported by Mark H Weaver <mhw@netris.org>
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26948#17>.

* guix/build/download.scm (set-certificate-credentials-x509-trust-file!*):
New procedure.
(make-credendials-with-ca-trust-files): Use it instead of
'set-certificate-credentials-x509-trust-file!'.
2017-05-30 13:24:55 +02:00
Sergei Trofimovich 8a9b08b503
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>
2017-05-30 10:09:03 +02:00
Alex Griffin 98b9732cb8
gnu: asciinema: Update to 1.4.0.
* gnu/packages/terminals.scm (asciinema): Update to 1.4.0.
[source]: Use pypi-uri.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-05-29 22:37:34 +05:30
Leo Famulari 4a897c4990
gnu: jasper: Update to 2.0.13.
* gnu/packages/image.scm (jasper): Update to 2.0.13.
[source]: Use GitHub URL and set the file-name. Remove
'jasper-CVE-2017-6850.patch'.
* gnu/packages/patches/jasper-CVE-2017-6850.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-05-29 12:52:30 -04:00
Ludovic Courtès be99170ddb
gnu: cross-base: Turn '%xgcc' into a macro.
Previously:

  ./pre-inst-env guile -c '(use-modules (gnu packages gcc))'

would fail due to circular dependencies.

* gnu/packages/cross-base.scm (%xgcc): Turn into a macro.
2017-05-29 13:46:25 +02:00
Efraim Flashner 0f3847bfd8
gnu: Add translate-shell.
* gnu/packages/dictionaries.scm (translate-shell): New variable.
2017-05-29 13:25:38 +03:00
Ludovic Courtès 0b8e89f6bb
gnu: libtiff@4.0.8: Fix source URL.
* gnu/packages/image.scm (libtiff-4.0.8)[origin]: Use 'ftp://' not
'http://'.
2017-05-29 11:52:19 +02:00
Efraim Flashner 5a6527e43d
byzanz: Add file-name for source.
* gnu/packages/gnome.scm (byzanz)[source]: Add file-name field.
2017-05-29 10:16:45 +03:00
Ricardo Wurmus ff647c3d38
gnu: glibc: Move i686 patch to source field.
This is a rewrite of changes introduced by commits
b2fd8f6367,
c2e4f14ac8,
441e99d433 and
d03b34cf19.

* gnu/packages/base.scm (glibc/linux)[source]: Add i686 patch.
[arguments]: Remove conditional patch application from build phase.
[native-inputs]: Remove patch.
(glibc/hurd)[arguments]: Inherit pre-configure build phase from glibc/linux.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[native-inputs]:
Remove patch.
2017-05-29 06:14:11 +02:00
Ben Woodcroft 0d2b2fd4f4
gnu: diamond: Update to 0.9.3.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.9.3.
2017-05-28 21:06:06 -04:00
Leo Famulari 4fed93a1a3
doc: Fix typo.
* doc/guix.texi (USB Stick Installation): Fix typo.
2017-05-28 20:34:10 -04:00
Marius Bakke 6c1db130a8
gnu: parallel: Update to 20170522.
* gnu/packages/parallel.scm (parallel): Update to 20170522.
2017-05-28 23:45:41 +02:00
Christopher Baines a8d0c9cbcc
gnu: Add emacs-direnv.
* gnu/packages/emacs.scm (emacs-direnv): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-28 23:13:40 +02:00
ng0 78dfc9e2dd
gnu: Add spectrwm.
* gnu/packages/wm.scm (spectrwm): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-28 23:13:40 +02:00
James Richardson ce67601564
gnu: Add emacs-restclient.
* gnu/packages/emacs.scm (emacs-restclient): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-28 23:13:39 +02:00