summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2011-03-01 18:55:44 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2011-03-01 18:55:44 +0100
commit0d9ba0a484e12ea23481ffb8fbb71b84d26e4137 (patch)
tree1f0d51e7e5f9156a26b3583006495d4e8fe44dfa /pango
parent47fb20932f81725ccc85aa1d57ae4212b61cd222 (diff)
rsvglibs: add pango dependency
Diffstat (limited to 'pango')
-rw-r--r--pango/makefile.mk116
-rw-r--r--pango/pango-1.28.3.patch37
-rw-r--r--pango/prj/build.lst3
-rw-r--r--pango/prj/d.lst38
4 files changed, 194 insertions, 0 deletions
diff --git a/pango/makefile.mk b/pango/makefile.mk
new file mode 100644
index 000000000000..c2b18022ced0
--- /dev/null
+++ b/pango/makefile.mk
@@ -0,0 +1,116 @@
+#*************************************************************************
+#
+# 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=pango
+TARGET=so_pango
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+
+.IF "$(SYSTEM_PANGO)" == "YES"
+all:
+ @echo "An already available installation of pango should exist on your system."
+ @echo "Therefore the version provided here does not need to be built in addition."
+.ENDIF
+
+# --- Files --------------------------------------------------------
+
+PANGOVERSION=1.28.3
+
+TARFILE_NAME=$(PRJNAME)-$(PANGOVERSION)
+TARFILE_MD5=22ad1c8d3fda7e73b0798035f3dd96bc
+
+PATCH_FILES=pango-1.28.3.patch
+
+CONFIGURE_LDFLAGS="-L$(SOLARLIBDIR)"
+CONFIGURE_DIR=
+CONFIGURE_ACTION=$(AUGMENT_LIBRARY_PATH) \
+ .$/configure --prefix=$(SRC_ROOT)$/$(PRJNAME)$/$(MISC) \
+ CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS) $(EXTRA_CDEFS) -I$(SOLARINCDIR) -I$(SOLARINCDIR)$/external -I$(SOLARINCDIR)$/external$/glib-2.0" \
+ LDFLAGS="$(CONFIGURE_LDFLAGS)" \
+ CAIRO_CFLAGS="-I$(SOLARINCDIR) -I$(SOLARINCDIR)$/cairo" \
+ CAIRO_LIBS="-lcairo" \
+ GLIB_CFLAGS="-I$(SOLARINCDIR)$/external$/glib-2.0" \
+ GLIB_LIBS="-lgthread-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl"
+CONFIGURE_FLAGS=--with-included-modules=yes
+.IF "$(OS)" == "MACOSX"
+CONFIGURE_FLAGS+= CPPFLAGS="$(ARCH_FLAGS) $(EXTRA_CDEFS)"
+CONFIGURE_ACTION+="--without-x"
+.ENDIF
+
+BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE)
+BUILD_DIR=$(CONFIGURE_DIR)
+
+
+.IF "$(OS)"=="MACOSX"
+EXTRPATH=LOADER
+OUT2LIB+=pango/.libs/libpango-1.0.0.dylib
+OUT2LIB+=pango/.libs/libpangocairo-1.0.0.dylib
+
+OUT2BIN+=pango/.libs/pango-querymodules
+
+OUT2INC+=pango/pango-attributes.h
+OUT2INC+=pango/pango-enum-types.h
+OUT2INC+=pango/pango-glyph.h
+OUT2INC+=pango/pango-modules.h
+OUT2INC+=pango/pango.h
+OUT2INC+=pango/pango-bidi-type.h
+OUT2INC+=pango/pango-features.h
+OUT2INC+=pango/pango-gravity.h
+OUT2INC+=pango/pango-renderer.h
+OUT2INC+=pango/pangoatsui.h
+OUT2INC+=pango/pango-break.h
+OUT2INC+=pango/pango-font.h
+OUT2INC+=pango/pango-item.h
+OUT2INC+=pango/pango-script.h
+OUT2INC+=pango/pangocairo.h
+OUT2INC+=pango/pango-context.h
+OUT2INC+=pango/pango-fontmap.h
+OUT2INC+=pango/pango-language.h
+OUT2INC+=pango/pango-tabs.h
+OUT2INC+=pango/pango-coverage.h
+OUT2INC+=pango/pango-fontset.h
+OUT2INC+=pango/pango-layout.h
+OUT2INC+=pango/pango-types.h
+OUT2INC+=pango/pango-engine.h
+OUT2INC+=pango/pango-glyph-item.h
+OUT2INC+=pango/pango-matrix.h
+OUT2INC+=pango/pango-utils.h
+
+.ELIF "$(OS)"=="WNT"
+.ELSE
+.ENDIF
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : set_ext.mk
+.INCLUDE : target.mk
+.INCLUDE : tg_ext.mk
+
diff --git a/pango/pango-1.28.3.patch b/pango/pango-1.28.3.patch
new file mode 100644
index 000000000000..7da953f28311
--- /dev/null
+++ b/pango/pango-1.28.3.patch
@@ -0,0 +1,37 @@
+--- misc/pango-1.28.3/configure 2010-09-29 13:02:33.000000000 +0200
++++ misc/build/pango-1.28.3/configure 2011-03-01 17:56:26.000000000 +0100
+@@ -18596,16 +18596,16 @@
+ fi
+
+ if $have_atsui; then
+- if test -n "$PKG_CONFIG" && \
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-quartz-font >= \$cairo_required\""; } >&5
+- ($PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required") 2>&5
+- ac_status=$?
+- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+- test $ac_status = 0; }; then
++# if test -n "$PKG_CONFIG" && \
++# { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-quartz-font >= \$cairo_required\""; } >&5
++# ($PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required") 2>&5
++# ac_status=$?
++# $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++# test $ac_status = 0; }; then
+ have_cairo_atsui=true
+-else
+- :
+-fi
++#else
++# :
++#fi
+ fi
+ if $have_cairo_atsui; then
+
+@@ -18859,7 +18859,7 @@
+
+ # Setup GLIB_MKENUMS to use glib-mkenums even if GLib is uninstalled.
+ GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
+-
++GLIB_MKENUMS=glib-mkenums
+
+
+ # Add in gthread-2.0 to CFLAGS but not to LIBS so we get any
diff --git a/pango/prj/build.lst b/pango/prj/build.lst
new file mode 100644
index 000000000000..44c735efe9fd
--- /dev/null
+++ b/pango/prj/build.lst
@@ -0,0 +1,3 @@
+pg pango : gettext NULL
+pg pango usr1 - all pg_mkout NULL
+pg pango nmake - all pg_pango NULL
diff --git a/pango/prj/d.lst b/pango/prj/d.lst
new file mode 100644
index 000000000000..a334a657bff1
--- /dev/null
+++ b/pango/prj/d.lst
@@ -0,0 +1,38 @@
+mkdir: %_DEST%\inc%_EXT%\external
+..\%__SRC%\lib\libpango-1.0.0.dylib %_DEST%\lib%_EXT%\libpango-1.0.0.dylib
+symlink: %_DEST%\lib%_EXT%\libpango-1.0.0.dylib %_DEST%\lib%_EXT%\libpango-1.0.dylib
+..\%__SRC%\lib\libpangocairo-1.0.0.dylib %_DEST%\lib%_EXT%\libpangocairo-1.0.0.dylib
+symlink: %_DEST%\lib%_EXT%\libpangocairo-1.0.0.dylib %_DEST%\lib%_EXT%\libpangocairo-1.0.dylib
+
+..\%__SRC%\bin\pango-querymodules %_DEST%\bin%_EXT%\pango-querymodules
+
+mkdir: %_DEST%\inc%_EXT%\external\pango-1.0
+mkdir: %_DEST%\inc%_EXT%\external\pango-1.0\pango
+..\%__SRC%\inc\pango-attributes.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-attributes.h
+..\%__SRC%\inc\pango-enum-types.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-enum-types.h
+..\%__SRC%\inc\pango-glyph.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-glyph.h
+..\%__SRC%\inc\pango-modules.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-modules.h
+..\%__SRC%\inc\pango.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango.h
+..\%__SRC%\inc\pango-bidi-type.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-bidi-type.h
+..\%__SRC%\inc\pango-features.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-features.h
+..\%__SRC%\inc\pango-gravity.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-gravity.h
+..\%__SRC%\inc\pango-renderer.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-renderer.h
+..\%__SRC%\inc\pangoatsui.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pangoatsui.h
+..\%__SRC%\inc\pango-break.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-break.h
+..\%__SRC%\inc\pango-font.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-font.h
+..\%__SRC%\inc\pango-item.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-item.h
+..\%__SRC%\inc\pango-script.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-script.h
+..\%__SRC%\inc\pangocairo.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pangocairo.h
+..\%__SRC%\inc\pango-context.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-context.h
+..\%__SRC%\inc\pango-fontmap.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-fontmap.h
+..\%__SRC%\inc\pango-language.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-language.h
+..\%__SRC%\inc\pango-tabs.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-tabs.h
+..\%__SRC%\inc\pango-coverage.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-coverage.h
+..\%__SRC%\inc\pango-fontset.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-fontset.h
+..\%__SRC%\inc\pango-layout.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-layout.h
+..\%__SRC%\inc\pango-types.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-types.h
+..\%__SRC%\inc\pango-engine.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-engine.h
+..\%__SRC%\inc\pango-glyph-item.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-glyph-item.h
+..\%__SRC%\inc\pango-matrix.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-matrix.h
+..\%__SRC%\inc\pango-utils.h %_DEST%\inc%_EXT%\external\pango-1.0\pango\pango-utils.h
+