Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34145 - [texmacs] Please add optional dependencies: ghostscript, imagemagick

Attached to Project: Arch Linux
Opened by Alain Kalker (ackalker) - Monday, 04 March 2013, 19:22 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 14 May 2015, 07:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Please add optional dependencies on ghostscript (for rendering .ps files) and imagemagick (to convert between image formats).
More info here: http://www.texmacs.org/tmweb/download/packaging.en.html

If not installed, rendering .ps files will fail silently (warning shown only when texmacs is started from a terminal).
TeXmacs also tries running `convert`, with no error whatsoever when it fails.

* package version(s)
1.0.7.16-2
* config and/or log files etc.


Steps to reproduce:
[without ghostscript installed, backup or delete ${HOME}/.TeXmacs]
$ texmacs
[...]
TeXmacs] warning: cannot render /usr/share/TeXmacs/misc/images/tm_gnu1.ps
TeXmacs] warning: cannot render /usr/share/TeXmacs/misc/images/tm_gnu2.ps

[without imagemagick installed]
$ strace -o strace.out -f texmacs; grep convert strace.out
[...]
3139 stat("/usr/bin/convert", 0x7fff5e7c1830) = -1 ENOENT (No such file or directory)
3139 stat("/bin/convert", 0x7fff5e7c1830) = -1 ENOENT (No such file or directory)
3139 stat("/usr/local/sbin/convert", 0x7fff5e7c1830) = -1 ENOENT (No such file or directory)
3139 stat("/usr/sbin/convert", 0x7fff5e7c1830) = -1 ENOENT (No such file or directory)
3139 stat("/sbin/convert", 0x7fff5e7c1830) = -1 ENOENT (No such file or directory)
3139 stat("/usr/bin/core_perl/convert", 0x7fff5e7c1830) = -1 ENOENT (No such file or directory)
3139 stat("/usr/lib/qt4/bin/convert", 0x7fff5e7c1830) = -1 ENOENT (No such file or directory)
3139 write(2, "which: no convert in (/usr/lib/T"..., 156) = 156
[...]
This task depends upon

Closed by  Ronald van Haren (pressh)
Thursday, 14 May 2015, 07:32 GMT
Reason for closing:  Implemented
Additional comments about closing:  trunk
Comment by Alain Kalker (ackalker) - Monday, 04 March 2013, 19:34 GMT
I realize that it's too much to ask to add to optdepends every CAS, plotting package and programming language under the sun which TeXmacs supports, but please consider adding at least aspell (_not_ ispell!, see  FS#34065 ), ghostscript and imagemagick, as these are probably the most difficult for users to figure out on their own without visiting the TeXmacs website.
Comment by Doug Newgard (Scimmia) - Tuesday, 12 May 2015, 16:59 GMT
ping pressh.

Loading...