Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b21cf96
core::seatd: bump to 0.9.1
jkloetzke Nov 23, 2025
4ac271f
graphics::fonts::font-util: fix fontrootdir value
jkloetzke Nov 23, 2025
5eda0f2
graphics::xorg::xkbcomp: fix xkbconfigdir value
jkloetzke Nov 23, 2025
e13b368
libs::xorg::libXcursor: fix icondir value
jkloetzke Nov 23, 2025
c24dea0
libs::libinput: bump to 1.29.1
jkloetzke Nov 23, 2025
bf91629
libs::xcb::util-wm: use m4 as weak tool
jkloetzke Nov 23, 2025
7683df6
libs::mesa3d: remove bin package
jkloetzke Nov 23, 2025
0c47454
libs::mesa3d: fix dridriverdir value
jkloetzke Nov 23, 2025
09bd63b
libs::mesa3d: fix gbmbackendspath value
jkloetzke Nov 23, 2025
f6666bf
libs::libxkbcommon: fix provideDeps
jkloetzke Nov 23, 2025
3dbc76b
Add graphics::xorg::mcookie
jkloetzke Nov 23, 2025
e21f7a3
Add graphics::xorg::xcursorgen version 1.0.9
jkloetzke Nov 23, 2025
39d85be
Add graphics::xorg::utils::bdftopcf version 1.1.2
jkloetzke Nov 23, 2025
f08409f
Add graphics::xorg::mkfontscale version 1.2.3
jkloetzke Nov 23, 2025
05144f4
Add graphics::xorg::xcursor-themes version 1.0.7
jkloetzke Nov 23, 2025
f044d13
Add graphics::xorg::xeyes version 1.3.1
jkloetzke Nov 23, 2025
5e48415
Add graphics::xorg::twm version 1.0.13.1
jkloetzke Nov 23, 2025
bf8765d
graphics::fonts::font-util: make a pure binary package
jkloetzke Nov 23, 2025
7708512
Add graphics::fonts::xorg::alias version 1.0.5
jkloetzke Nov 23, 2025
0266201
Add graphics::fonts::xorg::cursor-misc version 1.0.4
jkloetzke Nov 23, 2025
512bd40
Add graphics::fonts::xorg::misc-misc version 1.1.3
jkloetzke Nov 23, 2025
0c487bb
graphics::xorg::xserver: add xkeyboard-config runtime dependency
jkloetzke Nov 23, 2025
83a7e71
init: add helper to query for systemd
jkloetzke Nov 23, 2025
4d245ba
init: constrain the values of CONFIG_INIT
jkloetzke Nov 23, 2025
b53e835
core::dbus: remove breaking configure options
jkloetzke Nov 23, 2025
0b7fd26
core::dbus: split into binary and library package
jkloetzke Nov 23, 2025
2c8e6e9
core::dbus: add systemd support
jkloetzke Nov 23, 2025
3fc815d
core::seatd: add systemd support
jkloetzke Nov 23, 2025
7040dcd
core::systemd: fix url
jkloetzke Nov 23, 2025
8f576a1
core::systemd: add systemd-logind support
jkloetzke Nov 23, 2025
86cbbf1
libs::mesa3d: ignore MESA3D_GLX if not building for x11
jkloetzke Nov 23, 2025
55fcfdc
libs::mesa3d: default MESA3D_GLX to auto
jkloetzke Nov 23, 2025
07e0a16
graphics::wayland::weston: install profile script only on sysv
jkloetzke Nov 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions classes/init.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Config:
CONFIG_INIT:
type: choice
choice:
systemd:
sysvinit/sysv:
sysvinit/busybox:

buildVars: [CONFIG_INIT]
buildSetup: |
# Checks if the init system is the sysv sysvinit variant.
Expand All @@ -17,3 +25,9 @@ buildSetup: |
{
[[ ${CONFIG_INIT:-} == "sysvinit" ]] || initIsSysvinitSysv || initIsSysvinitBusybox
}

# Check if the init system is systemd
initIsSystemd()
{
[[ ${CONFIG_INIT:-} == systemd ]]
}
10 changes: 10 additions & 0 deletions classes/xorg/font-util.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
depends:
- tools:
target-toolchain: host-compat-toolchain
use: [tools]
depends:
- graphics::fonts::font-util

buildTools: [fontUtil]
buildScript: |
PKG_CONFIG_LIBDIR+=":${BOB_TOOL_PATHS[fontUtil]}/../lib/pkgconfig"
34 changes: 30 additions & 4 deletions recipes/core/dbus.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit: [meson]
inherit: [meson, init]

metaEnvironment:
PKG_DESCRIPTION: "D-Bus is a simple system for interprocess communication and coordination."
Expand All @@ -13,6 +13,12 @@ depends:
- libs::expat-tgt
- libs::glib-tgt

- if: "$(eq,${CONFIG_INIT:-},systemd)"
depends:
- core::systemd-libsystemd-dev
- use: []
name: core::systemd-libsystemd-tgt

checkoutSCM:
scm: url
url: https://dbus.freedesktop.org/releases/dbus/dbus-${PKG_VERSION}.tar.xz
Expand All @@ -27,8 +33,6 @@ Config:
buildVars: [DBUS_DEBUG]
buildScript: |
CONFIG_OPTS=(\
"-Ddatadir=/etc" \
"-Dsysconfdir=/legacy" \
"-Dinotify=enabled" \
"-Dxml_docs=disabled" \
"-Ddoxygen_docs=disabled" \
Expand All @@ -43,12 +47,34 @@ buildScript: |
else
CONFIG_OPTS+=("-Dstats=false")
fi

if initIsSystemd ; then
CONFIG_OPTS+=(
-Dsystemd=enabled
-Dsystemd_system_unitdir=/usr/lib/systemd/system
-Dsystemd_user_unitdir=/usr/lib/systemd/user
)
else
CONFIG_OPTS+=( -Dsystemd=disabled )
fi

mesonBuild $1 ${CONFIG_OPTS[@]}

multiPackage:
"":
depends:
- use: []
name: core::dbus-tgt
packageScript: |
mesonPackageBin
mkdir -p .bob
cat >.bob/dbus.user-table <<EOF
messagebus -1 messagebus -1 * /run/dbus - dbus DBus messagebus user
EOF
provideDeps: [ "*-tgt" ]
dev:
provideDeps: ['*-dev']
packageScript: mesonPackageDev $1 "/usr/lib/dbus-1.0/***"
tgt:
provideDeps: ['*-tgt']
packageScript: mesonPackageTgt
packageScript: mesonPackageLib
20 changes: 16 additions & 4 deletions recipes/core/seatd.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,32 @@
inherit: [meson, init]

metaEnvironment:
PKG_VERSION: "0.8.0"
PKG_VERSION: "0.9.1"
PKG_LICENSE: "MIT"

depends:
- if: "$(eq,${CONFIG_INIT:-}-${SYSTEMD_LOGIND:-},systemd-1)"
depends:
- core::systemd-libsystemd-dev
- use: []
name: core::systemd-libsystemd-tgt

privateEnvironment:
ENABLE_LOGIND: "$(if-then-else,$(eq,${CONFIG_INIT:-}-${SYSTEMD_LOGIND:-},systemd-1),systemd,disabled)"

checkoutSCM:
scm: url
url: https://git.sr.ht/~kennylevinsen/seatd/archive/${PKG_VERSION}.tar.gz
digestSHA1: e33c99d9b0dce48f82618de2849ef3128305d28a
digestSHA1: cde15ad79adf2de055c717ea31b1e1e8ba230b6b
stripComponents: 1

buildVars: [ENABLE_LOGIND]
buildScript: |
mesonBuild $1 \
-Dman-pages=disabled \
-Dexamples=disabled \
-Dwerror=false \
-Dlibseat-logind=disabled \
-Dlibseat-logind=$ENABLE_LOGIND \
-Dlibseat-builtin=enabled

# add init script
Expand All @@ -32,9 +43,10 @@ multiPackage:
multiPackage:
dev:
packageScript: mesonPackageDev
provideDeps: [ "core::systemd-libsystemd-dev" ]
tgt:
depends:
- name: core::seatd
use: []
packageScript: mesonPackageLib
provideDeps: [ "core::seatd" ]
provideDeps: [ "core::seatd", "core::systemd-libsystemd-tgt" ]
9 changes: 8 additions & 1 deletion recipes/core/systemd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,15 @@ depends:
- kernel::kmod-lib-tgt
- libs::libxcrypt-tgt

- if: "$SYSTEMD_LOGIND"
depends:
- core::linux-pam-dev
- use: []
name: core::linux-pam-tgt

checkoutSCM:
scm: url
url: https://github.com/systemd/systemd/archive/refs/tags/${PKG_VERSION}.tar.gz
url: ${GITHUB_MIRROR}/systemd/systemd/archive/refs/tags/${PKG_VERSION}.tar.gz
digestSHA1: 508c4cae4a78fb84d2daf0fe31412cc5c6177460
stripComponents: 1

Expand Down Expand Up @@ -86,6 +92,7 @@ buildScript: |
-Dnologin-path=/usr/sbin/nologin

# Feature switches
-Dpam=${BOOL[$SYSTEMD_LOGIND]}
-Danalyze=${BOOL[$SYSTEMD_ANALYZE]}
-Dcoredump=${BOOL[$SYSTEMD_COREDUMP]}
-Dhwdb=${BOOL[$SYSTEMD_HWDB]}
Expand Down
27 changes: 14 additions & 13 deletions recipes/graphics/fonts/font-util.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@ checkoutSCM:
buildScript: |
autotoolsBuild $1

multiPackage:
dev:
packageScript: autotoolsPackageDev $1 "/usr/share/***"
packageScript: |
# The tools need to be accompanied by the .pc-file and other data...
autotoolsPackageDev
autotoolsPackageTgt

tgt:
packageScript: autotoolsPackageTgt $1 "/usr/share/***"
"":
depends:
- name: graphics::fonts::font-util-tgt
use: []
provideDeps: ['*-tgt']
packageScript: autotoolsPackageBin $1
provideTools:
fontUtil: "usr/bin"
# Workaround so that 'fontrootdir' is not affected by pc-file
# relocation.
sed -i -e '/^prefix=/c prefix=/dummy' \
-e '/^libdir=/c libdir=${prefix}/lib' \
-e '/^datarootdir=/c datarootdir=/usr/share' \
-e '/^mapdir=/c mapdir=/dummy/share/fonts/X11/util' \
usr/lib/pkgconfig/fontutil.pc

provideTools:
fontUtil: "usr/bin"
29 changes: 29 additions & 0 deletions recipes/graphics/fonts/xorg/alias.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
inherit: [autotools, "xorg::font-util"]

metaEnvironment:
PKG_VERSION: "1.0.5"
PKG_LICENSE: LicenseRef-xorg-font-alias
PKG_LICENSE_PATH: |
xorg-font-alias:COPYING

checkoutSCM:
scm: url
url: https://xorg.freedesktop.org/releases/individual/font/font-alias-${PKG_VERSION}.tar.xz
digestSHA256: 9f89e217bb73e0e3636a0a493fbf8b7c995156e0c53d9a0476d201b67c2d6b6e
stripComponents: 1

depends:
- tools:
target-toolchain: host-compat-toolchain
use: [tools]
depends:
- graphics::xorg::utils::bdftopcf

- graphics::xorg::utils::util-macros-dev

buildTools: [bdftopcf]
buildScript: |
autotoolsBuild "$1"

packageScript: |
autotoolsPackageTgt
29 changes: 29 additions & 0 deletions recipes/graphics/fonts/xorg/cursor-misc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
inherit: [autotools, "xorg::font-util"]

metaEnvironment:
PKG_VERSION: "1.0.4"
PKG_LICENSE: LicenseRef-xorg-font-cursor-misc
PKG_LICENSE_PATH: |
xorg-font-cursor-misc:COPYING

checkoutSCM:
scm: url
url: https://xorg.freedesktop.org/releases/individual/font/font-cursor-misc-${PKG_VERSION}.tar.xz
digestSHA256: 25d9c9595013cb8ca08420509993a6434c917e53ca1fec3f63acd45a19d4f982
stripComponents: 1

depends:
- tools:
target-toolchain: host-compat-toolchain
use: [tools]
depends:
- graphics::xorg::utils::bdftopcf

- graphics::xorg::utils::util-macros-dev

buildTools: [bdftopcf]
buildScript: |
autotoolsBuild "$1"

packageScript: |
autotoolsPackageTgt
29 changes: 29 additions & 0 deletions recipes/graphics/fonts/xorg/misc-misc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
inherit: [autotools, "xorg::font-util"]

metaEnvironment:
PKG_VERSION: "1.1.3"
PKG_LICENSE: LicenseRef-xorg-font-misc-misc
PKG_LICENSE_PATH: |
xorg-font-misc-misc:COPYING

checkoutSCM:
scm: url
url: https://xorg.freedesktop.org/releases/individual/font/font-misc-misc-${PKG_VERSION}.tar.xz
digestSHA256: 79abe361f58bb21ade9f565898e486300ce1cc621d5285bec26e14b6a8618fed
stripComponents: 1

depends:
- tools:
target-toolchain: host-compat-toolchain
use: [tools]
depends:
- graphics::xorg::utils::bdftopcf

- graphics::xorg::utils::util-macros-dev

buildTools: [bdftopcf]
buildScript: |
autotoolsBuild "$1"

packageScript: |
autotoolsPackageTgt
7 changes: 3 additions & 4 deletions recipes/graphics/wayland/weston.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,11 @@ buildScript: |
-Dbackend-drm=true \
-Drenderer-gl=true

# install profile file
install -D -m 0644 $<@weston/weston.sh@> \
install/etc/profile.d/weston.sh

# add init script
if initIsAnySysvinit; then
# install profile file
install -D -m 0644 $<@weston/weston.sh@> \
install/etc/profile.d/weston.sh
install -D -m 0755 $<@weston/S80weston.sh@> \
install/etc/init.d/S80weston.sh
fi
Expand Down
11 changes: 11 additions & 0 deletions recipes/graphics/xorg/mcookie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
inherit: [install]

buildTools: [target-toolchain]
buildVars: [CC, CPPFLAGS, CFLAGS, LDFLAGS]
buildScript: |
mkdir -p usr/bin
$CC ${CPPFLAGS:-} ${CFLAGS:-} ${LDFLAGS:-} -o usr/bin/mcookie -xc $<<mcookie/mcookie.c>>
chmod 755 usr/bin/mcookie

packageScript: |
installPackageBin "$1/"
Loading