[HarfBuzz] A plea to make HarfBuzz easier to build.

Daniel Ribeiro Maciel daniel.maciel at gmail.com
Tue Jan 5 15:50:25 PST 2016


Hi Behdad,

I wrote this hb.cc file. Drop it in the root of harfbuzz source tree to try
it out. You will need to add both Freetype and 'hb-ucdn' to the include
path though.

It will *not* compile; there are a bunch of symbol redefinition problems
and other seemingly (?) trivial things to fix (82 issues to be exact).
I did not apply any patches to harfbuzz source tree itself. Thought you
might want to change those things yourself since they would take some
renaming of enum variables and other stuff.

Let me know if you want a patch for that as well, I believe I'm able to
write it myself.

Cheers,
Daniel



On Wed, Dec 30, 2015 at 2:21 PM, Behdad Esfahbod <behdad.esfahbod at gmail.com>
wrote:

> Thanks Daniel.  I'm not opposed to the idea if it doesn't introduce too
> many
> hacks.  Might take a look at it myself even.
>
> On 15-12-28 11:00 PM, Daniel Ribeiro Maciel wrote:
> > I can write a '.cc' file which includes all other '.cc' files and
> defines a
> > bunch of stuff if you guys are willing to add such file to your source
> tree.
> >
> > On Tue, Dec 15, 2015 at 11:14 AM, Jonathan Blow <jon at number-none.com
> > <mailto:jon at number-none.com>> wrote:
> >
> >     Sure, it would be fine to add this; there is also a for-loop in one
> spot
> >     that doesn't compile in Visual Studio because it declares an enum
> inline,
> >     so one has to move the enum.
> >
> >     But these things don't matter, they only take a minute to fix. It's
> >     trivial. Whereas getting the library to build and link for the first
> time
> >     is measured in hours.
> >
> >     It is a two-orders-of-magnitude difference, which is why I am saying
> that
> >     if widespread use of the code is a goal, making it easier to build
> should
> >     be the priority.
> >
> >     On Tuesday, December 15, 2015, Behdad Esfahbod <
> behdad.esfahbod at gmail.com
> >     <mailto:behdad.esfahbod at gmail.com>> wrote:
> >
> >         On 15-12-13 09:33 PM, Jamie Dale wrote:
> >         > You'll need a define to stub out getenv for a PS4 build
> >
> >         I'll take a patch to hb-private.hh to do that.
> >
> >
> >     _______________________________________________
> >     HarfBuzz mailing list
> >     HarfBuzz at lists.freedesktop.org <mailto:
> HarfBuzz at lists.freedesktop.org>
> >     http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20160105/bae3ba21/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hb.cc
Type: text/x-c++src
Size: 1298 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20160105/bae3ba21/attachment.cc>


More information about the HarfBuzz mailing list