Taken from https://bug1339931.bmoattachments.org/attachment.cgi?id=8837771. # HG changeset patch # Parent 4732a0e5d22bc7e5c1f1ace7a182d537d9cc2c6a Add major version to shell and js-config filenames. Author: Rico Tzschichholz Forwarded: no Last-Update: 2014-10-29 --- diff --git a/js/src/configure b/js/src/configure --- a/js/src/configure +++ b/js/src/configure @@ -1696,8 +1696,13 @@ MOZJS_PATCH_VERSION=`echo $MOZILLA_VERSION | sed "s|^[0-9]*\.[0-9]*[^0-9]*||"` IS_ALPHA=`echo $MOZILLA_VERSION | grep '[ab]'` +if test -n "$JS_STANDALONE"; then +JS_SHELL_NAME=js$MOZJS_MAJOR_VERSION +JS_CONFIG_NAME=js$MOZJS_MAJOR_VERSION-config +else JS_SHELL_NAME=js JS_CONFIG_NAME=js-config +fi if test -n "$IS_ALPHA"; then diff --git a/js/src/configure.in b/js/src/configure.in --- a/js/src/configure.in +++ b/js/src/configure.in @@ -234,16 +234,13 @@ MOZJS_MINOR_VERSION=`echo $MOZILLA_VERSI MOZJS_PATCH_VERSION=`echo $MOZILLA_VERSION | sed "s|^[0-9]*\.[0-9]*[^0-9]*||"` IS_ALPHA=`echo $MOZILLA_VERSION | grep '[ab]'` -dnl XXX in a temporary bid to avoid developer anger at renaming files -dnl XXX before "js" symlinks exist, don't change names. -dnl -dnl if test -n "$JS_STANDALONE"; then -dnl JS_SHELL_NAME=js$MOZJS_MAJOR_VERSION -dnl JS_CONFIG_NAME=js$MOZJS_MAJOR_VERSION-config -dnl else +if test -n "$JS_STANDALONE"; then +JS_SHELL_NAME=js$MOZJS_MAJOR_VERSION +JS_CONFIG_NAME=js$MOZJS_MAJOR_VERSION-config +else JS_SHELL_NAME=js JS_CONFIG_NAME=js-config -dnl fi +fi changequote([,]) if test -n "$IS_ALPHA"; then diff -r 80a9e64d75f5 js/src/Makefile.in --- a/js/src/Makefile.in Wed Jun 25 15:11:42 2014 +0200 +++ b/js/src/Makefile.in Sat Jul 05 14:08:38 2014 +0200 @@ -273,6 +273,9 @@ SCRIPTS = $(JS_CONFIG_NAME) SDK_BINARY = $(JS_CONFIG_NAME) +$(JS_CONFIG_NAME): js-config + cp $^ $@ + $(JS_LIBRARY_NAME).pc: js.pc cp $^ $@ lect>
path: root/etc/guix-daemon.conf.in
AgeCommit message (Expand)Author
2024-06-26etc: Add explicit ‘--substitute-urls’ in guix-daemon service files....Having substitute URLs explicitly listed in the service startup file makes it clearer what should be modified to permanently change the list of substitute URLs. * config-daemon.ac: Rename ‘guix_substitute_urls’ to ‘GUIX_SUBSTITUTE_URLS’ and substitute it. * nix/local.mk (etc/guix-%.service, etc/init.d/guix-daemon) (etc/guix-%.conf): Substitute it. * etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/init.d/guix-daemon.in: Add an explicit ‘--substitute-urls’ option. Change-Id: Ie491b7fab5c42e54dca582801c03805a85de2bf9 Ludovic Courtès
2021-07-07guix-install.sh: Prompt for configuring substitutes discovery....Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news. Maxim Cournoyer