199732 Commits

Author SHA1 Message Date
Chuck
c0cecd0e60 python3Packages.libxml2: Patch to work around python3 + utf-8 itstool crash
1. Gnumeric has unbalanced XML tags in its doc translations.
2. itstool's XML error handler tries to print this error with context.
3. libxml2's context snipper treats the data as bytes, not UTF-8.
4. python3Packages.libxml2 casts the context to a UTF-8 Python string.
5. itstool dereferences a null pointer.

This patch intervenes at #4.

In https://bugzilla.gnome.org/show_bug.cgi?id=789714#c4 , upstream
suggests that intervening at #3 would be better -- that each of the four
copies of xmlParserPrintFileContextInternal() have four additional UTF-8
problems, one of which is that the caret indicator ought to count
"unicode characters" not bytes.  But to position a caret correctly, a
character count is not sufficient -- this would need to use icu's BiDi
logic (with fallback to doing something wrong when libxml2 is configured
not to use icu) -- which makes a 'correct' fix a much larger project
than this simple band-aid.
2019-10-31 17:30:33 -07:00
Chuck
0c999c7521 itstool: 2.0.2 -> 2.0.6
To get python3 support.  #63174 flipped itstool to python3, but itstool
doesn't support python3 until 2.0.3 (and perhaps does not support it
well until 2.0.5).

Pressing forward instead of rolling back at worldofpeace's suggestion,
who mentions that other distros seem to be able to ship recent versions
of itstool.

Tensions in this space seem two-fold.  One set centers around libxml2
being a low-level C library with sharp edges, manual memory management,
and performance concerns; the python libxml2 wrapper being quite thin
(the most dubious character in this drama); and python's sentiment that
it ought to be quite hard to crash the interpreter casually.  This comes
to a head in https://gitlab.gnome.org/GNOME/libxml2/issues/12 , where a
use-after-free problem in idiomatic-looking python code is declared
working-as-designed.

The other set is around python3 being more UTF-8-aware than libxml2's
python wrapper, such as https://bugzilla.gnome.org/show_bug.cgi?id=789714
and https://src.fedoraproject.org/rpms/libxml2/blob/master/f/libxml2-2.9.8-python3-unicode-errors.patch

itstool is caught in this crossfire merely for being a widely-used
python program that uses XML.
2019-10-30 17:32:15 -07:00
Niklas Hambüchen
6b7f343121
Merge pull request #72301 from nh2/polkit-stable-patch-url
polkit: Fix unstable patch URL
2019-10-30 16:27:10 +01:00
Niklas Hambüchen
0e10ad926d polkit: Fix unstable patch URL.
Unmerged upstream merge requests can change when iterated on!
2019-10-30 14:53:09 +01:00
Frederik Rietdijk
be85360e08 pythonPackages.recommonmark: 0.5.0 -> 0.6.0 2019-10-29 19:04:10 +01:00
Markus S. Wamser
5d59133d96 python3Packages.sphinx: 1.8.3 -> 2.2.0
and update the Python 2 version to 1.8.5

Motivation: http://www.sphinx-doc.org/en/master/changes.html#release-2-2-0-released-aug-19-2019
2019-10-29 19:04:10 +01:00
Frederik Rietdijk
860b22f576 libxml2Python: keep using python2
as to not break too much
2019-10-29 19:03:36 +01:00
Jan Malakhovski
4d680f3f3d mpv: enable openal support by default
See the previous commit.
2019-10-29 17:38:07 +01:00
Jan Malakhovski
31cf1ff4ee openalSolf: make it search its own $out for data files
Without those data files HRTF will silently fail to initialize.

It searches /usr and /usr/local by default but we don't have those paths.
It also searches XDG_DATA_DIRS but using that requires configuration by the
user. This patch makes makes it just work.

How to play with it:

- Build `mpv` with `openalSoft` support.

- cat << EOF > ~/.alsoftrc
[general]
hrtf = true
EOF

- Wear stereo headphones.

- Play a file with 6 or more channels with `mpv -ao openal $file`, e.g.
  https://archive.org/download/5.1SurroundSoundTestFilesVariousFormatsAACAC3MP4DTSWAV/5.1%20Surround%20Sound%20AAC%20Test.mp4

