jackhill/guix/guix.git
7 years agognu: Add propeller-gcc-4.
Ricardo Wurmus [Thu, 15 Jun 2017 15:06:47 +0000 (17:06 +0200)]
gnu: Add propeller-gcc-4.

* gnu/packages/embedded.scm (propeller-gcc-4): New variable.
* gnu/packages/patches/gcc-4.6-gnu-inline.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

7 years agoguix: Add texlive importer.
Ricardo Wurmus [Fri, 9 Jun 2017 10:35:50 +0000 (12:35 +0200)]
guix: Add texlive importer.

* guix/import/texlive.scm: New file.
* guix/scripts/import/texlive.scm: New file.
* Makefile.am (MODULES): Add them.
* tests/texlive.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* guix/scripts/import.scm (importers): Add texlive importer.
* doc/guix.texi (Invoking guix import): Document it.

7 years agognu: Add texlive-tiny.
Ricardo Wurmus [Fri, 9 Jun 2017 10:33:49 +0000 (12:33 +0200)]
gnu: Add texlive-tiny.

* gnu/packages/tex.scm (texlive-tiny): New variable.

7 years agognu: Add texlive-union.
Ricardo Wurmus [Fri, 9 Jun 2017 10:31:45 +0000 (12:31 +0200)]
gnu: Add texlive-union.

* gnu/packages/tex.scm (texlive-union): New procedure.

7 years agognu: Add texlive-latex-psnfss.
Ricardo Wurmus [Fri, 9 Jun 2017 10:31:03 +0000 (12:31 +0200)]
gnu: Add texlive-latex-psnfss.

* gnu/packages/tex.scm (texlive-latex-psnfss): New variable.

7 years agognu: texlive-latex-cyrillic.
Ricardo Wurmus [Fri, 9 Jun 2017 10:30:47 +0000 (12:30 +0200)]
gnu: texlive-latex-cyrillic.

* gnu/packages/tex.scm (texlive-latex-cyrillic): New variable.

7 years agognu: Add texlive-latex-babel.
Ricardo Wurmus [Fri, 9 Jun 2017 10:30:26 +0000 (12:30 +0200)]
gnu: Add texlive-latex-babel.

* gnu/packages/tex.scm (texlive-latex-babel): New variable.

7 years agognu: Add texlive-latex-amscls.
Ricardo Wurmus [Fri, 9 Jun 2017 10:30:07 +0000 (12:30 +0200)]
gnu: Add texlive-latex-amscls.

* gnu/packages/tex.scm (texlive-latex-amscls): New variable.

7 years agognu: Add texlive-latex-amsmath.
Ricardo Wurmus [Fri, 9 Jun 2017 10:29:51 +0000 (12:29 +0200)]
gnu: Add texlive-latex-amsmath.

* gnu/packages/tex.scm (texlive-latex-amsmath): New variable.

7 years agognu: Add texlive-luatex-lualibs.
Ricardo Wurmus [Fri, 9 Jun 2017 10:28:09 +0000 (12:28 +0200)]
gnu: Add texlive-luatex-lualibs.

* gnu/packages/tex.scm (texlive-luatex-lualibs): New variable.

7 years agognu: Add texlive-latex-fontspec.
Ricardo Wurmus [Fri, 9 Jun 2017 10:27:43 +0000 (12:27 +0200)]
gnu: Add texlive-latex-fontspec.

* gnu/packages/tex.scm (texlive-latex-fontspec): New variable.

7 years agognu: Add texlive-latex-l3packages.
Ricardo Wurmus [Fri, 9 Jun 2017 10:27:22 +0000 (12:27 +0200)]
gnu: Add texlive-latex-l3packages.

* gnu/packages/tex.scm (texlive-latex-l3packages): New variable.

7 years agognu: Add texlive-latex-l3kernel.
Ricardo Wurmus [Fri, 9 Jun 2017 10:26:59 +0000 (12:26 +0200)]
gnu: Add texlive-latex-l3kernel.

* gnu/packages/tex.scm (texlive-latex-l3kernel): New variable.

7 years agognu: Add texlive-latex-url.
Ricardo Wurmus [Fri, 9 Jun 2017 10:26:39 +0000 (12:26 +0200)]
gnu: Add texlive-latex-url.

* gnu/packages/tex.scm (texlive-latex-url): New variable.

7 years agognu: Add texlive-latex-tools.
Ricardo Wurmus [Fri, 9 Jun 2017 09:56:22 +0000 (11:56 +0200)]
gnu: Add texlive-latex-tools.

* gnu/packages/tex.scm (texlive-latex-tools): New variable.

