Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opentui for openSUSE:Factory checked in at 2026-11-18 18:29:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opentui (Old) and /work/SRC/openSUSE:Factory/.opentui.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opentui" Wed Nov 18 18:29:43 2026 rev:11 rq:1397590 version:0.8.4 Changes: -------- --- /work/SRC/openSUSE:Factory/opentui/opentui.changes 2026-11-07 23:35:22.659400957 +0100 +++ /work/SRC/openSUSE:Factory/.opentui.new.1251/opentui.changes 2026-11-18 18:30:11.261378210 +0100 @@ -1,0 +2,17 @@ +Sat Nov 14 09:12:35 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to 0.8.4 (moves in lockstep with opencode 2.3.0, which + pins @opentui/* 0.8.4 over the private FFI ABI): + * core: a culled streaming CodeRenderable with drawUnstyledText + false now measures new content at once, so layout and + scrollHeight stay correct while off-screen; it still waits + for the highlight before painting (issue 496). + * native: new ot_scene_reaches_hooks query telling C hosts + whether the next frame runs a node's hooks. + * Zig stays 0.17.0, grammar pins and queries unchanged, FFmpeg + 9.0.2 and zlib 1.3.2 unchanged; all three patches apply as-is + (offsets only) and are still needed. + * Drop opentui-0.8.3.tar.gz, add opentui-0.8.4.tar.gz via + tar_scm (revision v0.8.4). + +------------------------------------------------------------------- Old: ---- opentui-0.8.3.tar.gz New: ---- opentui-0.8.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opentui.spec ++++++ --- /var/tmp/diff_new_pack.4Omk7i/_old 2026-11-18 18:30:13.277463601 +0100 +++ /var/tmp/diff_new_pack.4Omk7i/_new 2026-11-18 18:30:13.282463813 +0100 @@ -37,7 +37,7 @@ %global ffmpeg_version 9.0.2 %global zlib_version 1.3.2 Name: opentui -Version: 0.8.3 +Version: 0.8.4 Release: 0 Summary: Library for building terminal user interfaces # MIT upstream; everything below is compiled into libopentui.so: miniaudio @@ -49,12 +49,11 @@ Source1: README.SUSE-maint Source2: https://ffmpeg.org/releases/ffmpeg-%{ffmpeg_version}.tar.xz Source3: https://zlib.net/fossils/zlib-%{zlib_version}.tar.gz -# The Zig sources moved to packages/native in 0.5.5 and build the library -# for an explicit triple by default; -Dlibrary-target=native below keeps the -# host libc and libstdc++, so pin the code generator back to the baseline. +# PATCH-FIX-OPENSUSE opentui-baseline-cpu.patch -- pin the code generator back +# to the baseline (a native triple detects the build CPU, wrong for distros). Patch0: opentui-baseline-cpu.patch -# Two X11 clipboard unit tests abort the test runner on aarch64 (see the -# patch header); skipped there until upstream fixes them. +# PATCH-FIX-OPENSUSE opentui-aarch64-skip-crashing-x11-tests.patch -- 2 X11 +# clipboard tests abort the runner on aarch64; skipped until upstream fixes. Patch1: opentui-aarch64-skip-crashing-x11-tests.patch # PATCH-FIX-OPENSUSE opentui-aarch64-skip-flaky-text-work-test.patch -- aarch64-only skip of a page-size-sensitive test # The word-metadata arena bound below is page-size sensitive and trips on @@ -116,12 +115,8 @@ %autosetup -p1 -n %{name}-%{version} %build -# The Zig dependencies (yoga, uucode, ghostty) and the image C libraries -# (lcms2, libwebp, stb, wuffs, miniaudio) are vendored in-tree under -# packages/native/src/vendor; the archive unpacks to an ignored directory -# the build then resolves over relative paths, so nothing is fetched. -# FFmpeg and zlib (video playback, new in 0.8.1) come as Source2 and -# Source3 instead and are built below with upstream's own configure set. +# Zig/image deps are vendored in-tree (resolved over relative paths, nothing +# fetched). FFmpeg and zlib (video, new in 0.8.1) come as Source2/3 instead. export ZIG_GLOBAL_CACHE_DIR="$PWD/.zig-global-cache" export ZIG_LOCAL_CACHE_DIR="$PWD/.zig-local-cache" @@ -286,22 +281,15 @@ } EOF -# The TypeScript, laid out so that a consumer can point at -# %%{_libdir}/%%{name} and have @opentui/* resolve, or set -# OTUI_ASSET_ROOT to it and have the native library resolve. None of these -# packages declares a files field, so npm would ship the whole directory; -# copy it wholesale and then drop what only serves upstream's own build. Note -# that src/testing.ts and src/testing are exported API and stay, while -# src/tests is the suite and goes. +# TS laid out so @opentui/* resolve (OTUI_ASSET_ROOT: native lib); copy +# wholesale, drop build-only dirs — src/testing(.ts) stays, src/tests goes. for pkg in core keymap solid; do cp -a packages/$pkg %{buildroot}%{_libdir}/%{name}/@opentui/ ( cd %{buildroot}%{_libdir}/%{name}/@opentui/$pkg rm -rf src/tests src/benchmark src/specs tests examples \ dev docs bench-before bench-after node_modules \ tsconfig.json tsconfig.build.json tsconfig.node-test.json bunfig.toml - # scripts/ is mostly upstream's own build and release plumbing, but in - # solid it also holds five modules the exports map points at (plus - # solid-transform.ts, which the bun-plugin entry imports), so drop + # scripts/ also holds five modules the exports map points at, so drop # the plumbing by name rather than the directory. rm -f scripts/build.ts scripts/publish.ts scripts/dist-test.ts \ scripts/standalone-test.ts scripts/test.ts scripts/test-node.ts \ @@ -318,10 +306,8 @@ find . -name '*.test.ts' -delete find . -name '__snapshots__' -type d -prune -exec rm -rf {} + find . -name '.gitignore' -delete - # A couple of modules are exported API that also run themselves as a - # CLI under import.meta.main, so they carry a bun shebang. Nothing here - # is meant to be executed in place, and leaving the shebang on would - # have rpm demand an interpreter the distribution does not have yet. + # Exported modules with bun shebangs aren't meant to run in place; + # strip them so rpm wants no new interpreter. grep -rlZ '^#!%{_bindir}/env ' --include='*.ts' . \ | xargs -0 -r sed -i '1{/^#!/d}' # workspace:* only means anything inside upstream's monorepo. These ++++++ _service ++++++ --- /var/tmp/diff_new_pack.4Omk7i/_old 2026-11-18 18:30:13.411469277 +0100 +++ /var/tmp/diff_new_pack.4Omk7i/_new 2026-11-18 18:30:13.423469785 +0100 @@ -6,7 +6,7 @@ <service name="tar_scm" mode="manual"> <param name="url">https://github.com/anomalyco/opentui.git</param> <param name="scm">git</param> - <param name="revision">v0.8.3</param> + <param name="revision">v0.8.4</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> ++++++ opentui-0.8.3.tar.gz -> opentui-0.8.4.tar.gz ++++++ /work/SRC/openSUSE:Factory/opentui/opentui-0.8.3.tar.gz /work/SRC/openSUSE:Factory/.opentui.new.1251/opentui-0.8.4.tar.gz differ: char 4, line 1
