- Update to version 20240203.110809.5046fc22+git421:
* deps: libpng -> 1.6.44 * deps: update to zlib 1.3.1 * wezterm-ssh: update pty version * docs: changelog for serial bits * pty: bump semver because serial2 changes public API * Use serial2 crate instead of serial (#6411) * chore: remove redundant words in comment * fix some warnings with rust 1.83 * wayland: reimplement maximize and restore * Disable libpng VSX_OPT flag for PowerPC 64 * cargo update * docs: changelog for #6186 * Region scrolling tests and a fix * Region scrolling tests * fix warning * Fixed minor typo in the example from `get_default_colors.md OBS-URL: https://build.opensuse.org/package/show/X11:terminals/wezterm?expand=0&rev=127
This commit is contained in:
commit
2737fff4db
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
11
_constraints
Normal file
11
_constraints
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<constraints>
|
||||
<hardware>
|
||||
<physicalmemory>
|
||||
<size unit="G">16</size>
|
||||
</physicalmemory>
|
||||
<disk>
|
||||
<size unit="G">25</size>
|
||||
</disk>
|
||||
</hardware>
|
||||
</constraints>
|
25
_service
Normal file
25
_service
Normal file
@ -0,0 +1,25 @@
|
||||
<services>
|
||||
<service mode="manual" name="obs_scm">
|
||||
<param name="url">https://github.com/wez/wezterm</param>
|
||||
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param>
|
||||
<!-- param name="versionformat">@PARENT_TAG@</param -->
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">be54403e4d297ccc2fb4c7b212e2a83b13a89948</param>
|
||||
<param name="versionrewrite-pattern">(\d+)-(\d+)-(\w+)</param>
|
||||
<param name="versionrewrite-replacement">\1.\2.\3</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<!-- param name="changesauthor">uncomfy+openbuildservice@uncomfyhalomacro.pl</param -->
|
||||
</service>
|
||||
<service mode="manual" name="tar" />
|
||||
<service mode="manual" name="recomprizz">
|
||||
<param name="target">*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service mode="manual" name="set_version"/>
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="src">wezterm*.tar*</param>
|
||||
<param name="update">false</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="manual" />
|
||||
</services>
|
||||
|
6
_servicedata
Normal file
6
_servicedata
Normal file
@ -0,0 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/wez/wezterm.git</param>
|
||||
<param name="changesrevision">69ae847273aa2b0a64bdb07cf19d3f6fbaaa6b71</param></service><service name="tar_scm">
|
||||
<param name="url">https://github.com/wez/wezterm</param>
|
||||
<param name="changesrevision">be54403e4d297ccc2fb4c7b212e2a83b13a89948</param></service></servicedata>
|
17
do-not-send-eof-when-closing-application.patch
Normal file
17
do-not-send-eof-when-closing-application.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/pty/src/unix.rs b/pty/src/unix.rs
|
||||
index cbe0f76..92bf82b 100644
|
||||
--- a/pty/src/unix.rs
|
||||
+++ b/pty/src/unix.rs
|
||||
@@ -396,9 +396,9 @@ impl Drop for UnixMasterWriter {
|
||||
// EOF is only interpreted after a newline, so if it is set,
|
||||
// we send a newline followed by EOF.
|
||||
let eot = t.c_cc[libc::VEOF];
|
||||
- if eot != 0 {
|
||||
- let _ = self.fd.0.write_all(&[b'\n', eot]);
|
||||
- }
|
||||
+ // if eot != 0 {
|
||||
+ // let _ = self.fd.0.write_all(&[b'\n', eot]);
|
||||
+ // }
|
||||
}
|
||||
}
|
||||
}
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0442d80ab11d4cd436480a130c11a1005757ea8e43b79008eb1b4f6d641aa89
|
||||
size 87807646
|
3
wezterm-20240203.110809.5046fc22+git404.tar.zst
Normal file
3
wezterm-20240203.110809.5046fc22+git404.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7c33aee5017f5cc64c6e54af9ed2a8109e7fa72cdc9b56259f1df11385615e74
|
||||
size 95229466
|
3
wezterm-20240203.110809.5046fc22+git421.tar.zst
Normal file
3
wezterm-20240203.110809.5046fc22+git421.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bdaa8dfcf46e5f65ea76ee04846e4738c7aa50e6c4545903551a836859bb34c1
|
||||
size 96073963
|
2074
wezterm.changes
Normal file
2074
wezterm.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
wezterm.obsinfo
Normal file
4
wezterm.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: wezterm
|
||||
version: 20240203.110809.5046fc22+git421
|
||||
mtime: 1735830509
|
||||
commit: be54403e4d297ccc2fb4c7b212e2a83b13a89948
|
177
wezterm.spec
Normal file
177
wezterm.spec
Normal file
@ -0,0 +1,177 @@
|
||||
#
|
||||
# spec file for package wezterm
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global rustflags -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2
|
||||
# %%global _dashed_version 20230712-072601-f4abf8fd
|
||||
|
||||
Name: wezterm
|
||||
Version: 20240203.110809.5046fc22+git421
|
||||
Release: 0
|
||||
Summary: GPU-accelerated cross-platform terminal emulator and multiplexer
|
||||
URL: https://github.com/wez/wezterm
|
||||
License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR BSD-2-Clause) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-2.1-only AND MIT AND MPL-2.0 AND WTFPL AND Zlib AND MIT
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
Patch0: do-not-send-eof-when-closing-application.patch
|
||||
BuildRequires: Mesa-libEGL-devel
|
||||
|
||||
BuildRequires: cargo >= 1.43
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: cargo-packaging
|
||||
%endif
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libxkbcommon-devel
|
||||
BuildRequires: libxkbcommon-x11-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-nautilus-common-files
|
||||
BuildRequires: python3
|
||||
BuildRequires: wayland-devel
|
||||
BuildRequires: xcb-util-devel
|
||||
BuildRequires: xcb-util-image-devel
|
||||
BuildRequires: xcb-util-keysyms-devel
|
||||
BuildRequires: xcb-util-wm-devel
|
||||
BuildRequires: zstd
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(harfbuzz)
|
||||
BuildRequires: pkgconfig(libgit2)
|
||||
BuildRequires: pkgconfig(libssh2)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
Recommends: terminfo
|
||||
|
||||
%description
|
||||
Wezterm is a GPU-accelerated terminal emulator written in Rust. It supports
|
||||
ligatures, font fallback and true color. It features dynamic color schemes, hyperlinks,
|
||||
and multiplex terminal panes.
|
||||
|
||||
%package mux-server
|
||||
Summary: Multiplexer server for %{name}
|
||||
Recommends: %{name} = %{version}
|
||||
|
||||
%description mux-server
|
||||
Multiplexer server for wezterm for running on a headless system.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
Bash completion support for %{name}.
|
||||
|
||||
%package fish-completion
|
||||
Summary: Fish Completion for %{name}
|
||||
Supplements: (%{name} and fish)
|
||||
BuildArch: noarch
|
||||
|
||||
%description fish-completion
|
||||
Fish completion script for %{name}.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: ZSH Completion for %{name}
|
||||
Supplements: (%{name} and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
Zsh completion script for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -a1 -p1
|
||||
printf "%{version}" > .tag
|
||||
|
||||
%build
|
||||
# export CFLAGS="%%optflags"
|
||||
# export CXXFLAGS="%%optflags"
|
||||
%if 0%{?suse_version} > 1500
|
||||
%{cargo_build} --no-default-features --features vendored-fonts,wayland,distro-defaults --locked
|
||||
%else
|
||||
unset LIBSSH2_SYS_USE_PKG_CONFIG
|
||||
export CARGO_FEATURE_VENDORED=1
|
||||
export RUSTFLAGS='%{rustflags}'
|
||||
cargo build --offline --release --no-default-features --features vendored-fonts,wayland,distro-defaults --locked
|
||||
%endif
|
||||
|
||||
%install
|
||||
install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/wezterm %{buildroot}%{_bindir}/wezterm
|
||||
install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/wezterm-gui %{buildroot}%{_bindir}/wezterm-gui
|
||||
install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/wezterm-mux-server %{buildroot}%{_bindir}/wezterm-mux-server
|
||||
install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/strip-ansi-escapes %{buildroot}%{_bindir}/strip-ansi-escapes
|
||||
|
||||
install -Dm 0644 assets/%{name}.desktop %{buildroot}%{_datadir}/applications/org.wezfurlong.%{name}.desktop
|
||||
install -Dm 0644 assets/icon/%{name}-icon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.wezfurlong.%{name}.svg
|
||||
install -Dm 0644 assets/%{name}.appdata.xml %{buildroot}%{_datadir}/metainfo/org.wezfurlong.%{name}.appdata.xml
|
||||
install -Dm 0644 assets/shell-integration/* -t %{buildroot}%{_distconfdir}/profile.d
|
||||
install -Dm 0644 assets/%{name}-nautilus.py %{buildroot}%{_datadir}/nautilus-python/extensions/%{name}-nautilus.py
|
||||
|
||||
# Bash completion
|
||||
install -D -m 0644 assets/shell-completion/bash %{buildroot}%{_datadir}/bash-completion/completions/wezterm
|
||||
install -D -m 0644 assets/shell-completion/bash %{buildroot}%{_datadir}/bash-completion/completions/wezterm-gui
|
||||
|
||||
# Zsh completion
|
||||
install -D -m 0644 assets/shell-completion/zsh %{buildroot}%{_datadir}/zsh/site-functions/_wezterm
|
||||
install -D -m 0644 assets/shell-completion/zsh %{buildroot}%{_datadir}/zsh/site-functions/_wezterm-gui
|
||||
|
||||
# Fish completion
|
||||
install -D -m 0644 assets/shell-completion/fish %{buildroot}%{_datadir}/fish/vendor_completions.d/wezterm.fish
|
||||
install -D -m 0644 assets/shell-completion/fish %{buildroot}%{_datadir}/fish/vendor_completions.d/wezterm-gui.fish
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%doc README.md CONTRIBUTING.md
|
||||
%{_bindir}/wezterm
|
||||
%{_bindir}/wezterm-gui
|
||||
%{_bindir}/strip-ansi-escapes
|
||||
%{_datadir}/applications/org.wezfurlong.wezterm.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/org.wezfurlong.wezterm.svg
|
||||
%{_datadir}/metainfo/org.wezfurlong.wezterm.appdata.xml
|
||||
%{_datadir}/nautilus-python/extensions/wezterm-nautilus.py
|
||||
%{_distconfdir}/profile.d/wezterm.sh
|
||||
|
||||
%files mux-server
|
||||
%license LICENSE.md
|
||||
%doc README.md CONTRIBUTING.md
|
||||
%{_bindir}/wezterm-mux-server
|
||||
|
||||
%files bash-completion
|
||||
%dir %{_datadir}/bash-completion
|
||||
%dir %{_datadir}/bash-completion/completions
|
||||
%{_datadir}/bash-completion/completions/wezterm
|
||||
%{_datadir}/bash-completion/completions/wezterm-gui
|
||||
|
||||
%files fish-completion
|
||||
%dir %{_datadir}/fish
|
||||
%dir %{_datadir}/fish/vendor_completions.d
|
||||
%{_datadir}/fish/vendor_completions.d/wezterm.fish
|
||||
%{_datadir}/fish/vendor_completions.d/wezterm-gui.fish
|
||||
|
||||
%files zsh-completion
|
||||
%dir %{_datadir}/zsh
|
||||
%dir %{_datadir}/zsh/site-functions
|
||||
%{_datadir}/zsh/site-functions/_wezterm
|
||||
%{_datadir}/zsh/site-functions/_wezterm-gui
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user