7 years agognu: Add texlive-latex-oberdiek.
Ricardo Wurmus [Fri, 9 Jun 2017 09:56:01 +0000 (11:56 +0200)]
gnu: Add texlive-latex-oberdiek.

* gnu/packages/tex.scm (texlive-latex-oberdiek): New variable.

7 years agognu: Add texlive-latex-hyperref.
Ricardo Wurmus [Fri, 9 Jun 2017 09:55:35 +0000 (11:55 +0200)]
gnu: Add texlive-latex-hyperref.

* gnu/packages/tex.scm (texlive-latex-hyperref): New variable.

7 years agognu: Add texlive-latex-xcolor.
Ricardo Wurmus [Fri, 9 Jun 2017 09:54:26 +0000 (11:54 +0200)]
gnu: Add texlive-latex-xcolor.

* gnu/packages/tex.scm (texlive-latex-xcolor): New variable.

7 years agognu: Add texlive-latex-graphics.
Ricardo Wurmus [Fri, 9 Jun 2017 09:54:06 +0000 (11:54 +0200)]
gnu: Add texlive-latex-graphics.

* gnu/packages/tex.scm (texlive-latex-graphics): New variable.

7 years agognu: Add texlive-latex-fancyvrb.
Ricardo Wurmus [Fri, 9 Jun 2017 09:53:39 +0000 (11:53 +0200)]
gnu: Add texlive-latex-fancyvrb.

* gnu/packages/tex.scm (texlive-latex-fancyvrb): New variable.

7 years agognu: Add texlive-generic-ifxetex.
Ricardo Wurmus [Fri, 9 Jun 2017 09:51:59 +0000 (11:51 +0200)]
gnu: Add texlive-generic-ifxetex.

* gnu/packages/tex.scm (texlive-generic-ifxetex): New variable.

7 years agognu: Add texlive-latex-filecontents.
Ricardo Wurmus [Fri, 9 Jun 2017 09:51:36 +0000 (11:51 +0200)]
gnu: Add texlive-latex-filecontents.

* gnu/packages/tex.scm (texlive-latex-filecontents): New variable.

7 years agobuild-system: Add 'texlive-build-system'.
Ricardo Wurmus [Fri, 9 Jun 2017 09:46:14 +0000 (11:46 +0200)]
build-system: Add 'texlive-build-system'.

* guix/build-system/texlive.scm: New file.
* guix/build/texlive-build-system.scm: New file.
* Makefile.am (MODULES): Add them.
* doc/guix.texi (Build Systems): Document it.
* gnu/packages/tex.scm (%texlive-tag, %texlive-revision): Remove variables.
(texlife-ref): Remove procedure.

7 years agognu: Add texlive-latex-base.
Ricardo Wurmus [Fri, 9 Jun 2017 08:48:40 +0000 (10:48 +0200)]
gnu: Add texlive-latex-base.

* gnu/packages/tex.scm (texlive-latex-base): New variable.
(texlive-ref): New procedure.

7 years agognu: Add texlive-tex-plain.
Ricardo Wurmus [Fri, 9 Jun 2017 07:26:00 +0000 (09:26 +0200)]
gnu: Add texlive-tex-plain.

* gnu/packages/tex.scm (texlive-tex-plain): New variable.

7 years agognu: Add texlive-fonts-latex.
Ricardo Wurmus [Sun, 4 Jun 2017 13:47:17 +0000 (15:47 +0200)]
gnu: Add texlive-fonts-latex.

* gnu/packages/tex.scm (texlive-fonts-latex): New variable.

7 years agognu: Add texlive-fonts-knuth-lib.
Ricardo Wurmus [Fri, 9 Jun 2017 01:03:48 +0000 (03:03 +0200)]
gnu: Add texlive-fonts-knuth-lib.

* gnu/packages/tex.scm (texlive-fonts-knuth-lib): New variable.

7 years agognu: Add texlive-fonts-cm.
Ricardo Wurmus [Sun, 4 Jun 2017 13:46:07 +0000 (15:46 +0200)]
gnu: Add texlive-fonts-cm.

* gnu/packages/tex.scm (texlive-fonts-cm): New variable.

7 years agognu: Add texlive-metafont-base.
Ricardo Wurmus [Sun, 4 Jun 2017 10:34:02 +0000 (12:34 +0200)]
gnu: Add texlive-metafont-base.

* gnu/packages/tex.scm (texlive-metafont-base): New variable.

