Github messages for voidlinux
 help / color / mirror / Atom feed
From: SpidFightFR <SpidFightFR@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: zed-0.138.6
Date: Fri, 14 Jun 2024 08:14:18 +0200	[thread overview]
Message-ID: <20240614061418.C5ADD28C5A@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50476@inbox.vuxu.org>

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

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

https://github.com/SpidFightFR/void-packages zed-voidlinux
https://github.com/void-linux/void-packages/pull/50476

New package: zed-0.138.6
<!-- 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**



#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x64-musl
-->

Just me making a PR for Zed, it's evolving fast, the PR is not ready, but the template does work. This PR's purpose is for others to keep track of the tests i'm doing.

Take care, i'm all ears for suggestions of course. :v:

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

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

From e730d67fc693aea9ca7b8b21eab144fca383ce5c Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight@swisscows.email>
Date: Mon, 20 May 2024 19:43:38 +0200
Subject: [PATCH] New package: zed-0.139.3

---
 .../0001-tweak-default-conf-for-privacy.patch | 39 +++++++++++++++++++
 srcpkgs/zed/template                          | 27 +++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 srcpkgs/zed/patches/0001-tweak-default-conf-for-privacy.patch
 create mode 100644 srcpkgs/zed/template

diff --git a/srcpkgs/zed/patches/0001-tweak-default-conf-for-privacy.patch b/srcpkgs/zed/patches/0001-tweak-default-conf-for-privacy.patch
new file mode 100644
index 00000000000000..fd09df07d2a23a
--- /dev/null
+++ b/srcpkgs/zed/patches/0001-tweak-default-conf-for-privacy.patch
@@ -0,0 +1,39 @@
+diff --git a/assets/settings/initial_user_settings.json b/assets/settings/initial_user_settings.json
+index 75d4a02..df0f7c5 100644
+--- a/assets/settings/initial_user_settings.json
++++ b/assets/settings/initial_user_settings.json
+@@ -7,6 +7,33 @@
+ // custom settings, run the `open default settings` command
+ // from the command palette or from `Zed` application menu.
+ {
++  //default font size for text in the UI
+   "ui_font_size": 16,
+-  "buffer_font_size": 16
++
++  //default font size fr text in the editor
++  "buffer_font_size": 16,
++
++    // Features that can be globally enabled or disabled
++  "features": {
++    // Disable copilot by default.
++    "copilot": false,
++    "inline_completion_provider": "none"
++  },
++  "assistant": {
++    // Version of this setting.
++    "version": "1",
++    // Whether the assistant is enabled.
++    "enabled": false
++  },
++  // Control what info is collected by Zed.
++  "telemetry": {
++    // Don't send debug info like crash reports.
++    "diagnostics": false,
++    // Don't send anonymized usage data like what languages you're using Zed with.
++    "metrics": false
++  },
++  // Settings specific to journaling
++  "journal": {
++    "hour_format": "hour24"
++  }
+ }
diff --git a/srcpkgs/zed/template b/srcpkgs/zed/template
new file mode 100644
index 00000000000000..feecbb2fdb05df
--- /dev/null
+++ b/srcpkgs/zed/template
@@ -0,0 +1,27 @@
+# Template file for 'zed'
+pkgname=zed
+version=0.139.3
+revision=1
+archs="x86_64* aarch64*"
+build_style=cargo
+make_install_args="--path crates/zed"
+hostmakedepends="pkg-config protobuf gettext"
+makedepends="alsa-lib-devel fontconfig-devel libxcb-devel libxkbcommon-devel
+libzstd-devel wayland-devel vulkan-loader openssl-devel libgit2-devel"
+depends="git"
+checkdepends="noto-fonts-ttf"
+short_desc="High-performance, multiplayer code editor"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later, Apache-2.0, AGPL-3.0-or-later"
+homepage="https://zed.dev/"
+distfiles="https://github.com/zed-industries/zed/archive/v${version}.tar.gz"
+checksum="cd15f80c95ec4c33cbe821ff70e64c3922d1187fa13ac894a8049b615cad2e4f"
+
+post_install() {
+	vlicense ${wrksrc}/LICENSE-AGPL
+	APP_NAME="Zed" DO_STARTUP_NOTIFY="true" APP_ICON="zed" envsubst < ${wrksrc}/crates/zed/resources/zed.desktop.in > ${wrksrc}/crates/zed/resources/zed.desktop
+	sed -i "s/TryExec=zed/TryExec=Zed/" ${wrksrc}/crates/zed/resources/zed.desktop;
+	sed -i "s/Exec=zed/Exec=Zed/" ${wrksrc}/crates/zed/resources/zed.desktop;
+	vinstall ${wrksrc}/crates/zed/resources/zed.desktop 644 usr/share/applications/
+	vinstall ${wrksrc}/crates/zed/resources/app-icon.png 644 usr/share/icons/hicolor/512x512/apps/ zed.png
+}

  parent reply	other threads:[~2024-06-14  6:14 UTC|newest]

Thread overview: 183+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22 19:05 [PR PATCH] New package: zed-0.135.2 SpidFightFR
2024-05-22 19:06 ` SpidFightFR
2024-05-22 19:13 ` SpidFightFR
2024-05-22 19:21 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-22 19:23 ` SpidFightFR
2024-05-22 19:26 ` [PR PATCH] [Updated] New package: Zed-0.136.2 SpidFightFR
2024-05-22 19:27 ` SpidFightFR
2024-05-22 19:32 ` SpidFightFR
2024-05-22 20:03 ` SpidFightFR
2024-05-22 20:38 ` [PR REVIEW] " Calandracas606
2024-05-22 20:41 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-22 21:28 ` SpidFightFR
2024-05-22 21:31 ` [PR REVIEW] " SpidFightFR
2024-05-23  1:05 ` classabbyamp
2024-05-23 17:31 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-23 17:32 ` [PR REVIEW] " SpidFightFR
2024-05-23 17:39 ` classabbyamp
2024-05-23 17:39 ` classabbyamp
2024-05-23 17:49 ` SpidFightFR
2024-05-23 17:50 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-23 17:52 ` [PR REVIEW] " SpidFightFR
2024-05-23 17:57 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-23 19:29 ` SpidFightFR
2024-05-23 19:29 ` SpidFightFR
2024-05-23 19:33 ` SpidFightFR
2024-05-23 19:34 ` SpidFightFR
2024-05-23 19:36 ` SpidFightFR
2024-05-23 19:36 ` SpidFightFR
2024-05-23 19:57 ` SpidFightFR
2024-05-23 20:09 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-23 20:12 ` SpidFightFR
2024-05-23 20:16 ` Calandracas606
2024-05-23 20:24 ` meator
2024-05-23 20:25 ` classabbyamp
2024-05-23 20:43 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-23 20:48 ` SpidFightFR
2024-05-23 20:55 ` [PR REVIEW] " someone13574
2024-05-23 20:58 ` SpidFightFR
2024-05-23 21:06 ` Calandracas606
2024-05-23 21:07 ` someone13574
2024-05-23 21:22 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-23 21:25 ` [PR REVIEW] " someone13574
2024-05-23 21:26 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-23 21:27 ` SpidFightFR
2024-05-23 21:27 ` [PR REVIEW] " SpidFightFR
2024-05-23 21:27 ` SpidFightFR
2024-05-23 21:28 ` SpidFightFR
2024-05-24 14:40 ` someone13574
2024-05-24 14:40 ` someone13574
2024-05-24 14:51 ` someone13574
2024-05-24 15:27 ` SpidFightFR
2024-05-24 17:27 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-24 17:29 ` SpidFightFR
2024-05-24 17:36 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-24 17:36 ` SpidFightFR
2024-05-24 17:44 ` someone13574
2024-05-24 17:52 ` [PR REVIEW] " someone13574
2024-05-24 18:09 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-24 22:43 ` SpidFightFR
2024-05-24 22:46 ` SpidFightFR
2024-05-24 22:47 ` SpidFightFR
2024-05-24 23:57 ` New package: zed-0.136.2 SpidFightFR
2024-05-25  0:00 ` [PR REVIEW] " classabbyamp
2024-05-25  0:02 ` someone13574
2024-05-25  0:05 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-25  0:06 ` [PR REVIEW] " SpidFightFR
2024-05-25  0:06 ` SpidFightFR
2024-05-25  0:20 ` Calandracas606
2024-05-25  0:27 ` Calandracas606
2024-05-25  0:29 ` Calandracas606
2024-05-25  0:33 ` someone13574
2024-05-25  0:40 ` Calandracas606
2024-05-25  0:40 ` someone13574
2024-05-25  0:40 ` someone13574
2024-05-25  0:43 ` someone13574
2024-05-25  7:16 ` SpidFightFR
2024-05-25  7:44 ` SpidFightFR
2024-05-25 12:53 ` someone13574
2024-05-25 19:37 ` AnInternetTroll
2024-05-25 19:59 ` someone13574
2024-05-25 21:49 ` AnInternetTroll
2024-05-29 21:20 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-31 18:35 ` [PR PATCH] [Updated] New package: zed-0.137.3 SpidFightFR
2024-06-04 11:11 ` someone13574
2024-06-04 14:13 ` SpidFightFR
2024-06-04 16:45 ` AnInternetTroll
2024-06-04 17:28 ` someone13574
2024-06-04 18:14 ` someone13574
2024-06-04 18:18 ` SpidFightFR
2024-06-04 18:19 ` SpidFightFR
2024-06-04 18:22 ` someone13574
2024-06-04 18:25 ` SpidFightFR
2024-06-04 18:32 ` someone13574
2024-06-04 18:35 ` someone13574
2024-06-04 18:41 ` SpidFightFR
2024-06-04 20:14 ` someone13574
2024-06-04 20:14 ` someone13574
2024-06-04 20:14 ` someone13574
2024-06-04 20:24 ` SpidFightFR
2024-06-04 20:26 ` SpidFightFR
2024-06-04 20:50 ` someone13574
2024-06-04 22:56 ` someone13574
2024-06-04 22:57 ` someone13574
2024-06-04 22:58 ` someone13574
2024-06-04 23:38 ` Calandracas606
2024-06-05 21:08 ` [PR PATCH] [Updated] " SpidFightFR
2024-06-06  4:02 ` New package: zed-0.138.4 Calandracas606
2024-06-06  4:03 ` Calandracas606
2024-06-06 21:15 ` [PR PATCH] [Updated] " SpidFightFR
2024-06-07 23:20 ` SpidFightFR
2024-06-07 23:25 ` New package: zed-0.138.6 SpidFightFR
2024-06-07 23:25 ` SpidFightFR
2024-06-14  6:14 ` SpidFightFR [this message]
2024-06-14 11:06 ` [PR REVIEW] " someone13574
2024-06-14 16:40 ` SpidFightFR
2024-06-14 16:41 ` SpidFightFR
2024-06-14 16:57 ` Calandracas606
2024-06-14 17:03 ` someone13574
2024-06-14 17:20 ` AnInternetTroll
2024-06-14 17:30 ` someone13574
2024-06-14 17:33 ` someone13574
2024-06-14 18:03 ` [PR PATCH] [Updated] " SpidFightFR
2024-06-14 20:52 ` SpidFightFR
2024-06-14 21:47 ` someone13574
2024-06-19 19:34 ` SpidFightFR
2024-06-19 19:48 ` New package: zed-0.139.3 Calandracas606
2024-06-19 20:01 ` SpidFightFR
2024-06-19 20:24 ` SpidFightFR
2024-06-19 20:27 ` Calandracas606
2024-06-19 20:43 ` SpidFightFR
2024-06-19 20:58 ` SpidFightFR
2024-06-19 21:01 ` [PR PATCH] [Updated] " SpidFightFR
2024-06-26 19:32 ` New package: zed-0.140.5 SpidFightFR
2024-07-09 17:10 ` mikayla-maki
2024-07-09 17:11 ` mikayla-maki
2024-07-09 17:12 ` mikayla-maki
2024-07-09 17:12 ` mikayla-maki
2024-07-09 17:12 ` mikayla-maki
2024-07-09 17:14 ` mikayla-maki
2024-07-09 17:54 ` mikayla-maki
2024-07-10 21:35 ` Vaelatern
2024-07-10 22:50 ` someone13574
2024-07-11  4:34 ` SpidFightFR
2024-07-11  4:50 ` SpidFightFR
2024-08-05 15:18 ` [PR PATCH] [Updated] " SpidFightFR
2024-08-08  0:26 ` [PR PATCH] [Updated] New package: zed-0.146.5 SpidFightFR
2024-08-08  0:52 ` [PR PATCH] [Updated] New package: zed-0.147.2 SpidFightFR
2024-08-08  0:58 ` SpidFightFR
2024-08-08  1:34 ` someone13574
2024-08-08  1:35 ` someone13574
2024-08-08  1:37 ` someone13574
2024-08-08  1:41 ` Calandracas606
2024-08-08  1:43 ` Calandracas606
2024-08-08  2:12 ` SpidFightFR
2024-08-08  2:14 ` SpidFightFR
2024-08-08  3:48 ` Calandracas606
2024-08-08  9:46 ` [PR PATCH] [Updated] " SpidFightFR
2024-08-08 10:49 ` SpidFightFR
2024-08-08 10:59 ` Calandracas606
2024-08-08 11:21 ` SpidFightFR
2024-08-08 11:26 ` Calandracas606
2024-08-08 11:49 ` SpidFightFR
2024-08-20 21:02 ` [PR PATCH] [Updated] " SpidFightFR
2024-09-06 19:50 ` [PR PATCH] [Updated] New package: zed-0.149.3 SpidFightFR
2024-09-19 18:27 ` [PR PATCH] [Updated] New package: zed-0.151.2 SpidFightFR
2024-09-26 18:18 ` SpidFightFR
2024-09-26 18:20 ` SpidFightFR
2024-09-29 11:05 ` [PR PATCH] [Updated] " SpidFightFR
2024-10-05  9:33 ` SpidFightFR
2024-10-12  8:53 ` [PR PATCH] [Updated] New package: zed-0.155.2 SpidFightFR
2024-10-24 20:17 ` [PR PATCH] [Updated] New package: zed-0.156.1 SpidFightFR
2024-10-31 20:33 ` SpidFightFR
2024-10-31 20:35 ` New package: zed-0.159.6 SpidFightFR
2024-10-31 21:14 ` SpidFightFR
2024-11-09 12:48 ` [PR PATCH] [Updated] " SpidFightFR
2024-11-13 13:41 ` New package: zed-0.160.7 trizey
2024-11-13 14:45 ` someone13574
2024-11-13 21:32 ` [PR PATCH] [Updated] " SpidFightFR
2024-11-14  9:56 ` jansol
2024-11-14 12:03 ` jansol
2024-11-14 12:04 ` jansol
2024-11-16 12:28 ` [PR PATCH] [Updated] " SpidFightFR
2024-11-16 12:29 ` New package: zed-0.161.2 SpidFightFR

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=20240614061418.C5ADD28C5A@inbox.vuxu.org \
    --to=spidfightfr@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).