Commit graph

36149 commits

Author SHA1 Message Date
Alex Vong
58352f269e
build-system/haskell: Use 'strip-store-file-name'.
See the discussion at
<https://lists.gnu.org/archive/html/guix-devel/2018-10/msg00250.html>.

* guix/build/haskell-build-system.scm (package-name-version): Remove it.
(configure): Use 'strip-store-file-name' instead of 'package-name-version'.
(setup-compiler): Likewise.
(make-ghc-package-database): Likewise.
(register): Likewise.
* gnu/packages/haskell.scm (ghc-cairo)[arguments]: Likewise.
* gnu/packages/agda.scm (agda)[arguments]: Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-10-19 23:11:07 +02:00
Marius Bakke
be200ef316
gnu: texlive-bin: Fix FTBFS on i686-linux.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Add phase 'disable-failing-test'.
2018-10-19 18:51:46 +02:00
Ludovic Courtès
1d7fb035fc
gnu: guile-commonmark: Update to 0.1.1.
* gnu/packages/guile.scm (guile-commonmark): Update to 0.1.1.
[source](modules, snippet): Remove.
[native-inputs]: New field.
2018-10-19 10:25:04 +02:00
Efraim Flashner
b50d58b344
gnu: sharutils: Fix bundled gnulib.
* gnu/packages/compression.scm (sharutils)[source]: Add snippet to fix
bundled gnulib.
2018-10-18 21:46:33 +03:00
Efraim Flashner
f793b4ef96
gnu: squashfs-tools: Fix building with glibc@2.28.
* gnu/packages/compression.scm (squashfs-tools)[arguments]: Add
substitution to include missing import. Return #t from all phases.
2018-10-18 21:31:52 +03:00
Efraim Flashner
1febc93f9b
Revert "gnu: python-fonttools: Update to 3.30.0."
This reverts commit 5fb543b3f7.

python2-fonttools has 2700 dependants, only the python3 version is
failing.
2018-10-18 21:25:36 +03:00
Efraim Flashner
5fb543b3f7
gnu: python-fonttools: Update to 3.30.0.
* gnu/packages/python.scm (python-fonttools): Update to 3.30.0.
2018-10-18 21:14:16 +03:00
Marius Bakke
e8ef3cc4d6
gnu: swig: Fix build on i686.
* gnu/packages/patches/swig-guile-gc.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/swig.scm (swig)[source](patches): Use it.
2018-10-18 19:13:13 +02:00
Marius Bakke
16f14f63db
gnu: Python: Adjust grafts for core-updates merge.
This adjust the grafts from a55ebe2e3a and
90aeaee861 to apply to Python 2.7.15 and 3.7.0.

* gnu/packages/patches/python2-CVE-2018-1060.patch,
gnu/packages/patches/python2-CVE-2018-1061.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/python.scm (python-2/fixed): Remove patches that are already
present in 2.7.15.
(python-3/fixed): Remove obsolete phase.
2018-10-17 20:53:24 +02:00
Marius Bakke
d02bb02f7d
Merge branch 'master' into core-updates 2018-10-17 20:47:11 +02:00
Marius Bakke
acce0a474c
services: wpa-supplicant: Extend to support configuration parameters.
This allows using WPA Supplicant "standalone" without an additional
network manager.  The default configuration is unchanged.

* gnu/services/networking.scm (<wpa-supplicant-configuration>): New record type.
(wpa-supplicant-shepherd-service): Pass configuration records to the daemon.
(wpa-supplicant-service-type): Adjust accordingly.
* doc/guix.texi (Networking Services): Document the new service type.
2018-10-17 20:34:37 +02:00
Marius Bakke
a55ebe2e3a
gnu: python2: Add upstream security fixes.
This addresses CVE-2018-{1060,1061,14647,1000802}.

* gnu/packages/patches/python2-CVE-2018-1000802.patch,
gnu/packages/patches/python2-CVE-2018-1060.patch,
gnu/packages/patches/python2-CVE-2018-1061.patch,
gnu/packages/patches/python2-CVE-2018-14647.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python.scm (python-2/fixed): New variable.
(python-2.7)[replacement]: New field.
(python2-minimal): Use PACKAGE/INHERIT.
2018-10-17 20:34:37 +02:00
Marius Bakke
90aeaee861
gnu: python: Fix CVE-2018-14647.
* gnu/packages/patches/python-CVE-2018-14647.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python.scm (python-3/fixed): New variable.
(python-3.6)[replacement]: New field.
(python-minimal, python-debug, wrap-python3): Use PACKAGE/INHERIT instead of
standard inheritance.
2018-10-17 20:34:37 +02:00
Efraim Flashner
1d43756107
gnu: strace: Check before enabling personalities.
* gnu/packages/linux.scm (strace)[arguments]: Add configure flag to
check for personality support.
2018-10-17 21:28:05 +03:00
Kei Kebreau
82402f76be
gnu: hyperrogue: Update to 10.4t.
* gnu/packages/games.scm (hyperrogue): Update to 10.4t.
[arguments]: Modify 'make-flags'. Modify 'configure' and 'install' phases.
2018-10-17 13:47:41 -04:00
Pierre Neidhardt
c4d62443eb
import cran: Document "recursive" option.
* guix/scripts/import/cran.scm: (show-help): Document "recursive" option.
2018-10-17 13:06:25 +02:00
Efraim Flashner
fb3ff265cd
gnu: python-icalendar: Update to 4.0.3.
* gnu/packages/python.scm (python-icalendar): Update to 4.0.3.
2018-10-17 11:40:08 +03:00
Pierre Neidhardt
05f8943f04
gnu: emacs-helm-system-packages: Add recutils to inputs.
* gnu/packages/emacs.scm (emacs-helm-system-packages)[inputs]: Use recutils.
2018-10-17 10:37:35 +02:00
Efraim Flashner
15b283e712
gnu: streamlink: Update to 0.14.2.
* gnu/packages/video.scm (streamlink): Update to 0.14.2.
[source]: Download from pypi.
2018-10-17 11:24:18 +03:00
Efraim Flashner
da39ff5898
gnu: boost-for-mysql: Remove unnecessary phase.
* gnu/packages/boost.scm (boost-for-mysql)[arguments]: Remove custom
'provide-libboost_python phase. Add removed '/bin/sh' substitution.
2018-10-17 10:55:26 +03:00
Maxim Cournoyer
24220e0f09
gnu: emacs-nodejs-repl: Update to 0.2.0.
* gnu/packages/emacs.scm (emacs-nodejs-repl): Update to 0.2.0.
2018-10-16 23:02:50 -04:00
Eric Bavier
278f86a43f
ui: Fix port-buffering with guile@2.0.
* guix/status.scm (build-event-output-port)[guile@2.0]: Do not call 'setvbuf'
on custom binary port.
* tests/status.scm (current-build-output-port, UTF-8 + garbage)[guile@2.0]:
Use "?" in place of REPLACEMENT CHARACTER.
2018-10-16 17:12:09 -05:00
Eric Bavier
6f1ce09d79
gnu: Add guix-minimal.
* gnu/packages/guile.scm (guile-2.0.13): New variable.
* gnu/packages/package-management.scm (guix)[arguments]: Adjust 'wrap-program'
phase to handle "missing" inputs.
(guix-minimal): New variable.
2018-10-16 17:09:15 -05:00
Eric Bavier
c8e3651a82
gnu: guile2.0-guix: Fix build.
* gnu/packages/gnupg.scm (guile2.0-gcrypt): New variable.
* gnu/packages/guile.scm (guile2.0-sqlite3): New variable.
* gnu/packages/package-management.scm (guile2.0-guix)[propagated-inputs]: Use
them.
2018-10-16 17:09:15 -05:00
Danny Milosavljevic
ad0082afe0
import: json: Handle the error case.
* guix/import/json.scm (json-fetch-alist): Handle the error case.
2018-10-16 23:17:36 +02:00
Leo Famulari
02d5ed4a27
gnu: GStreamer plugins: Update MP3 features for GStreamer 1.14.
GStreamer moved all MPEG-1 audio (mp1, mp2, and mp3) decoders and encoders to
the group of "good" plugins in GStreamer 1.14.0. See the 'NEWS' file for more
information.

* gnu/packages/gstreamer.scm (gst-plugins-ugly)[inputs]: Remove lame, mpg123,
and twolame.
(gst-plugins-bad): Remove mpg123.
(gst-plugins-good): Add lame, mpg123, and twolame.
2018-10-16 13:40:14 -04:00
Marius Bakke
56112a577c
gnu: perl-unicode-utf8: Disable tests on 32-bit systems.
* gnu/packages/perl.scm (perl-unicode-utf8)[arguments]: New field.
2018-10-16 16:49:08 +02:00
Marius Bakke
29e53b446c
gnu: libinput: Update to 1.12.1.
* gnu/packages/freedesktop.scm (libinput): Update to 1.12.1.
2018-10-16 16:49:08 +02:00
Marius Bakke
08f535eb2d
gnu: chez: Adjust to zlib static output.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Add ZLIB:STATIC.
[arguments]: Reference libz.a from that instead of ZLIB.
2018-10-16 16:49:08 +02:00
Rutger Helling
2d4a753a7c
gnu: xpra: Update to 2.4.
* gnu/packages/xorg.scm (xpra): Update to 2.4.
2018-10-16 14:27:28 +02:00
Clément Lassieur
f1376bfabe
gnu: emacs-exwm: Update to 0.20.
* gnu/packages/emacs.scm (emacs-exwm): Update to 0.20.
[source]: Remove emacs-exwm-fix-fullscreen-issue.patch.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/patches/emacs-exwm-fix-fullscreen-issue.patch: Remove patch.
2018-10-16 11:10:04 +02:00
Clément Lassieur
503fe87098
gnu: emacs-xelb: Update to 0.16.
* gnu/packages/emacs.scm (emacs-xelb): Update to 0.16.
2018-10-16 10:57:53 +02:00
Ludovic Courtès
532f92c8f3
gnu: guix: Update to f9a8fce.
* gnu/packages/package-management.scm (guix): Update to f9a8fce.
2018-10-15 23:54:20 +02:00
Ludovic Courtès
f9a8fce10f
status: Build upon multiplexed build output.
This allows for more accurate status tracking and parsing of extended
build traces.

* guix/status.scm (multiplexed-output-supported?): New procedure.
(print-build-event): Don't print \r when PRINT-LOG? is true.
Adjust 'build-log' handling for when 'multiplexed-output-supported?'
returns true.
(bytevector-index, split-lines): New procedures.
(build-event-output-port)[%build-output-pid, %build-output]
[%build-output-left]: New variables.
[process-line]: Handle "@ build-output" traces.
[process-build-output]: New procedure.
[write!]: Add case for when %BUILD-OUTPUT-PID is true.  Use
'bytevector-index' rather than 'string-index'.
(compute-status): Add #:derivation-path->output-path.  Use it.
* tests/status.scm ("compute-status, multiplexed build output"):
New test.
("build-output-port, UTF-8")
("current-build-output-port, UTF-8 + garbage"): Adjust to new
'build-log' output.
* guix/scripts/build.scm (set-build-options-from-command-line):
Pass #:multiplexed-build-output?.
(%default-options): Add 'multiplexed-build-output?'.
* guix/scripts/environment.scm (%default-options): Likewise.
* guix/scripts/pack.scm (%default-options): Likewise.
* guix/scripts/package.scm (%default-options): Likewise.
* guix/scripts/pull.scm (%default-options): Likewise.
* guix/scripts/system.scm (%default-options): Likewise.
2018-10-15 23:06:55 +02:00
Ludovic Courtès
6ef61cc4c3
daemon: Support multiplexed build output.
This allows clients to tell whether output comes from the daemon or, if
it comes from a builder, from which builder it comes.  The latter is
particularly useful when MAX-BUILD-JOBS > 1.

* nix/libstore/build.cc (DerivationGoal::tryBuildHook)
(DerivationGoal::startBuilder): Print the child's PID in "@ build-started"
traces.
(DerivationGoal::handleChildOutput): Define 'prefix', pass it to
'writeToStderr'.
* nix/libstore/globals.cc (Settings:Settings): Initialize
'multiplexedBuildOutput'.
(Settings::update): Likewise.
* nix/libstore/globals.hh (Settings)[multiplexedBuildOutput]: New field.
Update 'printBuildTrace' documentation.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0.163.
* nix/nix-daemon/nix-daemon.cc (performOp) <wopSetOptions>: Special-case
"multiplexed-build-output" and remove "use-ssh-substituter".
* guix/store.scm (set-build-options): Add #:multiplexed-build-output?
and honor it.
(%protocol-version): Bump to #x163.
* tests/store.scm ("multiplexed-build-output"): New test.

fixlet
2018-10-15 22:40:35 +02:00
Efraim Flashner
1a2d8d06b5
* gnu: clang-runtime: Fix typo in patch name.
This is a follow-up to 0627f93db6.

* gnu/packages/patches/libsantitizer-ustat-fix.patch: Rename to
gnu/packages/patches/libsanitizer-ustat-fix.patch.
* gnu/packages/llvm.scm (clang-runtime@3.7, clang-runtime@3.8,
clang-runtime@3.9)[patches]: Fix patch name.
2018-10-15 21:51:26 +03:00
Efraim Flashner
0627f93db6
gnu: clang-runtime: Adapt for glibc@2.28.
* gnu/packages/llvm.scm (clang-runtime@3.7, clang-runtime@3.8,
clang-runtime@3.9)[patches]: Add patch to work around removed ustat.h.
* gnu/packages/patches/clang-3.5-libsanitizer-ustat-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2018-10-15 21:45:32 +03:00
Efraim Flashner
2ab321ca37
gnu: go@1.4: Add support for aarch64-linux.
* gnu/packages/golang.scm (go@1.4)[arguments]: Build for armhf-linux
when building for aarch64-linux.
[supported-systems]: Add aarch64-linux.
2018-10-15 14:21:07 +03:00
Rutger Helling
2c89b4b550
gnu: wine-staging: Update to 3.18.
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 3.18.
* gnu/packages/wine.scm (wine-staging): Update to 3.18.
2018-10-15 10:50:48 +02:00
Efraim Flashner
b7028a16e6
gnu: x265: Fix building on armhf-linux and aarch64-linux.
* gnu/packages/video.scm (x265)[source]: Update list of patches.
[arguments]: Change configure flag to ensure PIC for all architectures.
* gnu/packages/patches/x265-arm-asm-primitives.patch: Remove file.
* gnu/packages/patches/x265-detect512-all-arches.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update patch registry.
2018-10-15 11:40:34 +03:00
Ludovic Courtès
68b0226b2a
gnu: gcal: Apply Gnulib fixes.
* gnu/packages/gcal.scm (gcal)[modules, snippet]: New fields.
2018-10-15 10:39:45 +02:00
Ludovic Courtès
f1a9c6e581
gnu: lsof: Fix builds on glibc 2.28.
* gnu/packages/lsof.scm (lsof)[arguments]: In 'disable-failing-tests',
add 'substitute*' use for "tests/LTlib.c".
2018-10-15 10:31:24 +02:00
Tobias Geerinckx-Rice
2d5fa80e83
gnu: audacity: Update home page.
* gnu/packages/audio.scm (audacity)[home-page]: Update.
2018-10-15 06:19:38 +02:00
Tobias Geerinckx-Rice
e02013b7de
gnu: hexchat: Use HTTPS home page.
* gnu/packages/messaging.scm (hexchat)[home-page]: Use HTTPS.
2018-10-15 06:19:38 +02:00
Tobias Geerinckx-Rice
4a147986a0
gnu: haveged: Teach the controversy.
* gnu/packages/linux.scm (haveged)[description]: Suggest adding
additional entropy sources.
2018-10-15 06:19:38 +02:00
Tobias Geerinckx-Rice
dfe05297f3
gnu: x265: Update to 2.9.
* gnu/packages/video.scm (x265): Update to 2.9.
[source]: Remove x265-fix-ppc64le-build.patch.
* gnu/packages/patches/x265-fix-ppc64le-build.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-10-15 06:19:37 +02:00
Tobias Geerinckx-Rice
4702d45280
gnu: opensm: Update to 3.3.21.
* gnu/packages/fabric-management.scm (opensm): Update to 3.3.21.
[source]: Update tarball URI.
[native-inputs]: Add autoconf, automake, and libtool.
[arguments]: Rename 'doc' phase to 'install-doc'.
Omit AUTHORS and ChangeLog files. They are more than a decade old.
2018-10-15 06:19:37 +02:00
Tobias Geerinckx-Rice
9cac043cc0
gnu: restic: Update to 0.9.3.
* gnu/packages/backup.scm (restic): Update to 0.9.3.
[arguments]: Disable 'restic self-update'.
2018-10-15 06:19:37 +02:00
Tobias Geerinckx-Rice
3a6e1fe8c8
gnu: perl-xml-feed: Update to 0.55.
* gnu/packages/xml.scm (perl-xml-feed): Update to 0.55.
2018-10-15 06:19:36 +02:00
Maxim Cournoyer
66a9f08bb9
gnu: Add python-falcon-cors.
* gnu/packages/python-web.scm (python-falcon-cors): New variable.
2018-10-14 22:50:27 -04:00