diff options
Diffstat (limited to 'freetype')
-rw-r--r-- | freetype/freetype-2.4.8.patch | 11 | ||||
-rw-r--r-- | freetype/makefile.mk | 59 | ||||
-rw-r--r-- | freetype/prj/build.lst | 3 | ||||
-rw-r--r-- | freetype/prj/d.lst | 8 |
4 files changed, 81 insertions, 0 deletions
diff --git a/freetype/freetype-2.4.8.patch b/freetype/freetype-2.4.8.patch new file mode 100644 index 000000000000..0318919e42c6 --- /dev/null +++ b/freetype/freetype-2.4.8.patch @@ -0,0 +1,11 @@ +--- misc/build/freetype-2.4.8/builds/unix/configure ++++ misc/build/freetype-2.4.8/builds/unix/configure +@@ -3619,7 +3619,7 @@ + + if test "x$GCC" = xyes; then + XX_CFLAGS="-Wall" +- XX_ANSIFLAGS="-pedantic -ansi" ++ XX_ANSIFLAGS= + else + case "$host" in + *-dec-osf*) diff --git a/freetype/makefile.mk b/freetype/makefile.mk new file mode 100644 index 000000000000..0f9be873f939 --- /dev/null +++ b/freetype/makefile.mk @@ -0,0 +1,59 @@ +#************************************************************************* +# +# 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=freetype +TARGET=freetype + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +# --- Files -------------------------------------------------------- + +TARFILE_NAME=freetype-2.4.8 +TARFILE_MD5=dbf2caca1d3afd410a29217a9809d397 + +PATCH_FILES=$(TARFILE_NAME).patch + +CONFIGURE_ACTION=./configure + +CONFIGURE_FLAGS=\ + --disable-static \ + --without-zlib \ + --without-bzip2 \ + --prefix=$(SOLARVER)/$(INPATH) --includedir=$(SOLARVER)/$(INPATH)/inc/external \ + --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) + +BUILD_ACTION=chmod +x builds/unix/freetype-config && $(GNUMAKE) + +# --- 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..8e3134d37d0f --- /dev/null +++ b/freetype/prj/build.lst @@ -0,0 +1,3 @@ +ft libfreetype : NULL +ft libfreetype usr1 - u ft_mkout NULL +ft libfreetype nmake - u ft_libfreetype NULL diff --git a/freetype/prj/d.lst b/freetype/prj/d.lst new file mode 100644 index 000000000000..17cc4f81b9f0 --- /dev/null +++ b/freetype/prj/d.lst @@ -0,0 +1,8 @@ +..\%__SRC%\misc\build\freetype*\objs\.libs\*.so %_DEST%\lib + +..\%__SRC%\misc\build\freetype*\builds\unix\freetype-config %_DEST%\bin + +mkdir: %_DEST%\inc\external\freetype2\freetype\config +..\%__SRC%\misc\build\freetype*\include\ft2build.h %_DEST%\inc\external\freetype2 +..\%__SRC%\misc\build\freetype*\include\freetype\*.h %_DEST%\inc\external\freetype2\freetype +..\%__SRC%\misc\build\freetype*\include\freetype\config\*.h %_DEST%\inc\external\freetype2\freetype\config |