Summary: | allow media-gfx/enblend-4.0 w/ USE=doc to use gnuplot's terminal `pngcairo' instead of `png' provided by gd | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petr Zima <zima> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | CC: | tamiko |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch of .gp files causing the error.
Ebuild using the above patch. patch for the doc sources to work with both `png' and `pngcairo' patch for enblend-4.0.ebuild to patch the sources and allow gnuplot[cairo] dependency my final ebuild after applying the three patches from bugs #347789, #347789 and this one (attached just for convenience) |
Description
Petr Zima
2010-08-24 18:42:42 UTC
Created attachment 244431 [details, diff]
Patch of .gp files causing the error.
Here is a patch which fixes the problem.
Created attachment 244433 [details]
Ebuild using the above patch.
Please can you fix this in the portage tree? Or resolve it with the upstream? If I can further help (e.g. change the patch to a sed commands or contact the upstream myself), just leave a notice here. I have analyzed this bug deeper and the situation is a bit more complicated. First, the intended way to generate graphs for the pdf docs is to use gnuplot with gd support, which provides the `png' terminal --- I have reported a new separate bug #347786 for this. There is also a minor font problem --- see bug #347789. Now back to my original problem. I have gnuplot installed with USE=-gd but with USE=cairo. And cairo support in gnuplot provides a `pngcairo' terminal, which is used as a fallback when the `png' terminal is not available. The pitfall is that pngcairo uses a bit different syntax for font specifications. Luckily there exists an alternative syntax understood by both the `png' and `pngcairo' terminals. Hence the documentation sources can be patched so that they work with both gnuplot[gd] and gnuplot[cairo]. Gentoo's about choices, isn't it? Created attachment 256381 [details, diff]
patch for the doc sources to work with both `png' and `pngcairo'
Created attachment 256383 [details, diff] patch for enblend-4.0.ebuild to patch the sources and allow gnuplot[cairo] dependency This patch comes after the ones from bug #347786 and bug #347789. Created attachment 256384 [details] my final ebuild after applying the three patches from bugs #347789, #347789 and this one (attached just for convenience) This solves all the three problems. media-gfx/enblend-4.0 is not in gx86 anymore, open a new bug for recent version. |