summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-06-27 00:31:39 -0700
committerMichael Forney <mforney@mforney.org>2016-06-27 00:31:39 -0700
commit1f48964d15334a14de99fb4985077e3523f6f9ef (patch)
treed571a5e994aee622a321487643cf92590ee27909
parent4a6368f55235991e43b47a74963bd0f7882953b4 (diff)
Add freetype 2.6.3
-rw-r--r--.gitmodules3
-rw-r--r--desktop/freetype/gen.rc41
m---------desktop/freetype/src0
-rw-r--r--desktop/gen.rc1
-rwxr-xr-xfetch.rc1
5 files changed, 46 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index a9a65c6c..09a9fbf8 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -64,6 +64,9 @@
[submodule "desktop/expat/src"]
path = desktop/expat/src
url = git://git.code.sf.net/p/expat/code_git
+[submodule "desktop/freetype/src"]
+ path = desktop/freetype/src
+ url = git://git.sv.nongnu.org/freetype/freetype2.git
[submodule "desktop/libdrm/src"]
path = desktop/libdrm/src
url = https://cgit.freedesktop.org/mesa/drm
diff --git a/desktop/freetype/gen.rc b/desktop/freetype/gen.rc
new file mode 100644
index 00000000..f3d380a4
--- /dev/null
+++ b/desktop/freetype/gen.rc
@@ -0,0 +1,41 @@
+cflags\
+ -Wall\
+ -D FT2_BUILD_LIBRARY\
+ -D FT_CONFIG_OPTION_SYSTEM_ZLIB\
+ -D HAVE_FCNTL_H\
+ -D HAVE_STDINT_H\
+ -D HAVE_UNISTD_H\
+ -isystem '$builddir'/core/zlib/include\
+ -I '$srcdir'/builds/unix\
+ -I '$srcdir'/include/freetype/config\
+ -I '$srcdir'/include
+
+cc src/gzip/ftgzip.c '||' phony/core/zlib/headers
+lib libfreetype.a builds/unix/ftsystem.c src/^(\
+ base/^(\
+ ftdebug.c ftbase.c ftbbox.c ftbdf.c ftbitmap.c ftcid.c\
+ ftfntfmt.c ftfstype.c ftgasp.c ftglyph.c ftgxval.c ftlcdfil.c\
+ ftmm.c ftotval.c ftpatent.c ftpfr.c ftstroke.c ftsynth.c\
+ fttype1.c ftwinfnt.c ftinit.c\
+ )\
+ autofit/autofit.c\
+ bdf/bdf.c\
+ bzip2/ftbzip2.c\
+ cache/ftcache.c\
+ cff/cff.c\
+ cid/type1cid.c\
+ gzip/ftgzip.c.o\
+ lzw/ftlzw.c\
+ pcf/pcf.c\
+ pfr/pfr.c\
+ psaux/psaux.c\
+ pshinter/pshinter.c\
+ psnames/psnames.c\
+ raster/raster.c\
+ sfnt/sfnt.c\
+ smooth/smooth.c\
+ truetype/truetype.c\
+ type1/type1.c\
+ type42/type42.c\
+ winfonts/winfnt.c\
+)
diff --git a/desktop/freetype/src b/desktop/freetype/src
new file mode 160000
+Subproject 44accb9e2e5b00696cf50a869b68afa2ce3dd38
diff --git a/desktop/gen.rc b/desktop/gen.rc
index 638a76e1..6da07580 100644
--- a/desktop/gen.rc
+++ b/desktop/gen.rc
@@ -1,6 +1,7 @@
rule wayland_proto 'wayland-scanner $type $in $out.tmp && mv $out.tmp $out'
subgen expat
+subgen freetype
subgen libdrm
subgen libevdev
subgen libffi
diff --git a/fetch.rc b/fetch.rc
index 5ef4665f..b0ea066a 100755
--- a/fetch.rc
+++ b/fetch.rc
@@ -92,6 +92,7 @@ fetch core/ubase git
fetch core/xz git
fetch core/zlib git
fetch desktop/expat git
+fetch desktop/freetype git
fetch desktop/libpciaccess git
fetch desktop/libdrm git
fetch desktop/libffi git