uhulinux / ub-ubk4

4 stars 1 forks source link

texmacs #125

Closed attuska closed 4 months ago

attuska commented 4 months ago

Csak terminálból lenne indítható, de minek? Elindítva ez van:

attila@derp-x8664:~$ texmacs Welcome to TeXmacs 2.1.2


Installation completed successfully ! I will now start up the editor

;;; note: auto-compilation is enabled, set GUILE_AUTOCOMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /usr/share/TeXmacs/progs/kernel/boot/boot.scm ;;; WARNING: compilation of /usr/share/TeXmacs/progs/kernel/boot/boot.scm failed: ;;; ERROR: Syntax error: ;;; kernel/boot/boot.scm:56:4: definition in expression context, where definitions are not allowed, in form (define-syntax define-public-macro (lambda (y) #f #((macro-type . defmacro) (defmacro-args args)) (syntax-case y () (( . args) (let ((v (syntax->datum (syntax args)))) (datum->syntax y (apply (lambda (head . body) (quasiquote (define-public (unquote (car head)) (procedure->memoizing-macro (lambda (cmd env) (apply (lambda (unquote (cdr head)) (unquote-splicing body)) (cdr cmd))))))) v))))))) ice-9/psyntax.scm:1275:12: In procedure #<procedure 7f20af486aa0 (test then)>: ice-9/psyntax.scm:1275:12: Syntax error: kernel/boot/boot.scm:56:4: definition in expression context, where definitions are not allowed, in form (define-syntax define-public-macro (lambda (y) #f #((macro-type . defmacro) (defmacro-args args)) (syntax-case y () ((_ . args) (let ((v (syntax->datum (syntax args)))) (datum->syntax y (apply (lambda (head . body) (quasiquote (define-public (unquote (car head)) (procedure->memoizing-macro (lambda (cmd env) (apply (lambda (unquote (cdr head)) (unquote-splicing body)) (cdr cmd))))))) v))))))) TeXmacs] With linked TrueType support Backtrace: In ice-9/boot-9.scm: 160: 11 [catch #t #<catch-closure 7f20b42a3bc0> ...] In unknown file: ?: 10 [apply-smob/1 #<catch-closure 7f20b42a3bc0>] In ice-9/boot-9.scm: 160: 9 [catch #t #<catch-closure 7f20af639a00> #<catch-closure 7f20af6399e0> #f] In unknown file: ?: 8 [apply-smob/1 #<catch-closure 7f20af639a00>] In ice-9/boot-9.scm: 174: 7 [with-throw-handler #t #<catch-closure 7f20af639920> ...] In unknown file: ?: 6 [apply-smob/1 #<catch-closure 7f20af639920>] In ice-9/eval.scm: 399: 5 [eval # ()] 387: 4 [eval # ()] 387: 3 [eval # ()] 386: 2 [eval #<memoized (current-buffer)> ()] 393: 1 [eval # ()] In unknown file: ?: 0 [memoize-variable-access! # #]

ERROR: In procedure memoize-variable-access!: ERROR: Unbound variable: current-buffer Throwing widget should be attached

Error message: widget should be attached

System information: TeXmacs version : 2.1.2 Built by : Building date : Sat Feb 4 03:00:12 UTC 2023 Operating system : linux-gnu Vendor : unknown Processor : @CONFIG_HOST_CPU@ Crash date : 2024. jún. 4., kedd, 08:09:08 CEST

TeXmacs does not yet have a current view Backtrace of C++ stack: texmacs.bin : () + 0xf25d44 texmacs.bin : () + 0x42ba2d texmacs.bin : () + 0xc1abac texmacs.bin : () + 0xc1b324 texmacs.bin : () + 0xc2419a texmacs.bin : () + 0xc24403 texmacs.bin : () + 0x2772d9 /usr/lib/libguile-2.0.so.22 : () + 0x8346d /usr/lib/libguile-2.0.so.22 : () + 0x5b7ba /usr/lib/libguile-2.0.so.22 : () + 0xf6c5e /usr/lib/libguile-2.0.so.22 : scm_call_4() + 0x43 /usr/lib/libguile-2.0.so.22 : scm_c_with_continuation_barrier() + 0x94 /usr/lib/libguile-2.0.so.22 : () + 0xddb93 /usr/lib/libgc.so.1 : GC_call_with_stack_base() + 0x25 /usr/lib/libguile-2.0.so.22 : scm_with_guile() + 0x38 /usr/lib/libguile-2.0.so.22 : scm_boot_guile() + 0x52 texmacs.bin : () + 0x251ded /usr/lib/libc.so.6 : () + 0x2354e /usr/lib/libc.so.6 : __libc_start_main() + 0x89 texmacs.bin : () + 0x275745


terminate called after throwing an instance of 'string' Félbeszakítva (core készült) attila@derp-x8664:~$

Így ez használhatatlan.

Desktopja sincs, mert a patkolt desktopot az install fájl le is törli:

!/bin/sh -eux

ub_install

rm -Rf $UB_INSTALLDIR/usr/include rm -Rf $UB_INSTALLDIR/usr/share/TeXmacs/misc/mime rm -f $UB_INSTALLDIR/usr/share/TeXmacs/{CMakeLists.txt,COPYING,INSTALL,LICENSE,README}

attuska commented 4 months ago

A legújabb verzió is, habár lefordul, hasonló hibába fut. A Cmake-val el kezd fordulni a guile-vel és a guile2.2-vel is, de guile hibába torkollik. A texlive is kellene majd a használatához. Szerintem ez a texmacs is egy őskövület, mely csak a csomagkészletünket terheli feleslegesen, senki nem használja, én kihajítanám a legszívesebben, a rendbetételével való bajlódás helyett.

attuska commented 4 months ago

Arch linuxnál is csak az AUR -ban van meg....

attuska commented 4 months ago

Rendberaktam. https://github.com/uhulinux/ub-ubk4/commit/ad3c84ffe7917b1c358f5998ab77f40c07ca336d https://github.com/uhulinux/ub-ubk4/commit/52df6e40e447690c497971fbb3ea0a78767f7606