kumquat-buildroot/package/vala/0001-dont-add-dirty-to-valac-version.patch
Fabrice Fontaine a6855bb94a 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 7a2f73e993:

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>
2021-07-18 19:53:55 +02:00

29 lines
1021 B
Diff

valac: don't append -dirty to version
Don't append -dirty to the valac version number if the Buildroot Git
tree has uncommited changes.
The patched script is meant for the valac developers, but it also
activates if you build valac in a subdirectory of a Git tree (e.g.
as is commonly done in Buildroot).
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
fi