Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Perez de Castro <aperez@igalia.com>
To: Thomas Devoogdt <thomas.devoogdt@gmail.com>
Cc: Thomas Devoogdt <thomas.devoogdt@gmail.com>,
	Fabrice Fontaine <fontaine.fabrice@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] pacakge/glib-networking: bump to version 2.70.0
Date: Wed, 2 Feb 2022 13:32:22 +0200	[thread overview]
Message-ID: <20220202133222.GB1296849@momiji> (raw)
In-Reply-To: <20220202112528.7778-1-thomas.devoogdt@barco.com>


[-- Attachment #1.1: Type: text/plain, Size: 4269 bytes --]

On Wed, 02 Feb 2022 12:25:28 +0100 Thomas Devoogdt <thomas.devoogdt@gmail.com> wrote:
> From: Thomas Devoogdt <thomas.devoogdt@gmail.com>
> 
> PKCS#11 is required if gnutls is used:
> https://gitlab.gnome.org/GNOME/glib-networking/-/commit/9b3d30e40f306f0e36e2a396d3b6df1edeea9f21
> 
> Older compilers require c_std=gnu99:
> https://gitlab.gnome.org/GNOME/glib-networking/-/commit/b192086b9936602a40a14d00a6883b339b9d7955
> 
> Signed-off-by: Thomas Devoogdt <thomas.devoogdt@gmail.com>

Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>

> ---
>  .../0001-meson-change-std-to-gnu99.patch      | 30 +++++++++++++++++++
>  package/glib-networking/Config.in             |  1 +
>  package/glib-networking/glib-networking.hash  |  4 +--
>  package/glib-networking/glib-networking.mk    |  2 +-
>  4 files changed, 34 insertions(+), 3 deletions(-)
>  create mode 100644 package/glib-networking/0001-meson-change-std-to-gnu99.patch
> 
> diff --git a/package/glib-networking/0001-meson-change-std-to-gnu99.patch b/package/glib-networking/0001-meson-change-std-to-gnu99.patch
> new file mode 100644
> index 0000000000..9f266bc2c8
> --- /dev/null
> +++ b/package/glib-networking/0001-meson-change-std-to-gnu99.patch
> @@ -0,0 +1,30 @@
> +From cdfa726bae1d82b7bd3735475fc2b2c6a31c1d2f Mon Sep 17 00:00:00 2001
> +From: Ignacio Casal Quinteiro <qignacio@amazon.com>
> +Date: Fri, 12 Nov 2021 11:51:33 +0100
> +Subject: [PATCH] meson: change std to gnu99
> +
> +This is the same as glib and should fix issues with old
> +compilers
> +
> +(cherry picked from commit b192086b9936602a40a14d00a6883b339b9d7955)
> +Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
> +---
> + meson.build | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/meson.build b/meson.build
> +index b018ca7b..130a2bf0 100644
> +--- a/meson.build
> ++++ b/meson.build
> +@@ -3,7 +3,7 @@ project(
> +   version: '2.70.0',
> +   license: 'LGPL2.1+',
> +   meson_version: '>= 0.50.0',
> +-  default_options: ['c_std=c99']
> ++  default_options: ['c_std=gnu99']
> + )
> + 
> + prefix = get_option('prefix')
> +-- 
> +2.17.1
> +
> diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in
> index 22331255f7..38cded5e6b 100644
> --- a/package/glib-networking/Config.in
> +++ b/package/glib-networking/Config.in
> @@ -6,6 +6,7 @@ config BR2_PACKAGE_GLIB_NETWORKING
>  	depends on !BR2_STATIC_LIBS
>  	select BR2_PACKAGE_LIBGLIB2
>  	select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS
> +	select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS
>  	help
>  	  Network-related GIO modules for glib.
>  
> diff --git a/package/glib-networking/glib-networking.hash b/package/glib-networking/glib-networking.hash
> index 976a19f25e..6a53b436b0 100644
> --- a/package/glib-networking/glib-networking.hash
> +++ b/package/glib-networking/glib-networking.hash
> @@ -1,3 +1,3 @@
> -# From http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.66/glib-networking-2.66.0.sha256sum
> -sha256  c5d7be2437fdd196eebfb70c4517b96d3ba7ec13bd496318b8f02dea383e0099  glib-networking-2.66.0.tar.xz
> +# From http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.70/glib-networking-2.70.0.sha256sum
> +sha256  66b408e7afa86c582fe38963db56133869ab4b57d34e48ec56aba621940d6f35  glib-networking-2.70.0.tar.xz
>  sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING
> diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk
> index 65630c7fed..53280700bc 100644
> --- a/package/glib-networking/glib-networking.mk
> +++ b/package/glib-networking/glib-networking.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -GLIB_NETWORKING_VERSION_MAJOR = 2.66
> +GLIB_NETWORKING_VERSION_MAJOR = 2.70
>  GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).0
>  GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR)
>  GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
> -- 
> 2.17.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

Cheers,
—Adrián

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-02-02 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-02 11:25 [Buildroot] [PATCH] pacakge/glib-networking: bump to version 2.70.0 Thomas Devoogdt
2022-02-02 11:32 ` Adrian Perez de Castro [this message]
2022-02-05 17:21 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220202133222.GB1296849@momiji \
    --to=aperez@igalia.com \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=thomas.devoogdt@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox