texmacs-svn
maintainer hammer
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
8
pkgname=texmacs-svn
9
_pkgname=texmacs
10
pkgver=20260628.15558
11
pkgrel=1
12
pkgdesc="Free scientific text editor, inspired by TeX and GNU Emacs. WYSIWYG editor and CAS-interface."
13
arch=('x86_64')
14
url="http://www.texmacs.org/"
15
license=('GPL3')
16
depends=('perl' 'guile1.8' 'texlive-core' 'python' 'libxext' 'freetype2'
17
'qt6-svg' 'hicolor-icon-theme' 'gawk' 'aspell')
18
optdepends=('transfig: convert images using fig2ps'
19
'ghostscript: rendering ps files'
20
'imagemagick: convert images'
21
'inkscape: svg convertion'
22
'python-lxml: inkscape editting')
23
makedepends=('ghostscript' 'gcc' 'subversion')
24
source=("${_pkgname}::svn://https://svn.savannah.gnu.org/svn/texmacs/trunk/src")
25
sha256sums=('SKIP')
26
options=('!ccache')
27
provides=('texmacs')
28
conflicts=('texmacs')
29
LANG=C
30
31
pkgver() {
32
cd ${_pkgname}
33
svn info | awk '/Revision/{r=$2}/Date/{gsub(/-/,"");d=$4}END{print d"."r}'
34
}
35
36
prepare() {
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
43
build() {
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
62
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |