texmacs-svn
The source uses SVN from a legitimate project-hosted repository (savannah.gnu.org), which is standard for development versions; the non-whitelisted URL is a false positive as savannah.gnu.org is a trusted GNU hosting platform, and the build is from official source code.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 90%): The source uses SVN from a legitimate project-hosted repository (savannah.gnu.org), which is standard for development versions; the non-whitelisted URL is a false positive as savannah.gnu.org is a trusted GNU hosting platform, and the build is from official source code.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:24
source=("${_pkgname}::svn://https://svn.savannah.gnu.org/svn/texmacs/trunk/src")
PKGBUILD
1 offending line(s) highlighted# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Contributor: Christopher Reimer <c.reimer1993@gmail.com>
# Contributor: wangjiezhe <wangjiezhe AT yandex DOT com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer: Hammer <topo20@protonmail.com>
pkgname=texmacs-svn
_pkgname=texmacs
pkgver=20260628.15558
pkgrel=1
pkgdesc="Free scientific text editor, inspired by TeX and GNU Emacs. WYSIWYG editor and CAS-interface."
arch=('x86_64')
url="http://www.texmacs.org/"
license=('GPL3')
depends=('perl' 'guile1.8' 'texlive-core' 'python' 'libxext' 'freetype2'
'qt6-svg' 'hicolor-icon-theme' 'gawk' 'aspell')
optdepends=('transfig: convert images using fig2ps'
'ghostscript: rendering ps files'
'imagemagick: convert images'
'inkscape: svg convertion'
'python-lxml: inkscape editting')
makedepends=('ghostscript' 'gcc' 'subversion')
source=("${_pkgname}::svn://https://svn.savannah.gnu.org/svn/texmacs/trunk/src")
sha256sums=('SKIP')
options=('!ccache')
provides=('texmacs')
conflicts=('texmacs')
LANG=C
pkgver() {
cd ${_pkgname}
svn info | awk '/Revision/{r=$2}/Date/{gsub(/-/,"");d=$4}END{print d"."r}'
}
prepare() {
cd ${_pkgname}
#sed -e 's/-Wno-deprecated-register//' -i src/CMakeLists.txt # Remove wrong flag on Linux
svn patch ../../00-emacs-override-active-region.patch
}
build() {
cd ${_pkgname}
# cmake -Bbuild \
# -DCMAKE_BUILD_TYPE=RELEASE \
# -DCMAKE_INSTALL_PREFIX=/usr
# autotools seems to have trouble with qt if QT_QPA_PLATFORM is not set:
# qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
# check XDG_SESSION_TYPE and set QT_QPA_PLATFORM correspondingly
# this problem disappears in later tests
./configure --prefix=/usr --with-guile=/usr/bin/guile-config1.8 \
CC=gcc CXX=g++ QMAKE=/usr/bin/qmake6
make clean
make -j8
}
package() {
cd ${_pkgname}
make DESTDIR="$pkgdir" install
install -D -m 644 "$pkgdir"/usr/share/TeXmacs/misc/mime/texmacs.xml "$pkgdir"/usr/share/mime/packages/texmacs.xml
install -D -m 644 "$pkgdir"/usr/share/TeXmacs/misc/mime/texmacs.desktop "$pkgdir"/usr/share/applications/texmacs.desktop
#sed -i 's/texmacs.bin/texmacs.bin -platform xcb/' "$pkgdir"/usr/bin/texmacs
# fix fig2ps script
#sed -i 's|${prefix}|/usr|' "$pkgdir"/usr/bin/fig2ps
# fix FS#37518
#sed -i '/^Path=/d' "$pkgdir"/usr/share/applications/texmacs.desktop
}
# vim:set ts=2 sw=2 et:
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |