pkgsrc-Users archive

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

Re: font troubles lately?



On Monday 10 December 2012 01:45:06 Jan Danielsson wrote:
>    The past month or so, I've noticed that installing fonts from 
pkgsrc
> results in an error message about opendir() not being successful.
    [...]
>    Why won't fixed 10 work in xterm any longer? Why are so few fonts
> showing up in xfontsel? Is it likely related to the opendir() error?
> 
>    What am I missing?

I found this a couple of weeks ago (and then forgot I hadn't committed 
it, sorry).

After fonts/encodings moved where it installed a little while back need 
the following change (at least for modular, haven't looked at builtin) 
otherwise the fonts.dir and encondings.dir files don't get built when 
we install fonts.

Index: bsd.prefs.mk
===================================================================
RCS file: /src/cvs/netbsd/pkgsrc/mk/bsd.prefs.mk,v
retrieving revision 1.327
diff -u -r1.327 bsd.prefs.mk
--- bsd.prefs.mk        14 Aug 2012 17:16:07 -0000      1.327
+++ bsd.prefs.mk        25 Nov 2012 20:57:32 -0000
@@ -578,7 +578,7 @@
 X11PREFIX=             ${LOCALBASE}
 
 # Default directory for font encodings
-X11_ENCODINGSDIR?=     ${X11BASE}/lib/X11/fonts/encodings
+X11_ENCODINGSDIR?=     ${X11BASE}/share/fonts/X11/encodings
 
 IMAKE_MAN_SOURCE_PATH= man/man
 IMAKE_MAN_SUFFIX=      1


cheers
mark


Home | Main Index | Thread Index | Old Index