[Buildroot] [PATCH 1/2] package/freetype: bump version to 2.13.0

Yann E. MORIN yann.morin.1998 at free.fr
Sun May 7 19:04:29 UTC 2023


Bernd, All,

On 2023-05-07 18:39 +0200, Bernd Kuhls spake thusly:
> Release notes:
> https://sourceforge.net/projects/freetype/files/freetype2/2.13.0/
> 
> Updated license hash due to upstream commits:
> 
> "fix spelling err in LICENSE.txt"
> https://gitlab.freedesktop.org/freetype/freetype/-/commit/c0b4f6a8625a39ecd4c323d74ddec0e94fca214d
> 
> [autofit] Don't depend on 'hb-ft'.
> https://gitlab.freedesktop.org/freetype/freetype/-/commit/ebe7e9128cdf81cb0a0d27fe293ecff96f6c98a8
> Since we build freetype without harfbuzz support anyway no changes to
> the license information of this package are necessary.

That is not entirely true, but neither it is entirely false; it is a bit
murky...

Indeed, the new license added by ebe7e9128cdf applies to two new files
that are unconditinally included in the build:

    https://gitlab.freedesktop.org/freetype/freetype/-/blob/ebe7e9128cdf81cb0a0d27fe293ecff96f6c98a8/src/autofit/autofit.c

    #include "ft-hb.c"
    #include "afblue.c"
    #include "afcjk.c"
    #include "afdummy.c"
    #include "afglobal.c"
    #include "afhints.c"
    #include "afindic.c"
    #include "aflatin.c"
    #include "afloader.c"
    #include "afmodule.c"
    #include "afranges.c"
    #include "afshaper.c"

So, ft-hb.c is always included. But its code is entorely guarded away
under the FT_CONFIG_OPTION_USE_HARFBUZZ condition, so the license for
that file can be considered moot, indeed.

So, I've tweaked the commit log accordingly.

Applied to master, thanks.

Regards,
Yann E. MORIN.

> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
>  package/freetype/freetype.hash | 8 ++++----
>  package/freetype/freetype.mk   | 2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/package/freetype/freetype.hash b/package/freetype/freetype.hash
> index a558a3e846..60eb8dbb1d 100644
> --- a/package/freetype/freetype.hash
> +++ b/package/freetype/freetype.hash
> @@ -1,8 +1,8 @@
> -# From https://sourceforge.net/projects/freetype/files/freetype2/2.12.1/
> -sha1  5133eed28a7624ffabbf6d00aa3f68b841d62d80  freetype-2.12.1.tar.xz
> -sha256  4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f  freetype-2.12.1.tar.xz
> +# From https://sourceforge.net/projects/freetype/files/freetype2/2.13.0/
> +sha1  6393c1451c2f1c5f83aed5ea92d280af078e27d9  freetype-2.13.0.tar.xz
> +sha256  5ee23abd047636c24b2d43c6625dcafc66661d1aca64dec9e0d05df29592624c  freetype-2.13.0.tar.xz
>  
>  # Locally calculated
> -sha256  c85e842b7ff04d95dab7d68e812773de0f8b67940e5449d35b42c66eb0f619fe  LICENSE.TXT
> +sha256  2e3bbb7d7c5c396368dd0853a790ec29ce5b8647163dde42a0493fb0d6556b2b  LICENSE.TXT
>  sha256  08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1  docs/FTL.TXT
>  sha256  c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18  docs/GPLv2.TXT
> diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
> index 36ef3cb527..4d7c4cd0d5 100644
> --- a/package/freetype/freetype.mk
> +++ b/package/freetype/freetype.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -FREETYPE_VERSION = 2.12.1
> +FREETYPE_VERSION = 2.13.0
>  FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.xz
>  FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype
>  FREETYPE_INSTALL_STAGING = YES
> -- 
> 2.39.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list