Accepting request 1110146 from utilities

- Add session-manager and fixture-tests plugins.
- Update to version 0.38.1:
  * refactor(server): remove unnecessary mut
  * fix(status-bar): add break tab hints
  * fix(reconnect): glitches on windows terminal
  * fix(grid): memory leak with unfocused tabs
  * fix(input): enforce ordering of actions after opening a new pane
- Remove zellij-fix-theme-dir.patch

OBS-URL: https://build.opensuse.org/request/show/1110146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zellij?expand=0&rev=15
This commit is contained in:
Ana Guerrero 2023-09-11 19:21:36 +00:00 committed by Git OBS Bridge
commit 05851e2b4e
8 changed files with 34 additions and 33 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="download_files" mode="manual" />
<service name="cargo_vendor" mode="manual">
<param name="srctar">zellij-0.37.2.tar.gz</param>
<param name="srctar">zellij-0.38.1.tar.gz</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1bb0d2aa2232e6df1795d5ed3ee5092774e22aae9321ebfd9437fdbf7090928c
size 55266505
oid sha256:865912a6c0b34de6438d14d2537338438a1896ae83a7cb002e21a033f39385e3
size 44579181

View File

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

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

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

View File

@ -1,24 +0,0 @@
Index: zellij-0.35.1/zellij-utils/src/setup.rs
===================================================================
--- zellij-0.35.1.orig/zellij-utils/src/setup.rs 2023-03-13 07:49:12.945032655 +0100
+++ zellij-0.35.1/zellij-utils/src/setup.rs 2023-03-13 15:15:59.796892796 +0100
@@ -85,8 +85,18 @@ pub fn get_layout_dir(config_dir: Option
}
pub fn get_theme_dir(config_dir: Option<PathBuf>) -> Option<PathBuf> {
- config_dir.map(|dir| dir.join("themes"))
+ const THEME_DIR: &str = "themes";
+
+ [
+ config_dir,
+ Some(get_default_data_dir())
+ ]
+ .into_iter()
+ .filter(|p| p.is_some())
+ .find(|dir| dir.clone().unwrap().join(THEME_DIR).exists())
+ .map(|dir| dir.clone().unwrap().join(THEME_DIR))
}
+
pub fn dump_asset(asset: &[u8]) -> std::io::Result<()> {
std::io::stdout().write_all(asset)?;
Ok(())

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sat Sep 9 13:59:14 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Add session-manager and fixture-tests plugins.
-------------------------------------------------------------------
Sat Sep 9 13:21:11 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 0.38.1:
* refactor(server): remove unnecessary mut
* fix(status-bar): add break tab hints
* fix(reconnect): glitches on windows terminal
* fix(grid): memory leak with unfocused tabs
* fix(input): enforce ordering of actions after opening a new pane
-------------------------------------------------------------------
Sat Sep 9 13:15:26 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Remove zellij-fix-theme-dir.patch
-------------------------------------------------------------------
Sun Aug 13 13:26:55 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@ -22,7 +22,7 @@
%bcond_with test
Name: zellij
Version: 0.37.2
Version: 0.38.1
Release: 0
Summary: Terminal workspace with batteries included
License: MIT
@ -31,7 +31,6 @@ Source0: https://github.com/zellij-org/zellij/archive/refs/tags/v%{versio
Source1: vendor.tar.zst
Source2: cargo_config
Source3: README.suse-maint.md
Patch0: zellij-fix-theme-dir.patch
BuildRequires: cargo-packaging
BuildRequires: rust+cargo
BuildRequires: zstd
@ -104,6 +103,12 @@ popd
pushd default-plugins/strider
cargo --offline build --release --target=wasm32-wasi
popd
pushd default-plugins/session-manager
cargo --offline build --release --target=wasm32-wasi
popd
pushd default-plugins/fixture-plugin-for-tests
cargo --offline build --release --target=wasm32-wasi
popd
# Move the results to the place they are expected
mv -v target/wasm32-wasi/release/*.wasm zellij-utils/assets/plugins/