Skip to content
Open
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
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ release tags.
The image's pacman takes a package from the first repository that lists it, in
this order, during the build and on the installed tablet (`/etc/pacman.conf`):

1. `[orchard]`, the [Orchard package repository](https://github.com/OrchardLinux/packages), built once for every Orchard distribution: `mesa` (the OrchardLinux fork with the GPU driver; 64-bit), `wlroots0.20`, `labwc` (with the tablet patches), `libva-v4l2-request` (64-bit), `omafox`, `omactivity`, `folio-touch` (Files, the file manager of every board), `omacalc` on ARMv7, and `omarchy-a`'s releases. Their sources, patches and recipes are there.
1. `[orchard]`, the [Orchard package repository](https://github.com/OrchardLinux/packages), built once for every Orchard distribution: `mesa` (the OrchardLinux fork with the GPU driver; 64-bit), `wlroots0.20`, `labwc` (with the tablet patches), `libva-v4l2-request` (64-bit), `omafox`, `omactivity`, `omarchy-camera` (Camera), `folio-touch` (Files, the file manager of every board), `omacalc` on ARMv7, and `omarchy-a`'s releases. Their sources, patches and recipes are there.
2. `[omarchy]`, upstream Omarchy's repository (64-bit only; upstream publishes nothing for ARMv7): Omacalc.
3. Arch Linux ARM's repositories: everything else.

Expand Down
2 changes: 1 addition & 1 deletion desktop/armv7/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`python -m release.package --output DIR --architecture armv7h` makes the
ARMv7 `omarchy-a` package of the checkout (the keyboard and cursor helper
compiled for ARMv7) in the ARMv7 builder. The image installs it, and `wlroots0.20`, `labwc`,
`omafox`, `omactivity`, `folio-touch` (Files) and `omacalc` from the ARMv7 channel of the
`omafox`, `omactivity`, `omarchy-camera`, `folio-touch` (Files) and `omacalc` from the ARMv7 channel of the
[Orchard package repository](https://github.com/OrchardLinux/packages)
(`repo-armv7h`), listed before Arch Linux ARM's repositories. Upstream Omarchy
publishes no ARMv7 packages, so an ARMv7 image has no `[omarchy]` repository
Expand Down
7 changes: 5 additions & 2 deletions system/orchard-packages.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# What the image takes from the Orchard package repository (OrchardLinux/packages),
# built there for every Orchard distribution and installed here like any other
# package: wlroots with fast rotated software compositing, Labwc with the tablet
# patches, Omafox, Omactivity (the touch task manager) and Files, upstream
# Omarchy's file manager (Folio) with the touch mode OrchardLinux/folio adds.
# patches, Omafox, Omactivity (the touch task manager), Camera (johnbeatty/camera,
# the camera viewer) and Files, upstream Omarchy's file manager (Folio) with the
# touch mode OrchardLinux/folio adds.
# With a packages checkout (orchard build --packages), tools/build.py builds those
# of them whose recipe there is not the published one.
#
Expand All @@ -11,6 +12,8 @@ wlroots0.20
labwc
omafox
omactivity
# Every board: a board without a camera node shows that it has none.
omarchy-camera
folio-touch
# 64-bit boards: Mesa from OrchardLinux's fork in the place of Arch's (OpenGL through Zink or in
# software, the GPU's Vulkan driver, the login's GPU probe), and the VA-API bridge to the hardware
Expand Down
2 changes: 1 addition & 1 deletion tests/test_local_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_the_images_list_is_asked_for_and_only_other_recipes_are_built_after_wha
rows = [('mesa', 'm', False, []), ('wlroots0.20', 'w', True, ['mesa']), ('labwc', 'l', True, ['wlroots0.20'])]
built, asked = self.run_build(rows)
self.assertEqual(asked[2:], ['local', '--arch', 'aarch64', 'wlroots0.20', 'labwc', 'omafox', 'omactivity',
'folio-touch', 'mesa', 'libva-v4l2-request', 'libqmi'])
'omarchy-camera', 'folio-touch', 'mesa', 'libva-v4l2-request', 'libqmi'])
self.assertEqual(list(built), ['wlroots0.20', 'labwc'])
# labwc builds against the wlroots just built, which its build takes ahead of [orchard]'s.
self.assertEqual(self.builds, [('wlroots0.20', []), ('labwc', ['wlroots0.20-1.1-1-aarch64.pkg.tar.zst'])])
Expand Down
11 changes: 6 additions & 5 deletions tests/test_orchard_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
[alarm]
Include = /etc/pacman.d/mirrorlist
'''
ORCHARD = {'aarch64': ['wlroots0.20', 'labwc', 'omafox', 'omactivity', 'folio-touch', 'mesa', 'libva-v4l2-request',
'libqmi'],
'armv7h': ['wlroots0.20', 'labwc', 'omafox', 'omactivity', 'folio-touch', 'libqmi', 'omacalc']}
ORCHARD = {'aarch64': ['wlroots0.20', 'labwc', 'omafox', 'omactivity', 'omarchy-camera', 'folio-touch', 'mesa',
'libva-v4l2-request', 'libqmi'],
'armv7h': ['wlroots0.20', 'labwc', 'omafox', 'omactivity', 'omarchy-camera', 'folio-touch', 'libqmi',
'omacalc']}


def section(start, end):
Expand Down Expand Up @@ -140,7 +141,7 @@ def test_one_transaction_installs_ours_with_everything_else(self):
code, calls, error = self.install('aarch64')
self.assertEqual(code, 0, error)
# labwc is asked for once.
wanted = 'base labwc wlroots0.20 omafox omactivity folio-touch mesa libva-v4l2-request libqmi omarchy-a'
wanted = 'base labwc wlroots0.20 omafox omactivity omarchy-camera folio-touch mesa libva-v4l2-request libqmi omarchy-a'
self.assertEqual(calls[:3], [f'download -Sy --noconfirm {wanted}',
f'-S --print --print-format %r/%n {wanted}', f'-S --noconfirm {wanted}'])
self.assertEqual(calls[3], 'repositories')
Expand All @@ -154,7 +155,7 @@ def test_one_transaction_installs_ours_with_everything_else(self):
def test_armv7_takes_files_and_omacalc_from_ours_and_keeps_archs_mesa(self):
code, calls, error = self.install('armv7h')
self.assertEqual(code, 0, error)
wanted = 'base labwc wlroots0.20 omafox omactivity folio-touch libqmi omacalc omarchy-a'
wanted = 'base labwc wlroots0.20 omafox omactivity omarchy-camera folio-touch libqmi omacalc omarchy-a'
self.assertEqual(calls, [f'download -Sy --noconfirm {wanted}', f'-S --print --print-format %r/%n {wanted}',
f'-S --noconfirm {wanted}', 'repositories', '-Dk'])

Expand Down