package/vala: bump to version 0.52.4
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 3 Jul 2021 15:48:22 +0000 (17:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 18 Jul 2021 17:53:55 +0000 (19:53 +0200)
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 <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/vala/0001-dont-add-dirty-to-valac-version.patch
package/vala/vala.hash
package/vala/vala.mk

index a2a062336936009a02b536c30f04d01a92d9d3c1..8d878cd49517b9f8b9ad1c9fdf3f3257ac1ab758 100644 (file)
@@ -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 <spdawson@gmail.com>
+[Fabrice: update for 0.52.4]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 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
  
index 319c7ef2f47ab34ca9f5d2c63441440a7f2356cd..7f3a0999409228b6a4bd7f111a1e5cb47595ae3d 100644 (file)
@@ -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
index 93a304f19c50833f50ac14f3e3de964a8f417c0a..94e18d349b07288a5e0d57224aa8703d2f89b57e 100644 (file)
@@ -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+