diff --git a/BUILD.md b/BUILD.md index afa26282..9ef21eb5 100644 --- a/BUILD.md +++ b/BUILD.md @@ -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. diff --git a/desktop/armv7/README.md b/desktop/armv7/README.md index 5adb02fb..ad01810c 100644 --- a/desktop/armv7/README.md +++ b/desktop/armv7/README.md @@ -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 diff --git a/system/orchard-packages.txt b/system/orchard-packages.txt index 83973055..8aaf8e47 100644 --- a/system/orchard-packages.txt +++ b/system/orchard-packages.txt @@ -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. # @@ -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 diff --git a/tests/test_local_packages.py b/tests/test_local_packages.py index b64e8c16..9a65e38c 100644 --- a/tests/test_local_packages.py +++ b/tests/test_local_packages.py @@ -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'])]) diff --git a/tests/test_orchard_repository.py b/tests/test_orchard_repository.py index cd4017c4..e7576311 100644 --- a/tests/test_orchard_repository.py +++ b/tests/test_orchard_repository.py @@ -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): @@ -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') @@ -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'])