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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ release is checked here and released on by hand.
- Screen rotation follows the device with less memory in use: the rotation
daemon is a small C program instead of Python (tcballard).

- Automatic brightness uses less memory: its daemon is a small C program
instead of Python (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
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
#
# The compiles are the on-screen keyboard (wvkbd with this repository's
# patches) and its controller, the startup cursor helper (wtype), the
# mute-switch and power-control helpers, the rotation daemon and the power daemon
# mute-switch and power-control helpers, the rotation and auto-brightness
# daemons and the power daemon
# (omarchy-powerd, against libsystemd's sd-bus: the recipe's makedepends);
# desktop/install-tree puts every file in place.

Expand All @@ -16,7 +17,7 @@ CC ?= cc
CFLAGS ?= -O2
PKG_CONFIG ?= pkg-config

all: $(BUILD)/wvkbd-mobintl $(BUILD)/wtype $(BUILD)/omarchy-powerd $(BUILD)/omarchy-mute-switch $(BUILD)/omarchy-powerctl $(BUILD)/omarchy-keyboard $(BUILD)/arch-ipad-rotate-output
all: $(BUILD)/wvkbd-mobintl $(BUILD)/wtype $(BUILD)/omarchy-powerd $(BUILD)/omarchy-mute-switch $(BUILD)/omarchy-powerctl $(BUILD)/omarchy-keyboard $(BUILD)/arch-ipad-rotate-output $(BUILD)/arch-ipad-auto-brightness

$(BUILD)/omarchy-powerd: desktop/configuration/powerd.c
mkdir -p $(BUILD)
Expand All @@ -39,6 +40,10 @@ $(BUILD)/arch-ipad-rotate-output: desktop/configuration/rotate-output.c
mkdir -p $(BUILD)
$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -Wextra -Werror -std=c99 $< $(LDFLAGS) -lm -o $@

$(BUILD)/arch-ipad-auto-brightness: desktop/configuration/auto-brightness.c
mkdir -p $(BUILD)
$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -Wextra -Werror -std=c99 $< $(LDFLAGS) -lm -o $@

$(BUILD)/wvkbd-mobintl:
@test -d "$(WVKBD)" || { echo 'Set WVKBD to the wvkbd v0.20 source' >&2; exit 1; }
@grep -q preferred_buffer_scale /usr/include/wayland-client-protocol.h || \
Expand Down
Loading
Loading