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.4
Date: Thu, 06 Jun 2024 23:15:40 +0200	[thread overview]
Message-ID: <20240606211540.EE0A52702B@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.4
<!-- 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: 3363 bytes --]

From 4ab7ec64397e8863cb756234b365c4f7ad3ce72c 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.138.4

---
 .../0001-tweak-default-conf-for-privacy.patch | 39 +++++++++++++++++++
 srcpkgs/zed/template                          | 25 ++++++++++++
 2 files changed, 64 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..afb7f2760a2833
--- /dev/null
+++ b/srcpkgs/zed/template
@@ -0,0 +1,25 @@
+# Template file for 'zed'
+pkgname=zed
+version=0.138.4
+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="78eff0eec799820d07e7bcd13246612e541492c90e848910d4d62e63788d6952"
+
+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
+	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-06 21:15 UTC|newest]

Thread overview: 133+ 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 ` SpidFightFR [this message]
2024-06-07 23:20 ` [PR PATCH] [Updated] " SpidFightFR
2024-06-07 23:25 ` New package: zed-0.138.6 SpidFightFR
2024-06-07 23:25 ` SpidFightFR
2024-06-14  6:14 ` [PR PATCH] [Updated] " SpidFightFR
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

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=20240606211540.EE0A52702B@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).