diff --git a/CHANGELOG.md b/CHANGELOG.md index c9b6fce..1eadf39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,12 @@ to `main` publishes every changed version at once, so when merging, rename ## Unreleased +### omarchy-a 0.4.8-2 + +- Network Speed Test works: the speed test client (`omarchy-speedtest`) is + installed with Omarchy A, from upstream Omarchy's repository on 64-bit + tablets and from [orchard] on ARMv7. + ### Updates follow releases - The kernel packages and `omarchy-a` move to a new orchard or Omarchy A diff --git a/README.md b/README.md index 8026477..fbe84e0 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ built for both. | `folio-touch` | yes | yes | Files: Folio with touch mode, from the `touch-mode` branch of [OrchardLinux/folio](https://github.com/OrchardLinux/folio), pinned to a commit until the fork tags a release newer than 0.4.0 (`v0.4.1`; its tag `a0.2.0-1` is no version tag). Provides `folio` and conflicts with upstream Omarchy's. | | `omafox` | yes | yes | Firefox follows the Omarchy theme. | | `omacalc` | - | yes | Omarchy's calculator, which upstream Omarchy publishes for 64-bit only. | +| `omarchy-speedtest` | - | yes | The Network Speed Test's client (`/usr/lib/omarchy/speedtest`), from [omacom/omarchy-speedtest](https://github.com/omacom/omarchy-speedtest), which upstream Omarchy publishes for 64-bit only. Follows its releases. | | `omarchy-a` | yes | yes | Omarchy A's own files: the touch desktop, its configuration and system defaults, from [OrchardLinux/omarchy-a](https://github.com/OrchardLinux/omarchy-a), built with its Makefile. Follows its releases; nothing is built until its first release that builds this way. Conflicts with upstream Omarchy's `omarchy`. | | `linux-orchard-apple-16k`, `linux-orchard-apple-4k` | yes | - | orchard's kernel, modules, the boards' device trees, initrd and hardware defaults for A9 and later (16 KiB pages) or A7 to A8X: an orchard release's platform layer, installed unchanged by a plain PKGBUILD and APKBUILD; orchard's installer installs this package. Its pacman hooks (apk: scripts and trigger) run orchard's `boot-entries`, which keeps the system's boot entries current and the previous kernel as a fallback. The two conflict. | | `linux-orchard-apple-armv7` | - | yes | The same for the 32-bit boards (Alpine: `armv7`). | diff --git a/packages/omarchy-a/arch/PKGBUILD b/packages/omarchy-a/arch/PKGBUILD index 616330d..0ad6514 100644 --- a/packages/omarchy-a/arch/PKGBUILD +++ b/packages/omarchy-a/arch/PKGBUILD @@ -18,7 +18,7 @@ pkgname=omarchy-a pkgver=0.4.8 -pkgrel=1 +pkgrel=2 pkgdesc='Omarchy A: the touch desktop for Apple A-chip devices, its configuration and system defaults' arch=('aarch64' 'armv7h') url='https://github.com/OrchardLinux/omarchy-a' @@ -80,10 +80,11 @@ depends=( udisks2 ) # 64-bit: Mesa from OrchardLinux's fork and the VA-API bridge, both [orchard]'s; -# Omacalc from upstream Omarchy's repository, signed with its key. -depends_aarch64=(mesa libva-v4l2-request omarchy-keyring omacalc) -# Upstream Omarchy publishes nothing for ARMv7: Omacalc is [orchard]'s. -depends_armv7h=(omacalc) +# Omacalc and the Network Speed Test's client (/usr/lib/omarchy/speedtest) +# from upstream Omarchy's repository, signed with its key. +depends_aarch64=(mesa libva-v4l2-request omarchy-keyring omacalc omarchy-speedtest) +# Upstream Omarchy publishes nothing for ARMv7: both are [orchard]'s. +depends_armv7h=(omacalc omarchy-speedtest) # The keyboard (wvkbd) and the cursor helper (wtype) are compiled in build(). makedepends=(gcc make pkgconf patch wayland libxkbcommon pango cairo) # Upstream Omarchy's package has the same tree (/usr/share/omarchy). diff --git a/packages/omarchy-speedtest/arch/PKGBUILD b/packages/omarchy-speedtest/arch/PKGBUILD new file mode 100644 index 0000000..db486d2 --- /dev/null +++ b/packages/omarchy-speedtest/arch/PKGBUILD @@ -0,0 +1,37 @@ +# ARMv7 build of Omarchy's network speed test client, the program behind the +# Network Speed Test panel (omarchy-network-speedtest runs +# /usr/lib/omarchy/speedtest). 64-bit tablets take omarchy-speedtest from +# upstream Omarchy's repository, which builds it for amd64 and arm64 only. +# Standard library only, no cgo. tools/pkgrepo bump writes _commit, pkgver, +# pkgrel and the archive's checksum when the repository tags a release (see +# ../source.json). + +pkgname=omarchy-speedtest +_commit=d1115fc1440bcc856da68666c54149f1e0f0fd4b +pkgver=0.2.4 +pkgrel=1 +pkgdesc="Omarchy's network speed test client for speed.omarchy.org" +arch=('armv7h') +url='https://github.com/omacom/omarchy-speedtest' +license=('MIT') +makedepends=('go') +source=("omarchy-speedtest-${_commit}.tar.gz::${url}/archive/${_commit}.tar.gz") +sha256sums=('232a11e6ff4d5ddde4b5f5369cd1e3d99af3f73c2aa287440b703600f4ad0492') + +build() { + cd "omarchy-speedtest-${_commit}" + export CGO_ENABLED=0 GOFLAGS='-trimpath -mod=readonly -modcacherw' + go build -ldflags "-s -w -X main.version=${pkgver}" -o omarchy-speedtest . +} + +check() { + cd "omarchy-speedtest-${_commit}" + # The tests measure against a stand-in server on the loopback. + CGO_ENABLED=0 go test ./... +} + +package() { + cd "omarchy-speedtest-${_commit}" + install -Dm755 omarchy-speedtest "${pkgdir}/usr/lib/omarchy/speedtest" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/packages/omarchy-speedtest/source.json b/packages/omarchy-speedtest/source.json new file mode 100644 index 0000000..e3474cd --- /dev/null +++ b/packages/omarchy-speedtest/source.json @@ -0,0 +1,9 @@ +{ + "repository": "omacom/omarchy-speedtest", + "track": "releases", + "tag": "v0.2.4", + "version": "0.2.4", + "commit": "d1115fc1440bcc856da68666c54149f1e0f0fd4b", + "url": "https://github.com/omacom/omarchy-speedtest/archive/d1115fc1440bcc856da68666c54149f1e0f0fd4b.tar.gz", + "sha256": "232a11e6ff4d5ddde4b5f5369cd1e3d99af3f73c2aa287440b703600f4ad0492" +}