- Try `hrtf = false` to hear the difference.
2019-10-29 17:38:07 +01:00
Frederik Rietdijk
ef9f91f3cf Merge staging-next into staging 2019-10-29 16:56:59 +01:00
Frederik Rietdijk
b56e839c45 Merge master into staging-next 2019-10-29 16:56:31 +01:00
José Romildo Malaquias
a3d3864b02
Merge pull request #72174 from danieldk/softmaker-office-972
softmaker-office: 970 -> 972
2019-10-29 11:57:02 -03:00
Vincent Laporte
5a4e67ad03
Merge pull request #72171 from romildo/upd.ocamlearlybird
ocamlPackages.ocamlearlybird: init at 0.1.5; ocamlPackages.angstrom: 0.10.0 -> 0.12.1
2019-10-29 14:31:09 +00:00
Frederik Rietdijk
1155bb1c2f home-assistant: 0.99.2 -> 0.100.3 2019-10-29 15:23:50 +01:00
Frederik Rietdijk
45b1b9dcad home-assistant: move cryptography fix to correct place
fixup after f1d46d094a19e57dd0b20193ace5a51479285a3c
2019-10-29 15:23:50 +01:00
Will Dietz
e96e5f0976 libedit: 20190324 -> 20191025
Version comparison:
https://github.com/dtzWill/libedit-releases/compare/libedit-20190324-3.1...libedit-20191025-3.1
2019-10-29 15:17:28 +01:00
Robin Gloster
36ba92cd1c
Merge pull request #72251 from Izorkin/pango-fix
pango: update sha256 hash
2019-10-29 15:10:52 +01:00
Lancelot SIX
b04d88f346
Merge pull request #72238 from marsam/update-pazi
pazi: 0.3.0 -> 0.4.0
2019-10-29 15:07:19 +01:00
Evils-Devils
5a78ce30d4 Fancontrol: add test etc from #70933 (#72065)
* lm_sensors: add fancontrol module + nixos test

fancontrol is a small script that checks temperature sensors and adapts
fan speeds accordingly. It reads a text config file that can be
auto-generated by running the pwmconfig wizard on the live system.
2019-10-29 15:06:32 +01:00
José Romildo Malaquias
432258f0da ocamlPackages.ocamlearlybird: init at 0.1.5 2019-10-29 10:51:42 -03:00
Izorkin
5a08a25b27 pango: update sha256 hash 2019-10-29 16:42:54 +03:00
Franz Pletz
18b031d58b
Merge pull request #72168 from doronbehar/update-firmware
firmwareLinuxNonfree: 2019-09-23 -> 2019-10-22
2019-10-29 13:41:18 +00:00
Profpatsch
14f812aeef skawarePackages.skalibs: empty default path
If `PATH` is unset, the exec wrappers in skalibs set a default path to
`/usr/bin:bin`.

This has very unfortunate effects when you e.g. try to run tests on CI
in an empty environment (minus tools explicitely provided by nix with
absolute store paths), because suddenly binaries from outside are
picked up again, especially on non-NixOS.
Even on NixOS, /bin/sh provides another escape hatch if it’s available
from PATH. But on systems like Ubuntu or MacOS (which most CI systems
run on), this picks up all the non-nix binaries.
2019-10-29 14:28:53 +01:00
Tim Steinbach
fc6d1e0ebf
jenkins: 2.190.1 -> 2.190.2 2019-10-29 09:20:57 -04:00
Tim Steinbach
50a4b2d676
zoom-us: 3.0.306796.1020 -> 3.0.309708.1027 2019-10-29 09:20:57 -04:00
Tim Steinbach
eafc9de306
linux: 5.3.7 -> 5.3.8 2019-10-29 09:20:57 -04:00
Tim Steinbach
56115337fd
linux: 4.9.197 -> 4.9.198 2019-10-29 09:20:56 -04:00
Tim Steinbach
ccc929b92f
linux: 4.4.197 -> 4.4.198 2019-10-29 09:20:56 -04:00
Tim Steinbach
39aa4c606b
linux: 4.19.80 -> 4.19.81 2019-10-29 09:20:56 -04:00
Tim Steinbach
a68c650a34
linux: 4.14.150 -> 4.14.151 2019-10-29 09:20:56 -04:00
Emery Hemingway
182c16fa1e Revert "rclone: 1.49.5 -> 1.50.0"
This reverts commit aec323c1c01d69af5f9eec81e98b942485907368.

