summary refs log tree commit diff
AgeCommit message (Collapse)Author
2021-07-18pack: Allow embedding custom control files in deb packs.Maxim Cournoyer
* 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-18import: go: Fix indentation.Maxim Cournoyer
* guix/import/go.scm: Fix indentation.
2021-07-18import: go: Upgrade go.mod parser.Sarah Morgensen
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-17tests/go: Remove unused variable.Maxim Cournoyer
* tests/go.scm: Delete extraneous newline. (fixture-latest-for-go-check): Remove variable.
2021-07-17import: go: Handle multiple go-import meta tags.Sarah Morgensen via Guix-patches via
* 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-17import: go: Fix parsing of pkg.go.dev licenses after site update.Sarah Morgensen via Guix-patches via
* 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-17doc: Fix docker-configuration field names.Brice Waegeneire
* doc/guix.texi (Docker): Correct filed names "docker" and "docker-cli".
2021-07-17gnu: rsnapshot: Remove modifications to tests.Brice Waegeneire
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-17gnu: rsnapshot: Fix tests.Tobias Geerinckx-Rice
* gnu/packages/backup.scm (rsnapshot)[arguments]: Tweak substitution.
2021-07-17gnu: ungoogled-chromium: Update to 91.0.4472.164-0.a9eb6fd.Marius Bakke
* gnu/packages/chromium.scm (%chromium-version): Set to 91.0.4472.164. (ungoogled-chromium): Update hash.
2021-07-17gnu: python-coveralls: Update to 3.1.0.Marius Bakke
* gnu/packages/python-check.scm (python-coveralls): Update to 3.1.0. [arguments]: Remove trailing #t's. [native-inputs]: Add PYTHON-RESPONSES.
2021-07-17gnu: gdbm: Use HTTPS home page.Marius Bakke
* gnu/packages/dbm.scm (gdbm)[home-page]: Use HTTPS.
2021-07-17gnu: arx-libertatis: Update to 1.2.Pierre Neidhardt
* gnu/packages/games.scm (arx-libertatis): Update to 1.2. [inputs]: Replace sdl with sdl2 and mesa with libepoxy.
2021-07-16gnu: Add transmission-remote-gtk.Justin Veilleux
* 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-16ci: Properly construct URLs.Hartmut Goebel
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-16substitutes: Properly construct URLs.Hartmut Goebel
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-16substitute: Fix handling of short option "-h".Hartmut Goebel
The short option was listed in the help-text, but not recognized.
2021-07-16gnu: Add blitz.Ivan Gankevich
* gnu/packages/maths.scm (blitz): New variable. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2021-07-16gnu: kde-utils.scm: Fix copyright line.Maxim Cournoyer
This is a follow up commit to 4094d12df1. * gnu/packages/kde-utils.scm: Fix copyright line for Zheng Junjie.
2021-07-16gnu: Add ark.Z572
* 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-15gnu: libolm: Unbundle unused blob.Maxime Devos
* 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-15doc: Use Awk in one of the examples.Maxim Cournoyer
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-15ui: Improve output appearance when listing generations.Steve Sprang
* 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-15package: Improve output appearance when listing packages.Steve Sprang
* 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-15utils: Add a procedure for pretty printing tabular data.Steve Sprang
* 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-15gnu: Add putty.terramorpha
* gnu/packages/networking.scm (putty): New variable. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-07-15gnu: btrfs-progs: Update to 5.13.Leo Famulari
* gnu/packages/linux.scm (btrfs-progs): Update to 5.13.
2021-07-15gnu: Add rust-mdns-0.3.Vinicius Monego
* gnu/packages/crates-io.scm (rust-mdns-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: Add rust-dns-parser-0.8.Vinicius Monego
* gnu/packages/crates-io.scm (rust-dns-parser-0.8): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: Add rust-get-if-addrs-0.5.Vinicius Monego
* gnu/packages/crates-io.scm (rust-get-if-addrs-0.5): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: Add rust-unwrap-1.Vinicius Monego
* gnu/packages/crates-io.scm (rust-unwrap-1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: Add rust-get-if-addrs-sys-0.1.Vinicius Monego
* 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-15gnu: Add rust-c-linked-list-1.Vinicius Monego
* gnu/packages/crates-io.scm (rust-c-linked-list-1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: evince: Build with libkpathsea.Leo Prikler
* gnu/packages/gnome.scm (evince)[inputs]: Add libkpathsea.
2021-07-15gnu: Add texlive-libkpathsea.Leo Prikler
* gnu/packages/tex.scm (texlive-libkpathsea): New variable.
2021-07-15gnu: Add python-pygame-sdl2.Leo Prikler
* 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-15gnu: renpy: Correct inputs.Leo Prikler
* 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-15gnu: python2-renpy: Correct inputs.Leo Prikler
* 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-15gnu: python2-renpy: Update description.Leo Prikler
* gnu/packages/game-development.scm (python2-renpy)[description]: Mention, that it's only used for bootstrapping renpy.
2021-07-15gnu: python2-renpy: Drop unused Ren'py sources.Leo Prikler
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-15gnu: Add rust-mpris-player-0.6.Vinicius Monego
* gnu/packages/crates-io.scm (rust-mpris-player-0.6): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: rust-system-deps-1: Fix version requirements.Vinicius Monego
* 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-15gnu: Add rust-dbus-0.6.Vinicius Monego
* gnu/packages/crates-io.scm (rust-dbus-0.6): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: Add rust-libdbus-sys-0.2.Vinicius Monego
* gnu/packages/crates-io.scm (rust-libdbus-sys-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: ffmpeg: Enable vaapi.Jack Hill
* gnu/packages/video.scm (ffmpeg)[arguments]: Add --enable-vaapi to configure-flags. Signed-off-by: Leo Famulari <leo@famulari.name>
2021-07-15gnu: linux-libre 5.4: Update to 5.4.132.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.132. (linux-libre-5.4-pristine-source): Update hash.
2021-07-15gnu: linux-libre 5.10: Update to 5.10.50.Leo Famulari
* 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-15gnu: linux-libre 5.12: Update to 5.12.17.Leo Famulari
* 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-15gnu: linux-libre: Update to 5.13.2.Leo Famulari
* 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-15gnu: linux-libre: Default to the 'schedutil' CPU scaling governor.Leo Famulari
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'.