[-- Attachment #1: Type: text/plain, Size: 670 bytes --] There is an updated pull request by simvux against master on the void-packages repository https://github.com/simvux/void-packages new-package-lapce https://github.com/void-linux/void-packages/pull/39261 New package: lapce #### 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, (x86_64-glibc) A patch file from https://github.com/void-linux/void-packages/pull/39261.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-new-package-lapce-39261.patch --] [-- Type: text/x-diff, Size: 1329 bytes --] From 797ae8e9fc22ebde4ac219c65cf71af0f5c17bc6 Mon Sep 17 00:00:00 2001 From: simvux <simon.larsson-general@protonmail.com> Date: Tue, 13 Sep 2022 18:53:17 +0200 Subject: [PATCH] add-lapce --- srcpkgs/lapce/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/lapce/template diff --git a/srcpkgs/lapce/template b/srcpkgs/lapce/template new file mode 100644 index 000000000000..939fca023e2f --- /dev/null +++ b/srcpkgs/lapce/template @@ -0,0 +1,19 @@ +# Template file for 'lapce' +pkgname=lapce +version=0.2.0 +revision=1 +build_style=cargo +hostmakedepends="cargo cmake pkg-config" +makedepends="expat fontconfig-devel freetype gtk+3-devel libxcb openssl-devel glib-devel cairo-devel atk-devel gdk-pixbuf-devel" +short_desc="Lighting-fast and powerful code editor" +maintainer="Simon <simon.larsson-general@protonmail.com>" +license="Apache-2.0" +homepage="https://lapce.dev" +distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" +checksum=163102244c6586530bc0f0736219d38a44797b2a6d97ad37d5f6553ffc8f1a04 + +post_install() { + vinstall extra/linux/dev.lapce.lapce.desktop 0644 usr/share/applications/ + vinstall extra/linux/dev.lapce.lapce.metainfo.xml 0644 usr/share/metainfo/ + vinstall extra/images/logo.png 0644 usr/share/pixmaps/dev.lapce.lapce.png +}
[-- Attachment #1: Type: text/plain, Size: 670 bytes --] There is an updated pull request by simvux against master on the void-packages repository https://github.com/simvux/void-packages new-package-lapce https://github.com/void-linux/void-packages/pull/39261 New package: lapce #### 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, (x86_64-glibc) A patch file from https://github.com/void-linux/void-packages/pull/39261.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-new-package-lapce-39261.patch --] [-- Type: text/x-diff, Size: 1344 bytes --] From 8d4645d20dd3fb3138129736a57e318a0e86565f Mon Sep 17 00:00:00 2001 From: simvux <simon.larsson-general@protonmail.com> Date: Tue, 13 Sep 2022 18:53:17 +0200 Subject: [PATCH] New package: lapce-0.2.0 --- srcpkgs/lapce/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/lapce/template diff --git a/srcpkgs/lapce/template b/srcpkgs/lapce/template new file mode 100644 index 000000000000..939fca023e2f --- /dev/null +++ b/srcpkgs/lapce/template @@ -0,0 +1,19 @@ +# Template file for 'lapce' +pkgname=lapce +version=0.2.0 +revision=1 +build_style=cargo +hostmakedepends="cargo cmake pkg-config" +makedepends="expat fontconfig-devel freetype gtk+3-devel libxcb openssl-devel glib-devel cairo-devel atk-devel gdk-pixbuf-devel" +short_desc="Lighting-fast and powerful code editor" +maintainer="Simon <simon.larsson-general@protonmail.com>" +license="Apache-2.0" +homepage="https://lapce.dev" +distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" +checksum=163102244c6586530bc0f0736219d38a44797b2a6d97ad37d5f6553ffc8f1a04 + +post_install() { + vinstall extra/linux/dev.lapce.lapce.desktop 0644 usr/share/applications/ + vinstall extra/linux/dev.lapce.lapce.metainfo.xml 0644 usr/share/metainfo/ + vinstall extra/images/logo.png 0644 usr/share/pixmaps/dev.lapce.lapce.png +}
[-- Attachment #1: Type: text/plain, Size: 1202 bytes --] There is a new 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: 2932 bytes --] From b948ee0758fdb005c495343f7e4ad9e9f83c47b2 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/tree-sitter-julia.patch | 13 +++++++++++++ srcpkgs/lapce/template | 14 ++++++++++++++ srcpkgs/lapce/update | 2 ++ 3 files changed, 29 insertions(+) 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/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..2c03974fcd82 --- /dev/null +++ b/srcpkgs/lapce/template @@ -0,0 +1,14 @@ +# Template file for 'lapce' +pkgname=lapce +version=0.2.5 +revision=1 +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 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"
[-- Attachment #1: Type: text/plain, Size: 446 bytes --] New comment by icp1994 on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1367995058 Comment: ``` # ppc64le: ring crate fails to build # armhf, armv7, x86: wasmer-vm crate fails to build (unsupported platform) # riscv64, s390x: blocked by rust/cargo arch="aarch64 x86_64" # limited by rust/cargo ``` From Alpine APKBUILD - there is also https://github.com/void-linux/void-packages/pull/40970
[-- Attachment #1: Type: text/plain, Size: 161 bytes --] New comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1368006192 Comment: duplicate of #40970
[-- Attachment #1: Type: text/plain, Size: 161 bytes --] New comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1368006192 Comment: duplicate of #40970
[-- 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: 4341 bytes --] From 1bfbc09a775dd417f852261e9751627b870596f6 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"
[-- Attachment #1: Type: text/plain, Size: 200 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1368087939 Comment: Fixed; added desktop description and icon to the installation.
[-- Attachment #1: Type: text/plain, Size: 213 bytes --] New comment by icp1994 on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1368269802 Comment: I think it should be: `archs="x86_64* aarch64*` since musl builds work.
[-- Attachment #1: Type: text/plain, Size: 300 bytes --] New review comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/41355#discussion_r1059674368 Comment: rust and cargo work on other arches, so this is better ```suggestion archs="aarch64 x86_64" # wasmer-vm crate fails to build (unsupported platform) ```
[-- Attachment #1: Type: text/plain, Size: 183 bytes --] New review comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/41355#discussion_r1059688740 Comment: ```suggestion post_install() { ```
[-- Attachment #1: Type: text/plain, Size: 199 bytes --] New review comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/41355#discussion_r1059689774 Comment: ```suggestion hostmakedepends="pkg-config" ```
[-- 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 db8a83a65807fb314685c76f1ab1daa5e7a40f55 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"
[-- Attachment #1: Type: text/plain, Size: 170 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1368700936 Comment: Added all the requested updates.
[-- 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"
[-- Attachment #1: Type: text/plain, Size: 259 bytes --] New review comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/41355#discussion_r1084489574 Comment: could you describe why this patch is necessary here before this line and possibly rename it to make it clearer?
[-- Attachment #1: Type: text/plain, Size: 219 bytes --] New review comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/41355#discussion_r1084488861 Comment: why is the original Icon not correct? Shouldn't it figure out the path?
[-- Attachment #1: Type: text/plain, Size: 299 bytes --] New review comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#discussion_r1084819937 Comment: I haven't tested if it can figure the path, but giving the correct path will certainly be faster. It cannot, however, find the extension, at least in xfce.
[-- Attachment #1: Type: text/plain, Size: 303 bytes --] New review comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#discussion_r1084819937 Comment: I haven't tested if it can figure out the path, but giving the correct path will certainly be faster. It cannot, however, find the extension, at least in xfce.
[-- 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: 4329 bytes --] From 620df78661e4c8a25008d6670cc69de5a9f1cf52 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 +++++++++++ .../fixed-ref-for-tree-sitter-julia.patch | 19 +++++++++++++++++ srcpkgs/lapce/template | 21 +++++++++++++++++++ srcpkgs/lapce/update | 2 ++ 4 files changed, 54 insertions(+) create mode 100644 srcpkgs/lapce/patches/desktop-icon.patch create mode 100644 srcpkgs/lapce/patches/fixed-ref-for-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/fixed-ref-for-tree-sitter-julia.patch b/srcpkgs/lapce/patches/fixed-ref-for-tree-sitter-julia.patch new file mode 100644 index 000000000000..5c14eb8e0ec7 --- /dev/null +++ b/srcpkgs/lapce/patches/fixed-ref-for-tree-sitter-julia.patch @@ -0,0 +1,19 @@ +Cargo compares if the included git branch is matching the saved checksum, +so we need to include the actual ref from the commit that was originally +used. + +Alex Lohr +--- +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"
[-- Attachment #1: Type: text/plain, Size: 149 bytes --] New review comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#discussion_r1084927633 Comment: Done.
[-- Attachment #1: Type: text/plain, Size: 211 bytes --] New comment by hervyqa on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1463331490 Comment: new release 0.2.6 https://github.com/lapce/lapce/releases/tag/v0.2.6
[-- Attachment #1: Type: text/plain, Size: 277 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1463546716 Comment: > new release 0.2.6 https://github.com/lapce/lapce/releases/tag/v0.2.6 Unfortunately, that requires rust-1.65.0; current is rust-1.64.0.
[-- Attachment #1: Type: text/plain, Size: 358 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1463546716 Comment: > new release 0.2.6 https://github.com/lapce/lapce/releases/tag/v0.2.6 Unfortunately, that requires rust-1.65.0; current is rust-1.64.0. 1.67.0 is being prepared: https://github.com/void-linux/void-packages/pull/42130
[-- Attachment #1: Type: text/plain, Size: 358 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1463546716 Comment: > new release 0.2.6 https://github.com/lapce/lapce/releases/tag/v0.2.6 Unfortunately, that requires rust-1.65.0; current is rust-1.64.0. 1.67.1 is being prepared: https://github.com/void-linux/void-packages/pull/42130
[-- Attachment #1: Type: text/plain, Size: 220 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1476815317 Comment: I've seen the 0.2.7 release. Unfortunately, the rust PR is still work in progress.
[-- Attachment #1: Type: text/plain, Size: 190 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1493379815 Comment: The rust PR is merged, so this will be updated soon.
[-- 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: 7225 bytes --] From 2b3bb8fc1de574bb8e513ddfc775e8d029cab4eb Mon Sep 17 00:00:00 2001 From: Alex Lohr <alexthkloss@web.de> Date: Thu, 29 Dec 2022 23:58:57 +0100 Subject: [PATCH 1/2] new package: lapce --- srcpkgs/lapce/patches/desktop-icon.patch | 12 +++++++++++ .../fixed-ref-for-tree-sitter-julia.patch | 19 +++++++++++++++++ srcpkgs/lapce/template | 21 +++++++++++++++++++ srcpkgs/lapce/update | 2 ++ 4 files changed, 54 insertions(+) create mode 100644 srcpkgs/lapce/patches/desktop-icon.patch create mode 100644 srcpkgs/lapce/patches/fixed-ref-for-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/fixed-ref-for-tree-sitter-julia.patch b/srcpkgs/lapce/patches/fixed-ref-for-tree-sitter-julia.patch new file mode 100644 index 000000000000..5c14eb8e0ec7 --- /dev/null +++ b/srcpkgs/lapce/patches/fixed-ref-for-tree-sitter-julia.patch @@ -0,0 +1,19 @@ +Cargo compares if the included git branch is matching the saved checksum, +so we need to include the actual ref from the commit that was originally +used. + +Alex Lohr +--- +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" From d6167c541a5e051829f2ce0953e49822b4bc6a8e Mon Sep 17 00:00:00 2001 From: Alex Lohr <alex.lohr@logmein.com> Date: Fri, 10 Mar 2023 10:56:11 +0100 Subject: [PATCH 2/2] lapce: update to 0.2.7 --- .../fixed-ref-for-tree-sitter-julia.patch | 19 ------------------- srcpkgs/lapce/template | 4 ++-- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/lapce/patches/fixed-ref-for-tree-sitter-julia.patch diff --git a/srcpkgs/lapce/patches/fixed-ref-for-tree-sitter-julia.patch b/srcpkgs/lapce/patches/fixed-ref-for-tree-sitter-julia.patch deleted file mode 100644 index 5c14eb8e0ec7..000000000000 --- a/srcpkgs/lapce/patches/fixed-ref-for-tree-sitter-julia.patch +++ /dev/null @@ -1,19 +0,0 @@ -Cargo compares if the included git branch is matching the saved checksum, -so we need to include the actual ref from the commit that was originally -used. - -Alex Lohr ---- -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 index 1e750369d449..208fd95a0bf5 100644 --- a/srcpkgs/lapce/template +++ b/srcpkgs/lapce/template @@ -1,6 +1,6 @@ # Template file for 'lapce' pkgname=lapce -version=0.2.5 +version=0.2.7 revision=1 archs="aarch64* x86_64*" # wasmer-vm crate fails to build (unsupported platform) build_style=cargo @@ -12,7 +12,7 @@ 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 +checksum=c4e0668bf98e83a8c451fe69173c51d8345511a1bd580c412750f3b940531c27 post_install() { vinstall extra/linux/dev.lapce.lapce.desktop 644 usr/share/applications/
[-- 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: 2550 bytes --] From 5cbd057d1f6ac2db277e43a71fe5f4258306b451 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/template | 21 +++++++++++++++++++++ srcpkgs/lapce/update | 2 ++ 3 files changed, 35 insertions(+) create mode 100644 srcpkgs/lapce/patches/desktop-icon.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/template b/srcpkgs/lapce/template new file mode 100644 index 000000000000..208fd95a0bf5 --- /dev/null +++ b/srcpkgs/lapce/template @@ -0,0 +1,21 @@ +# Template file for 'lapce' +pkgname=lapce +version=0.2.7 +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=c4e0668bf98e83a8c451fe69173c51d8345511a1bd580c412750f3b940531c27 + +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"
[-- Attachment #1: Type: text/plain, Size: 155 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1493414363 Comment: Updated to 0.2.7.
[-- Attachment #1: Type: text/plain, Size: 158 bytes --] New comment by tukanoidd on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1518718886 Comment: merge when? :)
[-- Attachment #1: Type: text/plain, Size: 193 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1523250658 Comment: @paper42, is there anything I still need to change/fix?
[-- 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: 2550 bytes --] From 792d9bf8a99bd970e0d0046521cb80bf5812e6c5 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/template | 21 +++++++++++++++++++++ srcpkgs/lapce/update | 2 ++ 3 files changed, 35 insertions(+) create mode 100644 srcpkgs/lapce/patches/desktop-icon.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/template b/srcpkgs/lapce/template new file mode 100644 index 000000000000..208fd95a0bf5 --- /dev/null +++ b/srcpkgs/lapce/template @@ -0,0 +1,21 @@ +# Template file for 'lapce' +pkgname=lapce +version=0.2.7 +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=c4e0668bf98e83a8c451fe69173c51d8345511a1bd580c412750f3b940531c27 + +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"
[-- 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: 2550 bytes --] From bb7322d8d95b59b54ebd5c5a839a2db09433d425 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/template | 21 +++++++++++++++++++++ srcpkgs/lapce/update | 2 ++ 3 files changed, 35 insertions(+) create mode 100644 srcpkgs/lapce/patches/desktop-icon.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/template b/srcpkgs/lapce/template new file mode 100644 index 000000000000..482b8b135fe9 --- /dev/null +++ b/srcpkgs/lapce/template @@ -0,0 +1,21 @@ +# Template file for 'lapce' +pkgname=lapce +version=0.2.8 +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=650b81c3dfbd727101111de60c208c191258fb27a96b1cec392afa7c0579a6ff + +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"
[-- Attachment #1: Type: text/plain, Size: 155 bytes --] New comment by atk on void-packages repository https://github.com/void-linux/void-packages/pull/41355#issuecomment-1576214429 Comment: Updated to 0.2.8.
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --] There's a merged pull request on the void-packages repository new package: lapce https://github.com/void-linux/void-packages/pull/41355 Description: <!-- 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 -->