Commit graph

72258 commits

Author SHA1 Message Date
Christopher Baines
681af17460
guix: Move narinfo code from substitute script to module.
This separation between the code for dealing with narinfos from the code doing
that for a purpose should make things clearer, and better support components
other that the substitute script in using this code.

This is just moving the code around, no code should have been significantly
changed.

* guix/scripts/substitute.scm (<narinfo>): Move record type to (guix narinfo).
(fields->alist, narinfo-hash-algorithm+value, narinfo-hash->sha256,
narinfo-signature->canonical-sexp, narinfo-maker, read-narinfo,
narinfo-sha256, valid-narinfo?, write-narinfo, narinfo->string,
string->narinfo, equivalent-narinfo?, supported-compression?,
compresses-better?, narinfo-best-uri): Move procedures to (guix narinfo).
(%compression-methods): Move variable to (guix narinfo).
* guix/narinfo.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add 'guix/narinfo.scm'.
2021-01-16 11:51:03 +00:00
Christopher Baines
35e0c0cf1d
substitute: Untangle skipping authentication from valid-narinfo?.
Rather than having valid-narinfo? evaluate to #t if
%allow-unauthenticated-substitutes? is set to #t, just use (const #t) for
valid-narinfo? when %allow-unauthenticated-substitutes? is set to #t.  This
will allow moving valid-narinfo? in to a (guix substitutes) module.

* guix/scripts/substitute.scm (process-query, process-substitution): Change
the authorized? argument to lookup-narinfo and lookup-narinfos/diverse based
on %allow-unauthenticated-substitutes?.
(valid-narinfo?): Remove use of %allow-unauthenticated-substitutes?.
2021-01-16 11:49:36 +00:00
Christopher Baines
540893a8cc
gnu: gnome-font-viewer: Fix thumbnail generation.
Previously, thumbnail generation failed, as the gnome-thumbnail-font command
couldn't be found. Using an absolute filename in the .thumbnailer file fixes
this.

Cached failures within .cache/thumbnails/fail/ or similar may need removing
before the effect of this change can be seen.

* gnu/packages/gnome.scm (gnome-font-viewer)[arguments]: Add patch-thumbnailer
phase.
2021-01-16 11:13:11 +00:00
Christopher Baines
b52bf66739
gnu: ruby-method-source: Remove unnecessary dependency on git.
* gnu/packages/ruby.scm (ruby-method-source)[arguments]: Patch Rakefile to use
find rather than git.
[native-inputs]: Remove git.
2021-01-16 11:13:09 +00:00
Danny Milosavljevic
74a83afdf5
gnu: Add lrzsz.
* gnu/packages/admin.scm (lrzsz): New variable.
2021-01-16 02:18:26 +01:00
Michael Rohleder
884f320e7c
gnu: emacs-dired-hacks: Update to 0.0.1-3.d1a2bda.
* gnu/packages/emacs-xyz.scm (emacs-dired-hacks): Update to 0.0.1-3.d1a2bda.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-01-15 21:38:30 +01:00
Michael Rohleder
9867bad909
gnu: emacs-calibredb: Patch paths to calibre programs.
* gnu/packages/emacs-xyz.scm (emacs-calibredb): Patch paths to calibre programs.
[arguments]: Add phase patch-paths.
[inputs]: Add calibre.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-01-15 21:37:51 +01:00
Morgan Smith
37d40e488b
gnu: Add emacs-crdt.
* gnu/packages/emacs-xyz.scm (emacs-crdt): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-01-15 21:33:32 +01:00
Pierre Neidhardt
c03875b036
gnu: emacs-helm-sly: Update to 0.6.0.
* gnu/packages/emacs-xyz.scm (emacs-helm-sly): Update to 0.6.0.
2021-01-15 10:10:17 +01:00
Sharlatan Hellseher
9717250da2
gnu: sbcl-postmodern: Update to 1.32.6.
* gnu/packages/lisp-xyz.scm (sbcl-postmodern): Update to 1.32.6.
  [inputs]: Add cl-base64, cl-unicode, ironclad, local-time and uax-15.
  [arguments]: Add cl-postgres, s-sql and simple-date to 'asd-systems'.
  (ecl-postmodern)[arguments]: Add cl-postgres, s-sql and simple-date to
  'asd-systems'. Update the 'fix-build' phase.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-15 09:52:43 +01:00
Tobias Geerinckx-Rice
ef448aa3f6
gnu: facter: Update to 4.0.48.
* gnu/packages/admin.scm (facter): Update to 4.0.48.
2021-01-14 22:05:44 +01:00
Tobias Geerinckx-Rice
2a0a6f8fc3
gnu: kyotocabinet: Update to 1.2.79.
* gnu/packages/databases.scm (kyotocabinet): Update to 1.2.79.
2021-01-14 22:05:44 +01:00
Tobias Geerinckx-Rice
381bc72408
gnu: gptfdisk: Update to 1.0.6.
* gnu/packages/disk.scm (gptfdisk): Update to 1.0.6.
2021-01-14 22:05:43 +01:00
Tobias Geerinckx-Rice
c0c747cc81
gnu: busybox: Update to 1.32.1.
* gnu/packages/busybox.scm (busybox): Update to 1.32.1.
2021-01-14 22:05:43 +01:00
Jan (janneke) Nieuwenhuizen
5b785b2a62
services: hurd-vm: Respect hurd-vm-configuration's disk-size.
This is a follow-up to commit 859b362f81.

* gnu/services/virtualization.scm (hurd-vm-disk-image): Use diks-size from
config to set image's size.
2021-01-14 20:18:09 +01:00
Efraim Flashner
93309e25c7
gnu: vcflib: Update to 1.0.2.
* gnu/packages/bioinformatics.scm (vcflib): Update to 1.0.2.
[source]: Download using git-fetch. Remove patch. Update snippet to use
packaged libraries.
[build-system]: Switch to cmake-build-system.
[inputs]: Add bzip2.
[native-inputs]: Add package-source of fsom.
[arguments]: Delete custom 'set-flags, 'install phases. Don't delete
'configure phase. Adjust 'unpack-submodule-sources phase.
* gnu/packages/patches/vcflib-use-shared-libraries.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-01-14 20:43:31 +02:00
Efraim Flashner
db30d6eada
gnu: sambamba Update to 0.8.0.
* gnu/packages/bioinformatics.scm (sambamba): Update to 0.8.0.
[source, home-page]: Update to new upstream URI.
[arguments]: Shorten 'fix-ldc-version phase. Remove
'place-biod-and-undead phase. Update 'unbundle-prerequisites and
'insatll phases.
[native-inputs]: Remove rdmd, biod. Move ldc ...
[inputs]: ... to here. Add zlib.
(htslib-for-sambamba): Remove variable.
2021-01-14 20:43:31 +02:00
Efraim Flashner
2051be4f4c
gnu: gemma: Enable tests.
* gnu/packages/bioinformatics.scm (gemma)[source]: Add snippet to remove
bundled sources.
[native-inputs]: Add catch-framework2-1, perl, shunit2, which.
[arguments]: Don't disable tests. Override 'check phase.
2021-01-14 20:43:31 +02:00
Efraim Flashner
f58e491fb8
gnu: Add shunit2.
* gnu/packages/check.scm (shunit2): New variable.
2021-01-14 20:43:30 +02:00
Efraim Flashner
daf96e704d
gnu: gemma: Add Texinfo markup.
* gnu/packages/bioinformatics.scm (gemma)[description]: Use Texinfo
markup.
2021-01-14 20:43:30 +02:00
Efraim Flashner
a36abbe005
gnu: gemma: Update to 0.98.3.
* gnu/packages/bioinformatics.scm (gemma): Update to 0.98.3.
[source, home-page]: Update to new upstream URI.
[inputs]: Remove eigen, gfortran, lapack.
[arguments]: Remove make-flags. Remove 'find-eigen phase. Rename
'bin-mkdir phase to 'prepare-build and substitute openblas include
directory.
2021-01-14 20:43:30 +02:00
Ludovic Courtès
f79f41e240
gnu: efi-analyzer: Rename with a hyphen instead of an underscore.
* gnu/packages/efi.scm (efi_analyzer): Rename to...
(efi-analyzer): ... this.
(efi_analyzer): Redefine as a deprecated alias.
2021-01-14 17:18:16 +01:00
Michael Rohleder
d88408b25e
gnu: xfce: Update to 4.16.0.
* gnu/packages/xfce.scm (libxfce4util): Update to 4.16.0.
(xfconf): Update to 4.16.0.
[arguments]: Add phase to disable hanging test.
(libxfce4ui): Update to 4.16.0.
[inputs]: Remove unneeded gtk+-2.
(exo): Update to 4.16.0.
[arguments]: Remove wrap-exo-compose-mail phase.
[inputs]: Remove unneeded gtk+-2 and perl-uri.
(garcon): Update to 0.8.0.
[inputs]: Remove unneeded gtk+-2.
(tumbler): Update to 4.16.0.
(xfce4-panel): Update to 4.16.0.
(xfce4-appfinder): Update to 4.16.0.
(xfce4-session): Update to 4.16.0.
(xfce4-settings): Update to 4.16.0.
[inputs]: Add python.
(thunar): Update to 4.16.0.
(thunar-volman): Update to 4.16.0.
(xfwm4): Update to 4.16.0.
(xfdesktop): Update to 4.16.0.
(xfce4-power-manager): Update to 4.16.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-14 17:15:18 +01:00
Stefan
795db9d219
gnu: qemu: Fix ioctl(…, SIOCGIFCONF, …) for emulated 64 bit architectures.
* gnu/packages/virtualization.scm (qemu): Add a snippet to fix a bug in the
do_ioctl_ifconf() function of qemu to make ioctl(…, SIOCGIFCONF, …) work for
emulated 64 bit architectures.

The sizeof(struct ifreq) is 40 for 64 bit and 32 for 32 bit architectures.
This structure contains a union of other structures, of which struct ifmap
is the biggest for 64 bit architectures. Calling ioctl(…, SIOCGIFCONF, …)
fills a struct sockaddr of that union, and do_ioctl_ifconf() only considered
that struct sockaddr for the size of the union, which has the same size as
struct ifmap on 32 bit architectures. So do_ioctl_ifconf() assumed a wrong
size of 32 for struct ifreq instead of the correct size of 40 on 64 bit
architectures.

The fix makes do_ioctl_ifconf() handle struct ifmap as the biggest part of
the union, treating struct ifreq with the correct size.

This fixes (@ (guix build syscalls) network-interface-names) when used in
emulated 64 bit architectures.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-14 17:15:18 +01:00
Ricardo Wurmus
4f38e0e47b
gnu: Add lv2-speech-denoiser.
* gnu/packages/audio.scm (lv2-speech-denoiser): New variable.
2021-01-14 17:11:05 +01:00
Tobias Geerinckx-Rice
9f60d92729
gnu: nano: Update to 5.5.
* gnu/packages/nano.scm (nano): Update to 5.5.
2021-01-14 16:20:45 +01:00
Tobias Geerinckx-Rice
45b4712c55
gnu: lldpd: Update to 1.0.8.
* gnu/packages/networking.scm (lldpd): Update to 1.0.8.
2021-01-14 16:20:45 +01:00
Tobias Geerinckx-Rice
f5c9e76f97
gnu: jucipp: Update to 1.6.2.
* gnu/packages/text-editors.scm (jucipp): Update to 1.6.2.
2021-01-14 16:20:45 +01:00
Tobias Geerinckx-Rice
526fff3de0
gnu: elementary-xfce-icon-theme: Update to 0.15.2.
* gnu/packages/xfce.scm (elementary-xfce-icon-theme): Update to 0.15.2.
2021-01-14 16:20:44 +01:00
Tobias Geerinckx-Rice
8eb5f097b1
gnu: lxc: Update to 4.0.6.
* gnu/packages/virtualization.scm (lxc): Update to 4.0.6.
2021-01-14 16:20:44 +01:00
Tobias Geerinckx-Rice
1fb0c5ac9f
gnu: perl-net-http: Update to 6.20.
* gnu/packages/web.scm (perl-net-http): Update to 6.20.
2021-01-14 16:20:44 +01:00
Tobias Geerinckx-Rice
00275eacb0
gnu: diffstat: Update to 1.64.
* gnu/packages/version-control.scm (diffstat): Update to 1.64.
2021-01-14 16:20:44 +01:00
Tobias Geerinckx-Rice
bcf2f79c06
gnu: xsettingsd: Update to 1.0.2.
* gnu/packages/xdisorg.scm (xsettingsd): Update to 1.0.2.
2021-01-14 16:20:44 +01:00
Tobias Geerinckx-Rice
ee858defb2
gnu: acpica: Update to 20210105.
* gnu/packages/admin.scm (acpica): Update to 20210105.
2021-01-14 16:20:44 +01:00
Tobias Geerinckx-Rice
21c7421180
gnu: system-config-printer: Update to 1.5.15.
* gnu/packages/gnome.scm (system-config-printer): Update to 1.5.15.
2021-01-14 16:20:43 +01:00
Tobias Geerinckx-Rice
231c70b14b
gnu: eolie: Update to 0.9.101.
* gnu/packages/gnome.scm (eolie): Update to 0.9.101.
2021-01-14 16:20:43 +01:00
Maxim Cournoyer
e45dcf4990
gnu: texlive-wasysym: Update synopsis and description.
* gnu/packages/tex.scm (texlive-wasysym)[synopsis]: Refer to the font by
'wasy', not WASY2.
[description]: Likewise.  Use code ornaments for the LaTeX package names.
2021-01-14 09:48:54 -05:00
Maxim Cournoyer
0602047ca9
gnu: Add texlive-wasy.
* gnu/packages/tex.scm (texlive-wasy): New variable.
2021-01-14 09:48:52 -05:00
Maxim Cournoyer
05b2826122
gnu: Add texlive-helvetic.
* gnu/packages/tex.scm (texlive-helvetic): New variable.
2021-01-14 09:47:44 -05:00
Maxim Cournoyer
0390d786bb
gnu: Add texlive-courier.
* gnu/packages/tex.scm (texlive-courier): New variable.
2021-01-14 09:47:44 -05:00
Maxim Cournoyer
7b825087ec
gnu: Add texlive-jknappen.
* gnu/packages/tex.scm (texlive-jknappen): New variable.
2021-01-14 09:47:44 -05:00
Maxim Cournoyer
56edfeec6c
gnu: Add texlive-tipa.
* gnu/packages/tex.scm (texlive-tipa): New variable.
2021-01-14 09:24:51 -05:00
Maxim Cournoyer
18d4d15d4a
gnu: Add config.
* gnu/packages/autotools.scm (config): New variable.
2021-01-14 09:24:50 -05:00
Maxim Cournoyer
2c12d73a62
gnu: Add texlive-marvosym.
* gnu/packages/tex.scm (texlive-marvosym): New variable.
2021-01-14 09:24:50 -05:00
Maxim Cournoyer
2596099c25
gnu: Add docbook-sgml-3.1.
* gnu/packages/docbook.scm (docbook-sgml-3.1): New variable.
2021-01-14 09:24:50 -05:00
Maxim Cournoyer
b4b6f676cd
gnu: Add perl-sgmls.
* gnu/packages/perl.scm (perl-sgmls): New variable.
2021-01-14 09:24:50 -05:00
Maxim Cournoyer
81920e6d59
gnu: Add docbook-dsssl.
* gnu/packages/docbook.scm (docbook-dsssl): New variable.
2021-01-14 09:24:50 -05:00
Maxim Cournoyer
14ac034dab
gnu: Add docbook-sgml.
* gnu/packages/docbook.scm (docbook-sgml): New variable.
2021-01-14 09:24:49 -05:00
Maxim Cournoyer
273cf0378d
gnu: Add iso-8879-entities.
* gnu/packages/docbook.scm (iso-8879-entities): New private variable.
2021-01-14 09:24:49 -05:00
Maxim Cournoyer
1729fb52ab
gnu: Add openjade.
* gnu/packages/xml.scm (openjade): New variable.
2021-01-14 09:24:49 -05:00