Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New packages: typst, typst-lsp
@ 2023-04-02 10:27 classabbyamp
  2023-04-02 10:55 ` leahneukirchen
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: classabbyamp @ 2023-04-02 10:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages typst
https://github.com/void-linux/void-packages/pull/43185

New packages: typst, typst-lsp
- New package: typst-23.03.28
- New package: typst-lsp-0.3.1

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (but I plan to do more soon)

@leahneukirchen I know you were looking at packaging this, if you'd like to maintain it that's fine by me :)


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

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

From d161d1016969802859caa684e18985dae33305b9 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 2 Apr 2023 06:25:24 -0400
Subject: [PATCH 1/2] New package: typst-23.03.28

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

diff --git a/srcpkgs/typst/template b/srcpkgs/typst/template
new file mode 100644
index 000000000000..6135f3fb7464
--- /dev/null
+++ b/srcpkgs/typst/template
@@ -0,0 +1,17 @@
+# Template file for 'typst'
+pkgname=typst
+version=23.03.28
+revision=1
+build_style=cargo
+configure_args="-p typst-cli"
+short_desc="Markup-based typesetting system that is powerful and easy to learn"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="Apache-2.0"
+homepage="https://typst.app"
+changelog="https://typst.app/docs/changelog/"
+distfiles="https://github.com/typst/typst/archive/refs/tags/v${version//./-}.tar.gz"
+checksum=494b0438940a21370d31d44e090e1a6b1b3acabc8b9c4c181455f86441d5cab7
+
+do_install() {
+	vbin target/${RUST_TARGET}/release/typst
+}

From bd71a51883c7654b1641287f720235ef269f68d5 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 2 Apr 2023 06:25:32 -0400
Subject: [PATCH 2/2] New package: typst-lsp-0.3.1

---
 srcpkgs/typst-lsp/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/typst-lsp/template

diff --git a/srcpkgs/typst-lsp/template b/srcpkgs/typst-lsp/template
new file mode 100644
index 000000000000..04ffa56467e5
--- /dev/null
+++ b/srcpkgs/typst-lsp/template
@@ -0,0 +1,15 @@
+# Template file for 'typst-lsp'
+pkgname=typst-lsp
+version=0.3.1
+revision=1
+build_style=cargo
+short_desc="Language server for Typst"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="Apache-2.0, MIT"
+homepage="https://github.com/nvarner/typst-lsp"
+distfiles="https://github.com/nvarner/typst-lsp/archive/refs/tags/v${version}.tar.gz"
+checksum=27530f8e2e68954faefa0859151de52951d986ef2a5e0f67b6e76e568d285549
+
+post_install() {
+	vlicense LICENSE-MIT.txt
+}

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

* Re: New packages: typst, typst-lsp
  2023-04-02 10:27 [PR PATCH] New packages: typst, typst-lsp classabbyamp
@ 2023-04-02 10:55 ` leahneukirchen
  2023-04-02 12:11 ` [PR REVIEW] " tranzystorek-io
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: leahneukirchen @ 2023-04-02 10:55 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/43185#issuecomment-1493297932

Comment:
I was just interested in using it, feel free to maintain. ;)

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

* Re: [PR REVIEW] New packages: typst, typst-lsp
  2023-04-02 10:27 [PR PATCH] New packages: typst, typst-lsp classabbyamp
  2023-04-02 10:55 ` leahneukirchen
@ 2023-04-02 12:11 ` tranzystorek-io
  2023-04-02 19:44 ` classabbyamp
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2023-04-02 12:11 UTC (permalink / raw)
  To: ml

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

New review comment by tranzystorek-io on void-packages repository

https://github.com/void-linux/void-packages/pull/43185#discussion_r1155299773

Comment:
There's a fix on upstream that allows installing with `--path cli`: https://github.com/typst/typst/commit/613c644f0479b2aae6be96fa389352883a2321c3

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

* Re: [PR REVIEW] New packages: typst, typst-lsp
  2023-04-02 10:27 [PR PATCH] New packages: typst, typst-lsp classabbyamp
  2023-04-02 10:55 ` leahneukirchen
  2023-04-02 12:11 ` [PR REVIEW] " tranzystorek-io
@ 2023-04-02 19:44 ` classabbyamp
  2023-04-02 20:21 ` [PR PATCH] [Updated] " classabbyamp
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-04-02 19:44 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/43185#discussion_r1155365160

Comment:
thanks

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

* Re: [PR PATCH] [Updated] New packages: typst, typst-lsp
  2023-04-02 10:27 [PR PATCH] New packages: typst, typst-lsp classabbyamp
                   ` (2 preceding siblings ...)
  2023-04-02 19:44 ` classabbyamp
