Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: typst, typst-lsp
Date: Sun, 02 Apr 2023 22:41:38 +0200	[thread overview]
Message-ID: <20230402204138.5inzAI51ub7bAaZLnUAO8rNS-taHjhuxZib_-ymGxwU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43185@inbox.vuxu.org>

[-- 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
+}

  parent reply	other threads:[~2023-04-02 20:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-02 10:27 [PR PATCH] " 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 [this message]
2023-04-02 21:02 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230402204138.5inzAI51ub7bAaZLnUAO8rNS-taHjhuxZib_-ymGxwU@z \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).