7 years agognu: Add texlive-generic-hyph-utf8.
Ricardo Wurmus [Fri, 9 Jun 2017 00:58:16 +0000 (02:58 +0200)]
gnu: Add texlive-generic-hyph-utf8.

* gnu/packages/tex.scm (texlive-generic-hyph-utf8): New variable.

7 years agognu: Add texlive-generic-tex-ini-files.
Ricardo Wurmus [Fri, 9 Jun 2017 00:57:47 +0000 (02:57 +0200)]
gnu: Add texlive-generic-tex-ini-files.

* gnu/packages/tex.scm (texlive-generic-tex-ini-files): New variable.

7 years agognu: Add texlive-generic-dehyph-exptl.
Ricardo Wurmus [Fri, 9 Jun 2017 00:57:11 +0000 (02:57 +0200)]
gnu: Add texlive-generic-dehyph-exptl.

* gnu/packages/tex.scm (texlive-generic-dehyph-exptl): New variable.

7 years agognu: Add texlive-generic-unicode-data.
Ricardo Wurmus [Sun, 4 Jun 2017 16:25:02 +0000 (18:25 +0200)]
gnu: Add texlive-generic-unicode-data.

* gnu/packages/tex.scm (texlive-generic-unicode-date): New variable.

7 years agognu: Add texlive-dvips.
Ricardo Wurmus [Sun, 4 Jun 2017 10:23:07 +0000 (12:23 +0200)]
gnu: Add texlive-dvips.

* gnu/packages/tex.scm (%texlive-tag, %texlive-revision, texlive-dvips): New
variables.

7 years agolicenses: Add common TeX and LaTeX licenses.
Ricardo Wurmus [Sun, 4 Jun 2017 09:55:44 +0000 (11:55 +0200)]
licenses: Add common TeX and LaTeX licenses.

* guix/licenses.scm (knuth, lppl, lppl1.0+, lppl1.2, lppl1.2+, lppl1.3,
lppl1.3+, lppl1.3a, lppl1.3a+, lppl1.3b, lppl1.3b+, lppl1.3c, lppl1.3c+): New
variables.

7 years agoguix: Add download-svn-to-store.
Ricardo Wurmus [Sun, 4 Jun 2017 09:54:23 +0000 (11:54 +0200)]
guix: Add download-svn-to-store.

* guix/svn-download.scm (download-svn-to-store): New procedure.

7 years agognu: linux-libre: Update to 4.11.5.
Mark H Weaver [Thu, 15 Jun 2017 10:23:16 +0000 (06:23 -0400)]
gnu: linux-libre: Update to 4.11.5.

* gnu/packages/linux.scm (%linux-libre-version): Update to 4.11.5.
(%linux-libre-hash): Update hash.

7 years agognu: linux-libre@4.9: Update to 4.9.32.
Mark H Weaver [Thu, 15 Jun 2017 10:22:36 +0000 (06:22 -0400)]
gnu: linux-libre@4.9: Update to 4.9.32.

* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.32.

7 years agognu: linux-libre@4.4: Update to 4.4.72.
Mark H Weaver [Thu, 15 Jun 2017 10:21:49 +0000 (06:21 -0400)]
gnu: linux-libre@4.4: Update to 4.4.72.

* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.72.

7 years agognu: lmdb: Update to 0.9.21.
Tobias Geerinckx-Rice [Wed, 14 Jun 2017 15:05:51 +0000 (17:05 +0200)]
gnu: lmdb: Update to 0.9.21.

* gnu/packages/databases.scm (lmdb): Update to 0.9.21.

7 years agognu: liburcu: Update to 0.10.0.
Tobias Geerinckx-Rice [Thu, 15 Jun 2017 08:26:12 +0000 (10:26 +0200)]
gnu: liburcu: Update to 0.10.0.

* gnu/packages/databases.scm (liburcu): Update to 0.10.0.

7 years agognu: Move desktop-file-utils to (gnu packages freedesktop).
Danny Milosavljevic [Mon, 5 Jun 2017 19:22:01 +0000 (21:22 +0200)]
gnu: Move desktop-file-utils to (gnu packages freedesktop).

* gnu/packages/gnome.scm (desktop-file-utils): Move from here ...
* gnu/packages/freedesktop.scm (desktop-file-utils): ... to here.
* gnu/packages/engineering.scm: Import (gnu packages freedesktop).
* gnu/packages/game-development.scm: Import (gnu packages freedesktop).
* gnu/packages/xfce.scm: Import (gnu packages freedesktop).

7 years agoimport: pypi: Always use pypi.io URL with downcased package name.
Danny Milosavljevic [Wed, 31 May 2017 20:04:15 +0000 (22:04 +0200)]
import: pypi: Always use pypi.io URL with downcased package name.

