Commit graph

49749 commits

Author SHA1 Message Date
Pierre Neidhardt
ffe059afb5
doc: Finish importing the "Packaging Tutorial".
* doc/guix-cookbook.texi (Packaging Tutorial): Import all sections after the
  Scheme crash course.
2019-10-28 11:09:19 +01:00
Pierre Neidhardt
f6c27c5541
doc: Fix some typos in "Guix Profiles in Practice".
* doc/guix-cookbook.texi (Guix Profiles in Practice): Fix typos.
2019-10-28 11:09:18 +01:00
Hartmut Goebel
e30808ddb3
gnu: weasyprint: Add note to patch.
* gnu/packages/patches/weasyprint-library-paths.patch: Add note.
2019-10-28 09:36:44 +01:00
Tobias Geerinckx-Rice
85f8fb75ee
gnu: wireshark: Update to 3.0.6.
* gnu/packages/networking.scm (wireshark): Update to 3.0.6.
2019-10-28 00:45:14 +01:00
Tobias Geerinckx-Rice
ea46f9c97c
gnu: btrfs-progs: Update to 5.3.1.
* gnu/packages/linux.scm (btrfs-progs): Update to 5.3.1.
2019-10-28 00:14:35 +01:00
Tobias Geerinckx-Rice
3cbf3f7459
gnu: ghc-xmonad-contrib: Update to 0.16.
* gnu/packages/wm.scm (ghc-xmonad-contrib): Update to 0.16.
2019-10-28 00:14:34 +01:00
Tobias Geerinckx-Rice
ee51577325
gnu: python-ipython: Update to 7.9.0.
* gnu/packages/python-xyz.scm (python-ipython): Update to 7.9.0.
2019-10-28 00:14:34 +01:00
Tobias Geerinckx-Rice
1219a7cc05
gnu: bitcoin-core: Update to 0.18.1.
* gnu/packages/finance.scm (bitcoin-core): Update to 0.18.1.
2019-10-27 23:58:58 +01:00
Tobias Geerinckx-Rice
447b61d4cf
gnu: fetchmail: Use HTTPS home page.
* gnu/packages/mail.scm (fetchmail)[home-page]: Use HTTPS.
2019-10-27 23:52:58 +01:00
Tobias Geerinckx-Rice
271b3c9d16
gnu: fetchmail: Update to 6.4.1.
* gnu/packages/mail.scm (fetchmail): Update to 6.4.1.
[source]: Parameterize URI.
[arguments]: Add ‘create-test-environment’ phase.
2019-10-27 23:46:14 +01:00
Tobias Geerinckx-Rice
6c5401fca8
gnu: telepathy-mission-control: Update to 5.16.5.
* gnu/packages/freedesktop.scm (telepathy-mission-control): Update to 5.16.5.
2019-10-27 23:46:14 +01:00
Tobias Geerinckx-Rice
da42873c18
gnu: telepathy-mission-control: Don't use NAME in source URI.
* gnu/packages/freedesktop.scm (telepathy-mission-control)[source]: Hard-code NAME.
2019-10-27 23:46:14 +01:00
Ludovic Courtès
b13b9384bc
news: Add entry for /etc/guix/channels.scm.
* etc/news.scm: Add entry to /etc/guix/channels.scm.
2019-10-27 23:11:39 +01:00
Ludovic Courtès
49af34cfac
pull: Honor '/etc/guix/channels.scm'.
* guix/scripts/pull.scm (channel-list)[global-file]: New variable.
[channels]: Honor it.
* doc/guix.texi (Invoking guix pull): Document it.
2019-10-27 23:05:01 +01:00
Ludovic Courtès
b74ed90916
channels: Refer to 'guile-json-3'.
Fixes a regression introduced in 84af1e7402.

* guix/channels.scm (whole-package-for-legacy): Refer to GUILE-JSON-3,
not GUILE-JSON.
2019-10-27 23:05:01 +01:00
Ludovic Courtès
ac19950507
gnu: bootstrap: Cache the 'bootstrap-executable' origins.
This reduces the number of lookups in the 'add-data-to-store' cache from
2705 to 2685 (hit rate: 10% to 9%) when running:

  GUIX_PROFILING=add-data-to-store-cache guix build libreoffice -nd

* gnu/packages/bootstrap.scm (raw-build)[->store]: Use 'lower-object'
instead of 'origin->derivation'.  This allows the origin-to-derivation
mapping to be cached.
2019-10-27 23:05:01 +01:00
Ludovic Courtès
5166d02730
gnu: bootstrap: 'bootstrap-origin' preserves eq?-ness when no changes are made.
This reduces the number of lookups in the 'add-data-to-store' cache from
2743 to 2705 (hit rate: 11% to 10%) when running

  GUIX_PROFILING=add-data-to-store-cache guix build libreoffice -nd

