diff options
-rw-r--r-- | freetype/freetype-2.4.4.patch | 70 | ||||
-rw-r--r-- | freetype/makefile.mk | 64 | ||||
-rw-r--r-- | freetype/prj/build.lst | 3 | ||||
-rw-r--r-- | freetype/prj/d.lst | 3 |
4 files changed, 140 insertions, 0 deletions
diff --git a/freetype/freetype-2.4.4.patch b/freetype/freetype-2.4.4.patch new file mode 100644 index 000000000000..6c98960431de --- /dev/null +++ b/freetype/freetype-2.4.4.patch @@ -0,0 +1,70 @@ +--- misc/freetype-2.4.4/config.mk Wed Aug 20 14:33:55 2008 ++++ misc/build/freetype-2.4.4/config.mk Wed Aug 20 14:26:42 2008 +@@ -1 +1,41 @@ +-dummy ++# ++# FreeType 2 configuration rules for a `normal' pseudo ANSI compiler/system ++# ++ ++ ++# Copyright 1996-2000 by ++# David Turner, Robert Wilhelm, and Werner Lemberg. ++# ++# This file is part of the FreeType project, and may only be used, modified, ++# and distributed under the terms of the FreeType project license, ++# LICENSE.TXT. By continuing to use, modify, or distribute this file you ++# indicate that you have read the license and understand and accept it ++# fully. ++all modules: setup ++PLATFORM := win32 ++CPPFLAGS ?= /DNDEBUG /DWIN32 /D_LIB /D_CRT_SECURE_NO_WARNINGS $(SOLARINC) ++ ++include $(TOP_DIR)/builds/win32/win32-def.mk ++ ++DELETE := rm -f ++CAT := cat ++SEP := / ++BUILD_PROJECT := yes ++COPY := cp ++visualc: setup ++ ++include $(TOP_DIR)/builds/compiler/visualc.mk ++include $(TOP_DIR)/builds/$(PROJECT).mk ++LINK_LIBRARY = link /DLL /nologo /out:$(subst /,$(COMPILER_SEP),../../../bin/$(PROJECT).dll $(OBJECTS_LIST)) ++exported_symbols: ++ echo test ++ ++$(PROJECT_LIBRARY): $(OBJECTS_LIST) ++ $(LINK_LIBRARY) ++ ++ ++# include $(TOP_DIR)/builds/link_dos.mk ++ ++ ++# EOF ++ +--- misc/freetype-2.4.4/objs/ftmodule.h Wed Aug 20 14:33:55 2008 ++++ misc/build/freetype-2.4.4/objs/ftmodule.h Wed Aug 20 14:26:42 2008 +@@ -1 +1,21 @@ +-dummy ++/* This is a generated file. */ ++FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class ) ++FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class ) ++FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class ) ++FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class ) ++FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class ) ++FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class ) ++FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class ) ++FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class ) ++FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class ) ++FT_USE_MODULE( FT_Module_Class, sfnt_module_class ) ++FT_USE_MODULE( FT_Module_Class, autofit_module_class ) ++FT_USE_MODULE( FT_Module_Class, pshinter_module_class ) ++FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class ) ++FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class ) ++FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcd_renderer_class ) ++FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcdv_renderer_class ) ++FT_USE_MODULE( FT_Module_Class, psaux_module_class ) ++FT_USE_MODULE( FT_Module_Class, psnames_module_class ) ++/* EOF */ ++ diff --git a/freetype/makefile.mk b/freetype/makefile.mk new file mode 100644 index 000000000000..ff7df7e51ec4 --- /dev/null +++ b/freetype/makefile.mk @@ -0,0 +1,64 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=. + +PRJNAME=so_freetype +TARGET=so_freetype + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +.IF "$(SYSTEM_FREETYPE)" == "YES" +all: + @echo "An already available installation of freetype should exist on your system." + @echo "Therefore the version provided here does not need to be built in addition." +.ENDIF + +# --- Files -------------------------------------------------------- + +TARFILE_NAME=freetype-2.4.4 +TARFILE_MD5=9273efacffb683483e58a9e113efae9f + +CONFIGURE_DIR= +.IF "$(OS)"=="WNT" +CONFIGURE_ACTION= +ADDITIONAL_FILES=config.mk \ + objs/ftmodule.h +PATCH_FILES=freetype-2.4.4.patch +.ELSE +CONFIGURE_ACTION=.$/configure +.ENDIF + +BUILD_ACTION=make + +# --- Targets ------------------------------------------------------ + +.INCLUDE : set_ext.mk +.INCLUDE : target.mk +.INCLUDE : tg_ext.mk diff --git a/freetype/prj/build.lst b/freetype/prj/build.lst new file mode 100644 index 000000000000..fcd927e4d764 --- /dev/null +++ b/freetype/prj/build.lst @@ -0,0 +1,3 @@ +ep freetype : soltools NULL +ep freetype usr1 - all ep_mkout NULL +ep freetype nmake - all ep_freetype NULL diff --git a/freetype/prj/d.lst b/freetype/prj/d.lst new file mode 100644 index 000000000000..2d7792240e92 --- /dev/null +++ b/freetype/prj/d.lst @@ -0,0 +1,3 @@ +mkdir: %_DEST%\inc%_EXT%\external\freetpye +..\%__SRC%\bin\freetype-2.4.4.dll %_DEST%\bin%_EXT%\freetype-2.4.4.dll + |