From patchwork Fri Aug 30 12:26:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fiona Klute X-Patchwork-Id: 1978966 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WwHTY4kdtz1yfn for ; Fri, 30 Aug 2024 22:27:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8777140120; Fri, 30 Aug 2024 12:27:11 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 4HER9Pbn2qPR; Fri, 30 Aug 2024 12:27:08 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org E3BE241197 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id E3BE241197; Fri, 30 Aug 2024 12:27:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 98DC81BF98E for ; Fri, 30 Aug 2024 12:27:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 92DED4118C for ; Fri, 30 Aug 2024 12:27:05 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id IOyCLO1oTbh4 for ; Fri, 30 Aug 2024 12:27:01 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.17.22; helo=mout.gmx.net; envelope-from=fiona.klute@gmx.de; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org A80A340502 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org A80A340502 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by smtp2.osuosl.org (Postfix) with ESMTPS id A80A340502 for ; Fri, 30 Aug 2024 12:26:57 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from haruka.lan ([85.22.6.139]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MPGVx-1sR5M30RSf-00O1td; Fri, 30 Aug 2024 14:26:54 +0200 To: buildroot@buildroot.org Date: Fri, 30 Aug 2024 14:26:32 +0200 Message-ID: <20240830122637.3722450-2-fiona.klute@gmx.de> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240830122637.3722450-1-fiona.klute@gmx.de> References: <20240830122637.3722450-1-fiona.klute@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:IePpJfOZdIu6EBraSmObXkHhfRKU6Q4zcrYsW7xU94qUWd0nyjk tJ72YkDyiQAos/V5NqionBnH7rrKpKzQTHGvPjKT6nuvomcbdro7+BstTcp0+zdQMHeP3ez S3FfjhtN7LVx8KxxzPrmWiLDzzk7UBzNqXvkiCQLgvyykEcfDAwFokZ0cAQyrs8L+4POZ9a /GcaM7nZKzRKFRPa4dP3g== UI-OutboundReport: notjunk:1;M01:P0:tTsTCxxBDrs=;nX+YPUy7eOCL51isoIYTUn39nTY 6uAUwIM9Vj2zx5vkXrQ7Bu3WNykhrxqRrfkH/5r8fA2e+orpADg9BOesn5+LjA8Q3s13RtFMw AuQcOk7Md9sILEbQSVG1jZiqcUTw2osQt3n1I8VRVdSck5S36dJIJPn3WJaCVZWM/8qB+n6V9 MicyYH/ZDBg2NtmkY7QdvVh1A63dyIElD+gLprFWzVN5UNQJWEkozmfClSkqFH7zoj5auIwAu 2UttAKj3+/7tKEgUbRoIzE7FcItyBULGuMa+6eu3yQj7OeNLC4vfrZiS7lwswk3XcQrwmFrYe AC0xZWUmvN8hFXiQ7sZq/2Xd7QMK5b3uZUfOoReyqhizUUU6OeIyK42nBS5NLoPDbCEyV6TB6 872Q0vIkw/joRWi+1P2xflCDLcVHVMACI2lukNTnMO3eTcurI5Dg2DJXRNYnfHMFpP+kngUsP e6aIYy4BISS+dqk55wHAiRC11TKh8ccYgIISgyJmzW8ZmGMuNfhh39GKD65Xgu2ad06x8s3Sf /74VOPHRcymGjpsNy8xlhJ25j/h49+YYG2EURNV56j5BP5nryEj/FkwW4I//1OeKaxTiWZ7Gt +3K2EMWLbqLP+LHnPxOcwI7e8wN/IC9P725V3mdQZ2UL408axbjGNkeLDyNCSCyzn5vnVVnD8 k0fRS+y15UfI3FMhZYz/KBUUUYzOeuwJ9W6PSAwFSjHzXvLdpOwM5z0oUSGfGX+LAfnK7q4QA 2b4+2BZ21tux9vK7m4Bb2rwSYo9gDItb1H5aTbLgW6aAQnDlKA2YWw+m2AiI1hl7WwceF2Fcu RS3c4beYWE+2GnJ49Gwqf7cA== X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1725020814; x=1725625614; i=fiona.klute@gmx.de; bh=VOynVyXLwMC7JxJkprW72Qckw/FPXlEOZtFnvC5Ip9U=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=DOtMRzYZYeUNGntmg0tXbmambFC8VXZcztze1nalsuuIA17OqxVt7ofzrx/erGsC UMu8CTGFSb6tBmmsxPEDX5K4nKtQUScjgtt01haWylXSsn6MwHLpr4+i0vXm7MWdO 6oU3+JtNfu/Z4qbNRoTKG9xkxEtdJ4vrDi0bQDrm4Fmg4B3aI++di72R7td85pXIq buwzR2CmqyIfuQidzlqDqTFxCsrVVuysOpcLMwXyvP13QfTTjN8JcpxmTHlLa9hdb erI9NoVtKoTFpKVIZZo0PrLnXgAjrsKsBbe1qZDS8QX7IUH3AUkCGhUsxY08HgnnP OixsBGzuiiOT/RKdsQ== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmx.de header.i=fiona.klute@gmx.de header.a=rsa-sha256 header.s=s31663417 header.b=DOtMRzYZ Subject: [Buildroot] [PATCH next v2 1/3] package/{gobject-introspection, libglib2}: bump to {1.80.1, 2.82.0} X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Fiona Klute via buildroot From: Fiona Klute Reply-To: Fiona Klute Cc: Eric Le Bihan , Asaf Kahlon , Fabrice Fontaine , James Hilliard , Marcus Hoffmann , "Fiona Klute \(WIWA\)" , "Yann E . MORIN" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: "Fiona Klute (WIWA)" There are a lot of interconnected changes in these releases: Since 2.79.0 libglib2 needs to be bootstrapped without introspection support before gobject-introspection can be built, the added libglib2-bootstrap sub-package takes care of that if gobject-introspection is also selected. See NEWS at [1]. Current versions of gobject-introspection build with musl (Alpine dropped the last compatibility patch with the update to 1.80.1 [2]), so relax the dependency on glibc. libglib2: Set Qemu as exe_wrapper for Meson cross-compiling, building introspection support requires the ability to run target binaries. libglib2: drop patches included upstream gobject-introspection: The homepage has moved, the previously listed one links to the new URL. [1] https://gitlab.gnome.org/GNOME/glib/-/blob/2.82.0/NEWS?ref_type=tags#L668-677 [2] https://gitlab.alpinelinux.org/alpine/aports/-/commit/528c4ee63970fe6ee733b6ea99ef7a59a8f108ff Signed-off-by: Fiona Klute (WIWA) --- Changes v1 -> v2: * Update libglib2 to 2.82.0 instead of 2.80.4, drop one more patch * make building introspection data for libglib2 conditional on BR2_PACKAGE_GOBJECT_INTROSPECTION=y * skip bootstrap for target package when building without introspection, do not depend on Qemu in that case package/gobject-introspection/Config.in | 8 +- .../gobject-introspection.hash | 4 +- .../gobject-introspection.mk | 11 ++- ...girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch | 38 ++++---- ...rmat-in-gio-gunixconnection.c-part-2.patch | 93 ------------------ ...documentation-generation-with-gtk_do.patch | 96 ------------------- ...ion-of-a-system-provided-proxy-libin.patch | 53 ---------- ...05-meson-try-iconv-in-libintl-lookup.patch | 53 ---------- .../0006-link-with-latomic-when-needed.patch | 52 ---------- package/libglib2/Config.in | 2 + ...girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch | 1 + .../libglib2-bootstrap.hash | 1 + .../libglib2-bootstrap/libglib2-bootstrap.mk | 47 +++++++++ package/libglib2/libglib2.hash | 4 +- package/libglib2/libglib2.mk | 21 +++- 15 files changed, 106 insertions(+), 378 deletions(-) delete mode 100644 package/libglib2/0002-Fix-error-format-in-gio-gunixconnection.c-part-2.patch delete mode 100644 package/libglib2/0003-meson-wrap-html-documentation-generation-with-gtk_do.patch delete mode 100644 package/libglib2/0004-meson-Fix-detection-of-a-system-provided-proxy-libin.patch delete mode 100644 package/libglib2/0005-meson-try-iconv-in-libintl-lookup.patch delete mode 100644 package/libglib2/0006-link-with-latomic-when-needed.patch create mode 120000 package/libglib2/libglib2-bootstrap/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch create mode 120000 package/libglib2/libglib2-bootstrap/libglib2-bootstrap.hash create mode 100644 package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk -- 2.45.2 diff --git a/package/gobject-introspection/Config.in b/package/gobject-introspection/Config.in index 42250eb776..8ff8b296f1 100644 --- a/package/gobject-introspection/Config.in +++ b/package/gobject-introspection/Config.in @@ -14,7 +14,7 @@ config BR2_PACKAGE_GOBJECT_INTROSPECTION # can be verified. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 depends on BR2_HOST_GCC_AT_LEAST_8 # host-qemu - depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # gobject-introspection does not require python3 to run on the # target; however, because the tools run in a qemu wrapper, a # cross-compiled python3 must be installed to staging. As there @@ -36,15 +36,15 @@ config BR2_PACKAGE_GOBJECT_INTROSPECTION language bindings can read this metadata and automatically provide bindings to call into the C library. - https://wiki.gnome.org/action/show/Projects/GObjectIntrospection + https://gi.readthedocs.io/ comment "gobject-introspection needs python3" depends on !BR2_PACKAGE_PYTHON3 depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS -comment "gobject-introspection needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" +comment "gobject-introspection needs a glibc or musl toolchain, gcc >= 4.9, host gcc >= 8" depends on BR2_USE_MMU depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_HOST_GCC_AT_LEAST_8 diff --git a/package/gobject-introspection/gobject-introspection.hash b/package/gobject-introspection/gobject-introspection.hash index 063b96275d..3fdfb5de63 100644 --- a/package/gobject-introspection/gobject-introspection.hash +++ b/package/gobject-introspection/gobject-introspection.hash @@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/gobject-introspection/1.76/gobject-introspection-1.76.1.sha256sum -sha256 196178bf64345501dcdc4d8469b36aa6fe80489354efe71cb7cb8ab82a3738bf gobject-introspection-1.76.1.tar.xz +# From https://download.gnome.org/sources/gobject-introspection/1.80/gobject-introspection-1.80.1.sha256sum +sha256 a1df7c424e15bda1ab639c00e9051b9adf5cea1a9e512f8a603b53cd199bc6d8 gobject-introspection-1.80.1.tar.xz sha256 faa2e414bd5f91d2d2c39e85c7cc3f2ccde05c3306f96b404f8ed8cf0266c279 COPYING.LGPL sha256 4c1cedcbb4a12ea964f1160dbbf36099e5a59b96129a99a1a1a61f2cb09271fb COPYING.GPL sha256 23f82cbc9808cdd8e902df38271434040ce0562ca382ac2a96f5e3bf807b6d31 giscanner/scannerlexer.l diff --git a/package/gobject-introspection/gobject-introspection.mk b/package/gobject-introspection/gobject-introspection.mk index ad72af22a2..f5042a344a 100644 --- a/package/gobject-introspection/gobject-introspection.mk +++ b/package/gobject-introspection/gobject-introspection.mk @@ -4,7 +4,7 @@ # ################################################################################ -GOBJECT_INTROSPECTION_VERSION_MAJOR = 1.76 +GOBJECT_INTROSPECTION_VERSION_MAJOR = 1.80 GOBJECT_INTROSPECTION_VERSION = $(GOBJECT_INTROSPECTION_VERSION_MAJOR).1 GOBJECT_INTROSPECTION_SITE = https://download.gnome.org/sources/gobject-introspection/$(GOBJECT_INTROSPECTION_VERSION_MAJOR) GOBJECT_INTROSPECTION_SOURCE = gobject-introspection-$(GOBJECT_INTROSPECTION_VERSION).tar.xz @@ -12,19 +12,24 @@ GOBJECT_INTROSPECTION_INSTALL_STAGING = YES GOBJECT_INTROSPECTION_LICENSE = LGPL-2.0+, GPL-2.0+, BSD-2-Clause GOBJECT_INTROSPECTION_LICENSE_FILES = COPYING.LGPL COPYING.GPL giscanner/scannerlexer.l +# gobject-introspection depends on the bootstrap version of libglib2 +# during the build because the full version depends on +# gobject-introspection (applies to target and host packages +# alike). "select BR2_PACKAGE_LIBGLIB2" in Config.in ensures the full +# libglib2 gets installed together with gobject-introspection. GOBJECT_INTROSPECTION_DEPENDENCIES = \ host-autoconf-archive \ host-gobject-introspection \ host-qemu \ libffi \ - libglib2 \ + libglib2-bootstrap \ python3 \ zlib HOST_GOBJECT_INTROSPECTION_DEPENDENCIES = \ host-bison \ host-flex \ - host-libglib2 \ + host-libglib2-bootstrap \ host-python3 # g-ir-scanner will default to /usr/bin/ld for linking if this is not set. diff --git a/package/libglib2/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch b/package/libglib2/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch index 8f87671167..c6135b15a1 100644 --- a/package/libglib2/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch +++ b/package/libglib2/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch @@ -1,4 +1,4 @@ -From 03e9cae3f3a7e2bbd5110f1ce2739601571bc024 Mon Sep 17 00:00:00 2001 +From 3fcd5f431dee9909b6bcbd9b8b61d4b1fe4b5f92 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 12 Nov 2021 18:01:05 +0100 Subject: [PATCH] meson.build: add girdir to gio-2.0.pc and glib-2.0.pc @@ -16,6 +16,8 @@ Fixes: Signed-off-by: Fabrice Fontaine [Dario: make the patch to be applied with fuzz factor 0] Signed-off-by: Dario Binacchi +[Fiona: refresh for glib 2.80.4] +Signed-off-by: Fiona Klute (WIWA) Upstream: Never submitted --- gio/meson.build | 1 + @@ -23,29 +25,29 @@ Upstream: Never submitted 2 files changed, 2 insertions(+) diff --git a/gio/meson.build b/gio/meson.build -index 462606f3b56c..e6b736167b8d 100644 +index 59c2b0f..5120537 100644 --- a/gio/meson.build +++ b/gio/meson.build -@@ -880,6 +880,7 @@ pkg.generate(libgio, - variables : ['datadir=' + join_paths('${prefix}', get_option('datadir')), - 'schemasdir=' + join_paths('${datadir}', schemas_subdir), - 'bindir=' + join_paths('${prefix}', get_option('bindir')), -+ 'girdir=' + join_paths('${libdir}', '../share/gir-1.0'), - 'giomoduledir=' + pkgconfig_giomodulesdir, - 'gio=' + join_paths('${bindir}', 'gio'), - 'gio_querymodules=@0@'.format(pkgconfig_multiarch_bindir / 'gio-querymodules'), +@@ -885,6 +885,7 @@ pkg.generate(libgio, + variables : [ + 'schemasdir=' + '${datadir}' / schemas_subdir, + 'dtdsdir=' + '${datadir}' / dtds_subdir, ++ 'girdir=' + join_paths('${libdir}', '../share/gir-1.0'), + 'giomoduledir=' + pkgconfig_giomodulesdir, + 'gio=' + '${bindir}' / 'gio', + 'gio_querymodules=' + pkgconfig_multiarch_bindir / 'gio-querymodules', diff --git a/glib/meson.build b/glib/meson.build -index da76fc005e46..cde2edb197c7 100644 +index d2efeba..a69532b 100644 --- a/glib/meson.build +++ b/glib/meson.build -@@ -441,6 +441,7 @@ pkg.generate(libglib, +@@ -447,6 +447,7 @@ pkg.generate(libglib, subdirs : ['glib-2.0'], extra_cflags : ['-I${libdir}/glib-2.0/include'] + win32_cflags, - variables : ['bindir=' + join_paths('${prefix}', get_option('bindir')), -+ 'girdir=' + join_paths('${libdir}', '../share/gir-1.0'), - 'glib_genmarshal=' + join_paths('${bindir}', 'glib-genmarshal'), - 'gobject_query=' + join_paths('${bindir}', 'gobject-query'), - 'glib_mkenums=' + join_paths('${bindir}', 'glib-mkenums')], + variables : [ ++ 'girdir=' + join_paths('${libdir}', '../share/gir-1.0'), + 'glib_genmarshal=' + '${bindir}' / 'glib-genmarshal', + 'gobject_query=' + '${bindir}' / 'gobject-query', + 'glib_mkenums=' + '${bindir}' / 'glib-mkenums', -- -2.43.0 +2.45.2 diff --git a/package/libglib2/0002-Fix-error-format-in-gio-gunixconnection.c-part-2.patch b/package/libglib2/0002-Fix-error-format-in-gio-gunixconnection.c-part-2.patch deleted file mode 100644 index 6075bacb06..0000000000 --- a/package/libglib2/0002-Fix-error-format-in-gio-gunixconnection.c-part-2.patch +++ /dev/null @@ -1,93 +0,0 @@ -From 4ae8606b6f80f9764e1f0a82cea7e23c8af487ae Mon Sep 17 00:00:00 2001 -From: James Knight -Date: Thu, 20 Apr 2023 23:41:32 -0400 -Subject: [PATCH] Fix error format in gio/gunixconnection.c (part 2) -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Update a series of error messages to use `g_set_error_literal` instead -of `g_set_error`. This should prevent `format-nonliteral` compiler -issues when `-Werror` is configured: - - ../gio/gunixconnection.c: In function ‘g_unix_connection_receive_fd’: - ../gio/gunixconnection.c:183:9: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] - 183 | nscm); - | ^~~~ - ../gio/gunixconnection.c:217:20: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] - 217 | nfd); - | ^~~ - ../gio/gunixconnection.c: In function ‘g_unix_connection_receive_credentials’: - ../gio/gunixconnection.c:601:24: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] - 601 | nscm); - | ^~~~ - -This is similar to a previous change [1] made to `gunixconnection.c`. - -[1]: 44b3d5d80445234041f6c59feb89645f7102c3a4 - -Signed-off-by: James Knight -Upstream: backport from upstream https://gitlab.gnome.org/GNOME/glib/-/commit/4ae8606b6f80f9764e1f0a82cea7e23c8af487ae ---- - gio/gunixconnection.c | 31 ++++++++++++++----------------- - 1 file changed, 14 insertions(+), 17 deletions(-) - -diff --git a/gio/gunixconnection.c b/gio/gunixconnection.c -index b3f2b1c04b0abdf7136918585ae4cea8970a88bb..c012fcbfe00b69e9da609c7b626229db98e931ac 100644 ---- a/gio/gunixconnection.c -+++ b/gio/gunixconnection.c -@@ -176,11 +176,10 @@ g_unix_connection_receive_fd (GUnixConnection *connection, - { - gint i; - -- g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, -- ngettext("Expecting 1 control message, got %d", -- "Expecting 1 control message, got %d", -- nscm), -- nscm); -+ g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED, -+ ngettext ("Expecting 1 control message, got %d", -+ "Expecting 1 control message, got %d", -+ nscm)); - - for (i = 0; i < nscm; i++) - g_object_unref (scms[i]); -@@ -210,11 +209,10 @@ g_unix_connection_receive_fd (GUnixConnection *connection, - { - gint i; - -- g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, -- ngettext("Expecting one fd, but got %d\n", -- "Expecting one fd, but got %d\n", -- nfd), -- nfd); -+ g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED, -+ ngettext ("Expecting one fd, but got %d\n", -+ "Expecting one fd, but got %d\n", -+ nfd)); - - for (i = 0; i < nfd; i++) - close (fds[i]); -@@ -592,13 +590,12 @@ g_unix_connection_receive_credentials (GUnixConnection *connection, - { - if (nscm != 1) - { -- g_set_error (error, -- G_IO_ERROR, -- G_IO_ERROR_FAILED, -- ngettext("Expecting 1 control message, got %d", -- "Expecting 1 control message, got %d", -- nscm), -- nscm); -+ g_set_error_literal (error, -+ G_IO_ERROR, -+ G_IO_ERROR_FAILED, -+ ngettext ("Expecting 1 control message, got %d", -+ "Expecting 1 control message, got %d", -+ nscm)); - goto out; - } - --- -2.39.1.windows.1 - diff --git a/package/libglib2/0003-meson-wrap-html-documentation-generation-with-gtk_do.patch b/package/libglib2/0003-meson-wrap-html-documentation-generation-with-gtk_do.patch deleted file mode 100644 index 0fa15ad164..0000000000 --- a/package/libglib2/0003-meson-wrap-html-documentation-generation-with-gtk_do.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 0fa17ec3c7152cf0e1cbf965acf1426ac203bb1d Mon Sep 17 00:00:00 2001 -From: James Knight -Date: Thu, 27 Apr 2023 20:23:30 -0400 -Subject: [PATCH] meson: wrap html documentation generation with gtk_doc option - -By default, if a host environment has the `rst2html5` application -available, builds will automatically perform some HTML documentation -generation from the documentation's glib reference content (e.g. -creating `gvariant-specification-1.0.html`). The creation of this -documentation is not required for all use cases. - -This commit tweaks the building of the HTML-based GLIB specification -document to be guarded by `gtk_doc`. - -Signed-off-by: James Knight -Upstream: https://gitlab.gnome.org/GNOME/glib/-/commit/0fa17ec3c7152cf0e1cbf965acf1426ac203bb1d -[yann.morin.1998@free.fr: backport from upstream] -Signed-off-by: Yann E. MORIN ---- - docs/reference/glib/meson.build | 58 +++++++++++++++++---------------- - 1 file changed, 30 insertions(+), 28 deletions(-) - -diff --git a/docs/reference/glib/meson.build b/docs/reference/glib/meson.build -index 114de49da..3cfff2f0b 100644 ---- a/docs/reference/glib/meson.build -+++ b/docs/reference/glib/meson.build -@@ -113,35 +113,37 @@ if get_option('man') - endforeach - endif - --# GVariant specification is currently standalone --rst2html5 = find_program('rst2html5', 'rst2html5.py', required: false) -+if get_option('gtk_doc') -+ # GVariant specification is currently standalone -+ rst2html5 = find_program('rst2html5', 'rst2html5.py', required: false) - --if rst2html5.found() -- spec_path = glib_datadir / 'doc' / 'glib-2.0' -+ if rst2html5.found() -+ spec_path = glib_datadir / 'doc' / 'glib-2.0' - -- figures = files( -- 'gvariant-byte-boundaries.svg', -- 'gvariant-integer-and-string-structure.svg', -- 'gvariant-integer-array.svg', -- 'gvariant-string-array.svg', -- ) -+ figures = files( -+ 'gvariant-byte-boundaries.svg', -+ 'gvariant-integer-and-string-structure.svg', -+ 'gvariant-integer-array.svg', -+ 'gvariant-string-array.svg', -+ ) - -- custom_target('gvariant-specification-1.0', -- input: 'gvariant-specification-1.0.rst', -- output: 'gvariant-specification-1.0.html', -- command: [ -- rst2html5, -- '@INPUT@', -- ], -- capture: true, -- install: true, -- install_dir: spec_path, -- install_tag: 'doc', -- depend_files: figures, -- ) -+ custom_target('gvariant-specification-1.0', -+ input: 'gvariant-specification-1.0.rst', -+ output: 'gvariant-specification-1.0.html', -+ command: [ -+ rst2html5, -+ '@INPUT@', -+ ], -+ capture: true, -+ install: true, -+ install_dir: spec_path, -+ install_tag: 'doc', -+ depend_files: figures, -+ ) - -- install_data(figures, -- install_dir : spec_path, -- install_tag : 'doc', -- ) --endif -\ No newline at end of file -+ install_data(figures, -+ install_dir : spec_path, -+ install_tag : 'doc', -+ ) -+ endif -+endif --- -2.25.1 - diff --git a/package/libglib2/0004-meson-Fix-detection-of-a-system-provided-proxy-libin.patch b/package/libglib2/0004-meson-Fix-detection-of-a-system-provided-proxy-libin.patch deleted file mode 100644 index 57404705d0..0000000000 --- a/package/libglib2/0004-meson-Fix-detection-of-a-system-provided-proxy-libin.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 2ca9f53327308e85e376bcbef7f8259a6331a453 Mon Sep 17 00:00:00 2001 -From: Nirbheek Chauhan -Date: Thu, 8 Sep 2022 02:36:33 +0530 -Subject: [PATCH] meson: Fix detection of a system-provided proxy-libintl - -proxy-libintl defines ngettext() as a define in the header that points -to the actual symbol in the library which is g_libintl_ngettext(). -Same with bind_textdomain_codeset(). - -Upstream: https://gitlab.gnome.org/GNOME/glib/-/commit/32249a22fc39319651e7c23442d37ec837f05764 -Signed-off-by: Thomas Devoogdt ---- - meson.build | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/meson.build b/meson.build -index 0cbc9689f..de0bee5a3 100644 ---- a/meson.build -+++ b/meson.build -@@ -2089,6 +2089,7 @@ libz_dep = dependency('zlib') - # FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible - # implementations. This could be extended if issues are found in some platforms. - libintl_deps = [] -+libintl_prefix = '#include ' - libintl = dependency('intl', required: false, allow_fallback: false) - if libintl.found() - # libintl supports different threading APIs, which may not -@@ -2100,11 +2101,11 @@ if libintl.found() - # - # Meson's builtin dependency lookup as of 0.60.0 doesn't check for - # pthread, so we do this manually here. -- if cc.has_function('ngettext', dependencies : libintl) -+ if cc.has_function('ngettext', dependencies : libintl, prefix: libintl_prefix) - libintl_deps += [libintl] - else - libintl_pthread = cc.find_library('pthread', required : false) -- if libintl_pthread.found() and cc.has_function('ngettext', dependencies : [libintl, libintl_pthread]) -+ if libintl_pthread.found() and cc.has_function('ngettext', dependencies : [libintl, libintl_pthread], prefix: libintl_prefix) - libintl_deps += [libintl, libintl_pthread] - else - libintl = disabler() -@@ -2113,7 +2114,7 @@ if libintl.found() - endif - - if libintl.found() -- have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset', dependencies: libintl_deps) -+ have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset', dependencies: libintl_deps, prefix: libintl_prefix) - else - libintl = dependency('intl', allow_fallback: true) - assert(libintl.type_name() == 'internal') --- -2.34.1 - diff --git a/package/libglib2/0005-meson-try-iconv-in-libintl-lookup.patch b/package/libglib2/0005-meson-try-iconv-in-libintl-lookup.patch deleted file mode 100644 index a342ee95d6..0000000000 --- a/package/libglib2/0005-meson-try-iconv-in-libintl-lookup.patch +++ /dev/null @@ -1,53 +0,0 @@ -From fe7f54d4f339b7948c961b60729f620f2eaec716 Mon Sep 17 00:00:00 2001 -From: Jan200101 -Date: Tue, 23 May 2023 23:42:37 +0200 -Subject: [PATCH] meson: try iconv in libintl lookup -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This was originally removed in !2734 but still appears to be required for -some MinGW setups, such as the `x86_64-w64-mingw32.static` target in -[mxe](https://github.com/mxe/mxe). - -Currently, this configuration fails the libintl internal assert on line -2128, as on this platform `ngettext()` is only found inside libiconv. - -This commit will look up iconv potentially twice, once as `libiconv` and -potentially once as `libintl_iconv`. This is what the code did before -!2734 landed, so it’s known to work reliably on a number of platforms. - -Upstream: https://gitlab.gnome.org/GNOME/glib/-/commit/a497d5be122f193dcf8679334308333bbbc14a71 -Signed-off-by: Thomas Devoogdt ---- - meson.build | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -diff --git a/meson.build b/meson.build -index de0bee5a3..653f9eddf 100644 ---- a/meson.build -+++ b/meson.build -@@ -2104,11 +2104,16 @@ if libintl.found() - if cc.has_function('ngettext', dependencies : libintl, prefix: libintl_prefix) - libintl_deps += [libintl] - else -- libintl_pthread = cc.find_library('pthread', required : false) -- if libintl_pthread.found() and cc.has_function('ngettext', dependencies : [libintl, libintl_pthread], prefix: libintl_prefix) -- libintl_deps += [libintl, libintl_pthread] -+ libintl_iconv = cc.find_library('iconv', required : false) -+ if libintl_iconv.found() and cc.has_function('ngettext', dependencies : [libintl, libintl_iconv]) -+ libintl_deps += [libintl, libintl_iconv] - else -- libintl = disabler() -+ libintl_pthread = cc.find_library('pthread', required : false) -+ if libintl_pthread.found() and cc.has_function('ngettext', dependencies : [libintl, libintl_pthread], prefix: libintl_prefix) -+ libintl_deps += [libintl, libintl_pthread] -+ else -+ libintl = disabler() -+ endif - endif - endif - endif --- -2.34.1 - diff --git a/package/libglib2/0006-link-with-latomic-when-needed.patch b/package/libglib2/0006-link-with-latomic-when-needed.patch deleted file mode 100644 index 3b5a071010..0000000000 --- a/package/libglib2/0006-link-with-latomic-when-needed.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 4e6dc4dee0e1c6407113597180d9616b4f275f94 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 2 May 2024 14:02:17 +0200 -Subject: [PATCH] link with -latomic when needed - -Some architecture such as sparc and some flavors of arm needs -latomic -to avoid the following build failure: - -gthread-posix.c:(.text+0xda8): undefined reference to `__atomic_compare_exchange_4' - -Signed-off-by: Fabrice Fontaine -Upstream: https://gitlab.gnome.org/GNOME/glib/-/commit/4e6dc4dee0e1c6407113597180d9616b4f275f94 ---- - glib/meson.build | 1 + - meson.build | 9 +++++++++ - 2 files changed, 10 insertions(+) - -diff --git a/glib/meson.build b/glib/meson.build -index 24cbb664d4..b2dd569e1e 100644 ---- a/glib/meson.build -+++ b/glib/meson.build -@@ -419,6 +419,7 @@ libglib = library('glib-2.0', - include_directories : configinc, - link_with: [charset_lib, gnulib_lib], - dependencies : [ -+ atomic_dep, - gnulib_libm_dependency, - libiconv, - libintl_deps, -diff --git a/meson.build b/meson.build -index 46c5aa200a..8b42940558 100644 ---- a/meson.build -+++ b/meson.build -@@ -2233,6 +2233,15 @@ libffi_dep = dependency('libffi', version : '>= 3.0.0') - - libz_dep = dependency('zlib') - -+libatomic_test_code = ''' -+ int main (int argc, char ** argv) { -+ return 0; -+ }''' -+atomic_dep = [] -+if cc.links(libatomic_test_code, args : '-latomic', name : 'check for -latomic') -+ atomic_dep = cc.find_library('atomic') -+endif -+ - # First check in libc, fallback to libintl, and as last chance build - # proxy-libintl subproject. - # FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible --- -2.44.0 - diff --git a/package/libglib2/Config.in b/package/libglib2/Config.in index 077d7d66e8..cf0ac41743 100644 --- a/package/libglib2/Config.in +++ b/package/libglib2/Config.in @@ -3,6 +3,8 @@ config BR2_PACKAGE_LIBGLIB2 depends on BR2_USE_WCHAR # gettext depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_HOST_QEMU if BR2_PACKAGE_GOBJECT_INTROSPECTION + select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE if BR2_PACKAGE_GOBJECT_INTROSPECTION select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE select BR2_PACKAGE_LIBFFI select BR2_PACKAGE_PCRE2 diff --git a/package/libglib2/libglib2-bootstrap/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch b/package/libglib2/libglib2-bootstrap/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch new file mode 120000 index 0000000000..2249639e5c --- /dev/null +++ b/package/libglib2/libglib2-bootstrap/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch @@ -0,0 +1 @@ +../0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch \ No newline at end of file diff --git a/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.hash b/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.hash new file mode 120000 index 0000000000..f182b8b6ec --- /dev/null +++ b/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.hash @@ -0,0 +1 @@ +../libglib2.hash \ No newline at end of file diff --git a/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk b/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk new file mode 100644 index 0000000000..683caec408 --- /dev/null +++ b/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# libglib2-bootstrap +# +################################################################################ + +# Since version 2.79.0 libglib2 needs gobject-introspection to build +# with introspection support. As gobject-introspection requires +# libglib2 to build this means a bootstrap process is needed, as +# described in the NEWS entry: +# +# 1. build libglib2 without introspection (this bootstrap package) +# 2. build build gobject-introspection +# 3. build libglib2 with introspection (the main libglib2 package). +# +# The bootstrap package is an implementation detail that nothing +# except gobject-introspection should depend on. + +LIBGLIB2_BOOTSTRAP_VERSION_MAJOR = $(LIBGLIB2_VERSION_MAJOR) +LIBGLIB2_BOOTSTRAP_VERSION = $(LIBGLIB2_VERSION) +LIBGLIB2_BOOTSTRAP_SOURCE = $(LIBGLIB2_SOURCE) +LIBGLIB2_BOOTSTRAP_SITE = $(LIBGLIB2_SITE) +LIBGLIB2_BOOTSTRAP_LICENSE = $(LIBGLIB2_LICENSE) +LIBGLIB2_BOOTSTRAP_LICENSE_FILES = $(LIBGLIB2_LICENSE_FILES) +LIBGLIB2_BOOTSTRAP_CPE_ID_VENDOR = $(LIBGLIB2_CPE_ID_VENDOR) +LIBGLIB2_BOOTSTRAP_CPE_ID_PRODUCT = $(LIBGLIB2_CPE_ID_PRODUCT) +LIBGLIB2_BOOTSTRAP_INSTALL_STAGING = YES +LIBGLIB2_BOOTSTRAP_DL_SUBDIR = libglib2 + +LIBGLIB2_BOOTSTRAP_CFLAGS = $(LIBGLIB2_CFLAGS) +LIBGLIB2_BOOTSTRAP_LDFLAGS = $(LIBGLIB2_LDFLAGS) + +LIBGLIB2_BOOTSTRAP_DEPENDENCIES = $(filter-out gobject-introspection,$(LIBGLIB2_DEPENDENCIES)) +LIBGLIB2_BOOTSTRAP_CONF_OPTS = $(patsubst -Dintrospection=%,-Dintrospection=disabled,$(LIBGLIB2_CONF_OPTS)) + +HOST_LIBGLIB2_BOOTSTRAP_DEPENDENCIES = $(filter-out host-gobject-introspection,$(HOST_LIBGLIB2_DEPENDENCIES)) +HOST_LIBGLIB2_BOOTSTRAP_CONF_OPTS = $(patsubst -Dintrospection=%,-Dintrospection=disabled,$(HOST_LIBGLIB2_CONF_OPTS)) + +LIBGLIB2_BOOTSTRAP_MESON_EXTRA_PROPERTIES = $(LIBGLIB2_MESON_EXTRA_PROPERTIES) + +LIBGLIB2_BOOTSTRAP_POST_INSTALL_TARGET_HOOKS = $(LIBGLIB2_POST_INSTALL_TARGET_HOOKS) + +# Finalize hooks aren't necessary for the bootstrap package, the full +# libglib2 will take care of that. + +$(eval $(meson-package)) +$(eval $(host-meson-package)) diff --git a/package/libglib2/libglib2.hash b/package/libglib2/libglib2.hash index 07ed7635a6..4802feda64 100644 --- a/package/libglib2/libglib2.hash +++ b/package/libglib2/libglib2.hash @@ -1,4 +1,4 @@ -# https://download.gnome.org/sources/glib/2.76/glib-2.76.1.sha256sum -sha256 43dc0f6a126958f5b454136c4398eab420249c16171a769784486e25f2fda19f glib-2.76.1.tar.xz +# https://download.gnome.org/sources/glib/2.80/glib-2.80.4.sha256sum +sha256 f4c82ada51366bddace49d7ba54b33b4e4d6067afa3008e4847f41cb9b5c38d3 glib-2.82.0.tar.xz # License files, locally calculated sha256 fa6f36630bb1e0c571d34b2bbdf188d08495c9dbf58f28cac112f303fc1f58fb COPYING diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index bffc565f11..0bab84f961 100644 --- a/package/libglib2/libglib2.mk +++ b/package/libglib2/libglib2.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBGLIB2_VERSION_MAJOR = 2.76 -LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).1 +LIBGLIB2_VERSION_MAJOR = 2.82 +LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).0 LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.xz LIBGLIB2_SITE = https://download.gnome.org/sources/glib/$(LIBGLIB2_VERSION_MAJOR) LIBGLIB2_LICENSE = LGPL-2.1+ @@ -25,6 +25,7 @@ endif HOST_LIBGLIB2_CONF_OPTS = \ -Ddtrace=false \ -Dglib_debug=disabled \ + -Dintrospection=enabled \ -Dlibelf=disabled \ -Dselinux=disabled \ -Dsystemtap=false \ @@ -38,6 +39,7 @@ LIBGLIB2_DEPENDENCIES = \ HOST_LIBGLIB2_DEPENDENCIES = \ host-gettext \ + host-gobject-introspection \ host-libffi \ host-pcre2 \ host-pkgconf \ @@ -60,6 +62,15 @@ LIBGLIB2_MESON_EXTRA_PROPERTIES = \ have_c99_snprintf=true \ have_unix98_printf=true +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBGLIB2_CONF_OPTS += -Dintrospection=enabled +LIBGLIB2_DEPENDENCIES += gobject-introspection host-qemu +LIBGLIB2_MESON_EXTRA_BINARIES = \ + exe_wrapper='$(QEMU_USER)' +else +LIBGLIB2_CONF_OPTS += -Dintrospection=disabled +endif + ifeq ($(BR2_PACKAGE_ELFUTILS),y) LIBGLIB2_DEPENDENCIES += elfutils endif @@ -138,3 +149,9 @@ $(eval $(meson-package)) $(eval $(host-meson-package)) LIBGLIB2_HOST_BINARY = $(HOST_DIR)/bin/glib-genmarshal + +# Bootstrap is only needed if building with introspection. However +# introspection is unconditionally enabled for host-libglib2, so the +# include must happen for the host package even if target libglib2 is +# built without introspection. +include package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk From patchwork Fri Aug 30 12:26:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fiona Klute X-Patchwork-Id: 1978964 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WwHTN1b2Lz1yfn for ; Fri, 30 Aug 2024 22:27:04 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 93F3B41158; Fri, 30 Aug 2024 12:27:02 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id zu66xwka85U0; Fri, 30 Aug 2024 12:27:01 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 92A9041159 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 92A9041159; Fri, 30 Aug 2024 12:27:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id CF54C1BF410 for ; Fri, 30 Aug 2024 12:26:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id BBA2940469 for ; Fri, 30 Aug 2024 12:26:59 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id yECrLAsZjDdG for ; Fri, 30 Aug 2024 12:26:58 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.17.20; helo=mout.gmx.net; envelope-from=fiona.klute@gmx.de; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 121FC40346 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 121FC40346 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by smtp4.osuosl.org (Postfix) with ESMTPS id 121FC40346 for ; Fri, 30 Aug 2024 12:26:57 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from haruka.lan ([85.22.6.139]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MiJVG-1s7uTg3k86-00h4qc; Fri, 30 Aug 2024 14:26:55 +0200 To: buildroot@buildroot.org Date: Fri, 30 Aug 2024 14:26:33 +0200 Message-ID: <20240830122637.3722450-3-fiona.klute@gmx.de> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240830122637.3722450-1-fiona.klute@gmx.de> References: <20240830122637.3722450-1-fiona.klute@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:/h+H0M3Uu88q87rKRdIJdSGs7ah6h4HDtiTdCk74i6Md9wjDcSU Mk4dqxd4DhxPACXFU52hn8Y/37t9wlvwJqcng9STAb4yH+imKtbEd/E/99Ed07y7SjmQP8Z /pwZCey/bfPKBFv4KBski6u7XlebLsgCtB7Fd8qnfNJjN5Jc3EBGr7Yy94eqNfxvN4eA36i /JEq4OWcKHYvGkS7epnGA== UI-OutboundReport: notjunk:1;M01:P0:GSOF5BazxjQ=;0L6hYPgbfcdklBW6GF1iN1exGkz +bj85rYliN7fq3JhV0b+YGOjHi+J86QcCMWPzoUjLYAviFyif9V7v+GYxy/lEBy6uOCrZUdNa EUGhU5uVgBQlByAU9U634Rw1SF/RYrt6mx7aVOkw9aAb6+BVxWv8ahWngJoPxCG26bUm9xMo/ 2W/W4meEtDB9qSwNVl5TvnOnUYBBUPVYFZbXj6xeOSAwwDtYjRRSYU9xsWoh1pb84RMF/zdHG Cxxd53VMRK4U8WMAhn1K0vs/ymWjSOfmOUG+OXP9TWa/+WS4Ij62EdtdOC5gcmL1yhhbJgnsd BMDe+FZn6c+g5T23D2m+EAKEZud/ENAwhSqdwfYNBwYebu0F2ld7nwYKUzm7X00Ar4pubr9sg yhRren92eEJmwOxdGgnlZegKeGyEqrJU1UqaUkA6nexn/V8XLomsrQJK9nUlMT3bGRstUMH3u 7GcTuVEdI0UPvykkH8pnw1dQR3o+nWOZSUQVtBW+oHQx3MMytBfgQxOBPiqfjb7EObXyGnICu n1RBeGEaFBq07fheL9JSP3AX4keyhgIyvRW75BpM/7HfmPnOEhseSb1I+d3EVw0fBijKdbY+n D5SlSxUJx+PLr+LnhihP7n3XRJAJCsfBU8epkw5BBjiLGiveeqdIqfRWNjkEDw6e09UgB5i+s 9puqCMd+tbfcs3WLXKVTW1M/kuPsdis1LS7lZlQZLDxDCV2w6NfIobteroItac7BrSCb0R3Wf VKqk6XGWMWLVtoHcJ8I2GPRZfISjFOtzJ10MssyufkwCyR2KOSHf4NTIbZcSbHoCs/SKo1jA2 wbBUiEb4OKptseEl69wA7VBg== X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1725020815; x=1725625615; i=fiona.klute@gmx.de; bh=TdB1U6M8NDS/fJaxch3uLvlhpV/GwUYXNRU9Ymrrofc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=F3h5OWzY6O3qppwIw2VEcbrXDX55LoE/i7hJGC2475sSroBQX2dz5Ipy2NjXTJXd tJ4QJ2Rnv6cxBOrRSjlOuAKNpRQM2/JgJM8rkJpX4jmKbzKXEH4eQygUfjzQqOfby A0QDg/P7Xp9DBULNscmqoX/0AAwoVU8WjMOy5mnzhKODHb/7R4SsD1fTYbxeqoNaQ HVVwfg6SWSNkRP+6rEZVEddaIi9F+7lgChHKnqiJdbJpSU+/AfprV++z95Po2ayC7 R2cc6X2UjF4qM5YRVpmsjxlOlTiF2xIFfD+MrjjVWwnJEnRdaUuWrwglgw4MuabKS UtYxGtfXhdYEjLInSA== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmx.de header.i=fiona.klute@gmx.de header.a=rsa-sha256 header.s=s31663417 header.b=F3h5OWzY Subject: [Buildroot] [PATCH next v2 2/3] package/python-gobject: bump to version 3.48.2 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Fiona Klute via buildroot From: Fiona Klute Reply-To: Fiona Klute Cc: Eric Le Bihan , Asaf Kahlon , Fabrice Fontaine , James Hilliard , Marcus Hoffmann , "Fiona Klute \(WIWA\)" , "Yann E . MORIN" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: "Fiona Klute (WIWA)" Current gobject-introspection releases work with musl, so relax the C library requirement. Also update the homepage, the old URL now links to the current one. Signed-off-by: Fiona Klute (WIWA) --- package/python-gobject/Config.in | 8 ++++---- package/python-gobject/python-gobject.hash | 4 ++-- package/python-gobject/python-gobject.mk | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) -- 2.45.2 diff --git a/package/python-gobject/Config.in b/package/python-gobject/Config.in index 3354535637..d9d73cc5e3 100644 --- a/package/python-gobject/Config.in +++ b/package/python-gobject/Config.in @@ -4,17 +4,17 @@ config BR2_PACKAGE_PYTHON_GOBJECT depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu - depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # gobject-introspection select BR2_PACKAGE_GOBJECT_INTROSPECTION select BR2_PACKAGE_LIBGLIB2 help Python bindings for the GLib/GObject library - https://wiki.gnome.org/action/show/Projects/PyGObject + https://pygobject.gnome.org/ -comment "python-gobject needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" +comment "python-gobject needs a glibc or musl toolchain, gcc >= 4.9, host gcc >= 8" depends on BR2_USE_MMU depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_HOST_GCC_AT_LEAST_8 diff --git a/package/python-gobject/python-gobject.hash b/package/python-gobject/python-gobject.hash index 2fb9d38ab0..f3bb0a4610 100644 --- a/package/python-gobject/python-gobject.hash +++ b/package/python-gobject/python-gobject.hash @@ -1,3 +1,3 @@ -# from https://download.gnome.org/sources/pygobject/3.42/pygobject-3.42.2.sha256sum -sha256 ade8695e2a7073849dd0316d31d8728e15e1e0bc71d9ff6d1c09e86be52bc957 pygobject-3.42.2.tar.xz +# from https://download.gnome.org/sources/pygobject/3.48/pygobject-3.48.2.sha256sum +sha256 0794aeb4a9be31a092ac20621b5f54ec280f9185943d328b105cdae6298ad1a7 pygobject-3.48.2.tar.xz sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING diff --git a/package/python-gobject/python-gobject.mk b/package/python-gobject/python-gobject.mk index a12ce5c107..a09ddb7e87 100644 --- a/package/python-gobject/python-gobject.mk +++ b/package/python-gobject/python-gobject.mk @@ -4,7 +4,7 @@ # ################################################################################ -PYTHON_GOBJECT_VERSION_MAJOR = 3.42 +PYTHON_GOBJECT_VERSION_MAJOR = 3.48 PYTHON_GOBJECT_VERSION = $(PYTHON_GOBJECT_VERSION_MAJOR).2 PYTHON_GOBJECT_SOURCE = pygobject-$(PYTHON_GOBJECT_VERSION).tar.xz PYTHON_GOBJECT_SITE = https://download.gnome.org/sources/pygobject/$(PYTHON_GOBJECT_VERSION_MAJOR) From patchwork Fri Aug 30 12:26:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fiona Klute X-Patchwork-Id: 1978965 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WwHTR55c4z1yfn for ; Fri, 30 Aug 2024 22:27:07 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 115B44118F; Fri, 30 Aug 2024 12:27:06 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id bahumVZu4beg; Fri, 30 Aug 2024 12:27:05 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B377541185 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id B377541185; Fri, 30 Aug 2024 12:27:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 72A011BF410 for ; Fri, 30 Aug 2024 12:27:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 5EC1740346 for ; Fri, 30 Aug 2024 12:27:00 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ThfJOT-p_y-8 for ; Fri, 30 Aug 2024 12:26:59 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.17.22; helo=mout.gmx.net; envelope-from=fiona.klute@gmx.de; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 1F9E1403C0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1F9E1403C0 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by smtp4.osuosl.org (Postfix) with ESMTPS id 1F9E1403C0 for ; Fri, 30 Aug 2024 12:26:58 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from haruka.lan ([85.22.6.139]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MCbIx-1st38e2Ff9-00BIzD; Fri, 30 Aug 2024 14:26:55 +0200 To: buildroot@buildroot.org Date: Fri, 30 Aug 2024 14:26:34 +0200 Message-ID: <20240830122637.3722450-4-fiona.klute@gmx.de> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240830122637.3722450-1-fiona.klute@gmx.de> References: <20240830122637.3722450-1-fiona.klute@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:fVaD55mVWz24Z8BT8UfJojSC5WiSn+r36qych6cBbxKiBanpK9y dwd6RtB7L+tchzVX0kbL5qwcm1XuMeiTMAcxCSfvJ4C2BZOseCVhDxBON6rdZbNvvxZAEMO XvcwMhrrALneT4Jhhgskaztrp5g010HXwhZaYNtxy4nsBgUTPqlyYzQSYB7xaEW2rDKgxU1 50dDiodzRBrfcA7Wtx06g== UI-OutboundReport: notjunk:1;M01:P0:VR0Z/m1yfm0=;mDnBg8rrHDE6Wtz5b+CplCoPxeo afAKZHjMvZqh9CP0cf+yn5cthxdmSFb7PzLEpkjmh5YwDNswYZ0Y4yab2T9KImq9kXHEswDca cCYVWeUlSpL9V7C7umfrM798q5Mekv/WfURpkoJxb7COD7UiswZmuwKJfvrYXatwKAqQIuNfc DWLmP/GKWvk2CIuBvJGR9ltUsD6uyiaNO8cD0uswhJz5DLjcApOMVfldQzJ2kyN3CepLigpmr f5gyW/hF/bqg40aESelNh/5Fto6Xo8S4wrp3xHWld5lNq0NiTgJosB0c/9a/Bhc7GIRsiPpXm IsWXODpE9InSkFn60ZQybb3Y0N/gSxTtxrp7fpnYdw4RXTUzkR/AdKkTLuf2Lm01wXn9tcakl 8r+W/oiWZGa31/AZ+GABmPC28LBx4Jh9H0MoHQJEiVFsMKq8/g0hneJKiyia5L/XJ65p4Mqtu 8Xbto74d4bC56fPEx/plPXlcbERjdaJ0iC+04a+gj50saTrO47WzaMXyx6gD2it0M/zHvWbz6 dGtmUOi7q6cxvzSgpq8/Fl9wucFbIxktETe+NHqxtZfS16cW8tNifazk1tE8ws38ZgD0bYEHl cqoNDVwIgPZ5+aumcGptlK9D1qTTrSsgwE5WG0gPQ+rn2yD+Xv9AEkjhR7Givr2PiqoE7xW25 MG0/7xpsnUzACRAw3v8TIaktgYAuztePPVa70UL3kJBA1oqYdeuqNHxO7+9TR+6iC02+dsgww c4WDLUJkWtEHAuPIReqqTwULNRZNWqjoHGtV9p9pMbRYEXz/bJaSl76jEqtEvUwwvY2ldVrWZ Zr7HWq4tOif/NEhrTc2iy+7A== X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1725020815; x=1725625615; i=fiona.klute@gmx.de; bh=LJzflpzY0O9h5SzQ+dHizz32S4HrQ0FYF6/46Mxpl5A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=UjgQ2RVIoXFY+ADitGxFnlfzwCekHV0PabUMBHFnjee3W8+i/Ukbry2XbMoku4V8 z24aRlHHoSxbSsOaUey7CKK276pVd6LSq2z1uOhAXgo8qOB7liyFdprjWFlZvNf8d 33StFFBwKUKyb80jXwoSXMqh+EkzdFBD+WWol2m3yCkXbnzl5/L4uOVkPU69jJlFv /4ewjOkN+JemXRnoz/nClgZszR0Np43tGKlnviSXOT89ynapPGi5aKo0mCpXp+nKF twDMbbkp8pARK0hS4sZ7KUf1fXcVKxkUxMFpiiTHj4mk4l9AX7Gb5yjlqy6GL9r0D ah6+luZXgxtudN/ABw== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmx.de header.i=fiona.klute@gmx.de header.a=rsa-sha256 header.s=s31663417 header.b=UjgQ2RVI Subject: [Buildroot] [PATCH next v2 3/3] package/network-manager: optional gobject-introspection X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Fiona Klute via buildroot From: Fiona Klute Reply-To: Fiona Klute Cc: Eric Le Bihan , Asaf Kahlon , Fabrice Fontaine , James Hilliard , Marcus Hoffmann , "Fiona Klute \(WIWA\)" , "Yann E . MORIN" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: "Fiona Klute (WIWA)" Introspection gets enabled if gobject-introspection is. Signed-off-by: Fiona Klute (WIWA) --- package/network-manager/network-manager.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.45.2 diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 8349b6c79b..785976a0aa 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -26,7 +26,6 @@ NETWORK_MANAGER_DEPENDENCIES = \ util-linux NETWORK_MANAGER_CONF_OPTS = \ - -Dintrospection=false \ -Ddocs=false \ -Dtests=no \ -Dqt=false \ @@ -50,6 +49,12 @@ ifeq ($(BR2_PACKAGE_DHCPCD),y) NETWORK_MANAGER_CONF_OPTS += -Ddhcpcd=/sbin/dhcpcd endif +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +NETWORK_MANAGER_CONF_OPTS += -Dintrospection=true +else +NETWORK_MANAGER_CONF_OPTS += -Dintrospection=false +endif + ifeq ($(BR2_PACKAGE_IWD),y) NETWORK_MANAGER_DEPENDENCIES += iwd NETWORK_MANAGER_CONF_OPTS += -Diwd=true