From a6855bb94a815de820374d5ee95d6a4a0af66b3d Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 3 Jul 2021 17:48:22 +0200 Subject: [PATCH] package/vala: bump to version 0.52.4 Update patch This will fix the following build failure with gssdp 1.2.3 which is raised since commit 7a2f73e9930d3e46f1530aa865675439adc0e162: FAILED: vala/gssdp-1.2.vapi /home/buildroot/autobuild/run/instance-1/output-1/host/bin/vapigen --quiet --library=gssdp-1.2 --directory=/home/buildroot/autobuild/run/instance-1/output-1/build/gssdp-1.2.3/build/vala --pkg=gio-2.0 --pkg=libsoup-2.4 --metadatadir=/home/buildroot/autobuild/run/instance-1/output-1/build/gssdp-1.2.3/vala /home/buildroot/autobuild/run/instance-1/output-1/build/gssdp-1.2.3/build/libgssdp/GSSDP-1.2.gir GSSDP-1.2.gir:1656.5-1656.29: error: unknown child element `docsection' in `namespace' https://github.com/GNOME/vala/blob/0.52.4/NEWS Fixes: - http://autobuild.buildroot.org/results/e531029f75c8d6886f797b5bd01795d16f6848f3 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- .../0001-dont-add-dirty-to-valac-version.patch | 17 ++++++++++------- package/vala/vala.hash | 4 ++-- package/vala/vala.mk | 4 ++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/package/vala/0001-dont-add-dirty-to-valac-version.patch b/package/vala/0001-dont-add-dirty-to-valac-version.patch index a2a0623369..8d878cd495 100644 --- a/package/vala/0001-dont-add-dirty-to-valac-version.patch +++ b/package/vala/0001-dont-add-dirty-to-valac-version.patch @@ -11,15 +11,18 @@ The effect is that valac gets built as being version x.y.z-dirty, which breaks programs (such as Midori) that explicitly check for valac-x.y.z. Signed-off-by: Simon Dawson +[Fabrice: update for 0.52.4] +Signed-off-by: Fabrice Fontaine diff -Nur a/build-aux/git-version-gen b/build-aux/git-version-gen --- a/build-aux/git-version-gen 2010-08-15 12:49:03.000000000 +0100 +++ b/build-aux/git-version-gen 2012-05-14 10:17:19.977204570 +0100 @@ -135,7 +135,7 @@ - *) # Append the suffix only if there isn't one already. - case $v in - *-dirty) ;; -- *) v="$v-dirty" ;; -+ #*) v="$v-dirty" ;; - esac ;; - esac + *) # Append the suffix only if there isn't one already. + case $v in + *-dirty) ;; +- *) v="$v-dirty" ;; ++ #*) v="$v-dirty" ;; + esac ;; + esac + fi diff --git a/package/vala/vala.hash b/package/vala/vala.hash index 319c7ef2f4..7f3a099940 100644 --- a/package/vala/vala.hash +++ b/package/vala/vala.hash @@ -1,4 +1,4 @@ -# From https://download.gnome.org/sources/vala/0.46/vala-0.46.6.sha256sum -sha256 ef31649932872f094971d46453b21c60a41661670f98afa334062425b4aec47a vala-0.46.6.tar.xz +# From https://download.gnome.org/sources/vala/0.52/vala-0.52.4.sha256sum +sha256 ecde520e5160e659ee699f8b1cdc96065edbd44bbd08eb48ef5f2506751fdf31 vala-0.52.4.tar.xz # Locally computed sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/package/vala/vala.mk b/package/vala/vala.mk index 93a304f19c..94e18d349b 100644 --- a/package/vala/vala.mk +++ b/package/vala/vala.mk @@ -4,8 +4,8 @@ # ################################################################################ -VALA_VERSION_MAJOR = 0.46 -VALA_VERSION = $(VALA_VERSION_MAJOR).6 +VALA_VERSION_MAJOR = 0.52 +VALA_VERSION = $(VALA_VERSION_MAJOR).4 VALA_SITE = http://download.gnome.org/sources/vala/$(VALA_VERSION_MAJOR) VALA_SOURCE = vala-$(VALA_VERSION).tar.xz VALA_LICENSE = LGPL-2.1+