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

Bug 499752

Summary: media-fonts/wqy-bitmapfont-0.9.9_p0 - Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 33: invalid attribute 'equal'
Product: Gentoo Linux Reporter: Dominique Michel <dominique.c.michel>
Component: [OLD] LibraryAssignee: CJK Team <cjk>
Status: RESOLVED OBSOLETE    
Severity: normal CC: fonts
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 508572    
Bug Blocks:    
Attachments: ebuild for 1.0.0-RC1

Description Dominique Michel 2014-01-30 07:25:36 UTC
With 'fc-cache -fv', I get the following error:

Fontconfig warning: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 33: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 33: invalid attribute 'equal'
Fontconfig warning: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 55: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig error: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 55: invalid attribute 'equal'

Reproducible: Always

Steps to Reproduce:
1. emerge wqy-bitmapfont
2. fc-cache -fv
3.



The font seam to work, but I didn't tested all the characters...

It is a new version. With it, I get no error with fc-cache.
Comment 1 Dominique Michel 2014-01-30 07:26:42 UTC
Created attachment 369106 [details]
ebuild for 1.0.0-RC1
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-30 10:50:36 UTC
Comment on attachment 369106 [details]
ebuild for 1.0.0-RC1

--- wqy-bitmapfont-0.9.9_p0.ebuild      2010-02-03 14:49:50.000000000 +0100
+++ -   2014-01-30 11:50:20.720580303 +0100
@@ -4,9 +4,10 @@
 
 inherit font
 
+MY_PN="wqy-bitmapsong"
 DESCRIPTION="WenQuanYi Bitmap Song CJK font"
 HOMEPAGE="http://wqy.sourceforge.net/en/"
-SRC_URI="mirror://sourceforge/wqy/${PN}-pcf-${PV/_p/-}.tar.gz"
+SRC_URI="mirror://sourceforge/wqy/${MY_PN}-pcf-${PV/_p/-RC}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -15,7 +16,7 @@
 
 DEPEND=""
 
-S=${WORKDIR}/${PN}
+S=${WORKDIR}/${MY_PN}
 FONT_S=${S}
 FONT_CONF=( "85-wqy-bitmapsong.conf" )
Comment 3 Naohiro Aota gentoo-dev 2014-02-01 09:44:35 UTC
bumped to 1.0.0_rc1
Comment 4 Naohiro Aota gentoo-dev 2014-06-11 06:09:39 UTC
The version of ebuild dropped.