summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/freetype/builds/atari
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-03-19 17:34:42 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2015-03-20 13:42:29 +0000
commit2eaf0cf8fd6e7c290497fedb08134a89e7b49b1d (patch)
tree0a4f7bf528e87d0b0a71ce7fccf702b87f4cdec1 /src/3rdparty/freetype/builds/atari
parent77c518a50334d4dcf2476a4f39edc1e3990c7f0b (diff)
Update bundled FreeType to 2.5.5
Removed everything, imported with help of import_from_tarball.sh script, and then added a pre-generated builds/unix/ftconfig.h Task-number: QTBUG-44648 Change-Id: Iea948e41f7761f1580382b3763d04c7a61383382 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/freetype/builds/atari')
-rw-r--r--src/3rdparty/freetype/builds/atari/ATARI.H20
-rw-r--r--src/3rdparty/freetype/builds/atari/FNames.SIC37
-rw-r--r--src/3rdparty/freetype/builds/atari/FREETYPE.PRJ32
-rw-r--r--src/3rdparty/freetype/builds/atari/README.TXT51
-rw-r--r--src/3rdparty/freetype/builds/atari/deflinejoiner.awk181
-rw-r--r--src/3rdparty/freetype/builds/atari/gen-purec-patch.sh40
6 files changed, 0 insertions, 361 deletions
diff --git a/src/3rdparty/freetype/builds/atari/ATARI.H b/src/3rdparty/freetype/builds/atari/ATARI.H
deleted file mode 100644
index 9f78c924b8..0000000000
--- a/src/3rdparty/freetype/builds/atari/ATARI.H
+++ /dev/null
@@ -1,20 +0,0 @@
-#if defined( __GXVALID_H__ )
-#pragma warn -aus /* too many unevaluated variables in gxvalid */
-#endif
-
-#ifndef ATARI_H
-#define ATARI_H
-
-#pragma warn -stu
-
-/* PureC doesn't like 32bit enumerations */
-
-#ifndef FT_IMAGE_TAG
-#define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value
-#endif /* FT_IMAGE_TAG */
-
-#ifndef FT_ENC_TAG
-#define FT_ENC_TAG( value, a, b, c, d ) value
-#endif /* FT_ENC_TAG */
-
-#endif /* ATARI_H */
diff --git a/src/3rdparty/freetype/builds/atari/FNames.SIC b/src/3rdparty/freetype/builds/atari/FNames.SIC
deleted file mode 100644
index f3657179d9..0000000000
--- a/src/3rdparty/freetype/builds/atari/FNames.SIC
+++ /dev/null
@@ -1,37 +0,0 @@
-/* the following changes file names for PureC projects */
-
-if (argc > 0)
-{
- ordner = argv[0];
- if (basename(ordner) == "") /* ist Ordner */
- {
- ChangeFilenames(ordner);
- }
-}
-
-proc ChangeFilenames(folder)
-local i,entries,directory,file;
-{
- entries = filelist(directory,folder);
- for (i = 0; i < entries; ++i)
- {
- file = directory[i,0];
- if ((directory[i,3]&16) > 0) /* subdirectory */
- {
- ChangeFilenames(folder+file+"\\");
- }
- else
- {
- if ((stricmp(suffix(file),".h")==0)|(stricmp(suffix(file),".c")==0))
- ChangeFilename(folder,file);
- }
- }
-}
-
-proc ChangeFilename(path,datei)
-local newfile,err;
-{
- newfile=datei;
- newfile[0]=(newfile[0] | 32) ^ 32;
- err=files.rename("-q",path+datei,newfile);
-}
diff --git a/src/3rdparty/freetype/builds/atari/FREETYPE.PRJ b/src/3rdparty/freetype/builds/atari/FREETYPE.PRJ
deleted file mode 100644
index 4776a5bc69..0000000000
--- a/src/3rdparty/freetype/builds/atari/FREETYPE.PRJ
+++ /dev/null
@@ -1,32 +0,0 @@
-;FreeType project file
-
-FREETYPE.LIB
-
-.C [-K -P -R -A]
-.L [-J -V]
-.S
-
-=
-
-..\..\src\base\ftsystem.c
-..\..\src\base\ftdebug.c
-
-..\..\src\base\ftinit.c
-..\..\src\base\ftglyph.c
-..\..\src\base\ftmm
-..\..\src\base\ftbbox
-
-..\..\src\base\ftbase.c
-..\..\src\autohint\autohint.c
-;..\..\src\cache\ftcache.c
-..\..\src\cff\cff.c
-..\..\src\cid\type1cid.c
-..\..\src\psaux\psaux.c
-..\..\src\pshinter\pshinter.c
-..\..\src\psnames\psnames.c
-..\..\src\raster\raster.c
-..\..\src\sfnt\sfnt.c
-..\..\src\smooth\smooth.c
-..\..\src\truetype\truetype.c
-..\..\src\type1\type1.c
-..\..\src\type42\type42.c
diff --git a/src/3rdparty/freetype/builds/atari/README.TXT b/src/3rdparty/freetype/builds/atari/README.TXT
deleted file mode 100644
index 04eec63519..0000000000
--- a/src/3rdparty/freetype/builds/atari/README.TXT
+++ /dev/null
@@ -1,51 +0,0 @@
-Compiling FreeType 2 with PureC compiler
-========================================
-
-[See below for a German version.]
-
-To compile FreeType 2 as a library the following changes must be applied:
-
-- All *.c files must start with an uppercase letter.
- (In case GEMSCRIPT is available:
- Simply drag the whole FreeType 2 directory to the file `FNames.SIC'.)
-
-- You have to change the INCLUDE directory in PureC's compiler options
- to contain both the `INCLUDE' and `freetype2\include' directory.
- Example:
-
- INCLUDE;E:\freetype2\include
-
-- The file `freetype2/include/Ft2build.h' must be patched as follows to
- include ATARI.H:
-
- #ifndef __FT2_BUILD_GENERIC_H__
- #define __FT2_BUILD_GENERIC_H__
-
- #include "ATARI.H"
-
-
-
-Compilieren von FreeType 2 mit PureC
-====================================
-
-Um FreeType 2 als eine Bibliothek (library) zu compilieren, muss folgendes
-ge„ndert werden:
-
-- Alle *.c-files mssen mit einem GROSSBUCHSTABEN beginnen.
- (Falls GEMSCRIPT zur Verfgung steht:
- Den kompletten Ordner freetype2 auf die Datei `FNames.SIC' draggen.)
-
-- In den Compiler-Optionen von PureC muss das INCLUDE directory auf INCLUDE
- und freetype2\include verweisen. Z.B.:
-
- INCLUDE;E:\freetype2\include
-
-- In der Datei freetype2/include/Ft2build.h muss zu Beginn
- ein #include "ATARI.H" wie folgt eingefgt werden:
-
- #ifndef __FT2_BUILD_GENERIC_H__
- #define __FT2_BUILD_GENERIC_H__
-
- #include "ATARI.H"
-
---- end of README.TXT ---
diff --git a/src/3rdparty/freetype/builds/atari/deflinejoiner.awk b/src/3rdparty/freetype/builds/atari/deflinejoiner.awk
deleted file mode 100644
index c872a70d86..0000000000
--- a/src/3rdparty/freetype/builds/atari/deflinejoiner.awk
+++ /dev/null
@@ -1,181 +0,0 @@
-#!/usr/bin/env awk
-
-
-function shift( array, \
- junk, elm0, l )
-{
- elm0 = array[0]
- for ( l = 0; l < asorti( array, junk ) - 1; l++ )
- array[l] = array[l+1];
- delete array[l]
- return elm0
-}
-
-
-function init_cpp_src_line()
-{
- logical_line = ""
- delete break_pos
-}
-
-
-function shift_valid_bp( array, \
- junk, elm )
-{
- elm = -1
-
- if ( 0 < asorti( array, junk ) )
- do {
- elm = shift( array )
- } while ( 0 > elm );
-
- return elm
-}
-
-
-function check_cpp_src_line_break_pos( \
- i, junk )
-{
- printf( "break_pos:" )
- for ( i = 0; i < asorti( break_pos, junk ); i++ )
- printf( " %d", break_pos[i] );
- printf( "\n" )
-}
-
-
-function check_cpp_src_line()
-{
- printf( "logical_line[%s]\n", logical_line )
- check_cpp_src_line_break_pos()
-}
-
-
-function append_line( phys_line, \
- filt_line, bp_len )
-{
- filt_line = phys_line
- sub( /\\$/, " ", filt_line )
- logical_line = logical_line filt_line
- bp_len = asorti( break_pos, junk )
- break_pos[bp_len] = length( logical_line ) - 1
-}
-
-
-function print_line( \
- c0, c1, i, junk, part_str )
-{
- c0 = 0
-
- while( asorti( break_pos, junk ) > 1 )
- {
- if ( ( c1 = shift_valid_bp( break_pos ) ) < 1 )
- {
- part_str = substr( logical_line, c0 + 1 )
- printf( "%s\n", part_str )
- return
- }
-
- part_str = substr( logical_line, c0 + 1, c1 - c0 + 1 )
- gsub( / $/, "\\", part_str )
- printf( "%s\n", part_str )
- c0 = c1 + 1
- }
-
- part_str = substr( logical_line, c0 + 1 )
- printf( "%s\n", part_str )
-}
-
-
-function shrink_spaces( pos, \
- tail, removed_length, k )
-{
- tail = substr( logical_line, pos )
- sub( /^[ \t]+/, " ", tail )
- removed_length = length( logical_line ) - pos - length( tail ) + 1
- logical_line = substr( logical_line, 0, pos - 1 ) tail
-
-
- for ( k = 0; k < asorti( break_pos, junk ); k++ )
- if ( ( pos + removed_length ) <= break_pos[k] )
- break_pos[k] = break_pos[k] - removed_length;
- else if ( pos <= break_pos[k] )
- break_pos[k] = -1;
-
- return removed_length
-}
-
-
-function shrink_spaces_to_linebreak( pos, \
- junk, part_str, removed_length, i )
-{
- for ( i = 0; i < asorti( break_pos, junk ) && break_pos[i] < pos ; i++ )
- ;
-
- if ( break_pos[i] < 1 )
- return;
-
- part_str = substr( logical_line, pos, break_pos[i] - pos + 1 )
- sub( /^[ \t]+/, " ", part_str )
- removed_length = ( break_pos[i] - pos + 1 ) - length( part_str )
-
- tail = substr( logical_line, pos + removed_length )
- logical_line = substr( logical_line, 0, pos - 1 ) tail
-
- for ( ; i < asorti( break_pos, junk ); i++ )
- break_pos[i] -= removed_length;
-
- return removed_length
-}
-
-
-function delete_linebreaks_in_2nd_token( \
- tail, paren_depth, junk, i, j, k, l )
-{
- if ( logical_line ~ /^[ \t]*#[ \t]*define[ \t]+[0-9A-Za-z_]+\(/ )
- {
- tail = logical_line
- sub( /^[ \t]*#[ \t]*define[ \t]+[0-9A-Za-z_]+/, "", tail )
-
- paren_depth = 0
- l = 0
- i = length( logical_line ) - length( tail ) + 1 # seek to the 1st op paren
- j = i
- do {
- if ( substr( logical_line, j, 2 ) ~ /[ \t][ \t]/ )
- l = shrink_spaces( j );
- else if ( substr( logical_line, j, 1 ) == "(" )
- paren_depth += 1;
- else if ( substr( logical_line, j, 1 ) == ")" )
- paren_depth -= 1;
- j += 1
- } while ( j < length( logical_line ) && paren_depth != 0 )
-
- for ( k = 0; k < asorti( break_pos, junk ); k++ )
- if ( i <= break_pos[k] && break_pos[k] < j )
- break_pos[k] = -1;
-
- if ( l > 0 )
- shrink_spaces_to_linebreak( j );
- }
-}
-
-
-BEGIN{
- init_cpp_src_line()
-}
-{
- append_line( $0 )
- if ( $0 !~ /\\$/ )
- {
- delete_linebreaks_in_2nd_token()
- print_line()
- init_cpp_src_line()
- }
-}
-END{
- if ( 0 < length( logical_line ) )
- {
- delete_linebreaks_in_2nd_token()
- print_line()
- }
-}
diff --git a/src/3rdparty/freetype/builds/atari/gen-purec-patch.sh b/src/3rdparty/freetype/builds/atari/gen-purec-patch.sh
deleted file mode 100644
index 1ec050c11f..0000000000
--- a/src/3rdparty/freetype/builds/atari/gen-purec-patch.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-TOP_DIR=.
-OBJ_DIR=.
-
-for x in "$@"
-do
- case x"$x" in
- x--srcdir=* | x--topdir=* )
- TOP_DIR=`echo $x | sed 's/^--[a-z]*dir=//'`
- ;;
- x--builddir=* | x--objdir=* )
- OBJ_DIR=`echo $x | sed 's/^--[a-z]*dir=//'`
- ;;
- esac
-done
-
-mkdir -p ${OBJ_DIR}/builds/atari/tmp/orig
-
-( cd ${TOP_DIR} && find . -name '*.[CHch]' -type f | fgrep -v builds/atari/tmp | cpio -o ) | \
-( cd ${OBJ_DIR}/builds/atari/tmp/orig && cpio -idum )
-cp ${TOP_DIR}/builds/atari/deflinejoiner.awk ${OBJ_DIR}/builds/atari/tmp
-
-pushd ${OBJ_DIR}/builds/atari/tmp
-
- cp -pr orig purec
- for f in `cd orig && find . -type f`
- do
- echo filter $f
- env LANG=C awk -f deflinejoiner.awk < orig/$f > purec/$f
- done
-
- echo '#define FT2_BUILD_LIBRARY' > purec/include/ft2build.h
- echo '#include "ATARI.H"' >> purec/include/ft2build.h
- env LANG=C awk -f deflinejoiner.awk < orig/include/ft2build.h >> purec/include/ft2build.h
-
- env LANG=C diff -ur orig purec > ../purec.diff
-
-popd
-rm -rf ${OBJ_DIR}/builds/atari/tmp