Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
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

View File

@@ -0,0 +1,2 @@
#!/bin/sh
$0-@VALA_VERSION@ --vapidir=${STAGING_DIR}/usr/share/vala/vapi --girdir=${STAGING_DIR}/usr/share/gir-1.0 "$@"

4
package/vala/vala.hash Normal file
View File

@@ -0,0 +1,4 @@
# From https://download.gnome.org/sources/vala/0.56/vala-0.56.18.sha256sum
sha256 f2affe7d40ab63db8e7b9ecc3f6bdc9c2fc7e3134c84ff2d795f482fe926a382 vala-0.56.18.tar.xz
# Locally computed
sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING

39
package/vala/vala.mk Normal file
View File

@@ -0,0 +1,39 @@
################################################################################
#
# vala
#
################################################################################
VALA_VERSION_MAJOR = 0.56
VALA_VERSION = $(VALA_VERSION_MAJOR).18
VALA_SITE = http://download.gnome.org/sources/vala/$(VALA_VERSION_MAJOR)
VALA_SOURCE = vala-$(VALA_VERSION).tar.xz
VALA_LICENSE = LGPL-2.1+
VALA_LICENSE_FILES = COPYING
VALA_CPE_ID_VENDOR = gnome
HOST_VALA_DEPENDENCIES = host-bison host-flex host-libglib2
# Yes, the autoconf script understands ':' as "xsltproc is not
# available".
HOST_VALA_CONF_ENV = \
ac_cv_path_XSLTPROC=: \
GI_GIRDIR="$(STAGING_DIR)/usr/share/gir-1.0"
HOST_VALA_CONF_OPTS += --disable-valadoc
# We wrap vala, valac and vapigen to point to the proper gir and vapi data dirs
# Otherwise we'll get host directory data which isn't enough
define HOST_VALA_INSTALL_WRAPPER
$(INSTALL) -D -m 0755 package/vala/vala-wrapper \
$(HOST_DIR)/bin/vala
$(INSTALL) -D -m 0755 package/vala/vala-wrapper \
$(HOST_DIR)/bin/valac
$(INSTALL) -D -m 0755 package/vala/vala-wrapper \
$(HOST_DIR)/bin/vapigen
$(SED) 's,@VALA_VERSION@,$(VALA_VERSION_MAJOR),' \
$(HOST_DIR)/bin/vala \
$(HOST_DIR)/bin/valac \
$(HOST_DIR)/bin/vapigen
endef
HOST_VALA_POST_INSTALL_HOOKS += HOST_VALA_INSTALL_WRAPPER
$(eval $(host-autotools-package))