Re: git: 92d21e44762d - main - Mk/bsd.default-versions.mk: Change default version of Ghostscript to 10

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Tue, 31 Oct 2023 04:13:21 UTC
Hello,

On Fri, Oct 27, 2023 at 1:48 AM Michael Osipov <michaelo@freebsd.org> wrote:

> The branch main has been updated by michaelo:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=92d21e44762dcc3f5d86cb7e7cbb9733782b2218
>
> commit 92d21e44762dcc3f5d86cb7e7cbb9733782b2218
> Author:     Michael Osipov <michaelo@FreeBSD.org>
> AuthorDate: 2023-10-24 12:58:43 +0000
> Commit:     Michael Osipov <michaelo@FreeBSD.org>
> CommitDate: 2023-10-27 07:47:54 +0000
>
>     Mk/bsd.default-versions.mk: Change default version of Ghostscript to
> 10
>
>     * Change default version of Ghostscript from 9 to 10
>

Since you changed the default, please bump all dependent ports for the
dependency change.
Thanks.

Regards,
sunpoet

    * Add entry about change of default Ghostscript version to UPDATING
>
>     PR:             273864
>     Approved by:    jrm (mentor)
>     Differential Revision:  https://reviews.freebsd.org/D42351
> ---
>  Mk/Uses/ghostscript.mk     | 10 +++++-----
>  Mk/bsd.default-versions.mk |  2 +-
>  UPDATING                   | 21 +++++++++++++++++++++
>  3 files changed, 27 insertions(+), 6 deletions(-)
>
> diff --git a/Mk/Uses/ghostscript.mk b/Mk/Uses/ghostscript.mk
> index 9590e55308b7..9379c322a2cf 100644
> --- a/Mk/Uses/ghostscript.mk
> +++ b/Mk/Uses/ghostscript.mk
> @@ -5,11 +5,11 @@
>  # Valid ARGS:  <version>, build, lib, run, test, x11
>  #
>  # version      The chooseable versions are 9, agpl and 10. If no version
> is
> -#              specified version agpl is selected. 9 and agpl are
> synonymous.
> +#              specified version 10 is selected. 9 and agpl are
> synonymous.
>  #
> -#              USES=ghostscript:9      # Use Ghostscript 9
> -#              USES=ghostscript:run    # Use the set default Ghostscript
> as a run dependency
> -#              USES=ghostscript:9,build # Use ghostscript 9 as a build
> dependency.
> +#              USES=ghostscript:10         # Use Ghostscript 10
> +#              USES=ghostscript:run    # Use to set default Ghostscript
> as a run dependency
> +#              USES=ghostscript:9,build # Use Ghostscript 9 as a build
> dependency.
>  #
>  # build                Ghostscript is used as BUILD_DEPENDS
>  # lib          Ghostscript is used as LIB_DEPENDS
> @@ -86,7 +86,7 @@ _GS_STATIC=   yes
>
>  # Resolve minor version number for X11.so library.
>  .  if !empty(_GS_SELECTED:M10)
> -_GS_VERSION_MINOR=     10.01.2
> +_GS_VERSION_MINOR=     10.02.0
>  .  elif !empty(_GS_SELECTED:M9-agpl)
>  _GS_VERSION_MINOR=     9.56.1
>  .  endif
> diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
> index 8550328a468a..2acbb7aed6b8 100644
> --- a/Mk/bsd.default-versions.mk
> +++ b/Mk/bsd.default-versions.mk
> @@ -60,7 +60,7 @@ GCC_DEFAULT?=         8
>  GCC_DEFAULT?=          12
>  .  endif
>  # Possible values: 9, agpl, 10
> -GHOSTSCRIPT_DEFAULT?=  agpl
> +GHOSTSCRIPT_DEFAULT?=  10
>  # Possible values: mesa-libs, mesa-devel
>  GL_DEFAULT?=           mesa-libs
>  # Possible values: 1.19, 1.20, 1.21, 1.22-devel
> diff --git a/UPDATING b/UPDATING
> index 6305013625a9..2a4f9b8d7923 100644
> --- a/UPDATING
> +++ b/UPDATING
> @@ -5,6 +5,27 @@ they are unavoidable.
>  You should get into the habit of checking this file for changes each time
>  you update your ports collection, before attempting any port upgrades.
>
> +20231027:
> +  AFFECTS: users of print/ghostscript9*
> +  AUTHOR: michaelo@FreeBSD.org
> +
> +  The default ghostscript version has been updated from 9 to 10.
> +
> +  If you compile your own ports you may keep 9 as the default version by
> +  adding the following lines to your /etc/make.conf file:
> +
> +  #
> +  # Keep ghostscript 9 as default version
> +  #
> +  DEFAULT_VERSIONS+=ghostscript=9
> +
> +  If you wish to update to the new default version, you need to first
> stop any
> +  software that uses ghostscript. Then, you will need to follow these
> steps,
> +  depending upon how you manage your system.
> +
> +  Please note that print/ghostcript9* will be removed in the future since
> it is
> +  not supported by upstream anymore.
> +
>  20231026:
>    AFFECTS: users of lang/chicken
>    AUTHOR: gahr@FreeBSD.org
>
>