Commit graph

81295 commits

Author SHA1 Message Date
Alexandre Hannud Abdo
b8e7b284fc
gnu: Add sequeler.
* gnu/packages/databases.scm (sequeler): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-20 12:01:20 +03:00
Alexandre Hannud Abdo
ac840442ee
gnu: python-graph-tool: Update to 2.43.
* gnu/packages/graph.scm (python-graph-tool): Update to 2.43.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-20 11:59:54 +03:00
Paul A. Patience
59d09bfb2b
gnu: txr: Update to 266.
* gnu/packages/lisp.scm (txr)[version]: Update to 266.
  [inputs]: Add bash.
  [arguments]<#:phases>{inhibit-doc-syms-generation}: Correct the path to
  doc-syms.tl to its new location.
  {fix-tests}: Fix another test.
  {fix-paths}: New phase.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-20 10:50:04 +02:00
Paul A. Patience
6a0658afa7
gnu: txr: Fix license installation.
The install-license-files phase was installing LICENSE-CYG when it
shouldn't have, because that license applies only to TXR builds for
Microsoft Windows; and it was also ignoring the METALICENSE file.
However, TXR's Makefile was already installing the LICENSE and
METALICENSE files into share/txr (the datadir), so redirect them into
the appropriate doc directory and delete the install-license-files
phase.

* gnu/packages/lisp.scm (txr)[arguments]<#:phases>
  {fix-license-installation}: New phase.
  {install-license-files}: Delete phase.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-20 10:09:33 +02:00
Paul A. Patience
75922458af
gnu: txr: Build documentation.
* gnu/packages/lisp.scm (man-for-txr): New variable.
  (txr)[native-inputs]: New field.
  [inputs]: Move above the arguments field.
  [arguments]<#:phases>{inhibit-doc-syms-generation, build-doc, install-doc}:
  New phases.
  {fix-tests}: Add after the unpack phase rather than after the configure
  phase so that all file-modifying phases are performed after unpacking.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-20 10:03:30 +02:00
Charles
e1f9a10fdc
gnu: cl-authentic: Update to 0.1.2-2.4e9194d.
* gnu/packages/lisp-xyz.scm (sbcl-authentic): Update to 0.1.2-2.4e9194d.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-20 09:54:20 +02:00
Jonathan Brielmaier
d84c24935b
gnu: icedove: Update to 78.12.0 [security fixes].
Fixes CVE-2021-29969 and CVE-2021-29976.

