Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: zls-0.10.0
@ 2023-04-20 14:28 Bnyro
  2023-04-20 22:56 ` atweiden
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bnyro @ 2023-04-20 14:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

There is a new pull request by Bnyro against master on the void-packages repository

https://github.com/Bnyro/void-packages zls
https://github.com/void-linux/void-packages/pull/43542

New package: zls-0.10.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86-64)

closes #36892


A patch file from https://github.com/void-linux/void-packages/pull/43542.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zls-43542.patch --]
[-- Type: text/x-diff, Size: 1191 bytes --]

From c2318d347f2b9c5e2126ffe2f0209a2f6c03f802 Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Thu, 20 Apr 2023 16:27:51 +0200
Subject: [PATCH] New package: zls-0.10.0

---
 srcpkgs/zls/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/zls/template

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
new file mode 100644
index 000000000000..1adbe12af904
--- /dev/null
+++ b/srcpkgs/zls/template
@@ -0,0 +1,24 @@
+# Template file for 'zls'
+pkgname=zls
+version=0.10.0
+revision=1
+build_style=zig-build
+hostmakedepends="git"
+short_desc="Zig language server"
+maintainer="Bnyro <bnyro@tutanota.com>"
+license="MIT"
+homepage="https://github.com/zigtools/zls"
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=ad8c16721a10a55b759f0cd63243301565b948b1d48075e1fda89ccf264a2bdf
+
+pre_build() {
+	rmdir src/tracy src/known-folders
+	git init
+	git submodule update --init --recursive --remote
+	git submodule add https://github.com/ziglibs/known-folders src/known-folders
+	git submodule add https://github.com/wolfpld/tracy src/tracy
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New package: zls-0.10.0
  2023-04-20 14:28 [PR PATCH] New package: zls-0.10.0 Bnyro
@ 2023-04-20 22:56 ` atweiden
  2023-04-21  8:39 ` [PR PATCH] [Updated] " Bnyro
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: atweiden @ 2023-04-20 22:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

New comment by atweiden on void-packages repository

https://github.com/void-linux/void-packages/pull/43542#issuecomment-1517036442

Comment:
The current `pre_build()` function should be replaced with e.g.

```bash
_known_folders_gitrev="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
_tracy_gitrev="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
 https://github.com/ziglibs/known-folders/archive/refs/tags/${_known_folders_gitrev}.tar.gz
 https://github.com/wolfpld/tracy/archive/refs/tags/${_tracy_gitrev}.tar.gz"

skip_extraction="$_known_folders_gitrev.tar.gz $_tracy_gitrev.tar.gz"

post_extract() {
	bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_known_folders_gitrev.tar.gz" \
		--strip-components=1 -C "$wrksrc/src/known_folders"
	bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_tracy_gitrev.tar.gz" \
		--strip-components=1 -C "$wrksrc/src/tracy"
}
```

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] New package: zls-0.10.0
  2023-04-20 14:28 [PR PATCH] New package: zls-0.10.0 Bnyro
  2023-04-20 22:56 ` atweiden
@ 2023-04-21  8:39 ` Bnyro
  2023-04-21  8:40 ` Bnyro
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Bnyro @ 2023-04-21  8:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

There is an updated pull request by Bnyro against master on the void-packages repository

https://github.com/Bnyro/void-packages zls
https://github.com/void-linux/void-packages/pull/43542

New package: zls-0.10.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86-64)

closes #36892


A patch file from https://github.com/void-linux/void-packages/pull/43542.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zls-43542.patch --]
[-- Type: text/x-diff, Size: 1679 bytes --]

From 91deb0b02ed844f2aec0099142054a6a28346e68 Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Fri, 21 Apr 2023 10:39:08 +0200
Subject: [PATCH] New package: zls-0.10.0

