| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pure version bump. Source is git+tag so no sha update needed. Upstream
v1.17.8 contains only OpenAI MCP schema sanitization and tooling
bugfixes; eb config and desktop package.json are unchanged from v1.17.7.
|
|
Fix electron version mismatch and KDE Wayland icon matching.
opencode-desktop.sh hardcoded /usr/bin/electron41 although the package
depends on electron42 and native modules are linked against electron42
ABI at build time. Switch the wrapper to electron42 so the runtime ABI
matches.
Drop set-desktop-name.patch. Upstream packages/desktop/package.json has
no desktopName key, and electron-builder injects "<appId>.desktop"
(currently "ai.opencode.desktop.desktop") into the unpacked app at
package time anyway, which overrode whatever the patch would have
written. Pin desktopName to $pkgname via a package()-time sed on the
installed package.json instead. ozone-wayland reads that key and sets
the running window's Wayland app_id to "opencode-desktop", so KDE
matches the window to /usr/share/applications/$pkgname.desktop
(StartupWMClass=$pkgname) and shows the right icon.
Verified on KDE Plasma Wayland: kwin scripting reports
resourceClass=opencode-desktop for the running window.
|
|
Restore the .pacman-based asset extraction in package() but with the
correct ebname. The previous code used '@opencode-aidesktop' which never
matched what electron-builder produced for the prod channel; eb derives
the .desktop / icon basename from extraMetadata.desktopName (config sets
appId+'.desktop' for prod, giving basename 'ai.opencode.desktop').
To make the build reliably yield a .pacman archive regardless of the
'bun run package -- --linux pacman' CLI flag handling across eb versions,
also patch upstream's electron-builder.config.ts to add 'pacman' to the
linux target list (built-in eb target, no extra dependency).
|
|
Loop over icons/prod/<N>x<N>.png and <N>x<N>@<M>x.png instead of
hardcoding four sizes. The @<M>x variant slots into the (N*M)x(N*M)
hicolor bucket. Future-proof for any size upstream adds.
|
|
Upstream electron-builder.config.ts targets only AppImage/deb/rpm, so the
package() step that extracted the .desktop entry and icons from a .pacman
archive silently failed and then sed/install bombed with 'no such file or
directory'.
Switch to upstream's tracked static files instead:
- packages/desktop/resources/linux/opencode-desktop.desktop
- packages/desktop/icons/prod/{32x32,64x64,128x128,128x128@2x}.png
Rewrite Exec/Icon/StartupWMClass to the wrapper basename (which is also
the Wayland app_id Electron sets via desktopName) and strip NoDisplay so
the launcher shows in app menus.
|
|
|
|
|
|
|
|
|
|
- bump to v1.17.1 (Electron 41 → 42 upstream)
- depends: electron41 → electron42 (provided by AUR electron42-bin)
- electronDist + version probe: /usr/lib/electron41 → /usr/lib/electron42
|
|
|
|
|
|
Upstream anomalyco/opencode v1.15.13. Both AUR patches (relax-bun-version,
set-desktop-name) apply cleanly via git apply --check against the new
tag. depends/makedepends/optdepends and build pipeline unchanged.
upstream packageManager pin moved bun@1.3.13 → bun@1.3.14, which now
matches Arch extra/bun exactly; the relax-bun-version patch comment is
stale but the patch itself remains a useful safety net. Only npm
transitive subdep deltas are @lydell/node-pty(-*) beta.10 → beta.12,
resolved by bun install at build time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Strip @parcel/watcher-linux-*-musl directories (in addition to *.musl.node
files) so the package no longer references libc.musl-x86_64.so.1, which
isn't available on Arch's glibc-only system.
- Declare nodejs as optdepend so namcap recognizes the npm CLI helpers'
shebang dependency as optional rather than missing.
|
|
|
|
Upstream renamed packages/desktop-electron → packages/desktop in v1.14.39,
dropping the parallel Tauri variant. The AUR package follows suit; users
on opencode-desktop-electron migrate automatically via the replaces= field.
|
|
|
|
|
|
- Add set-desktop-name.patch: Sets desktopName in package.json so chromium
ozone-wayland produces a non-empty wm_class matching StartupWMClass
(electron PR #51426 / issue #51375). KDE Plasma now shows the running
window's icon correctly.
- Build with --linux pacman and pull the .desktop file and full 12-size
hicolor icon set out of the resulting archive instead of shipping a
hand-maintained .desktop and only the NxN.png icons (was missing 9
hicolor sizes and the x-scheme-handler/opencode MimeType).
|
|
|
|
|
|
|