Commit Graph

11368 Commits

Author SHA1 Message Date
Alex Kost
6667af6a97 doc: Clarify installation instructions for "guix.el".
* doc/emacs.texi (Emacs Initial Setup): Mention that "guix package -i
guix" is an easy way.  Warn that "make install" may lead to an outdated
code.
2016-03-24 18:49:59 +03:00
Alex Kost
ff4455e6e2 emacs: Deprecate "guix-init.el".
'guix-init' served 2 purposes:

- to autoload guix commands (by requiring 'guix-autoloads');
- and to autoload Emacs packages installed with Guix (by requiring
  'guix-emacs').

The second purpose is not actual anymore, as Emacs package handles this
task now, so there is no need in 'guix-init' anymore.

* emacs/guix-init.el: Do not require 'guix-emacs'.  Add a deprecation
  message.
* doc/emacs.texi (Emacs Initial Setup): Recommend to use
  'guix-autoloads' instead of 'guix-init'.
2016-03-24 18:49:59 +03:00
Alex Kost
453cdf8606 system: Do not create "site-start.el".
After commits 004ea62 and 092dd65, Emacs can find packages in a system
profile, so it autoloads guix code without additional hacks, which can
be removed now.

* gnu/system.scm (emacs-site-file, emacs-site-directory): Remove.
(operating-system-etc-service): Adjust accordingly.
(operating-system-environment-variables): Remove EMACSLOADPATH.
2016-03-24 18:49:59 +03:00
Ricardo Wurmus
1d216b6ec9 gnu: Remove "r-repository" property.
* gnu/packages/bioinformatics.scm (r-biocgenerics, r-s4vectors,
r-iranges, r-genomeinfodb, r-xvector, r-genomicranges)[properties]:
Remove "r-repository" property.
2016-03-24 16:18:01 +01:00
Andreas Enge
08595262db gnu: pari-gp: Syntactic changes.
* gnu/packages/algebra.scm (pari-gp)[arguments]: Use modify-phases syntax.
2016-03-24 14:44:08 +01:00
Ludovic Courtès
f2ab925028 services: xorg: Fix ~/.xsession handling.
Fixes a regression introduced in c510cbb4ec.

* gnu/services/xorg.scm (xinitrc)[builder]: Add missing 'apply' when
XSESSION-FILE exists.
2016-03-24 11:01:07 +01:00
Efraim Flashner
473dbe9b19 gnu: modem-manager: Update to 1.4.14.
* gnu/packages/freedesktop.scm (modem-manager): Update to 1.4.14.
2016-03-24 08:37:07 +02:00
Mark H Weaver
385b1be8d0 gnu: webkitgtk: Update to 2.12.0.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.12.0.
2016-03-23 18:47:41 -04:00
Ludovic Courtès
ee37e1e501 gnu: shepherd: Update to 0.3.1.
* gnu/packages/admin.scm (shepherd): Update to 0.3.1.
2016-03-23 23:43:50 +01:00
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