On Tue, Jun 02, 2015 at 08:53:19AM -0500, [email protected] wrote:
>
> Harfbuzz documentation states:
>
> GLib-2.42.1, ICU-54.1 and FreeType-2.5.5 (after Harfbuzz-0.9.38 is
> installed, reinstall FreeType-2.5.5)
>
> Do I understand correctly that FreeType should be installed before and after
> Harfbuzz?
>
> GLib-2.42.1
> ICU-54.1
> FreeType-2.5.5
> Harfbuzz-0.9.38
> FreeType-2.5.5
>
Yes. I know that some people take the "build all dependencies as
soon as possible" approach. I've built new BLFS desktops often
enough to know which dependencies I care about, and instead I prefer
to get some things working before I move on. So, there are a number
of things I build before I even boot (I use nfs v3 to store my notes
as well as to access my sources) and among those is 'which', except
I use a script version instead of the package.
ken@ac4tv ~ $cat /usr/bin/which
type -pa "$@" | head -n 1 ; exit ${PIPESTATUS[0]}
And then after that, I build docbook and then Xorg, with fluxbox,
rxvt-unicode, and some TTF/OTF fonts. That means that I build
libpng, and freetype for the first time, on the way into building X.
After that, my next aim is to build icewm, which requires gtk+-2,
and along the way I build remaining graphics libs, glib2, cairo,
icu, cmake, graphite2, harfbuzz, and freetype for a second time.
> IF, that's correct, does the FreeType require the same "sandwiching" with
> different wording?
>
> Which-2.20, Harfbuzz-0.9.38, (first, install without it, after it is
> installed, reinstall FreeType-2.5.5), and libpng-1.6.16
>
I don't understand this question. The 'sandwich' is that both
harfbuzz and freetype need the other, so we build freetype,
harfbuzz, feetype again.
> Which-2.20
> FreeType-2.5.5
> Harfbuzz-0.9.38
> FreeType-2.5.5
> libpng-1.6.16
>
> IF both are correct, and I've installed Harfbuzz using the first block, need
> I install only Which-2.20 and libpng-1.6.16 to complete FreeType?
>
> Which-2.20
> libpng-1.6.16
You are recommended to install both a 'which' variant and libpng for
FreeType. So, if you have not already installed them then I guess
you will need to install FreeType for a third time after providing
both of them. But please read on.
In my logs from FreeType, from the first build I have:
Library configuration:
external zlib: yes (pkg-config)
bzip2: yes (autoconf test)
libpng: yes (pkg-config)
harfbuzz: no
and from the second build:
Library configuration:
external zlib: yes (pkg-config)
bzip2: yes (autoconf test)
libpng: yes (pkg-config)
harfbuzz: yes (pkg-config)
I don't know why 'which' is recommended, but I assume it was used at
some point (packages which require 'which' are hard to spot - most
of us have that already installed) and somebody raised its absence
as a bug. On a quick look at freetype-config and its configure
script I can only see one reference to which, in a comment:
# work around zsh bug which doesn't like `${1+"$@"}'
So I will be surprised if you really need which.
OTOH, I encourage you to build whichever flavour of which you prefer
at an *early* stage of your build - it can be useful for checking if
a program exists (or, alternatively to see, if it got installed to
somewhere you didn't intend and is not on your PATH).
ĸen
--
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page