* Re: [PR REVIEW] poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
@ 2024-03-01 14:07 ` ahesford
2024-03-01 14:11 ` [PR PATCH] [Updated] " aryalaadi
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: ahesford @ 2024-03-01 14:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
New review comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#discussion_r1509060563
Comment:
```suggestion
short_desc="High-performance, multiplayer code editor"
```
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PR PATCH] [Updated] poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
2024-03-01 14:07 ` [PR REVIEW] " ahesford
@ 2024-03-01 14:11 ` aryalaadi
2024-03-03 17:11 ` aryalaadi
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: aryalaadi @ 2024-03-01 14:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]
There is an updated pull request by aryalaadi against master on the void-packages repository
https://github.com/aryalaadi/void-packages master
https://github.com/void-linux/void-packages/pull/49019
poc zed package template
proof of concept void package template for the zed text editor
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/49019.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49019.patch --]
[-- Type: text/x-diff, Size: 2191 bytes --]
From ab0a4577474489c43da9cae9ff6eb65b965b18c3 Mon Sep 17 00:00:00 2001
From: aryal <141743392+aryalaadi@users.noreply.github.com>
Date: Fri, 1 Mar 2024 19:38:51 +0545
Subject: [PATCH 1/2] zed poc package template
zed poc package template
---
srcpkgs/zed/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/zed/template
diff --git a/srcpkgs/zed/template b/srcpkgs/zed/template
new file mode 100644
index 0000000000000..9a3365d035752
--- /dev/null
+++ b/srcpkgs/zed/template
@@ -0,0 +1,13 @@
+# Template file for 'zed'
+pkgname=zed
+version=0.124.8
+revision=1
+build_style=cargo
+makedepends=" alsa-lib-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
+depends="alsa-lib fontconfig wayland libxkbcommon libxkbcommon-x11 openssl"
+short_desc="Zed is a high-performance, multiplayer code editor."
+maintainer="aryalaadi <aryalaadi123@gmail.com>"
+license="GPL-3.0"
+homepage="https://github.com/zed-industries/zed"
+distfiles="https://github.com/zed-industries/zed/archive/refs/tags/v0.124.8.tar.gz"
+checksum=3cc069d4fe64a84b0e87854736506dfe40475cca26479664b88d8943d2b82115
From 08c2582631d49551cad7f8a8a824ce52024f3464 Mon Sep 17 00:00:00 2001
From: aryal <141743392+aryalaadi@users.noreply.github.com>
Date: Fri, 1 Mar 2024 19:56:39 +0545
Subject: [PATCH 2/2] fixes
---
srcpkgs/zed/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/zed/template b/srcpkgs/zed/template
index 9a3365d035752..b175f391819b3 100644
--- a/srcpkgs/zed/template
+++ b/srcpkgs/zed/template
@@ -3,9 +3,10 @@ pkgname=zed
version=0.124.8
revision=1
build_style=cargo
-makedepends=" alsa-lib-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
+hostmakedepends="pkg-config python3"
+makedepends="alsa-lib-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
depends="alsa-lib fontconfig wayland libxkbcommon libxkbcommon-x11 openssl"
-short_desc="Zed is a high-performance, multiplayer code editor."
+short_desc="High-performance, multiplayer code editor"
maintainer="aryalaadi <aryalaadi123@gmail.com>"
license="GPL-3.0"
homepage="https://github.com/zed-industries/zed"
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PR PATCH] [Updated] poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
2024-03-01 14:07 ` [PR REVIEW] " ahesford
2024-03-01 14:11 ` [PR PATCH] [Updated] " aryalaadi
@ 2024-03-03 17:11 ` aryalaadi
2024-03-03 17:32 ` aryalaadi
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: aryalaadi @ 2024-03-03 17:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]
There is an updated pull request by aryalaadi against master on the void-packages repository
https://github.com/aryalaadi/void-packages master
https://github.com/void-linux/void-packages/pull/49019
poc zed package template
proof of concept void package template for the zed text editor
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/49019.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49019.patch --]
[-- Type: text/x-diff, Size: 3227 bytes --]
From ab0a4577474489c43da9cae9ff6eb65b965b18c3 Mon Sep 17 00:00:00 2001
From: aryal <141743392+aryalaadi@users.noreply.github.com>
Date: Fri, 1 Mar 2024 19:38:51 +0545
Subject: [PATCH 1/3] zed poc package template
zed poc package template
---
srcpkgs/zed/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/zed/template
diff --git a/srcpkgs/zed/template b/srcpkgs/zed/template
new file mode 100644
index 0000000000000..9a3365d035752
--- /dev/null
+++ b/srcpkgs/zed/template
@@ -0,0 +1,13 @@
+# Template file for 'zed'
+pkgname=zed
+version=0.124.8
+revision=1
+build_style=cargo
+makedepends=" alsa-lib-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
+depends="alsa-lib fontconfig wayland libxkbcommon libxkbcommon-x11 openssl"
+short_desc="Zed is a high-performance, multiplayer code editor."
+maintainer="aryalaadi <aryalaadi123@gmail.com>"
+license="GPL-3.0"
+homepage="https://github.com/zed-industries/zed"
+distfiles="https://github.com/zed-industries/zed/archive/refs/tags/v0.124.8.tar.gz"
+checksum=3cc069d4fe64a84b0e87854736506dfe40475cca26479664b88d8943d2b82115
From 08c2582631d49551cad7f8a8a824ce52024f3464 Mon Sep 17 00:00:00 2001
From: aryal <141743392+aryalaadi@users.noreply.github.com>
Date: Fri, 1 Mar 2024 19:56:39 +0545
Subject: [PATCH 2/3] fixes
---
srcpkgs/zed/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/zed/template b/srcpkgs/zed/template
index 9a3365d035752..b175f391819b3 100644
--- a/srcpkgs/zed/template
+++ b/srcpkgs/zed/template
@@ -3,9 +3,10 @@ pkgname=zed
version=0.124.8
revision=1
build_style=cargo
-makedepends=" alsa-lib-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
+hostmakedepends="pkg-config python3"
+makedepends="alsa-lib-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
depends="alsa-lib fontconfig wayland libxkbcommon libxkbcommon-x11 openssl"
-short_desc="Zed is a high-performance, multiplayer code editor."
+short_desc="High-performance, multiplayer code editor"
maintainer="aryalaadi <aryalaadi123@gmail.com>"
license="GPL-3.0"
homepage="https://github.com/zed-industries/zed"
From af31472e97cf3489ff21b98f0ae6acd4cac5ebb9 Mon Sep 17 00:00:00 2001
From: aryal <141743392+aryalaadi@users.noreply.github.com>
Date: Sun, 3 Mar 2024 22:56:14 +0545
Subject: [PATCH 3/3] libzstd dependency
---
srcpkgs/zed/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/zed/template b/srcpkgs/zed/template
index b175f391819b3..41d38c683aee6 100644
--- a/srcpkgs/zed/template
+++ b/srcpkgs/zed/template
@@ -4,8 +4,8 @@ version=0.124.8
revision=1
build_style=cargo
hostmakedepends="pkg-config python3"
-makedepends="alsa-lib-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
-depends="alsa-lib fontconfig wayland libxkbcommon libxkbcommon-x11 openssl"
+makedepends="alsa-lib-devel libzstd-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
+depends="alsa-lib libzstd fontconfig wayland libxkbcommon libxkbcommon-x11 openssl"
short_desc="High-performance, multiplayer code editor"
maintainer="aryalaadi <aryalaadi123@gmail.com>"
license="GPL-3.0"
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (2 preceding siblings ...)
2024-03-03 17:11 ` aryalaadi
@ 2024-03-03 17:32 ` aryalaadi
2024-03-03 17:33 ` aryalaadi
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: aryalaadi @ 2024-03-03 17:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
New comment by aryalaadi on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-1975239220
Comment:
```
```
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (3 preceding siblings ...)
2024-03-03 17:32 ` aryalaadi
@ 2024-03-03 17:33 ` aryalaadi
2024-03-03 17:34 ` aryalaadi
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: aryalaadi @ 2024-03-03 17:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
New comment by aryalaadi on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-1975239220
Comment:
```
Caused by:
process didn't exit successfully: `/builddir/zed-0.124.8/target/release/build/live_kit_server-3b7b5b64e66f40d0/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at crates/live_kit_server/build.rs:4:10:
called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "protoc failed: Could not make proto path relative: protocol/livekit_room.proto: No such file or directory\n" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (4 preceding siblings ...)
2024-03-03 17:33 ` aryalaadi
@ 2024-03-03 17:34 ` aryalaadi
2024-03-03 20:33 ` dmarto
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: aryalaadi @ 2024-03-03 17:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 769 bytes --]
New comment by aryalaadi on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-1975239220
Comment:
```
Caused by:
process didn't exit successfully: `/builddir/zed-0.124.8/target/release/build/live_kit_server-3b7b5b64e66f40d0/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at crates/live_kit_server/build.rs:4:10:
called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "protoc failed: Could not make proto path relative: protocol/livekit_room.proto: No such file or directory\n" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
cant figure out how to get past this
zed builds perfectly fine when i run `cargo build` directly
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (5 preceding siblings ...)
2024-03-03 17:34 ` aryalaadi
@ 2024-03-03 20:33 ` dmarto
2024-03-03 20:33 ` dmarto
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dmarto @ 2024-03-03 20:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
New comment by dmarto on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-1975311885
Comment:
You need to handle (i.e download) the git submodule, as they are not included in the sources.
https://github.com/zed-industries/zed/blob/main/.gitmodules
AFAIK, there is not a set way/approach for it in void, different pkgs deal differently - some ask upstream for "hydrated" sources, other add them as distfiles, etc..
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (6 preceding siblings ...)
2024-03-03 20:33 ` dmarto
@ 2024-03-03 20:33 ` dmarto
2024-03-04 0:24 ` aryalaadi
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dmarto @ 2024-03-03 20:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
New comment by dmarto on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-1975311885
Comment:
You need to handle (i.e download) the git submodule, as they are not included in the sources.
https://github.com/zed-industries/zed/blob/main/.gitmodules
AFAIK, there is not a set way/approach for it in void, different pkgs deal differently - some ask upstream for "hydrated" sources, other add them as distfiles, etc..
Hope that helps :)
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (7 preceding siblings ...)
2024-03-03 20:33 ` dmarto
@ 2024-03-04 0:24 ` aryalaadi
2024-03-04 0:31 ` ahesford
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: aryalaadi @ 2024-03-04 0:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]
New comment by aryalaadi on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-1975452321
Comment:
I figured do_fetch() to clone the git repository instead
On Mon, 4 Mar 2024, 2:18 am Martin, ***@***.***> wrote:
> You need to handle (i.e download) the git submodule, as they are not
> included in the sources.
>
> https://github.com/zed-industries/zed/blob/main/.gitmodules
>
> AFAIK, there is not a set way/approach for it in void, different pkgs deal
> differently - some ask upstream for "hydrated" sources, other add them as
> distfiles, etc..
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/void-linux/void-packages/pull/49019#issuecomment-1975311885>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BBZNKIB66MQANXE7R45I5ELYWOCKTAVCNFSM6AAAAABEB2K5ZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGMYTCOBYGU>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (8 preceding siblings ...)
2024-03-04 0:24 ` aryalaadi
@ 2024-03-04 0:31 ` ahesford
2024-03-04 3:13 ` aryalaadi
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: ahesford @ 2024-03-04 0:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-1975457559
Comment:
> I figured do_fetch() to clone the git repository instead
That is not permissible.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (9 preceding siblings ...)
2024-03-04 0:31 ` ahesford
@ 2024-03-04 3:13 ` aryalaadi
2024-03-04 11:38 ` aryalaadi
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: aryalaadi @ 2024-03-04 3:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
New comment by aryalaadi on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-1975592455
Comment:
so how would i go about adding livekit as a distfile?
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (10 preceding siblings ...)
2024-03-04 3:13 ` aryalaadi
@ 2024-03-04 11:38 ` aryalaadi
2024-04-30 19:24 ` someone13574
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: aryalaadi @ 2024-03-04 11:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]
New comment by aryalaadi on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-1976386783
Comment:
ok ive managed to get the package to build after i created the full source archive myself
(ive requested the upstream to provide the archive on every release) with something like this
```
pkgname=zed
version=0.124.8
revision=1
build_style=cargo
hostmakedepends="pkg-config python3 cargo"
makedepends="alsa-lib-devel libzstd-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
depends="alsa-lib libzstd fontconfig wayland libxkbcommon libxkbcommon-x11 openssl"
short_desc="High-performance, multiplayer code editor"
maintainer="aryalaadi <aryalaadi123@gmail.com>"
license="GPL-3.0"
homepage="https://github.com/zed-industries/zed"
distfiles="http://localhost:8000/zed.tar.gz"
checksum=a45d80c9c68e8aa232490ea3bfe00712e8e296d606ed37d83f1875a693e46654
```
but after it was done compiling i got this error
```
error: found a virtual manifest at `/builddir/zed-0.124.8/Cargo.toml` instead of a package manifest
=> ERROR: zed-0.124.8_1: do_install: '${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" --offline --locked ${configure_args} ${make_install_args}' exited with 101
=> ERROR: in do_install() at common/build-style/cargo.sh:22
```
any idea on what could be causing this?
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (11 preceding siblings ...)
2024-03-04 11:38 ` aryalaadi
@ 2024-04-30 19:24 ` someone13574
2024-05-01 4:30 ` aryalaadi
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: someone13574 @ 2024-04-30 19:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2522 bytes --]
New comment by someone13574 on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-2086778047
Comment:
> ok ive managed to get the package to build after i created the full source archive myself (ive requested the upstream to provide the archive on every release) with something like this
>
> ```
> pkgname=zed
> version=0.124.8
> revision=1
> build_style=cargo
> hostmakedepends="pkg-config python3 cargo"
> makedepends="alsa-lib-devel libzstd-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
> depends="alsa-lib libzstd fontconfig wayland libxkbcommon libxkbcommon-x11 openssl"
> short_desc="High-performance, multiplayer code editor"
> maintainer="aryalaadi <aryalaadi123@gmail.com>"
> license="GPL-3.0"
> homepage="https://github.com/zed-industries/zed"
> distfiles="http://localhost:8000/zed.tar.gz"
> checksum=a45d80c9c68e8aa232490ea3bfe00712e8e296d606ed37d83f1875a693e46654
> ```
>
> but after it was done compiling i got this error
>
> ```
> error: found a virtual manifest at `/builddir/zed-0.124.8/Cargo.toml` instead of a package manifest
> => ERROR: zed-0.124.8_1: do_install: '${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" --offline --locked ${configure_args} ${make_install_args}' exited with 101
> => ERROR: in do_install() at common/build-style/cargo.sh:22
> ```
>
> any idea on what could be causing this?
Here's a working template I made:
```
# Template file for 'zed'
pkgname=zed
version=0.132.4
revision=1
build_style=cargo
make_install_args="--path crates/zed"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel fontconfig-devel libxcb-devel libxkbcommon-devel libzstd-devel openssl-devel wayland-devel libgit2-devel"
short_desc="High-performance, multiplayer code editor"
maintainer="Owen Law <owenlaw222@gmail.com>"
license="AGPL-3.0-or-later, GPL-3.0-or-later, Apache-2.0"
homepage="https://zed.dev/"
_protocol=1.1.2
distfiles="https://github.com/zed-industries/zed/archive/refs/tags/v${version}.tar.gz
https://github.com/livekit/protocol/archive/refs/tags/v${_protocol}.tar.gz>protocol-v${_protocol}.tar.gz"
checksum="e9b0d3079b331114f2dbfb99a23cf7af79d67b9ca9ae94b128953a7654e39cb2
9e3dac3be15f896a6602a4fac12c91286e3b97834ef3e17e3aa69fc592d80761"
skip_extraction="protocol-v${_protocol}.tar.gz"
post_extract() {
vsrcextract -C crates/live_kit_server/protocol "protocol-v${_protocol}.tar.gz"
vlicense LICENSE-AGPL
}
```
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (12 preceding siblings ...)
2024-04-30 19:24 ` someone13574
@ 2024-05-01 4:30 ` aryalaadi
2024-05-01 5:19 ` someone13574
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: aryalaadi @ 2024-05-01 4:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3046 bytes --]
New comment by aryalaadi on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-2087960452
Comment:
feel free to make a new pr, ive given up on this
On Wed, 1 May 2024, 1:09 am Owen Law, ***@***.***> wrote:
> ok ive managed to get the package to build after i created the full source
> archive myself (ive requested the upstream to provide the archive on every
> release) with something like this
>
> pkgname=zed
> version=0.124.8
> revision=1
> build_style=cargo
> hostmakedepends="pkg-config python3 cargo"
> makedepends="alsa-lib-devel libzstd-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel"
> depends="alsa-lib libzstd fontconfig wayland libxkbcommon libxkbcommon-x11 openssl"
> short_desc="High-performance, multiplayer code editor"
> maintainer="aryalaadi ***@***.***>"
> license="GPL-3.0"
> homepage="https://github.com/zed-industries/zed"
> distfiles="http://localhost:8000/zed.tar.gz"
> checksum=a45d80c9c68e8aa232490ea3bfe00712e8e296d606ed37d83f1875a693e46654
>
> but after it was done compiling i got this error
>
> error: found a virtual manifest at `/builddir/zed-0.124.8/Cargo.toml` instead of a package manifest
> => ERROR: zed-0.124.8_1: do_install: '${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" --offline --locked ${configure_args} ${make_install_args}' exited with 101
> => ERROR: in do_install() at common/build-style/cargo.sh:22
>
> any idea on what could be causing this?
>
> Here's a working template I made:
>
> # Template file for 'zed'
> pkgname=zed
> version=0.132.4
> revision=1
> build_style=cargo
> make_install_args="--path crates/zed"
> hostmakedepends="pkg-config"
> makedepends="alsa-lib-devel fontconfig-devel libxcb-devel libxkbcommon-devel libzstd-devel openssl-devel wayland-devel libgit2-devel"
> short_desc="High-performance, multiplayer code editor"
> maintainer="Owen Law ***@***.***>"
> license="AGPL-3.0-or-later, GPL-3.0-or-later, Apache-2.0"
> homepage="https://zed.dev/"
> _protocol=1.1.2
> distfiles="https://github.com/zed-industries/zed/archive/refs/tags/v${version}.tar.gz
> https://github.com/livekit/protocol/archive/refs/tags/v${_protocol}.tar.gz>protocol-v${_protocol}.tar.gz"
> checksum="e9b0d3079b331114f2dbfb99a23cf7af79d67b9ca9ae94b128953a7654e39cb2
> 9e3dac3be15f896a6602a4fac12c91286e3b97834ef3e17e3aa69fc592d80761"
>
> skip_extraction="protocol-v${_protocol}.tar.gz"
>
> post_extract() {
> vsrcextract -C crates/live_kit_server/protocol "protocol-v${_protocol}.tar.gz"
> vlicense LICENSE-AGPL
> }
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/void-linux/void-packages/pull/49019#issuecomment-2086778047>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BBZNKIFU34FU5OD3XAXSRGLY77VYPAVCNFSM6AAAAABEB2K5ZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBWG43TQMBUG4>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (13 preceding siblings ...)
2024-05-01 4:30 ` aryalaadi
@ 2024-05-01 5:19 ` someone13574
2024-05-14 0:43 ` Vaelatern
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: someone13574 @ 2024-05-01 5:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 294 bytes --]
New comment by someone13574 on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-2087992620
Comment:
Given that upstream for Linux isn’t stable (or even in beta for that matter), I don’t think a PR is needed at the moment as it will go nowhere.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (14 preceding siblings ...)
2024-05-01 5:19 ` someone13574
@ 2024-05-14 0:43 ` Vaelatern
2024-05-14 0:43 ` Vaelatern
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2024-05-14 0:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
New comment by Vaelatern on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-2109063486
Comment:
I'm personally interested in this. It so happens the latest zed dropped the gitmodules, so that's cool.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (15 preceding siblings ...)
2024-05-14 0:43 ` Vaelatern
@ 2024-05-14 0:43 ` Vaelatern
2024-05-14 2:31 ` someone13574
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2024-05-14 0:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
New comment by Vaelatern on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-2109063486
Comment:
I'm personally interested in this. It so happens the latest zed dropped the gitmodules, so that's cool. I may finish this work.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (16 preceding siblings ...)
2024-05-14 0:43 ` Vaelatern
@ 2024-05-14 2:31 ` someone13574
2024-05-23 22:24 ` [PR PATCH] [Closed]: " Vaelatern
2024-05-23 22:24 ` Vaelatern
19 siblings, 0 replies; 21+ messages in thread
From: someone13574 @ 2024-05-14 2:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
New comment by someone13574 on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-2109160661
Comment:
> I'm personally interested in this. It so happens the latest zed dropped the gitmodules, so that's cool. I may finish this work.
Feel free to take the template I made above. All you really need to do is update the version number, cut out the `protocol` stuff, and update the hashes.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PR PATCH] [Closed]: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (17 preceding siblings ...)
2024-05-14 2:31 ` someone13574
@ 2024-05-23 22:24 ` Vaelatern
2024-05-23 22:24 ` Vaelatern
19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2024-05-23 22:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
There's a closed pull request on the void-packages repository
poc zed package template
https://github.com/void-linux/void-packages/pull/49019
Description:
proof of concept void package template for the zed text editor
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: poc zed package template
2024-03-01 13:57 [PR PATCH] poc zed package template aryalaadi
` (18 preceding siblings ...)
2024-05-23 22:24 ` [PR PATCH] [Closed]: " Vaelatern
@ 2024-05-23 22:24 ` Vaelatern
19 siblings, 0 replies; 21+ messages in thread
From: Vaelatern @ 2024-05-23 22:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 258 bytes --]
New comment by Vaelatern on void-packages repository
https://github.com/void-linux/void-packages/pull/49019#issuecomment-2128136765
Comment:
#50476 is pretty far along. I'm going to wait for that to merge. Closing this, thank you for the initial legwork!
^ permalink raw reply [flat|nested] 21+ messages in thread