* gnu/packages/gnuzilla.scm (icedove): Update to 78.12.0.
2021-07-19 21:19:32 +02:00
Vinicius Monego
52058a1144
gnu: Add searx.
* gnu/packages/search.scm (searx): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19 19:57:52 +02:00
Vinicius Monego
c65183b628
gnu: Add python-langdetect.
* gnu/packages/python-xyz.scm (python-langdetect): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19 19:57:52 +02:00
Paul A. Patience
6bd1d4a18b
gnu: Add nomad-optimizer.
* gnu/packages/maths.scm (nomad-optimizer): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19 19:57:52 +02:00
Franck Pérignon
aa1b756723
gnu: Add python-pyhull.
* gnu/packages/python-xyz.scm (python-pyhull): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19 19:57:51 +02:00
Ryan Prior
de50ff13de
gnu: visidata: Update to 2.5.
* gnu/packages/visidata.scm (visidata): Update to 2.5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19 19:57:51 +02:00
Vinicius Monego
5e437ce812
gnu: Add emacs-jupyter.
* gnu/packages/emacs-xyz.scm (emacs-jupyter): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19 19:57:51 +02:00
Vinicius Monego
3436d3f801
gnu: Add emacs-zmq.
* gnu/packages/emacs-xyz.scm (emacs-zmq): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19 19:57:51 +02:00
Vinicius Monego
f8790ba4b4
gnu: zeromq: Enable DRAFTs.
* gnu/packages/networking.scm (zeromq)[arguments]<#:configure-flags>: Pass
--enable-drafts.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19 19:57:51 +02:00
itd
51157d474f
import/print: package->code: Fix license object.
* guix/import/print.scm (package->code)<license->code>: Update generated
licence object to match record constructor.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19 19:57:51 +02:00
Morgan Smith
703f932cc9
gnu: Add powercap.
* gnu/packages/linux.scm (powercap): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-19 16:28:08 +03:00
Kyle Meyer
4cda5a4dab
gnu: git-annex: Update to 8.20210714.
* gnu/packages/haskell-apps.scm (git-annex): Update to 8.20210714.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-19 15:36:29 +03:00
Charles
385c485c65
build: Update uglifyjs for minify-build-system.
* guix/build-system/minify.scm (default-uglify-js): Update uglifyjs package used.
* guix/build/minify-build-system.scm (minify): Use updated uglifyjs command name.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-19 14:46:28 +03:00
Charles
d16148fcfd
gnu: Add node-uglify-js.
* gnu/packages/uglifyjs.scm (node-uglify-js, uglifyjs): New variables.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-19 14:43:29 +03:00
Charles
bfa847dbe0
gnu: Add node-acorn.
* gnu/packages/node-xyz.scm (node-acorn): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-19 14:28:52 +03:00
Efraim Flashner
0f46e0b79c
gnu: evisum: Update to 0.5.13.
* gnu/packages/enlightenment.scm (evisum): Update to 0.5.13.
[arguments]: Add phase to set homedir.
2021-07-19 09:44:36 +03:00
Raghav Gururajan
00c8a28512
gnu: gspell: Propagate glib and gtk+, as per pkg-config file.
* gnu/packages/gnome.scm (gspell)[inputs]: Move glib and gtk+ to ...
[propagated-inputs]: ... here.
2021-07-18 22:05:14 -04:00
Raghav Gururajan
53e445c463
gnu: libxscrnsaver: Propagate libx11 and libxext, as per pkg-config file.
* gnu/packages/xorg.scm (libxscrnsaver)[inputs]: Move libx11 and libxext to ...
[propagated-inputs]: ... here.
2021-07-18 21:52:38 -04:00
Raghav Gururajan
2fbffcf575
gnu: Add omemo-wget.
* gnu/packages/messaging.scm (omemo-wget): New variable.
2021-07-18 20:59:04 -04:00
Tobias Geerinckx-Rice
5d2e3b6b23
gnu: mg: Set PKG_CONFIG instead of substituting.
* gnu/packages/text-editors.scm (mg)[arguments]: Add PKG_CONFIG
to #:make-flags, and remove the custom
'pkg-config-for-cross-compiling-target phase.
2021-07-18 20:28:17 +02:00
Tobias Geerinckx-Rice
7f2b9306ee
gnu: mg: Fix reference to native diffutils.
* gnu/packages/text-editors.scm (mg)[inputs]: Add diffutils.
[arguments]: Refer to it in the 'correct-location-of-diff phase.
2021-07-18 20:28:17 +02:00
Guillaume Le Vaillant
8b1bde7bb3
gnu: sdrangel: Update to 6.16.1.
* gnu/packages/radio.scm (sdrangel): Update to 6.16.1.
2021-07-18 14:58:06 +02:00
Guillaume Le Vaillant
848a9a1e3f
gnu: dump1090: Update to 5.0.
* gnu/packages/radio.scm (dump1090): Update to 5.0.
  [inputs]: Add hackrf.
2021-07-18 13:38:40 +02:00
Xinglu Chen
71dffaacbf
gnu: emacs-pyim: Update to 3.9.2.
* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 3.9.2.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-07-18 17:46:57 +08:00
phodina
9cddd39d75
gnu: Add sterm.
* gnu/packages/engineering.scm (sterm): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-07-18 17:40:17 +08:00
Maxim Cournoyer
c170abba47
build: pack: Mute error output when checking if tar supports --sort.
* guix/build/pack.scm (tar-base-options) [tar-supports-sort?]: Redirect error
output to void.
2021-07-18 02:11:13 -04:00
Maxim Cournoyer
11f0698243
pack: Streamline how files are included in tarballs.
Thanks to Guillem Jover <guillem@debian.org> on the OFTC's #debian-dpkg
channel for helping with troubleshooting.

Letting GNU Tar recursively walk the complete files hierarchy side-steps the
risks associated with providing a list of file names:

1. Duplicated files in the archive (recorded as hard links by GNU Tar)
2. Missing parent directories.

The above would cause dpkg to malfunction, for example by aborting early and
skipping triggers when there were missing parent directories.

* guix/scripts/pack.scm (self-contained-tarball/builder): Do not call
POPULATE-SINGLE-PROFILE-DIRECTORY, which creates extraneous files such as
/root.  Instead, call POPULATE-STORE and INSTALL-DATABASE-AND-GC-ROOTS
individually to more precisely generate the file system.  Replace the list of
files by the current directory, "." and streamline the way options are passed.
* gnu/system/file-systems.scm (reduce-directories): Remove procedure.
* tests/file-systems.scm ("reduce-directories"): Remove test.
2021-07-18 02:10:49 -04:00
Maxim Cournoyer
b019496fc3
pack/deb: Add default section and priority fields to the control file.
These fields, while optional per dpkg, are required by other tools such as
reprepro, commonly used to generate apt repositories.

* guix/scripts/pack.scm (debian-archive): Set the control file section field
to 'misc' and the priority field to 'optional'.
2021-07-18 02:02:34 -04:00
Maxim Cournoyer
aeded14b83
pack: Allow embedding custom control files in deb packs.
* guix/scripts/pack.scm (self-contained-tarball/builder)
[extra-options]: New argument.
(self-contained-tarball, squashfs-image, docker-image)
(debian-archive): Likewise.  Remove two TODO comments.  Document
EXTRA-OPTIONS.  Use the custom control files when provided.
(%deb-format-options): New variable.
(show-deb-format-options, show-deb-format-options/detailed): New procedures.
(%options): Register new options.
(show-help): Augment with new usage.
(guix-pack): Validate and propagate new argument values.
* doc/guix.texi (Invoking guix pack)[deb]: Document how to list advanced
options.  Add an example.
* tests/pack.scm (deb archive...): Provide extra-options to the debian-archive
procedure, and validate that the provided files are embedded in the pack.
2021-07-18 02:02:34 -04:00
Maxim Cournoyer
15b4372b60
import: go: Fix indentation.
* guix/import/go.scm: Fix indentation.
2021-07-18 01:57:17 -04:00
Sarah Morgensen
793ba333c6
import: go: Upgrade go.mod parser.
Upgrade the go.mod parser to handle the full go.mod spec, and to gracefully
handle unexpected/malformed syntax.  Restructure parser usage, making the
parse tree available for other uses.

guix/import/go.scm (parse-go.mod): Parse using (ice-9 peg) instead of
regex matching for more robustness.  Return a list of directives.
(go.mod-directives): New procedure.
(go.mod-requirements): Likewise.
(go-module->guix-package): Use it.
(%go.mod-replace-directive-rx): Remove unused variable.
tests/go.scm (testing-parse-mod): Adjust accordingly.
(go.mod-requirements)
(fixture-go-mod-unparseable)
(fixture-go-mod-retract)
(fixture-go-mod-strings): New variables.
("parse-go.mod: simple")
("parse-go.mod: comments and unparseable lines")
("parse-go.mod: retract")
("parse-go.mod: raw strings and quoted strings")
("parse-go.mod: complete"): New tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-18 01:57:17 -04:00
Maxim Cournoyer
3217a04b03
tests/go: Remove unused variable.
* tests/go.scm: Delete extraneous newline.
(fixture-latest-for-go-check): Remove variable.
2021-07-17 23:26:58 -04:00
Sarah Morgensen via Guix-patches via
5eba9c0960
import: go: Handle multiple go-import meta tags.
* guix/import/go.scm (fetch-module-meta-data): Parse all go-import meta
tags and return the first 'module-meta' with a matching import prefix.
[go-import->module-meta]: Extract parsing into new procedure.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-17 23:26:52 -04:00
Sarah Morgensen via Guix-patches via
59d20bcfcc
import: go: Fix parsing of pkg.go.dev licenses after site update.
* guix/import/go.scm (go-package-licenses): Find license names in
'h2 // div // *text*' elements rather than 'h2 // *text*' elements.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-17 22:13:39 -04:00
Brice Waegeneire
2aa65869ba
doc: Fix docker-configuration field names.
* doc/guix.texi (Docker): Correct filed names "docker" and "docker-cli".
2021-07-17 22:49:20 +02:00
Brice Waegeneire
425e9aa4f3
gnu: rsnapshot: Remove modifications to tests.
Upstream fixed those tests, no need to tweak them anymore.

* gnu/packages/backup.scm (rsnapshot)[arguments]: Remove modifications
  to tests done in 'check' phase.
2021-07-17 22:47:15 +02:00
Tobias Geerinckx-Rice
4b8ac04e2b
gnu: rsnapshot: Fix tests.
* gnu/packages/backup.scm (rsnapshot)[arguments]: Tweak substitution.
2021-07-17 19:48:54 +02:00
Marius Bakke
550eca2a7b
gnu: ungoogled-chromium: Update to 91.0.4472.164-0.a9eb6fd.
* gnu/packages/chromium.scm (%chromium-version): Set to 91.0.4472.164.
(ungoogled-chromium): Update hash.
2021-07-17 19:40:58 +02:00
Marius Bakke
4933641bb1
gnu: python-coveralls: Update to 3.1.0.
* gnu/packages/python-check.scm (python-coveralls): Update to 3.1.0.
[arguments]: Remove trailing #t's.
[native-inputs]: Add PYTHON-RESPONSES.
2021-07-17 19:40:58 +02:00
Marius Bakke
3918d6c4b6
gnu: gdbm: Use HTTPS home page.
* gnu/packages/dbm.scm (gdbm)[home-page]: Use HTTPS.
2021-07-17 19:40:57 +02:00
Pierre Neidhardt
9591f68550
gnu: arx-libertatis: Update to 1.2.
* gnu/packages/games.scm (arx-libertatis): Update to 1.2.
[inputs]: Replace sdl with sdl2 and mesa with libepoxy.
2021-07-17 17:48:26 +02:00
Justin Veilleux
9cb35c0216
gnu: Add transmission-remote-gtk.
* gnu/packages/bittorrent.scm (transmission-remote-gtk): New variable.
* gnu/packages/patches/transmission-remote-gtk-fix-appstream.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Co-authored-by: Leo Famulari <leo@famulari.name>
2021-07-16 23:53:46 -04:00
Hartmut Goebel
3ee0f170c8
ci: Properly construct URLs.
Implement a new function "api-url", which constructs URLs using relative URI
and "resolve-uri-reference" (which implements the algorithm specified in RFC
3986 section 5.2.2) for building the URL, instead of just appending
strings. This avoids issued if the server-url ends with a slash.

Since "api-url" uses URI-objects, it makes sense to also construct the
query-part of the URL here. For this "api-url" accepts optional
key-value-pairs.

New function "json-api-fetch" is a wrapper using "api-url".

* guix/ci.scm (api-url): New function. (build): Use it.
  (json-api-fetch): New function. (queued-builds, latest-builds,
  evaluation, latest-evaluations, evaluation-jobs: Use it.
2021-07-16 19:48:24 +02:00
Hartmut Goebel
ccdf7b8006
substitutes: Properly construct URLs.
Use relative URIs and "resolve-uri-reference" (which implements the algorithm
specified in RFC 3986 section 5.2.2) for building the URL, instead of just
appending strings. This avoids issued if the cache-url ends with a slash.

* guix/substitutes.scm (narinfo-request): Use resolve-uri-reference for
  constructing the url.
2021-07-16 19:36:11 +02:00