The execution time of "guix build libreoffice -nd" goes from 1.80s to 1.78s.

* gnu/packages/bootstrap.scm (bootstrap-origin): Return SOURCE unchanged
when its has no patches and no snippet.
2019-10-27 23:05:00 +01:00
Ludovic Courtès
d727a9343d
derivations: Don't memoize 'derivation->bytevector'.
Its hit rate was only 8%.  Removing it reduces heap size of "guix build
libreoffice -nd" from 69MiB to 61MiB and the wall-clock time is unchanged.

* guix/derivations.scm (derivation->bytevector): Change from 'mlambda'
to 'lambda'.
2019-10-27 23:05:00 +01:00
Ludovic Courtès
f5fca9a82c
gexp: Cache the module to derivation mappings.
This reduces the number of 'add-data-to-store' cache lookups from 3329
to 2743 (hit rate: 27% to 11%) when running:

  GUIX_PROFILING=add-data-to-store-cache guix build libreoffice -nd

Execution time of "guix build libreoffice -nd" goes from 1.86s to 1.80s.

* guix/gexp.scm (imported+compiled-modules): Wrap body in 'mcached'.
2019-10-27 23:05:00 +01:00
Ludovic Courtès
c57e417eff
store: Allow objects in the cache to be inserted and search for with 'equal?'.
* guix/store.scm (cache-object-mapping): Add #:vhash-cons parameter and
honor it.
(lookup-cached-object): Add #:vhash-fold* parameter and honor it.
(%mcached): Add #:vhash-fold* and #:vhash-cons and honor them.
(mcached): Add clauses with 'eq?' and 'equal?' as the first argument.
2019-10-27 23:05:00 +01:00
Ludovic Courtès
f58b45350b
gexp: Add 'imported+compiled-modules'.
* guix/gexp.scm (imported+compiled-modules): New procedure.
(lower-gexp): Use it instead of separate calls to 'imported-modules' and
'compiled-modules'.
2019-10-27 23:05:00 +01:00
Ludovic Courtès
f726f6f802
derivations: 'build-expression->derivation' caches its module derivations.
This reduces the number of lookups in the 'add-data-to-store' cache from
7505 to 3329 (hit rate from 68% to 27%) when running:

  GUIX_PROFILING=add-data-to-store-cache guix build libreoffice -nd

The execution time of "guix build libreoffice -nd" goes from 2.12s to 1.87s.

* guix/derivations.scm (%module-cache): New variable.
(imported+compiled-modules)[key]: New variable.
Lookup KEY in %MODULE-CACHE and populate %MODULE-CACHE upon cache miss.
2019-10-27 23:04:59 +01:00
Ludovic Courtès
cf7648f882
derivations: Introduce 'imported+compiled-modules'.
* guix/derivations.scm (imported+compiled-modules): New procedure.
(build-expression->derivation): Use it instead of separate calls to
'%imported-modules' and '%compiled-modules'.
2019-10-27 23:04:59 +01:00
Tobias Geerinckx-Rice
6d18427fa5
gnu: postgis: Update to 2.4.8.
* gnu/packages/geo.scm (postgis): Update to 2.4.8.
2019-10-27 22:45:39 +01:00
Tobias Geerinckx-Rice
da107cf5be
gnu: python-cftime: Update to 1.0.4.2.
* gnu/packages/python-xyz.scm (python-cftime): Update to 1.0.4.2.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice
8f803775a6
gnu: libmicrohttpd: Update to 0.9.68.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.68.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice
6bc0bed188
gnu: retroarch: Update to 1.8.0.
* gnu/packages/emulators.scm (retroarch): Update to 1.8.0.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice
ca1f4b19e9
gnu: unbound: Update to 1.9.4.
* gnu/packages/dns.scm (unbound): Update to 1.9.4.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice
c34d0cd812
gnu: libasr: Don't use NAME in source URI.
* gnu/packages/dns.scm (libasr)[source]: Hard-code NAME.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice
a3dd88710f
gnu: python-pathpy: Update to 11.5.1.
* gnu/packages/python-xyz.scm (python-pathpy): Update to 11.5.1.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice
4ba097b35f
gnu: perl-io-captureoutput: Update to 1.1105.
* gnu/packages/perl.scm (perl-io-captureoutput): Update to 1.1105.
2019-10-27 22:19:31 +01:00
Efraim Flashner
07c9fd36d6
gnu: Merge all crates into (gnu packages crates-io).
* gnu/packages/rust-cbindgen.scm: Move all crates ...
* gnu/packages/crates-io.scm: ... to here.
2019-10-27 22:38:16 +02:00
Efraim Flashner
86e443c71d
gnu: Convert all rust crates to new format.
* gnu/packages/crates-io.scm: Rename all packages to contain version
string.
[source]: Rename all downloaded files to use '.crate'.
[arguments]: Remove all cargo-inputs and cargo-development-inputs.
Comment out all custom phases to link to external libraries.
[native-inputs, inputs]: Comment out all inputs.
[properties]: Mark all packages hidden.
2019-10-27 22:34:53 +02:00
Tobias Geerinckx-Rice
3a428dd63a
gnu: meld: Wrap with Glib or Gtk path variables.
Fixes the example given at <https://issues.guix.gnu.org/issue/37942>.

