Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 524120

Summary: dev-php/jpgraph-3.0.7 USE=truetype - sed script fails / should depend on dev-lang/php[truetype]
Product: Gentoo Linux Reporter: Vanni Della Ricca <vanni>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for correct ebuild file

Description Vanni Della Ricca 2014-09-30 16:22:15 UTC
Created attachment 385828 [details, diff]
Patch for correct ebuild file

Hi,

There are two distinct problems on ebuild file on jpgraph if "truetype" USE are flagged.

1) There are an path error on use sed in TTF_DIR  on src_install(). It's expect sed "/usr/X11R6/lib/X11/fonts/truetype/" but jpgraph config file contains "/usr/share/fonts/truetype/". This make a mismatch on sed and create an incorrect config file.

2) The truetype use must require truetype support on package dev-lang/php.

WE provide a simple patch for this problems

Many Thanks
Vanni
Comment 1 Brian Evans (RETIRED) gentoo-dev 2014-10-07 19:36:35 UTC
+*jpgraph-3.0.7-r2 (07 Oct 2014)
+
+  07 Oct 2014;  <grknight@gentoo.org> +jpgraph-3.0.7-r2.ebuild:
+  Revbump to fix truetype issues wrt bug 524120
Comment 2 Vanni Della Ricca 2014-10-29 13:51:38 UTC
Hi,

I have test the ebuild and it's work correctly.
It's possible request a stable relese for this package?

Many Tanks