Subject: what is /usr/pkg/lib/X11/? And fontconfig using ${LOCALBASE}/lib/X11/fonts
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/28/2003 04:28:15
I noticed on a couple systems, /usr/pkg/lib/X11/ ?

It is a directory tree that appears to be made by an ${OPSYS}.x11.dist
using mtree.

On one system it even has some extra files:

  25685      0 -rw-r--r--    1 root     wheel            0 Aug 13 23:05 /usr/pkg/lib/X11//fonts/100dpi/fonts.cache-1
  25686      0 -rw-r--r--    1 root     wheel            0 Aug 13 23:05 /usr/pkg/lib/X11//fonts/75dpi/fonts.cache-1
  25687      0 -rw-r--r--    1 root     wheel            0 Aug 13 23:05 /usr/pkg/lib/X11//fonts/PEX/fonts.cache-1
  25688      0 -rw-r--r--    1 root     wheel            0 Aug 13 23:05 /usr/pkg/lib/X11//fonts/Speedo/fonts.cache-1
  26802      0 -rw-r--r--    1 root     wheel            0 Aug 13 23:05 /usr/pkg/lib/X11//fonts/Type1/fonts.cache-1
  26803      0 -rw-r--r--    1 root     wheel            0 Aug 13 23:05 /usr/pkg/lib/X11//fonts/cyrillic/fonts.cache-1
  26804      0 -rw-r--r--    1 root     wheel            0 Aug 13 23:05 /usr/pkg/lib/X11//fonts/local/fonts.cache-1
  26805      0 -rw-r--r--    1 root     wheel            0 Aug 13 23:05 /usr/pkg/lib/X11//fonts/misc/fonts.cache-1
  25684      2 -rw-r--r--    1 root     wheel          138 Aug 13 23:05 /usr/pkg/lib/X11//fonts/fonts.cache-1

Does anyone else have this /usr/pkg/lib/X11/ hiearchy?

What made me think about this was pkgsrc/fonts/fontconfig/Makefile which
has:
CONFIGURE_ARGS+=        --with-default-fonts=${LOCALBASE}/lib/X11/fonts

Which is:
  --with-default-fonts=DIR      Use fonts from DIR when config is busted"

Does anyone really have fonts at that location?

I am working on PR 22927 and I want to make sure the directories are
correct. I'd appreciate if a few people sent me

fgrep '<dir>' /usr/pkg/etc/fontconfig/fonts.conf /usr/pkg/share/examples/fontconfig/fonts.conf

(or from any of your fonts.conf files)

Thank you,

   Jeremy C. Reed
   http://www.reedmedia.net/