From: zen0bit <zen0bit@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: lapce 0.2.5
Date: Sat, 31 Dec 2022 19:19:26 +0100 [thread overview]
Message-ID: <20221231181926.KQ2K3tjkdjk9-FWLjFTfqXYphGmD4tcoeOSMFRgKZNQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40970@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
There is an updated pull request by zen0bit against master on the void-packages repository
https://github.com/oSoWoSo/VUR lapce
https://github.com/void-linux/void-packages/pull/40970
New package: lapce 0.2.5
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture x64 glibc and cross build for aarch64
A patch file from https://github.com/void-linux/void-packages/pull/40970.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lapce-40970.patch --]
[-- Type: text/x-diff, Size: 4341 bytes --]
From 4a16a6be62791bef36d07eb9da91dd0f0cd49856 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 | 30 +++++++++++++++++++
srcpkgs/lapce/update | 2 ++
4 files changed, 57 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..9f92a731c11a
--- /dev/null
+++ b/srcpkgs/lapce/template
@@ -0,0 +1,30 @@
+# Template file for 'lapce'
+pkgname=lapce
+version=0.2.5
+revision=1
+archs="aarch64 x86_64" # limited by rust/cargo
+build_style=cargo
+hostmakedepends="cmake 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
+
+do_install() {
+ : ${make_cmd:=cargo auditable}
+ : ${make_install_args:=--path .}
+
+ ${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
+ --offline --locked ${configure_args} ${make_install_args}
+
+ rm -f "${DESTDIR}"/usr/.crates.toml
+ rm -f "${DESTDIR}"/usr/.crates2.json
+
+ 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"
next prev parent reply other threads:[~2022-12-31 18:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-08 0:49 [PR PATCH] New package: lapce 0.2.4 zen0bit
2022-12-22 21:50 ` [PR PATCH] [Updated] " zen0bit
2022-12-22 21:51 ` zen0bit
2022-12-27 18:10 ` [PR PATCH] [Updated] New package: lapce 0.2.5 zen0bit
2022-12-27 18:12 ` zen0bit
2022-12-27 18:16 ` zen0bit
2022-12-27 19:37 ` zen0bit
2022-12-27 19:52 ` zen0bit
2022-12-27 20:26 ` zen0bit
2022-12-27 20:28 ` zen0bit
2022-12-27 21:01 ` zen0bit
2022-12-28 15:05 ` jonpikum
2022-12-28 15:35 ` [PR REVIEW] " paper42
2022-12-28 15:35 ` paper42
2022-12-28 15:35 ` paper42
2022-12-30 3:47 ` [PR PATCH] [Updated] " zen0bit
2022-12-31 1:48 ` zen0bit
2022-12-31 18:19 ` zen0bit [this message]
2022-12-31 18:20 ` zen0bit
2022-12-31 18:20 ` [PR PATCH] [Closed]: " zen0bit
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=20221231181926.KQ2K3tjkdjk9-FWLjFTfqXYphGmD4tcoeOSMFRgKZNQ@z \
--to=zen0bit@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).