* guix/import/pypi.scm (make-pypi-sexp): Always use pypi.io URL with
downcased package name.

7 years agognu: postgresql: Enable contributed extensions.
Danny Milosavljevic [Mon, 5 Jun 2017 16:18:06 +0000 (18:18 +0200)]
gnu: postgresql: Enable contributed extensions.

* gnu/packages/databases.scm (postgresql)[arguments]: Add "build-contrib",
"install-contrib" phases.  Add configure-flags.
[inputs]: Add libuuid.

7 years agognu: kdevelop: Update to 5.1.1.
Thomas Danckaert [Wed, 14 Jun 2017 15:46:36 +0000 (17:46 +0200)]
gnu: kdevelop: Update to 5.1.1.

* gnu/packages/kde.scm (kdevelop): Update to 5.1.1.
[arguments]: Set QT_QPA_PLATFORM_PLUGIN_PATH during the wrap-executable
phase.
(kdevplatform): Update to 5.1.1.

7 years agognu: gemma: Fix indentation.
Efraim Flashner [Thu, 15 Jun 2017 07:18:17 +0000 (10:18 +0300)]
gnu: gemma: Fix indentation.

* gnu/packages/bioinformatics.scm (gemma)[arguments]: Fix indentation.

7 years agognu: gemma: Fix building on 32-bit architectures.
Efraim Flashner [Thu, 15 Jun 2017 07:17:08 +0000 (10:17 +0300)]
gnu: gemma: Fix building on 32-bit architectures.

* gnu/packages/bioinformatics.scm (gemma)[arguments]: On 32-bit
architectures add 'FORCE_32BIT' flag.

7 years agognu: libselinux: Propagate libsepol and pcre.
Kei Kebreau [Thu, 15 Jun 2017 06:47:00 +0000 (02:47 -0400)]
gnu: libselinux: Propagate libsepol and pcre.

Both libsepol and pcre required by libselinux.pc.

* gnu/packages/selinux.scm (libselinux)[inputs]: Move libsepol and pcre...
[propagated-inputs]: ...here.

7 years agognu: lensfun: Fix building on non-Intel machines.
Efraim Flashner [Thu, 15 Jun 2017 06:15:25 +0000 (09:15 +0300)]
gnu: lensfun: Fix building on non-Intel machines.

* gnu/packages/photo.scm (lensfun)[arguments]: On non-Intel machines,
don't build with architecture specific instructions.

7 years agognu: openttd: Update to 1.7.1.
Kei Kebreau [Thu, 15 Jun 2017 06:09:22 +0000 (02:09 -0400)]
gnu: openttd: Update to 1.7.1.

* gnu/packages/games.scm (openttd): Update to 1.7.1.

7 years agognu: tomb: Upgrade to 2.4.
Eric Bavier [Thu, 15 Jun 2017 05:37:17 +0000 (00:37 -0500)]
gnu: tomb: Upgrade to 2.4.

* gnu/packages/crypto.scm (tomb): Upgrade to 2.4.
[inputs]: Remove swish-e.  Move "sude" input to...
[native-inputs]: ...here.  New field.

7 years agognu: network-manager: Update to 1.8.0.
Kei Kebreau [Thu, 15 Jun 2017 05:37:31 +0000 (01:37 -0400)]
gnu: network-manager: Update to 1.8.0.

* gnu/packages/gnome.scm (network-manager): Update to 1.8.0.
[inputs]: Add curl, cyrus-sasl and eudev.

7 years agognu: calcurse: Upgrade to 4.2.2.
Eric Bavier [Wed, 14 Jun 2017 05:00:00 +0000 (00:00 -0500)]
gnu: calcurse: Upgrade to 4.2.2.

* gnu/packages/calcurse.scm (calcurse): Upgrade to 4.2.2.
[inputs]: Add tzdata for tests.
[arguments]: Add new 'check-setup' phase.

7 years agognu: ffmpeg: Add vaapi hardware acceleration.
Efraim Flashner [Wed, 14 Jun 2017 19:27:45 +0000 (22:27 +0300)]
gnu: ffmpeg: Add vaapi hardware acceleration.

* gnu/packages/video.scm (ffmpeg)[inputs]: Add libva.

7 years agognu: whois: Update to 5.2.16.
Marius Bakke [Wed, 14 Jun 2017 17:42:27 +0000 (19:42 +0200)]
gnu: whois: Update to 5.2.16.

* gnu/packages/networking.scm (whois): Update to 5.2.16.

