Accepting request 992545 from utilities

OBS-URL: https://build.opensuse.org/request/show/992545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zellij?expand=0&rev=2
This commit is contained in:
2022-08-03 19:16:48 +00:00
committed by Git OBS Bridge
8 changed files with 109 additions and 14 deletions

11
README.suse-maint.md Normal file
View File

@@ -0,0 +1,11 @@
1. Install `rpmdevtools`
2. If updating a version, modify the Version string.
3. Run `rpmdev-spectool -g zellij.spec` and remove the previous version tar ball.
4. Add the new tarball and extract it
5. Move the extracted `zellij-<new-version>` as `zellij`.
6. Run `osc service disabledrun`
Then add version changes with `osc vc` and then `osc ci`

8
_constraints Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<constraints>
<hardware>
<physicalmemory>
<size unit="G">8</size>
</physicalmemory>
</hardware>
</constraints>

11
_service Normal file
View File

@@ -0,0 +1,11 @@
<services>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">zellij</param>
<param name="compression">gz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">zellij</param>
</service>
</services>

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ee9ecf189aa607f125558cdafbf5b06fbb90fceaf4d42a81d1d2092e1dd0646
size 35237471
oid sha256:3d754e623049b6d3fbd945d1ef10be1ec6f265f43b8ae785e532f52ff1397ab8
size 35393034

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52253271dd954e2705571a9bf2b2f7873fe47e0e5b7a2e85aac1b1c73152914c
size 8599163