@ 2023-04-02 20:21 ` classabbyamp
  2023-04-02 20:41 ` classabbyamp
  2023-04-02 21:02 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-04-02 20:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages typst
https://github.com/void-linux/void-packages/pull/43185

New packages: typst, typst-lsp
- New package: typst-23.03.28
- New package: typst-lsp-0.3.1

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (but I plan to do more soon)

@leahneukirchen I know you were looking at packaging this, if you'd like to maintain it that's fine by me :)


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

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

From 09265b7ac39727747f0559853be732dc22752d89 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 2 Apr 2023 06:25:24 -0400
Subject: [PATCH 1/2] New package: typst-23.03.28

---
 srcpkgs/typst/patches/cargo-workspace.patch | 22 +++++++++++++++++++++
 srcpkgs/typst/template                      | 17 ++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/typst/patches/cargo-workspace.patch
 create mode 100644 srcpkgs/typst/template

diff --git a/srcpkgs/typst/patches/cargo-workspace.patch b/srcpkgs/typst/patches/cargo-workspace.patch
new file mode 100644
index 000000000000..e84cc18b2d2a
--- /dev/null
+++ b/srcpkgs/typst/patches/cargo-workspace.patch
@@ -0,0 +1,22 @@
+From 613c644f0479b2aae6be96fa389352883a2321c3 Mon Sep 17 00:00:00 2001
+From: figsoda <figsoda@pm.me>
+Date: Sat, 1 Apr 2023 08:22:47 -0400
+Subject: [PATCH] Default workspace members to cli (#484)
+
+---
+ Cargo.toml | 1 +
+ flake.nix  | 3 ---
+ 2 files changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 3db8b3b9c..3fe010947 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -6,6 +6,7 @@ edition = "2021"
+ 
+ [workspace]
+ members = ["cli", "docs", "library", "macros", "tests"]
++default-members = ["cli"]
+ 
+ [lib]
+ doctest = false
diff --git a/srcpkgs/typst/template b/srcpkgs/typst/template
new file mode 100644
index 000000000000..b59055ae19d2
--- /dev/null
+++ b/srcpkgs/typst/template
@@ -0,0 +1,17 @@
+# Template file for 'typst'
+pkgname=typst
+version=23.03.28
+revision=1
+build_style=cargo
+make_install_args="--path cli"
+short_desc="Markup-based typesetting system that is powerful and easy to learn"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="Apache-2.0"
+homepage="https://typst.app"
+changelog="https://typst.app/docs/changelog/"
+distfiles="https://github.com/typst/typst/archive/refs/tags/v${version//./-}.tar.gz"
+checksum=494b0438940a21370d31d44e090e1a6b1b3acabc8b9c4c181455f86441d5cab7
+
+# do_install() {
+# 	vbin target/${RUST_TARGET}/release/typst
+# }

From 4cfc387530450e1214dc2f185f01d3620fb701c0 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 2 Apr 2023 06:25:32 -0400
Subject: [PATCH 2/2] New package: typst-lsp-0.3.1

---
 srcpkgs/typst-lsp/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/typst-lsp/template

diff --git a/srcpkgs/typst-lsp/template b/srcpkgs/typst-lsp/template
new file mode 100644
index 000000000000..04ffa56467e5
--- /dev/null
+++ b/srcpkgs/typst-lsp/template
@@ -0,0 +1,15 @@
+# Template file for 'typst-lsp'
+pkgname=typst-lsp
+version=0.3.1
+revision=1
+build_style=cargo
+short_desc="Language server for Typst"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="Apache-2.0, MIT"
+homepage="https://github.com/nvarner/typst-lsp"
+distfiles="https://github.com/nvarner/typst-lsp/archive/refs/tags/v${version}.tar.gz"
+checksum=27530f8e2e68954faefa0859151de52951d986ef2a5e0f67b6e76e568d285549
+
+post_install() {
+	vlicense LICENSE-MIT.txt
+}

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

* Re: [PR PATCH] [Updated] New packages: typst, typst-lsp
  2023-04-02 10:27 [PR PATCH] New packages: typst, typst-lsp classabbyamp
                   ` (3 preceding siblings ...)
  2023-04-02 20:21 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-04-02 20:41 ` classabbyamp
  2023-04-02 21:02 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-04-02 20:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages typst
https://github.com/void-linux/void-packages/pull/43185

New packages: typst, typst-lsp
- New package: typst-23.03.28
- New package: typst-lsp-0.3.1

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (but I plan to do more soon)

@leahneukirchen I know you were looking at packaging this, if you'd like to maintain it that's fine by me :)


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

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

