Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,12 @@ jobs:
run: bash ci/dependencies --tools-only
env:
ORCHARD_REF: main
# powerd talks to logind through sd-bus; its tests build it with
# libsystemd as the package does and run it against a private bus.
- run: pkg-config --exists libsystemd || { sudo apt-get update && sudo apt-get install -y libsystemd-dev; }
- run: .venv/bin/python -m unittest discover -s tests -v
env:
OMARCHY_TEST_REQUIRE_SD_BUS: '1'
supported-devices:
# The README's chips and devices (between its supported markers) follow
# orchard main's compatibility table. Checked for every nightly and
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ release is checked here and released on by hand.

### Desktop

- The power, lock and sleep daemon is a small C program instead of Python:
about 18 MiB more free memory on every board, with the same behaviour
(tcballard).

- Upstream's commands show their texts instead of raw keys like
`webapp.intro`, in every language upstream has, and Install > Browser
gets past its browser policy step (jannyg).
Expand Down
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,22 @@
# make WVKBD=<wvkbd 0.20 source> WTYPE=<wtype 0.4 source>
# make install DESTDIR=<root> OMARCHY=<upstream Omarchy at desktop/upstream.lock> DBUS_NEXT=<unpacked dbus-next 0.2.3 wheel>
#
# The only compiles are the on-screen keyboard (wvkbd with this repository's
# patches) and the startup cursor helper (wtype); desktop/install-tree puts
# every file in place.
# The compiles are the on-screen keyboard (wvkbd with this repository's
# patches), the startup cursor helper (wtype) and the power daemon
# (omarchy-powerd, against libsystemd's sd-bus: the recipe's makedepends);
# desktop/install-tree puts every file in place.

BUILD ?= build
CC ?= cc
CFLAGS ?= -O2
PKG_CONFIG ?= pkg-config

all: $(BUILD)/wvkbd-mobintl $(BUILD)/wtype
all: $(BUILD)/wvkbd-mobintl $(BUILD)/wtype $(BUILD)/omarchy-powerd

$(BUILD)/omarchy-powerd: desktop/configuration/powerd.c
mkdir -p $(BUILD)
$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -Wextra -Werror -std=c99 -DHAVE_SD_BUS $< \
$$($(PKG_CONFIG) --cflags --libs libsystemd) -lpthread -lm $(LDFLAGS) -o $@

$(BUILD)/wvkbd-mobintl:
@test -d "$(WVKBD)" || { echo 'Set WVKBD to the wvkbd v0.20 source' >&2; exit 1; }
Expand Down
Loading
Loading