pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50062: fontconfig 2.11.1nb1 doesn't lookup /usr/X11R7/lib/X11/fonts



>Number:         50062
>Category:       pkg
>Synopsis:       fontconfig 2.11.1nb1 doesn't lookup /usr/X11R7/lib/X11/fonts
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 19 08:00:00 +0000 2015
>Originator:     Izumi Tsutsui
>Release:        NetBSD 6.1.5 + pkgsrc-2015Q2
>Organization:
>Environment:
System: NetBSD 6.1.5
Architecture: i386
Machine: i386
>Description:
The default /usr/pkg/etc/fontconfig/fonts.conf installed by
pkgsrc/fonts/fontconfig package in pkgsrc-2015Q2 doesn't include
<dir>/usr/X11R7/lib/X11/fonts</dir>
so all pkgsrc applications that depend on pkgsrc fontconfig
can't find fonts provided as xfont set in the default NetBSD 6.x
distribution.

>How-To-Repeat:
- install NetBSD/i386 6.1.5
- pkg_add firefox from pkgsrc-2015Q2
 - "/usr/pkg/bin/fc-list -v | grep file: | grep X11R7" shows nothing while
   "/usr/X11R7/bin/fc-list -v | grep file: | grep X11R7" shows 534 fonts
 - firefox can't find the default X TTF fonts like "Luxi Sans" etc.

>Fix:
Modify (or replace with) 

>> ADDFONTS:=      ${X11BASE}/share/fonts/X11,${ADDFONTS}

line in pkgsrc/fonts/fontconfig/Makefile
at least on NetBSD 6.x without modular X?

Or simply partially revert the ${X11BASE} line in Makefile rev 1.91?
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/fonts/fontconfig/Makefile#rev1.91
---
 .if ${X11BASE} != ${LOCALBASE}
-ADDFONTS:=	${X11BASE}/lib/X11/fonts,${ADDFONTS}
+ADDFONTS:=	${X11BASE}/share/fonts/X11,${ADDFONTS}
 .else
-ADDFONTS:=	${LOCALBASE}/lib/X11/fonts,${ADDFONTS}
+ADDFONTS:=	${LOCALBASE}/share/fonts/X11,${ADDFONTS}
 .endif
---

Note NetBSD 7.0_RC1 still uses /usr/X11R7/lib/X11/fonts path.
(though 7.0_RC1 might not require pkgsrc fontconfig)



Home | Main Index | Thread Index | Old Index