Github messages for voidlinux
 help / color / mirror / Atom feed
From: atk <atk@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] new package: lapce
Date: Fri, 06 Jan 2023 11:17:53 +0100	[thread overview]
Message-ID: <20230106101753.hbcPuUZ-F85cCH2hZt10C1jISu6p9E3tLijUdJ2zRFI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41355@inbox.vuxu.org>

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

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

https://github.com/atk/void-packages lapce
https://github.com/void-linux/void-packages/pull/41355

new package: lapce
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- 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/41355.patch is attached

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

From f85c5e7a03b8d403fa3be674dd3461a6fc742d48 Mon Sep 17 00:00:00 2001
From: Alex Lohr <alexthkloss@web.de>
Date: Thu, 29 Dec 2022 23:58:57 +0100
Subject: [PATCH] new package: lapce

---
 srcpkgs/lapce/patches/desktop-icon.patch      | 12 +++++++++++
 srcpkgs/lapce/patches/tree-sitter-julia.patch | 13 ++++++++++++
 srcpkgs/lapce/template                        | 21 +++++++++++++++++++
 srcpkgs/lapce/update                          |  2 ++
 4 files changed, 48 insertions(+)
 create mode 100644 srcpkgs/lapce/patches/desktop-icon.patch
 create mode 100644 srcpkgs/lapce/patches/tree-sitter-julia.patch
 create mode 100644 srcpkgs/lapce/template
 create mode 100644 srcpkgs/lapce/update

diff --git a/srcpkgs/lapce/patches/desktop-icon.patch b/srcpkgs/lapce/patches/desktop-icon.patch
new file mode 100644
index 000000000000..484471b5441a
--- /dev/null
+++ b/srcpkgs/lapce/patches/desktop-icon.patch
@@ -0,0 +1,12 @@
+diff --git a/extra/linux/dev.lapce.lapce.desktop b/extra/linux/dev.lapce.lapce.desktop
+index 83f9c5cc..8d81cd87 100644
+--- a/extra/linux/dev.lapce.lapce.desktop
++++ b/extra/linux/dev.lapce.lapce.desktop
+@@ -6,6 +6,6 @@ Name=Lapce
+ Comment=Lightning-fast and powerful code editor written in Rust
+ Categories=Development;IDE;
+ 
+-Icon=dev.lapce.lapce
++Icon=/usr/share/icons/hicolor/scalable/apps/dev.lapce.lapce.svg
+ Exec=lapce
+ Terminal=false
diff --git a/srcpkgs/lapce/patches/tree-sitter-julia.patch b/srcpkgs/lapce/patches/tree-sitter-julia.patch
new file mode 100644
index 000000000000..d9a2cae347f0
--- /dev/null
+++ b/srcpkgs/lapce/patches/tree-sitter-julia.patch
@@ -0,0 +1,13 @@
+diff --git a/lapce-core/Cargo.toml b/lapce-core/Cargo.toml
+index ea788c0e..fa99d80b 100644
+--- a/lapce-core/Cargo.toml
++++ b/lapce-core/Cargo.toml
+@@ -50,7 +50,7 @@ tree-sitter-javascript = { version = "0.20.0", optional = true }
+ # new version cannot be published on crates.io - https://github.com/tree-sitter/tree-sitter-json/issues/21
+ # tree-sitter-json = { version = "0.19.0", optional = true }
+ tree-sitter-json = { git = "https://github.com/tree-sitter/tree-sitter-json.git", rev = "11e2cc12d9b267766fb11a06e52952792fd8e3f0", optional = true }
+-tree-sitter-julia = { git = "https://github.com/varlad/tree-sitter-julia", branch = "master", optional = true }
++tree-sitter-julia = { git = "https://github.com/varlad/tree-sitter-julia", rev = "09aba7f2e9149148cd42b9af17f52adbc9a5da90", optional = true }
+ tree-sitter-kotlin = { git = "https://github.com/fwcd/tree-sitter-kotlin", branch = "main", optional = true }
+ tree-sitter-latex = { git = "https://github.com/latex-lsp/tree-sitter-latex", branch = "master", optional = true }
+ tree-sitter-lua = { git = "https://github.com/syntacti/tree-sitter-lua", branch = "main", optional = true }
diff --git a/srcpkgs/lapce/template b/srcpkgs/lapce/template
new file mode 100644
index 000000000000..1e750369d449
--- /dev/null
+++ b/srcpkgs/lapce/template
@@ -0,0 +1,21 @@
+# Template file for 'lapce'
+pkgname=lapce
+version=0.2.5
+revision=1
+archs="aarch64* x86_64*" # wasmer-vm crate fails to build (unsupported platform)
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="fontconfig-devel gtk+3-devel openssl-devel"
+short_desc="Lightning-fast and powerful code editor"
+maintainer="Alex Lohr <alexthkloss@web.de>"
+license="Apache-2.0"
+homepage="https://lapce.dev/"
+changelog="https://github.com/lapce/lapce/releases"
+distfiles="https://github.com/lapce/lapce/archive/refs/tags/v${version}.tar.gz"
+checksum=3b8357653eda77b2c85306ba9f7202e539987ada4a7b5be2018b142bb23be7e4
+
+post_install() {
+	vinstall extra/linux/dev.lapce.lapce.desktop 644 usr/share/applications/
+	vinstall extra/linux/dev.lapce.lapce.metainfo.xml 644 usr/share/appdata/
+	vinstall extra/images/logo_color.svg 644 usr/share/icons/hicolor/scalable/apps/ dev.lapce.lapce.svg
+}
diff --git a/srcpkgs/lapce/update b/srcpkgs/lapce/update
new file mode 100644
index 000000000000..8f131b7b53cd
--- /dev/null
+++ b/srcpkgs/lapce/update
@@ -0,0 +1,2 @@
+site="https://github.com/lapce/lapce/releases"
+pattern="\bv\K(\d+\.\d+\.\d+)\b"

  parent reply	other threads:[~2023-01-06 10:17 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-29 23:12 [PR PATCH] " atk
2022-12-30 16:25 ` icp1994
2022-12-30 16:44 ` paper42
2022-12-30 16:45 ` paper42
2022-12-30 20:56 ` [PR PATCH] [Updated] " atk
2022-12-30 20:57 ` atk
2022-12-31 19:33 ` icp1994
2022-12-31 19:39 ` [PR REVIEW] " paper42
2022-12-31 23:43 ` paper42
2023-01-01  0:00 ` paper42
2023-01-02  7:07 ` [PR PATCH] [Updated] " atk
2023-01-02  7:08 ` atk
2023-01-06 10:17 ` atk [this message]
2023-01-23 20:01 ` [PR REVIEW] " paper42
2023-01-23 20:01 ` paper42
2023-01-24  5:09 ` atk
2023-01-24  8:12 ` atk
2023-01-24  8:15 ` [PR PATCH] [Updated] " atk
2023-01-24  8:15 ` [PR REVIEW] " atk
2023-03-10  6:20 ` hervyqa
2023-03-10  9:51 ` atk
2023-03-10  9:53 ` atk
2023-03-10  9:55 ` atk
2023-03-20 19:26 ` atk
2023-04-02 16:02 ` atk
2023-04-02 18:52 ` [PR PATCH] [Updated] " atk
2023-04-02 18:53 ` atk
2023-04-02 18:53 ` atk
2023-04-22 18:05 ` tukanoidd
2023-04-26 11:20 ` atk
2023-05-13 17:25 ` [PR PATCH] [Updated] " atk
2023-06-03 21:43 ` atk
2023-06-05  7:29 ` atk
2023-06-24 12:46 ` [PR PATCH] [Merged]: " Duncaen
  -- strict thread matches above, loose matches on Subject: below --
2022-09-13 17:10 [PR PATCH] New " simvux
2022-09-13 18:44 ` [PR PATCH] [Updated] " simvux
2022-09-14 21:47 ` simvux

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=20230106101753.hbcPuUZ-F85cCH2hZt10C1jISu6p9E3tLijUdJ2zRFI@z \
    --to=atk@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).