ulfius: pin the babelouest chain; add orcania and yder; fix directory typo

The ulfius recipe tracked AUTOREV master and could never build: master
requires orcania/yder versions that have no release tags, no recipe for
either existed in any layer, and curl (default-ON WITH_CURL) was
missing from DEPENDS (audit M10). Pin the coherent release set - ulfius
v2.7.15 + orcania v2.3.3 + yder v1.4.20 - add the two new recipes,
add curl, convert to SPDX LGPL-2.1-or-later, and rename the misspelled
recipes-extended/uflius directory.
This commit is contained in:
ScottW514
2026-07-26 16:15:24 -04:00
parent e0da938e4b
commit 4a52a4dd05
4 changed files with 54 additions and 25 deletions
@@ -0,0 +1,13 @@
DESCRIPTION = "Potluck with different functions for C programs (babelouest base library)"
HOMEPAGE = "https://github.com/babelouest/orcania"
LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
# Pinned to the v2.3.3 release tag: the version ulfius v2.7.15 builds against.
SRC_URI = "git://github.com/babelouest/orcania;protocol=https;branch=master"
SRCREV = "ffc8b55d09a3488f4f6be38034b33bc64bf8b0ce"
S = "${WORKDIR}/git"
inherit cmake pkgconfig
@@ -1,25 +0,0 @@
DESCRIPTION = "C library for web frameworks"
HOMEPAGE = "https://github.com/babelouest/ulfius"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88"
SRC_URI = "git://github.com/babelouest/ulfius;protocol=https;branch=master"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
inherit cmake pkgconfig
# For some reason, this package wants to install headers from other packages
# do_install:append() {
# rm -f ${D}${includedir}/orcania.h
# rm -f ${D}${includedir}/orcania-cfg.h
# rm -f ${D}${includedir}/yder.h
# rm -f ${D}${includedir}/yder-cfg.h
# }
DEPENDS = "gnutls jansson libmicrohttpd"
RDEPENDS:${PN} = "gnutls jansson libmicrohttpd"
EXTRA_OECMAKE += "-DWITH_JOURNALD=off"
@@ -0,0 +1,23 @@
DESCRIPTION = "Web Framework to build REST APIs, Webservices or any HTTP endpoint in C"
HOMEPAGE = "https://github.com/babelouest/ulfius"
LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88"
# Pinned to the v2.7.15 release tag, together with orcania v2.3.3 and
# yder v1.4.20 (its release-mate dependency versions). AUTOREV against master
# was unbuildable: master's CMake requires orcania/yder versions that have no
# release tags, and the git:// fetch never brought in the bundled-subproject
# fallback (audit M10).
SRC_URI = "git://github.com/babelouest/ulfius;protocol=https;branch=master"
SRCREV = "a0603447d3ed63c0880db396b9c395fb4bf6b559"
S = "${WORKDIR}/git"
inherit cmake pkgconfig
# curl backs the default-ON WITH_CURL client-request API (find_package REQUIRED).
DEPENDS = "gnutls jansson libmicrohttpd curl orcania yder"
# No systemd journald on the forgefirm image.
EXTRA_OECMAKE += "-DWITH_JOURNALD=off"
@@ -0,0 +1,18 @@
DESCRIPTION = "Logging library for C applications (babelouest)"
HOMEPAGE = "https://github.com/babelouest/yder"
LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88"
# Pinned to the v1.4.20 release tag: the version ulfius v2.7.15 builds against.
SRC_URI = "git://github.com/babelouest/yder;protocol=https;branch=master"
SRCREV = "dffe82c0483bb95d0d518ba1e36c568e63a24628"
S = "${WORKDIR}/git"
inherit cmake pkgconfig
DEPENDS = "orcania"
# No systemd journald on the forgefirm image.
EXTRA_OECMAKE += "-DWITH_JOURNALD=off"