[arch-commits] Commit in helix/repos/community-x86_64 (7 files)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Mon Aug 16 21:00:34 UTC 2021
Date: Monday, August 16, 2021 @ 21:00:34
Author: orhun
Revision: 1001084
archrelease: copy trunk to community-x86_64
Added:
helix/repos/community-x86_64/PKGBUILD
(from rev 1001083, helix/trunk/PKGBUILD)
helix/repos/community-x86_64/helix-full-relro.patch
(from rev 1001083, helix/trunk/helix-full-relro.patch)
helix/repos/community-x86_64/helix.install
(from rev 1001083, helix/trunk/helix.install)
helix/repos/community-x86_64/helix.sh
(from rev 1001083, helix/trunk/helix.sh)
Deleted:
helix/repos/community-x86_64/PKGBUILD
helix/repos/community-x86_64/helix.install
helix/repos/community-x86_64/helix.sh
------------------------+
PKGBUILD | 245 +++++++++++++++++++++++------------------------
helix-full-relro.patch | 10 +
helix.install | 6 -
helix.sh | 6 -
4 files changed, 140 insertions(+), 127 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-16 21:00:20 UTC (rev 1001083)
+++ PKGBUILD 2021-08-16 21:00:34 UTC (rev 1001084)
@@ -1,121 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Wojciech Kępka (wojciech at wkepka.dev)
-
-pkgname=helix
-pkgver=0.3.0
-_gitcommit=44566ea812eed023c89ab49b59f62e76ef2bd6c7
-pkgrel=4
-pkgdesc="A post-modern modal text editor"
-arch=('x86_64')
-url="https://helix-editor.com"
-license=('MPL2')
-depends=('bash')
-makedepends=('rust' 'git')
-install="$pkgname.install"
-source=("${pkgname}::git+https://github.com/helix-editor/helix.git#commit=${_gitcommit}"
- "${pkgname}-tree-sitter-julia::git+https://github.com/tree-sitter/tree-sitter-julia"
- "${pkgname}-tree-sitter-cpp::git+https://github.com/tree-sitter/tree-sitter-cpp"
- "${pkgname}-tree-sitter-python::git+https://github.com/tree-sitter/tree-sitter-python"
- "${pkgname}-tree-sitter-javascript::git+https://github.com/tree-sitter/tree-sitter-javascript"
- "${pkgname}-tree-sitter-html::git+https://github.com/tree-sitter/tree-sitter-html"
- "${pkgname}-tree-sitter-php::git+https://github.com/tree-sitter/tree-sitter-php"
- "${pkgname}-tree-sitter-bash::git+https://github.com/tree-sitter/tree-sitter-bash"
- "${pkgname}-tree-sitter-scala::git+https://github.com/tree-sitter/tree-sitter-scala"
- "${pkgname}-tree-sitter-typescript::git+https://github.com/tree-sitter/tree-sitter-typescript"
- "${pkgname}-tree-sitter-rust::git+https://github.com/tree-sitter/tree-sitter-rust"
- "${pkgname}-tree-sitter-json::git+https://github.com/tree-sitter/tree-sitter-json"
- "${pkgname}-tree-sitter-elixir::git+https://github.com/IceDragon200/tree-sitter-elixir"
- "${pkgname}-tree-sitter-nix::git+https://github.com/cstrahan/tree-sitter-nix"
- "${pkgname}-tree-sitter-c-sharp::git+https://github.com/tree-sitter/tree-sitter-c-sharp"
- "${pkgname}-tree-sitter-ruby::git+https://github.com/tree-sitter/tree-sitter-ruby"
- "${pkgname}-tree-sitter-java::git+https://github.com/tree-sitter/tree-sitter-java"
- "${pkgname}-tree-sitter-agda::git+https://github.com/tree-sitter/tree-sitter-agda"
- "${pkgname}-tree-sitter-css::git+https://github.com/tree-sitter/tree-sitter-css"
- "${pkgname}-tree-sitter-go::git+https://github.com/tree-sitter/tree-sitter-go"
- "${pkgname}-tree-sitter-haskell::git+https://github.com/tree-sitter/tree-sitter-haskell"
- "${pkgname}-tree-sitter-latex::git+https://github.com/latex-lsp/tree-sitter-latex"
- "${pkgname}-tree-sitter-toml::git+https://github.com/ikatyang/tree-sitter-toml"
- "${pkgname}-tree-sitter-swift::git+https://github.com/tree-sitter/tree-sitter-swift"
- "${pkgname}-tree-sitter-c::git+https://github.com/tree-sitter/tree-sitter-c"
- "$pkgname.sh"
-)
-sha256sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'f782c93bc0f2c7b27ec62fb2ba36e11b3354c3953405f8d2017b039c9eac500a')
-
-prepare() {
- cd "$pkgname"
- git submodule init
-
- git config submodule."helix-syntax/languages/tree-sitter-cpp".url "${srcdir}/${pkgname}"-tree-sitter-cpp
- git config submodule."helix-syntax/languages/tree-sitter-javascript".url "${srcdir}/${pkgname}"-tree-sitter-javascript
- git config submodule."helix-syntax/languages/tree-sitter-julia".url "${srcdir}/${pkgname}"-tree-sitter-julia
- git config submodule."helix-syntax/languages/tree-sitter-python".url "${srcdir}/${pkgname}"-tree-sitter-python
- git config submodule."helix-syntax/languages/tree-sitter-typescript".url "${srcdir}/${pkgname}"-tree-sitter-typescript
- git config submodule."helix-syntax/languages/tree-sitter-agda".url "${srcdir}/${pkgname}"-tree-sitter-agda
- git config submodule."helix-syntax/languages/tree-sitter-go".url "${srcdir}/${pkgname}"-tree-sitter-go
- git config submodule."helix-syntax/languages/tree-sitter-ruby".url "${srcdir}/${pkgname}"-tree-sitter-ruby
- git config submodule."helix-syntax/languages/tree-sitter-java".url "${srcdir}/${pkgname}"-tree-sitter-java
- git config submodule."helix-syntax/languages/tree-sitter-php".url "${srcdir}/${pkgname}"-tree-sitter-php
- git config submodule."helix-syntax/languages/tree-sitter-html".url "${srcdir}/${pkgname}"-tree-sitter-html
- git config submodule."helix-syntax/languages/tree-sitter-scala".url "${srcdir}/${pkgname}"-tree-sitter-scala
- git config submodule."helix-syntax/languages/tree-sitter-bash".url "${srcdir}/${pkgname}"-tree-sitter-bash
- git config submodule."helix-syntax/languages/tree-sitter-rust".url "${srcdir}/${pkgname}"-tree-sitter-rust
- git config submodule."helix-syntax/languages/tree-sitter-json".url "${srcdir}/${pkgname}"-tree-sitter-json
- git config submodule."helix-syntax/languages/tree-sitter-css".url "${srcdir}/${pkgname}"-tree-sitter-css
- git config submodule."helix-syntax/languages/tree-sitter-c-sharp".url "${srcdir}/${pkgname}"-tree-sitter-c-sharp
- git config submodule."helix-syntax/languages/tree-sitter-c".url "${srcdir}/${pkgname}"-tree-sitter-c
- git config submodule."helix-syntax/languages/tree-sitter-haskell".url "${srcdir}/${pkgname}"-tree-sitter-haskell
- git config submodule."helix-syntax/languages/tree-sitter-swift".url "${srcdir}/${pkgname}"-tree-sitter-swift
- git config submodule."helix-syntax/languages/tree-sitter-toml".url "${srcdir}/${pkgname}"-tree-sitter-toml
- git config submodule."helix-syntax/languages/tree-sitter-elixir".url "${srcdir}/${pkgname}"-tree-sitter-elixir
- git config submodule."helix-syntax/languages/tree-sitter-nix".url "${srcdir}/${pkgname}"-tree-sitter-nix
- git config submodule."helix-syntax/languages/tree-sitter-latex".url "${srcdir}/${pkgname}"-tree-sitter-latex
-
- git submodule update --init --recursive
- cargo fetch --locked
-}
-
-build() {
- cd "$pkgname"
- cargo build --frozen --release
-}
-
-check() {
- cd "$pkgname"
- cargo test --frozen --all-features
-}
-
-package() {
- cd "$pkgname"
- install -Dm 755 "../$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
- install -Dm 755 "target/release/hx" "$pkgdir/usr/lib/$pkgname/hx"
- mkdir -p "$pkgdir/usr/lib/helix/"
- cp -r "runtime" "$pkgdir/usr/lib/helix/"
- install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-}
-
-# vim: ts=2 sw=2 et:
Copied: helix/repos/community-x86_64/PKGBUILD (from rev 1001083, helix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-16 21:00:34 UTC (rev 1001084)
@@ -0,0 +1,124 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Wojciech Kępka (wojciech at wkepka.dev)
+
+pkgname=helix
+pkgver=0.4.1
+_gitcommit=1caedc18ca47d07b30a5997c092f2683cce3042e
+pkgrel=1
+pkgdesc="A post-modern modal text editor"
+arch=('x86_64')
+url="https://helix-editor.com"
+license=('MPL2')
+depends=('bash')
+makedepends=('rust' 'git')
+install="$pkgname.install"
+source=("${pkgname}::git+https://github.com/helix-editor/helix.git#commit=${_gitcommit}"
+ "${pkgname}-tree-sitter-julia::git+https://github.com/tree-sitter/tree-sitter-julia"
+ "${pkgname}-tree-sitter-cpp::git+https://github.com/tree-sitter/tree-sitter-cpp"
+ "${pkgname}-tree-sitter-python::git+https://github.com/tree-sitter/tree-sitter-python"
+ "${pkgname}-tree-sitter-javascript::git+https://github.com/tree-sitter/tree-sitter-javascript"
+ "${pkgname}-tree-sitter-html::git+https://github.com/tree-sitter/tree-sitter-html"
+ "${pkgname}-tree-sitter-php::git+https://github.com/tree-sitter/tree-sitter-php"
+ "${pkgname}-tree-sitter-bash::git+https://github.com/tree-sitter/tree-sitter-bash"
+ "${pkgname}-tree-sitter-scala::git+https://github.com/tree-sitter/tree-sitter-scala"
+ "${pkgname}-tree-sitter-typescript::git+https://github.com/tree-sitter/tree-sitter-typescript"
+ "${pkgname}-tree-sitter-rust::git+https://github.com/tree-sitter/tree-sitter-rust"
+ "${pkgname}-tree-sitter-json::git+https://github.com/tree-sitter/tree-sitter-json"
+ "${pkgname}-tree-sitter-elixir::git+https://github.com/IceDragon200/tree-sitter-elixir"
+ "${pkgname}-tree-sitter-nix::git+https://github.com/cstrahan/tree-sitter-nix"
+ "${pkgname}-tree-sitter-c-sharp::git+https://github.com/tree-sitter/tree-sitter-c-sharp"
+ "${pkgname}-tree-sitter-ruby::git+https://github.com/tree-sitter/tree-sitter-ruby"
+ "${pkgname}-tree-sitter-java::git+https://github.com/tree-sitter/tree-sitter-java"
+ "${pkgname}-tree-sitter-agda::git+https://github.com/tree-sitter/tree-sitter-agda"
+ "${pkgname}-tree-sitter-css::git+https://github.com/tree-sitter/tree-sitter-css"
+ "${pkgname}-tree-sitter-go::git+https://github.com/tree-sitter/tree-sitter-go"
+ "${pkgname}-tree-sitter-haskell::git+https://github.com/tree-sitter/tree-sitter-haskell"
+ "${pkgname}-tree-sitter-latex::git+https://github.com/latex-lsp/tree-sitter-latex"
+ "${pkgname}-tree-sitter-toml::git+https://github.com/ikatyang/tree-sitter-toml"
+ "${pkgname}-tree-sitter-swift::git+https://github.com/tree-sitter/tree-sitter-swift"
+ "${pkgname}-tree-sitter-c::git+https://github.com/tree-sitter/tree-sitter-c"
+ "$pkgname.sh"
+ "$pkgname-full-relro.patch"
+)
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'f782c93bc0f2c7b27ec62fb2ba36e11b3354c3953405f8d2017b039c9eac500a'
+ '34014564164fec6a8ffaa1c9ff2436eb74662224ea4920ca165e9fe500b51554')
+
+prepare() {
+ cd "$pkgname"
+ patch -p0 -i "../$pkgname-full-relro.patch"
+
+ git submodule init
+ git config submodule."helix-syntax/languages/tree-sitter-cpp".url "${srcdir}/${pkgname}"-tree-sitter-cpp
+ git config submodule."helix-syntax/languages/tree-sitter-javascript".url "${srcdir}/${pkgname}"-tree-sitter-javascript
+ git config submodule."helix-syntax/languages/tree-sitter-julia".url "${srcdir}/${pkgname}"-tree-sitter-julia
+ git config submodule."helix-syntax/languages/tree-sitter-python".url "${srcdir}/${pkgname}"-tree-sitter-python
+ git config submodule."helix-syntax/languages/tree-sitter-typescript".url "${srcdir}/${pkgname}"-tree-sitter-typescript
+ git config submodule."helix-syntax/languages/tree-sitter-agda".url "${srcdir}/${pkgname}"-tree-sitter-agda
+ git config submodule."helix-syntax/languages/tree-sitter-go".url "${srcdir}/${pkgname}"-tree-sitter-go
+ git config submodule."helix-syntax/languages/tree-sitter-ruby".url "${srcdir}/${pkgname}"-tree-sitter-ruby
+ git config submodule."helix-syntax/languages/tree-sitter-java".url "${srcdir}/${pkgname}"-tree-sitter-java
+ git config submodule."helix-syntax/languages/tree-sitter-php".url "${srcdir}/${pkgname}"-tree-sitter-php
+ git config submodule."helix-syntax/languages/tree-sitter-html".url "${srcdir}/${pkgname}"-tree-sitter-html
+ git config submodule."helix-syntax/languages/tree-sitter-scala".url "${srcdir}/${pkgname}"-tree-sitter-scala
+ git config submodule."helix-syntax/languages/tree-sitter-bash".url "${srcdir}/${pkgname}"-tree-sitter-bash
+ git config submodule."helix-syntax/languages/tree-sitter-rust".url "${srcdir}/${pkgname}"-tree-sitter-rust
+ git config submodule."helix-syntax/languages/tree-sitter-json".url "${srcdir}/${pkgname}"-tree-sitter-json
+ git config submodule."helix-syntax/languages/tree-sitter-css".url "${srcdir}/${pkgname}"-tree-sitter-css
+ git config submodule."helix-syntax/languages/tree-sitter-c-sharp".url "${srcdir}/${pkgname}"-tree-sitter-c-sharp
+ git config submodule."helix-syntax/languages/tree-sitter-c".url "${srcdir}/${pkgname}"-tree-sitter-c
+ git config submodule."helix-syntax/languages/tree-sitter-haskell".url "${srcdir}/${pkgname}"-tree-sitter-haskell
+ git config submodule."helix-syntax/languages/tree-sitter-swift".url "${srcdir}/${pkgname}"-tree-sitter-swift
+ git config submodule."helix-syntax/languages/tree-sitter-toml".url "${srcdir}/${pkgname}"-tree-sitter-toml
+ git config submodule."helix-syntax/languages/tree-sitter-elixir".url "${srcdir}/${pkgname}"-tree-sitter-elixir
+ git config submodule."helix-syntax/languages/tree-sitter-nix".url "${srcdir}/${pkgname}"-tree-sitter-nix
+ git config submodule."helix-syntax/languages/tree-sitter-latex".url "${srcdir}/${pkgname}"-tree-sitter-latex
+
+ git submodule update --init --recursive
+ cargo fetch --locked
+}
+
+build() {
+ cd "$pkgname"
+ cargo build --frozen --release
+}
+
+check() {
+ cd "$pkgname"
+ cargo test --frozen --all-features
+}
+
+package() {
+ cd "$pkgname"
+ install -Dm 755 "../$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ install -Dm 755 "target/release/hx" "$pkgdir/usr/lib/$pkgname/hx"
+ mkdir -p "$pkgdir/usr/lib/helix/"
+ cp -r "runtime" "$pkgdir/usr/lib/helix/"
+ install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:
Copied: helix/repos/community-x86_64/helix-full-relro.patch (from rev 1001083, helix/trunk/helix-full-relro.patch)
===================================================================
--- helix-full-relro.patch (rev 0)
+++ helix-full-relro.patch 2021-08-16 21:00:34 UTC (rev 1001084)
@@ -0,0 +1,10 @@
+--- helix-syntax/build.rs 2021-08-16 23:27:58.754526393 +0300
++++ helix-syntax/build.rs 2021-08-16 23:28:52.307814345 +0300
+@@ -105,6 +105,7 @@
+ }
+ }
+ command.arg("-xc").arg(parser_path);
++ command.arg("-Wl,-z,relro,-z,now");
+ }
+
+ let output = command
Deleted: helix.install
===================================================================
--- helix.install 2021-08-16 21:00:20 UTC (rev 1001083)
+++ helix.install 2021-08-16 21:00:34 UTC (rev 1001084)
@@ -1,3 +0,0 @@
-post_upgrade() {
- echo "The launcher binary is renamed as 'helix', alias hx='helix' if you were using 'hx'"
-}
Copied: helix/repos/community-x86_64/helix.install (from rev 1001083, helix/trunk/helix.install)
===================================================================
--- helix.install (rev 0)
+++ helix.install 2021-08-16 21:00:34 UTC (rev 1001084)
@@ -0,0 +1,3 @@
+post_upgrade() {
+ echo "The launcher binary is renamed as 'helix', alias hx='helix' if you were using 'hx'"
+}
Deleted: helix.sh
===================================================================
--- helix.sh 2021-08-16 21:00:20 UTC (rev 1001083)
+++ helix.sh 2021-08-16 21:00:34 UTC (rev 1001084)
@@ -1,3 +0,0 @@
-#!/usr/bin/env sh
-
-HELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@"
Copied: helix/repos/community-x86_64/helix.sh (from rev 1001083, helix/trunk/helix.sh)
===================================================================
--- helix.sh (rev 0)
+++ helix.sh 2021-08-16 21:00:34 UTC (rev 1001084)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+HELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@"
More information about the arch-commits
mailing list