jassub 1.7.13 → 1.7.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -2
- package/dist/js/jassub-worker-modern.js +0 -128
- package/dist/js/jassub-worker-modern.wasm +0 -0
- package/dist/js/jassub-worker.js +0 -128
- package/dist/js/jassub-worker.wasm +0 -0
- package/dist/js/jassub-worker.wasm.js +0 -84
- package/dist/js/jassub.js +0 -832
- package/dist/libraries/bin/brotli.js +0 -1
- package/dist/libraries/include/ass/ass.h +0 -812
- package/dist/libraries/include/ass/ass_types.h +0 -292
- package/dist/libraries/include/brotli/decode.h +0 -344
- package/dist/libraries/include/brotli/encode.h +0 -448
- package/dist/libraries/include/brotli/port.h +0 -288
- package/dist/libraries/include/brotli/types.h +0 -83
- package/dist/libraries/include/expat.h +0 -1064
- package/dist/libraries/include/expat_config.h +0 -115
- package/dist/libraries/include/expat_external.h +0 -165
- package/dist/libraries/include/fontconfig/fcfreetype.h +0 -59
- package/dist/libraries/include/fontconfig/fcprivate.h +0 -134
- package/dist/libraries/include/fontconfig/fontconfig.h +0 -1154
- package/dist/libraries/include/freetype2/freetype/config/ftconfig.h +0 -63
- package/dist/libraries/include/freetype2/freetype/config/ftheader.h +0 -824
- package/dist/libraries/include/freetype2/freetype/config/ftmodule.h +0 -20
- package/dist/libraries/include/freetype2/freetype/config/ftoption.h +0 -1011
- package/dist/libraries/include/freetype2/freetype/config/ftstdlib.h +0 -175
- package/dist/libraries/include/freetype2/freetype/config/integer-types.h +0 -245
- package/dist/libraries/include/freetype2/freetype/config/mac-support.h +0 -49
- package/dist/libraries/include/freetype2/freetype/config/public-macros.h +0 -120
- package/dist/libraries/include/freetype2/freetype/freetype.h +0 -4833
- package/dist/libraries/include/freetype2/freetype/ftadvanc.h +0 -188
- package/dist/libraries/include/freetype2/freetype/ftbbox.h +0 -101
- package/dist/libraries/include/freetype2/freetype/ftbdf.h +0 -212
- package/dist/libraries/include/freetype2/freetype/ftbitmap.h +0 -329
- package/dist/libraries/include/freetype2/freetype/ftbzip2.h +0 -102
- package/dist/libraries/include/freetype2/freetype/ftcache.h +0 -1087
- package/dist/libraries/include/freetype2/freetype/ftchapters.h +0 -147
- package/dist/libraries/include/freetype2/freetype/ftcid.h +0 -167
- package/dist/libraries/include/freetype2/freetype/ftcolor.h +0 -1609
- package/dist/libraries/include/freetype2/freetype/ftdriver.h +0 -1193
- package/dist/libraries/include/freetype2/freetype/fterrdef.h +0 -279
- package/dist/libraries/include/freetype2/freetype/fterrors.h +0 -296
- package/dist/libraries/include/freetype2/freetype/ftfntfmt.h +0 -93
- package/dist/libraries/include/freetype2/freetype/ftgasp.h +0 -143
- package/dist/libraries/include/freetype2/freetype/ftglyph.h +0 -664
- package/dist/libraries/include/freetype2/freetype/ftgxval.h +0 -354
- package/dist/libraries/include/freetype2/freetype/ftgzip.h +0 -151
- package/dist/libraries/include/freetype2/freetype/ftimage.h +0 -1276
- package/dist/libraries/include/freetype2/freetype/ftincrem.h +0 -348
- package/dist/libraries/include/freetype2/freetype/ftlcdfil.h +0 -323
- package/dist/libraries/include/freetype2/freetype/ftlist.h +0 -296
- package/dist/libraries/include/freetype2/freetype/ftlogging.h +0 -184
- package/dist/libraries/include/freetype2/freetype/ftlzw.h +0 -100
- package/dist/libraries/include/freetype2/freetype/ftmac.h +0 -289
- package/dist/libraries/include/freetype2/freetype/ftmm.h +0 -752
- package/dist/libraries/include/freetype2/freetype/ftmodapi.h +0 -806
- package/dist/libraries/include/freetype2/freetype/ftmoderr.h +0 -204
- package/dist/libraries/include/freetype2/freetype/ftotval.h +0 -206
- package/dist/libraries/include/freetype2/freetype/ftoutln.h +0 -586
- package/dist/libraries/include/freetype2/freetype/ftparams.h +0 -203
- package/dist/libraries/include/freetype2/freetype/ftpfr.h +0 -179
- package/dist/libraries/include/freetype2/freetype/ftrender.h +0 -244
- package/dist/libraries/include/freetype2/freetype/ftsizes.h +0 -159
- package/dist/libraries/include/freetype2/freetype/ftsnames.h +0 -272
- package/dist/libraries/include/freetype2/freetype/ftstroke.h +0 -773
- package/dist/libraries/include/freetype2/freetype/ftsynth.h +0 -83
- package/dist/libraries/include/freetype2/freetype/ftsystem.h +0 -352
- package/dist/libraries/include/freetype2/freetype/fttrigon.h +0 -350
- package/dist/libraries/include/freetype2/freetype/fttypes.h +0 -615
- package/dist/libraries/include/freetype2/freetype/ftwinfnt.h +0 -276
- package/dist/libraries/include/freetype2/freetype/t1tables.h +0 -773
- package/dist/libraries/include/freetype2/freetype/ttnameid.h +0 -1235
- package/dist/libraries/include/freetype2/freetype/tttables.h +0 -855
- package/dist/libraries/include/freetype2/freetype/tttags.h +0 -123
- package/dist/libraries/include/freetype2/ft2build.h +0 -42
- package/dist/libraries/include/fribidi/fribidi-arabic.h +0 -81
- package/dist/libraries/include/fribidi/fribidi-begindecls.h +0 -3
- package/dist/libraries/include/fribidi/fribidi-bidi-types-list.h +0 -96
- package/dist/libraries/include/fribidi/fribidi-bidi-types.h +0 -405
- package/dist/libraries/include/fribidi/fribidi-bidi.h +0 -142
- package/dist/libraries/include/fribidi/fribidi-brackets.h +0 -89
- package/dist/libraries/include/fribidi/fribidi-char-sets-list.h +0 -54
- package/dist/libraries/include/fribidi/fribidi-char-sets.h +0 -106
- package/dist/libraries/include/fribidi/fribidi-common.h +0 -158
- package/dist/libraries/include/fribidi/fribidi-config.h +0 -23
- package/dist/libraries/include/fribidi/fribidi-deprecated.h +0 -175
- package/dist/libraries/include/fribidi/fribidi-enddecls.h +0 -3
- package/dist/libraries/include/fribidi/fribidi-flags.h +0 -72
- package/dist/libraries/include/fribidi/fribidi-joining-types-list.h +0 -44
- package/dist/libraries/include/fribidi/fribidi-joining-types.h +0 -249
- package/dist/libraries/include/fribidi/fribidi-joining.h +0 -74
- package/dist/libraries/include/fribidi/fribidi-mirroring.h +0 -86
- package/dist/libraries/include/fribidi/fribidi-shape.h +0 -71
- package/dist/libraries/include/fribidi/fribidi-types.h +0 -79
- package/dist/libraries/include/fribidi/fribidi-unicode-version.h +0 -10
- package/dist/libraries/include/fribidi/fribidi-unicode.h +0 -105
- package/dist/libraries/include/fribidi/fribidi.h +0 -129
- package/dist/libraries/include/harfbuzz/hb-aat-layout.h +0 -795
- package/dist/libraries/include/harfbuzz/hb-aat.h +0 -38
- package/dist/libraries/include/harfbuzz/hb-blob.h +0 -160
- package/dist/libraries/include/harfbuzz/hb-buffer.h +0 -799
- package/dist/libraries/include/harfbuzz/hb-common.h +0 -902
- package/dist/libraries/include/harfbuzz/hb-cplusplus.hh +0 -221
- package/dist/libraries/include/harfbuzz/hb-deprecated.h +0 -251
- package/dist/libraries/include/harfbuzz/hb-draw.h +0 -325
- package/dist/libraries/include/harfbuzz/hb-face.h +0 -181
- package/dist/libraries/include/harfbuzz/hb-font.h +0 -1108
- package/dist/libraries/include/harfbuzz/hb-ft.h +0 -145
- package/dist/libraries/include/harfbuzz/hb-map.h +0 -124
- package/dist/libraries/include/harfbuzz/hb-ot-color.h +0 -146
- package/dist/libraries/include/harfbuzz/hb-ot-deprecated.h +0 -141
- package/dist/libraries/include/harfbuzz/hb-ot-font.h +0 -45
- package/dist/libraries/include/harfbuzz/hb-ot-layout.h +0 -503
- package/dist/libraries/include/harfbuzz/hb-ot-math.h +0 -333
- package/dist/libraries/include/harfbuzz/hb-ot-meta.h +0 -72
- package/dist/libraries/include/harfbuzz/hb-ot-metrics.h +0 -129
- package/dist/libraries/include/harfbuzz/hb-ot-name.h +0 -158
- package/dist/libraries/include/harfbuzz/hb-ot-shape.h +0 -53
- package/dist/libraries/include/harfbuzz/hb-ot-var.h +0 -191
- package/dist/libraries/include/harfbuzz/hb-ot.h +0 -49
- package/dist/libraries/include/harfbuzz/hb-set.h +0 -200
- package/dist/libraries/include/harfbuzz/hb-shape-plan.h +0 -122
- package/dist/libraries/include/harfbuzz/hb-shape.h +0 -62
- package/dist/libraries/include/harfbuzz/hb-style.h +0 -81
- package/dist/libraries/include/harfbuzz/hb-subset-repacker.h +0 -81
- package/dist/libraries/include/harfbuzz/hb-subset.h +0 -234
- package/dist/libraries/include/harfbuzz/hb-unicode.h +0 -643
- package/dist/libraries/include/harfbuzz/hb-version.h +0 -95
- package/dist/libraries/include/harfbuzz/hb.h +0 -50
- package/dist/libraries/lib/cmake/expat-2.4.7/expat-config-version.cmake +0 -70
- package/dist/libraries/lib/cmake/expat-2.4.7/expat-config.cmake +0 -99
- package/dist/libraries/lib/cmake/expat-2.4.7/expat-noconfig.cmake +0 -19
- package/dist/libraries/lib/cmake/expat-2.4.7/expat.cmake +0 -99
- package/dist/libraries/lib/libass.a +0 -0
- package/dist/libraries/lib/libass.la +0 -41
- package/dist/libraries/lib/libbrotlicommon.a +0 -0
- package/dist/libraries/lib/libbrotlidec.a +0 -0
- package/dist/libraries/lib/libbrotlienc.a +0 -0
- package/dist/libraries/lib/libexpat.a +0 -0
- package/dist/libraries/lib/libfontconfig.a +0 -0
- package/dist/libraries/lib/libfontconfig.la +0 -41
- package/dist/libraries/lib/libfreetype.a +0 -0
- package/dist/libraries/lib/libfreetype.la +0 -41
- package/dist/libraries/lib/libfribidi.a +0 -0
- package/dist/libraries/lib/libfribidi.la +0 -41
- package/dist/libraries/lib/libharfbuzz-subset.a +0 -0
- package/dist/libraries/lib/libharfbuzz-subset.la +0 -41
- package/dist/libraries/lib/libharfbuzz.a +0 -0
- package/dist/libraries/lib/libharfbuzz.la +0 -41
- package/dist/libraries/lib/pkgconfig/expat.pc +0 -11
- package/dist/libraries/lib/pkgconfig/fontconfig.pc +0 -18
- package/dist/libraries/lib/pkgconfig/freetype2.pc +0 -14
- package/dist/libraries/lib/pkgconfig/fribidi.pc +0 -13
- package/dist/libraries/lib/pkgconfig/harfbuzz-subset.pc +0 -12
- package/dist/libraries/lib/pkgconfig/harfbuzz.pc +0 -13
- package/dist/libraries/lib/pkgconfig/libass.pc +0 -13
- package/dist/libraries/lib/pkgconfig/libbrotlicommon.pc +0 -11
- package/dist/libraries/lib/pkgconfig/libbrotlidec.pc +0 -12
- package/dist/libraries/lib/pkgconfig/libbrotlienc.pc +0 -12
- package/dist/libraries/share/aclocal/freetype2.m4 +0 -194
- package/dist/libraries/share/doc/expat/AUTHORS +0 -10
- package/dist/libraries/share/doc/expat/changelog +0 -1161
- package/dist/license/all +0 -951
- package/dist/license/all.tmp +0 -307
- package/dist/license/brotli +0 -12
- package/dist/license/expat +0 -71
- package/dist/license/fontconfig +0 -46
- package/dist/license/freetype +0 -92
- package/dist/license/fribidi +0 -15
- package/dist/license/harfbuzz +0 -32
- package/dist/license/jassub +0 -0
- package/dist/license/libass +0 -28
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# libharfbuzz.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-15build2
|
|
3
|
-
#
|
|
4
|
-
# Please DO NOT delete this file!
|
|
5
|
-
# It is necessary for linking the library.
|
|
6
|
-
|
|
7
|
-
# The name that we can dlopen(3).
|
|
8
|
-
dlname=''
|
|
9
|
-
|
|
10
|
-
# Names of this library.
|
|
11
|
-
library_names=''
|
|
12
|
-
|
|
13
|
-
# The name of the static archive.
|
|
14
|
-
old_library='libharfbuzz.a'
|
|
15
|
-
|
|
16
|
-
# Linker flags that cannot go in dependency_libs.
|
|
17
|
-
inherited_linker_flags=''
|
|
18
|
-
|
|
19
|
-
# Libraries that this one depends upon.
|
|
20
|
-
dependency_libs=' -R/code/dist/libraries/lib -lm -L/code/build/lib/freetype/build_hb/dist_hb/lib /code/build/lib/freetype/build_hb/dist_hb/lib/libfreetype.la -L/code/dist/libraries/lib -lbrotlidec'
|
|
21
|
-
|
|
22
|
-
# Names of additional weak libraries provided by this library
|
|
23
|
-
weak_library_names=''
|
|
24
|
-
|
|
25
|
-
# Version information for libharfbuzz.
|
|
26
|
-
current=60000
|
|
27
|
-
age=60000
|
|
28
|
-
revision=0
|
|
29
|
-
|
|
30
|
-
# Is this an already installed library?
|
|
31
|
-
installed=yes
|
|
32
|
-
|
|
33
|
-
# Should we warn about portability when linking against -modules?
|
|
34
|
-
shouldnotlink=no
|
|
35
|
-
|
|
36
|
-
# Files to dlopen/dlpreopen
|
|
37
|
-
dlopen=''
|
|
38
|
-
dlpreopen=''
|
|
39
|
-
|
|
40
|
-
# Directory that this library needs to be installed in:
|
|
41
|
-
libdir='/code/dist/libraries/lib'
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
prefix=/code/dist/libraries
|
|
2
|
-
exec_prefix=${prefix}
|
|
3
|
-
libdir=${exec_prefix}/lib
|
|
4
|
-
includedir=${prefix}/include
|
|
5
|
-
|
|
6
|
-
Name: expat
|
|
7
|
-
Version: 2.4.7
|
|
8
|
-
Description: expat XML parser
|
|
9
|
-
URL: https://libexpat.github.io/
|
|
10
|
-
Libs: -L${libdir} -lexpat -lm
|
|
11
|
-
Cflags: -I${includedir}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
prefix=/code/dist/libraries
|
|
2
|
-
exec_prefix=${prefix}
|
|
3
|
-
libdir=${exec_prefix}/lib
|
|
4
|
-
includedir=${prefix}/include
|
|
5
|
-
sysconfdir=${prefix}/etc
|
|
6
|
-
localstatedir=${prefix}/var
|
|
7
|
-
PACKAGE=fontconfig
|
|
8
|
-
confdir=${sysconfdir}/fonts
|
|
9
|
-
cachedir=${localstatedir}/cache/${PACKAGE}
|
|
10
|
-
|
|
11
|
-
Name: Fontconfig
|
|
12
|
-
Description: Font configuration and customization library
|
|
13
|
-
Version: 2.13.96
|
|
14
|
-
Requires: freetype2 >= 21.0.15
|
|
15
|
-
Requires.private: expat
|
|
16
|
-
Libs: -L${libdir} -lfontconfig
|
|
17
|
-
Libs.private:
|
|
18
|
-
Cflags: -I${includedir}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
prefix=/code/dist/libraries
|
|
2
|
-
exec_prefix=/code/dist/libraries
|
|
3
|
-
libdir=/code/dist/libraries/lib
|
|
4
|
-
includedir=/code/dist/libraries/include
|
|
5
|
-
|
|
6
|
-
Name: FreeType 2
|
|
7
|
-
URL: https://freetype.org
|
|
8
|
-
Description: A free, high-quality, and portable font engine.
|
|
9
|
-
Version: 24.0.18
|
|
10
|
-
Requires:
|
|
11
|
-
Requires.private: harfbuzz >= 2.0.0, libbrotlidec
|
|
12
|
-
Libs: -L${libdir} -lfreetype
|
|
13
|
-
Libs.private:
|
|
14
|
-
Cflags: -I${includedir}/freetype2
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# fribidi.pc. Generated from fribidi.pc.in by configure.
|
|
2
|
-
|
|
3
|
-
prefix=/code/dist/libraries
|
|
4
|
-
exec_prefix=${prefix}
|
|
5
|
-
libdir=${exec_prefix}/lib
|
|
6
|
-
includedir=${prefix}/include
|
|
7
|
-
|
|
8
|
-
Name: GNU FriBidi
|
|
9
|
-
Description: Unicode Bidirectional Algorithm Library
|
|
10
|
-
Version: 1.0.11
|
|
11
|
-
Libs: -L${libdir} -lfribidi
|
|
12
|
-
Cflags: -I${includedir}/fribidi
|
|
13
|
-
CFLAGS.private: -DFRIBIDI_LIB_STATIC
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
prefix=/code/dist/libraries
|
|
2
|
-
exec_prefix=/code/dist/libraries
|
|
3
|
-
libdir=/code/dist/libraries/lib
|
|
4
|
-
includedir=/code/dist/libraries/include
|
|
5
|
-
|
|
6
|
-
Name: harfbuzz subsetter
|
|
7
|
-
Description: HarfBuzz font subsetter
|
|
8
|
-
Version: 6.0.0
|
|
9
|
-
|
|
10
|
-
Requires: harfbuzz = 6.0.0
|
|
11
|
-
Libs: -L${libdir} -lharfbuzz-subset
|
|
12
|
-
Cflags: -I${includedir}/harfbuzz
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
prefix=/code/dist/libraries
|
|
2
|
-
exec_prefix=/code/dist/libraries
|
|
3
|
-
libdir=/code/dist/libraries/lib
|
|
4
|
-
includedir=/code/dist/libraries/include
|
|
5
|
-
|
|
6
|
-
Name: harfbuzz
|
|
7
|
-
Description: HarfBuzz text shaping library
|
|
8
|
-
Version: 6.0.0
|
|
9
|
-
|
|
10
|
-
Libs: -L${libdir} -lharfbuzz
|
|
11
|
-
Libs.private: -lm
|
|
12
|
-
Requires.private: freetype2 >= 12.0.6
|
|
13
|
-
Cflags: -I${includedir}/harfbuzz
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
prefix=/code/dist/libraries
|
|
2
|
-
exec_prefix=${prefix}
|
|
3
|
-
libdir=${exec_prefix}/lib
|
|
4
|
-
includedir=${prefix}/include
|
|
5
|
-
|
|
6
|
-
Name: libass
|
|
7
|
-
Description: LibASS is an SSA/ASS subtitles rendering library
|
|
8
|
-
Version: 0.17.1
|
|
9
|
-
Requires: fontconfig >= 2.10.92, harfbuzz >= 1.2.3, fribidi >= 0.19.1, freetype2 >= 9.17.3
|
|
10
|
-
Requires.private:
|
|
11
|
-
Libs: -L${libdir} -lass
|
|
12
|
-
Libs.private:
|
|
13
|
-
Cflags: -I${includedir}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
prefix=/code/dist/libraries
|
|
2
|
-
exec_prefix=/code/dist/libraries
|
|
3
|
-
libdir=${prefix}/lib
|
|
4
|
-
includedir=${prefix}/include
|
|
5
|
-
|
|
6
|
-
Name: libbrotlicommon
|
|
7
|
-
URL: https://github.com/google/brotli
|
|
8
|
-
Description: Brotli common dictionary library
|
|
9
|
-
Version: 1.0.9
|
|
10
|
-
Libs: -L${libdir} -R${libdir} -lbrotlicommon
|
|
11
|
-
Cflags: -I${includedir}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
prefix=/code/dist/libraries
|
|
2
|
-
exec_prefix=/code/dist/libraries
|
|
3
|
-
libdir=${prefix}/lib
|
|
4
|
-
includedir=${prefix}/include
|
|
5
|
-
|
|
6
|
-
Name: libbrotlidec
|
|
7
|
-
URL: https://github.com/google/brotli
|
|
8
|
-
Description: Brotli decoder library
|
|
9
|
-
Version: 1.0.9
|
|
10
|
-
Libs: -L${libdir} -R${libdir} -lbrotlidec
|
|
11
|
-
Requires.private: libbrotlicommon >= 1.0.2
|
|
12
|
-
Cflags: -I${includedir}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
prefix=/code/dist/libraries
|
|
2
|
-
exec_prefix=/code/dist/libraries
|
|
3
|
-
libdir=${prefix}/lib
|
|
4
|
-
includedir=${prefix}/include
|
|
5
|
-
|
|
6
|
-
Name: libbrotlienc
|
|
7
|
-
URL: https://github.com/google/brotli
|
|
8
|
-
Description: Brotli encoder library
|
|
9
|
-
Version: 1.0.9
|
|
10
|
-
Libs: -L${libdir} -R${libdir} -lbrotlienc
|
|
11
|
-
Requires.private: libbrotlicommon >= 1.0.2
|
|
12
|
-
Cflags: -I${includedir}
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
# Configure paths for FreeType2
|
|
2
|
-
# Marcelo Magallon 2001-10-26, based on `gtk.m4` by Owen Taylor
|
|
3
|
-
#
|
|
4
|
-
# Copyright (C) 2001-2021 by
|
|
5
|
-
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
6
|
-
#
|
|
7
|
-
# This file is part of the FreeType project, and may only be used, modified,
|
|
8
|
-
# and distributed under the terms of the FreeType project license,
|
|
9
|
-
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
10
|
-
# indicate that you have read the license and understand and accept it
|
|
11
|
-
# fully.
|
|
12
|
-
#
|
|
13
|
-
# As a special exception to the FreeType project license, this file may be
|
|
14
|
-
# distributed as part of a program that contains a configuration script
|
|
15
|
-
# generated by Autoconf, under the same distribution terms as the rest of
|
|
16
|
-
# that program.
|
|
17
|
-
#
|
|
18
|
-
# serial 6
|
|
19
|
-
|
|
20
|
-
# AC_CHECK_FT2([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
|
21
|
-
# Test for FreeType 2, and define FT2_CFLAGS and FT2_LIBS.
|
|
22
|
-
# MINIMUM-VERSION is what libtool reports; the default is '7.0.1' (this is
|
|
23
|
-
# FreeType 2.0.4).
|
|
24
|
-
#
|
|
25
|
-
# To make this code work with older autoconf versions, `AS_HELP_STRING` is
|
|
26
|
-
# not quoted.
|
|
27
|
-
#
|
|
28
|
-
AC_DEFUN([AC_CHECK_FT2],
|
|
29
|
-
[# Get the cflags and libraries from the freetype-config script
|
|
30
|
-
#
|
|
31
|
-
AC_ARG_WITH([ft-prefix],
|
|
32
|
-
AS_HELP_STRING([--with-ft-prefix=PREFIX],
|
|
33
|
-
[Prefix where FreeType is installed (optional)]),
|
|
34
|
-
[ft_config_prefix="$withval"],
|
|
35
|
-
[ft_config_prefix=""])
|
|
36
|
-
|
|
37
|
-
AC_ARG_WITH([ft-exec-prefix],
|
|
38
|
-
AS_HELP_STRING([--with-ft-exec-prefix=PREFIX],
|
|
39
|
-
[Exec prefix where FreeType is installed (optional)]),
|
|
40
|
-
[ft_config_exec_prefix="$withval"],
|
|
41
|
-
[ft_config_exec_prefix=""])
|
|
42
|
-
|
|
43
|
-
AC_ARG_ENABLE([freetypetest],
|
|
44
|
-
AS_HELP_STRING([--disable-freetypetest],
|
|
45
|
-
[Do not try to compile and run a test FreeType program]),
|
|
46
|
-
[],
|
|
47
|
-
[enable_fttest=yes])
|
|
48
|
-
|
|
49
|
-
if test x$ft_config_exec_prefix != x ; then
|
|
50
|
-
ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
|
|
51
|
-
if test x${FT2_CONFIG+set} != xset ; then
|
|
52
|
-
FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
|
|
53
|
-
fi
|
|
54
|
-
fi
|
|
55
|
-
|
|
56
|
-
if test x$ft_config_prefix != x ; then
|
|
57
|
-
ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
|
|
58
|
-
if test x${FT2_CONFIG+set} != xset ; then
|
|
59
|
-
FT2_CONFIG=$ft_config_prefix/bin/freetype-config
|
|
60
|
-
fi
|
|
61
|
-
fi
|
|
62
|
-
|
|
63
|
-
if test "x$FT2_CONFIG" = x ; then
|
|
64
|
-
AC_PATH_TOOL([FT2_CONFIG], [freetype-config], [no])
|
|
65
|
-
fi
|
|
66
|
-
|
|
67
|
-
min_ft_version=m4_if([$1], [], [7.0.1], [$1])
|
|
68
|
-
AC_MSG_CHECKING([for FreeType -- version >= $min_ft_version])
|
|
69
|
-
no_ft=""
|
|
70
|
-
if test "$FT2_CONFIG" = "no" ; then
|
|
71
|
-
no_ft=yes
|
|
72
|
-
else
|
|
73
|
-
FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
|
|
74
|
-
FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
|
|
75
|
-
ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
|
|
76
|
-
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
|
77
|
-
ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
|
|
78
|
-
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
|
79
|
-
ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
|
|
80
|
-
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
|
81
|
-
ft_min_major_version=`echo $min_ft_version | \
|
|
82
|
-
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
|
83
|
-
ft_min_minor_version=`echo $min_ft_version | \
|
|
84
|
-
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
|
85
|
-
ft_min_micro_version=`echo $min_ft_version | \
|
|
86
|
-
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
|
87
|
-
if test x$enable_fttest = xyes ; then
|
|
88
|
-
ft_config_is_lt=""
|
|
89
|
-
if test $ft_config_major_version -lt $ft_min_major_version ; then
|
|
90
|
-
ft_config_is_lt=yes
|
|
91
|
-
else
|
|
92
|
-
if test $ft_config_major_version -eq $ft_min_major_version ; then
|
|
93
|
-
if test $ft_config_minor_version -lt $ft_min_minor_version ; then
|
|
94
|
-
ft_config_is_lt=yes
|
|
95
|
-
else
|
|
96
|
-
if test $ft_config_minor_version -eq $ft_min_minor_version ; then
|
|
97
|
-
if test $ft_config_micro_version -lt $ft_min_micro_version ; then
|
|
98
|
-
ft_config_is_lt=yes
|
|
99
|
-
fi
|
|
100
|
-
fi
|
|
101
|
-
fi
|
|
102
|
-
fi
|
|
103
|
-
fi
|
|
104
|
-
if test x$ft_config_is_lt = xyes ; then
|
|
105
|
-
no_ft=yes
|
|
106
|
-
else
|
|
107
|
-
ac_save_CFLAGS="$CFLAGS"
|
|
108
|
-
ac_save_LIBS="$LIBS"
|
|
109
|
-
CFLAGS="$CFLAGS $FT2_CFLAGS"
|
|
110
|
-
LIBS="$FT2_LIBS $LIBS"
|
|
111
|
-
|
|
112
|
-
#
|
|
113
|
-
# Sanity checks for the results of freetype-config to some extent.
|
|
114
|
-
#
|
|
115
|
-
AC_RUN_IFELSE([
|
|
116
|
-
AC_LANG_SOURCE([[
|
|
117
|
-
|
|
118
|
-
#include <ft2build.h>
|
|
119
|
-
#include <freetype/freetype.h>
|
|
120
|
-
#include <stdio.h>
|
|
121
|
-
#include <stdlib.h>
|
|
122
|
-
|
|
123
|
-
int
|
|
124
|
-
main()
|
|
125
|
-
{
|
|
126
|
-
FT_Library library;
|
|
127
|
-
FT_Error error;
|
|
128
|
-
|
|
129
|
-
error = FT_Init_FreeType(&library);
|
|
130
|
-
|
|
131
|
-
if (error)
|
|
132
|
-
return 1;
|
|
133
|
-
else
|
|
134
|
-
{
|
|
135
|
-
FT_Done_FreeType(library);
|
|
136
|
-
return 0;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
]])
|
|
141
|
-
],
|
|
142
|
-
[],
|
|
143
|
-
[no_ft=yes],
|
|
144
|
-
[echo $ECHO_N "cross compiling; assuming OK... $ECHO_C"])
|
|
145
|
-
|
|
146
|
-
CFLAGS="$ac_save_CFLAGS"
|
|
147
|
-
LIBS="$ac_save_LIBS"
|
|
148
|
-
fi # test $ft_config_version -lt $ft_min_version
|
|
149
|
-
fi # test x$enable_fttest = xyes
|
|
150
|
-
fi # test "$FT2_CONFIG" = "no"
|
|
151
|
-
|
|
152
|
-
if test x$no_ft = x ; then
|
|
153
|
-
AC_MSG_RESULT([yes])
|
|
154
|
-
m4_if([$2], [], [:], [$2])
|
|
155
|
-
else
|
|
156
|
-
AC_MSG_RESULT([no])
|
|
157
|
-
if test "$FT2_CONFIG" = "no" ; then
|
|
158
|
-
AC_MSG_WARN([
|
|
159
|
-
|
|
160
|
-
The freetype-config script installed by FreeType 2 could not be found.
|
|
161
|
-
If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in
|
|
162
|
-
your path, or set the FT2_CONFIG environment variable to the
|
|
163
|
-
full path to freetype-config.
|
|
164
|
-
])
|
|
165
|
-
else
|
|
166
|
-
if test x$ft_config_is_lt = xyes ; then
|
|
167
|
-
AC_MSG_WARN([
|
|
168
|
-
|
|
169
|
-
Your installed version of the FreeType 2 library is too old.
|
|
170
|
-
If you have different versions of FreeType 2, make sure that
|
|
171
|
-
correct values for --with-ft-prefix or --with-ft-exec-prefix
|
|
172
|
-
are used, or set the FT2_CONFIG environment variable to the
|
|
173
|
-
full path to freetype-config.
|
|
174
|
-
])
|
|
175
|
-
else
|
|
176
|
-
AC_MSG_WARN([
|
|
177
|
-
|
|
178
|
-
The FreeType test program failed to run. If your system uses
|
|
179
|
-
shared libraries and they are installed outside the normal
|
|
180
|
-
system library path, make sure the variable LD_LIBRARY_PATH
|
|
181
|
-
(or whatever is appropriate for your system) is correctly set.
|
|
182
|
-
])
|
|
183
|
-
fi
|
|
184
|
-
fi
|
|
185
|
-
|
|
186
|
-
FT2_CFLAGS=""
|
|
187
|
-
FT2_LIBS=""
|
|
188
|
-
m4_if([$3], [], [:], [$3])
|
|
189
|
-
fi
|
|
190
|
-
|
|
191
|
-
AC_SUBST([FT2_CFLAGS])
|
|
192
|
-
AC_SUBST([FT2_LIBS])])
|
|
193
|
-
|
|
194
|
-
# end of freetype2.m4
|