7 years agognu: nmap: Update to 7.50.
Marius Bakke [Wed, 14 Jun 2017 17:40:32 +0000 (19:40 +0200)]
gnu: nmap: Update to 7.50.

* gnu/packages/admin.scm (nmap): Update to 7.50.

7 years agognu: curl: Update replacement to 7.54.1 [fixes CVE-2017-9502].
Leo Famulari [Wed, 14 Jun 2017 17:25:00 +0000 (13:25 -0400)]
gnu: curl: Update replacement to 7.54.1 [fixes CVE-2017-9502].

* gnu/packages/curl.scm (curl)[replacement]: Update to 7.54.1.
(curl-7.54.0): Replace with ...
(curl-7.54.1): ... new variable.

7 years agognu: osip: Fix CVE-2017-7853.
Leo Famulari [Wed, 14 Jun 2017 17:15:31 +0000 (13:15 -0400)]
gnu: osip: Fix CVE-2017-7853.

* gnu/packages/patches/osip-CVE-2017-7853.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/telephony.scm (osip)[source]: Use it.

7 years agognu: osip: Update to 5.0.0.
Leo Famulari [Wed, 14 Jun 2017 17:07:04 +0000 (13:07 -0400)]
gnu: osip: Update to 5.0.0.

* gnu/packages/telephony.scm (osip): Update to 5.0.0.

7 years agognu: darktable: Update to 2.2.5.
Roel Janssen [Wed, 14 Jun 2017 07:31:20 +0000 (09:31 +0200)]
gnu: darktable: Update to 2.2.5.

* gnu/packages/photo.scm (darktable): Update to 2.2.5.

7 years agognu: icecat: Add security fixes from upstream mozilla-esr52.
Mark H Weaver [Wed, 14 Jun 2017 06:15:59 +0000 (02:15 -0400)]
gnu: icecat: Add security fixes from upstream mozilla-esr52.

This adds fixes for CVE-2017-7757, CVE-2017-7758, and the remaining
5 patches for CVE-2017-5470.

* gnu/packages/gnuzilla.scm (icecat)[source]: Add selected fixes from the
upstream mozilla-esr52 repository, through ESR 52.2.

7 years agognu: icecat: Rename patches to indicate CVE assignments.
Mark H Weaver [Mon, 5 Jun 2017 22:50:39 +0000 (18:50 -0400)]
gnu: icecat: Rename patches to indicate CVE assignments.

This documents that we include fixes for the following CVEs: CVE-2017-5472,
CVE-2017-7749, CVE-2017-7750, CVE-2017-7751, CVE-2017-7752, CVE-2017-7754,
CVE-2017-7756, CVE-2017-7764, CVE-2017-7765, CVE-2017-7778, and that we
include 15 out of 20 patches for CVE-2017-5470.

* gnu/packages/gnuzilla.scm (icecat)[source]: Rename existing patches to
indicate their CVE assignments.

7 years agognu: guile-ssh: Close RREPL channel ports before they are finalized.
Ludovic Courtès [Tue, 13 Jun 2017 21:20:25 +0000 (23:20 +0200)]
gnu: guile-ssh: Close RREPL channel ports before they are finalized.

Partly fixes <https://bugs.gnu.org/26976>.

* gnu/packages/patches/guile-ssh-channel-finalization.patch: New file.
* gnu/packages/ssh.scm (guile-ssh)[source](patches): Use it.
* gnu/local.mk (dist_patch_DATA): Add it.

7 years agoguix package: '--search' sorts by relevance.
Ludovic Courtès [Tue, 13 Jun 2017 21:04:05 +0000 (23:04 +0200)]
guix package: '--search' sorts by relevance.

* guix/scripts/package.scm (find-packages-by-description): Rewrite to
compute a score based on the number of regexps matched and the number of
matches for each regexp.  Sort according to this score and return it as
a second value.
(process-query) <'search>: Capture the two return values of
'find-packages-by-description'.  Pass #:extra-fields to
'package->recutils'.
* doc/guix.texi (Invoking guix package): Mention relevance, give an
example.

7 years agoui: 'package->recutils' takes #:extra-fields.
Ludovic Courtès [Tue, 13 Jun 2017 16:09:30 +0000 (18:09 +0200)]
ui: 'package->recutils' takes #:extra-fields.

* guix/ui.scm (package->recutils): Add #:extra-fields and honor it.

7 years agognu: enlightenment: Fix the inability to switch keyboard layout.
ng0 [Sun, 11 Jun 2017 00:00:07 +0000 (00:00 +0000)]
gnu: enlightenment: Fix the inability to switch keyboard layout.