3
zellij-0.31.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d17153511887606f3733df151f5ed461f380e9538336f79f8785bc5b76a68ab
size 9316715

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Mon Aug 1 07:38:35 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add _constraints to avoid OOM
-------------------------------------------------------------------
Fri Jul 29 12:35:43 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Bump version to 0.31.0:
* feat: Log errors causing "empty message received from client" (https://github.com/zellij-org/zellij/pull/1459)
* chore(dependencies): update `crossbeam` `0.8.0` -> `0.8.1` (https://github.com/zellij-org/zellij/pull/1463)
* add(option): `default-layout` setting for changing the default layout upon start, example: `default_layout: compact` (https://github.com/zellij-org/zellij/pull/1467)
* fix: many typos (https://github.com/zellij-org/zellij/pull/1481)
* add: checksum for release binary (https://github.com/zellij-org/zellij/pull/1482)
* fix: update cli tooltips (https://github.com/zellij-org/zellij/pull/1488)
* refactor: deduplicate code in `screen.rs` (https://github.com/zellij-org/zellij/pull/1453)
* chore(dependencies): update `clap`: `3.1.18` -> `3.2.2` (https://github.com/zellij-org/zellij/pull/1496)
* fix: send `WriteChars:` once per action (https://github.com/zellij-org/zellij/pull/1516)
* feat: allow swapping tabs, in a fullscreen pane (https://github.com/zellij-org/zellij/pull/1515)
* feat: add action of undo renmae (https://github.com/zellij-org/zellij/pull/1513)
* fix(docs): fix macport installation instructions (https://github.com/zellij-org/zellij/pull/1529)
* feat: allow hex colors for themes (https://github.com/zellij-org/zellij/pull/1536)
* fix: client hang when server is killed / shutdown delay (https://github.com/zellij-org/zellij/pull/1535)
* fix: properly handle in-place editor in full-screen (https://github.com/zellij-org/zellij/pull/1544)
* Terminal compatibility: properly trim whitespace in lines with wide-characters when resizing panes (https://github.com/zellij-org/zellij/pull/1545)
* fix: reset scroll properly when typing in certain edge cases (https://github.com/zellij-org/zellij/pull/1547)
* fix: logging may fill up /tmp, now logs are capped at 100 kB (https://github.com/zellij-org/zellij/pull/1548)
* fix: crash when terminal rows or columns are 0 (https://github.com/zellij-org/zellij/pull/1552)
* refactor: moved shared data structures to zellij-utils (https://github.com/zellij-org/zellij/pull/1541)
* feat: support displaying images/video in the terminal with sixel graphics (https://github.com/zellij-org/zellij/pull/1557)
* fix: add usage comment to fish `auto-start` script (https://github.com/zellij-org/zellij/pull/1583)
* fix: refactor match session name (https://github.com/zellij-org/zellij/pull/1582)
* fix: print "Session detached" rather than "Bye from Zellij!" when detaching from a session (https://github.com/zellij-org/zellij/pull/1573#issuecomment-1181562138)
* performance: improve terminal responsiveness (https://github.com/zellij-org/zellij/pull/1585 and https://github.com/zellij-org/zellij/pull/1610)
* Terminal compatibility: persist cursor show/hide across alternate screen (https://github.com/zellij-org/zellij/pull/1586)
* fix: support multi-argument EDITOR/VISUAL/scrollback-editor commands (https://github.com/zellij-org/zellij/pull/1587)
* fix: avoid sending mouse click events on pane frames to applications (https://github.com/zellij-org/zellij/pull/1584)
* feat: search through terminal scrollback (https://github.com/zellij-org/zellij/pull/1521)
* feat: support themes directory (https://github.com/zellij-org/zellij/pull/1577)
* feat: Improve logging by writing server panics into the logfile (https://github.com/zellij-org/zellij/pull/1602)
* fix: reflect configured keybindings in the status bar (https://github.com/zellij-org/zellij/pull/1242)
* add: capability to dispatch actions from the cli (https://github.com/zellij-org/zellij/pull/1265)
- add README.suse-maint.md
-------------------------------------------------------------------
Fri Jul 22 08:03:02 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@@ -15,16 +15,19 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_with test
Name: zellij
Version: 0.30.0
Version: 0.31.0
Release: 0
Summary: Terminal workspace with batteries included
Summary: Terminal workspace with batteries included
License: MIT
URL: https://github.com/zellij-org/zellij
Source0: https://github.com/zellij-org/zellij/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Source2: cargo_config
Source3: README.suse-maint.md
BuildRequires: rust+cargo >= 1.62
BuildRequires: cargo-packaging
ExclusiveArch: %{rust_tier1_arches}
%if %{with test}
@@ -32,27 +35,44 @@ BuildRequires: pkgconfig(openssl)
%endif
%description
Zellij is a workspace aimed at developers, ops-oriented people and anyone who loves the terminal.
At its core, it is a terminal multiplexer (similar to tmux and screen), but this is merely its
Zellij is a workspace aimed at developers, ops-oriented people and anyone who loves the terminal.
At its core, it is a terminal multiplexer (similar to tmux and screen), but this is merely its
infrastructure layer.
Zellij includes a layout system, and a plugin system allowing one to create plugins in any
Zellij includes a layout system, and a plugin system allowing one to create plugins in any
language that compiles to WebAssembly.
%prep
%autosetup -a1
mkdir .cargo
mkdir -p .cargo
cp %{SOURCE2} .cargo/config
# Remove prebuilt binaries
rm assets/plugins/*
%build
%{cargo_build}
# First rebuilt plugins we just deleted
# Note: RUSTFLAGS break linking with WASM-files, so we don't use the cargo_build-macro here
pushd default-plugins/status-bar
cargo --offline build --release --target=wasm32-wasi
popd
pushd default-plugins/tab-bar
cargo --offline build --release --target=wasm32-wasi
popd
pushd default-plugins/strider
cargo --offline build --release --target=wasm32-wasi
popd
# Move the results to the place they are expected
mv target/wasm32-wasi/release/*.wasm assets/plugins/
# Build zellij proper
%{cargo_build} --all-features
%install
%{cargo_install}
%{cargo_install} --all-features
%if %{with test}
%check
%{cargo_test}
%{cargo_test} --all-features
%endif
%files