summaryrefslogtreecommitdiff
path: root/pkg/freetype
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-12-11 16:04:20 -0800
committerMichael Forney <mforney@mforney.org>2016-12-13 23:10:30 -0800
commit293f5a93b77d92fd65db7f3d0df654f102e46cfb (patch)
tree6ecd1170e3dd793862dd852814dc1b4cd5e44260 /pkg/freetype
parent9a506a6834df01a26795cea222b410f206efa9fa (diff)
Move to flat package hierarchy
Note to self: never try to move submodules again To migrate your existing submodules (more or less): set -x set -e mkdir .git/modules/pkg for old in */*/src ; do new="pkg/${old#*/}" if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then continue fi git -C ".git/modules/$old" config core.worktree "../../../../../$new" rmdir "$new" mv "$old" "$new" sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp" mv "$new/.git.tmp" "$new/.git" mkdir ".git/modules/${new%/src}" mv ".git/modules/$old" ".git/modules/$new" rm "${old%/src}"/*.ninja mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/" rmdir "${old%/src}" || true done sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp mv .git/config.tmp .git/config
Diffstat (limited to 'pkg/freetype')
-rw-r--r--pkg/freetype/gen.rc43
-rw-r--r--pkg/freetype/rev1
m---------pkg/freetype/src0
3 files changed, 44 insertions, 0 deletions
diff --git a/pkg/freetype/gen.rc b/pkg/freetype/gen.rc
new file mode 100644
index 00000000..ce88630a
--- /dev/null
+++ b/pkg/freetype/gen.rc
@@ -0,0 +1,43 @@
+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'/pkg/zlib/include\
+ -I '$srcdir'/builds/unix\
+ -I '$srcdir'/include/freetype/config\
+ -I '$srcdir'/include
+
+cc src/gzip/ftgzip.c '||' pkg/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\
+) '$builddir'/pkg/zlib/libz.a
+
+fetch git
diff --git a/pkg/freetype/rev b/pkg/freetype/rev
new file mode 100644
index 00000000..00750edc
--- /dev/null
+++ b/pkg/freetype/rev
@@ -0,0 +1 @@
+3
diff --git a/pkg/freetype/src b/pkg/freetype/src
new file mode 160000
+Subproject f9b1871ded4df726ed962e5eae535c9918705a3