Skip to contentSkip to conversation

package/glib-networking: drop host-intltool

PATCH New Fabrice Fontaine 3 participants 5 messages Jul 5, 2019 – Aug 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/glib-networking: drop host-intltool

intltool is not needed since version 2.49.90 and
https://gitlab.gnome.org/GNOME/glib-networking/commit/f539b7ebdb28bcf58cb2b6b86a15f33f563edaa8

---
 package/glib-networking/glib-networking.mk | 1 -
 1 file changed, 1 deletion(-)
package/glib-networking/glib-networking.mk +0 -1
index 325cbcf8ad..163f1b0dd2 100644
@@ -12,7 +12,6 @@ GLIB_NETWORKING_INSTALL_STAGING = YES
 GLIB_NETWORKING_DEPENDENCIES = \
 	$(TARGET_NLS_DEPENDENCIES) \
 	host-pkgconf \
-	host-intltool \
 	libglib2 \
 	gnutls
 
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/3 package/glib-networking: drop ca_certificates

ca_certificates option is no more available since
https://gitlab.gnome.org/GNOME/glib-networking/commit/72a83a4cbcf4c0214f3131991fabe41c41d33cd6

---
 package/glib-networking/glib-networking.mk | 1 -
 1 file changed, 1 deletion(-)
package/glib-networking/glib-networking.mk +0 -1
index 163f1b0dd2..b11f3a4a67 100644
@@ -16,7 +16,6 @@ GLIB_NETWORKING_DEPENDENCIES = \
 	gnutls
 
 GLIB_NETWORKING_CONF_OPTS = \
-	-Dca_certificates_path=/etc/ssl/certs/ca-certificates.crt \
 	-Dlibproxy_support=false \
 	-Dgnome_proxy_support=false \
 	-Dpkcs11_support=false
Signature · 1 line
2.20.1
#2 lore raw

PATCH 3/3 package/glib-networking: bump to version 2.61.1

In reply to Fabrice Fontaine

- gnutls can be made optional again since
https://gitlab.gnome.org/GNOME/glib-networking/commit/14a3138a6d242238f61ce83018a806e4358961de
- add openssl optional dependency
- pkcs option has been removed since
https://gitlab.gnome.org/GNOME/glib-networking/commit/4d6caa033051f55a157d8b7fb9debdc2fa7e561e
- use new options, see
https://gitlab.gnome.org/GNOME/glib-networking/commit/8629f3d5a58bd12d2b6818b6ca8ff1231375a2fb
- fix build failure with gnutls

Fixes:
- http://autobuild.buildroot.org/results/e233f9a5693e18bee90669910007e122857c7f77

---
 package/glib-networking/Config.in            |  8 +++---
 package/glib-networking/glib-networking.hash |  4 +--
 package/glib-networking/glib-networking.mk   | 26 ++++++++++++++------
 3 files changed, 24 insertions(+), 14 deletions(-)
package/glib-networking/Config.in +3 -5
index b84a739460..ec2962392c 100644
@@ -1,14 +1,12 @@
 config BR2_PACKAGE_GLIB_NETWORKING
 	bool "glib-networking"
-	depends on BR2_USE_WCHAR # glib2, gnutls
+	depends on BR2_USE_WCHAR # glib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	depends on BR2_USE_MMU # glib2
-	depends on !BR2_STATIC_LIBS # gnutls
-	select BR2_PACKAGE_GNUTLS
 	select BR2_PACKAGE_LIBGLIB2
 	help
 	  Network-related GIO modules for glib.
 
-comment "glib-networking needs a toolchain w/ wchar, threads, dynamic library"
+comment "glib-networking needs a toolchain w/ wchar, threads"
 	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/glib-networking/glib-networking.hash +2 -2
index d959175e7c..061b7af695 100644
@@ -1,3 +1,3 @@
-# From http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.58/glib-networking-2.58.0.sha256sum
-sha256  bdfa0255e031b8ee003cc283002536b77ee76450105f1dc6ab066b9bf4330068 glib-networking-2.58.0.tar.xz
+# From http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.61/glib-networking-2.61.1.sha256sum
+sha256  a3acbe8953ba80e408bdc4a3e8c240fd9447181c7e800a175c3105604c38bad5 glib-networking-2.61.1.tar.xz
 sha256	dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
package/glib-networking/glib-networking.mk +19 -7
index b11f3a4a67..39133371f5 100644
@@ -4,25 +4,37 @@
 #
 ################################################################################
 
-GLIB_NETWORKING_VERSION_MAJOR = 2.58
-GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).0
+GLIB_NETWORKING_VERSION_MAJOR = 2.61
+GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).1
 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
 GLIB_NETWORKING_INSTALL_STAGING = YES
 GLIB_NETWORKING_DEPENDENCIES = \
 	$(TARGET_NLS_DEPENDENCIES) \
 	host-pkgconf \
-	libglib2 \
-	gnutls
+	libglib2
 
 GLIB_NETWORKING_CONF_OPTS = \
-	-Dlibproxy_support=false \
-	-Dgnome_proxy_support=false \
-	-Dpkcs11_support=false
+	-Dlibproxy=disabled \
+	-Dgnome_proxy=disabled
 
 GLIB_NETWORKING_LICENSE = LGPL-2.0+
 GLIB_NETWORKING_LICENSE_FILES = COPYING
 GLIB_NETWORKING_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) \
 	GIO_MODULE_DIR=/usr/lib/gio/modules install
 
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+GLIB_NETWORKING_DEPENDENCIES += gnutls
+GLIB_NETWORKING_CONF_OPTS += -Dgnutls=enabled
+else
+GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+GLIB_NETWORKING_DEPENDENCIES += openssl
+GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled
+else
+GLIB_NETWORKING_CONF_OPTS += -Dopenssl=disabled
+endif
+
 $(eval $(meson-package))
Signature · 1 line
2.20.1
#3 lore raw

PATCH 1/3 package/glib-networking: drop host-intltool

In reply to Fabrice Fontaine
Quoted 7 lines · On Fri, 5 Jul 2019 20:35:38 +0200 Fabrice Fontaine…

intltool is not needed since version 2.49.90 and
https://gitlab.gnome.org/GNOME/glib-networking/commit/f539b7ebdb28bcf58cb2b6b86a15f33f563edaa8

---
 package/glib-networking/glib-networking.mk | 1 -
 1 file changed, 1 deletion(-)

Series applied to master. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw

PATCH 1/3 package/glib-networking: drop host-intltool

In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

intltool is not needed since version 2.49.90 and
https://gitlab.gnome.org/GNOME/glib-networking/commit/f539b7ebdb28bcf58cb2b6b86a15f33f563edaa8

Committed to 2019.02.x and 2019.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard