Commit Graph

11559 Commits

Author SHA1 Message Date
Ludovic Courtès 9a2a20052a guix build: '--with-source' correctly matches versioned file names.
* guix/scripts/build.scm: Use the right 'package-name->name+version'
procedure.  Fixes a regression introduced in
1b846da8c3.
* tests/scripts-build.scm ("options->transformation, with-source, with
version"): New test.
2016-03-23 23:43:50 +01:00
Nils Gillmann 7b150a24fe gnu: libressl: Update to 2.3.3.
* gnu/packages/tls.scm (libressl): Update to 2.3.3.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-23 13:39:17 -04:00
Alex Kost c292a6f304 emacs: Use space to separate package name and version in heading.
Reported by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-ui-package.el (guix-package-name): Check 'spec' property.
(guix-package-info-insert-heading): Use "name version" for button label,
write name specification to 'spec' property.
2016-03-23 11:24:38 +03:00
Alex Kost 4c68c53804 emacs: Fix converting scheme into elisp expression.
* emacs/guix-geiser.el (guix-geiser-eval-read): Replace #f/#t with nil/t
  only when they follow "(" or " ".
2016-03-23 11:24:38 +03:00
Ricardo Wurmus c1f73569be gnu: Add AIDE.
* gnu/packages/admin.scm (aide): New variable.
2016-03-23 08:08:02 +01:00
Leo Famulari 6139fed563 gnu: icecast: Update to 2.4.3 [fixes CVE-2015-3026].
* gnu/packages/xiph.scm (icecast): Update to 2.4.3.
2016-03-22 23:13:58 -04:00
Ludovic Courtès 9b1cee97a5 services: postgresql: Use syslog.
Fixes <http://bugs.gnu.org/23064>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/services/databases.scm (%default-postgres-config): Add
'log_destination' line.
(postgresql-shepherd-service): Add requirement on 'syslogd'.
2016-03-23 00:23:12 +01:00
Ludovic Courtès d038b674cf doc: Add "lightweight desktop" OS config example.
* gnu/system/examples/desktop.tmpl (packages): Remove XFCE and
RATPOISON.
(services): Add 'gnome-desktop-service' and 'xfce-desktop-service'.
* gnu/system/examples/lightweight-desktop.tmpl: New file.
* Makefile.am (EXAMPLES): Add it.
* doc.am (OS_CONFIG_EXAMPLES_TEXI): Add
doc/os-config-lightweight-desktop.texi.
* gnu/system/install.scm (/etc/configuration-files)[directory]: Add
lightweight-desktop.tmpl.
2016-03-23 00:23:12 +01:00
Ludovic Courtès d26e19671e derivations: Raise an error when a module file is not found.
Suggested by Jookia.

* guix/derivations.scm (&file-search-error): New error condition.
(search-path*): Raise it when 'search-path' returns #f.
* guix/gexp.scm (search-path*): Remove.
* guix/ui.scm (call-with-error-handling): Add case for
'file-search-error?'.
* tests/derivations.scm ("build-expression->derivation and invalid
module name"): New test.
2016-03-23 00:23:12 +01:00
Ludovic Courtès 6985335faa derivations: Add 'module->source-file-name'.
* guix/derivations.scm (module->source-file-name): New procedure.
(%imported-modules): Use it.
* guix/gexp.scm (imported-modules): Likewise.
2016-03-23 00:23:12 +01:00
Ludovic Courtès 8c321299c5 substitute: Gracefully handle TLS errors.
* guix/scripts/substitute.scm (with-networking): Use 'match-lambda*' and
add case for 'gnutls-error'.
2016-03-23 00:23:12 +01:00
Ricardo Wurmus b98293ebed import: cran: Accept single URL in addition to single URL.
* guix/import/cran.scm (package->upstream-name): Match single URL in
  addition to list of URLs.
2016-03-22 17:57:40 +01:00
Mark H Weaver 58cc369f32 gnu: webkitgtk-2.4: Update to 2.4.10 [fixes many security flaws].
Fixes CVE-2014-1748, CVE-2015-1071, CVE-2015-1076, CVE-2015-1081,
CVE-2015-1083, CVE-2015-1120, CVE-2015-1122, CVE-2015-1127, CVE-2015-1153,
CVE-2015-1155, CVE-2015-3658, CVE-2015-3659, CVE-2015-3727, CVE-2015-3731,
CVE-2015-3741, CVE-2015-3743, CVE-2015-3745, CVE-2015-3747, CVE-2015-3748,
CVE-2015-3749, CVE-2015-3752, CVE-2015-5788, CVE-2015-5794, CVE-2015-5801,
CVE-2015-5809, CVE-2015-5822, and CVE-2015-5928.

* gnu/packages/patches/webkitgtk-2.4-sql-init-string.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/webkit.scm (webkitgtk-2.4): Update to 2.4.10.
[source]: Remove patch.
2016-03-22 07:38:22 -04:00
Mark H Weaver 1020fb6ac7 gnu: linux-libre-4.1: Update to 4.1.20.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.20.
2016-03-21 22:53:55 -04:00
Ludovic Courtès cd6cc144e0 Merge branch 'security-updates' 2016-03-22 00:14:03 +01:00
Ricardo Wurmus ffc13e753b gnu: chicken: Build with GCC 4.8.
* gnu/packages/scheme.scm (chicken)[native-inputs]: Add GCC 4.8.
2016-03-21 22:08:24 +01:00
Ricardo Wurmus 416a5a9a51 gnu: chicken: Disable port tests.
* gnu/packages/scheme.scm (chicken)[arguments]: Do not run port tests.
2016-03-21 22:08:24 +01:00
Ricardo Wurmus acb3807079 gnu: chicken: Use "modify-phases" syntax.
* gnu/packages/scheme.scm (chicken)[arguments]: Use "modify-phases"
  syntax.
2016-03-21 22:08:24 +01:00
Ricardo Wurmus d0d9411015 gnu: chicken: Update to 4.10.0.
* gnu/packages/scheme.scm (chicken): Update to 4.10.0.
2016-03-21 22:08:23 +01:00
Leo Famulari b0bb013698 gnu: mutt: Enable header caching.
* gnu/packages/mail.scm (mutt)[inputs]: Add gdbm.
[arguments]: Pass --enable-hcache to #:configure-flags.
2016-03-21 16:48:39 -04:00
Efraim Flashner 506379664a gnu: gmtp: Update to 1.3.10.
* gnu/packages/libusb.scm (gmtp): Update to 1.3.10.
2016-03-21 20:52:26 +02:00
Ricardo Wurmus c84ceace14 gnu: artanis: Update to 0.1.2.
* gnu/packages/guile.scm (artanis): Update to 0.1.2.
[arguments]: Set DESTDIR.
2016-03-21 17:44:39 +01:00
Ricardo Wurmus 71cafa0472 gnu: Add r-doparallel.
* gnu/packages/statistics.scm (r-doparallel): New variable.
2016-03-21 15:54:05 +01:00
Ricardo Wurmus b2cdb0271b gnu: Add r-foreach.
* gnu/packages/statistics.scm (r-foreach): New variable.
2016-03-21 15:54:05 +01:00
Ricardo Wurmus 7a6f5f0323 gnu: Add r-codetools.
* gnu/packages/statistics.scm (r-codetools): New variable.
2016-03-21 15:54:05 +01:00
Ricardo Wurmus 264df1a49d gnu: Add r-iterators.
* gnu/packages/statistics.scm (r-iterators): New variable.
2016-03-21 15:54:05 +01:00
Ricardo Wurmus 9128db2178 gnu: Add ustr.
* gnu/packages/textutils.scm (ustr): New variable.
2016-03-21 15:53:40 +01:00
Efraim Flashner ce16d1dc94 gnu: ddrescue: Update to 1.21.
* gnu/packages/disk.scm (ddrescue): Update to 1.21.
2016-03-21 15:22:31 +02:00
Mathieu Lirzin 39118b5eed build: Rewrite comments for man pages.
* doc.am <Man pages>: Rewrite comments to describe the build process and
the meaning of the noticeable idiosyncrasies in a more general way.
2016-03-20 23:47:59 +01:00
Mathieu Lirzin b33d3a5a94 build: Build man pages in $(srcdir).
Before that the doc/guix.1 rule was always triggered when doing a VPATH
build from a tarball.

* doc.am (sub_commands_mans, dist_man1_MANS): man pages are now
generated in $(srcdir) like the info manual.
(doc/guix.1, doc/guix-%.1): Prepend $(srcdir) to target name.
[BUILD_DAEMON] (doc/guix-daemon.1): Likewise.
2016-03-20 23:47:59 +01:00
Mathieu Lirzin 83e79a134d build: Make 'guix' man page depend on scripts/guix.in.
* doc.am (doc/guix.1): Add scripts/guix.in prerequisite.
2016-03-20 23:47:59 +01:00
Mathieu Lirzin 92d40a68f4 Revert "build: Do not remake doc/guix.1."
This reverts commit 97966e6d65.
2016-03-20 23:47:59 +01:00
Ludovic Courtès c035145968 gnu: udisks: Enforce non-reference of the "doc" output.
* gnu/packages/freedesktop.scm (udisks)[arguments]: Add
  #:disallowed-references.
2016-03-20 22:52:33 +01:00
Ludovic Courtès 55e1f25d89 build-system/gnu: Add #:disallowed-references.
* guix/build-system/gnu.scm (gnu-build): Add #:disallowed-references and
honor it.
(gnu-cross-build): Likewise.
2016-03-20 22:46:45 +01:00
Ludovic Courtès 3f4ecf3229 gexp: Add #:disallowed-references.
* guix/gexp.scm (gexp->derivation): Add #:disallowed-references and
honor it.
* tests/gexp.scm ("gexp->derivation #:disallowed-references, allowed")
("gexp->derivation #:disallowed-references"): New tests.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-03-20 22:46:14 +01:00
Ludovic Courtès 35b5ca7869 derivations: Add #:disallowed-references.
* guix/derivations.scm (derivation): Add #:disallowed-references.
[user+system-env-vars]: Honor it.
(build-expression->derivation): Likewise.
* tests/derivations.scm ("derivation #:disallowed-references, ok")
("derivation #:disallowed-references, not ok"): New tests.
* doc/guix.texi (Derivations): Adjust accordingly.
2016-03-20 22:45:35 +01:00
Ludovic Courtès e71ef7adae system: Make sure fonts are searched for in the system profile.
This fixes a bug whereby fonts in /run/current-system/profile would be
invisible to Fontconfig.

* gnu/packages/fontutils.scm (fontconfig): Add comment about system
profile not being searched.
* gnu/system/shadow.scm (default-skeletons)[fonts.conf-content,
fonts.conf]: New variable.
Add FONTS.CONF to the skeletons.
2016-03-20 15:27:44 +01:00
Ludovic Courtès 0bd3597bbe gnu: gnome: Add dependency on font-abattis-cantarell.
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Add
FONT-CANTARELL.
2016-03-20 15:05:12 +01:00
Ludovic Courtès 4e8b7502e3 system: Allow account skeletons to be directories.
* gnu/system/shadow.scm (skeleton-directory): Use 'copy-recursively'
instead of 'copy-file'.
* gnu/build/activation.scm (copy-account-skeletons): Likewise.
2016-03-20 15:02:38 +01:00
Ludovic Courtès 71be99b8b6 gnu: Add font-abattis-cantarell.
* gnu/packages/fonts.scm (font-cantarell): New variable.
2016-03-20 01:07:37 +01:00
Ludovic Courtès 522773b700 import: pypi: Emit 'pypi-uri' only when it yields the right URL.
Fixes <http://bugs.gnu.org/23062>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* guix/import/pypi.scm (make-pypi-sexp): Check whether 'pypi-uri'
returns SOURCE-URL and fall back to the full URL otherwise.
* tests/pypi.scm ("pypi->guix-package"): Adjust expected URI
accordingly.

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>
2016-03-19 23:54:19 +01:00
Ludovic Courtès 329a702634 gnu: fontforge: Make builds bit-reproducible.
* gnu/packages/fontutils.scm (fontforge)[source](snippet, modules): New
fields.
2016-03-19 15:57:07 +01:00
alírio eyng 56586557dd gnu: fontforge: Update to 20150824.
* gnu/packages/fontutils.scm (fontforge): Update to 20150824.
[inputs]: Add libltdl, libxft, python.
[native-inputs]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-19 15:36:26 +01:00
Ludovic Courtès ef5f5c8659 build: Protect against misconfiguration of localstatedir.
Suggested by Jookia <166291@gmail.com>.

* m4/guix.m4 (GUIX_CURRENT_LOCALSTATEDIR, GUIX_CHECK_LOCALSTATEDIR): New
macros.
* config-daemon.ac: Use 'GUIX_CHECK_LOCALSTATEDIR'.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add --localstatedir.
* doc/guix.texi (Requirements): Mention --localstatedir.
(The Store): Mention LOCALSTATEDIR as such.
2016-03-19 15:07:46 +01:00
Ludovic Courtès 7c49ab5b1c gnu: kodi: Remove @acronym from description.
This works around <http://bugs.gnu.org/21772>.

* gnu/packages/kodi.scm (crossguid): Remove @acronym.
2016-03-19 14:41:56 +01:00
Ludovic Courtès 5697fdc366 gnu: r-dnacopy: Fix home page URL.
* gnu/packages/bioinformatics.scm (r-dnacopy)[home-page]: Add missing
URI scheme.
2016-03-18 23:00:04 +01:00
Ludovic Courtès 6cbc8d5766 gnu: gnome: Disable hardware acceleration check via 'gnome.desktop'.
* gnu/packages/gnome.scm (gnome-session)[arguments]: Add
'disable-hardware-acceleration-check' phase.
2016-03-18 19:42:00 +01:00
Ludovic Courtès c510cbb4ec services: xorg: Accept session commands with arguments.
Before that, a session command with several items, such as
'gnome-session --disable-acceleration-check', would trigger the fallback
session.

* gnu/services/xorg.scm (xinitrc)[builder]: Accept command lines with
more than one arguments.
2016-03-18 19:42:00 +01:00
Ludovic Courtès a0d7baaf48 gnu: gnome-session: Make sure 'gsettings' is found.
* gnu/packages/gnome.scm (gnome-session)[arguments]: Add
'wrap-gnome-session' phase.
2016-03-18 19:42:00 +01:00
Leo Famulari 3bf429af2f gnu: Add beets.
* gnu/packages/music.scm (beets): New variable.
2016-03-18 14:27:16 -04:00