Commit graph

49315 commits

Author SHA1 Message Date
Ludovic Courtès
8f417ed280
gnu: commencement: Further optimize the package object graph.
For a package like:

  (define-public xxx
    (package
      (inherit (@ (gnu packages base) coreutils))
      (name "xxx")
      (inputs (@ (gnu packages commencement) %final-inputs))
      (native-inputs '())
      (propagated-inputs '())
      (arguments '(#:implicit-inputs? #f))))

this reduces the package object graph from 176 nodes (1852 edges) to 113
nodes (1114 edges).

The number of 'add-data-to-store' calls in "guix build coreutils -nd"
drops from 2045 to 1301, and the number of memoization tables drops from
102 to 40.

"guix build libreoffice -nd" goes from 2.40s to 2.27s.

* gnu/packages/commencement.scm (with-boot4): New variable.
(guile-final, glibc-utf8-locales-final): Use it.
(with-boot4, with-boot5): New variable.
(gnu-make-final): Rewrite to avoid 'package-with-explicit-inputs'.
(coreutils-final): Use 'with-boot5' instead of
'package-with-explicit-inputs'.
(grep-final): Likewise.
(with-boot6): New variable.
(sed-final, %final-inputs): Use it.
2019-10-14 00:08:10 +02:00
Ludovic Courtès
f618134e4c
build-system/gnu: 'package-with-explicit-inputs' uses 'package-mapping'.
* guix/build-system/gnu.scm (package-with-explicit-inputs): Rename to...
(package-with-explicit-inputs/deprecated): ... this.
(package-with-explicit-inputs*): New procedure.
(package-with-explicit-inputs): Define as a 'case-lambda*'.
2019-10-14 00:08:10 +02:00
Marius Bakke
64855281c1
gnu: librsvg: Update to 2.46.0.
* gnu/packages/gnome.scm (librsvg-next): Update to 2.46.0.
[arguments]: Patch SHELL in "po/Makefile.in.in".
[native-inputs]: Replace RUST-1.27 with RUST-1.34.
2019-10-13 22:49:16 +02:00
Marius Bakke
e436379c94
gnu: expat: Replace with 2.2.9 [fixes CVE-2019-15903].
* gnu/packages/xml.scm (expat-2.2.9): New variable.
(expat)[replacement]: New field.
2019-10-13 22:49:16 +02:00
Marius Bakke
24496210ea
gnu: libgcrypt: Replace with 1.8.5 [fixes CVE-2019-13627].
* gnu/packages/gnupg.scm (libgcrypt-1.8.5): New variable.
(libgcrypt)[replacement]: New field.
2019-10-13 22:49:16 +02:00
Marius Bakke
046915dead
gnu: curl: Replace with 7.66.0 [fixes CVE-2019-5481, CVE-2019-5482].
* gnu/packages/curl.scm (curl-7.66.0): New variable.
(curl)[replacement]: New field.
2019-10-13 22:49:16 +02:00
Marius Bakke
cb867883ea
gnu: nghttp2: Replace with 1.39.2 [fixes CVE-2019-9511, CVE-2019-9513].
* gnu/packages/web.scm (nghttp2-1.39.2): New variable.
(nghttp2)[replacement]: New field.
2019-10-13 22:49:16 +02:00
Marius Bakke
d6718086f8
gnu: OpenSSL@1.0: Replace with 1.0.2t [fixes CVE-2019-1547, CVE-2019-1563].
* gnu/packages/tls.scm (openssl-1.0.2t): New variable.
(openssl-1.0)[replacement]: New field.
2019-10-13 22:49:16 +02:00
Oleg Pykhalov
0475c88d6f
gnu: Add emacs-forge.
* gnu/packages/emacs-xyz.scm (emacs-forge): New variable.
2019-10-13 22:29:42 +03:00
Oleg Pykhalov
735a972eae
gnu: emacs-closql: Update to 1.0.0-1.70b98db.
* gnu/packages/emacs-xyz.scm (emacs-closql): Update to 1.0.0-1.70b98db.
2019-10-13 22:29:42 +03:00
Brian Leung
2485f17256
gnu: emacs-ghub: Update to 3.2.0-1.cf0b13a.
* gnu/packages/emacs-xyz.scm (emacs-ghub): Update to 3.2.0-1.cf0b13a.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2019-10-13 22:29:42 +03:00
Oleg Pykhalov
fd82f7ae9b
gnu: emacs-magit: Update to 2.90.1-2.c761d28.
* gnu/packages/emacs-xyz.scm (emacs-magit): Update to 2.90.1-2.c761d28.
[arguments]: Add patch phase.
2019-10-13 22:29:41 +03:00
Marius Bakke
c2734ff809
gnu: ao: Update to 1.2.2-5-g20dc8ed [fixes CVE-2017-11548].
* gnu/packages/xiph.scm (ao): Update to 1.2.2-5-g20dc8ed.
[source]: Switch to GIT-FETCH.
[native-inputs]: Add AUTOCONF, AUTOMAKE and LIBTOOL.
2019-10-13 18:35:59 +02:00
Marius Bakke
c7adcb7cf8
gnu: ao: Specify CPE name.
* gnu/packages/xiph.scm (ao)[properties]: New field.
2019-10-13 18:35:59 +02:00
Marius Bakke
068d0a1c34
gnu: tcl: Update home page.
* gnu/packages/tcl.scm (tcl)[home-page]: Use HTTPS.
2019-10-13 18:35:59 +02:00
Marius Bakke
a4a70cc4d7
gnu: util-linux: Adjust indentation.
* gnu/packages/linux.scm (util-linux): Re-indent.
2019-10-13 18:35:58 +02:00
Eric Bavier
0163b9002a
gnu: Add pragha.
* gnu/packages/music.scm (pragha): New variable.
2019-10-13 11:08:56 -05:00
Pierre Langlois
55af645605
gnu: easytag: Fix mp3 support.
* gnu/packages/music.scm (easytag)[arguments]: Add 'Name', 'Description' and
'Version' entries to temporary id3tag.pc pkg-config file.  Terminate phases
with #t.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-10-13 13:09:02 +02:00
Pierre Langlois
b5f6700fb4
gnu: id3lib: Apply patch for UTF16 writing bug.
* gnu/packages/patches/id3lib-UTF16-writing-bug.patch: New file.
* gnu/packages/mp3.scm (id3lib)[source](patches): Add it.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-10-13 13:07:44 +02:00
Marius Bakke
bd321df37a
gnu: parted: End phases on #t.
* gnu/packages/disk.scm (parted)[arguments]: End phase on #t and reindent.
2019-10-13 12:53:44 +02:00
Marius Bakke
20e0157333
gnu: parted: Complete the 3.3 update.
Fixes <https://bugs.gnu.org/37721>.
Reported by Jesse Gibbons <jgibbons2357@gmail.com>.

This is a follow-up to commit 6ad7e3578b.

* gnu/packages/patches/parted-glibc-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/disk.scm (parted)[source](patches): Remove.
[native-inputs]: Add E2FSPROGS.
2019-10-13 12:53:44 +02:00
Pierre Neidhardt
b51c402f23
gnu: Add emacs-sly-asdf.
* gnu/packages/emacs-xyz.scm (emacs-sly-asdf): New variable.
2019-10-13 12:49:25 +02:00
Pierre Neidhardt
4dfb02690d
gnu: Add emacs-sly-quicklisp.
* gnu/packages/emacs-xyz.scm (emacs-sly-quicklisp): New variable.
2019-10-13 12:49:25 +02:00
Pierre Neidhardt
e60e1cb244
gnu: emacs-sly: Update to 20191003.
* gnu/packages/emacs-xyz.scm (emacs-sly): Update to 20191003.
[native-inputs]: Add texinfo to build doc.
[arguments]: Include "contrib" and "slink" folders so that SLY can start.
Add "install-doc" phase.
2019-10-13 12:49:25 +02:00
Tobias Geerinckx-Rice
5497d68257
gnu: shotwell: Don't use NAME in source URI.
* gnu/packages/gnome.scm (shotwell)[source]: Hard-code NAME.
2019-10-12 22:16:07 +02:00
Tobias Geerinckx-Rice
a1c6fb52f7
gnu: shotwell: Update to 0.30.7.
* gnu/packages/gnome.scm (shotwell): Update to 0.30.7.
2019-10-12 22:16:07 +02:00
Tobias Geerinckx-Rice
54b74cc668
gnu: eog-plugins: Update to 3.26.4.
* gnu/packages/gnome.scm (eog-plugins): Update to 3.26.4.
2019-10-12 22:16:07 +02:00
Tobias Geerinckx-Rice
6ad7e3578b
gnu: parted: Update to 3.3.
* gnu/packages/disk.scm (parted): Update to 3.3.
2019-10-12 22:16:07 +02:00
Marius Bakke
93ae28c029
gnu: e2fsprogs: Update to 1.45.4 [fixes CVE-2019-5094].
* gnu/packages/linux.scm (e2fsprogs): Update to 1.45.4.
2019-10-12 21:44:26 +02:00
Efraim Flashner
bc0873ef33
gnu: efl: Update to 1.23.1.
* gnu/packages/enlightenment.scm (efl): Update to 1.23.1.
2019-10-12 21:10:28 +03:00
Marius Bakke
9f294736b2
gnu: python-jupyter-kernel-test: Use PYTHON-VERSION.
* gnu/packages/jupyter.scm (python-jupyter-kernel-test)[arguments]: Use
PYTHON-VERSION to determite Python version.
2019-10-12 18:39:58 +02:00
Marius Bakke
ff97c86295
gnu: json-modern-cxx: Update to 3.7.0.
* gnu/packages/cpp.scm (json-modern-cxx): Update to 3.7.0.
[source](snippet): Adjust for new doctest requirement.
[native-inputs]: Add DOCTEST.
[inputs]: Remove CATCH-FRAMEWORK2.
2019-10-12 18:39:58 +02:00
Marius Bakke
e14d8dcff3
gnu: Add doctest.
* gnu/packages/check.scm (doctest): New public variable.
2019-10-12 18:39:58 +02:00
Marius Bakke
196e35794c
gnu: twolame: Update to 0.4.0.
* gnu/packages/audio.scm (twolame): Update to 0.4.0.
[source](snippet): Remove.
2019-10-12 18:39:58 +02:00
Marius Bakke
72e7cba286
gnu: kodi: Update to 18.4.
* gnu/packages/kodi.scm (kodi): Update to 18.4.
2019-10-12 18:39:57 +02:00
Marius Bakke
fa0f774b26
gnu: python-django: Update to 1.11.25 [security fixes].
* gnu/packages/django.scm (python-django): Update to 1.11.25.
2019-10-12 18:39:57 +02:00
Marius Bakke
0effc65cc9
gnu: gRPC: Update description.
* gnu/packages/machine-learning.scm (grpc)[description]: Remove "open source".
2019-10-12 18:39:57 +02:00
Marius Bakke
bd2bd80df8
gnu: FANN: Update description.
* gnu/packages/machine-learning.scm (fann)[description]: Remove "open source".
2019-10-12 18:39:56 +02:00
Marius Bakke
37e47aa73d
gnu: arx-libertatis: Update description.
* gnu/packages/games.scm (arx-libertatis)[description]: Remove "open source".
2019-10-12 18:39:56 +02:00
Marius Bakke
ecfc86a21d
gnu: BOINC: Add a source file name.
While at it, future-proof the URL as well.

* gnu/packages/distributed.scm (boinc-client)[source](file-name): New field.
2019-10-12 18:39:56 +02:00
Marius Bakke
c21dae9b89
gnu: BOINC: Update license.
* gnu/packages/distributed.scm (boinc-client)[license]: Add LGPL3+.
2019-10-12 18:39:56 +02:00
Marius Bakke
d72bfe075c
gnu: BOINC: Remove redundant comment.
* gnu/packages/distributed.scm (boinc-client)[description]: Don't mention
license terms.
2019-10-12 18:39:55 +02:00
wednesday
5ce153b110
gnu: emacs: Add mailutils to inputs.
* gnu/packages/emacs.scm (emacs)[inputs]: Add mailutils.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-10-12 16:29:50 +02:00
Tobias Geerinckx-Rice
c6a99354f3
gnu: mailutils: Update to 3.7.
* gnu/packages/mail.scm (mailutils): Update to 3.7.
2019-10-12 16:29:50 +02:00
Tobias Geerinckx-Rice
bf92ba6b7b
gnu: amtk: Don't use NAME in source URI.
* gnu/packages/gnome.scm (amtk)[source]: Hard-code NAME.
2019-10-12 16:29:49 +02:00
Tobias Geerinckx-Rice
09c4e43f81
gnu: amtk: Update to 5.0.1.
* gnu/packages/gnome.scm (amtk): Update to 5.0.1.
2019-10-12 16:29:49 +02:00
Tobias Geerinckx-Rice
bae08e22dc
gnu: lightning: Update to 2.1.3.
* gnu/packages/assembly.scm (lightning): Update to 2.1.3.
2019-10-12 16:29:49 +02:00
Reza Alizadeh Majd
748ca12f97
gnu: Add uchardet.
* gnu/packages/freedesktop.scm (uchardet): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-10-12 15:18:26 +02:00
Sergei Trofimovich
e4892ae367
gnu: re2c: Update to 1.2.1.
* gnu/packages/re2c.scm (re2c): Update to 1.2.1.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-10-12 15:18:26 +02:00
Ludovic Courtès
dab669e075
gnu: ld-wrapper: Memoize.
The command:

  guix graph -e '(@@ (gnu packages commencement) coreutils-final)'

now shows 93 nodes (992 edges) instead of 176 nodes (1241 edges).

* gnu/packages/commencement.scm (ld-wrapper-boot0): Use 'mlambda'
instead of 'lambda'.
(ld-wrapper-boot3): Likewise.
2019-10-12 15:18:25 +02:00