| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Installing HarfBuzz through Homebrew seems to be consistently slow
whether we use the bottles and disable the Fontconfig cache or build
it from source and drop Fontconfig and other dependencies entirely.
To speed up OS X builds, disable both HarfBuzz and Fontconfig.
We build with HarfBuzz and Fontconfig on Linux, and we should
not have any platform-dependent code that depends on them,
so this should not reduce our code coverage.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Building HarfBuzz from source works to avoid Fontconfig, but it is still
fairly slow. To further speed up the build, try to use only the prebuilt
bottle packages (which inevitably brings in Fontconfig as a dependency)
but hack the Fontconfig formula to avoid building the font cache.
Adding Fontconfig is not the goal of this commit, as we already have it
on Linux and our Fontconfig-related code "should" work equally well on
other platforms. But since we can now afford it, explicitly ask Homebrew
to install Fontconfig even if the dependency that brings it in disappears
from Homebrew in the future, and enjoy the improved code coverage.
|
|
|
|
|
|
|
|
|
|
|
|
| |
On OS X, disable some unnecessary HarfBuzz dependencies. This triggers
a source build of HarfBuzz, but it should be fast and avoids bringing
in Fontconfig through a dependency chain, which we want to avoid as it
wastes a lot of time building its cache when installed.
The dependency that brings in Fontconfig is gobject-introspection, but
we don't need icu4c either, so disable that to save a little more time
that would be spent installing icu4c. We could also disable glib, but
the fribidi formula also has it as a dependency and brings it in anyway.
|
|
|
|
|
|
| |
We never remember to push to the coverity_scan branch, so currently
Coverity Scan never runs. Our master builds are not very frequent,
so we should be able to afford running Coverity Scan on every build.
|
|
|
|
|
| |
On OS X, `gcc` is just an alias for Clang, so exclude it to
avoid wasting resources doing the exact same build job twice.
|
|
|
|
|
|
|
|
|
|
|
| |
The problem was fixed in Homebrew in libtool 2.4.6_1:
https://github.com/Homebrew/homebrew-core/commit/712f737a7f64f0fd905357c3765cdce0821a4af2
Since https://blog.travis-ci.com/2016-10-04-osx-73-default-image-live/,
this libtool comes preinstalled on Travis CI, thus the hack is no longer needed.
Homebrew bug report possibly relevant to the original problem:
https://github.com/Homebrew/legacy-homebrew/issues/43874
|
|
|
|
|
|
|
| |
Do this for consistency with the other library dependencies.
For reference, currently, both FreeType and Fontconfig
are preinstalled and don't need to be explicitly mentioned.
|
|
|
|
|
|
|
|
|
|
| |
Only the library is needed.
In fact, `apt-get install fontconfig` didn't even install the library at
all. Luckily, the package we actually want is preinstalled on Travis CI.
We could continue to rely on this fact and completely remove Fontconfig
from the install list, but it's clearer and possibly more future-proof
to explicitly list it there.
|
|
|
|
|
|
| |
Homebrew generates the Fontconfig cache when installing Fontconfig,
which delays the build by several minutes. Disable the Fontconfig
font provider on OS X to avoid this.
|
|
|
|
|
| |
This is the better option, as it won't break the CI script if travis
ends up removing the preinstalled libtool bundle for whatever reason.
|
|
|
|
|
|
|
| |
At some point in the past Travis and homebrew colluded to break the
preinstalled libtool on travis MacOS instances. Forcing brew to
reinstall libtool seems to be the common solution that several other
projects on github have used.
|
|
|
|
|
| |
We need a newer Fontconfig than the default Ubuntu
environment provides, so switch to a newer Ubuntu.
|
| |
|
|
|
|
| |
Or at least it looks like it does.
|
|
|
|
|
| |
Also add the obnoxious Coverity badge to the README
(thanks to torque for the reminder).
|
|
|
|
|
|
|
| |
Strictly use the default compiler, but this probably has exactly the
same effect as using the "gcc" entry.
Do a parallel build.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Switching to OSX, because homebrew is more uptodate than
Ubuntu Ancient LTS, which is what Travis uses on Linux.
|
|
|
|
| |
OK, so autogen.sh doesn't run configure.
|
| |
|
|
|