Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghostty for openSUSE:Factory checked in at 2026-11-18 18:32:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghostty (Old) and /work/SRC/openSUSE:Factory/.ghostty.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghostty" Wed Nov 18 18:32:31 2026 rev:5 rq:1398422 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghostty/ghostty.changes 2026-10-09 21:43:46.252250014 +0200 +++ /work/SRC/openSUSE:Factory/.ghostty.new.1251/ghostty.changes 2026-11-18 18:34:27.305239420 +0100 @@ -1,0 +2,39 @@ +Tue Nov 17 17:10:06 UTC 2026 - Marcus Rueckert <[email protected]> + +- Keep old style vendor script around +- Fix up pkg-config files +- Restore build-id again + +------------------------------------------------------------------- +Sun Nov 1 19:07:10 UTC 2026 - Martin Pluskal <[email protected]> + +- Fix the build with zig 0.17: + * vendor.tar.zst: unpack the 37 zig packages into p/<hash>/; + zig 0.17 stores fetched packages as compressed p/<hash>.tar.gz, + which zig build --system cannot find, so the build stopped with + "package not found" for uucode and translate_c + * vendor.tar.zst: remove the prebuilt Windows, macOS and Java + binaries and test fixtures that gettext, imgui, breakpad and + sentry carry + * vendor.sh: unpack the fetched packages, delete those binaries, + and keep the test directories, which the translate_c build + reads + * Install with a relative lib dir, as zig 0.17 does not apply + DESTDIR to an absolute one + * Recreate the ghostty terminfo alias, a symlink that zig 0.17 + does not install + * Fix prefix and libdir in libghostty-vt.pc and do not ship the + static library +- The vendored libxml2 is not built, as fontconfig is linked from + the system, so the package is not affected by: + * CVE-2025-6021 (boo#1244594) + * CVE-2025-8732 (boo#1247855) +- Spec cleanup + +------------------------------------------------------------------- +Tue Oct 27 19:29:27 UTC 2026 - Marcus Rueckert <[email protected]> + +- Update to 1.4.0 + https://ghostty.org/docs/install/release-notes/1-4-0 + +------------------------------------------------------------------- Old: ---- ghostty-1.3.1.tar.gz ghostty-1.3.1.tar.gz.minisig New: ---- ghostty-1.4.0.tar.gz ghostty-1.4.0.tar.gz.minisig vendor-build-fetch-all.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghostty.spec ++++++ --- /var/tmp/diff_new_pack.aG1ium/_old 2026-11-18 18:34:36.396624569 +0100 +++ /var/tmp/diff_new_pack.aG1ium/_new 2026-11-18 18:34:36.401624781 +0100 @@ -17,45 +17,47 @@ %global shlib_name libghostty-vt0 -%global common_build_flags --system %{_builddir}/%{name}-%{version}/vendor/zig/p -Doptimize=ReleaseFast -Dcpu=baseline -Dpie=true -Dstrip=false -Dversion-string=%{version} -fsys=freetype -fsys=harfbuzz -fsys=fontconfig -fsys=libpng -fsys=zlib -fsys=oniguruma -fsys=glslang -fsys=spirv-cross -fsys=simdutf -fsys=gtk4-layer-shell -fsys=highway %{?_smp_mflags} # See editors/vim vim.spec %define site_runtimepath %{_datadir}/vim/site - %bcond_without standalone_terminfo - Name: ghostty -Version: 1.3.1 +Version: 1.4.0 Release: 0 +%global common_build_flags --system %{_builddir}/%{name}-%{version}/vendor/zig/p --build-id=sha1 -Doptimize=ReleaseFast -Dcpu=baseline -Dpie=true -Dstrip=false -Dversion-string=%{version} -fsys=freetype -fsys=harfbuzz -fsys=fontconfig -fsys=libpng -fsys=zlib -fsys=oniguruma -fsys=glslang -fsys=spirv-cross -fsys=simdutf -fsys=gtk4-layer-shell -fsys=highway %{?_smp_mflags} Summary: Cross-platform terminal emulator License: MIT AND OFL-1.1 URL: https://github.com/ghostty-org/ghostty # can be verified with: # minisign -V -P 'RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV' -m ghostty-%%{version}.tar.gz Source0: https://release.files.ghostty.org/%{version}/ghostty-%{version}.tar.gz -Source2: https://release.files.ghostty.org/%{version}/ghostty-%{version}.tar.gz.minisig Source1: vendor.tar.zst +Source2: https://release.files.ghostty.org/%{version}/ghostty-%{version}.tar.gz.minisig Source98: %{name}-rpmlintrc Source99: vendor.sh +Source97: vendor-build-fetch-all.sh BuildRequires: fdupes BuildRequires: gobject-introspection BuildRequires: hicolor-icon-theme BuildRequires: pandoc BuildRequires: pkgconfig +BuildRequires: python-nautilus-common-files +BuildRequires: python3-gobject +BuildRequires: zig >= 0.17.0 BuildRequires: zstd -BuildRequires: zig >= 0.15.2 BuildRequires: cmake(glslang) BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-gobject) +BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(graphene-1.0) -BuildRequires: pkgconfig(gtk4) -BuildRequires: pkgconfig(gtk4-layer-shell-0) +BuildRequires: pkgconfig(gtk4) >= 4.18 +BuildRequires: pkgconfig(gtk4-layer-shell-0) >= 1.0.4 BuildRequires: pkgconfig(harfbuzz) -BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: pkgconfig(libadwaita-1) >= 1.7 BuildRequires: pkgconfig(libhwy) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(ncurses) @@ -68,8 +70,6 @@ BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(vulkan) BuildRequires: pkgconfig(zlib) -BuildRequires: python-nautilus-common-files -BuildRequires: python3-gobject %if %{with standalone_terminfo} Requires: terminfo-ghostty = %{version} %else @@ -83,7 +83,6 @@ %package bash-completion Summary: Bash Support for %{name} -Group: System/Shells Requires: %{name} = %{version} Requires: bash-completion Supplements: (%{name} and bash-completion) @@ -94,7 +93,6 @@ %package fish-completion Summary: Fish Support for %{name} -Group: System/Shells Requires: %{name} = %{version} Requires: fish Supplements: (%{name} and fish) @@ -105,7 +103,6 @@ %package zsh-completion Summary: Zsh Support for %{name} -Group: System/Shells Requires: %{name} = %{version} Requires: zsh Supplements: (%{name} and zsh) @@ -116,7 +113,6 @@ %package nushell-completion Summary: Nushell Completion for %{name} -Group: System/Shells Requires: %{name} = %{version} Requires: nushell Supplements: (%{name} and nushell) @@ -127,7 +123,6 @@ %package doc Summary: Documentation for %{name} -Group: Documentation/HTML BuildArch: noarch %description doc @@ -186,7 +181,6 @@ %package devel Summary: Development files for for ghostty's VT library -Group: Development/Libraries/C and C++ Requires: %{shlib_name} = %{version} %description devel @@ -205,7 +199,11 @@ %install export DESTDIR=%{buildroot} -zig build %{common_build_flags} --prefix %{_prefix} --prefix-lib-dir %{_libdir} +# zig 0.17 does not put DESTDIR in front of an absolute lib dir +zig build %{common_build_flags} --prefix %{_prefix} --prefix-lib-dir %{_lib} +# zig 0.17 does not install the symlink tic creates for the ghostty alias +mkdir -p %{buildroot}%{_datadir}/terminfo/g +ln -s ../x/xterm-ghostty %{buildroot}%{_datadir}/terminfo/g/ghostty mv %{buildroot}%{_datadir}/vim/vimfiles \ %{buildroot}%{site_runtimepath} %if %{without standalone_terminfo} @@ -213,6 +211,17 @@ %endif mv %{buildroot}%{_datadir}/pkgconfig/ %{buildroot}%{_libdir} +# The generated .pc carries the DESTDIR-prefixed prefix and a fixed lib dir +sed -i -e 's|^prefix=.*|prefix=%{_prefix}|' -e 's|^libdir=.*|libdir=%{_libdir}|' \ + %{buildroot}%{_libdir}/pkgconfig/libghostty-vt.pc +rm %{buildroot}%{_libdir}/libghostty-vt.a %{buildroot}%{_libdir}/pkgconfig/libghostty-vt-static.pc + +for pc in %{buildroot}%{_libdir}/pkgconfig/libghostty-vt*.pc; do + sed -i \ + -e 's|^prefix=.*|prefix=%{_prefix}|' \ + -e 's|^libdir=.*|libdir=%{_libdir}|' \ + "$pc" +done %find_lang com.mitchellh.ghostty ++++++ ghostty-1.3.1.tar.gz -> ghostty-1.4.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/ghostty/ghostty-1.3.1.tar.gz /work/SRC/openSUSE:Factory/.ghostty.new.1251/ghostty-1.4.0.tar.gz differ: char 12, line 1 ++++++ ghostty-1.3.1.tar.gz.minisig -> ghostty-1.4.0.tar.gz.minisig ++++++ --- /work/SRC/openSUSE:Factory/ghostty/ghostty-1.3.1.tar.gz.minisig 2026-03-22 14:14:08.770138803 +0100 +++ /work/SRC/openSUSE:Factory/.ghostty.new.1251/ghostty-1.4.0.tar.gz.minisig 2026-11-18 18:34:27.278238276 +0100 @@ -1,4 +1,4 @@ untrusted comment: signature from minisign secret key -RUQlAjJC23149ezyXvJfUEACpd1RWhcfR1y5+4Sn+O55KKY1x/Lzm7eGaGbO07Hbx1OcSgJQ0fsxoVshWz1sYMWuMAJMRIo27wo= -trusted comment: timestamp:1773418057 file:ghostty-1.3.1.tar.gz hashed -L94BwXa0x5gkaOGCx455f1ZQMyy0+8vP4tfVDwX3L/991loKOL2bXd4mBIW4p5hEHcv+WoWp7wg06gNegQpRBw== +RUQlAjJC23149btspP6Ypq2T3flT6uH1wtmO6gu7stRglCNXLSCD4GOENVzxR9XBvx5oKppr2S77CIVfoX5RXzqxJKNM+jbzCAk= +trusted comment: timestamp:1793117815 file:ghostty-1.4.0.tar.gz hashed +D3oeu5OHEmq1Q6FKHyTIOXZ33PSnHH63dJ/Le6F0wLSrndAd0rcSQ/EG4DP0h13Z09mUoVXhxrSrYiOwgCAoAQ== ++++++ vendor-build-fetch-all.sh ++++++ #!/bin/sh set -eux version=$(awk '$1 == "Version:" { print $2; exit }' ghostty.spec) if [ ! -d "ghostty-$version" ]; then tar -xzf "ghostty-$version.tar.gz" fi tmp=$(mktemp -d "${PWD}/.vendor.XXXXXXXX") export ZIG_GLOBAL_CACHE_DIR="$tmp/cache" export ZIG_LOCAL_PKG_DIR="$tmp/vendor/zig/p" ( cd "ghostty-$version" # Include lazy dependencies for offline builds. zig build --fetch=all ) if [ ! -d "$ZIG_LOCAL_PKG_DIR" ]; then printf '%s\n' 'Zig did not populate the local package directory' >&2 exit 1 fi tar --zstd -cf "$tmp/vendor.tar.zst" -C "$tmp" vendor/zig/p mv -f "$tmp/vendor.tar.zst" vendor.tar.zst rm -r -- "$tmp" ++++++ vendor.sh ++++++ --- /var/tmp/diff_new_pack.aG1ium/_old 2026-11-18 18:34:36.637634779 +0100 +++ /var/tmp/diff_new_pack.aG1ium/_new 2026-11-18 18:34:36.642634991 +0100 @@ -1,8 +1,5 @@ #!/bin/sh set -x -# The dependencies tarball is quite large, so we -# reduce it here by removing unecessary files for -# building (e.g, test files). export SUBDIR="vendor/zig/" export ZIG_GLOBAL_CACHE_DIR="${PWD}/${SUBDIR}" @@ -31,8 +28,18 @@ } done < "$ZON_TXT_FILE" - -find "${SUBDIR}" -type d -iname test -print0 | xargs -r0 rm -rv +# zig 0.17 keeps fetched packages compressed as p/<hash>.tar.gz, but +# `zig build --system` only finds them unpacked as p/<hash>/ +for f in "${SUBDIR}"p/*.tar.gz; do + tar -xzf "$f" -C "${SUBDIR}p" && rm "$f" +done + +# Drop the prebuilt binaries some dependencies carry (Windows and macOS +# tools, test fixtures, Java build wrappers); the build uses none of them +find "${SUBDIR}p" -type f \( -name '*.[ao]' -o -name '*.so' -o -name '*.class' \ + -o -name '*.jar' -o -name '*.exe' -o -name '*.dll' -o -name '*.lib' \ + -o -name crashInMain -o -name crashduringload -o -name dump_syms_dwarf_data \ + -o -name sentry_example \) -print -delete tar --zstd -cvf ../vendor.tar.zst "${SUBDIR}" ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/ghostty/vendor.tar.zst /work/SRC/openSUSE:Factory/.ghostty.new.1251/vendor.tar.zst differ: char 7, line 1
