Re-installed graphics/cairo addon, same version, problem remains
Getting the shortcut script fixed not critical. I will attempt any
suggestions, but probably a deeper or more subtle thing than my
understanding. Will also look for local help and forward any useful
result. I'm not stuck on icewm, but trying to stay as simple as I can.
the libcairo I have and cddef from cairo.ijs
/usr/local/lib/cairo/libcairo-trace.a
/usr/local/lib/cairo/libcairo-trace.so
/usr/local/lib/libcairo-gobject.a
/usr/local/lib/libcairo-gobject.so
/usr/local/lib/libcairo-gobject.so.2
/usr/local/lib/libcairo-gobject.so.2.11704.0
/usr/local/lib/libcairo-script-interpreter.a
/usr/local/lib/libcairo-script-interpreter.so
/usr/local/lib/libcairo-script-interpreter.so.2
/usr/local/lib/libcairo-script-interpreter.so.2.11704.0
/usr/local/lib/libcairo.a
/usr/local/lib/libcairo.so
/usr/local/lib/libcairo.so.2
/usr/local/lib/libcairo.so.2.11704.0
)
cddef=: 4 : 0
y=. dtb (y i. ':'){.y
if. 0=#y do. '' return. end.
n=. y i. ' '
f=. n {. y
d=. (_2 * (<_2{.f) e. '_1';'_2';'_3') }. f
if. IFUNIX do.
p=. n }. y
else.
p=. (n+1) }. y
if. '>' = {.p do.
p=. ' >+', }.p
else.
p=. ' +', p
end.
end.
(f)=: (x,' ',d,p)&(15!:0)
''
)
On 6/30/23 03:45, bill lam wrote:
Please update the cairo addon first to see how it works.
The shortcut script is untested and needs to changed according to window
manager. I will check it later if I have time. Better if you can help to
fix it. Thanks.
On Fri, 30 Jun 2023 at 9:54 AM Benedict Archer <qpcr...@gmail.com> wrote:
FreeBSD 13.2 Release, icewm window manager
UNAME
FreeBSD
JVERSION
Engine: j9.4.2/j64/freebsd
Build: commercial/2023-04-10T01:17:01/clang-11-0-1/SLEEF=1
Library: 9.4.22
Qt IDE: 2.4.1/5.15.8(5.15.8)
Platform: FreeBSD 64
Installer: j9.4 install
InstallPath: /usr/home/benedict/Applications/j9.4
Contact: www.jsoftware.com
Q1.
Both doptim and plot in Demos produce this error message:
error in: demos_listbox_select
valence error in cddef
explicit definition has no monadic valence
(<libcairo) cddef each<;._2[0 :0
[-277] /usr/home/benedict/Applications/j9.4/addons/graphics/cairo/cairo.ijs
looking at graphics/cairo/cairo.ijs in addons it seems the if UNAME...
elseif... block at the top of
the file doesn't include UNAME for FreeBSD. Is that the problem?
Q2.
jqt9.4.desktop and jhs9.4.desktop work, but jc9.4.desktop only works if
invoked in an open termimal (xterm). I've tried several versions in
jc9.4desktop, some seem to flash an a terminal opening but immediately
closing. This is the present code that open jconsole when invoked in an
open terminal, but not otherwise:
[Desktop Entry] Version=1.0 Type=Application Terminal=false Name=jc9.4
Exec=xterm "/usr/home/benedict/Applications/j9.4/bin/jconsole"
Path=/home/benedict
Icon=/usr/home/benedict/Applications/j9.4/bin/icons/jgray.png
Embarrassed I can't solve this myself. What is the fix?
Apologies for two questions in a post; delighted that FreeBSD
installation is so easy now.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm