gnu: emacs-chess: Update to 2.0.5.
[jackhill/guix/guix.git] / Makefile.am
index 01a3dc1..1a3ca22 100644 (file)
@@ -47,6 +47,18 @@ scripts/guix: scripts/guix.in Makefile
        $(AM_V_GEN)$(do_subst) < "$(srcdir)/$@.in" > "$@-t"
        $(AM_V_at)chmod a+x,a-w "$@-t" && mv -f "$@-t" "$@"
 
+# This is our variant of the 'guile' executable, one that doesn't complain
+# about locales.
+pkglibexec_PROGRAMS = guile
+guile_SOURCES = gnu/packages/aux-files/guile-launcher.c
+guile_LDADD   = $(GUILE_LIBS)
+guile_CFLAGS  = $(GUILE_CFLAGS)
+
+# Have the 'guix' command refer to our 'guile'.
+install-exec-hook:
+       $(SED) -i "$(DESTDIR)$(bindir)/guix"                            \
+              -e 's,^#![[:graph:]]\+,#!$(pkglibexecdir)/guile,g'
+
 nodist_noinst_SCRIPTS =                                \
   pre-inst-env                                 \
   test-env
@@ -93,6 +105,7 @@ MODULES =                                    \
   guix/derivations.scm                         \
   guix/grafts.scm                              \
   guix/repl.scm                                        \
+  guix/transformations.scm                     \
   guix/inferior.scm                            \
   guix/describe.scm                            \
   guix/quirks.scm                              \
@@ -113,6 +126,7 @@ MODULES =                                   \
   guix/build-system/android-ndk.scm            \
   guix/build-system/ant.scm                    \
   guix/build-system/cargo.scm                  \
+  guix/build-system/chicken.scm                        \
   guix/build-system/clojure.scm                        \
   guix/build-system/cmake.scm                  \
   guix/build-system/dub.scm                    \
@@ -162,6 +176,7 @@ MODULES =                                   \
   guix/build/download-nar.scm                  \
   guix/build/cargo-build-system.scm            \
   guix/build/cargo-utils.scm                   \
+  guix/build/chicken-build-system.scm          \
   guix/build/cmake-build-system.scm            \
   guix/build/dub-build-system.scm              \
   guix/build/dune-build-system.scm             \
@@ -306,6 +321,14 @@ MODULES +=                                 \
 
 endif HAVE_GUILE_SSH
 
+if HAVE_GUILE_AVAHI
+
+MODULES +=                                     \
+  guix/avahi.scm                               \
+  guix/scripts/discover.scm
+
+endif HAVE_GUILE_AVAHI
+
 if BUILD_DAEMON_OFFLOAD
 
 MODULES +=                                     \
@@ -330,13 +353,12 @@ dist_noinst_DATA =                                \
 
 # Auxiliary files for packages.
 AUX_FILES =                                            \
-  gnu/packages/aux-files/guile-launcher.c              \
   gnu/packages/aux-files/chromium/master-preferences.json              \
   gnu/packages/aux-files/emacs/guix-emacs.el           \
-  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    \
+  gnu/packages/aux-files/linux-libre/5.9-arm.conf       \
+  gnu/packages/aux-files/linux-libre/5.9-arm64.conf     \
+  gnu/packages/aux-files/linux-libre/5.9-i686.conf      \
+  gnu/packages/aux-files/linux-libre/5.9-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     \
@@ -396,6 +418,7 @@ SCM_TESTS =                                 \
   tests/base16.scm                             \
   tests/base32.scm                             \
   tests/base64.scm                             \
+  tests/boot-parameters.scm                    \
   tests/bournish.scm                           \
   tests/builders.scm                           \
   tests/build-utils.scm                        \
@@ -444,7 +467,6 @@ SCM_TESTS =                                 \
   tests/pypi.scm                               \
   tests/records.scm                            \
   tests/scripts.scm                            \
-  tests/scripts-build.scm                      \
   tests/search-paths.scm                       \
   tests/services.scm                           \
   tests/services/linux.scm                     \
@@ -461,6 +483,7 @@ SCM_TESTS =                                 \
   tests/syscalls.scm                           \
   tests/system.scm                             \
   tests/texlive.scm                            \
+  tests/transformations.scm                    \
   tests/ui.scm                                 \
   tests/union.scm                              \
   tests/upstream.scm                           \
