Soc Virnyl Estela 2022-12-16 15:51:43 +00:00 committed by Git OBS Bridge
parent b45d140fdb
commit 96351b1909
2 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 16 15:49:36 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Separate the multiplexer server from wezterm-gui:
Reason -> https://github.com/wez/wezterm/blob/main/README-DISTRO-MAINTAINER.md#binaries
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 16 13:17:45 UTC 2022 - socvirnyl.estela@gmail.com Fri Dec 16 13:17:45 UTC 2022 - socvirnyl.estela@gmail.com

View File

@ -57,12 +57,19 @@ BuildRequires: pkgconfig(libssh2)
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(tic) BuildRequires: pkgconfig(tic)
BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb)
Recommends: %{name}-mux-server
%description %description
Wezterm is a GPU-accelerated terminal emulator written in Rust. It supports Wezterm is a GPU-accelerated terminal emulator written in Rust. It supports
ligatures, font fallback and true color. It features dynamic color schemes, hyperlinks, ligatures, font fallback and true color. It features dynamic color schemes, hyperlinks,
and multiplex terminal panes. and multiplex terminal panes.
%package mux-server
Summary: Multiplexer server for %{name}
%description mux-server
Multiplexer server for wezterm for running on a headless system.
%prep %prep
%autosetup -a1 %autosetup -a1
mkdir -p .cargo mkdir -p .cargo
@ -75,7 +82,7 @@ tic -vvv -x -o terminfo termwiz/data/%{name}.terminfo
%else %else
export CARGO_FEATURE_VENDORED=1 export CARGO_FEATURE_VENDORED=1
export RUSTFLAGS='%{rustflags}' export RUSTFLAGS='%{rustflags}'
cargo build --offline --release --all-features -j$(nproc) cargo build --offline --release --all-features
%endif %endif
%install %install
@ -108,7 +115,6 @@ install -D -m 0644 assets/shell-completion/fish %{buildroot}%{_datadir}/fish/ven
%doc README.md CONTRIBUTING.md %doc README.md CONTRIBUTING.md
%{_bindir}/wezterm %{_bindir}/wezterm
%{_bindir}/wezterm-gui %{_bindir}/wezterm-gui
%{_bindir}/wezterm-mux-server
%{_bindir}/strip-ansi-escapes %{_bindir}/strip-ansi-escapes
%{_datadir}/terminfo/w/wezterm %{_datadir}/terminfo/w/wezterm
%{_datadir}/applications/org.wezfurlong.wezterm.desktop %{_datadir}/applications/org.wezfurlong.wezterm.desktop
@ -127,7 +133,15 @@ install -D -m 0644 assets/shell-completion/fish %{buildroot}%{_datadir}/fish/ven
%dir %{_datadir}/fish/vendor_completions.d %dir %{_datadir}/fish/vendor_completions.d
%{_datadir}/fish/vendor_completions.d/wezterm.fish %{_datadir}/fish/vendor_completions.d/wezterm.fish
%{_datadir}/fish/vendor_completions.d/wezterm-gui.fish %{_datadir}/fish/vendor_completions.d/wezterm-gui.fish
%config %{_sysconfdir}/profile.d/wezterm.sh
%files mux-server
%license LICENSE.md
%doc README.md CONTRIBUTING.md
%{_bindir}/wezterm-mux-server
%{_bindir}/wezterm
%{_bindir}/strip-ansi-escapes
%{_datadir}/terminfo/w/wezterm
%config %{_sysconfdir}/profile.d/wezterm.sh %config %{_sysconfdir}/profile.d/wezterm.sh
%changelog %changelog