From cc366b2491ff74bd8012aae9f16618966373176c Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Fri, 21 Sep 2018 20:27:05 +0900 Subject: [PATCH] Teach auto-dep about cairo --- .gitignore | 9 ++++++++- util/auto-dep.py | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b8732d71..4062cae3 100644 --- a/.gitignore +++ b/.gitignore @@ -28,8 +28,15 @@ /base/usr/bin/* /base/usr/lib/* +# Generic +/base/usr/share/aclocal +/base/usr/share/gtk-doc + # Freetype /base/usr/include/freetype2 /base/usr/include/ft2build.h -/base/usr/share/aclocal /base/usr/share/fonts + +# Cairo + Pixman +/base/usr/include/cairo +/base/usr/include/pixman-1 diff --git a/util/auto-dep.py b/util/auto-dep.py index ba23d38f..a51b0c68 100755 --- a/util/auto-dep.py +++ b/util/auto-dep.py @@ -34,6 +34,8 @@ class Classifier(object): '': (None, '-ltoaru_textregion', ['', '','', '']), # OPTIONAL third-party libraries, for extensions / ports '': ('freetype2', '-lfreetype', []), + '': ('pixman-1', '-lpixman-1', []), + '': ('cairo', '-lcairo', ['', '']), } def __init__(self, filename):