For anybody interested in fixing the lag issues before upstream PR 1870 merges, here is a patch you can apply with git am file.patch
that will build from that PR instead of the default branch and run a bit faster!
From a79582f6c083ef0ade2b876507fdbfb7dc011f02 Mon Sep 17 00:00:00 2001
From: Caleb Maclennan <caleb@alerque.com>
Date: Thu, 15 Jun 2023 12:39:31 +0300
Subject: [PATCH] Apply PR 1870 with render loop fixes
Signed-off-by: Caleb Maclennan <caleb@alerque.com>
---
.SRCINFO | 4 ++--
PKGBUILD | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.SRCINFO b/.SRCINFO
index 43b1544..aa4d1fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = neovide-git
pkgdesc = No Nonsense Neovim Client in Rust
- pkgver = 0.10.4.r17.gf412399
+ pkgver = 0.10.4.r43.g861fea2
pkgrel = 1
url = https://github.com/neovide/neovide
arch = x86_64
@@ -17,7 +17,7 @@ pkgbase = neovide-git
depends = neovim
depends = sndio
optdepends = vulkan-intel: vulkan support for intel
- provides = neovide=0.10.4.r17.gf412399
+ provides = neovide=0.10.4.r43.g861fea2
conflicts = neovide
source = neovide::git+https://github.com/neovide/neovide.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 0b8c370..bedcd4d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=neovide-git
_pkgname=${pkgname%-git}
-pkgver=0.10.4.r17.gf412399
+pkgver=0.10.4.r43.g861fea2
pkgrel=1
pkgdesc='No Nonsense Neovim Client in Rust'
arch=(x86_64)
@@ -30,6 +30,8 @@ sha256sums=('SKIP')
prepare() {
cd "$_pkgname"
+ git fetch origin pull/1870/head
+ git checkout -b 1870 FETCH_HEAD
sed -i -e '/^incremental/a opt-level = 3' Cargo.toml
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
--
2.41.0
Pinned Comments
peeweep commented on 2022-08-15 03:29 (UTC) (edited on 2022-08-15 03:29 (UTC) by peeweep)
If you encounter compilation errors, it may be caused by the rust version, please try to use devtools: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot.
The latest version build status can refer to: https://build.archlinuxcn.org/packages/#/neovide-git