* [Buildroot] [PATCH 1/4] package/libglib2: bump version to 2.76.1
@ 2023-04-21 14:12 James Knight
2023-04-23 11:05 ` Yann E. MORIN
0 siblings, 1 reply; 8+ messages in thread
From: James Knight @ 2023-04-21 14:12 UTC (permalink / raw)
To: buildroot; +Cc: James Knight, Fabrice Fontaine
- glib2 has moved from PCRE to PCRE2 [1].
- Drop `fam` option since it no longer available [2].
- Drop "0001-fix-compile-time-atomic-detection.patch" since upstream
patch was dropped and new atomic detection implementation has been
applied in this version.
- Drop "0002-remove-cpp-requirement.patch" since upstream has modified
its Meson scripts to have any C++ usage as optional.
- Drop "0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch"
since change is available in this version.
- Add new patch to address new Werror compilation errors [3].
- Renamed "0004-*.patch" -> "0001-*.patch" since it should still be
applicable for its mentioned build case.
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1938974
[2]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2570
[3]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3390
Signed-off-by: James Knight <james.d.knight@live.com>
---
...01-fix-compile-time-atomic-detection.patch | 34 -------
...irdir-to-gio-2.0.pc-and-glib-2.0.pc.patch} | 0
...rmat-in-gio-gunixconnection.c-part-2.patch | 93 +++++++++++++++++++
.../0002-remove-cpp-requirement.patch | 87 -----------------
...mat-nonliteral-to-compiler-arguments.patch | 29 ------
package/libglib2/Config.in | 3 +-
package/libglib2/libglib2.hash | 6 +-
package/libglib2/libglib2.mk | 14 ++-
8 files changed, 106 insertions(+), 160 deletions(-)
delete mode 100644 package/libglib2/0001-fix-compile-time-atomic-detection.patch
rename package/libglib2/{0004-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch => 0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch} (100%)
create mode 100644 package/libglib2/0002-Fix-error-format-in-gio-gunixconnection.c-part-2.patch
delete mode 100644 package/libglib2/0002-remove-cpp-requirement.patch
delete mode 100644 package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch
diff --git a/package/libglib2/0001-fix-compile-time-atomic-detection.patch b/package/libglib2/0001-fix-compile-time-atomic-detection.patch
deleted file mode 100644
index aae505f8e5c903d74a300b95405abc6c04aab241..0000000000000000000000000000000000000000
--- a/package/libglib2/0001-fix-compile-time-atomic-detection.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From d5c628a6179b99705fa05ab87437321b132c81bc Mon Sep 17 00:00:00 2001
-From: Brendan Heading <brendanheading@gmail.com>
-Date: Wed, 21 Jun 2017 16:36:15 -0400
-Subject: [PATCH] Fix compile time atomic detection
-
-Improved compile-time detection of atomic support in the compiler.
-
-Upstream-Status: 'Needs information'
-See : https://gitlab.gnome.org/GNOME/glib/issues/1063
-
-Signed-off-by: Brendan Heading <brendanheading@gmail.com>
-Signed-off-by: Adam Duskett <aduskett@gmail.com>
-Refresh for 2.68.1
----
- glib/gthread-posix.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/glib/gthread-posix.c b/glib/gthread-posix.c
-index 71a6b7b..d09d029 100644
---- a/glib/gthread-posix.c
-+++ b/glib/gthread-posix.c
-@@ -72,8 +72,7 @@
- #include <sys/syscall.h>
- #endif
-
--#if defined(HAVE_FUTEX) && \
-- (defined(HAVE_STDATOMIC_H) || defined(__ATOMIC_SEQ_CST))
-+#if defined(HAVE_FUTEX) && defined(__ATOMIC_SEQ_CST) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) && !defined(__clang__)
- #define USE_NATIVE_MUTEX
- #endif
-
---
-2.9.4
-
diff --git a/package/libglib2/0004-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
similarity index 100%
rename from package/libglib2/0004-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch
rename to package/libglib2/0001-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch
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
new file mode 100644
index 0000000000000000000000000000000000000000..047eedcfa5aa2e2acd7d28bee69c2c78a72eecd9
--- /dev/null
+++ b/package/libglib2/0002-Fix-error-format-in-gio-gunixconnection.c-part-2.patch
@@ -0,0 +1,93 @@
+From 4ae8606b6f80f9764e1f0a82cea7e23c8af487ae Mon Sep 17 00:00:00 2001
+From: James Knight <james.d.knight@live.com>
+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 <james.d.knight@live.com>
+Upstream: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3390
+---
+ 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/0002-remove-cpp-requirement.patch b/package/libglib2/0002-remove-cpp-requirement.patch
deleted file mode 100644
index 84511dea324ed5f71cc99827c5700c0c5abaec9a..0000000000000000000000000000000000000000
--- a/package/libglib2/0002-remove-cpp-requirement.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From dd65a8cfdeafeb18b72d8d1eb676c7ca43ae505f Mon Sep 17 00:00:00 2001
-From: Adam Duskett <Aduskett@gmail.com>
-Date: Mon, 16 Sep 2019 10:12:38 -0700
-Subject: [PATCH] remove cpp requirement
-
-The c++ test is necessary to ensure libglib doesn't accidentally use C++
-reserved keywords in public headers. Because this is just a test, it isn't
-necessary to have a C++ compiler to build libglib2.
-
-Signed-off-by: Adam Duskett <Aduskett@gmail.com>
-Upstream status: Denied (Buildroot specific)
-https://gitlab.gnome.org/GNOME/glib/issues/1748
----
- glib/glibconfig.h.in | 1 -
- meson.build | 19 +------------------
- 2 files changed, 1 insertion(+), 19 deletions(-)
-
-diff --git a/glib/glibconfig.h.in b/glib/glibconfig.h.in
-index e66748d95..2173d8be6 100644
---- a/glib/glibconfig.h.in
-+++ b/glib/glibconfig.h.in
-@@ -119,7 +119,6 @@ typedef unsigned @glib_intptr_type_define@ guintptr;
- @glib_vacopy@
-
- @g_have_iso_c_varargs@
--@g_have_iso_cxx_varargs@
-
- /* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
- * is passed ISO vararg support is turned off, and there is no work
-diff --git a/meson.build b/meson.build
-index 48fdfe864..5df242e39 100644
---- a/meson.build
-+++ b/meson.build
-@@ -1,4 +1,4 @@
--project('glib', 'c', 'cpp',
-+project('glib', 'c',
- version : '2.72.3',
- # NOTE: We keep this pinned at 0.52 because that's what Debian Stable ships
- meson_version : '>= 0.52.0',
-@@ -10,7 +10,6 @@ project('glib', 'c', 'cpp',
- )
-
- cc = meson.get_compiler('c')
--cxx = meson.get_compiler('cpp')
-
- cc_can_run = not meson.is_cross_build() or meson.has_exe_wrapper()
-
-@@ -495,7 +494,6 @@ else
- endif
-
- add_project_arguments(cc.get_supported_arguments(warning_c_args), language: 'c')
--add_project_arguments(cxx.get_supported_arguments(warning_cxx_args), language: 'cpp')
-
- # FIXME: We cannot build some of the GResource tests with -z nodelete, which
- # means we cannot use that flag in add_project_link_arguments(), and must add
-@@ -1734,20 +1732,6 @@ if g_have_iso_c_varargs
- #endif''')
- endif
-
--g_have_iso_cxx_varargs = cxx.compiles('''
-- void some_func (void) {
-- int a(int p1, int p2, int p3);
-- #define call_a(...) a(1,__VA_ARGS__)
-- call_a(2,3);
-- }''', name : 'ISO C99 varargs macros in C++')
--
--if g_have_iso_cxx_varargs
-- glibconfig_conf.set('g_have_iso_cxx_varargs', '''
--#ifdef __cplusplus
--# define G_HAVE_ISO_VARARGS 1
--#endif''')
--endif
--
- g_have_gnuc_varargs = cc.compiles('''
- void some_func (void) {
- int a(int p1, int p2, int p3);
-@@ -2381,7 +2365,6 @@ subdir('gobject')
- subdir('gthread')
- subdir('gmodule')
- subdir('gio')
--subdir('fuzzing')
- if build_tests
- subdir('tests')
- endif
---
-2.34.1
-
diff --git a/package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch b/package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch
deleted file mode 100644
index e212393011ab5a5985bc11497a5b493461776cbb..0000000000000000000000000000000000000000
--- a/package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 9e0f11a4981737f98bac93a22b6f2ff1a3887b63 Mon Sep 17 00:00:00 2001
-From: Adam Duskett <Aduskett@gmail.com>
-Date: Tue, 9 Apr 2019 13:03:51 -0400
-Subject: [PATCH] Add '-Wno-format-nonliteral' to compiler arguments.
-
-This warning is a false positive on older versions of gcc.
-See https://gitlab.gnome.org/GNOME/glib/issues/1744 for more details.
-
-Signed-off-by: Adam Duskett <Aduskett@gmail.com>
-Refresh for 2.68.1
----
- meson.build | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/meson.build b/meson.build
-index 3c615b7..7cae4e8 100644
---- a/meson.build
-+++ b/meson.build
-@@ -435,6 +435,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
- # building with -Wbad-function-cast.
- '-Wno-bad-function-cast',
- '-Wno-cast-function-type',
-+ '-Wno-format-nonliteral',
- # Due to function casts through (void*) we cannot support -Wpedantic:
- # https://wiki.gnome.org/Projects/GLib/CompilerRequirements#Function_pointer_conversions.
- '-Wno-pedantic',
---
-2.20.1
-
diff --git a/package/libglib2/Config.in b/package/libglib2/Config.in
index 31f3649c7578ce522e6e31de9ea93f4b6f09e359..077d7d66e8d5107db6c8709160f2bf658bc5534e 100644
--- a/package/libglib2/Config.in
+++ b/package/libglib2/Config.in
@@ -5,8 +5,7 @@ config BR2_PACKAGE_LIBGLIB2
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBFFI
- select BR2_PACKAGE_PCRE
- select BR2_PACKAGE_PCRE_UCP
+ select BR2_PACKAGE_PCRE2
select BR2_PACKAGE_ZLIB
help
Low-level core library that forms the basis of GTK+ and GNOME.
diff --git a/package/libglib2/libglib2.hash b/package/libglib2/libglib2.hash
index 0395ff234ad7b3e5c8f4147338ab66d2c8c9e65c..07ed7635a68f4649ecf1449f4f690835241cc55f 100644
--- a/package/libglib2/libglib2.hash
+++ b/package/libglib2/libglib2.hash
@@ -1,4 +1,4 @@
-# https://download.gnome.org/sources/glib/2.72/glib-2.72.3.sha256sum
-sha256 4a39a2f624b8512d500d5840173eda7fa85f51c109052eae806acece85d345f0 glib-2.72.3.tar.xz
+# https://download.gnome.org/sources/glib/2.76/glib-2.76.1.sha256sum
+sha256 43dc0f6a126958f5b454136c4398eab420249c16171a769784486e25f2fda19f glib-2.76.1.tar.xz
# License files, locally calculated
-sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
+sha256 fa6f36630bb1e0c571d34b2bbdf188d08495c9dbf58f28cac112f303fc1f58fb COPYING
diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index 3084aa6cb8d98f168f65c52717f0bdfc991c05b3..ecd7d5dbfe2d76d03080ea397d08a78e6e4131e5 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -4,8 +4,8 @@
#
################################################################################
-LIBGLIB2_VERSION_MAJOR = 2.72
-LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).3
+LIBGLIB2_VERSION_MAJOR = 2.76
+LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).1
LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.xz
LIBGLIB2_SITE = https://download.gnome.org/sources/glib/$(LIBGLIB2_VERSION_MAJOR)
LIBGLIB2_LICENSE = LGPL-2.1+
@@ -24,7 +24,6 @@ endif
HOST_LIBGLIB2_CONF_OPTS = \
-Ddtrace=false \
- -Dfam=false \
-Dglib_debug=disabled \
-Dlibelf=disabled \
-Dselinux=disabled \
@@ -35,12 +34,12 @@ HOST_LIBGLIB2_CONF_OPTS = \
LIBGLIB2_DEPENDENCIES = \
host-pkgconf host-libglib2 \
- libffi pcre zlib $(TARGET_NLS_DEPENDENCIES)
+ libffi pcre2 zlib $(TARGET_NLS_DEPENDENCIES)
HOST_LIBGLIB2_DEPENDENCIES = \
host-gettext \
host-libffi \
- host-pcre \
+ host-pcre2 \
host-pkgconf \
host-util-linux \
host-zlib
@@ -69,6 +68,11 @@ ifeq ($(BR2_PACKAGE_ELFUTILS),y)
LIBGLIB2_DEPENDENCIES += elfutils
endif
+# Uses __atomic_compare_exchange_4
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+LIBGLIB2_LDFLAGS += -latomic
+endif
+
ifeq ($(BR2_PACKAGE_LIBICONV),y)
LIBGLIB2_CONF_OPTS += -Diconv=external
LIBGLIB2_DEPENDENCIES += libiconv
--
2.39.1.windows.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH 2/4] package/libglib2: apply upstream status on girdir patch
[not found] <20230421141209.2826-1-james.d.knight@live.com>
@ 2023-04-21 14:12 ` James Knight
2023-04-23 11:03 ` Yann E. MORIN
2023-04-21 14:12 ` [Buildroot] [PATCH 3/4] package/glib-networking: bump version to 2.76.0 James Knight
2023-04-21 14:12 ` [Buildroot] [PATCH 4/4] .checkpackageignore: drop legacy ignores (glib2) James Knight
2 siblings, 1 reply; 8+ messages in thread
From: James Knight @ 2023-04-21 14:12 UTC (permalink / raw)
To: buildroot; +Cc: James Knight, Fabrice Fontaine
Providing an upstream status for the remaining libglib2 patch from a
recent version bump. This patch was introduced in Buildroot around
November 2021 to help deal with build errors where `GObject-2.0.gir`
could not be found (tied to Buildroot changes made in
`gobject-introspection.mk`). The discussion thread mentions this could
be submitted upstream, but looks like it never was. Reflecting that this
package has not been submitted upstream.
Signed-off-by: James Knight <james.d.knight@live.com>
---
...01-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch | 1 +
1 file changed, 1 insertion(+)
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 db77a73203faf38aaa832dde8bbd9526cf39eecc..fb9905724278fb2c0a9be8384cb90108292668e8 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
@@ -14,6 +14,7 @@ Fixes:
- http://autobuild.buildroot.org/results/3088ef32b03e0bb984291b1227b187f1ff816eb7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Upstream: Never submitted
---
gio/meson.build | 1 +
glib/meson.build | 1 +
--
2.39.1.windows.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH 3/4] package/glib-networking: bump version to 2.76.0
[not found] <20230421141209.2826-1-james.d.knight@live.com>
2023-04-21 14:12 ` [Buildroot] [PATCH 2/4] package/libglib2: apply upstream status on girdir patch James Knight
@ 2023-04-21 14:12 ` James Knight
2023-04-23 11:06 ` Yann E. MORIN
2023-04-21 14:12 ` [Buildroot] [PATCH 4/4] .checkpackageignore: drop legacy ignores (glib2) James Knight
2 siblings, 1 reply; 8+ messages in thread
From: James Knight @ 2023-04-21 14:12 UTC (permalink / raw)
To: buildroot; +Cc: James Knight, Fabrice Fontaine
- Drop "0001-meson-change-std-to-gnu99.patch" since change is available
in this version.
Signed-off-by: James Knight <james.d.knight@live.com>
---
.../0001-meson-change-std-to-gnu99.patch | 30 -------------------
package/glib-networking/glib-networking.hash | 4 +--
package/glib-networking/glib-networking.mk | 4 +--
3 files changed, 4 insertions(+), 34 deletions(-)
delete 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
deleted file mode 100644
index 9f266bc2c8d2bda6a08a23c5b198589965fc8633..0000000000000000000000000000000000000000
--- a/package/glib-networking/0001-meson-change-std-to-gnu99.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-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/glib-networking.hash b/package/glib-networking/glib-networking.hash
index 766efd0ced4e786798364a1e14d2a75e86e481ad..72e70ff0edadafb53931a33b6c95e1ce23756d4c 100644
--- a/package/glib-networking/glib-networking.hash
+++ b/package/glib-networking/glib-networking.hash
@@ -1,3 +1,3 @@
-# From https://download.gnome.org/sources/glib-networking/2.70/glib-networking-2.70.1.sha256sum
-sha256 2a16bfc2d271ccd3266e3fb462bc8a4103c02e81bbb339aa92d6fb060592d7bc glib-networking-2.70.1.tar.xz
+# From https://download.gnome.org/sources/glib-networking/2.76/glib-networking-2.76.0.sha256sum
+sha256 149a05a179e629a538be25662aa324b499d7c4549c5151db5373e780a1bf1b9a glib-networking-2.76.0.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk
index b6d29110ed53fa8976d154f04a2b705f8e7697bb..24811716582c54df6f00192b67caab4dd947964e 100644
--- a/package/glib-networking/glib-networking.mk
+++ b/package/glib-networking/glib-networking.mk
@@ -4,8 +4,8 @@
#
################################################################################
-GLIB_NETWORKING_VERSION_MAJOR = 2.70
-GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).1
+GLIB_NETWORKING_VERSION_MAJOR = 2.76
+GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).0
GLIB_NETWORKING_SITE = https://download.gnome.org/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR)
GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
GLIB_NETWORKING_INSTALL_STAGING = YES
--
2.39.1.windows.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH 4/4] .checkpackageignore: drop legacy ignores (glib2)
[not found] <20230421141209.2826-1-james.d.knight@live.com>
2023-04-21 14:12 ` [Buildroot] [PATCH 2/4] package/libglib2: apply upstream status on girdir patch James Knight
2023-04-21 14:12 ` [Buildroot] [PATCH 3/4] package/glib-networking: bump version to 2.76.0 James Knight
@ 2023-04-21 14:12 ` James Knight
2023-04-23 11:07 ` Yann E. MORIN
2 siblings, 1 reply; 8+ messages in thread
From: James Knight @ 2023-04-21 14:12 UTC (permalink / raw)
To: buildroot; +Cc: James Knight, Fabrice Fontaine
Dropping old patch ignores for the `libglib2` and `glib-networking`
packages, as they have been dropped/updated.
Signed-off-by: James Knight <james.d.knight@live.com>
---
.checkpackageignore | 5 -----
1 file changed, 5 deletions(-)
diff --git a/.checkpackageignore b/.checkpackageignore
index 02c892c1b3144a14abbc2a0f3d0b3cbfbf7efca7..a072afe70989e36b1c5d033a7621820c36c71663 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -606,7 +606,6 @@ package/giblib/0001-fix-imlib2-detection.patch Upstream
package/giflib/0001-Makefile-add-targets-to-manage-static-building.patch Upstream
package/git-crypt/0001-fix-build-with-libressl-3.5.0.patch Upstream
package/gli/0001-Optional-building-tests.patch Upstream
-package/glib-networking/0001-meson-change-std-to-gnu99.patch Upstream
package/glmark2/0001-wscript-use-find_program-to-find-wayland-scanner.patch Upstream
package/glmark2/0002-libmatrix-Add-missing-utility-include.patch Upstream
package/glog/0001-added-emscripten-support.patch Upstream
@@ -801,10 +800,6 @@ package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.pat
package/libgit2/0001-sysdir-Do-not-declare-win32-functions-on-non-win32-p.patch Upstream
package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch Upstream
package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch Upstream
-package/libglib2/0001-fix-compile-time-atomic-detection.patch Upstream
-package/libglib2/0002-remove-cpp-requirement.patch Upstream
-package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch Upstream
-package/libglib2/0004-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch Upstream
package/libgpgme/0001-Fix-build-without-threads.patch Upstream
package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch Upstream
package/libgsm/0001-misc-fixes-from-archlinux.patch Upstream
--
2.39.1.windows.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [Buildroot] [PATCH 2/4] package/libglib2: apply upstream status on girdir patch
2023-04-21 14:12 ` [Buildroot] [PATCH 2/4] package/libglib2: apply upstream status on girdir patch James Knight
@ 2023-04-23 11:03 ` Yann E. MORIN
0 siblings, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2023-04-23 11:03 UTC (permalink / raw)
To: James Knight; +Cc: Fabrice Fontaine, buildroot
James, All,
On 2023-04-21 10:12 -0400, James Knight spake thusly:
> Providing an upstream status for the remaining libglib2 patch from a
> recent version bump. This patch was introduced in Buildroot around
> November 2021 to help deal with build errors where `GObject-2.0.gir`
> could not be found (tied to Buildroot changes made in
> `gobject-introspection.mk`). The discussion thread mentions this could
> be submitted upstream, but looks like it never was. Reflecting that this
> package has not been submitted upstream.
>
> Signed-off-by: James Knight <james.d.knight@live.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> ...01-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch | 1 +
> 1 file changed, 1 insertion(+)
>
> 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 db77a73203faf38aaa832dde8bbd9526cf39eecc..fb9905724278fb2c0a9be8384cb90108292668e8 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
> @@ -14,6 +14,7 @@ Fixes:
> - http://autobuild.buildroot.org/results/3088ef32b03e0bb984291b1227b187f1ff816eb7
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +Upstream: Never submitted
> ---
> gio/meson.build | 1 +
> glib/meson.build | 1 +
> --
> 2.39.1.windows.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@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. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Buildroot] [PATCH 1/4] package/libglib2: bump version to 2.76.1
2023-04-21 14:12 [Buildroot] [PATCH 1/4] package/libglib2: bump version to 2.76.1 James Knight
@ 2023-04-23 11:05 ` Yann E. MORIN
0 siblings, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2023-04-23 11:05 UTC (permalink / raw)
To: James Knight; +Cc: Fabrice Fontaine, buildroot
James, All,
On 2023-04-21 10:12 -0400, James Knight spake thusly:
> - glib2 has moved from PCRE to PCRE2 [1].
> - Drop `fam` option since it no longer available [2].
> - Drop "0001-fix-compile-time-atomic-detection.patch" since upstream
> patch was dropped and new atomic detection implementation has been
> applied in this version.
> - Drop "0002-remove-cpp-requirement.patch" since upstream has modified
> its Meson scripts to have any C++ usage as optional.
> - Drop "0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch"
> since change is available in this version.
> - Add new patch to address new Werror compilation errors [3].
> - Renamed "0004-*.patch" -> "0001-*.patch" since it should still be
> applicable for its mentioned build case.
>
> [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1938974
> [2]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2570
> [3]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3390
>
> Signed-off-by: James Knight <james.d.knight@live.com>
> ---
[--SNIP--]
> 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
> new file mode 100644
> index 0000000000000000000000000000000000000000..047eedcfa5aa2e2acd7d28bee69c2c78a72eecd9
> --- /dev/null
> +++ b/package/libglib2/0002-Fix-error-format-in-gio-gunixconnection.c-part-2.patch
> @@ -0,0 +1,93 @@
> +From 4ae8606b6f80f9764e1f0a82cea7e23c8af487ae Mon Sep 17 00:00:00 2001
> +From: James Knight <james.d.knight@live.com>
> +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 <james.d.knight@live.com>
> +Upstream: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3390
This has now been accepted, so I updated to the actual commit URL.
Applied to master, thanks.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Buildroot] [PATCH 3/4] package/glib-networking: bump version to 2.76.0
2023-04-21 14:12 ` [Buildroot] [PATCH 3/4] package/glib-networking: bump version to 2.76.0 James Knight
@ 2023-04-23 11:06 ` Yann E. MORIN
0 siblings, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2023-04-23 11:06 UTC (permalink / raw)
To: James Knight; +Cc: Fabrice Fontaine, buildroot
James, All,
On 2023-04-21 10:12 -0400, James Knight spake thusly:
> - Drop "0001-meson-change-std-to-gnu99.patch" since change is available
> in this version.
>
> Signed-off-by: James Knight <james.d.knight@live.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> .../0001-meson-change-std-to-gnu99.patch | 30 -------------------
> package/glib-networking/glib-networking.hash | 4 +--
> package/glib-networking/glib-networking.mk | 4 +--
> 3 files changed, 4 insertions(+), 34 deletions(-)
> delete 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
> deleted file mode 100644
> index 9f266bc2c8d2bda6a08a23c5b198589965fc8633..0000000000000000000000000000000000000000
> --- a/package/glib-networking/0001-meson-change-std-to-gnu99.patch
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -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/glib-networking.hash b/package/glib-networking/glib-networking.hash
> index 766efd0ced4e786798364a1e14d2a75e86e481ad..72e70ff0edadafb53931a33b6c95e1ce23756d4c 100644
> --- a/package/glib-networking/glib-networking.hash
> +++ b/package/glib-networking/glib-networking.hash
> @@ -1,3 +1,3 @@
> -# From https://download.gnome.org/sources/glib-networking/2.70/glib-networking-2.70.1.sha256sum
> -sha256 2a16bfc2d271ccd3266e3fb462bc8a4103c02e81bbb339aa92d6fb060592d7bc glib-networking-2.70.1.tar.xz
> +# From https://download.gnome.org/sources/glib-networking/2.76/glib-networking-2.76.0.sha256sum
> +sha256 149a05a179e629a538be25662aa324b499d7c4549c5151db5373e780a1bf1b9a glib-networking-2.76.0.tar.xz
> sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
> diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk
> index b6d29110ed53fa8976d154f04a2b705f8e7697bb..24811716582c54df6f00192b67caab4dd947964e 100644
> --- a/package/glib-networking/glib-networking.mk
> +++ b/package/glib-networking/glib-networking.mk
> @@ -4,8 +4,8 @@
> #
> ################################################################################
>
> -GLIB_NETWORKING_VERSION_MAJOR = 2.70
> -GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).1
> +GLIB_NETWORKING_VERSION_MAJOR = 2.76
> +GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).0
> GLIB_NETWORKING_SITE = https://download.gnome.org/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR)
> GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
> GLIB_NETWORKING_INSTALL_STAGING = YES
> --
> 2.39.1.windows.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@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. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Buildroot] [PATCH 4/4] .checkpackageignore: drop legacy ignores (glib2)
2023-04-21 14:12 ` [Buildroot] [PATCH 4/4] .checkpackageignore: drop legacy ignores (glib2) James Knight
@ 2023-04-23 11:07 ` Yann E. MORIN
0 siblings, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2023-04-23 11:07 UTC (permalink / raw)
To: James Knight; +Cc: Fabrice Fontaine, buildroot
James, All,
On 2023-04-21 10:12 -0400, James Knight spake thusly:
> Dropping old patch ignores for the `libglib2` and `glib-networking`
> packages, as they have been dropped/updated.
>
> Signed-off-by: James Knight <james.d.knight@live.com>
I've instead regenerated .checkpackageignore with each patch.
Indeed, should we backport one patch (e.g. to backport a security fix),
then we also want to backport the checkpackage fix at the same time,
otherwise that could be omitted, and would trigger CI failures.
Regards,
Yann E. MORIN.
> ---
> .checkpackageignore | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/.checkpackageignore b/.checkpackageignore
> index 02c892c1b3144a14abbc2a0f3d0b3cbfbf7efca7..a072afe70989e36b1c5d033a7621820c36c71663 100644
> --- a/.checkpackageignore
> +++ b/.checkpackageignore
> @@ -606,7 +606,6 @@ package/giblib/0001-fix-imlib2-detection.patch Upstream
> package/giflib/0001-Makefile-add-targets-to-manage-static-building.patch Upstream
> package/git-crypt/0001-fix-build-with-libressl-3.5.0.patch Upstream
> package/gli/0001-Optional-building-tests.patch Upstream
> -package/glib-networking/0001-meson-change-std-to-gnu99.patch Upstream
> package/glmark2/0001-wscript-use-find_program-to-find-wayland-scanner.patch Upstream
> package/glmark2/0002-libmatrix-Add-missing-utility-include.patch Upstream
> package/glog/0001-added-emscripten-support.patch Upstream
> @@ -801,10 +800,6 @@ package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.pat
> package/libgit2/0001-sysdir-Do-not-declare-win32-functions-on-non-win32-p.patch Upstream
> package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch Upstream
> package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch Upstream
> -package/libglib2/0001-fix-compile-time-atomic-detection.patch Upstream
> -package/libglib2/0002-remove-cpp-requirement.patch Upstream
> -package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch Upstream
> -package/libglib2/0004-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch Upstream
> package/libgpgme/0001-Fix-build-without-threads.patch Upstream
> package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch Upstream
> package/libgsm/0001-misc-fixes-from-archlinux.patch Upstream
> --
> 2.39.1.windows.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@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. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-04-23 11:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230421141209.2826-1-james.d.knight@live.com>
2023-04-21 14:12 ` [Buildroot] [PATCH 2/4] package/libglib2: apply upstream status on girdir patch James Knight
2023-04-23 11:03 ` Yann E. MORIN
2023-04-21 14:12 ` [Buildroot] [PATCH 3/4] package/glib-networking: bump version to 2.76.0 James Knight
2023-04-23 11:06 ` Yann E. MORIN
2023-04-21 14:12 ` [Buildroot] [PATCH 4/4] .checkpackageignore: drop legacy ignores (glib2) James Knight
2023-04-23 11:07 ` Yann E. MORIN
2023-04-21 14:12 [Buildroot] [PATCH 1/4] package/libglib2: bump version to 2.76.1 James Knight
2023-04-23 11:05 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox