Age | Commit message (Expand) | Author |
2023-04-17 | Merge remote-tracking branch 'origin/master' into core-updates | Andreas Enge |
2023-04-17 | self: Restructure accessing packages....Both for consistency (always use specification->package as defined in this
module) and so that all the packages that are used can be accessed (which
comes in useful when applying grafts).
* guix/self.scm (%packages): New variable.
(specification->package): Use %packages.
(locale-data, translate-texi-manuals, info-manual, guix-command,
compiled-guix): Use specification->package.
Signed-off-by: Christopher Baines <mail@cbaines.net>
| Christopher Baines |
2023-04-17 | packages: Export guile-for-grafts....So this can be used in (guix self).
* guix/packages.scm (guile-for-grafts): Export.
Signed-off-by: Christopher Baines <mail@cbaines.net>
| Christopher Baines |
2023-04-14 | maint: Merge sanity-check-next.py into sanity-check.py....* gnu/packages/aux-files/python/sanity-check-next.py: Rename to...
* gnu/packages/aux-files/python/sanity-check.py: ... this.
* guix/build-system/pyproject.scm (sanity-check.py): Adjust file name.
* Makefile.am (AUX_FILES): De-register sanity-check-next.py.
| Maxim Cournoyer |
2023-04-14 | Merge branch 'master' into core-updates....Conflicts:
gnu/local.mk
gnu/packages/build-tools.scm
gnu/packages/certs.scm
gnu/packages/check.scm
gnu/packages/compression.scm
gnu/packages/cups.scm
gnu/packages/fontutils.scm
gnu/packages/gnuzilla.scm
gnu/packages/guile.scm
gnu/packages/ibus.scm
gnu/packages/image-processing.scm
gnu/packages/linux.scm
gnu/packages/music.scm
gnu/packages/nss.scm
gnu/packages/pdf.scm
gnu/packages/python-xyz.scm
gnu/packages/qt.scm
gnu/packages/ruby.scm
gnu/packages/shells.scm
gnu/packages/tex.scm
gnu/packages/video.scm
gnu/packages/vulkan.scm
gnu/packages/web.scm
gnu/packages/webkit.scm
gnu/packages/wm.scm
| Maxim Cournoyer |
2023-04-14 | build/glib-or-gtk: Avoid duplicate entries in gdk-pixbuf loaders cache....* guix/build/glib-or-gtk-build-system.scm (generate-gdk-pixbuf-loaders-cache):
Delete duplicate directories passed as input.
| Maxim Cournoyer |
2023-04-14 | build: qt-utils: Revert setting QT_PLUGIN_PATH exactly....Fixes <https://issues.guix.gnu.org/57742>.
The documentation of Qt states that it is a supported use case to mix Qt 5 and
Qt 6 plugins in QT_PLUGIN_PATH [0]. This reverts the change to QT_PLUGIN_PATH
introduced in 1f466ed6be9 ("build: qt: Add qtbase argument and wrap Qt
environment variables exactly.").
[0] https://doc.qt.io/qt-6.2/deployment-plugins.html#loading-and-verifying-plugins-dynamically
* guix/build/qt-utils.scm (variables-for-wrapping): Wrap QT_PLUGIN_PATH using
the prefix method.
| Maxim Cournoyer |
2023-04-12 | status: Guard against a numerical overflow condition....Fixes <https://issues.guix.gnu.org/62766>.
* guix/status.scm (update-build): Use 0 as progress when an exception occurs
while computing it.
| Maxim Cournoyer |
2023-04-12 | import: opam: Tweak doc for '--repo' option....* guix/scripts/import/opam.scm (show-help): Tweak doc for. '--repo'.
| Ludovic Courtès |
2023-04-12 | import: opam: opam->guix-package: Fix default repo argument....* guix/import/opam.scm (opam->guix-package): Make default repo a list of
strings. Update docstring.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| Csepp |
2023-04-12 | svn-download: Default to non-recursive checkouts....As it turns out, all packages that fetch code from Subversion expect it
to be non-recursive by default. Clarify that.
Reported by Timothy Sample <samplet@ngyro.com>.
* guix/svn-download.scm (<svn-reference>)[recursive?]: Default to #f.
(<svn-multi-reference>)[recursive?]: Likewise.
| Ludovic Courtès |
2023-04-12 | import: Properly report "no specific version" errors....* guix/import/cpan.scm (latest-release): Use 'raise' instead of
'error'.
* guix/import/elpa.scm (latest-release): Likewise.
* guix/import/hackage.scm (latest-release): Likewise.
* guix/import/minetest.scm (latest-minetest-release): Likewise.
* guix/import/opam.scm (latest-release): Likewise.
* guix/import/stackage.scm (latest-lts-release): Likewise.
| Ludovic Courtès |
2023-04-12 | packages: Remove 'origin-sha256' procedure....* guix/packages.scm (origin-sha256): Remove procedure.
* tests/import-utils.scm (test-import-utils)
[alist->package with explicit source]: Use content-hash-value.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Bruno Victal |
2023-04-12 | po: Do not auto-translate cross-references to other manuals....Reported by Gottfried at
<https://lists.gnu.org/archive/html/help-guix/2023-04/msg00000.html>.
* guix/build/po.scm (xref-regexp): Dispatch on the number of
arguments. Ensure there is no info-manual argument or it is empty.
(translate-cross-references): Adapt to changed regexp.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Florian Pelz |
2023-04-12 | environment: Add '--nesting'....* guix/scripts/environment.scm (show-environment-options-help)
(%options): Add '--nesting'.
(options/resolve-packages): Handle it.
(launch-environment/container): Add #:nesting? and honor it.
[nesting-mappings]: New procedure.
(guix-environment*): Add support for '--nesting'.
* guix/scripts/shell.scm (profile-cached-gc-root): Special-case
'nesting?'.
* tests/guix-environment-container.sh: Test it.
* doc/guix.texi (Invoking guix shell): Document it.
| Ludovic Courtès |
2023-04-10 | status: Guard against a numerical overflow condition....Fixes <https://issues.guix.gnu.org/62766>.
* guix/status.scm (update-build): Use 0 as progress when an exception occurs
while computing it.
| Maxim Cournoyer |
2023-04-10 | status: Guard against a numerical overflow condition....Fixes <https://issues.guix.gnu.org/62766>.
* guix/status.scm (update-build): Use 0 as progress when an exception occurs
while computing it.
| Maxim Cournoyer |
2023-04-09 | build: meson: Explicitly invoke "meson setup" instead of just "meson"....* guix/build/meson-build-system.scm (configure): Invoke the setup command to
avoid a deprecation warning.
| Maxim Cournoyer |
2023-04-09 | build: meson: Honor bindir, libdir and includedir....This brings our meson-build-system closer to our gnu-build-system in terms of
using different installation prefixes based on the presence of outputs such as
"bin", "lib" or "include".
* guix/build/meson-build-system.scm (configure): Add --bindir, --libdir and
--includedir according to the presence of the "bin", "lib" and "include"
outputs, as done in gnu-build-system.
| Maxim Cournoyer |
2023-04-08 | import: opam: Tweak doc for '--repo' option....* guix/scripts/import/opam.scm (show-help): Tweak doc for. '--repo'.
| Ludovic Courtès |
2023-04-08 | import: opam: opam->guix-package: Fix default repo argument....* guix/import/opam.scm (opam->guix-package): Make default repo a list of
strings. Update docstring.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| Csepp |
2023-04-08 | svn-download: Default to non-recursive checkouts....As it turns out, all packages that fetch code from Subversion expect it
to be non-recursive by default. Clarify that.
Reported by Timothy Sample <samplet@ngyro.com>.
* guix/svn-download.scm (<svn-reference>)[recursive?]: Default to #f.
(<svn-multi-reference>)[recursive?]: Likewise.
| Ludovic Courtès |
2023-04-08 | import: Properly report "no specific version" errors....* guix/import/cpan.scm (latest-release): Use 'raise' instead of
'error'.
* guix/import/elpa.scm (latest-release): Likewise.
* guix/import/hackage.scm (latest-release): Likewise.
* guix/import/minetest.scm (latest-minetest-release): Likewise.
* guix/import/opam.scm (latest-release): Likewise.
* guix/import/stackage.scm (latest-lts-release): Likewise.
| Ludovic Courtès |
2023-04-07 | packages: Remove 'origin-sha256' procedure....* guix/packages.scm (origin-sha256): Remove procedure.
* tests/import-utils.scm (test-import-utils)
[alist->package with explicit source]: Use content-hash-value.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Bruno Victal |
2023-04-07 | po: Do not auto-translate cross-references to other manuals....Reported by Gottfried at
<https://lists.gnu.org/archive/html/help-guix/2023-04/msg00000.html>.
* guix/build/po.scm (xref-regexp): Dispatch on the number of
arguments. Ensure there is no info-manual argument or it is empty.
(translate-cross-references): Adapt to changed regexp.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Florian Pelz |
2023-04-06 | environment: Add '--nesting'....* guix/scripts/environment.scm (show-environment-options-help)
(%options): Add '--nesting'.
(options/resolve-packages): Handle it.
(launch-environment/container): Add #:nesting? and honor it.
[nesting-mappings]: New procedure.
(guix-environment*): Add support for '--nesting'.
* guix/scripts/shell.scm (profile-cached-gc-root): Special-case
'nesting?'.
* tests/guix-environment-container.sh: Test it.
* doc/guix.texi (Invoking guix shell): Document it.
| Ludovic Courtès |
2023-04-06 | build-system/gnu: Add missing module import....This import was removed in ae587c2ef041413bc709a555261db752068ea360 on
'master'; it was inappropriate on 'core-updates'.
Reported by Christopher Baines.
* guix/build-system/dune.scm: Import (guix build-system gnu).
| Ludovic Courtès |
2023-03-31 | Merge branch 'master' into staging | Maxim Cournoyer |
2023-03-30 | guix: Shorten home page URL in texlive importer....* guix/import/texlive.scm (tlpdb->package): Use short URL for home page.
| Nicolas Goaziou |
2023-03-29 | import/texlive: tlpdb->package: Ignore files outside of texmf-dist....* guix/import/texlive.scm (tlpdb->package): Ignore files outside of texmf-dist
because the code assumes that this is the prefix for all files.
| Ricardo Wurmus |
2023-03-29 | import/texlive: Process license field only when it exists....* guix/import/texlive.scm (tlpdb->package): Check "catalogue-license" field
before using string->license.
| Ricardo Wurmus |
2023-03-29 | import/texlive: Only process description if it exists....* guix/import/texlive.scm (tlpdb->package): Run beautify-description only when
the "longdesc" field exists.
| Ricardo Wurmus |
2023-03-29 | import/texlive: Ignore architecture-dependent packages....* guix/import/texlive.scm (tlpdb->package): Filter "depend" field to exclude
package names ending on ".ARCH".
| Ricardo Wurmus |
2023-03-28 | Merge remote-tracking branch 'origin/master' into staging | Maxim Cournoyer |
2023-03-28 | Revert "lint: Append "/info/refs" to git-reference-url."...This reverts commit c9af27d4ca733b20f09019f1465d3e5fdc1ec724.
The change causes 'guix lint' to print URI not reachable (403) errors for
GitHub every URLs.
| Maxim Cournoyer |
2023-03-28 | build: qt-utils: Revert setting QT_PLUGIN_PATH exactly....Fixes <https://issues.guix.gnu.org/57742>.
The documentation of Qt states that it is a supported use case to mix Qt 5 and
Qt 6 plugins in QT_PLUGIN_PATH [0]. This reverts the change to QT_PLUGIN_PATH
introduced in 1f466ed6be9 ("build: qt: Add qtbase argument and wrap Qt
environment variables exactly.").
[0] https://doc.qt.io/qt-6.2/deployment-plugins.html#loading-and-verifying-plugins-dynamically
* guix/build/qt-utils.scm (variables-for-wrapping): Wrap QT_PLUGIN_PATH using
the prefix method.
| Maxim Cournoyer |
2023-03-27 | lint: Append "/info/refs" to git-reference-url....For the atftp package added in the preceeding commit, lint produced this
warning:
gnu/packages/networking.scm:2924:5: atftp@0.8.0:
URI https://git.code.sf.net/p/atftp/code not reachable:
404 ("Not Found")
Thanks to Sergey Trofimov for suggesting a fix! [1]
[1] https://issues.guix.gnu.org/62156#3
It was implemented here, and the warning disappeared.
* guix/lint.scm (check-source): Append "/info/refs" to git-reference-url.
Co-authored-by: Sergey Trofimov <sarg@sarg.org.ru>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Felix Lechner |
2023-03-27 | lint: Prevent inlining of 'package-vulnerabilities'....* guix/lint.scm (package-vulnerabilities): Prevent inlining.
| Ludovic Courtès |
2023-03-27 | syscalls: 'getxattr' throws upon error....* guix/build/syscalls.scm (getxattr): Throw in the negative SIZE case.
| Ludovic Courtès |
2023-03-27 | substitute: Gracefully handle TLS termination while fetching narinfos....Fixes <https://issues.guix.gnu.org/62476>.
* guix/substitutes.scm (call-with-connection-error-handling): Add
'gnutls-error case.
| Ludovic Courtès |
2023-03-21 | scripts: refresh: Add -T option....* doc/guix.texi (Invoking guix refresh): Document the -T option.
* guix/scripts/refresh.scm (%options): Add the -T flag.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
| jgart |
2023-03-21 | guix: Run check-synopsis-style with other local checks....* guix/lint.scm (%network-dependent-checkers): Move check-synopsis-style to...
(%local-checkers): ... here.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
| Sergey Trofimov |
2023-03-20 | Merge remote-tracking branch 'origin/master' into core-updates | Andreas Enge |
2023-03-17 | ui: format 'display-hint' output when no arguments are passed....When display-hint is given format specifiers such as "~%" but no arguments,
it does not format the output, causing the specifiers to be visible in the
displayed text.
* guix/ui.scm (display-hint): Format output when no arguments are passed.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Antero Mejr |
2023-03-17 | pack: "fakechroot" engine passes the recursive RUNPATH to ld.so....This is a followup to 58abd5873985e0cd9a2926867bf697c5e7bc01f9, which
did not fully address <https://issues.guix.gnu.org/43491>.
* guix/scripts/pack.scm (wrapped-package)[build](runpath): Rewrite in
terms of 'file-needed/recursive'.
| Ludovic Courtès |
2023-03-16 | read-print: 'read-with-comments' reads comments within gexps....Fixes <https://issues.guix.gnu.org/62059>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.
* guix/read-print.scm (read-with-comments): Special-case #~, #$, and #+.
* tests/read-print.scm: Add two tests.
| Ludovic Courtès |
2023-03-16 | guix: Improve download-nar....Previously download-nar worked with gzipped nars and queried
berlin.guix.gnu.org (also known as ci.guix.gnu.org). ci.guix.gnu.org no longer
serves gzipped nars so this is of limited use.
This commit changes download-nar to query both the default substitute servers,
and queries for lzipped rather than gzipped nars, since those are available
from both.
* guix/build/download-nar.scm (urls-for-item): Return urls for lzip rather
than gzip compression, and from both default substitute servers. The comment
about CDN's is no longer relevant.
(restore-gzipped-nar): Rename to restore-lzipped-nar and reimplement
accordingly.
(download-nar): Add progress reporting and switch to use lzip rather than
gzip.
* guix/cvs-download.scm (cvs-fetch): Replace guile-zlib with guile-lzlib.
* guix/git-download.scm (git-fetch): Replace guile-zlib with guile-lzlib.
* guix/hg-download.scm (hg-fetch): Replace guile-zlib with guile-lzlib.
* guix/android-repo-download.scm (android-repo-fetch): Add guile-lzlib for
download-nar.
Signed-off-by: Christopher Baines <mail@cbaines.net>
| Christopher Baines |
2023-03-13 | guix: Leave some of guix/build/* unchanged....This partially reverts ae587c2ef041413bc709a555261db752068ea360 to
reduce the number of rebuilds.
| Ludovic Courtès |
2023-03-13 | environment: Clear 'TERM' when checking environment....* guix/scripts/environment.scm (child-shell-environment): Set 'TERM' to
the empty string.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| Winter |
2023-03-13 | guix: Strip #:use-module lists....This was obtained by setting up this environment:
guix shell -D guix --with-input=guile@3.0.9=guile-next \
--with-commit=guile-next=e2ed33ef0445c867fe56c247054aa67e834861f2
-- make -j5
then adding 'unused-module' to (@@ (guix build compiler) %warnings),
building, and checking all the "unused module" warnings and removing
those that were definitely unused.
| Ludovic Courtès |