FS#9036 - fig2ps doesn't work

Attached to Project: Arch Linux
Opened by Martin B. (borx) - Friday, 28 December 2007, 17:43 GMT
Last edited by Ronald van Haren (pressh) - Monday, 29 December 2008, 14:55 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: fig2ps (texmacs package) doesn't work

Additional info:
* package version: texmacs 1.0.6.12-1

Steps to reproduce:
Bash script /usr/bin/fig2ps doesn't work since in the code there is undefined variable $prefix.
Problem can be fixed by adding line: [ ${prefix:-none} == "none" ] && prefix="/usr"

This task depends upon

Closed by  Ronald van Haren (pressh)
Monday, 29 December 2008, 14:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in texmacs 1.0.7-2. please also file a bug report upstream.
Comment by Greg (dolby) - Sunday, 04 May 2008, 19:50 GMT
is this still an issue with 1.0.6.14 ?
Comment by Martin B. (borx) - Sunday, 04 May 2008, 20:11 GMT
Yes, problem is still unsolved (1.0.6.14-1).
Comment by Gavin Bisesi (Daenyth) - Saturday, 06 December 2008, 00:53 GMT
Is this still relevent?
Comment by Martin B. (borx) - Sunday, 07 December 2008, 15:33 GMT
Yes, it's still broken (1.0.7-1). I'm sorry that I almost forgotten about this issue,
because I didn't use this software for a long time.

I looked for string "$prefix" in source code and it seems to be a upstream mistake in a
configure script, because the variable $prefix is not used in other files (btw prefix
is initialized by passing --prefix=/usr to a configure script so archlinux packagers imho didn't make
any mistake).

Please write back if you agree with my conclusion for me to post a bug report to texmacs developers.

BTW in Arch, this can be easily fixed by patching the resulting script /usr/bin/fig2ps (I know, it _is_ ugly, but
then it will work until someone fix this in upstream :-)
Comment by Ronald van Haren (pressh) - Sunday, 14 December 2008, 14:15 GMT
can you please send me a test file?

Loading...