Commit Graph

22149 Commits

Author SHA1 Message Date
Ludovic Courtès a2278922fe
vm: Use 'fold2' from (guix combinators).
* gnu/build/vm.scm: Use (guix combinators).
(fold2): Remove.
2017-06-30 00:16:51 +02:00
Ludovic Courtès a8ac4f081a
vm: Estimate the disk size by default.
* gnu/build/vm.scm (estimated-partition-size): New procedure.
* gnu/system/vm.scm (expression->derivation-in-linux-vm):
Change #:disk-image-size default to 'guess.
[builder]: When DISK-IMAGE-SIZE is 'guess, use
'estimated-partition-size' and compute and estimate of the image size.
(qemu-image): Likewise.
* guix/build/store-copy.scm (file-size, closure-size): New procedures.
* guix/scripts/system.scm (%default-options): Change 'image-size' to
'guess.
* doc/guix.texi (Building the Installation Image): Remove '--image-size'
flag from example.
(Invoking guix system): Document the image size estimate.
2017-06-30 00:16:50 +02:00
Ludovic Courtès a2cf57e79e
vm: Display the disk and partition sizes.
* gnu/build/vm.scm (load-in-linux-vm): Add 'format' call when
MAKE-DISK-IMAGE? is true.
(initialize-partition-table): Show the size of the partitions being
created.
2017-06-30 00:16:50 +02:00
Ludovic Courtès 6efb98ed3c
vm: Fix 'load-in-linux-vm' docstring.
* gnu/build/vm.scm (load-in-linux-vm): Change default value of
  #:disk-image-size.  Update docstring to note that DISK-IMAGE-SIZE is
  in bytes.
2017-06-30 00:16:50 +02:00
Ludovic Courtès 1d97fd8cb6
build: Remove check for broken (srfi srfi-37).
This was for Guile < 2.0.9 and we've been requiring 2.0.9+ for some time
already.

* configure.ac: Remove 'GUIX_CHECK_SRFI_37' use and 'INSTALL_SRFI_37'
conditional.
* Makefile.am: Remove code in "if INSTALL_SRFI_37".
(EXTRA_DIST): Remove srfi/srfi-37.scm.in.
* srfi/srfi-37.scm.in: Remove.
* m4/guix.m4 (GUIX_CHECK_SRFI_37): Remove.
2017-06-30 00:16:50 +02:00
Leo Famulari 95bbaa02aa
gnu: poppler: Fix CVE-2017-{9775,9776}.
* gnu/packages/pdf.scm (poppler)[replacement]: New field.
(poppler-0.56.0): New variable.
(poppler-qt4, poppler-qt5): Use 'package/inherit'.
2017-06-29 16:40:10 -04:00
Efraim Flashner 1b6d3b7a23
gnu: thermald: Add file-name for source.
* gnu/packages/admin.scm (thermald)[source]: Add file-name field.
2017-06-29 23:09:24 +03:00
Efraim Flashner 86ee76254b
gnu: thermald: Only build on i686 and x86_64.
* gnu/packages/admin.scm (thermald)[supported-systems]: New field.
2017-06-29 23:08:17 +03:00
Efraim Flashner ef2c7fb5da
gnu: libgcrypt: Add mitigation for CVE-2017-7526.
* gnu/packages/gnupg.scm (libgcrypt)[replacment]: New field.
(libgcrypt-1.7.8): New variable.
(libgcrypt-1.5)[replacment]: New field.
2017-06-29 21:04:33 +03:00
Jan Nieuwenhuizen 604e494dc0
gnu: mes: Update to 0.8.
* gnu/packages/mes.scm (mes): Update to 0.8.
2017-06-29 18:11:34 +02:00
Jan Nieuwenhuizen 9ae3fcb9e8
gnu: Add mescc-tools.
* gnu/packages/mes.scm (mescc-tools): New variable.
2017-06-29 18:09:42 +02:00
Ludovic Courtès c0f5eee4b2
system: Add 'shadow' to %BASE-PACKAGES.
Suggested by Göktuğ Kayaalp <self@gkayaalp.com>.

* gnu/system.scm (%base-packages): Add SHADOW.
2017-06-29 16:28:28 +02:00
Ricardo Wurmus b8d3a000ef
gnu: libxfce4ui: Do not propagate gtk+-2.
Propagation of both gtk+ and gtk+-2 causes a conflict to be detected,
preventing the installation of xfce.

* gnu/packages/xfce.scm (libxfce4ui)[propagated-inputs]: Move "gtk+-2"...
[inputs]: ...to here.
(garcon)[inputs]: Add "gtk+-2".
(xfce4-appfinder)[inputs]: Add "gtk+-2".
(xfce4-power-manager)[inputs]: Add "gtk+-2".
(ristretto)[inputs]: Add "gtk+-2".
2017-06-29 16:06:14 +02:00
Ricardo Wurmus c860d6ef23
gnu: xfce: Build union instead of propagating inputs.
* gnu/packages/xfce.scm (xfce)[propagated-inputs]: Move all...
[inputs]: ...here.
[arguments]: Build a union.
2017-06-29 16:06:14 +02:00
Alex Vong d34970ee2b
gnu: clojure: Update "tools-reader-src" to 1.0.0.
* gnu/packages/java.scm (clojure)[inputs]: Update "tools-reader-src" to
1.0.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-29 15:21:18 +02:00
Dave Love a73e7dd3b0
gnu: Add procenv.
* gnu/packages/linux.scm (procenv): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-29 15:21:18 +02:00
Jelle Licht b786661309
gnu: ansible: Apply experimental patch to deal with wrapping of ansible script.
See <http://lists.gnu.org/archive/html/bug-guix/2017-05/msg00015.html> for the
rationale.

* gnu/packages/patches/ansible-wrap-program-hack.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (ansible)[source]: Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-29 15:21:18 +02:00
Jelle Licht aafcfffd93
gnu: node: Update to 8.1.2.
* gnu/packages/node.scm (node): Update to 8.1.2.
(node)[arguments]: Disabled more tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-29 15:21:18 +02:00
Ludovic Courtès 3ab869b63f
gnu: lapack: Install libraries to PREFIX/lib, not PREFIX/lib64.
This fixes a regression introduced in
ef39a17717, which would break
python-scipy ("undefined reference to `zungqr_'").

* gnu/packages/maths.scm (lapack)[arguments]: Add
"-DCMAKE_INSTALL_LIBDIR" to #:configure-flags.
2017-06-29 15:21:17 +02:00
Efraim Flashner 2eb95ade8f
gnu: ovmf: Only build 32-bit firmware on i686-linux.
* gnu/packages/firmware.scm (ovmf)[arguments]: Only when the build
machine is x86_64-linux should the 64-bit firmware be built and
installed.
2017-06-29 12:54:54 +03:00
Efraim Flashner 8363a83517
gnu: openh264: Fix building on armhf and aarch64.
* gnu/packages/video.scm (openh264)[arguments]: Add 'CC=gcc' to
the #:make-flags.
2017-06-29 11:44:49 +03:00
Efraim Flashner fcf4003950
gnu: r-spams: Update to 2.6-2017-03-22.
* gnu/packages/statistics.scm (r-spams): Update to 2.6-2017-03-22.
[arguments]: Remove R-3.3 work-around and syntax fixes, add phase to
prevent tuning r-spams to the compiling hardware.
2017-06-29 10:02:58 +03:00
Eric Bavier 691ae7fa7a
gnu: wdiff: Remove unused screen input.
* gnu/packages/wdiff.scm (wdiff): 'inputs' -> 'native-inputs'.
[native-inputs]: Remove unused screen input.
[arguments]: Use modify-phases.
2017-06-28 23:25:23 -05:00
Eric Bavier 57dfc9f86c
gnu: screen: Update to 4.6.0.
* gnu/packages/screen.scm (screen): Update to 4.6.0.
[source]: Remove patch.
* gnu/packages/patches/screen-fix-info-syntax-error.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-06-28 22:59:41 -05:00
Eric Bavier 59b53c4227
gnu: moe: Update to 1.9.
* gnu/packages/moe.scm (moe): Update to 1.9.
2017-06-28 22:54:14 -05:00
Ricardo Wurmus 6309636640
gnu: emacs-ess: Use texlive-union instead of texlive.
* gnu/packages/emacs.scm (emacs-ess)[arguments]: Add phase "set-HOME".
[native-inputs]: Replace texlive with a texlive-union.
2017-06-29 01:54:34 +02:00
Ricardo Wurmus a0aa6b59dd
gnu: Add texlive-tex-texinfo.
* gnu/packages/tex.scm (texlive-tex-texinfo): New variable.
2017-06-29 01:54:34 +02:00
Ricardo Wurmus 9f86ef85cf
gnu: Add texlive-latex-hyperref.
* gnu/packages/tex.scm (texlive-latex-hyperref): New variable.
2017-06-29 01:54:34 +02:00
Ricardo Wurmus bd6e23856f
gnu: texlive-latex-base: Install additional formats.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Additionally build and
install tex.fmt, pdftex.fmt, pdfetex.fmt, and pdflatex.fmt.
2017-06-29 01:54:34 +02:00
Leo Famulari 6bcf1cd5db
gnu: mpg123: Update to 1.25.0.
* gnu/packages/mp3.scm (mpg123): Update to 1.25.0.
2017-06-28 11:21:45 -04:00
Ricardo Wurmus e61bc976f6
gnu: snakemake: Fix cluster execution.
* gnu/packages/python.scm (snakemake)[arguments]: Add build phase
"call-wrapper-not-wrapped-snakemake".
2017-06-28 16:49:20 +02:00
Efraim Flashner 03b055a116
gnu: darktable: Limit supported platforms.
* gnu/packages/photo.scm (darktable)[supported-systems]: New field,
explicitly limit to i686-linux, x86_64-linux and aarch64-linux.
2017-06-28 15:36:49 +03:00
Mark H Weaver b049ae2f97
gnu: xf86-video-intel: Use UXA accel method by default.
* gnu/packages/xorg.scm (xf86-video-intel)[arguments]: Add #:configure-flags
with "--with-default-accel=uxa".
2017-06-28 06:14:59 -04:00
Mark H Weaver d07d292808
gnu: icecat: Add more fixes from upstream mozilla-esr52.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add selected fixes from the
upstream mozilla-esr52 repository.
2017-06-28 06:09:59 -04:00
Efraim Flashner fea0040405
gnu: aria2: Update to 1.32.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.32.0.
2017-06-28 11:20:11 +03:00
Efraim Flashner ceb56fb129
gnu: translate-shell: Update to 0.9.6.4.
* gnu/packages/dictionaries.scm (translate-shell): Update to 0.9.6.4.
2017-06-28 09:36:02 +03:00
Ricardo Wurmus 9dac2a8ef4
gnu: emacs-calfw: Fix typo in description.
* gnu/packages/emacs.scm (emacs-calfw)[description]: Fix typo.
2017-06-28 07:56:51 +02:00
Ricardo Wurmus 51c15375ab
gnu: texlive-latex-graphics: Update hash for graphics-def.
This is a follow-up commit to e3c970fc5c.

* gnu/packages/tex.scm (texlive-latex-graphics)[native-inputs]: Update hash
for graphics-def.
2017-06-28 07:56:51 +02:00
Ricardo Wurmus 171160d569
gnu: Add texlive-latex-seminar.
* gnu/packages/tex.scm (texlive-latex-seminar): New variable.
2017-06-28 07:56:50 +02:00
Ricardo Wurmus 9b416042d1
gnu: Add texlive-latex-natbib.
* gnu/packages/tex.scm (texlive-latex-natbib): New variable.
2017-06-28 07:56:50 +02:00
Mark H Weaver c75a3081a3
gnu: linux-libre@4.4: Update to 4.4.74.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.74.
[source]: Remove patch.
2017-06-28 00:54:05 -04:00
Kei Kebreau 795f3a0088
gnu: python-xsge: Fix source URL.
* gnu/packages/game-development.scm (python-xsge)[source]: Fix URL.
2017-06-27 20:28:06 -04:00
Ludovic Courtès 1873321279
gnu: kde-frameworks: Fix 'license' fields.
* gnu/packages/kde-frameworks.scm (kde-frameworkintegration)[license]:
Turn into a list of <license> objects.
(kdelibs4support)[license]: Likewise.
(khtml)[license]: Likewise.
(kjs)[license]: Likewise.
(kross)[license]: Likewise.
2017-06-27 22:41:31 +02:00
Arun Isaac 2482c02f3b
gnu: emacs-which-key: Avoid leading "(" in description line.
* gnu/packages/emacs.scm (emacs-which-key): Reformat description to avoid a
line beginning with "(" because such lines break indentation in Emacs.
2017-06-27 11:39:01 +05:30
Ludovic Courtès 0040140d34
guix package: Allow '--rollback', after all.
* guix/scripts/package.scm (%options): Add "rollback" as an alias for
"roll-back".
2017-06-26 22:52:06 +02:00
Ludovic Courtès fc8fdcf56e
guix package: 'guix package -r PKG -u' does not upgrade PKG.
Fixes <http://bugs.gnu.org/27262>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/package.scm (transaction-upgrade-entry): Check if ENTRY
matches 'manifest-transaction-removal-candidate?' and return TRANSACTION
if it does.
(process-actions): Move 'options->removable' from step 2 to step 1.
2017-06-26 22:52:06 +02:00
Ludovic Courtès 6d382339de
profiles: Add 'manifest-transaction-removal-candidate?'.
* guix/profiles.scm (manifest-transaction-removal-candidate?): New
procedure.
* tests/profiles.scm ("manifest-transaction-removal-candidate?"): New
test.
2017-06-26 22:52:06 +02:00
Ludovic Courtès 94a400beba
import cran: Generate a valid 'license' field for "GPL".
Fixes <http://bugs.gnu.org/27294>.
Reported by Joshua Sierles <joshua@joshua.si>.

* guix/import/cran.scm (string->license) <"GPL">: Return a quoted list.
2017-06-26 22:52:06 +02:00
Danny Milosavljevic b74e2f610a
gnu: stellarium: Update to 0.16.0.
* gnu/packages/astronomy.scm (stellarium)[inputs]: Add qtlocation.
[arguments]: Remove "patch-version-check" phase.
Add "patch-tests" phase.
2017-06-26 22:36:31 +02:00
Leo Famulari 4d9d9e3fed
gnu: Add thc-ipv6.
* gnu/packages/networking.scm (thc-ipv6): New variable.
2017-06-26 14:50:02 -04:00