Commit Graph

28917 Commits

Author SHA1 Message Date
Ludovic Courtès 3c14e7e6bb
linux-modules: Use 'load-linux-module/fd'.
This should be more efficient than loading the whole thing in user space.

* gnu/build/linux-modules.scm (load-linux-module*): Use
'load-linux-module/fd' instead of 'load-linux-module'.  Remove 'slurp'.
2018-02-28 22:47:48 +01:00
Ludovic Courtès 4c853b7c11
gnu: guile-static-stripped: Add 'finit_module' wrapper.
* gnu/packages/patches/guile-linux-syscalls.patch: Add
'load-linux-module/fd' procedure.
2018-02-28 22:47:48 +01:00
Ludovic Courtès 63e48300d1
gnu: guile-static-stripped: Remove dependency on bash-minimal.
Previously guile-static-stripped, which is embedded in the initrd, would
depend on 'bash-minimal' and 'glibc'; the closure size was 77 MiB.  Now
the closure size is down to 45.7 MiB.

Reported by Danny Milosavljevic <dannym@scratchpost.org> in
<https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00505.html>.

* gnu/packages/make-bootstrap.scm (%guile-static): Remove the
'pre-configure' phase.
(%guile-static-stripped)[arguments]: Add #:allowed-references.
2018-02-28 22:47:48 +01:00
Ludovic Courtès 297602513b
build-system/trivial: Add support for #:allowed-references.
* guix/build-system/trivial.scm (lower): Add #:allowed-references and
keep it in the 'arguments' field.
(trivial-build): Add #:allowed-references.  Add
'canonicalize-reference'.  Pass #:allowed-references to
'build-expression->derivation'.
(trivial-cross-build): Likewise.
* tests/packages.scm ("trivial with #:allowed-references"): New test.
2018-02-28 22:47:42 +01:00
Efraim Flashner bcc6551083
gnu: ccl: Patch absolute file-name.
* gnu/packages/lisp.scm (ccl)[arguments]: In 'pre-build add substitution
for /bin/pwd.
2018-02-28 22:11:21 +02:00
Efraim Flashner da1b30bd93
gnu: keepassxc: Enable various plugins.
* gnu/packages/password-utils.scm (keepassxc)[arguments]: Add
configure-flags to enable favicons, browser integration and ssh-agent.
[inputs]: Add curl, libsodium.
2018-02-28 22:11:21 +02:00
Efraim Flashner 3374dcc78c
gnu: keepassxc: Update to 2.3.0.
* gnu/packages/password-utils.scm (keepassxc): Update to 2.3.0.
2018-02-28 22:11:17 +02:00
Marius Bakke 53453d7acc
gnu: wavpack: Fix CVE-2018-6767.
* gnu/packages/patches/wavpack-CVE-2018-6767.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/audio.scm (wavpack)[source](patches): Add it.
2018-02-28 20:29:46 +01:00
Marius Bakke 6b3ee23b7a
gnu: ldb: Update to 1.3.2.
* gnu/packages/samba.scm (ldb): Update to 1.3.2.
2018-02-28 20:17:31 +01:00
Marius Bakke 954b677195
gnu: p11-kit: Update to 0.23.10.
* gnu/packages/tls.scm (p11-kit): Update to 0.23.10.
2018-02-28 20:13:41 +01:00
Marius Bakke f03ec1e595
gnu: feh: Update to 2.24.
* gnu/packages/image-viewers.scm (feh): Update to 2.24.
2018-02-28 20:01:03 +01:00
Alex Vong 6f45e45d4d
gnu: Add youtube-viewer.
* gnu/packages/video.scm (youtube-viewer): New public variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2018-02-28 16:59:55 +01:00
Alex Vong b5bbcda3ee
gnu: Add perl-gtk2.
* gnu/packages/gtk.scm (perl-gtk2): New public variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2018-02-28 16:59:55 +01:00
Alex Vong ee6911c7c0
gnu: Add perl-pango.
* gnu/packages/gtk.scm (perl-pango): New public variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2018-02-28 16:59:55 +01:00
Alex Vong 451f6e30eb
gnu: Add perl-glib.
* gnu/packages/glib.scm (perl-glib): New public variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2018-02-28 16:57:33 +01:00
Alex Vong 4e028d7ad2
gnu: Add perl-cairo.
* gnu/packages/gtk.scm (perl-cairo): New public variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2018-02-28 16:57:33 +01:00
Marius Bakke b0a2c9cbe9
gnu: python-webencodings: Update to 0.5.1.
* gnu/packages/python-web.scm (python-webencodings): Update to 0.5.1.
2018-02-28 16:02:55 +01:00
Marius Bakke 4ef80b2f58
gnu: python-html5lib: Update to 1.0.1.
* gnu/packages/python-web.scm (python-html5lib): Update to 1.0.1.
2018-02-28 16:01:43 +01:00
Marius Bakke a846f29dff
gnu: python-netifaces: Update to 0.10.6.
* gnu/packages/python.scm (python-netifaces): Update to 0.10.6.
[source](uri): Use PYPI-URI.
[home-page]: Update.
2018-02-28 15:40:44 +01:00
Marius Bakke fb2477f6d2
gnu: python-psutil: Update to 5.4.3.
* gnu/packages/python.scm (python-psutil): Update to 5.4.3.
[properties]: Declare python2 variant.
(python2-psutil): Propagate PYTHON2-ENUM34.
2018-02-28 14:17:55 +01:00
Marius Bakke 836de07a47
gnu: python-wrapt: Update to 1.10.11.
* gnu/packages/python.scm (python-wrapt): Update to 1.10.11.
2018-02-28 13:59:03 +01:00
Marius Bakke f8a4547c29
gnu: python-oslo.log: Update to 3.36.0.
* gnu/packages/openstack.scm (python-oslo.log): Update to 3.36.0.
[source](uri): Use PYPI-URI.
[arguments]: Remove.
[propagated-inputs]: Add PYTHON-DATEUTIL, PYTHON-MONOTONIC, PYTHON-PBR and
PYTHON-PYINOTIFY.
[native-inputs]: Remove PYTHON-BABEL, PYTHON-ISO8601 and PYTHON-PBR.  Add
PYTHON-SUBUNIT, PYTHON-TESTREPOSITORY and PYTHON-TESTTOOLS.
2018-02-28 13:59:03 +01:00
Marius Bakke db3e631db8
gnu: python-monotonic: Update to 1.4.
* gnu/packages/time.scm (python-monotonic): Update to 1.4.
[source]: Use PYPI-URI.
[arguments]: Explicitly disable tests.
2018-02-28 13:59:03 +01:00
Marius Bakke 2441239842
gnu: python-msgpack: Run the tests.
* gnu/packages/python.scm (python-msgpack)[arguments]: Add #:modules.  Replace
CHECK-PHASE with pytest invocation.
[native-inputs]: Add PYTHON-PYTEST.
2018-02-28 13:59:03 +01:00
Marius Bakke 0075644662
gnu: python-msgpack: Update to 0.5.6.
* gnu/packages/python.scm (python-msgpack): Update to 0.5.6.
[source, home-page]: Adjust to msgpack-python->msgpack rename.
2018-02-28 13:59:02 +01:00
Marius Bakke caf3713ad5
gnu: python-oslo.serialization: Update to 2.24.0.
* gnu/packages/openstack.scm (python-oslo.serialization): Update to 2.24.0.
[arguments]: Remove field.
[propagated-inputs]: Remove PYTHON-ISO8601 and PYTHON-SIMPLEJSON.  Add
PYTHON-MSGPACK.
[native-inputs]: Remove PYTHON-BABEL.
[properties]: New field.
(python2-oslo.serialization)[native-inputs]: Add PYTHON2-IPADDRESS.
2018-02-28 13:59:02 +01:00
Marius Bakke 32bb0c617b
gnu: python-oslo.context: Update to 2.20.0.
* gnu/packages/openstack.scm (python-oslo.context): Update to 2.20.0.
[propagated-inputs]: Add PYTHON-DEBTCOLLECTOR and PYTHON-PBR.
[native-inputs]: Remove PYTHON-PBR, PYTHON-COVERAGE, PYTHON-MOCK,
PYTHON-OS-CLIENT-CONFIG, PYTHON-OSLOSPHINX and PYTHON-SPHINX.  Add
PYTHON-FIXTURES.
2018-02-28 13:59:02 +01:00
Marius Bakke 24f4400aa6
gnu: Add python-pyinotify.
* gnu/packages/python.scm (python-pyinotify, python2-pyinotify): New
variables.
2018-02-28 13:59:02 +01:00
Marius Bakke b51fbd6d6e
gnu: python-oslo.utils: Update to 3.35.0.
* gnu/packages/openstack.scm (python-oslo.utils): Update to 3.35.0.
[source](snippet): Remove.
[propagated-inputs]: Add PYTHON-PYPARSING.
[native-inputs]: Add PYTHON-DDT, PYTHON-FIXTURES, PYTHON-TESTREPOSITORY and
PYTHON-TESTTOOLS.  Remove PYTHON-MOX3.
2018-02-28 13:59:02 +01:00
Marius Bakke 9e4546a2be
gnu: python-oslo.config: Update to 5.2.0.
* gnu/packages/openstack.scm (python-oslo.config): Update to 5.2.0.
[source](uri): Use PYPI-URI.
[arguments]: Remove field.
[propagated-inputs]: Add PYTHON-DEBTCOLLECTOR, PYTHON-OSLO.I18N, PYTHON-PBR,
PYTHON-RFC3986 and PYTHON-PYYAML.
[native-inputs]: Remove PYTHON-PBR and PYTHON-I18N.  Add PYTHON-BANDIT,
PYTHON-COVERAGE, PYTHON-OPENSTACKDOCSTHEME, PYTHON-RENO, PYTHON-SPHINX-1.6,
PYTHON-TESTREPOSITORY and PYTHON-TESTTOOLS.
2018-02-28 13:59:02 +01:00
Marius Bakke a2803e206b
gnu: python-debtcollector: Update to 1.19.0.
* gnu/packages/openstack.scm (python-debtcollector): Update to 1.19.0.
[arguments]: Remove field.
[propagated-inputs]: Add PYTHON-PBR.
[native-inputs]: Remove PYTHON-PBR and PYTHON-BABEL.  Add PYTHON-SUBUNIT,
PYTHON-TESTREPOSITORY and PYTHON-TESTTOOLS.
[properties]: Declare python2 variant.
(python2-debtcollector)[propaged-inputs]: Add PYTHON-FUNCSIGS.
2018-02-28 13:59:02 +01:00
Marius Bakke c822e880fe
gnu: python-oslo.i18n: Update to 3.19.0.
* gnu/packages/openstack.scm (python-oslo.i18n): Update to 3.19.0.
[arguments]: Remove field.
2018-02-28 13:59:01 +01:00
Marius Bakke 231bd07e8d
gnu: python-bandit: Update to 1.4.0.
* gnu/packages/openstack.scm (python-bandit): Update to 1.4.0.
[source](uri): Use PYPI-URI.
[arguments]: Run CHECK-PHASE after INSTALL-PHASE.
[propagated-inputs]: Remove PYTHON-APPDIRS.  Add PYTHON-GITPYTHON.
[native-inputs]: Remove PYTHON-PBR.  Add PYTHON-BEAUTIFULSOUP4,
PYTHON-OSLOTEST and PYTHON-SUBUNIT.
2018-02-28 13:59:01 +01:00
Marius Bakke 8e6177204e
gnu: Add python-gitpython.
* gnu/packages/version-control.scm (python-gitpython, python2-gitpython): New
public variables.
2018-02-28 13:59:01 +01:00
Marius Bakke ea4be20af0
gnu: Add python-gitdb.
* gnu/packages/version-control.scm (python-gitdb, python2-gitdb): New public
variables.
2018-02-28 13:59:01 +01:00
Marius Bakke 1cccdca231
gnu: python-stevedore: Update to 1.28.0.
* gnu/packages/openstack.scm (python-stevedore): Update to 1.28.0.
[propagated-inputs]: Add PYTHON-PBR.
[native-inputs]: Remove PYTHON-PBR, PYTHON-DISCOVER, PYTHON-DOCUTILS,
PYTHON-OSLOSPHINX and PYTHON-OSLOTEST.  Replace PYTHON-SPHINX with
PYTHON-SPHINX-1.6.
2018-02-28 13:59:01 +01:00
Marius Bakke 3e3302acc5
gnu: Add python-rfc3986.
* gnu/packages/python.scm (python-rfc3986, python2-rfc3986): New public
variables.
2018-02-28 13:59:01 +01:00
Marius Bakke 79d9effa51
gnu: python2-stevedore: Enable tests.
* gnu/packages/openstack.scm (python-stevedore)[properties]: Remove.
(python2-stevedore)[arguments]: Remove.
2018-02-28 13:59:00 +01:00
Marius Bakke 8fa28808a6
gnu: python-oslo.context: Enable tests.
* gnu/packages/openstack.scm (python-oslo.context)[arguments]: Remove.
2018-02-28 13:59:00 +01:00
Marius Bakke 39033c8f57
gnu: python2-bandit: Enable tests.
* gnu/packages/openstack.scm (python-bandit)[properties]: Remove.
(python2-bandit): Don't use STRIP-PYTHON2-VARIANT.
2018-02-28 13:59:00 +01:00
Marius Bakke 0ab4c39285
gnu: python2-swiftclient: Enable tests.
* gnu/packages/openstack.scm (python-swiftclient)[properties]: Declare python2
variant.
(python2-swiftclient): Use STRIP-PYTHON2-VARIANT.
[propagated-inputs]: Remove PYTHON2-REQUESTS.
[arguments]: Remove.
[native-inputs]: Delete.
2018-02-28 13:59:00 +01:00
Marius Bakke b39667cdcb
gnu: python-mox3: Update to 0.24.0.
* gnu/packages/openstack.scm (python-mox3): Update to 0.24.0.
[source](patches): New field.
[arguments]: Remove.
[native-inputs]: Add PYTHON-OPENSTACKDOCSTHEME and PYTHON-SUBUNIT.  Replace
PYTHON-SPHINX with PYTHON-SPHINX-1.6.  Move PYTHON-PBR and PYTHON-FIXTURES ...
[propagated-inputs]: ... here.  New field.
[description]: Don't mention explicit Python versions.
* gnu/packages/patches/python-mox3-python3.6-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2018-02-28 13:59:00 +01:00
Marius Bakke 7a565dc9ec
gnu: Add python-openstackdocstheme.
* gnu/packages/openstack.scm (python-openstackdocstheme,
python2-openstackdocstheme): New public variables.
2018-02-28 13:59:00 +01:00
Marius Bakke 3719d0edf2
gnu: python-sphinx@1.6: Add python2 variant.
* gnu/packages/python.scm (python-sphinx-1.6)[properties]: Declare python2 variant.
(python2-sphinx-1.6): New public variable.
2018-02-28 13:58:43 +01:00
Marius Bakke 9c77852e19
gnu: python-fixtures: Update to 3.0.0.
* gnu/packages/check.scm (python-fixtures-bootstrap): Update to 3.0.0.
2018-02-28 13:58:43 +01:00
Marius Bakke d2ae66b756
gnu: python-reno: Update to 2.7.0.
* gnu/packages/openstack.scm (python-reno): Update to 2.7.0.
[propagated-inputs]: Remove PYTHON-BABEL.  Add PYTHON-PBR.
[native-inputs]: Remove PYTHON-PBR and PYTHON-OSLOTEST.  Add PYTHON-DOCUTILS
and PYTHON-SPHINX.
2018-02-28 13:58:43 +01:00
Marius Bakke be3f88c29c
gnu: python-oslotest: Update to 3.2.0.
* gnu/packages/openstack.scm (python-oslotest): Update to 3.2.0.
[source](uri): Use PYPI-URI.
[native-inputs]: Move PYTHON-OS-CLIENT-CONFIG, PYTHON-SIX, PYTHON-SUBUNIT,
PYTHON-TESTREPOSITORY and PYTHON-TESTTOOLS ...
[propagated-inputs]: ... here.
[properties]: Remove field.
(python2-oslotest)[arguments]: Remove.
2018-02-28 13:58:43 +01:00
Marius Bakke ae565a9a6d
gnu: python-testscenarios: Update to 0.5.0.
* gnu/packages/check.scm (python-testscenarios-bootstrap): Update to 0.5.0.
[source](uri): Use PYPI-URI.
[arguments]: Replace CHECK-PHASE.
[propagated-inputs]: Add PYTHON-PBR-MINIMAL.
(python-testscenarios)[propagated-inputs]: Add PYTHON-PBR.
2018-02-28 13:58:43 +01:00
Marius Bakke 8b93f7e437
gnu: python-testtools: Update to 2.3.0.
* gnu/packages/check.scm (python-testtools-bootstrap,
python2-testtools-bootstrap): New public variables.
(python-testtools): Inherit.
[arguments]: Remove old.  Replace CHECK-PHASE with custom command.
[propagated-inputs]: Add PYTHON-FIXTURES, PYTHON-PBR, PYTHON-SIX,
PYTHON-TRACEBACK2 and PYTHON-UNITTEST2.
[native-inputs]: Add PYTHON-TESTSCENARIOS-BOOTSTRAP.
(python-testscenarios-bootstrap, python2-testscenarios-bootstrap): New public
variables.
(python-testscenarios): Adjust accordingly.
[propagated-inputs]: Replace PYTHON-TESTTOOLS with PYTHON-TESTTOOLS-BOOTSTRAP.
(python-subunit-bootstrap, python2-subunit-bootstrap): New public variables.
(python-subunit): Inherit.
(python-fixtures-bootstrap)[native-inputs]: Replace PYTHON-TESTTOOLS with
PYTHON-TESTTOOLS-BOOTSTRAP.
(python-testrepository-bootstrap)[native-inputs]: Replace PYTHON-SUBUNIT and
PYTHON-TESTTOOLS with PYTHON-SUBUNIT-BOOTSTRAP and PYTHON-TESTTOOLS-BOOTSTRAP.
* gnu/packages/python.scm (python-pbr)[native-inputs]: Replace
PYTHON-TESTSCENARIOS and PYTHON-TESTTOOLS with
PYTHON-TESTSCENARIOS-BOOTSTRAP and PYTHON-TESTTOOLS-BOOTSTRAP.
2018-02-28 13:58:43 +01:00
Marius Bakke 881ed3f868
gnu: python-extras: Update to 1.0.0.
* gnu/packages/python.scm (python-extras): Update to 1.0.0.
[source](uri): Use PYPI-URI.
2018-02-28 13:58:43 +01:00