Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: clj-kondo-2023.05.26
@ 2023-06-21 19:40 icp1994
  2023-07-22  5:45 ` [PR PATCH] [Updated] " icp1994
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: icp1994 @ 2023-06-21 19:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/44553

New package: clj-kondo-2023.05.26
#### Description
[Clj-kondo](https://github.com/clj-kondo/clj-kondo) performs static analysis on Clojure, ClojureScript and EDN, without the need of a running REPL.

#### 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**

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

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

From 89a357fa01cdbd2f8dd00923ee6797f0eb804a36 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 21 Jun 2023 01:41:19 +0530
Subject: [PATCH] New package: clj-kondo-2023.05.26

---
 srcpkgs/clj-kondo/template | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 srcpkgs/clj-kondo/template

diff --git a/srcpkgs/clj-kondo/template b/srcpkgs/clj-kondo/template
new file mode 100644
index 000000000000..3ee681eb95e4
--- /dev/null
+++ b/srcpkgs/clj-kondo/template
@@ -0,0 +1,30 @@
+# Template file for 'clj-kondo'
+pkgname=clj-kondo
+version=2023.05.26
+revision=1
+hostmakedepends="mandrel leiningen"
+makedepends="zlib-devel"
+checkdepends="clojure"
+short_desc="Static analyzer and linter for Clojure code that sparks joy"
+maintainer="icp <pangolin@vivaldi.net>"
+license="EPL-1.0"
+homepage="https://github.com/clj-kondo/clj-kondo"
+changelog="https://raw.githubusercontent.com/clj-kondo/clj-kondo/master/CHANGELOG.md"
+distfiles="https://github.com/clj-kondo/clj-kondo/archive/refs/tags/v${version}.tar.gz"
+checksum=d6ecda6aee02b3b6246a305d5a5f3057397c7fb36aebc3382de71f389906d905
+nocross="mandrel"
+
+do_build() {
+	export GRAALVM_HOME=/usr/lib/jvm/mandrel17
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		export CLJ_KONDO_STATIC=true
+		export CLJ_KONDO_MUSL=true
+	fi
+
+	script/compile
+}
+
+do_install() {
+	vbin clj-kondo
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: clj-kondo-2023.05.26
  2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
@ 2023-07-22  5:45 ` icp1994
  2023-07-22  6:27 ` New package: clojure-lsp-2023.07.01 icp1994
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2023-07-22  5:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/44553

New package: clj-kondo-2023.05.26
#### Description
[Clj-kondo](https://github.com/clj-kondo/clj-kondo) performs static analysis on Clojure, ClojureScript and EDN, without the need of a running REPL.

#### 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**

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

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

From 1bd3617d14213a7c79574b2391954d0368369e70 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 22 Jul 2023 01:29:03 +0530
Subject: [PATCH] New package: clojure-lsp-2023.07.01

---
 srcpkgs/clojure-lsp/template | 32 ++++++++++++++++++++++++++++++++
 srcpkgs/clojure-lsp/update   |  2 ++
 2 files changed, 34 insertions(+)
 create mode 100644 srcpkgs/clojure-lsp/template
 create mode 100644 srcpkgs/clojure-lsp/update

diff --git a/srcpkgs/clojure-lsp/template b/srcpkgs/clojure-lsp/template
new file mode 100644
index 000000000000..0a9c6cd686b7
--- /dev/null
+++ b/srcpkgs/clojure-lsp/template
@@ -0,0 +1,32 @@
+# Template file for 'clojure-lsp'
+pkgname=clojure-lsp
+version=2023.07.01
+revision=1
+_ver_hms="22.35.41"
+hostmakedepends="mandrel leiningen babashka"
+makedepends="zlib-devel"
+short_desc="Clojure & ClojureScript language server implementation"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://clojure-lsp.io"
+changelog="https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/CHANGELOG.md"
+distfiles="https://github.com/clojure-lsp/clojure-lsp/archive/refs/tags/${version}-${_ver_hms}.tar.gz"
+checksum=d056fe0b511616567bf0cf191d5bc33725dad76165a39ed29f69ec0a2b95bc9d
+nocross="mandrel"
+
+do_build() {
+	export GRAALVM_HOME=/usr/lib/jvm/mandrel17
+	export PATH="/usr/libexec/chroot-git:${PATH}"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		export CLOJURE_LSP_STATIC=true
+		export CLOJURE_LSP_MUSL=true
+	fi
+
+	bb native-cli
+}
+
+do_install() {
+	vbin clojure-lsp
+	vlicense LICENSE
+}
diff --git a/srcpkgs/clojure-lsp/update b/srcpkgs/clojure-lsp/update
new file mode 100644
index 000000000000..862fef487eb0
--- /dev/null
+++ b/srcpkgs/clojure-lsp/update
@@ -0,0 +1,2 @@
+site="https://clojure-lsp.io/CHANGELOG/"
+pattern="\K\d{4}\.\d{2}\.\d{2}(?=-\d{2}\.\d{2}\.\d{2})"

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

* Re: New package: clojure-lsp-2023.07.01
  2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
  2023-07-22  5:45 ` [PR PATCH] [Updated] " icp1994
@ 2023-07-22  6:27 ` icp1994
  2023-08-18 10:50 ` [PR PATCH] [Updated] " icp1994
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2023-07-22  6:27 UTC (permalink / raw)
  To: ml

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

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/44553#issuecomment-1646503130

Comment:
Replaced with `clojure-lsp` which includes `clj-kondo` internally along with some other utilities.

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

* Re: [PR PATCH] [Updated] New package: clojure-lsp-2023.07.01
  2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
  2023-07-22  5:45 ` [PR PATCH] [Updated] " icp1994
  2023-07-22  6:27 ` New package: clojure-lsp-2023.07.01 icp1994
@ 2023-08-18 10:50 ` icp1994
  2023-11-17  1:46 ` New package: clojure-lsp-2023.08.06 github-actions
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2023-08-18 10:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/44553

New package: clojure-lsp-2023.07.01
#### Description
[Clj-kondo](https://github.com/clj-kondo/clj-kondo) performs static analysis on Clojure, ClojureScript and EDN, without the need of a running REPL.

#### 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**

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

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

From 8b1c2ace7e912403c5e4fa7c75f402ffccb540cc Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 22 Jul 2023 01:29:03 +0530
Subject: [PATCH] New package: clojure-lsp-2023.08.06

---
 srcpkgs/clojure-lsp/template | 32 ++++++++++++++++++++++++++++++++
 srcpkgs/clojure-lsp/update   |  2 ++
 2 files changed, 34 insertions(+)
 create mode 100644 srcpkgs/clojure-lsp/template
 create mode 100644 srcpkgs/clojure-lsp/update

diff --git a/srcpkgs/clojure-lsp/template b/srcpkgs/clojure-lsp/template
new file mode 100644
index 0000000000000..0d22069e1a745
--- /dev/null
+++ b/srcpkgs/clojure-lsp/template
@@ -0,0 +1,32 @@
+# Template file for 'clojure-lsp'
+pkgname=clojure-lsp
+version=2023.08.06
+revision=1
+_ver_hms="00.28.06"
+hostmakedepends="mandrel leiningen babashka"
+makedepends="zlib-devel"
+short_desc="Clojure & ClojureScript language server implementation"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://clojure-lsp.io"
+changelog="https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/CHANGELOG.md"
+distfiles="https://github.com/clojure-lsp/clojure-lsp/archive/refs/tags/${version}-${_ver_hms}.tar.gz"
+checksum=abfc982bb8992deb8a2e7e90843897076e0318aa633c16d98f3c8f7b9d4486bd
+nocross="mandrel"
+
+do_build() {
+	export GRAALVM_HOME=/usr/lib/jvm/mandrel17
+	export PATH="/usr/libexec/chroot-git:${PATH}"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		export CLOJURE_LSP_STATIC=true
+		export CLOJURE_LSP_MUSL=true
+	fi
+
+	bb native-cli
+}
+
+do_install() {
+	vbin clojure-lsp
+	vlicense LICENSE
+}
diff --git a/srcpkgs/clojure-lsp/update b/srcpkgs/clojure-lsp/update
new file mode 100644
index 0000000000000..862fef487eb04
--- /dev/null
+++ b/srcpkgs/clojure-lsp/update
@@ -0,0 +1,2 @@
+site="https://clojure-lsp.io/CHANGELOG/"
+pattern="\K\d{4}\.\d{2}\.\d{2}(?=-\d{2}\.\d{2}\.\d{2})"

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

* Re: New package: clojure-lsp-2023.08.06
  2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
                   ` (2 preceding siblings ...)
  2023-08-18 10:50 ` [PR PATCH] [Updated] " icp1994
@ 2023-11-17  1:46 ` github-actions
  2023-11-23  7:07 ` [PR PATCH] [Updated] " icp1994
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2023-11-17  1:46 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/44553#issuecomment-1815616804

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Updated] New package: clojure-lsp-2023.08.06
  2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
                   ` (3 preceding siblings ...)
  2023-11-17  1:46 ` New package: clojure-lsp-2023.08.06 github-actions
@ 2023-11-23  7:07 ` icp1994
  2024-02-23  1:44 ` github-actions
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2023-11-23  7:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/44553

New package: clojure-lsp-2023.08.06
#### Description
[Clj-kondo](https://github.com/clj-kondo/clj-kondo) performs static analysis on Clojure, ClojureScript and EDN, without the need of a running REPL.

#### 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**

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

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

From dd21ec5ed89a73d7a2cbf590a3fe1af6c4ab778e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 22 Jul 2023 01:29:03 +0530
Subject: [PATCH] New package: clojure-lsp-2023.10.30

---
 srcpkgs/clojure-lsp/patches/remove-pgo.patch | 11 +++++++
 srcpkgs/clojure-lsp/template                 | 32 ++++++++++++++++++++
 srcpkgs/clojure-lsp/update                   |  2 ++
 3 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/clojure-lsp/patches/remove-pgo.patch
 create mode 100644 srcpkgs/clojure-lsp/template
 create mode 100644 srcpkgs/clojure-lsp/update

diff --git a/srcpkgs/clojure-lsp/patches/remove-pgo.patch b/srcpkgs/clojure-lsp/patches/remove-pgo.patch
new file mode 100644
index 0000000000000..ad51249b2023d
--- /dev/null
+++ b/srcpkgs/clojure-lsp/patches/remove-pgo.patch
@@ -0,0 +1,11 @@
+--- a/cli/build.clj
++++ b/cli/build.clj
+@@ -134,8 +134,6 @@
+                         "--features=clj_easy.graal_build_time.InitClojureClasses"
+                         (when-not (fs/windows?) "-march=compatibility")
+                         "-O1"
+-                        (when-not (or (:pgo-instrument opts)
+-                                      (fs/windows?)) "--pgo=graalvm/default.iprof")
+                         (or (System/getenv "CLOJURE_LSP_XMX")
+                             "-J-Xmx8g")
+                         (when (= "true" (System/getenv "CLOJURE_LSP_STATIC"))
diff --git a/srcpkgs/clojure-lsp/template b/srcpkgs/clojure-lsp/template
new file mode 100644
index 0000000000000..3ba8ab7f0960f
--- /dev/null
+++ b/srcpkgs/clojure-lsp/template
@@ -0,0 +1,32 @@
+# Template file for 'clojure-lsp'
+pkgname=clojure-lsp
+version=2023.10.30
+revision=1
+_ver_hms="16.25.41"
+hostmakedepends="mandrel leiningen babashka"
+makedepends="zlib-devel"
+short_desc="Clojure & ClojureScript language server implementation"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://clojure-lsp.io"
+changelog="https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/CHANGELOG.md"
+distfiles="https://github.com/clojure-lsp/clojure-lsp/archive/refs/tags/${version}-${_ver_hms}.tar.gz"
+checksum=0178473fb6271ec08a48e2aa12ad2daaabdfda612a918c81eaeb12935279e443
+nocross="mandrel"
+
+do_build() {
+	export GRAALVM_HOME=/usr/lib/jvm/mandrel17
+	export PATH="/usr/libexec/chroot-git:${PATH}"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		export CLOJURE_LSP_STATIC=true
+		export CLOJURE_LSP_MUSL=true
+	fi
+
+	bb native-cli
+}
+
+do_install() {
+	vbin clojure-lsp
+	vlicense LICENSE
+}
diff --git a/srcpkgs/clojure-lsp/update b/srcpkgs/clojure-lsp/update
new file mode 100644
index 0000000000000..862fef487eb04
--- /dev/null
+++ b/srcpkgs/clojure-lsp/update
@@ -0,0 +1,2 @@
+site="https://clojure-lsp.io/CHANGELOG/"
+pattern="\K\d{4}\.\d{2}\.\d{2}(?=-\d{2}\.\d{2}\.\d{2})"

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

* Re: New package: clojure-lsp-2023.08.06
  2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
                   ` (4 preceding siblings ...)
  2023-11-23  7:07 ` [PR PATCH] [Updated] " icp1994
@ 2024-02-23  1:44 ` github-actions
  2024-02-24  8:18 ` [PR PATCH] [Updated] " icp1994
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2024-02-23  1:44 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/44553#issuecomment-1960623025

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Updated] New package: clojure-lsp-2023.08.06
  2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
                   ` (5 preceding siblings ...)
  2024-02-23  1:44 ` github-actions
@ 2024-02-24  8:18 ` icp1994
  2024-04-07 18:55 ` [PR PATCH] [Updated] New package: clojure-lsp-2024.02.01 icp1994
  2024-04-23 18:53 ` [PR PATCH] [Updated] New package: clojure-lsp-2024.03.31 icp1994
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2024-02-24  8:18 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/44553

New package: clojure-lsp-2023.08.06
#### Description
[Clj-kondo](https://github.com/clj-kondo/clj-kondo) performs static analysis on Clojure, ClojureScript and EDN, without the need of a running REPL.

#### 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**

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

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

From ad54cb9dc25094f6269d2b58947470cbdf0655aa Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 22 Jul 2023 01:29:03 +0530
Subject: [PATCH] New package: clojure-lsp-2024.02.01

---
 srcpkgs/clojure-lsp/patches/remove-pgo.patch | 11 +++++++
 srcpkgs/clojure-lsp/template                 | 32 ++++++++++++++++++++
 srcpkgs/clojure-lsp/update                   |  2 ++
 3 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/clojure-lsp/patches/remove-pgo.patch
 create mode 100644 srcpkgs/clojure-lsp/template
 create mode 100644 srcpkgs/clojure-lsp/update

diff --git a/srcpkgs/clojure-lsp/patches/remove-pgo.patch b/srcpkgs/clojure-lsp/patches/remove-pgo.patch
new file mode 100644
index 00000000000000..ad51249b2023de
--- /dev/null
+++ b/srcpkgs/clojure-lsp/patches/remove-pgo.patch
@@ -0,0 +1,11 @@
+--- a/cli/build.clj
++++ b/cli/build.clj
+@@ -134,8 +134,6 @@
+                         "--features=clj_easy.graal_build_time.InitClojureClasses"
+                         (when-not (fs/windows?) "-march=compatibility")
+                         "-O1"
+-                        (when-not (or (:pgo-instrument opts)
+-                                      (fs/windows?)) "--pgo=graalvm/default.iprof")
+                         (or (System/getenv "CLOJURE_LSP_XMX")
+                             "-J-Xmx8g")
+                         (when (= "true" (System/getenv "CLOJURE_LSP_STATIC"))
diff --git a/srcpkgs/clojure-lsp/template b/srcpkgs/clojure-lsp/template
new file mode 100644
index 00000000000000..95ad373642949d
--- /dev/null
+++ b/srcpkgs/clojure-lsp/template
@@ -0,0 +1,32 @@
+# Template file for 'clojure-lsp'
+pkgname=clojure-lsp
+version=2024.02.01
+revision=1
+_ver_hms="11.01.59"
+hostmakedepends="mandrel leiningen babashka"
+makedepends="zlib-devel"
+short_desc="Clojure & ClojureScript language server implementation"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://clojure-lsp.io"
+changelog="https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/CHANGELOG.md"
+distfiles="https://github.com/clojure-lsp/clojure-lsp/archive/refs/tags/${version}-${_ver_hms}.tar.gz"
+checksum=fd0b36d209ed677ad6a68fd2a982fd60d0871b4605d24ed25e44a3457f6e1ccb
+nocross="mandrel"
+
+do_build() {
+	export GRAALVM_HOME=/usr/lib/jvm/mandrel21
+	export PATH="/usr/libexec/chroot-git:${PATH}"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		export CLOJURE_LSP_STATIC=true
+		export CLOJURE_LSP_MUSL=true
+	fi
+
+	bb native-cli
+}
+
+do_install() {
+	vbin clojure-lsp
+	vlicense LICENSE
+}
diff --git a/srcpkgs/clojure-lsp/update b/srcpkgs/clojure-lsp/update
new file mode 100644
index 00000000000000..862fef487eb04a
--- /dev/null
+++ b/srcpkgs/clojure-lsp/update
@@ -0,0 +1,2 @@
+site="https://clojure-lsp.io/CHANGELOG/"
+pattern="\K\d{4}\.\d{2}\.\d{2}(?=-\d{2}\.\d{2}\.\d{2})"

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

* Re: [PR PATCH] [Updated] New package: clojure-lsp-2024.02.01
  2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
                   ` (6 preceding siblings ...)
  2024-02-24  8:18 ` [PR PATCH] [Updated] " icp1994
@ 2024-04-07 18:55 ` icp1994
  2024-04-23 18:53 ` [PR PATCH] [Updated] New package: clojure-lsp-2024.03.31 icp1994
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2024-04-07 18:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/44553

New package: clojure-lsp-2024.02.01
#### Description
[Clj-kondo](https://github.com/clj-kondo/clj-kondo) performs static analysis on Clojure, ClojureScript and EDN, without the need of a running REPL.

#### 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**

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

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

From aff2687db33909017ad022f973bb7f91a9db7876 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 22 Jul 2023 01:29:03 +0530
Subject: [PATCH] clojure-lsp: update to 2024.03.31.

---
 srcpkgs/clojure-lsp/patches/remove-pgo.patch | 11 +++++++
 srcpkgs/clojure-lsp/template                 | 32 ++++++++++++++++++++
 srcpkgs/clojure-lsp/update                   |  2 ++
 3 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/clojure-lsp/patches/remove-pgo.patch
 create mode 100644 srcpkgs/clojure-lsp/template
 create mode 100644 srcpkgs/clojure-lsp/update

diff --git a/srcpkgs/clojure-lsp/patches/remove-pgo.patch b/srcpkgs/clojure-lsp/patches/remove-pgo.patch
new file mode 100644
index 00000000000000..ad51249b2023de
--- /dev/null
+++ b/srcpkgs/clojure-lsp/patches/remove-pgo.patch
@@ -0,0 +1,11 @@
+--- a/cli/build.clj
++++ b/cli/build.clj
+@@ -134,8 +134,6 @@
+                         "--features=clj_easy.graal_build_time.InitClojureClasses"
+                         (when-not (fs/windows?) "-march=compatibility")
+                         "-O1"
+-                        (when-not (or (:pgo-instrument opts)
+-                                      (fs/windows?)) "--pgo=graalvm/default.iprof")
+                         (or (System/getenv "CLOJURE_LSP_XMX")
+                             "-J-Xmx8g")
+                         (when (= "true" (System/getenv "CLOJURE_LSP_STATIC"))
diff --git a/srcpkgs/clojure-lsp/template b/srcpkgs/clojure-lsp/template
new file mode 100644
index 00000000000000..3fa904fbd78289
--- /dev/null
+++ b/srcpkgs/clojure-lsp/template
@@ -0,0 +1,32 @@
+# Template file for 'clojure-lsp'
+pkgname=clojure-lsp
+version=2024.03.31
+revision=1
+_ver_hms="19.10.13"
+hostmakedepends="mandrel leiningen babashka clojure"
+makedepends="zlib-devel"
+short_desc="Clojure & ClojureScript language server implementation"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://clojure-lsp.io"
+changelog="https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/CHANGELOG.md"
+distfiles="https://github.com/clojure-lsp/clojure-lsp/archive/refs/tags/${version}-${_ver_hms}.tar.gz"
+checksum=b75fb16d099f1d60c95578b21a6117dafe11c355160b999235b4b01f53941ad2
+nocross="mandrel"
+
+do_build() {
+	export GRAALVM_HOME=/usr/lib/jvm/mandrel21
+	export PATH="/usr/libexec/chroot-git:${PATH}"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		export CLOJURE_LSP_STATIC=true
+		export CLOJURE_LSP_MUSL=true
+	fi
+
+	bb native-cli
+}
+
+do_install() {
+	vbin clojure-lsp
+	vlicense LICENSE
+}
diff --git a/srcpkgs/clojure-lsp/update b/srcpkgs/clojure-lsp/update
new file mode 100644
index 00000000000000..862fef487eb04a
--- /dev/null
+++ b/srcpkgs/clojure-lsp/update
@@ -0,0 +1,2 @@
+site="https://clojure-lsp.io/CHANGELOG/"
+pattern="\K\d{4}\.\d{2}\.\d{2}(?=-\d{2}\.\d{2}\.\d{2})"

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

* Re: [PR PATCH] [Updated] New package: clojure-lsp-2024.03.31
  2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
                   ` (7 preceding siblings ...)
  2024-04-07 18:55 ` [PR PATCH] [Updated] New package: clojure-lsp-2024.02.01 icp1994
@ 2024-04-23 18:53 ` icp1994
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2024-04-23 18:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages clj-kondo
https://github.com/void-linux/void-packages/pull/44553

New package: clojure-lsp-2024.03.31
#### Description
[Clj-kondo](https://github.com/clj-kondo/clj-kondo) performs static analysis on Clojure, ClojureScript and EDN, without the need of a running REPL.

#### 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**

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

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

From df93ebaf510cd5a112bb959019997f040070f441 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 22 Jul 2023 01:29:03 +0530
Subject: [PATCH] New package: clojure-lsp-2024.04.22

---
 srcpkgs/clojure-lsp/patches/remove-pgo.patch | 11 +++++++
 srcpkgs/clojure-lsp/template                 | 32 ++++++++++++++++++++
 srcpkgs/clojure-lsp/update                   |  2 ++
 3 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/clojure-lsp/patches/remove-pgo.patch
 create mode 100644 srcpkgs/clojure-lsp/template
 create mode 100644 srcpkgs/clojure-lsp/update

diff --git a/srcpkgs/clojure-lsp/patches/remove-pgo.patch b/srcpkgs/clojure-lsp/patches/remove-pgo.patch
new file mode 100644
index 00000000000000..ad51249b2023de
--- /dev/null
+++ b/srcpkgs/clojure-lsp/patches/remove-pgo.patch
@@ -0,0 +1,11 @@
+--- a/cli/build.clj
++++ b/cli/build.clj
+@@ -134,8 +134,6 @@
+                         "--features=clj_easy.graal_build_time.InitClojureClasses"
+                         (when-not (fs/windows?) "-march=compatibility")
+                         "-O1"
+-                        (when-not (or (:pgo-instrument opts)
+-                                      (fs/windows?)) "--pgo=graalvm/default.iprof")
+                         (or (System/getenv "CLOJURE_LSP_XMX")
+                             "-J-Xmx8g")
+                         (when (= "true" (System/getenv "CLOJURE_LSP_STATIC"))
diff --git a/srcpkgs/clojure-lsp/template b/srcpkgs/clojure-lsp/template
new file mode 100644
index 00000000000000..6f0731451ce135
--- /dev/null
+++ b/srcpkgs/clojure-lsp/template
@@ -0,0 +1,32 @@
+# Template file for 'clojure-lsp'
+pkgname=clojure-lsp
+version=2024.04.22
+revision=1
+_ver_hms="11.50.26"
+hostmakedepends="mandrel leiningen babashka clojure"
+makedepends="zlib-devel"
+short_desc="Clojure & ClojureScript language server implementation"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://clojure-lsp.io"
+changelog="https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/CHANGELOG.md"
+distfiles="https://github.com/clojure-lsp/clojure-lsp/archive/refs/tags/${version}-${_ver_hms}.tar.gz"
+checksum=0fe5dd9b27cfe7583f1cb3ae5520a5e85d710af5d281785ecd0618eb222095fd
+nocross="mandrel"
+
+do_build() {
+	export GRAALVM_HOME=/usr/lib/jvm/mandrel21
+	export PATH="/usr/libexec/chroot-git:${PATH}"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		export CLOJURE_LSP_STATIC=true
+		export CLOJURE_LSP_MUSL=true
+	fi
+
+	bb native-cli
+}
+
+do_install() {
+	vbin clojure-lsp
+	vlicense LICENSE
+}
diff --git a/srcpkgs/clojure-lsp/update b/srcpkgs/clojure-lsp/update
new file mode 100644
index 00000000000000..862fef487eb04a
--- /dev/null
+++ b/srcpkgs/clojure-lsp/update
@@ -0,0 +1,2 @@
+site="https://clojure-lsp.io/CHANGELOG/"
+pattern="\K\d{4}\.\d{2}\.\d{2}(?=-\d{2}\.\d{2}\.\d{2})"

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

end of thread, other threads:[~2024-04-23 18:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-21 19:40 [PR PATCH] New package: clj-kondo-2023.05.26 icp1994
2023-07-22  5:45 ` [PR PATCH] [Updated] " icp1994
2023-07-22  6:27 ` New package: clojure-lsp-2023.07.01 icp1994
2023-08-18 10:50 ` [PR PATCH] [Updated] " icp1994
2023-11-17  1:46 ` New package: clojure-lsp-2023.08.06 github-actions
2023-11-23  7:07 ` [PR PATCH] [Updated] " icp1994
2024-02-23  1:44 ` github-actions
2024-02-24  8:18 ` [PR PATCH] [Updated] " icp1994
2024-04-07 18:55 ` [PR PATCH] [Updated] New package: clojure-lsp-2024.02.01 icp1994
2024-04-23 18:53 ` [PR PATCH] [Updated] New package: clojure-lsp-2024.03.31 icp1994

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).