* gnu/packages/enlightenment.scm (enlightenment): Add new 'fix-keyboard' phase.
(inputs): Add 'xkeyboard-config'.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
7 years agognu: abiword: Correct the download and home page URL.
Kei Kebreau [Sun, 11 Jun 2017 00:59:19 +0000 (20:59 -0400)]
gnu: abiword: Correct the download and home page URL.

The old URL redirects to https://abisource.com.

* gnu/packages/abiword.scm (abiword)[source]: Change URL.
[home-page]: Change URL.

7 years agognu: ldc-bootstrap: Update ldc to 0.17.4.
Danny Milosavljevic [Sat, 10 Jun 2017 23:48:35 +0000 (01:48 +0200)]
gnu: ldc-bootstrap: Update ldc to 0.17.4.

* gnu/packages/ldc.scm (ldc-bootstrap): Update ldc to 0.17.4.

7 years agomarionette: Factorize 'wait-for-file'.
Ludovic Courtès [Mon, 12 Jun 2017 21:21:24 +0000 (23:21 +0200)]
marionette: Factorize 'wait-for-file'.

* gnu/build/marionette.scm (wait-for-file): New procedure.
* gnu/tests/base.scm (run-mcron-test)[test](wait-for-file): Remove.
Pass second argument in 'wait-for-file' calls.
* gnu/tests/ssh.scm (run-ssh-test)[test](wait-for-file): Remove.
Pass second argument in 'wait-for-file' calls.
* gnu/tests/messaging.scm (run-xmpp-test)[test](guest-wait-for-file):
Remove.
Use 'wait-for-file' instead, with second argument.

7 years agoservices: cuirass: Extend rottlog with log rotations.
Ludovic Courtès [Mon, 12 Jun 2017 21:30:53 +0000 (23:30 +0200)]
services: cuirass: Extend rottlog with log rotations.

* gnu/services/cuirass.scm (cuirass-log-rotations): New procedure.
(cuirass-service-type): Use it to extend ROTTLOG-SERVICE-TYPE.

7 years agoservices: rottlog: Make extensible.
Ludovic Courtès [Thu, 8 Jun 2017 18:23:08 +0000 (20:23 +0200)]
services: rottlog: Make extensible.

* gnu/services/admin.scm (rottlog-service-type)[compose, extend]: New
fields.
* doc/guix.texi (Log Rotation): Mention extension.

7 years agoservices: rottlog: Define <log-rotation> objects.
Ludovic Courtès [Thu, 8 Jun 2017 18:12:38 +0000 (20:12 +0200)]
services: rottlog: Define <log-rotation> objects.

* gnu/services/admin.scm (<log-rotation>): New record type.
(syslog-rotation-config, simple-rotation-config): Remove.
(%default-rotations): Define as a list of <log-rotation> objects.
(log-rotation->config, log-rotations->/etc-entries): New procedures.
(<rottlog-configuration>)[periodic-rotations]: Remove.
[rotations]: New field.
(rottlog-etc): Use 'log-rotations->/etc-entries'.
* doc/guix.texi (Log Rotation): Update accordingly.

7 years agognu: emacs-markdown-mode: Update to 2.2.
Kyle Meyer [Sun, 11 Jun 2017 03:29:20 +0000 (23:29 -0400)]
gnu: emacs-markdown-mode: Update to 2.2.

* gnu/packages/emacs.scm (emacs-markdown-mode): Update to 2.2.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: emacs-iedit: Update to 0.9.9.9.
Kyle Meyer [Sun, 11 Jun 2017 03:29:19 +0000 (23:29 -0400)]
gnu: emacs-iedit: Update to 0.9.9.9.

* gnu/packages/emacs.scm (emacs-iedit): Update to 0.9.9.9.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: emacs-helm: Update to 2.7.1.
Kyle Meyer [Sun, 11 Jun 2017 03:29:18 +0000 (23:29 -0400)]
gnu: emacs-helm: Update to 2.7.1.

* gnu/packages/emacs.scm (emacs-helm): Update to 2.7.1.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: emacs-yaml-mode: Update to 0.0.13.
Kyle Meyer [Sun, 11 Jun 2017 03:29:17 +0000 (23:29 -0400)]
gnu: emacs-yaml-mode: Update to 0.0.13.

* gnu/packages/emacs.scm (emacs-yaml-mode): Update to 0.0.13.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: emacs-elfeed: Update to 2.1.1.
Kyle Meyer [Sun, 11 Jun 2017 03:29:16 +0000 (23:29 -0400)]
gnu: emacs-elfeed: Update to 2.1.1.

