diff --git a/_service b/_service index 5938074..e619fd5 100644 --- a/_service +++ b/_service @@ -1,18 +1,7 @@ - - true - https - github.com - helix-editor/helix/releases/download/22.05/helix-22.05-source.tar.xz - - - - *.tar - xz - helix - xz + gz true diff --git a/helix-22.05.tar.gz b/helix-22.05.tar.gz new file mode 100644 index 0000000..053a2e2 --- /dev/null +++ b/helix-22.05.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96603cf5504bbd7ebeee1867d65356cccaa2877f697da50c0ad3789a3eb287e4 +size 1734836 diff --git a/helix-22.05.tar.xz b/helix-22.05.tar.xz deleted file mode 100644 index 19822f2..0000000 --- a/helix-22.05.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a68b8576e0cf0757a3debbc6cf7e2691585b8027ecec623acbb7853177d948da -size 66646816 diff --git a/helix.changes b/helix.changes index 027065c..bb0a4ba 100644 --- a/helix.changes +++ b/helix.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Aug 28 13:21:54 UTC 2022 - Soc Virnyl Estela + +- Separate runtime files. They make this whole package too huge. +- Update service file +- Update of vendored dependencies + ------------------------------------------------------------------- Mon Jun 20 03:28:41 UTC 2022 - William Brown diff --git a/helix.spec b/helix.spec index 0e19fd3..8a89518 100644 --- a/helix.spec +++ b/helix.spec @@ -24,13 +24,14 @@ Release: 0 Summary: A post-modern modal text editor written in Rust License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT or Unlicense) AND (Zlib OR Apache-2.0 OR MIT) AND Apache-2.0 AND BSL-1.0 AND ISC AND MIT AND MPL-2.0+ AND Zlib AND MPL-2.0 URL: https://github.com/helix-editor/helix -Source0: %{name}-%{version}.tar.xz -Source1: vendor.tar.xz +Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: vendor.tar.gz Source2: cargo_config Source3: helix-rpmlintrc BuildRequires: c++_compiler BuildRequires: c_compiler BuildRequires: cargo-packaging +Suggests: %{name}-runtime ExclusiveArch: %{rust_arches} %description @@ -42,6 +43,16 @@ has treesitter support for syntax highlighting and improved navigation mkdir -p .cargo cp %{SOURCE2} .cargo/config +%package runtime +Summary: Runtime files for %{name} +Suggests: %{name} + +%description runtime +Helix runtime files. Separated due to how huge the runtime files are. +The runtime contains tree-sitter and grammars that makes run helix normally +if there is no runtime present in the users config directory specifically +`XDG_CONFIG_HOME/helix`. + %build export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=true %{cargo_build} @@ -64,15 +75,14 @@ ln -sv %{_libdir}/%{name}/hx %{buildroot}%{_bindir}/%{name} %files %license LICENSE %doc README.md CHANGELOG.md languages.toml docs/CONTRIBUTING.md docs/architecture.md docs/vision.md - +%dir %{_libdir}/%{name} # hx symlinked as helix %{_bindir}/%{name} - # The real hx binary %{_libdir}/%{name}/hx +%files runtime # Runtimes and runtime files -%dir %{_libdir}/%{name} %dir %{_sharedstatedir}/%{name} %dir %{_helix_runtimedir} %dir %{_helix_runtimedir}/queries diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..a7a322e --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85f229e1177d40df2f7d6be7f06a36d0342b3a306d7907ec267ccd1007977bc9 +size 23456536 diff --git a/vendor.tar.xz b/vendor.tar.xz deleted file mode 100644 index e162cf5..0000000 --- a/vendor.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35200e80fcba5b3a81421dbbb7d58135bff91013f52fdfdab2764ca82698c7cc -size 14422572