vala: upgrade 0.56.15 -> 0.56.16

0001-gtk4-Preserve-compatibility-with-4.14.patch
removed since it's included in 0.56.16

Changelog:
============
* Various improvements and bug fixes:
 - girparser: Recognize usage of time_t and don't rely on given GIR type
 - girparser: Recognize usage of off_t and don't rely on given GIR type
* Bindings:
 - gio-2.0: Restore ApplicationCommandLine.print*_literal() to not require 2.80
 - gmodule-2.0: Do not mark `Module.open` as deprecated
 - gtk4: Preserve compatibility with < 4.14 [#1531]
 - Regenerate for GIR-based bindings to pick up time_t fix (long vs time_t)

(From OE-Core rev: 0d70b4b49b1d47c78119b0dd39470fc6bd50de53)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wang Mingyu
2024-03-26 08:34:50 +08:00
committed by Richard Purdie
parent dc9dac8136
commit 3abbed192e
2 changed files with 2 additions and 44 deletions

View File

@@ -1,39 +0,0 @@
From 17349020fb95454d06f827fd555b05248f10a370 Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <ricotz@ubuntu.com>
Date: Thu, 7 Mar 2024 17:56:05 +0100
Subject: [PATCH] gtk4: Preserve compatibility with < 4.14
Don't prefer new accessor methods for Calendar.day/month/year
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1531
Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/vala/-/commit/e0c4ea8c4a0bbf859b5341a7465b395892789d9e]
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
vapi/gtk4.vapi | 3 +++
vapi/metadata/Gtk-4.0.metadata | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 49f8b2078..51ecea27d 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -7350,11 +7350,14 @@ namespace Gtk {
[Version (since = "4.14")]
public void set_year (int year);
public void unmark_day (uint day);
+ [NoAccessorMethod]
public int day { get; set; }
+ [NoAccessorMethod]
public int month { get; set; }
public bool show_day_names { get; set; }
public bool show_heading { get; set; }
public bool show_week_numbers { get; set; }
+ [NoAccessorMethod]
public int year { get; set; }
public signal void day_selected ();
public signal void next_month ();
--
2.44.0

View File

@@ -18,11 +18,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
SRC_URI = " \
http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz \
file://0001-gtk4-Preserve-compatibility-with-4.14.patch \
"
SRC_URI[sha256sum] = "535b6452ed310fd5fb5c7dd6794b6213dac3b48e645e5bff3173741ec2cb3f2b"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz"
SRC_URI[sha256sum] = "05487b5600f5d2f09e66a753cccd8f39c1bff9f148aea1b7774d505b9c8bca9b"
inherit autotools pkgconfig upstream-version-is-even