Merge pull request #302 from khaledhosny/master
[travis] Fix MacOS libtool issue
This commit is contained in:
commit
bd1aac9c00
@ -19,6 +19,7 @@ install:
|
|||||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then pip install --user cpp-coveralls; fi # for coveralls.io code coverage tracking
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then pip install --user cpp-coveralls; fi # for coveralls.io code coverage tracking
|
||||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export PATH=$HOME/.local/bin:$PATH; fi # Make sure we can find the above Python packages
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export PATH=$HOME/.local/bin:$PATH; fi # Make sure we can find the above Python packages
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi;
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi;
|
||||||
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew uninstall libtool && brew install libtool; fi # Workaround Travis/brew bug
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ragel freetype glib gobject-introspection cairo icu4c graphite2; fi
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ragel freetype glib gobject-introspection cairo icu4c graphite2; fi
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew link --force icu4c; fi # icu4c is keg-only
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew link --force icu4c; fi # icu4c is keg-only
|
||||||
script:
|
script:
|
||||||
|
@ -150,7 +150,7 @@ create_ct_font (CGFontRef cg_font, CGFloat font_size)
|
|||||||
* bug indicate that the cascade list reconfiguration occasionally causes
|
* bug indicate that the cascade list reconfiguration occasionally causes
|
||||||
* crashes in CoreText on OS X 10.9, thus let's skip this step on older
|
* crashes in CoreText on OS X 10.9, thus let's skip this step on older
|
||||||
* operating system versions. */
|
* operating system versions. */
|
||||||
if (&CTGetCoreTextVersion != NULL && CTGetCoreTextVersion() < kCTVersionNumber10_10)
|
if (&CTGetCoreTextVersion != NULL && CTGetCoreTextVersion() <= kCTVersionNumber10_9)
|
||||||
return ct_font;
|
return ct_font;
|
||||||
|
|
||||||
CFURLRef original_url = (CFURLRef)CTFontCopyAttribute(ct_font, kCTFontURLAttribute);
|
CFURLRef original_url = (CFURLRef)CTFontCopyAttribute(ct_font, kCTFontURLAttribute);
|
||||||
|
Loading…
Reference in New Issue
Block a user