* gnu/packages/emacs.scm (emacs-elfeed): Update to 2.1.1.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: python-rednose: Add the python2 variant.
Muriithi Frederick Muriuki [Sun, 11 Jun 2017 01:07:17 +0000 (04:07 +0300)]
gnu: python-rednose: Add the python2 variant.

* gnu/packages/python.scm (python2-rednose): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: python-sphinx-rtd-theme: Update to 0.2.4.
Muriithi Frederick Muriuki [Sun, 11 Jun 2017 01:07:16 +0000 (04:07 +0300)]
gnu: python-sphinx-rtd-theme: Update to 0.2.4.

* gnu/packages/python.scm (python-sphinx-rtd-theme): Update to 0.2.4.
[source]: Use 'pypi-uri'.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: nss, nss-certs: Update to 3.31.
Marius Bakke [Mon, 12 Jun 2017 17:27:02 +0000 (19:27 +0200)]
gnu: nss, nss-certs: Update to 3.31.

Release notes:
<https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.31_release_notes>

* gnu/packages/certs.scm (nss-certs): Update to 3.31.
* gnu/packages/gnuzilla.scm (nss): Likewise.
[source]<patches>: Remove upstream 'nss-disable-long-b64-tests' patch.
[arguments]<#:phases>: Move armhf timeout substitution ...
* gnu/packages/patches/nss-increase-test-timeout.patch: ... here.
* gnu/packages/patches/nss-disable-long-b64-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

7 years agognu: nspr: Update to 4.15.
Marius Bakke [Mon, 12 Jun 2017 17:22:56 +0000 (19:22 +0200)]
gnu: nspr: Update to 4.15.

* gnu/packages/gnuzilla.scm (nspr): Update to 4.15.

7 years agognu: libinput: Update to 1.7.3.
Marius Bakke [Sun, 11 Jun 2017 16:06:11 +0000 (18:06 +0200)]
gnu: libinput: Update to 1.7.3.

* gnu/packages/freedesktop.scm (libinput, libinput-minimal): Update to 1.7.3.

7 years agoderivations: Introduce 'read-derivation-from-file'.
Ludovic Courtès [Mon, 12 Jun 2017 15:11:22 +0000 (17:11 +0200)]
derivations: Introduce 'read-derivation-from-file'.

This avoids the open/fstat/close syscalls upon a cache hit that we had
with the previous idiom:

  (call-with-input-file file read-derivation)

where caching happened in 'read-derivation' itself.

* guix/derivations.scm (%read-derivation): Rename to...
(read-derivation): ... this.
(read-derivation-from-file): New procedure.
(derivation-prerequisites, substitution-oracle)
(derivation-prerequisites-to-build):
(derivation-path->output-path, derivation-path->output-paths):
(derivation-path->base16-hash, map-derivation): Use
'read-derivation-from-file' instead of (call-with-input-file …
read-derivation).
* guix/grafts.scm (item->deriver): Likewise.
* guix/scripts/build.scm (log-url, options->things-to-build): Likewise.
* guix/scripts/graph.scm (file->derivation): Remove.
(derivation-dependencies, %derivation-node-type): Use
'read-derivation-from-file' instead.
* guix/scripts/offload.scm (guix-offload): Likewise.
* guix/scripts/perform-download.scm (guix-perform-download): Likewise.
* guix/scripts/publish.scm (load-derivation): Remove.
(narinfo-string): Use 'read-derivation-from-file'.

7 years agostore: Speed up 'add-to-store'.
Ludovic Courtès [Mon, 12 Jun 2017 13:38:49 +0000 (15:38 +0200)]
store: Speed up 'add-to-store'.

* guix/store.scm (add-to-store): Remove 'lstat' call.

7 years agognu: crawl: Fix savegame upgrades.
nee [Sat, 10 Jun 2017 18:27:58 +0000 (20:27 +0200)]
gnu: crawl: Fix savegame upgrades.

* gnu/packages/patches/crawl-upgrade-saves.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/games.scm (crawl)[source]: Apply patch.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: aircrack-ng: Fix building on non-Intel machines.
Efraim Flashner [Mon, 12 Jun 2017 07:32:16 +0000 (10:32 +0300)]
gnu: aircrack-ng: Fix building on non-Intel machines.

* gnu/packages/networking.scm (aircrack-ng)[arguments]: Only use system
optimizations on x86_64 and i686 machines.

7 years agognu: Add minicom.
Danny Milosavljevic [Sat, 10 Jun 2017 14:06:34 +0000 (16:06 +0200)]
gnu: Add minicom.