@@ -549,7 +572,7 @@ dist_zshcompletion_DATA = etc/completion/zsh/_guix
 dist_fishcompletion_DATA = etc/completion/fish/guix.fish
 
 # SELinux policy
-dist_selinux_policy_DATA = etc/guix-daemon.cil
+nodist_selinux_policy_DATA = etc/guix-daemon.cil
 
 EXTRA_DIST +=                                          \
   HACKING                                              \
@@ -557,6 +580,7 @@ EXTRA_DIST +=                                               \
   TODO                                                 \
   CODE-OF-CONDUCT                                      \
   .dir-locals.el                                       \
+  .guix-authorizations                                 \
   .guix-channel                                                \
   scripts/guix.in                                      \
   etc/guix-install.sh                                  \
@@ -654,9 +678,11 @@ channel_intro_commit = 9edb3f66fd807b096b48283debdcddccfea34bad
 channel_intro_signer = BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA
 
 # Authenticate the current Git checkout by checking signatures on every commit.
+GUIX_GIT_KEYRING = origin/keyring
 authenticate:
        $(AM_V_at)echo "Authenticating Git checkout..." ;       \
        guix git authenticate                                   \
+           --keyring=$(GUIX_GIT_KEYRING)                       \
            --cache-key=channels/guix --stats                   \
            "$(channel_intro_commit)" "$(channel_intro_signer)"
 
@@ -695,7 +721,7 @@ AM_DISTCHECK_CONFIGURE_FLAGS =                      \
   ac_cv_guix_test_root="$(GUIX_TEST_ROOT)"
 
 # Name of the 'guix' package shipped in the binary tarball.
-GUIX_FOR_BINARY_TARBALL = guile3.0-guix
+GUIX_FOR_BINARY_TARBALL = guix
 
 # The self-contained tarball.
 guix-binary.%.tar.xz:
@@ -715,8 +741,8 @@ distcheck-hook: assert-binaries-available assert-final-inputs-self-contained
 
 EXTRA_DIST += $(top_srcdir)/.version
 BUILT_SOURCES += $(top_srcdir)/.version
-$(top_srcdir)/.version:
-       echo $(VERSION) > "$@-t" && mv "$@-t" "$@"
+$(top_srcdir)/.version: config.status
+       $(AM_V_GEN)echo $(VERSION) > "$@-t" && mv "$@-t" "$@"
 
 gen-tarball-version:
        echo $(VERSION) > "$(distdir)/.tarball-version"
@@ -811,9 +837,10 @@ release: dist-with-updated-version
        $(MKDIR_P) "$(releasedir)"
        rm -f "$(releasedir)"/*
        mv $(SOURCE_TARBALLS) "$(releasedir)"
-       $(top_builddir)/pre-inst-env "$(GUILE)"                 \
-          $(top_srcdir)/build-aux/update-guix-package.scm      \
-          "`git rev-parse HEAD`" "$(PACKAGE_VERSION)"
+       GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT=yes \
+       $(top_builddir)/pre-inst-env "$(GUILE)" \
+               $(top_srcdir)/build-aux/update-guix-package.scm \
+               "`git rev-parse HEAD`" "$(PACKAGE_VERSION)"
        git add $(top_srcdir)/gnu/packages/package-management.scm
        git commit -m "gnu: guix: Update to $(PACKAGE_VERSION)."
        $(top_builddir)/pre-inst-env guix build $(GUIX_FOR_BINARY_TARBALL)      \
@@ -825,9 +852,10 @@ release: dist-with-updated-version
          mv "guix-binary.$$system.tar.xz"                                      \
              "$(releasedir)/guix-binary-$(PACKAGE_VERSION).$$system.tar.xz" ;  \
        done
-       $(top_builddir)/pre-inst-env "$(GUILE)"                 \
-          $(top_srcdir)/build-aux/update-guix-package.scm      \
-          "`git rev-parse HEAD`"
+       GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT=yes \
+       $(top_builddir)/pre-inst-env "$(GUILE)" \
+               $(top_srcdir)/build-aux/update-guix-package.scm \
+               "`git rev-parse HEAD`"
        git add $(top_srcdir)/gnu/packages/package-management.scm
        git commit -m "gnu: guix: Update to `git rev-parse HEAD | cut -c1-7`."
        $(top_builddir)/pre-inst-env guix build guix                    \