---
 srcpkgs/zls/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/zls/template

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
new file mode 100644
index 000000000000..c525b3bc1cc6
--- /dev/null
+++ b/srcpkgs/zls/template
@@ -0,0 +1,29 @@
+# Template file for 'zls'
+pkgname=zls
+version=0.10.0
+revision=1
+build_style=zig-build
+short_desc="Zig language server"
+maintainer="Bnyro <bnyro@tutanota.com>"
+license="MIT"
+homepage="https://github.com/zigtools/zls"
+_known_folders_gitrev="d13ba6137084e55f873f6afb67447fe8906cc951"
+_tracy_gitrev="f493d4aa8ba8141d9680473fad007d8a6348628e"
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
+ https://github.com/ziglibs/known-folders/archive/${_known_folders_gitrev}.tar.gz
+ https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
+checksum="ad8c16721a10a55b759f0cd63243301565b948b1d48075e1fda89ccf264a2bdf
+	1fa1c5cb7da6c2ba76ae3c52602ce525ccbbf5741d1ca9c4d2687ff10333a0cf
+	84577b79a36566a777eec3cf2b596920a0c1d7b6c216d941c04ef967a727b041"
+skip_extraction="${_known_folders_gitrev}.tar.gz ${_tracy_gitrev}.tar.gz"
+
+post_extract() {
+	bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_known_folders_gitrev.tar.gz" \
+		--strip-components=1 -C "$wrksrc/src/known-folders"
+	bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_tracy_gitrev.tar.gz" \
+		--strip-components=1 -C "$wrksrc/src/tracy"
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New package: zls-0.10.0
  2023-04-20 14:28 [PR PATCH] New package: zls-0.10.0 Bnyro
  2023-04-20 22:56 ` atweiden
  2023-04-21  8:39 ` [PR PATCH] [Updated] " Bnyro
@ 2023-04-21  8:40 ` Bnyro
  2023-06-17  8:23 ` [PR PATCH] [Updated] " Bnyro
  2023-06-24 12:10 ` [PR PATCH] [Merged]: " Duncaen
  4 siblings, 0 replies; 6+ messages in thread
From: Bnyro @ 2023-04-21  8:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/43542#issuecomment-1517482995

Comment:
Good point, thank you!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] New package: zls-0.10.0
  2023-04-20 14:28 [PR PATCH] New package: zls-0.10.0 Bnyro
                   ` (2 preceding siblings ...)
  2023-04-21  8:40 ` Bnyro
@ 2023-06-17  8:23 ` Bnyro
  2023-06-24 12:10 ` [PR PATCH] [Merged]: " Duncaen
  4 siblings, 0 replies; 6+ messages in thread
From: Bnyro @ 2023-06-17  8:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

There is an updated pull request by Bnyro against master on the void-packages repository

https://github.com/Bnyro/void-packages zls
https://github.com/void-linux/void-packages/pull/43542

New package: zls-0.10.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86-64)

closes #36892


A patch file from https://github.com/void-linux/void-packages/pull/43542.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zls-43542.patch --]
[-- Type: text/x-diff, Size: 1679 bytes --]

From eb581eb894bab0643aed6e5d44f1cf6f4e70d16e Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Sat, 17 Jun 2023 10:24:03 +0200
Subject: [PATCH] New package: zls-0.10.0

---
 srcpkgs/zls/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/zls/template

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
new file mode 100644
index 000000000000..c525b3bc1cc6
--- /dev/null
+++ b/srcpkgs/zls/template
@@ -0,0 +1,29 @@
+# Template file for 'zls'
+pkgname=zls
+version=0.10.0
+revision=1
+build_style=zig-build
+short_desc="Zig language server"
+maintainer="Bnyro <bnyro@tutanota.com>"
+license="MIT"
+homepage="https://github.com/zigtools/zls"
+_known_folders_gitrev="d13ba6137084e55f873f6afb67447fe8906cc951"
+_tracy_gitrev="f493d4aa8ba8141d9680473fad007d8a6348628e"
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
+ https://github.com/ziglibs/known-folders/archive/${_known_folders_gitrev}.tar.gz
+ https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
+checksum="ad8c16721a10a55b759f0cd63243301565b948b1d48075e1fda89ccf264a2bdf
+	1fa1c5cb7da6c2ba76ae3c52602ce525ccbbf5741d1ca9c4d2687ff10333a0cf
+	84577b79a36566a777eec3cf2b596920a0c1d7b6c216d941c04ef967a727b041"
+skip_extraction="${_known_folders_gitrev}.tar.gz ${_tracy_gitrev}.tar.gz"
+
+post_extract() {
+	bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_known_folders_gitrev.tar.gz" \
+		--strip-components=1 -C "$wrksrc/src/known-folders"
+	bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_tracy_gitrev.tar.gz" \
+		--strip-components=1 -C "$wrksrc/src/tracy"
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Merged]: New package: zls-0.10.0
  2023-04-20 14:28 [PR PATCH] New package: zls-0.10.0 Bnyro
                   ` (3 preceding siblings ...)
  2023-06-17  8:23 ` [PR PATCH] [Updated] " Bnyro
@ 2023-06-24 12:10 ` Duncaen
  4 siblings, 0 replies; 6+ messages in thread
From: Duncaen @ 2023-06-24 12:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

There's a merged pull request on the void-packages repository

New package: zls-0.10.0
https://github.com/void-linux/void-packages/pull/43542

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86-64)

closes #36892


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-24 12:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 14:28 [PR PATCH] New package: zls-0.10.0 Bnyro
2023-04-20 22:56 ` atweiden
2023-04-21  8:39 ` [PR PATCH] [Updated] " Bnyro
2023-04-21  8:40 ` Bnyro
2023-06-17  8:23 ` [PR PATCH] [Updated] " Bnyro
2023-06-24 12:10 ` [PR PATCH] [Merged]: " Duncaen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).