* gnu/packages/engineering.scm (minicom): New variable.

7 years agognu: stellarium: Update to 0.15.2.
Danny Milosavljevic [Sat, 10 Jun 2017 22:23:18 +0000 (00:23 +0200)]
gnu: stellarium: Update to 0.15.2.

* gnu/packages/astronomy.scm (stellarium): Update to 0.15.2.

7 years agognu: stellarium: Fix build with Qt 5.9.
Danny Milosavljevic [Sat, 10 Jun 2017 22:23:17 +0000 (00:23 +0200)]
gnu: stellarium: Fix build with Qt 5.9.

* gnu/packages/astronomy.scm (stellarium)[arguments]:
Add phase "patch-version-check".

7 years agognu: libmwaw: Fix CVE-2017-9433.
Leo Famulari [Mon, 12 Jun 2017 02:18:53 +0000 (22:18 -0400)]
gnu: libmwaw: Fix CVE-2017-9433.

* gnu/packages/patches/libmwaw-CVE-2017-9433.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/libreoffice.scm (libmwaw)[source]: Use it.

7 years agognu: libmwaw: Update to 0.3.11.
Leo Famulari [Mon, 12 Jun 2017 02:16:05 +0000 (22:16 -0400)]
gnu: libmwaw: Update to 0.3.11.

* gnu/packages/libreoffice.scm (libmwaw): Update to 0.3.11.

7 years agognu: youtube-dl: Update to 2017.06.12.
Tobias Geerinckx-Rice [Mon, 12 Jun 2017 02:24:10 +0000 (04:24 +0200)]
gnu: youtube-dl: Update to 2017.06.12.

* gnu/packages/video.scm (youtube-dl): Update to 2017.06.12.

7 years agognu: mcelog: Update to 153.
Tobias Geerinckx-Rice [Sun, 11 Jun 2017 20:37:15 +0000 (22:37 +0200)]
gnu: mcelog: Update to 153.

* gnu/packages/linux.scm (mcelog): Update to 153.

7 years agognu: libgweather: Update to 3.24.1.
Kei Kebreau [Sun, 11 Jun 2017 23:08:55 +0000 (19:08 -0400)]
gnu: libgweather: Update to 3.24.1.

* gnu/packages/gnome.scm (libgweather): Update to 3.24.1.

7 years agognu: mate-menus: Update to 1.18.0.
Kei Kebreau [Sun, 11 Jun 2017 22:46:02 +0000 (18:46 -0400)]
gnu: mate-menus: Update to 1.18.0.

* gnu/packages/mate.scm (mate-menus): Update to 1.18.0.

7 years agognu: libmateweather: Update to 1.18.1.
Kei Kebreau [Sun, 11 Jun 2017 22:01:29 +0000 (18:01 -0400)]
gnu: libmateweather: Update to 1.18.1.

* gnu/packages/mate.scm (libmateweather): Update to 1.18.1.
[arguments]: Remove obsolete "--with-gtk" flag.

7 years agognu: mate-desktop: Update to 1.18.0.
Kei Kebreau [Sun, 11 Jun 2017 20:55:06 +0000 (16:55 -0400)]
gnu: mate-desktop: Update to 1.18.0.

* gnu/packages/mate.scm (mate-desktop): Update to 1.18.0.
[arguments]: Remove obsolete configure flags.
[inputs]: Remove python-2.

7 years agofile-systems: Handle EIO error in 'ENOENT-safe' as well.
Adam Van Ymeren [Sun, 11 Jun 2017 17:01:31 +0000 (13:01 -0400)]
file-systems: Handle EIO error in 'ENOENT-safe' as well.

Trying to boot GuixSD when an audio CD is in the drive will die with an
"input/output error" when trying to read the superblock from the cd
drive.

This patch catches and warns in this case rather than dying.

* gnu/build/file-systems.scm (ENOENT-safe): Handle EIO.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agopackages: Add 'specifications->manifest'.
Ludovic Courtès [Sun, 11 Jun 2017 21:05:23 +0000 (23:05 +0200)]
packages: Add 'specifications->manifest'.

* gnu/packages.scm (specifications->manifest): New procedure.
* doc/guix.texi (Invoking guix package): Change example from using
'(compose list specification->package+output)' to using
'specifications->manifest'.

7 years agognu: mercurial: Update to 4.2.1.
eacces [Fri, 9 Jun 2017 06:25:59 +0000 (16:25 +1000)]
gnu: mercurial: Update to 4.2.1.

* gnu/packages/version-control.scm (mercurial): Update to 4.2.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>