From b33efdc7b5093978c84301d69e534a93d91dcbc0 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 2 Apr 2023 06:25:24 -0400
Subject: [PATCH 1/2] New package: typst-23.03.28

---
 srcpkgs/typst/patches/cargo-workspace.patch | 22 +++++++++++++++++++++
 srcpkgs/typst/template                      | 13 ++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 srcpkgs/typst/patches/cargo-workspace.patch
 create mode 100644 srcpkgs/typst/template

diff --git a/srcpkgs/typst/patches/cargo-workspace.patch b/srcpkgs/typst/patches/cargo-workspace.patch
new file mode 100644
index 000000000000..e84cc18b2d2a
--- /dev/null
+++ b/srcpkgs/typst/patches/cargo-workspace.patch
@@ -0,0 +1,22 @@
+From 613c644f0479b2aae6be96fa389352883a2321c3 Mon Sep 17 00:00:00 2001
+From: figsoda <figsoda@pm.me>
+Date: Sat, 1 Apr 2023 08:22:47 -0400
+Subject: [PATCH] Default workspace members to cli (#484)
+
+---
+ Cargo.toml | 1 +
+ flake.nix  | 3 ---
+ 2 files changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 3db8b3b9c..3fe010947 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -6,6 +6,7 @@ edition = "2021"
+ 
+ [workspace]
+ members = ["cli", "docs", "library", "macros", "tests"]
++default-members = ["cli"]
+ 
+ [lib]
+ doctest = false
diff --git a/srcpkgs/typst/template b/srcpkgs/typst/template
new file mode 100644
index 000000000000..421b8ecc6bdd
--- /dev/null
+++ b/srcpkgs/typst/template
@@ -0,0 +1,13 @@
+# Template file for 'typst'
+pkgname=typst
+version=23.03.28
+revision=1
+build_style=cargo
+make_install_args="--path cli"
+short_desc="Markup-based typesetting system that is powerful and easy to learn"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="Apache-2.0"
+homepage="https://typst.app"
+changelog="https://typst.app/docs/changelog/"
+distfiles="https://github.com/typst/typst/archive/refs/tags/v${version//./-}.tar.gz"
+checksum=494b0438940a21370d31d44e090e1a6b1b3acabc8b9c4c181455f86441d5cab7

From f4e419f0fab1b4c39dceb1eae1a1cee73253bb5e Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 2 Apr 2023 06:25:32 -0400
Subject: [PATCH 2/2] New package: typst-lsp-0.3.1

---
 srcpkgs/typst-lsp/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/typst-lsp/template

diff --git a/srcpkgs/typst-lsp/template b/srcpkgs/typst-lsp/template
new file mode 100644
index 000000000000..04ffa56467e5
--- /dev/null
+++ b/srcpkgs/typst-lsp/template
@@ -0,0 +1,15 @@
+# Template file for 'typst-lsp'
+pkgname=typst-lsp
+version=0.3.1
+revision=1
+build_style=cargo
+short_desc="Language server for Typst"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="Apache-2.0, MIT"
+homepage="https://github.com/nvarner/typst-lsp"
+distfiles="https://github.com/nvarner/typst-lsp/archive/refs/tags/v${version}.tar.gz"
+checksum=27530f8e2e68954faefa0859151de52951d986ef2a5e0f67b6e76e568d285549
+
+post_install() {
+	vlicense LICENSE-MIT.txt
+}

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

* Re: [PR PATCH] [Merged]: New packages: typst, typst-lsp
  2023-04-02 10:27 [PR PATCH] New packages: typst, typst-lsp classabbyamp
                   ` (4 preceding siblings ...)
  2023-04-02 20:41 ` classabbyamp
@ 2023-04-02 21:02 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-04-02 21:02 UTC (permalink / raw)
  To: ml

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

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

New packages: typst, typst-lsp
https://github.com/void-linux/void-packages/pull/43185

Description:
- New package: typst-23.03.28
- New package: typst-lsp-0.3.1

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (but I plan to do more soon)

@leahneukirchen I know you were looking at packaging this, if you'd like to maintain it that's fine by me :)


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

end of thread, other threads:[~2023-04-02 21:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-02 10:27 [PR PATCH] New packages: typst, typst-lsp classabbyamp
2023-04-02 10:55 ` leahneukirchen
2023-04-02 12:11 ` [PR REVIEW] " tranzystorek-io
2023-04-02 19:44 ` classabbyamp
2023-04-02 20:21 ` [PR PATCH] [Updated] " classabbyamp
2023-04-02 20:41 ` classabbyamp
2023-04-02 21:02 ` [PR PATCH] [Merged]: " classabbyamp

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