texmacs-svn

LOW
maintainer hammer 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
Medium source=() URL on a non-standard host 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
1# Contributor: Ronald van Haren <ronald.archlinux.org>
2# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
3# Contributor: Christopher Reimer <c.reimer1993@gmail.com>
4# Contributor: wangjiezhe <wangjiezhe AT yandex DOT com>
5# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
6# Maintainer: Hammer <topo20@protonmail.com>
7
8pkgname=texmacs-svn
9_pkgname=texmacs
10pkgver=20260628.15558
11pkgrel=1
12pkgdesc="Free scientific text editor, inspired by TeX and GNU Emacs. WYSIWYG editor and CAS-interface."
13arch=('x86_64')
14url="http://www.texmacs.org/"
15license=('GPL3')
16depends=('perl' 'guile1.8' 'texlive-core' 'python' 'libxext' 'freetype2'
17 'qt6-svg' 'hicolor-icon-theme' 'gawk' 'aspell')
18optdepends=('transfig: convert images using fig2ps'
19 'ghostscript: rendering ps files'
20 'imagemagick: convert images'
21 'inkscape: svg convertion'
22 'python-lxml: inkscape editting')
23makedepends=('ghostscript' 'gcc' 'subversion')
24source=("${_pkgname}::svn://https://svn.savannah.gnu.org/svn/texmacs/trunk/src")
25sha256sums=('SKIP')
26options=('!ccache')
27provides=('texmacs')
28conflicts=('texmacs')
29LANG=C
30
31pkgver() {
32 cd ${_pkgname}
33 svn info | awk '/Revision/{r=$2}/Date/{gsub(/-/,"");d=$4}END{print d"."r}'
34}
35
36prepare() {
37 cd ${_pkgname}
38 #sed -e 's/-Wno-deprecated-register//' -i src/CMakeLists.txt # Remove wrong flag on Linux
39
40 svn patch ../../00-emacs-override-active-region.patch
41}
42
43build() {
44 cd ${_pkgname}
45
46 # cmake -Bbuild \
47 # -DCMAKE_BUILD_TYPE=RELEASE \
48 # -DCMAKE_INSTALL_PREFIX=/usr
49
50 # autotools seems to have trouble with qt if QT_QPA_PLATFORM is not set:
51 # qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
52
53 # check XDG_SESSION_TYPE and set QT_QPA_PLATFORM correspondingly
54 # this problem disappears in later tests
55
56 ./configure --prefix=/usr --with-guile=/usr/bin/guile-config1.8 \
57 CC=gcc CXX=g++ QMAKE=/usr/bin/qmake6
58 make clean
59 make -j8
60}
61
62package() {
63 cd ${_pkgname}
64 make DESTDIR="$pkgdir" install
65
66 install -D -m 644 "$pkgdir"/usr/share/TeXmacs/misc/mime/texmacs.xml "$pkgdir"/usr/share/mime/packages/texmacs.xml
67 install -D -m 644 "$pkgdir"/usr/share/TeXmacs/misc/mime/texmacs.desktop "$pkgdir"/usr/share/applications/texmacs.desktop
68 #sed -i 's/texmacs.bin/texmacs.bin -platform xcb/' "$pkgdir"/usr/bin/texmacs
69
70 # fix fig2ps script
71 #sed -i 's|${prefix}|/usr|' "$pkgdir"/usr/bin/fig2ps
72 # fix FS#37518
73 #sed -i '/^Path=/d' "$pkgdir"/usr/share/applications/texmacs.desktop
74}
75
76# vim:set ts=2 sw=2 et:
77

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion