From 8411b99fc4d7ff4399b8fc13568e728e31234584 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 18 Sep 2026 19:22:47 +0200 Subject: [PATCH 1/6] Add Hype presentation editor package --- pkgbuilds/hype/.omarchy/package.json | 3 ++ pkgbuilds/hype/PKGBUILD | 42 ++++++++++++++++++++++++++++ pkgbuilds/hype/hype.install | 12 ++++++++ 3 files changed, 57 insertions(+) create mode 100644 pkgbuilds/hype/.omarchy/package.json create mode 100644 pkgbuilds/hype/PKGBUILD create mode 100644 pkgbuilds/hype/hype.install diff --git a/pkgbuilds/hype/.omarchy/package.json b/pkgbuilds/hype/.omarchy/package.json new file mode 100644 index 0000000..2a9719d --- /dev/null +++ b/pkgbuilds/hype/.omarchy/package.json @@ -0,0 +1,3 @@ +{ + "source": "local" +} diff --git a/pkgbuilds/hype/PKGBUILD b/pkgbuilds/hype/PKGBUILD new file mode 100644 index 0000000..ed8f051 --- /dev/null +++ b/pkgbuilds/hype/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: David Heinemeier Hansson + +pkgname=hype +pkgver=0.1.0 +pkgrel=1 +pkgdesc='Simple Markdown presentations with a visual slide editor' +arch=('x86_64' 'aarch64') +url='https://github.com/omacom/hype' +license=('MIT') +install='hype.install' +options=('!debug') +depends=( + 'ffmpeg' + 'hicolor-icon-theme' + 'qt6-base>=6.8' + 'qt6-declarative>=6.8' + 'qt6-multimedia' + 'qt6-svg' + 'source-highlight' + 'zlib' + 'xdg-desktop-portal' +) +makedepends=('gcc' 'git' 'make') +# Pin the source until a tagged release is available. +_commit=34475b239d0dacb6918f43734bb5557b624555e2 +source=("git+$url.git#commit=$_commit") +sha256sums=('SKIP') + +build() { + cd "$srcdir/$pkgname" + ./bin/build +} + +package() { + cd "$srcdir/$pkgname" + + install -Dm755 build/hype "$pkgdir/usr/bin/hype" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 pkgbuild/hype.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/hype.svg" + install -Dm644 pkgbuild/hype.desktop "$pkgdir/usr/share/applications/hype.desktop" + install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" +} diff --git a/pkgbuilds/hype/hype.install b/pkgbuilds/hype/hype.install new file mode 100644 index 0000000..5357602 --- /dev/null +++ b/pkgbuilds/hype/hype.install @@ -0,0 +1,12 @@ +post_install() { + command -v update-desktop-database >/dev/null 2>&1 && update-desktop-database -q + command -v gtk-update-icon-cache >/dev/null 2>&1 && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} From 5cdaca6048f11d5e7c53f516b7abe276b65962d1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 18 Sep 2026 20:18:08 +0200 Subject: [PATCH 2/6] Include animated WebP support in Hype package --- pkgbuilds/hype/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgbuilds/hype/PKGBUILD b/pkgbuilds/hype/PKGBUILD index ed8f051..107143c 100644 --- a/pkgbuilds/hype/PKGBUILD +++ b/pkgbuilds/hype/PKGBUILD @@ -15,6 +15,7 @@ depends=( 'qt6-base>=6.8' 'qt6-declarative>=6.8' 'qt6-multimedia' + 'qt6-imageformats' 'qt6-svg' 'source-highlight' 'zlib' @@ -22,7 +23,7 @@ depends=( ) makedepends=('gcc' 'git' 'make') # Pin the source until a tagged release is available. -_commit=34475b239d0dacb6918f43734bb5557b624555e2 +_commit=204d22c39deaeeeda75d8c90ee011bb53053f524 source=("git+$url.git#commit=$_commit") sha256sums=('SKIP') From 16087f19b48ee21de3b3239bf10930d1e1383e90 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 18 Sep 2026 20:57:38 +0200 Subject: [PATCH 3/6] Verify Hype Git source with makepkg checksum --- pkgbuilds/hype/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgbuilds/hype/PKGBUILD b/pkgbuilds/hype/PKGBUILD index 107143c..2eebb3f 100644 --- a/pkgbuilds/hype/PKGBUILD +++ b/pkgbuilds/hype/PKGBUILD @@ -2,7 +2,7 @@ pkgname=hype pkgver=0.1.0 -pkgrel=1 +pkgrel=2 pkgdesc='Simple Markdown presentations with a visual slide editor' arch=('x86_64' 'aarch64') url='https://github.com/omacom/hype' @@ -25,7 +25,8 @@ makedepends=('gcc' 'git' 'make') # Pin the source until a tagged release is available. _commit=204d22c39deaeeeda75d8c90ee011bb53053f524 source=("git+$url.git#commit=$_commit") -sha256sums=('SKIP') +# makepkg hashes git archive --format tar of the pinned commit. +sha256sums=('c99441b1494f313b3912a3098c5fab5ff339488f0ed68df15447c87aa450374f') build() { cd "$srcdir/$pkgname" From ae0e7407e340e1af4bdf8d5373f17ce855e512be Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 18 Sep 2026 21:04:53 +0200 Subject: [PATCH 4/6] Package animated-image PowerPoint export support --- pkgbuilds/hype/PKGBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgbuilds/hype/PKGBUILD b/pkgbuilds/hype/PKGBUILD index 2eebb3f..44fd19c 100644 --- a/pkgbuilds/hype/PKGBUILD +++ b/pkgbuilds/hype/PKGBUILD @@ -2,7 +2,7 @@ pkgname=hype pkgver=0.1.0 -pkgrel=2 +pkgrel=3 pkgdesc='Simple Markdown presentations with a visual slide editor' arch=('x86_64' 'aarch64') url='https://github.com/omacom/hype' @@ -19,14 +19,15 @@ depends=( 'qt6-svg' 'source-highlight' 'zlib' + 'libwebp' 'xdg-desktop-portal' ) makedepends=('gcc' 'git' 'make') # Pin the source until a tagged release is available. -_commit=204d22c39deaeeeda75d8c90ee011bb53053f524 +_commit=f54cec61f5932f0ebb7659273b9a7de0fed64054 source=("git+$url.git#commit=$_commit") # makepkg hashes git archive --format tar of the pinned commit. -sha256sums=('c99441b1494f313b3912a3098c5fab5ff339488f0ed68df15447c87aa450374f') +sha256sums=('017d08f590bf835d94ea95a3856d6c73d64ea72f7eeb6c21d417a8bd23c990a1') build() { cd "$srcdir/$pkgname" From 4fb4dafa1dacbfbcddc34e1a03a288ab4f70aa21 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 18 Sep 2026 21:29:00 +0200 Subject: [PATCH 5/6] Package 4K PowerPoint export rendering --- pkgbuilds/hype/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgbuilds/hype/PKGBUILD b/pkgbuilds/hype/PKGBUILD index 44fd19c..66ce55c 100644 --- a/pkgbuilds/hype/PKGBUILD +++ b/pkgbuilds/hype/PKGBUILD @@ -2,7 +2,7 @@ pkgname=hype pkgver=0.1.0 -pkgrel=3 +pkgrel=4 pkgdesc='Simple Markdown presentations with a visual slide editor' arch=('x86_64' 'aarch64') url='https://github.com/omacom/hype' @@ -24,10 +24,10 @@ depends=( ) makedepends=('gcc' 'git' 'make') # Pin the source until a tagged release is available. -_commit=f54cec61f5932f0ebb7659273b9a7de0fed64054 +_commit=fc9b3baaad0d6ef357e1bd6a97c67d58e733024e source=("git+$url.git#commit=$_commit") # makepkg hashes git archive --format tar of the pinned commit. -sha256sums=('017d08f590bf835d94ea95a3856d6c73d64ea72f7eeb6c21d417a8bd23c990a1') +sha256sums=('f15ac30a3e42ebebbc9d64eac1f1fe6231a5e7366ba25c211bef5e193a912b07') build() { cd "$srcdir/$pkgname" From da4e1b55a823ce6ebaccb48c293f94ab90335bba Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Fri, 18 Sep 2026 18:07:43 -0400 Subject: [PATCH 6/6] Publish report: no PR comment on dispatch runs; append the log before commenting A workflow_dispatch runs from master's head. That commit's PR merged something unrelated, so looking the PR up by commit attached a failed elsewhen report to #515, whose merge had nothing to do with elsewhen. Dispatch runs now go to the log only. The log append also moves ahead of the PR comment so the record exists by the time anyone follows the comment to it. --- .github/workflows/publish.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2028b7a..75f236f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -277,17 +277,6 @@ jobs: "Commit " + .commit[0:7] + " ยท [run](" + .run + ")" ' publish-record.json > comment.md cat comment.md - - name: Comment on the merged PR - env: - GH_TOKEN: ${{ github.token }} - run: | - pr=$(gh api "repos/${{ github.repository }}/commits/${{ github.sha }}/pulls" --jq '.[0].number // empty') - if [[ -n "$pr" ]]; then - gh pr comment "$pr" -R "${{ github.repository }}" --body-file comment.md - echo "commented on #$pr" - else - echo "no PR for ${{ github.sha }} (manual dispatch?); skipping PR comment" - fi - name: Append to the publish log in the bucket env: RCLONE_CONFIG_R2_TYPE: s3 @@ -305,6 +294,21 @@ jobs: ./rclone copyto publish-log.jsonl R2:omarchy-pkgs/publish-log.jsonl --s3-no-head echo "log now has $(wc -l < publish-log.jsonl) entries" + - name: Comment on the merged PR + # Only for a push: the merge commit names its PR. A dispatch runs + # from master's head, whose PR merged something else entirely, so + # commenting there would attach this run's report to the wrong PR. + if: github.event_name == 'push' + env: + GH_TOKEN: ${{ github.token }} + run: | + pr=$(gh api "repos/${{ github.repository }}/commits/${{ github.sha }}/pulls" --jq '.[0].number // empty') + if [[ -n "$pr" ]]; then + gh pr comment "$pr" -R "${{ github.repository }}" --body-file comment.md + echo "commented on #$pr" + else + echo "no PR for ${{ github.sha }} (manual dispatch?); skipping PR comment" + fi result: needs: [changes, publish] if: always()