Skip to contentSkip to conversation

vte: Upgrade to 0.78.0

PATCH New Khem Raj 1 participant 1 message Oct 5, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 vte: Upgrade to 0.78.0

* Needed for Gnome-47 components e.g. gnome-console
* Add backports to fix build with clang libc++

---
v2: Backport fixes for few build errors

 ...01-tests-Remove-excessive-constrexpr.patch |   26 +
 .../vte/vte/0002-lib-Typo-fix.patch           |   25 +
 .../vte/0003-Add-missing-system-headers.patch |   42 +
 ...ingle-header-library-for-from_char-i.patch | 3922 +++++++++++++++++
 ...-fast_float-implementation-for-from_.patch |  102 +
 .../vte/{vte_0.76.3.bb => vte_0.78.0.bb}      |   11 +-
 6 files changed, 4125 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-support/vte/vte/0001-tests-Remove-excessive-constrexpr.patch
 create mode 100644 meta/recipes-support/vte/vte/0002-lib-Typo-fix.patch
 create mode 100644 meta/recipes-support/vte/vte/0003-Add-missing-system-headers.patch
 create mode 100644 meta/recipes-support/vte/vte/0004-fast_float-Add-single-header-library-for-from_char-i.patch
 create mode 100644 meta/recipes-support/vte/vte/0005-color-parser-Use-fast_float-implementation-for-from_.patch
 rename meta/recipes-support/vte/{vte_0.76.3.bb => vte_0.78.0.bb} (84%)
meta/recipes-support/vte/vte/0001-tests-Remove-excessive-constrexpr.patch new file +26 -0
new file mode 100644
index 00000000000..779814f2579
@@ -0,0 +1,26 @@
+From 01a5c8235f8b3f7c691921169ad125a395186b3f Mon Sep 17 00:00:00 2001
+From: Christian Persch <[email protected]>
+Date: Tue, 17 Sep 2024 18:21:32 +0200
+Subject: [PATCH 1/3] tests: Remove excessive constrexpr
+
+Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2819
+
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/vte/-/commit/c8838779d5f8c0e03411cef9775cd8f5a10a6204]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ src/color-test.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/color-test.cc b/src/color-test.cc
+index 0ed9089..1bfad31 100644
+--- a/src/color-test.cc
++++ b/src/color-test.cc
+@@ -165,7 +165,7 @@ static void
+ test_color_to_string (void)
+ {
+         auto test = [](std::string str,
+-                       bool alpha = false) constexpr noexcept -> void
++                       bool alpha = false) noexcept -> void
+         {
+                 auto const value = parse<rgba>(str);
+                 assert(value);
meta/recipes-support/vte/vte/0002-lib-Typo-fix.patch new file +25 -0
new file mode 100644
index 00000000000..410d5068060
@@ -0,0 +1,25 @@
+From 6b7440996819c12ec32bfaf4e73b27baeb273207 Mon Sep 17 00:00:00 2001
+From: Christian Persch <[email protected]>
+Date: Thu, 5 Sep 2024 23:59:05 +0200
+Subject: [PATCH 2/3] lib: Typo fix
+
+Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2816
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/vte/-/commit/e24087d953d9352c8bc46074e2662c80f9bfbc2d]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ src/vteinternal.hh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/vteinternal.hh b/src/vteinternal.hh
+index 051e78c..b1adc19 100644
+--- a/src/vteinternal.hh
++++ b/src/vteinternal.hh
+@@ -1233,7 +1233,7 @@ public:
+         void reset_decoder();
+ 
+         void feed(std::string_view const& data,
+-                  bool start_processsing_ = true);
++                  bool start_processing_ = true);
+         void feed_child(char const* data,
+                         size_t length) { assert(data); feed_child({data, length}); }
+         void feed_child(std::string_view const& str);
meta/recipes-support/vte/vte/0003-Add-missing-system-headers.patch new file +42 -0

42 lines not on this page · raw message

meta/recipes-support/vte/vte/0004-fast_float-Add-single-header-library-for-from_char-i.patch new file +3922 -0

2,907 lines not on this page · raw message

meta/recipes-support/vte/vte/0005-color-parser-Use-fast_float-implementation-for-from_.patch new file +102 -0

102 lines not on this page · raw message

meta/recipes-support/vte/vte_0.78.0.bb renamed from meta/recipes-support/vte/vte_0.76.3.bb +8 -3
similarity index 84%
rename from meta/recipes-support/vte/vte_0.76.3.bb
rename to meta/recipes-support/vte/vte_0.78.0.bb
index 515ff228fd4..9ada53a634a 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.