Commit graph

81347 commits

Author SHA1 Message Date
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
Hartmut Goebel
f3b20baa4d
substitute: Fix handling of short option "-h".
The short option was listed in the help-text, but not recognized.
2021-07-16 19:36:11 +02:00
Ivan Gankevich
68ce40cad7
gnu: Add blitz.
* gnu/packages/maths.scm (blitz): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2021-07-16 10:02:08 +05:30
Maxim Cournoyer
556f027daa
gnu: kde-utils.scm: Fix copyright line.
This is a follow up commit to 4094d12df1.

* gnu/packages/kde-utils.scm: Fix copyright line for Zheng Junjie.
2021-07-16 00:20:53 -04:00
Z572
4094d12df1
gnu: Add ark.
* gnu/packages/kde-utils.scm (ark): New variable.
* gnu/packages/patches/ark-skip-xar-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-16 00:06:05 -04:00
Maxime Devos
dd98685356
gnu: libolm: Unbundle unused blob.
* gnu/package/crypto.scm: (libolm)[source][snippet]: Delete
"gradle-wrapper.jar".  It is a bundled compiled (!) version of gradle.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-15 21:43:52 -04:00
Maxim Cournoyer
01d7e8c278
doc: Use Awk in one of the examples.
The output of the listing of available packages now contains a mix of tab and
space characters, so that its output is more pleasing to read.  This preserves
most simple uses of 'cut', but the added extra space padding can cause a
change in behavior in some scenarios.

* doc/guix.texi (Invoking guix build): Replace 'cut' by 'awk' in one of the
examples.
2021-07-15 16:12:04 -04:00
Steve Sprang
423f5f867c
ui: Improve output appearance when listing generations.
* guix/ui.scm (display-profile-content-diff): Use pretty-print-table to format
output.
(display-profile-content): Likewise.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-15 16:11:47 -04:00
Steve Sprang
481d660527
package: Improve output appearance when listing packages.
* guix/scripts/package.scm (process-query): Use pretty-print-table when
listing installed and available packages.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-15 16:09:53 -04:00
Steve Sprang
b73b9aae0d
utils: Add a procedure for pretty printing tabular data.
* guix/utils.scm (pretty-print-table): New procedure.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-15 16:09:53 -04:00
terramorpha
a49c5488bd
gnu: Add putty.
* gnu/packages/networking.scm (putty): New variable.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-07-15 20:55:42 +02:00
Leo Famulari
7e0da2f180
gnu: btrfs-progs: Update to 5.13.
* gnu/packages/linux.scm (btrfs-progs): Update to 5.13.
2021-07-15 11:12:32 -04:00
Vinicius Monego
9cf74d8f23
gnu: Add rust-mdns-0.3.
* gnu/packages/crates-io.scm (rust-mdns-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 15:56:00 +03:00
Vinicius Monego
ef84c9eaea
gnu: Add rust-dns-parser-0.8.
* gnu/packages/crates-io.scm (rust-dns-parser-0.8): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 15:56:00 +03:00
Vinicius Monego
ef46ab3cf8
gnu: Add rust-get-if-addrs-0.5.
* gnu/packages/crates-io.scm (rust-get-if-addrs-0.5): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 15:55:59 +03:00
Vinicius Monego
d7bcdd61c5
gnu: Add rust-unwrap-1.
* gnu/packages/crates-io.scm (rust-unwrap-1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 15:55:59 +03:00
Vinicius Monego
a8090020fe
gnu: Add rust-get-if-addrs-sys-0.1.
* gnu/packages/crates-io.scm (rust-get-if-addrs-sys-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 15:55:59 +03:00
Vinicius Monego
1605b444f3
gnu: Add rust-c-linked-list-1.
* gnu/packages/crates-io.scm (rust-c-linked-list-1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 15:55:56 +03:00
Leo Prikler
a0c4465e7c
gnu: evince: Build with libkpathsea.
* gnu/packages/gnome.scm (evince)[inputs]: Add libkpathsea.
2021-07-15 13:14:25 +02:00
Leo Prikler
e89036e2f1
gnu: Add texlive-libkpathsea.
* gnu/packages/tex.scm (texlive-libkpathsea): New variable.
2021-07-15 13:14:25 +02:00
Leo Prikler
313d5e6286
gnu: Add python-pygame-sdl2.
* gnu/packages/game-development.scm (python-pygame-sdl2): New variable.
Reuse package definition from previous python2-pygame-sdl2, with the
following additions:
[source]: Also drop “gen3” in snippet.
[arguments]: Drop #:python.
[native-inputs]: Use ‘python-cython’ instead of ‘python2-cython’.
(python2-pygame-sdl2): Define in terms of python-pygame-sdl2.
2021-07-15 13:13:40 +02:00
Leo Prikler
769f7d2ccf
gnu: renpy: Correct inputs.
* gnu/packages/game-development.scm (renpy)[#:modules]: Add SRFI-1.
[#:imported-modules]: Likewise.
[#:phases]<fix-commands>: Search for ‘python2’ and ‘xdg-open’ in inputs.
<start-xserver>: Search for ‘xorg-server’ in native-inputs.
<install>: Search for ‘python2’ in inputs.
<wrap>: Search for python dependencies in inputs.
[inputs]: Add python2, drop python2-pygame (already propagated by
python2-renpy). Move xorg-server from here…
[native-inputs]: … to here.
[propagated-inputs]: Empty.
2021-07-15 13:13:40 +02:00
Leo Prikler
3d7dea0906
gnu: python2-renpy: Correct inputs.
* gnu/packages/game-development.scm (python2-renpy)[#:phases]<fix-commands>:
Search for ‘xdg-open’ in inputs.
<set-build-vars>: Search for ‘cython’ in native-inputs.
[native-inputs]: Move ‘xdg-utils’ from here…
[inputs]: … to here.
2021-07-15 13:13:40 +02:00
Leo Prikler
a613e6268d
gnu: python2-renpy: Update description.
* gnu/packages/game-development.scm (python2-renpy)[description]: Mention,
that it's only used for bootstrapping renpy.
2021-07-15 13:13:40 +02:00
Leo Prikler
d4bef961b5
gnu: python2-renpy: Drop unused Ren'py sources.
These sources are written in Ren'py (the language) and thus not particularly
useful before renpy itself is built.  In particular, they serve no purpose
when installed without prior compilation.

* gnu/packages/game-development.scm (python2-renpy)[#:phases]<install>:
Drop installed "common" folder.
(renpy)[#:phases]<install>: Adjust comment accordingly.
2021-07-15 13:13:39 +02:00
Vinicius Monego
17c8fedc25
gnu: Add rust-mpris-player-0.6.
* gnu/packages/crates-io.scm (rust-mpris-player-0.6): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 10:32:28 +03:00
Vinicius Monego
a0a6fb15e5
gnu: rust-system-deps-1: Fix version requirements.
* gnu/packages/crates-io.scm (rust-system-deps-1)[source]: Add snippet to fix
rust-version-compare version.
[arguments]<#:phases>: Remove 'fix-version-requirements phase.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 10:30:19 +03:00
Vinicius Monego
bfefe256a3
gnu: Add rust-dbus-0.6.
* gnu/packages/crates-io.scm (rust-dbus-0.6): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 10:27:44 +03:00
Vinicius Monego
e3ff4a5bff
gnu: Add rust-libdbus-sys-0.2.
* gnu/packages/crates-io.scm (rust-libdbus-sys-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15 10:25:48 +03:00
Jack Hill
7db8fd6e72
gnu: ffmpeg: Enable vaapi.
* gnu/packages/video.scm (ffmpeg)[arguments]: Add --enable-vaapi to
configure-flags.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-07-15 01:54:30 -04:00
Leo Famulari
c45df57313
gnu: linux-libre 5.4: Update to 5.4.132.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.132.
(linux-libre-5.4-pristine-source): Update hash.
2021-07-15 01:54:30 -04:00
Leo Famulari
bd367123a3
gnu: linux-libre 5.10: Update to 5.10.50.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.50.
(linux-libre-5.10-pristine-source, deblob-scripts-5.10): Update hashes.
2021-07-15 01:54:30 -04:00
Leo Famulari
6798274c84
gnu: linux-libre 5.12: Update to 5.12.17.
* gnu/packages/linux.scm (linux-libre-5.12-version): Update to 5.12.17.
(linux-libre-5.12-pristine-source, deblob-scripts-5.12): Update hashes.
2021-07-15 01:54:30 -04:00
Leo Famulari
ba18b6089b
gnu: linux-libre: Update to 5.13.2.
* gnu/packages/linux.scm (linux-libre-5.13-version): Update to 5.13.2.
(linux-libre-5.13-pristine-source, deblob-scripts-5.13): Update hashes.
2021-07-15 01:54:30 -04:00
Leo Famulari
12763e4d3a
gnu: linux-libre: Default to the 'schedutil' CPU scaling governor.
For more information about these configuration options, read
<https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt> or the
document 'Documentation/admin-guide/pm/cpufreq.rst' in the linux-libre
source distribution.

* gnu/packages/aux-files/linux-libre/4.14-arm.conf,
gnu/packages/aux-files/linux-libre/4.14-i686.conf,
gnu/packages/aux-files/linux-libre/4.14-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.19-arm.conf,
gnu/packages/aux-files/linux-libre/4.19-arm64.conf,
gnu/packages/aux-files/linux-libre/4.19-i686.conf,
gnu/packages/aux-files/linux-libre/4.19-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.9-i686.conf,
gnu/packages/aux-files/linux-libre/4.9-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.10-i686.conf,
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.12-i686.conf,
gnu/packages/aux-files/linux-libre/5.12-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.13-i686.conf,
gnu/packages/aux-files/linux-libre/5.13-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: Unset
'CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE' and set
'CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y'.
2021-07-15 01:54:26 -04:00
Raghav Gururajan
38de3de40d
gnu: claws-mail: Add comments for optional inputs.
* gnu/packages/mail.scm (claws-mail)[native-inputs]: Add comment
for docbook-utils.
[inputs]: Add comments for j-pilot and webkitgtk.
2021-07-15 01:11:12 -04:00
Raghav Gururajan
ffe2632e12
gnu: claws-mail: Rename input label for shared-mime-info.
* gnu/packages/mail.scm (claws-mail)[inputs]: Rename mime-info to
shared-mime-info.
[phases](patch-mime): Modify.
2021-07-15 00:56:59 -04:00
Raghav Gururajan
36c23bd06d
gnu: claws-mail: Update to v4.0.0 and adjust arguments+inputs accordingly.
* gnu/packages/mail.scm (claws-mail)[version]: Update to 4.0.0.
[arguments](configure-flags): Add flag disable-static. Remove flags
enable-gnutls,enable-pgpmime-plugin, enable-enchant and enable-ldap.
[native-inputs]: Add bison, flex, gettext-minimal, gobject-introspection
and intltool.
[inputs]: Add cairo, compface, dbus, fontconfig, gdk-pixbuf+svg,
glib, gsettings-desktop-schemas, gumbo-parser, libgdata, libindicator,
librsvg, libsoup, nettle, network-manager, openldap, poppler,
python-pygobject and ytnef. Remove hicolor-icon-theme. Replace gtk+-2
and python-2 with gtk+ and python, respectively.
[propagated-inputs]: Add dconf.
2021-07-15 00:15:15 -04:00
Raghav Gururajan
d7917fc9f7
gnu: claws-mail: Rearrange inputs in alphabetical order.
* gnu/packages/mail.scm (claws-mail)[inputs]: Modify.
2021-07-14 22:12:54 -04:00
Tobias Geerinckx-Rice
91eee87002
gnu: agg: Fix typo in description.
* gnu/packages/graphics.scm (agg)[description]: Add missing article and
work around scalable vector graphics graphics.
2021-07-15 03:33:35 +02:00
Tobias Geerinckx-Rice
1d8bc46249
gnu: Add snapraid.
* gnu/packages/backup.scm (snapraid): New public variable.
2021-07-15 03:33:35 +02:00
Tobias Geerinckx-Rice
4f4477a77e
gnu: fuse: Do not refer to the native bash.
* gnu/packages/linux.scm (fuse)[inputs]: Add bash-minimal.
[arguments]: Refer to it rather than to the native build bash.
Do not return #t from phases.
2021-07-15 03:33:34 +02:00
Mark H Weaver
d2b30db788
gnu: icecat: Update to 78.12.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2021-29970, CVE-2021-29976, and CVE-2021-30547.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update upstream source hash.
2021-07-14 13:30:14 -04:00
Maxim Cournoyer
e69e0c43f8
gnu: bitlbee-discord: Update to 0.4.3.
* gnu/packages/messaging.scm (bitlbee-discord): Update to 0.4.3.
2021-07-14 09:03:10 -04:00
Adrian Fullmer
a6a4d4b843
gnu: bitlbee-discord: Fix build.
* gnu/packages/messaging.scm (bitlbee-discord)[phases]{configure}: Delete
override and move the configure flags to...
[configure-flags]: ... here.  Specify the '--with-bdatadir' configure flag,
which resolves a build failure.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-14 09:02:09 -04:00
Maxim Cournoyer
073904c553
guix-install.sh: Untabify.
* etc/guix-install.sh (sys_create_build_user): Normalize to spaces.
2021-07-14 08:50:22 -04:00
Efraim Flashner
9be2bced71
Revert "gnu: kdeconnect: Fix wayland compatibility."
This is unneeded after 30759c4aad.

This reverts commit f60ef2f7a4.
2021-07-14 14:17:04 +03:00
Pierre Langlois
681a0c7518
gnu: mg: Enable cross-compilation.
* gnu/packages/text-editors.scm (mg)[arguments]: Use cc-for-target.
Add phase to substitute pkg-config with the target's pkg-config.
Remote #t return from phases.
2021-07-14 09:59:45 +01:00
terramorpha@cock.li
14bf5890c3
gnu: Add a2jmidid.
* gnu/packages/music.scm (a2jmidid): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-14 09:23:24 +03:00