FS#27963 - [gnuplot] Wrong font path fix in PKGBUILD

Attached to Project: Arch Linux
Opened by Leonid Isaev (lisaev) - Monday, 16 January 2012, 17:41 GMT
Last edited by Ronald van Haren (pressh) - Sunday, 29 January 2012, 11:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The line

sed -i 's|/X11R6/lib/X11/fonts/Type1|/usr/share/fonts/Type1|' src/variable.c

in gnuplot's PKGBUILD aims at fixing the following paths in variable.c:

222: { "$(X11ROOT)/X11R6/lib/X11/fonts/Type1" },
279: { "/usr/X11R6/lib/X11/fonts/Type1" }

Only first one will be modified correctly, the other will change to a meaningless /usr/usr/...

Please replace the sed call with something more explicit, e.g.

sed -i -e 's|/usr/X11R6/lib/X11/fonts/Type1|/usr/share/fonts/Type1|' \
-e 's|$(X11ROOT)/X11R6/lib/X11/fonts/Type1|$(X11ROOT)/usr/share/fonts/Type1|' \
src/variable.c

Thanks.
This task depends upon

Closed by  Ronald van Haren (pressh)
Sunday, 29 January 2012, 11:39 GMT
Reason for closing:  Implemented
Additional comments about closing:  4.4.4

Loading...