Package Details: texpresso-git r176.96d0599-2

Git Clone URL: https://aur.archlinux.org/texpresso-git.git (read-only, click to copy)
Package Base: texpresso-git
Description: Live rendering and error reporting for LaTeX
Upstream URL: https://github.com/let-def/texpresso
Licenses: MIT
Conflicts: texpresso
Provides: texpresso
Submitter: alerque
Maintainer: alerque
Last Packager: alerque
Votes: 3
Popularity: 0.000586
First Submitted: 2023-06-05 11:44 (UTC)
Last Updated: 2025-11-26 22:25 (UTC)

Dependencies (30)

Required by (0)

Sources (2)

Latest Comments

dmiranda commented on 2026-03-22 23:11 (UTC)

The package is broken and does not compile.

PLuS commented on 2026-03-12 10:22 (UTC)

texpresso removed the custom tectonic submodule.

I'm not sure if there are still unneeded dependencies, but I fixed the pkgbuild with this patch:

--- PKGBUILD.orig   2026-03-12 11:16:35.371278586 +0100
+++ PKGBUILD    2026-03-12 11:12:47.489558002 +0100
@@ -6,8 +6,8 @@

 pkgname=texpresso-git
 _pkgname=${pkgname%-git}
-pkgver=r176.96d0599
-pkgrel=2
+pkgver=r412.43b21d9
+pkgrel=1
 pkgdesc='Live rendering and error reporting for LaTeX'
 url="https://github.com/let-def/$_pkgname"
 arch=(x86_64)
@@ -27,28 +27,20 @@
          openjpeg2 # libopenjp2.so
          openssl libcrypto.so libssl.so
          sdl2 # libSDL2-2.0.so
+         tectonic
          zlib libz.so)
-makedepends=(cargo
-             git
+makedepends=(git
              libmupdf
              re2c)
 provides=("$_pkgname=$pkgver")
 conflicts=("$_pkgname")
 options=(!lto)
-source=("git+$url.git"
-        "$_pkgname-tonic::git+${url%/$_pkgname}/tectonic.git")
-sha256sums=('SKIP'
-            'SKIP')
+source=("git+$url.git")
+sha256sums=('SKIP')

 prepare() {
    cd "${pkgname%-git}"
    sed -i -e 's/fPIC"/fPIC -Wl,-z,now"/' Makefile
-   git submodule init
-   git config submodule.tectonic.url "$srcdir/$_pkgname-tonic"
-   git -C tectonic config submodule.reference_sources.url "$srcdir/tectonic-staging" 
-   git -c protocol.file.allow=always submodule update --init
-   pushd tectonic
-   cargo fetch --locked --target "$(rustc --print host-tuple)"
 }

 pkgver() {
@@ -58,19 +50,18 @@

 build() {
    cd "${pkgname%-git}"
-   export CARGO_BUILD_FLAGS='--frozen --release --features external-harfbuzz'
    make config
    make all
 }

 check() {
    cd "${pkgname%-git}"
-   "./build/$_pkgname-tonic" test/simple.tex
+   "./build/$_pkgname-xetex" test/simple.tex
 }

 package() {
    cd "${pkgname%-git}"
-   install -Dm0755 -t "$pkgdir/usr/bin/" "build/$_pkgname"{,-tonic}
+   install -Dm0755 -t "$pkgdir/usr/bin/" "build/$_pkgname"{,-xetex}
    install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
    install -Dm0644 -t "$pkgdir/usr/share/emacs/site-lisp/" "emacs/$_pkgname.el"
 }

CrazyDiamond commented on 2026-03-03 11:42 (UTC) (edited on 2026-03-14 10:32 (UTC) by CrazyDiamond)

Each time mupdf updates, the texpresso binary has to be rebuilt, because it wants specific versions of the library. The maintainer should modify the PKGBUILD such, that when mupdf updates, the binary still works. Currently, the texpresso binary just searches for the version it wants, i.e., "libmupdf.so.27.1"---it shouldn't do this because as mentioned, the library gets "missing" each time it updates. Also: Trying to solve the issue by linking "libmupdf.so.27.1 → libmupdf.so" or "libmupdf.so.x.y" (newest version) causes a segfault.

alerque commented on 2023-06-05 18:20 (UTC)

PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using pacman without messing around with building from the AUR. Issue reports or contributions are welcome either in comments below or via this GitHub repository.