Package Details: texlab-git 5.12.0.r0.b4c5d27-1

Git Clone URL: https://aur.archlinux.org/texlab-git.git (read-only, click to copy)
Package Base: texlab-git
Description: An implementation of the Language Server Protocol for LaTeX
Upstream URL: https://github.com/latex-lsp/texlab
Licenses: MIT
Conflicts: texlab
Provides: texlab
Submitter: he-la
Maintainer: ralphptorres
Last Packager: ralphptorres
Votes: 1
Popularity: 0.014219
First Submitted: 2019-05-03 13:56 (UTC)
Last Updated: 2023-12-04 18:04 (UTC)

Dependencies (2)

Required by (5)

Sources (1)

Latest Comments

1 2 Next › Last »

ralphptorres commented on 2023-11-23 02:56 (UTC)

Oh, you're right. I tried that before but perhaps I did something wrong. Anyway, updated. Thanks! (i'm new to packaging; still learning :))

nightuser commented on 2023-11-22 18:24 (UTC) (edited on 2023-11-22 18:26 (UTC) by nightuser)

Hi @ralphptorres. You don't need an explicit mkdir since you're using install: just use the -t flag here, -D already takes care of creating missing directories.

install -Dm 644 -t "$pkgdir"/usr/share/doc/$_pkgname CHANGELOG.md README.md

mkdir might have some issues with non-standard umask.

ralphptorres commented on 2023-11-21 04:49 (UTC)

Was an oversight, should be okay now. Thanks for reporting.

elimik31 commented on 2023-11-20 13:30 (UTC) (edited on 2023-11-20 13:30 (UTC) by elimik31)

Currently installation fails for me with

install: target '/home/michael/.cache/paru/clone/texlab-git/pkg/texlab-git/usr/share/doc/texlab': No such file or directory

Did a completely cleanbuild with paru and also tried makepkg directly. I assume doc-installation is now opt-in, i.e. requires some extra parameter or command. My hotfix is just to comment out the doc installation in line 47 as I don't really need that, i.e.

diff --git a/PKGBUILD b/PKGBUILD
index 963fdad..95562d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -44,5 +44,5 @@ package() {
     cd "$srcdir"/$_pkgname
     install -Dm 755 -t "$pkgdir"/usr/bin target/release/$_pkgname
     install -Dm 644 -t "$pkgdir"/usr/share/licenses/$_pkgname LICENSE
-    install -Dm 644 CHANGELOG.md README.md "$pkgdir"/usr/share/doc/$_pkgname
+    # install -Dm 644 CHANGELOG.md README.md "$pkgdir"/usr/share/doc/$_pkgname
 }

But a proper fix would be to just add the command to build it in the first place

ralphptorres commented on 2023-11-16 08:39 (UTC)

Requiring extra/texlive-binextra (optionally or not) just for chktex is too much for users especially those who have minimal latex installation. Thus it would be hard to recommend it as an optional dependency.

Atman commented on 2023-10-04 12:37 (UTC)

Hi, texlab optionally uses chktex for linting, seemingly relying on the executable being in the PATH. Especially when using Tectonic as texlab's build system, this is likely not the case as chktex (as well as latexindent which can also be optionally used with texlab) is usually provided by extra/texlive-binextra.

Would adding extra/texlive-binextra as an optional dependency be reasonable?

byrongibby commented on 2021-07-26 08:25 (UTC)

PKGBUILD didn't seem to install the necessary toolchain? I manually installed rustup and ran rustup toolchain install stable in order to successfully complete the install.

PythonNut commented on 2019-09-13 02:34 (UTC)

Also depends on node and npm?

he-la commented on 2019-09-06 14:33 (UTC) (edited on 2020-06-28 09:49 (UTC) by he-la)

EDIT: The rust packaging situation seems to have stabilised somewhat and things should work as expected. A remaining issue is the incompatibility between the rust and the rustup package; if you do not want to install multiple versions of rust, feel free to change the make dependency to rust rather than rustup.

Hey everyone, sorry for the delay. I still cannot get a consistently successful build on all of my systems, but it works in a basic docker container and hence hopefully works for a lot of scenarios, so I decided to update the package regardless of the remaining issues. If you run into any issues and figure out how to resolve them, please shoot me a message. Alternatively, use the non-git "texlab" package from the aur.

efoerster commented on 2019-08-20 16:46 (UTC)

Hey, I have create a versioned AUR package (https://aur.archlinux.org/packages/texlab/) with the newest version. Feel free to adopt it.