* gnu/packages/gnome.scm (meld)[inputs]: Add gsettings-desktop-schemas.
[arguments]: Add (guix build glib-or-gtk-build-system) to #:modules
and #:imported-modules.  Use its ‘glib-or-gtk-wrap’ phase.
2019-10-27 18:57:25 +01:00
Ricardo Wurmus
40645ebb71
gnu: Add pam-u2f.
* gnu/packages/security-token.scm (pam-u2f): New variable.
2019-10-27 17:04:26 +01:00
Tobias Geerinckx-Rice
e2d14ee97c
gnu: keepassxc: Don't use NAME in source URI.
* gnu/packages/password-utils.scm (keepassxc)[source]: Hard-code NAME.
2019-10-27 15:20:12 +01:00
Tobias Geerinckx-Rice
eb28d9cf8d
gnu: mpg123: Update to 1.25.13.
* gnu/packages/mp3.scm (mpg123): Update to 1.25.13.
2019-10-27 15:20:12 +01:00
Tobias Geerinckx-Rice
17334e000e
gnu: mpv: Update to 0.30.0.
* gnu/packages/video.scm (mpv): Update to 0.30.0.
[arguments]: Remove obsolete #:configure-flags.
2019-10-27 15:20:12 +01:00
Efraim Flashner
ac1b080107
gnu: git-annex: Build with S3 support.
* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Enable S3 in
configure-flags.
[inputs]: Add ghc-aws.
2019-10-27 14:41:12 +02:00
Guillaume Le Vaillant
d50f2b7a09
gnu: gramps: Update to 5.1.1.
* gnu/packages/genealogy.scm (gramps): Update to 5.1.1.
[inputs]: Add cairo.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-10-27 12:55:52 +02:00
Leo Prikler
b901a56615
gnu: meld: Fix startup.
* /gnu/packages/patchutils.scm: (meld)[inputs]: Replace gtksourceview with
gtksourceview-3.
[arguments]<#:phases>[wrap-typelib]: New phase.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-10-27 10:50:36 +01:00
Marius Bakke
2a19c0deb1
gnu: nginx: Update to 1.17.5.
* gnu/packages/web.scm (nginx): Update to 1.17.5.
2019-10-27 10:10:48 +01:00
Marius Bakke
5fd4d02666
gnu: dav1d: Update to 0.5.1.
* gnu/packages/patches/dav1d-aarch64-symbol-alignment.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/video.scm (dav1d): Update to 0.5.1.
[source](patches): Remove.
2019-10-27 10:10:23 +01:00
Efraim Flashner
24adcbab0a
gnu: keepassxc: Update to 2.5.0.
* gnu/packages/password-utils.scm (keepassxc): Update to 2.5.0.
[arguments]: Enable all extra features, except for update checking.
[inputs]: Add libyubikey, quazip, readline, yubikey-personalization.
Remove curl.
[license]: Update comment.
2019-10-27 10:36:50 +02:00
Ricardo Wurmus
871c5d61ce
gnu: r-car: Update to 3.0-4.
* gnu/packages/statistics.scm (r-car): Update to 3.0-4.
2019-10-27 08:34:53 +01:00
Ricardo Wurmus
9b46efc56a
gnu: r-rlang: Update to 0.4.1.
* gnu/packages/statistics.scm (r-rlang): Update to 0.4.1.
2019-10-27 08:34:46 +01:00
Ricardo Wurmus
bdce983a25
gnu: r-digest: Update to 0.6.22.
* gnu/packages/statistics.scm (r-digest): Update to 0.6.22.
2019-10-27 08:34:41 +01:00
Ricardo Wurmus
b8731d03a7
gnu: r-mgcv: Update to 1.8-30.
* gnu/packages/statistics.scm (r-mgcv): Update to 1.8-30.
2019-10-27 08:34:36 +01:00
Ricardo Wurmus
9538014aa9
gnu: r-jpeg: Update to 0.1-8.1.
* gnu/packages/image.scm (r-jpeg): Update to 0.1-8.1.
2019-10-27 08:34:29 +01:00
Ricardo Wurmus
0eed4fde45
gnu: r-dalex: Update to 0.4.9.
* gnu/packages/cran.scm (r-dalex): Update to 0.4.9.
2019-10-27 08:34:14 +01:00