Skip to content
Snippets Groups Projects
  1. Oct 05, 2020
    • Ludovic Courtès's avatar
      build: Use a 'guile' executable that doesn't warn about locales. · 880fe019
      Ludovic Courtès authored
      This gets rid of:
      
        guile: warning: failed to install locale
      
      when running the 'guix' command on a foreign distro where 'GUIX_LOCPATH'
      isn't set.
      
      * Makefile.am (pkglibexec_PROGRAMS, guile_SOURCES, guile_LDADD)
      (guile_CFLAGS): New variables.
      (install-exec-hook): New target.
      (AUX_FILES): Remove 'guile-launcher.c'.
      * configure.ac: Use 'GUILE_FLAGS'.
      880fe019
    • Ludovic Courtès's avatar
      self: Use a 'guile' that doesn't complain about locales. · 1d4ab335
      Ludovic Courtès authored
      Since commit ba488958, selected UTF-8
      locales are bundled.  However, because 'guix-command' is itself a Guile
      script, users would still see Guile's warning, particularly on foreign
      distros:
      
        $ LC_ALL=sdf guix foo
        guile: warning: failed to install locale
        hint: Consider installing the `glibc-utf8-locales' [...]
      
      User commands would print that warning, but more importantly, each
      invocation of 'guix substitute' would print it, even though
      'guix-daemon.service' explicitly chooses "en_US.utf8", which is in
      'glibc-utf8-locales'.  This leads to confusion since users would keep
      seeing this message unless/until they realize they also need to install
      'glibc-utf8-locales' in root's profile.
      
      This patch gets rid of "guile: warning: ..." for a guix-pulled 'guix'
      command.
      
      * guix/self.scm (specification->package): Add "gcc-toolchain".
      (quiet-guile): New procedure.
      (guix-command): Use it.
      * gnu/packages/aux-files/guile-launcher.c: New file.
      * Makefile.am (AUX_FILES): Add it.
      1d4ab335
  2. Oct 04, 2020
  3. Sep 30, 2020
    • Mathieu Othacehe's avatar
      scripts: system: Add support for image-type. · 313f4926
      Mathieu Othacehe authored
      
      * guix/scripts/system.scm (list-image-types): New procedure,
      (%options): add "image-type" and "list-image-types" options, remove
      "file-system-type" option,
      (show-help): adapt accordingly,
      (%default-options): also adapt, and set the default "image-type" to "raw",
      (perform-action): add image-type argument and remove file-system-type argument,
      (process-action):  adapt perform-action call,
      (system-derivation-for-action): remove base-image
      argument, add image-type argument, and use it to create the image passed to
      "system-image".
      * tests/guix-system.sh: Adapt accordingly and add a test for
      "--list-image-types" command.
      * doc/guix.texi (Building the Installation Image,
      Invoking guix system): Adapt accordingly.
      
      Signed-off-by: default avatarMathieu Othacehe <othacehe@gnu.org>
      313f4926
  4. Sep 07, 2020
    • Ludovic Courtès's avatar
      Remove (guix json) and require Guile-JSON 4.3.0+. · b5eb901a
      Ludovic Courtès authored
      This is a followup to 4071879c.
      
      * guix/json.scm: Remove.
      * Makefile.am (MODULES): Adjust accordingly.
      * m4/guix.m4 (GUIX_CHECK_GUILE_JSON): Check for 'define-json-mapping'.
      * doc/guix.texi (Requirements): Require Guile-JSON 4.3.0+.
      * guix/ci.scm, guix/cve.scm, guix/import/cpan.scm,
      guix/import/crate.scm, guix/swh.scm: Remove (guix json) import.
      * guix/import/gem.scm, guix/import/pypi.scm: Likewise, and import (json).
      * guix/self.scm (specification->package): Switch to GUILE-JSON-4.
      * guix/git-download.scm (git-fetch): Likewise.
      b5eb901a
  5. Sep 02, 2020
  6. Aug 31, 2020
  7. Aug 30, 2020
    • Leo Famulari's avatar
      gnu: Remove linux-libre 5.7. · b3954185
      Leo Famulari authored
      The 5.7 kernel series is no longer supported upstream.
      
      * gnu/packages/linux.scm (deblob-scripts-5.7, linux-libre-5.7-version,
      linux-libre-5.7-pristine-source, linux-libre-5.7-source,
      linux-libre-headers-5.7, linux-libre-5.7) Remove variables.
      * gnu/packages/aux-files/linux-libre/5.7-arm.conf,
      gnu/packages/aux-files/linux-libre/5.7-arm64.conf,
      gnu/packages/aux-files/linux-libre/5.7-i686.conf,
      gnu/packages/aux-files/linux-libre/5.7-x86_64.conf: Delete files.
      * Makefile.am (AUX_FILES): Remove them.
      b3954185
  8. Aug 25, 2020
    • Maxim Cournoyer's avatar
      offload: Modify the build-machine record to accept multiple systems. · 4b5a6fbc
      Maxim Cournoyer authored
      * guix/scripts/offload.scm (<build-machine>)[systems]: New field.
      [system]: Accessor changed to %build-machine-system.  Default to #f.
      * guix/scripts/offload.scm (build-machine-system): Wrap %build-machine-system
      with a deprecation warning.
      (build-machine-systems): Access the new systems field or fallback to use
      build-machine-system, for backward compatibility.
      (machine-matches?): Adjust.
      * tests/offload.scm: Add tests...
      * Makefile.am (SCM_TESTS): ...and register them.
      * doc/guix.texi (Daemon Offload Setup): Update doc.
      4b5a6fbc
  9. Aug 24, 2020
    • Mathieu Othacehe's avatar
      Use "guile-zlib" and "guile-lzlib" instead of (guix config). · 4c0c65ac
      Mathieu Othacehe authored
      * Makefile.am (MODULES): Remove guix/zlib.scm and guix/lzlib.scm,
      (SCM_TESTS): remove tests/zlib.scm, tests/lzlib.scm.
      * build-aux/build-self.scm (make-config.scm): Remove unused %libz variable.
      * configure.ac: Remove LIBZ and LIBLZ variables and check instead for
      Guile-zlib and Guile-lzlib.
      * doc/guix.texi ("Requirements"): Remove zlib requirement and add Guile-zlib
      and Guile-lzlib instead.
      * gnu/packages/package-management.scm (guix)[native-inputs]: Add "guile-zlib"
      and "guile-lzlib",
      [inputs]: remove "zlib" and "lzlib",
      [propagated-inputs]: ditto,
      [arguments]: add "guile-zlib" and "guile-lzlib" to Guile load path.
      * guix/config.scm.in (%libz, %liblz): Remove them.
      * guix/lzlib.scm: Remove it.
      * guix/man-db.scm: Use (zlib) instead of (guix zlib).
      * guix/profiles.scm (manual-database): Do not stub (guix config) in imported
      modules list, instead add "guile-zlib" to the extension list.
      * guix/scripts/publish.scm: Use (zlib) instead of (guix zlib) and (lzlib)
      instead of (guix lzlib),
      (string->compression-type, effective-compression): do not check for zlib and
      lzlib availability.
      * guix/scripts/substitute.scm (%compression-methods): Do not check for lzlib
      availability.
      * guix/self.scm (specification->package): Add "guile-zlib" and "guile-lzlib"
      and remove "zlib" and "lzlib",
      (compiled-guix): remove "zlib" and "lzlib" arguments and add guile-zlib and
      guile-lzlib to the dependencies, also do not pass "zlib" and "lzlib" to
      "make-config.scm" procedure,
      (make-config.scm): remove "zlib" and "lzlib" arguments as well as %libz and
      %liblz variables.
      * guix/utils.scm (lzip-port): Use (lzlib) instead of (guix lzlib) and do not
      check for lzlib availability.
      * guix/zlib.scm: Remove it.
      * m4/guix.m4 (GUIX_LIBZ_LIBDIR, GUIX_LIBLZ_FILE_NAME): Remove them.
      * tests/lzlib.scm: Use (zlib) instead of (guix zlib) and (lzlib)
      instead of (guix lzlib), and do not check for zlib and lzlib availability.
      * tests/publish.scm: Ditto.
      * tests/substitute.scm: Do not check for lzlib availability.
      * tests/utils.scm: Ditto.
      * tests/zlib.scm: Remove it.
      4c0c65ac
  10. Aug 21, 2020
    • Leo Famulari's avatar
      gnu: linux-libre: Update to 5.8.2. · 7bb0527c
      Leo Famulari authored
      * gnu/packages/aux-files/linux-libre/5.8-arm.conf,
      gnu/packages/aux-files/linux-libre/5.8-arm64.conf,
      gnu/packages/aux-files/linux-libre/5.8-i686.conf,
      gnu/packages/aux-files/linux-libre/5.8-x86_64.conf: New files.
      * Makefile.am (AUX_FILES): Add them.
      * gnu/packages/linux.scm (linux-libre-5.8): New variable.
      (linux-libre-version, linux-libre-pristine-source, linux-libre-source,
      linux-libre): Point to linux-libre-5.8*.
      7bb0527c
  11. Aug 05, 2020
    • Leo Famulari's avatar
      gnu: linux-libre: Update to 5.7.12. · 84334427
      Leo Famulari authored
      * gnu/packages/aux-files/linux-libre/5.7-arm.conf,
      gnu/packages/aux-files/linux-libre/5.7-arm64.conf,
      gnu/packages/aux-files/linux-libre/5.7-i686.conf,
      gnu/packages/aux-files/linux-libre/5.7-x86_64.conf: New files.
      * Makefile.am (AUX_FILES): Update accordingly.
      * gnu/packages/linux.scm: (linux-libre-5.7): New variable.
      (linux-libre-version, linux-libre-pristine-source)
      (linux-libre-source, linux-libre): Point to linux-libre-5.7*.
      84334427
  12. Jul 27, 2020
  13. Jul 17, 2020
    • Julien Lepiller's avatar
      guix: Add maven-build-system. · 55b90c90
      Julien Lepiller authored
      * guix/build-system/maven.scm: New file.
      * guix/build/maven-build-system.scm: New file.
      * Makefile.am (MODULES): Add them.
      * doc/guix.texi (Build Systems): Document the maven build system.
      55b90c90
    • Julien Lepiller's avatar
      guix: java-utils: Add Maven-related phases. · 3d3bc413
      Julien Lepiller authored
      * guix/build/maven/java.scm: New file.
      * guix/build/maven/plugin.scm: New file.
      * guix/build/maven/pom.scm: New file.
      * Makefile.am (MODULES): Add them.
      * guix/build-system/ant.scm (%ant-build-system-modules): Add them to the
      build side.
      * guix/build/java-utils.scm (generate-plugin.xml, install-pom-file)
      (install-from-pom): New procedures.
      3d3bc413
  14. Jul 11, 2020
    • Ludovic Courtès's avatar
      maint: Remove 'build-aux/git-authenticate.scm'. · 96bf434c
      Ludovic Courtès authored
      * Makefile.am (channel_intro_commit, channel_intro_signer): New
      variables.
      (authenticate): Use it.
      (EXTRA_DIST): Remove 'build-aux/git-authenticate.scm'.
      * build-aux/git-authenticate.scm: Remove.
      96bf434c
    • Ludovic Courtès's avatar
      Add 'guix git authenticate'. · a9871278
      Ludovic Courtès authored
      * guix/scripts/git.scm, guix/scripts/git/authenticate.scm,
      tests/guix-git-authenticate.sh: New files.
      * Makefile.am (MODULES): Add the *.scm files.
      (SH_TESTS): Add 'tests/guix-git-authenticate.sh'.
      * doc/guix.texi (Channels)[Specifying Channel Authorizations]: Mention
      'guix git authenticate'.
      (Invoking guix git authenticate): New node.
      * po/guix/POTFILES.in: Add 'guix/scripts/git.scm' and
      'guix/scripts/git/authenticate.scm'.
      a9871278
    • Ludovic Courtès's avatar
      Add 'etc/historical-authorizations'. · 4b9b8b2e
      Ludovic Courtès authored
      * etc/historical-authorizations: New file.  Data extracted from
      'build-aux/git-authenticate.scm'.
      * Makefile.am (EXTRA_DIST): Add it.
      4b9b8b2e
  15. Jul 09, 2020
    • Ludovic Courtès's avatar
      maint: Remove traces of "berlin.guixsd.org". · d283bb96
      Ludovic Courtès authored
      The guixsd.org domain is no longer advertised since before in 1.0.0
      release in May 2019.
      
      * etc/substitutes/berlin.guixsd.org.pub: Rename to...
      * etc/substitutes/berlin.guix.gnu.org.pub: ... this.
      * etc/substitutes/ci.guix.gnu.org.pub,
      etc/substitutes/ci.guix.info.pub: Adjust accordingly.
      * gnu/services/base.scm (%default-authorized-guix-keys): Likewise.
      * guix/build/download-nar.scm (urls-for-item): Likewise.
      * guix/self.scm (miscellaneous-files): Likewise.
      * Makefile.am (dist_pkgdata_DATA): Likewise.
      d283bb96
  16. Jun 14, 2020
  17. Jun 08, 2020
  18. Jun 05, 2020
    • Ludovic Courtès's avatar
      git-authenticate: Add tests. · c83eedba
      Ludovic Courtès authored
      * guix/tests/git.scm (call-with-environment-variables)
      (with-environment-variables): Remove.
      * guix/tests/git.scm (populate-git-repository): Add clauses for signed
      commits and signed merges.
      * guix/tests/gnupg.scm: New file.
      * tests/git-authenticate.scm: New file.
      * tests/ed25519bis.key, tests/ed25519bis.sec: New files.
      * Makefile.am (dist_noinst_DATA): Add 'guix/tests/gnupg.scm'.
      (SCM_TESTS): Add 'tests/git-authenticate.scm'.
      (EXTRA_DIST): Add tests/ed25519bis.{key,sec}.
      c83eedba
    • Ludovic Courtès's avatar
      Add (guix git-authenticate). · 41f443c9
      Ludovic Courtès authored
      * build-aux/git-authenticate.scm (commit-signing-key)
      (read-authorizations, commit-authorized-keys, authenticate-commit)
      (load-keyring-from-blob, load-keyring-from-reference)
      (authenticate-commits, authenticated-commit-cache-file)
      (previously-authenticated-commits, cache-authenticated-commit): Remove.
      * build-aux/git-authenticate.scm (git-authenticate): Pass
       #:default-authorizations to 'authenticate-commits'.
      * guix/git-authenticate.scm: New file, with code taken from
      'build-aux/git-authenticate.scm'.  Remove references to
      '%historical-authorized-signing-keys' and add #:default-authorizations
      parameter instead.
      * Makefile.am (MODULES): Add it.
      (authenticate): Depend on guix/git-authenticate.go.
      41f443c9
  19. May 25, 2020
  20. May 21, 2020
    • Ludovic Courtès's avatar
      maint: Add "make check-channel-news". · 1ad5209d
      Ludovic Courtès authored
      * build-aux/check-channel-news.scm: New file.
      * Makefile.am (EXTRA_DIST): Add it.
      (check-channel-news): New phony rule.
      * doc/contributing.texi (Commit Access): Mention "make check-channel-news".
      1ad5209d
  21. May 14, 2020
    • Ludovic Courtès's avatar
      channels: Move quirks and patches to (guix quirks). · 20507347
      Ludovic Courtès authored
      * guix/channels.scm (apply-patches): Don't access <patch> record
      directly; use 'applicable-patch?' and 'apply-patch' instead.
      (<patch>, syscalls-reexports-local-variables?)
      (guile-2.2.4, %quirks, %bug-41028-patch, %patches): Move to...
      * guix/quirks.scm: ... here.  New file.
      (apply-patch, applicable-patch?): New procedures.
      20507347
    • Ludovic Courtès's avatar
      pack: Add relocation via ld.so and fakechroot. · 64562321
      Ludovic Courtès authored
      * gnu/packages/aux-files/run-in-namespace.c (HAVE_EXEC_WITH_LOADER): New
      macro.
      (bind_mount): Rename to...
      (mirror_directory): ... this.  Add 'firmlink' argument and use it
      instead of calling mkdir/open/close/mount directly.
      (bind_mount, make_symlink): New functions.
      (exec_in_user_namespace): Adjust accordingly.
      (exec_with_loader) [HAVE_EXEC_WITH_LOADER]: New function.
      (exec_performance): New function.
      (engines): Add them.
      * guix/scripts/pack.scm (wrapped-package)[fakechroot-library]
      [audit-module]: New procedures.
      [audit-source]: New variable.
      [build](elf-interpreter, elf-loader-compile-flags): New procedures.
      (build-wrapper): Use them.
      * tests/guix-pack-relocatable.sh: Test with
      'GUIX_EXECUTION_ENGINE=fakechroot'.
      * doc/guix.texi (Invoking guix pack): Document the 'performance' and
      'fakechroot' engines.
      * gnu/packages/aux-files/pack-audit.c: New file.
      * Makefile.am (AUX_FILES): Add it.
      64562321
  22. May 13, 2020
    • nikita's avatar
      mailmap: Update entries for Nikita. · 3c986a7d
      nikita authored
      
      * .mailmap: change email and name for Nikita.
      * Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
      gnu/packages/accessibility.scm, gnu/packages/admin.scm,
      gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
      gnu/packages/check.scm, gnu/packages/cinnamon.scm,
      gnu/packages/compression.scm, gnu/packages/crypto.scm,
      gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
      gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
      gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
      gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
      gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
      gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
      gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
      gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
      gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
      gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
      gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
      gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
      gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
      gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
      gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
      gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
      gnu/packages/ncurses.scm, gnu/packages/networking.scm,
      gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
      gnu/packages/perl-check.scm, gnu/packages/perl.scm,
      gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
      gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
      gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
      gnu/packages/rust.scm, gnu/packages/scheme.scm,
      gnu/packages/serialization.scm, gnu/packages/shells.scm,
      gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
      gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
      gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
      gnu/packages/tor.scm, gnu/packages/version-control.scm,
      gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
      gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
      gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
      gnu/services/desktop.scm, gnu/services/version-control.scm,
      gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
      
      Signed-off-by: default avatarEfraim Flashner <efraim@flashner.co.il>
      3c986a7d
  23. May 04, 2020
    • Ludovic Courtès's avatar
      Add (guix openpgp). · 43408e30
      Ludovic Courtès authored
      * guix/openpgp.scm, tests/openpgp.scm, tests/civodul.key,
      tests/dsa.key, tests/ed25519.key, tests/rsa.key,
      tests/ed25519.sec: New files.
      * Makefile.am (MODULES): Add guix/openpgp.scm.
      (SCM_TESTS): Add tests/openpgp.scm.
      (EXTRA_DIST): Add tests/*.key and tests/ed25519.sec.
      43408e30
  24. Apr 17, 2020
  25. Apr 10, 2020
  26. Apr 09, 2020
  27. Mar 23, 2020
    • Vagrant Cascadian's avatar
      gnu: linux-libre-arm-veyron: Deprecate package. · 37f8c50c
      Vagrant Cascadian authored
      * gnu/packages/linux (linux-libre-arm-veyron): Mark as deprecated package.
        (kernel-config-veyron): Remove obsolete function.
      * gnu/system/examples/asus-c201.tmpl: Update to use linux-libre-arm-generic.
      * gnu/packages/aux-files/linux-libre/5.4-arm-veyron.conf: Delete file.
      * Makefile.am (AUX_FILES): Update accordingly.
      37f8c50c
  28. Mar 13, 2020
    • Ludovic Courtès's avatar
      maint: Add 'etc/release-manifest.scm'. · f292c501
      Ludovic Courtès authored
      * etc/release-manifest.scm: New file.
      * gnu/ci.scm (%cross-targets): Export.
      * build-aux/check-available-binaries.scm: Remove.
      * Makefile.am (EXTRA_DIST): Add 'etc/release-manifest.scm' and remove
      'build-aux/check-available-binaries.scm'.
      (assert-binaries-available): Rewrite using 'guix weather -m'.
      f292c501
  29. Mar 05, 2020
    • Ludovic Courtès's avatar
      tests: Add a manifest for system tests. · 5ec4156b
      Ludovic Courtès authored
      The manifest can be passed to 'guix build -m', 'guix weather -m', and so
      on.  It can also be passed to an installed 'guix' (without
      ./pre-inst-env), with the exception so far of installation tests.
      
      * build-aux/run-system-tests.scm: Remove.  Move interesting bits move
      to...
      * etc/system-tests.scm: ... here.  New file.
      * Makefile.am (EXTRA_DIST): Remove 'build-aux/run-system-tests.scm' and
      add 'etc/system-tests.scm'.
      (check-system): Rewrite to run 'guix build -m etc/system-tests.scm'.
      5ec4156b
  30. Feb 21, 2020
    • Pierre Neidhardt's avatar
      build-system: Add copy-build-system. · e90e6404
      Pierre Neidhardt authored
      * guix/build-system/copy.scm: New file.
      * guix/build/copy-build-system.scm: New file.
      * Makefile.am (MODULES): Add them.
      * doc/guix.texi (Build Systems): Document 'copy-build-system'.
      e90e6404
Loading