Ref #3685
Ref #72063
2019-10-29 14:18:01 +01:00
Frederik Rietdijk
2db400d8c8 certbot: don't use distutils.StrictVersion 2019-10-29 14:10:56 +01:00
Michael Raskin
298db02d73
Merge pull request #71687 from d-goldin/backport_cve_2019_1010238
pango: 1.43.0, backport CVE-2019-1010238 fix
2019-10-29 13:00:05 +00:00
Frederik Rietdijk
04be5b8911 twitter-color-emoji: mark as broken 2019-10-29 13:53:04 +01:00
Frederik Rietdijk
980d658fbd nixos.tests.fontconfig-default-fonts: remove twitter-color-emoji 2019-10-29 13:53:04 +01:00
Frederik Rietdijk
22c483a793 noto-fonts-emoji: 2018-08-10-unicode11 -> unstable-2019-10-22
update version for python3 compatibility
2019-10-29 13:53:04 +01:00
Frederik Rietdijk
accec23188 pythonPackages.nototools: make python 3 compatible and use that one 2019-10-29 13:53:04 +01:00
Frederik Rietdijk
8d926467be itstool: don't use libxml2Python 2019-10-29 13:47:03 +01:00
Frederik Rietdijk
7850356283 pythonPackages.libxslt: fix reference to output 2019-10-29 13:47:03 +01:00
Frederik Rietdijk
6a97422a75 pythonPackages.libxml: fix reference to output 2019-10-29 13:47:03 +01:00
Frederik Rietdijk
94e4dd8960 libxslt: use python3 for build and as default for bindings
Changing the default may cause breakage, however, users should have already switched to `pythonPackages.libxslt` long ago.
2019-10-29 13:47:03 +01:00
Frederik Rietdijk
a51aa02c78 libxml2: use python3 for build and as default for bindings
Changing the default may cause breakage, however, users should have
already switched to `pythonPackages.libxml2` long ago.
2019-10-29 13:47:03 +01:00
Sascha Grunert
702c745241 conmon: 2.0.0 -> 2.0.2
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-10-29 13:43:05 +01:00
Jonathan Ringer
afce5f5ec4 python3Packages.snuggs: 1.4.3 -> 1.4.7 2019-10-29 13:42:36 +01:00
Valentin Robert
b76193a336 coqPackages.coq-extensible-records: support for coq 8.9 and 8.10 2019-10-29 12:42:22 +00:00
Maximilian Bosch
5b640bfd08
virtmanager{,-qt}: rename to virt-manager{,-qt}
Both the executable and the derivation's pname are named `virt-manager`,
however the attribute name is named `virtmanager` which is pretty
confusing when e.g. using this package with `nix run`.

Thus I renamed the package accordingly and added aliases for
backwards-compatibility (both attributes aren't used somewhere else
in nixpkgs, so the rename should be fine).

Also several other distros use `virt-manager` as package name like
Arch[1], Debian[2] or Fedora[3].

[1] https://www.archlinux.org/packages/community/any/virt-manager/
[2] https://packages.debian.org/buster/virt-manager
[3] https://apps.fedoraproject.org/packages/virt-manager
2019-10-29 13:34:54 +01:00
Robert Scott
0b32782d33 ghostscript: 9.27 -> 9.50 2019-10-29 13:31:22 +01:00
Robert Scott
14e2d5d9a7 jbig2dec: 0.16 -> 0.17 2019-10-29 13:31:22 +01:00
Maximilian Bosch
d1109dac5b
virt-top: 2017-11-18-unstable -> 1.0.9
http://git.annexia.org/?p=virt-top.git;a=blob_plain;f=ChangeLog;hb=4e29d93ac30354743258a7a737ad30dc346a3b38
2019-10-29 13:10:29 +01:00
Sascha Grunert
172601d4bf buildah: 1.11.3 -> 1.11.4
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-10-29 12:13:53 +01:00