summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* gnu: glib: Fix cross-compilation.Maxim Cournoyer2022-01-10
| | | | | | | | | | Fixes <https://issues.guix.gnu.org/52574>. Reported by L p R n d n <guix@lprndn.info>. Thanks to Maxime Devos for the suggested fix. * gnu/packages/glib.scm (glib)[configure-flags]: Define as a G-expression. (glib-with-documentation)[configure-flags]: Likewise.
* gnu: libproxy: Remove target condition from check phase.Maxim Cournoyer2022-01-10
| | | | * gnu/packages/networking.scm (libproxy)[phases]{check}: Remove target condition.
* gnu: libcap: Use #$output unconditionally.Maxim Cournoyer2022-01-10
| | | | | * gnu/packages/linux.scm (libcap)[phases]{configure}: Use #$output unconditionally.
* gnu: heimdal: Unify phases, addressing TODO.Maxim Cournoyer2022-01-10
| | | | | * gnu/packages/kerberos.scm (heimdal)[phases]: Unconditionally use the %current-target-system branch.
* gnu: cairo: Use bash-minimal unconditionally.Maxim Cournoyer2022-01-10
| | | | * gnu/packages/gtk.scm (cairo)[inputs]: Use bash-minimal unconditionally.
* gnu: llvm-12: Use quasiquote, addressing TODO.Maxim Cournoyer2022-01-10
| | | | * gnu/packages/llvm.scm (llvm-12)[configure-flags]: Use quasiquote.
* gnu: mozjs-60: Use quasiquote, addressing TODO.Maxim Cournoyer2022-01-10
| | | | * gnu/packages/gnuzilla.scm (mozjs-60)[configure-flags]: Use quasiquote.
* gnu: gobject-introspection: Unconditionally use flex and bison.Maxim Cournoyer2022-01-10
| | | | | * gnu/packages/glib.scm (gobject-introspection): Delete trailing #t. [native-inputs]: Unconditionally use flex and bison.
* gnu: rust-bitflags-1: Absorb rust-bitflags-1.3.Maxim Cournoyer2022-01-10
| | | | | | | | * gnu/packages/crates-io.scm (rust-bitflags-1.3): Delete variable, absorbed into... (rust-bitflags-1): ... this one. * gnu/packages/syndication.scm (newsboat)[cargo-inputs]: Adjust to use rust-bitflags-1.
* guix: lint: Fix comment per TODO.Maxim Cournoyer2022-01-10
| | | | * guix/lint.scm (check-wrapper-inputs): Address TODO in comment.
* gnu: binutils: Absorb binutils-next.Maxim Cournoyer2022-01-10
| | | | | | | | | | * gnu/packages/base.scm (binutils)[configure-flags]: Set out-of-source? to #t. {--enable-64-bit-bfd, --enable-compressed-debug-sections=all, --enable-lto, --enable-separate-code, --enable-threads}: New flags. (binutils-next): Delete variable. (binutils-gold): Inherit from binutils. * gnu/packages/linux.scm (kexec-tools)[native-inputs]: Replace binutils-next with binutils.
* gnu: isc-dhcp: Address TODOs.Maxim Cournoyer2022-01-10
| | | | | | | * gnu/packages/admin.scm (isc-dhcp): Remove trailing #t. [phases]{post-install}: Remove the 'native-inputs' argument. {post-configure}: Do not patch the libexec scripts. [inputs]{bash}: Remove conditional.
* gnu: autoconf-2.69: Repatriate unpatch-shebangs phase from 2.71.Maxim Cournoyer2022-01-10
| | | | | | * gnu/packages/autotools.scm (autoconf-2.71)[phases]{unpatch-shebangs}: Move to... * gnu/packages/autotools.scm (autoconf-2.69)[phases]: ... here.
* gnu: avahi: Make all arguments unconditional.Maxim Cournoyer2022-01-10
| | | | | | * gnu/packages/avahi.scm (avahi)[origin]: Fix indentation and remove trailing #t. [arguments]: Re-integrate conditional arguments.
* gnu: python-3.9: Update to 3.9.9.Maxim Cournoyer2022-01-10
| | | | * gnu/packages/python.scm (python-3.9): Update to 3.9.9.
* utils: Fix wrap-script argument handling.Brendan Tildesley2022-01-10
| | | | | | | | | | | | | | | * guix/build/utils.scm (wrap-script): Don't add (car cl) one too many times, cl its self contains it's car. Split the aguments string with string-tokenize to avoid leaving an empty string argument when there should be none. These two bugs seemed to be partially cancelling each other out so that scripts still worked when ran with no arguments. * tests/build-utils.scm: Adjust wrap-script to above changes. Add two tests to ensure the command line arguments appear identical to a script and its wrapped version. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: Remove meson-0.59 workarounds.Maxim Cournoyer2022-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | Mostly automated with the following command: $ grep --include='*.scm' '#:meson ,meson-0.59' -rl \ | xargs sed -z 's/#:meson[^\n]*\s*//' -i * gnu/packages/freedesktop.scm (malcontent) (accountsservice): Delete #:meson argument. * gnu/packages/games.scm (gnome-2048): Likewise. * gnu/packages/geo.scm (gnome-maps): Likewise. * gnu/packages/gnome.scm (gnome-photos, gnome-music) (gnome-initial-setup, gnome-user-share, gnome-characters) (gnome-disk-utility, gnome-font-viewer, evince, glade3) (gnome-mines, gnome-sudoku, gnome-settings-daemon, devhelp) (totem, eog, gvfs, simple-scan, epiphany, gnome-session, gedit) (network-manager-applet, gnome-control-center, gnome-shell, nautilus) (gnome-default-applications, gnome-weather, gnome-tweaks, cheese, gthumb) (gitg, polari, gnome-boxes, gtranslator): Likewise. * gnu/packages/gtk.scm: (gtkmm-3): Likewise. * gnu/packages/pdf.scm (zathura): Likewise. * gnu/packages/photo.scm (entangle): Likewise. * gnu/packages/video.scm (pitivi): Likewise. * gnu/packages/virtualization.scm (libvirt-glib): Likewise.
* gnu: meson: Update to 0.60.2 and absorb meson-wrapped.Maxim Cournoyer2022-01-10
| | | | | | | | | | * gnu/packages/build-tools.scm (meson): Update to 0.60.2, and integrate fixes made in 'meson-wrapped': [phases]{wrap}: Replace phase. [inputs]: Add python-wrapper. [propagated-inputs]: Delete field. [properties]: Likewise. (meson-wrapped): Delete variable.
* gnu: python-flit-core: Update to 3.5.1.Maxim Cournoyer2022-01-10
| | | | * gnu/packages/python-build.scm (python-flit-core): Update to 3.5.1.
* gnu: python-tomli: Update to 2.0.0.Maxim Cournoyer2022-01-10
| | | | * gnu/packages/python-build.scm (python-tomli): Update to 2.0.0.
* gnu: python-pyparsing: Update to 3.0.6.Maxim Cournoyer2022-01-10
| | | | | | | * gnu/packages/python-build.scm (python-pyparsing): Update to 3.0.6. [properties]: Add a python2-variant property. (python2-pyparsing): Inherit from the 2.4.7 variant, and strip the python2-variant property.
* gnu: python-wheel: Update to 0.37.0.Maxim Cournoyer2022-01-10
| | | | * gnu/packages/python-build.scm (python-wheel): Update to 0.37.0.
* gnu: python-packaging-bootstrap: Update to 21.3.Maxim Cournoyer2022-01-10
| | | | | * gnu/packages/python-build.scm (python-packaging-bootstrap): Update to 21.3. (python2-packaging-bootstrap): Peg version to 20.0.
* gnu: mesa: Update to 21.3.2.Maxim Cournoyer2022-01-10
| | | | | * gnu/packages/gl.scm (mesa): Update to 21.3.2. [phases]{disable-failing-test}: Disable the anv_state_pool unstable tests.
* gnu: libx11: Update to 1.7.3.1.Maxim Cournoyer2022-01-10
| | | | | | | This update eliminates multiple xkbcomp unresolved symbols warnings. * gnu/packages/xorg.scm (libx11): Update to 1.7.3.1. Fix indentation. [source]: Update origin's URI.
* sitecustomize.py: Honor .pth files.Maxim Cournoyer2022-01-10
| | | | | | | | Fixes <https://issues.guix.gnu.org/52269>. * gnu/packages/aux-files/python/sitecustomize.py: Use site.addsitedirs to add the site directories; this takes care of the .pth files. Make sure the added items still appear before Python's own 'site-packages' directory.
* gnu: i2c-tools: Fix cross-compilation.Mathieu Othacehe2022-01-10
| | | | | * gnu/packages/linux.scm (i2c-tools)[arguments]: Use #$output to fix cross-compilation.
* gnu: Add xfel.Danny Milosavljevic2022-01-10
| | | | * gnu/packages/admin.scm (xfel): New variable.
* news: Add news entry about 'guix style'.Ludovic Courtès2022-01-10
| | | | * etc/news.scm: Add entry.
* style: '-S format' canonicalizes comments.Ludovic Courtès2022-01-10
| | | | | | | | | | * guix/scripts/style.scm (canonicalize-comment): New procedure. (pretty-print-with-comments): Add #:format-comment. and honor it. (object->string*): Add 'args' and honor them. (format-package-definition): Pass #:format-comment to 'object->string*'. * tests/style.scm ("pretty-print-with-comments, canonicalize-comment"): New test.
* style: Add '--styling' option.Ludovic Courtès2022-01-10
| | | | | | | | | | | | | | | | | | | * guix/scripts/style.scm (format-package-definition): New procedure. (%options, show-help): Add "--styling". (%default-options): Add 'styling-procedure'. (guix-style): Honor it. * tests/style.scm (with-test-package) ("input labels, 'safe' policy") ("input labels, 'safe' policy, nothing changed") ("input labels, margin comment") ("input labels, margin comment on long list") ("input labels, line comment") ("input labels, modify-inputs and margin comment"): Pass "-S inputs". * etc/indent-code.el: Remove. * doc/contributing.texi (Formatting Code): Mention "guix style" instead of "etc/indent-code.el". (Submitting Patches): Add item for "guix style". * doc/guix.texi (Invoking guix style): Document "-S" and update.
* style: Add support for "newline forms".Ludovic Courtès2022-01-10
| | | | | | | | | | This allows us to express cases where a newline should be inserted immediately after the head symbol of a list. * guix/scripts/style.scm (%newline-forms): New variable. (newline-form?): New procedure. (pretty-print-with-comments): Handle "newline forms". * tests/style.scm: Add test.
* style: Allow special forms to be scoped.Ludovic Courtès2022-01-10
| | | | | | | | | | | | * guix/scripts/style.scm (vhashq): Add clause for 'lst, and change default clause. (%special-forms): Add context for 'add-after and 'add-before. Add 'replace. (prefix?, special-form-lead): New procedures. (special-form?): Remove. (pretty-print-with-comments): Add 'context' to the threaded state. Adjust 'print-sequence' and adjust 'loop' calls accordingly. * tests/style.scm: Add tests for 'replace.
* style: Improve pretty printer and add tests.Ludovic Courtès2022-01-10
| | | | | | | | | | * guix/scripts/style.scm (vhashq): New macro. (%special-forms): New variable. (special-form?): New procedure. (pretty-print-with-comments): Add many clauses and tweak existing rules. * tests/style.scm (test-pretty-print): New macro. <top level>: Add 'test-pretty-print' tests.
* gnu: julia-simd: Update to 3.4.0.Efraim Flashner2022-01-10
| | | | * gnu/packages/julia-xyz.scm (julia-simd): Update to 3.4.0.
* gnu: Add julia-bioalignments.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-bioalignments): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-intervaltrees.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-intervaltrees): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-biosequences.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-biosequences): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-biosymbols.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-biosymbols): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-yaml.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-yaml): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-stringencodings.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-stringencodings): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-automa.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-automa): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-scanbyte.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-scanbyte): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-simd.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-simd): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-twiddle.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-twiddle): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-indexablebitvectors.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-indexablebitvectors): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-biogenerics.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-biogenerics): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: julia-documenter: Adjust style.zimoun2022-01-10
| | | | | | | | | * gnu/packages/julia-xyz.scm (julia-documenter)[propagated-inputs] Remove labels. [inputs, native-inputs]: Remove labels. [arguments]: Remove unnecessary return '#t'. Use search-input-file to find pip. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: julia-documentertools: Adjust style.zimoun2022-01-10
| | | | | | | * gnu/packages/julia-xyz.scm (julia-documentertools)[inputs]: Remove label. [propagated-inputs]: Adjust. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: julia-zygote: Adjust style.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-zygote)[propagated-inputs]: Remove labels. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>