From 8548c0fad480de6473039c90300c5a769644975a Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Thu, 5 Mar 2026 07:58:08 +0100 Subject: [PATCH 01/10] python::lxml: bump to 6.0.0 --- recipes/python/lxml.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/python/lxml.yaml b/recipes/python/lxml.yaml index 16eda4d7..8b381d8b 100644 --- a/recipes/python/lxml.yaml +++ b/recipes/python/lxml.yaml @@ -2,7 +2,7 @@ inherit: [patch, "python3::setuptools", "python3::cext"] metaEnvironment: PKG_LICENSE: "BSD-3-Clause" - PKG_VERSION: "5.3.1" + PKG_VERSION: "6.0.0" depends: - tools: @@ -25,7 +25,7 @@ depends: checkoutSCM: scm: url url: https://github.com/lxml/lxml/archive/refs/tags/lxml-${PKG_VERSION}.tar.gz - digestSHA1: f2c04d861f72d7119697194f6e46d3cdfd272e0c + digestSHA256: 5560ee7bd3bcea0e64221bbb23f4ee1d222296ef25ba217e327a5f1d963005d9 stripComponents: 1 checkoutDeterministic: True From 2d6d3444eb8850baa97f84884e631a6a9f6ab1bd Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Thu, 5 Mar 2026 07:58:54 +0100 Subject: [PATCH 02/10] default: add BASEMENT_X11 Some components need to know if the system uses X11 or wayland to handle dependencies and configure options correctly. Add BASEMENT_X11 to select th X window system. --- default.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 default.yaml diff --git a/default.yaml b/default.yaml new file mode 100644 index 00000000..ba352aa2 --- /dev/null +++ b/default.yaml @@ -0,0 +1,2 @@ +environment: + BASEMENT_X11: "${BASEMENT_X11:-0}" # set to 1 if components should use the X11 backend. From 5d2392407fa5f246ffe9e72cbe4314df0eee609a Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 09:21:43 +0000 Subject: [PATCH 03/10] add libs::fltk v1.3.11 Fltk 1.3.x is required by tigervnc, ATM they are not ready for 1.4. See https://github.com/TigerVNC/tigervnc/issues/1949. --- recipes/libs/fltk.yaml | 46 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 47 insertions(+) create mode 100644 recipes/libs/fltk.yaml diff --git a/recipes/libs/fltk.yaml b/recipes/libs/fltk.yaml new file mode 100644 index 00000000..9c812c5e --- /dev/null +++ b/recipes/libs/fltk.yaml @@ -0,0 +1,46 @@ +inherit: [cmake] + +metaEnvironment: + PKG_DESCRIPTION: "Fast Light Toolkit" + PKG_LICENSE: "LGPL-2.0-only WITH FLTK-exception" + PKG_VERSION: "1.3.11" + +depends: + - libs::libpng-dev + - if: "${BASEMENT_X11}" + name: libs::xorg::libX11-dev + - libs::zlib-dev + - virtual::libs::libegl-dev + - virtual::libs::libjpeg-dev + - use: [] + depends: + - libs::libpng-tgt + - if: "${BASEMENT_X11}" + name: libs::xorg::libX11-tgt + - libs::zlib-tgt + - virtual::libs::libegl-tgt + - virtual::libs::libjpeg-tgt + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/fltk/fltk/releases/download/release-${PKG_VERSION}/fltk-${PKG_VERSION}-source.tar.bz2 + digestSHA256: ca2e144e5f89173cd094cc273940d56230b1bf613083a0792e6406dc191cd99f + stripComponents: 1 + +buildVars: [BASEMENT_X11] +buildScript: | + cmakeBuild $1 \ + -DFLTK_BUILD_TEST=0 \ + -DFLTK_BUILD_EXAMPLES=0 \ + -DFLTK_BACKEND_X11=$([[ ${BASEMENT_X11} == 1 ]] && echo "On" || echo "Off") + +multiPackage: + dev: + provideDeps: ['*-dev'] + packageScript: | + cmakePackageDev $1 "usr/share/" "usr/share/fltk/***" + + tgt: + provideDeps: ['*-tgt'] + packageScript: | + cmakePackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 10ace828..47515e5f 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -31,6 +31,7 @@ depends: - libs::dbus-glib-tgt - libs::double-conversion-tgt - libs::elfutils + - libs::fltk-tgt - libs::fontconfig-tgt - libs::freetype-tgt - libs::fribidi-tgt From 9be89ef19a63b97773ce6961ad8a6475acab94b5 Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Wed, 6 Aug 2025 11:58:44 +0000 Subject: [PATCH 04/10] add libs::libxmlb 0.3.25 --- recipes/libs/libxmlb.yaml | 34 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 35 insertions(+) create mode 100644 recipes/libs/libxmlb.yaml diff --git a/recipes/libs/libxmlb.yaml b/recipes/libs/libxmlb.yaml new file mode 100644 index 00000000..0bc550e0 --- /dev/null +++ b/recipes/libs/libxmlb.yaml @@ -0,0 +1,34 @@ +inherit: [meson] + +metaEnvironment: + PKG_VERSION: "0.3.25" + PKG_LICENSE: "LGPL-2.1-or-later" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/hughsie/libxmlb/releases/download/${PKG_VERSION}/libxmlb-${PKG_VERSION}.tar.xz + digestSHA256: 77f2768c9debd2e946173cdf9465efd987849805e7c58251c5772ea728a61d9a + stripComponents: 1 + +depends: + - libs::glib-dev + - use: [] + depends: + - libs::glib-tgt + +buildScript: | + mesonBuild $1 \ + -Dintrospection=false \ + -Dgtkdoc=false \ + -Dtests=false \ + -Dcli=false + +multiPackage: + dev: + provideDeps: ['*-dev'] + packageScript: | + mesonPackageDev + tgt: + provideDeps: ['*-tgt'] + packageScript: | + mesonPackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 47515e5f..f346f0df 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -88,6 +88,7 @@ depends: - libs::qt6-shadertools-tgt - libs::qt6-wayland-tgt - libs::slirp-tgt + - libs::libxmlb-tgt - libs::yajl-tgt - multimedia::alsa-utils From ef605dd7c88c3cdcda3f2bb1d367ef9d3db01cdb Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Wed, 11 Dec 2024 11:49:37 +0000 Subject: [PATCH 05/10] add devel::itstool: v2.0.7+lxml_migration The latest itstool release failes to build, because the libxml2 python package is deprecated and broken when linked static. Use a not yet merged version of itstool using lxml instead. See https://github.com/itstool/itstool/pull/57/ --- recipes/devel/itstool.yaml | 28 ++++++++++++++++++++++++++++ tests/buildall/recipes/buildall.yaml | 1 + 2 files changed, 29 insertions(+) create mode 100644 recipes/devel/itstool.yaml diff --git a/recipes/devel/itstool.yaml b/recipes/devel/itstool.yaml new file mode 100644 index 00000000..24060afc --- /dev/null +++ b/recipes/devel/itstool.yaml @@ -0,0 +1,28 @@ +inherit: [autotools, autoconf, python3] + +metaEnvironment: + PKG_VERSION: "2.0.7+lxml_migration" + PKG_LICENSE: "GPL-3.0-or-later" + +depends: + - python::lxml + +checkoutSCM: + scm: git + # url: ${GITHUB_MIRROR}/itstool/itstool.git + url: https://github.com/nwellnhof/itstool.git + # The latest itstool release uses libxml2, but the python bindings of + # libxml2 are deprecated. Use a version from the lxml transformation pull + # request until it's merged and a new release is published. + # See https://github.com/itstool/itstool/pull/57/ + commit: 0f6751a586422719442eb7e9ddfe635ec7ca06fb + +buildScript: | + export PYTHON=python3 + autotoolsBuild -s $1 + +packageScript: | + autotoolsPackageTgt + +provideTools: + itstool: "usr/bin" diff --git a/tests/buildall/recipes/buildall.yaml b/tests/buildall/recipes/buildall.yaml index 62fd5015..c453c50e 100644 --- a/tests/buildall/recipes/buildall.yaml +++ b/tests/buildall/recipes/buildall.yaml @@ -9,6 +9,7 @@ depends: - devel::gengetopt - devel::groff - devel::intltool + - devel::itstool - devel::lua-bin - devel::makedepend - devel::nasm From ac6ab049a7de76b0b080d500d02df9518c192c97 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Thu, 5 Mar 2026 06:16:16 +0100 Subject: [PATCH 06/10] add libs::libfyaml v0.9.5 --- recipes/libs/libfyaml.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 recipes/libs/libfyaml.yaml diff --git a/recipes/libs/libfyaml.yaml b/recipes/libs/libfyaml.yaml new file mode 100644 index 00000000..67a94e5c --- /dev/null +++ b/recipes/libs/libfyaml.yaml @@ -0,0 +1,28 @@ +inherit: [cmake] + +metaEnvironment: + PKG_VERSION: "0.9.5" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: https://github.com/pantoniou/libfyaml/releases/download/v${PKG_VERSION}/libfyaml-${PKG_VERSION}.tar.gz + digestSHA256: 9acbc9737808b2833a51be0d4b361987ab6bbbb19cbda7c0c5c83148c8addd8a + stripComponents: 1 + +depends: + - libs::libyaml-dev + - use: [] + depends: + - libs::libyaml-tgt + +buildScript: | + cmakeBuild $1 \ + -DBUILD_TESTING=OFF \ + -DCOMPILER_SUPPORTS_WNO_TAUTOLOGICAL_CONSTANT_OUT_OF_RANGE_COMPARE=0 + +multiPackage: + dev: + packageScript: cmakePackageDev + tgt: + packageScript: cmakePackageTgt From 773d4770a6381d7cf790853e739bee114bbf03d0 Mon Sep 17 00:00:00 2001 From: Marc Kewitz Date: Wed, 6 Aug 2025 11:59:33 +0000 Subject: [PATCH 07/10] add libs::appstream v1.1.2 Co-authored-by: Ralf Hubert --- recipes/libs/appstream.yaml | 86 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 87 insertions(+) create mode 100644 recipes/libs/appstream.yaml diff --git a/recipes/libs/appstream.yaml b/recipes/libs/appstream.yaml new file mode 100644 index 00000000..aa3b014e --- /dev/null +++ b/recipes/libs/appstream.yaml @@ -0,0 +1,86 @@ +inherit: [meson] + +metaEnvironment: + PKG_LICENSE: "GPL-2.0-or-later" + PKG_VERSION: "1.1.2" + +depends: + - tools: + target-toolchain: host-compat-toolchain + use: [tools] + depends: + - devel::gperf + - devel::itstool + - name: python::lxml + use: [result] + + - libs::glib-dev + - libs::libfyaml-dev + - libs::libpcre2-dev + - libs::libxml2-dev + - libs::libxmlb-dev + - net::curl-dev + - use: [] + depends: + - libs::glib-tgt + - libs::libfyaml-tgt + - libs::libpcre2-tgt + - libs::libxml2-tgt + - libs::libxmlb-tgt + - net::curl-tgt + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/ximion/appstream/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: 564ec87b16e9e4ee81fb021e612250fd27f3a3ecd31c209a5dd1ff59def3022d + stripComponents: 1 + +buildTools: [gettext, glib, gperf, itstool] +buildScript: | + mesonBuild $1 \ + -Dsystemd=false \ + -Dzstd-support=false \ + -Dgir=false \ + -Dstemming=false \ + -Dapidocs=false \ + -Ddocs=false \ + -Dinstall-docs=false \ + -Dbash-completion=false \ + -Dman=false + +multiPackage: + native: + packageScript: | + rsync -a --delete $1/install/ . + provideTools: + appstream-native: "usr/bin" + "": + depends: + # appstream references itself. the referenced version has to be a host + # native build (non cross) + - name: libs::appstream-native + tools: + target-toolchain: host-native-toolchain + use: [tools] + buildTools: [appstream-native] + buildSetup: | + # appstream needs a 'full' native appstream, not only the tools, to build... + export PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR:${BOB_TOOL_PATHS['appstream-native']}/../lib/pkgconfig + multiPackage: + "dev": + packageScript: | + mesonPackageDev + provideDeps: ['*-dev'] + "tgt": + packageScript: | + mesonPackageTgt + provideDeps: ['*-tgt'] + "": + depends: + - use: [] + name: libs::appstream-tgt + packageScript: | + mesonPackageBin + provideDeps: ['*-tgt'] + provideTools: + appstream: usr/bin diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index f346f0df..7b17e5e4 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -22,6 +22,7 @@ depends: - kernel::linux-image - libs::alsa-lib-tgt + - libs::appstream-tgt - libs::libassuan-tgt - libs::libksba-tgt - libs::botan-tgt From daab76df17242caeb609f32079cb5db99be5f7ec Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Thu, 27 Feb 2025 10:16:08 +0000 Subject: [PATCH 08/10] add utils::tigervnc v1.16.0 --- recipes/utils/tigervnc.yaml | 68 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 69 insertions(+) create mode 100644 recipes/utils/tigervnc.yaml diff --git a/recipes/utils/tigervnc.yaml b/recipes/utils/tigervnc.yaml new file mode 100644 index 00000000..112371db --- /dev/null +++ b/recipes/utils/tigervnc.yaml @@ -0,0 +1,68 @@ +inherit: [cmake] + +metaEnvironment: + PKG_LICENSE: "GPL-2.0-or-later" + PKG_VERSION: "1.16.0" + +depends: + - name: libs::appstream + tools: + target-toolchain: host-compat-toolchain + use: [tools] + + - core::linux-pam-dev + - libs::fltk-dev + - libs::fontconfig-dev + - libs::mesa3d-dev + - libs::pixman-dev + + - if: "${BASEMENT_X11}" + depends: + - libs::xorg::libXdamage-dev + - libs::xorg::libXft-dev + - libs::xorg::libXinerama-dev + - libs::xorg::libXrender-dev + - libs::xorg::libXmu-dev + + - libs::xorg::libXi-dev + - libs::zlib-dev + - virtual::libs::libjpeg-dev + + - use: [] + depends: + - core::linux-pam-tgt + - libs::fltk-tgt + - libs::fontconfig-tgt + - libs::mesa3d-tgt + - libs::pixman-tgt + + - if: "${BASEMENT_X11}" + depends: + - libs::xorg::libXdamage-tgt + - libs::xorg::libXft-tgt + - libs::xorg::libXinerama-tgt + - libs::xorg::libXrender-tgt + - libs::xorg::libXmu-tgt + + - libs::xorg::libXi-tgt + - libs::zlib-tgt + - virtual::libs::libjpeg-tgt + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/TigerVNC/tigervnc/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: 10512fc0254ae3bde41c19d18c15f7ebd8cd476261afe0611c41965d635d46e8 + stripComponents: 1 + +buildTools: [gettext, appstream] +buildScript: | + # provide appstream ITS files + export GETTEXTDATADIRS="${BOB_TOOL_PATHS['appstream']}/../share/gettext/" + # FIXME: fltk depends on png and dl but the cmake magic did not + # provide these libs?? + export LDFLAGS="${LDFLAGS} -lpng -ldl" + cmakeBuild $1 -Wno-dev + +provideDeps: ['*-tgt'] +packageScript: | + cmakePackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 7b17e5e4..ad307748 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -191,6 +191,7 @@ depends: - utils::strace - utils::sysbench - utils::tidy + - utils::tigervnc - utils::ttysnoop - utils::xorriso - utils::xxd From 0f1bd1ea748f217fa514eadf4a6de5155d2b207a Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 09:23:20 +0000 Subject: [PATCH 09/10] add graphics::ratpoison v1.4.9 --- recipes/graphics/ratpoison.yaml | 26 ++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 27 insertions(+) create mode 100644 recipes/graphics/ratpoison.yaml diff --git a/recipes/graphics/ratpoison.yaml b/recipes/graphics/ratpoison.yaml new file mode 100644 index 00000000..2ccc1b1e --- /dev/null +++ b/recipes/graphics/ratpoison.yaml @@ -0,0 +1,26 @@ +inherit: [autotools] + +metaEnvironment: + PKG_LICENSE: "GPL-2.0-or-later" + PKG_VERSION: "1.4.9" + +checkoutSCM: + scm: url + url: https://download-mirror.savannah.gnu.org/releases/ratpoison/ratpoison-${PKG_VERSION}.tar.xz + digestSHA256: d98fa4be025ecca453c407ff311ab3949f29f20d6d8abedf8f0716b85fc8d1f1 + stripComponents: 1 + +depends: + - libs::xorg::libX11-dev + - use: [] + depends: + - libs::xorg::libX11-tgt + +buildScript: | + autotoolsBuild $1 --without-xft \ + --without-xkb \ + --without-xrandr + +provideDeps: ['*-tgt'] +packageScript: | + autotoolsPackageBin diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index ad307748..96fedc3e 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -15,6 +15,7 @@ depends: - graphics::fonts::unicode - graphics::imagemagick - graphics::kmscube + - graphics::ratpoison - graphics::wayland::wayland From 750d4227e0ed9c85166515c6c20bf22fc2622409 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 24 Jan 2025 10:28:02 +0000 Subject: [PATCH 10/10] add graphics::freerdp v3.23.0 Minimum functional freerdp-client with optional X11 support. Co-authored-by: Marc Kewitz --- recipes/graphics/freerdp.yaml | 75 +++++++++++++++++++++++++++++++++ tests/buildall/recipes/all.yaml | 1 + 2 files changed, 76 insertions(+) create mode 100644 recipes/graphics/freerdp.yaml diff --git a/recipes/graphics/freerdp.yaml b/recipes/graphics/freerdp.yaml new file mode 100644 index 00000000..43df0f10 --- /dev/null +++ b/recipes/graphics/freerdp.yaml @@ -0,0 +1,75 @@ +inherit: [cmake] + +metaEnvironment: + PKG_LICENSE: "Apache-2.0" + PKG_VERSION: "3.23.0" + +depends: + - libs::alsa-lib-dev + - libs::openssl-dev + - if: "${BASEMENT_X11}" + depends: + - libs::xorg::libxkbfile-dev + - libs::xorg::libX11-dev + - libs::xorg::libXcursor-dev + - libs::xorg::libXi-dev + - libs::xorg::libXinerama-dev + - libs::xorg::libXv-dev + - libs::xorg::libXrandr-dev + - libs::zlib-dev + - use: [] + depends: + - libs::alsa-lib-tgt + - libs::openssl-tgt + - if: "${BASEMENT_X11}" + depends: + - libs::xorg::libxkbfile-tgt + - libs::xorg::libX11-tgt + - libs::xorg::libXcursor-tgt + - libs::xorg::libXi-tgt + - libs::xorg::libXinerama-tgt + - libs::xorg::libXv-tgt + - libs::xorg::libXrandr-tgt + - libs::zlib-tgt + +checkoutSCM: + scm: url + url: https://pub.freerdp.com/releases/freerdp-${PKG_VERSION}.tar.xz + digestSHA256: c4f7b3763d2915c1db6806f055f3573b640331adfaf722a8735d740378c1b5bb + stripComponents: 1 + +buildVars: [BASEMENT_X11] +buildScript: | + CONFIG_OPTS=() + + CONFIG_OPTS+=("-DWITH_ALSA=ON") + CONFIG_OPTS+=("-DWITH_UNICODE_BUILTIN=ON") + CONFIG_OPTS+=("-DWITH_CLIENT_SDL=OFF") + CONFIG_OPTS+=("-DWITH_CUPS=OFF") + CONFIG_OPTS+=("-DWITH_CAIRO=OFF") + CONFIG_OPTS+=("-DCHANNEL_URBDRC=OFF") + CONFIG_OPTS+=("-DWITH_FUSE=OFF") + CONFIG_OPTS+=("-DWITH_X11=$([[ ${BASEMENT_X11} -eq 1 ]] && echo ON || echo OFF)") + CONFIG_OPTS+=("-DWITH_SWSCALE=OFF") + CONFIG_OPTS+=("-DWITH_KRB5=OFF") + CONFIG_OPTS+=("-DWITH_PULSE=OFF") + CONFIG_OPTS+=("-DWITH_FFMPEG=OFF") + CONFIG_OPTS+=("-DWITH_SERVER=OFF") + CONFIG_OPTS+=("-DWITH_SERVER_INTERFACE=OFF") + CONFIG_OPTS+=("-DWITH_THIRD_PARTY=OFF") + + cmakeBuild $1 \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_SKIP_RPATH=TRUE \ + -DCMAKE_SKIP_INSTALL_RPATH=TRUE \ + -DBUILD_TESTING=OFF \ + -DWITH_GPROF=OFF \ + -DWITH_MANPAGES=OFF \ + -DWITH_PROFILER=OFF \ + -DWITH_SAMPLE=OFF \ + ${CONFIG_OPTS[@]} \ + +provideDeps: ['*-tgt'] +packageScript: | + cmakePackageTgt diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 96fedc3e..d472eba7 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -13,6 +13,7 @@ depends: - graphics::graphviz - graphics::fonts::dejavu - graphics::fonts::unicode + - graphics::freerdp - graphics::imagemagick - graphics::kmscube - graphics::ratpoison