tech-pkg archive

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

Re: CVS commit: pkgsrc/fonts/dejavu-ttf



On Tue, Jul 27, 2021 at 08:01:51PM -0500, J. Lewis Muir wrote:
> Hmm, well, I don't know much about this, but that seems wrong to me.  I
> previously quoted the Fontconfig website which says that it "does not
> depend on the X Window System in any fashion," so I don't understand why
> it's under /usr/X11R7/bin.  It seems that Xft cannot be used without
> Fontconfig, but Fontconfig *can* be used without Xft and X11.  FWIW, on
> RHEL 7, fc-cache (along with various other fc-* programs) is installed
> in /usr/bin via the fontconfig RPM:

It does not use libX11 or anything depending on it:

[~] martin@whoever-brings-the-night > ldd /usr/X11R7/bin/fc-cache
/usr/X11R7/bin/fc-cache:
        -lfontconfig.2 => /usr/X11R7/lib/libfontconfig.so.2
        -lexpat.2 => /usr/lib/libexpat.so.2
        -lc.12 => /usr/lib/libc.so.12
        -lfreetype.19 => /usr/X11R7/lib/libfreetype.so.19
        -lz.1 => /usr/lib/libz.so.1
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
[~] martin@whoever-brings-the-night > ldd /usr/X11R7/lib/libfontconfig.so.2
/usr/X11R7/lib/libfontconfig.so.2:
        -lexpat.2 => /usr/lib/libexpat.so.2
        -lc.12 => /usr/lib/libc.so.12
        -lfreetype.19 => /usr/X11R7/lib/libfreetype.so.19
        -lz.1 => /usr/lib/libz.so.1
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
[~] martin@whoever-brings-the-night > ldd /usr/X11R7/lib/libfreetype.so.19
/usr/X11R7/lib/libfreetype.so.19:
        -lz.1 => /usr/lib/libz.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1

So if pkgsrc dependencies model this correctly, the whole issuse can probably
be closed (and fontconfig from pkgsrc would not drag in X11).

Martin


Home | Main Index | Thread Index | Old Index