diff options
-rw-r--r-- | libgsf/libgsf-1.14.19.patch | 20 | ||||
-rw-r--r-- | libgsf/makefile.mk | 140 | ||||
-rw-r--r-- | libgsf/prj/build.lst | 3 | ||||
-rw-r--r-- | libgsf/prj/d.lst | 56 | ||||
-rw-r--r-- | librsvg/librsvg-2.32.1.patch | 26 | ||||
-rw-r--r-- | librsvg/makefile.mk | 86 | ||||
-rw-r--r-- | librsvg/prj/d.lst | 0 |
7 files changed, 331 insertions, 0 deletions
diff --git a/libgsf/libgsf-1.14.19.patch b/libgsf/libgsf-1.14.19.patch new file mode 100644 index 000000000000..a39758367f83 --- /dev/null +++ b/libgsf/libgsf-1.14.19.patch @@ -0,0 +1,20 @@ +--- misc/libgsf-1.14.19/configure 2010-09-25 18:53:55.000000000 +0200 ++++ misc/build/libgsf-1.14.19/configure 2011-03-03 12:42:21.000000000 +0100 +@@ -11475,7 +11475,7 @@ + + + +- ++if 0; then + case "$am__api_version" in + 1.01234) + as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 +@@ -11650,7 +11650,7 @@ + + + +- ++fi + + + diff --git a/libgsf/makefile.mk b/libgsf/makefile.mk new file mode 100644 index 000000000000..e19a88c9a370 --- /dev/null +++ b/libgsf/makefile.mk @@ -0,0 +1,140 @@ +#************************************************************************* +# +# 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=libgsf +TARGET=so_libgsf + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +.IF "$(SYSTEM_LIBGSF)" == "YES" +all: + @echo "An already available installation of gdk-pixbuf should exist on your system." + @echo "Therefore the version provided here does not need to be built in addition." +.ENDIF + +# --- Files -------------------------------------------------------- + +LIBGSFVERSION=1.14.19 + +TARFILE_NAME=$(PRJNAME)-$(LIBGSFVERSION) +TARFILE_MD5=3a84ac2da37cae5bf7ce616228c6fbde + +PATCH_FILES=libgsf-1.14.19.patch + +CONFIGURE_DIR= +CONFIGURE_ACTION=$(AUGMENT_LIBRARY_PATH) \ + .$/configure \ + --prefix=$(SRC_ROOT)$/$(PRJNAME)$/$(MISC) \ + CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS) -I$(SOLARINCDIR)$/external -I$(SOLARINCDIR)$/external$/glib-2.0" \ + LDFLAGS="-L$(SOLARLIBDIR)" \ + --without-python \ + --without-bonobo \ + --with-bz2 \ + --with-gio \ + --with-gdk_pixbuf \ + --without-gnome-vfs \ + --disable-nls \ + LIBGSF_CFLAGS="-I$(SOLARINCDIR)$/external$/glib-2.0" \ + LIBGSF_LIBS="-lxml2 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl" \ + LIBGSF_GIO_CFLAGS="-I$(SOLARINCDIR)$/external$/glib-2.0" \ + LIBGSF_GIO_LIBS="-lgio-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl" \ + GDK_PIXBUF_CFLAGS="-I$(SOLARINCDIR)$/external$/gdk-pixbuf-2.0" \ + GDK_PIXBUF_LIBS="-lgdk_pixbuf-2.0" + + +CONFIGURE_FLAGS=$(eq,$(OS),MACOSX CPPFLAGS="$(EXTRA_CDEFS)" $(NULL)) + +BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) \ + $(GNUMAKE) +BUILD_DIR=$(CONFIGURE_DIR) + +.IF "$(OS)"=="MACOSX" +EXTRPATH=LOADER +OUT2LIB+=gsf$/.libs$/libgsf-1.114.dylib + +OUT2INC+=gsf$/gsf-blob.h +OUT2INC+=gsf$/gsf-input-impl.h +OUT2INC+=gsf$/gsf-outfile.h +OUT2INC+=gsf$/gsf-clip-data.h +OUT2INC+=gsf$/gsf-input-iochannel.h +OUT2INC+=gsf$/gsf-output-bzip.h +OUT2INC+=gsf$/gsf-doc-meta-data.h +OUT2INC+=gsf$/gsf-input-memory.h +OUT2INC+=gsf$/gsf-output-csv.h +OUT2INC+=gsf$/gsf-docprop-vector.h +OUT2INC+=gsf$/gsf-input-proxy.h +OUT2INC+=gsf$/gsf-output-gio.h +OUT2INC+=gsf$/gsf-impl-utils.h +OUT2INC+=gsf$/gsf-input-stdio.h +OUT2INC+=gsf$/gsf-output-gzip.h +OUT2INC+=gsf$/gsf-infile-impl.h +OUT2INC+=gsf$/gsf-input-textline.h +OUT2INC+=gsf$/gsf-output-iconv.h +OUT2INC+=gsf$/gsf-infile-msole.h +OUT2INC+=gsf$/gsf-input.h +OUT2INC+=gsf$/gsf-output-impl.h +OUT2INC+=gsf$/gsf-infile-msvba.h +OUT2INC+=gsf$/gsf-libxml.h +OUT2INC+=gsf$/gsf-output-iochannel.h +OUT2INC+=gsf$/gsf-infile-stdio.h +OUT2INC+=gsf$/gsf-meta-names.h +OUT2INC+=gsf$/gsf-output-memory.h +OUT2INC+=gsf$/gsf-infile-tar.h +OUT2INC+=gsf$/gsf-msole-utils.h +OUT2INC+=gsf$/gsf-output-stdio.h +OUT2INC+=gsf$/gsf-infile-zip.h +OUT2INC+=gsf$/gsf-open-pkg-utils.h +OUT2INC+=gsf$/gsf-output.h +OUT2INC+=gsf$/gsf-infile.h +OUT2INC+=gsf$/gsf-opendoc-utils.h +OUT2INC+=gsf$/gsf-shared-memory.h +OUT2INC+=gsf$/gsf-input-bzip.h +OUT2INC+=gsf$/gsf-outfile-impl.h +OUT2INC+=gsf$/gsf-structured-blob.h +OUT2INC+=gsf$/gsf-input-gio.h +OUT2INC+=gsf$/gsf-outfile-msole.h +OUT2INC+=gsf$/gsf-timestamp.h +OUT2INC+=gsf$/gsf-input-gzip.h +OUT2INC+=gsf$/gsf-outfile-stdio.h +OUT2INC+=gsf$/gsf-utils.h +OUT2INC+=gsf$/gsf-input-http.h +OUT2INC+=gsf$/gsf-outfile-zip.h +OUT2INC+=gsf$/gsf.h +.ELIF "$(OS)"=="WNT" +.ELSE +.ENDIF + +# --- Targets ------------------------------------------------------ + +.INCLUDE : set_ext.mk +.INCLUDE : target.mk +.INCLUDE : tg_ext.mk + diff --git a/libgsf/prj/build.lst b/libgsf/prj/build.lst new file mode 100644 index 000000000000..b5f0d8167c08 --- /dev/null +++ b/libgsf/prj/build.lst @@ -0,0 +1,3 @@ +gs libgsf : soltools NULL +gs libgsf usr1 - all gs_mkout NULL +gs libgsf nmake - all gs_libgsf NULL diff --git a/libgsf/prj/d.lst b/libgsf/prj/d.lst new file mode 100644 index 000000000000..382f4fa071a6 --- /dev/null +++ b/libgsf/prj/d.lst @@ -0,0 +1,56 @@ +mkdir: %_DEST%\inc%_EXT%\external +mkdir: %_DEST%\inc%_EXT%\external\libgsf-1 +mkdir: %_DEST%\inc%_EXT%\external\libgsf-1\gsf + +..\%__SRC%\inc\gsf-blob.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-blob.h +..\%__SRC%\inc\gsf-input-impl.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-impl.h +..\%__SRC%\inc\gsf-outfile.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-outfile.h +..\%__SRC%\inc\gsf-clip-data.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-clip-data.h +..\%__SRC%\inc\gsf-input-iochannel.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-iochannel.h +..\%__SRC%\inc\gsf-output-bzip.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output-bzip.h +..\%__SRC%\inc\gsf-doc-meta-data.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-doc-meta-data.h +..\%__SRC%\inc\gsf-input-memory.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-memory.h +..\%__SRC%\inc\gsf-output-csv.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output-csv.h +..\%__SRC%\inc\gsf-docprop-vector.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-docprop-vector.h +..\%__SRC%\inc\gsf-input-proxy.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-proxy.h +..\%__SRC%\inc\gsf-output-gio.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output-gio.h +..\%__SRC%\inc\gsf-impl-utils.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-impl-utils.h +..\%__SRC%\inc\gsf-input-stdio.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-stdio.h +..\%__SRC%\inc\gsf-output-gzip.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output-gzip.h +..\%__SRC%\inc\gsf-infile-impl.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-infile-impl.h +..\%__SRC%\inc\gsf-input-textline.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-textline.h +..\%__SRC%\inc\gsf-output-iconv.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output-iconv.h +..\%__SRC%\inc\gsf-infile-msole.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-infile-msole.h +..\%__SRC%\inc\gsf-input.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input.h +..\%__SRC%\inc\gsf-output-impl.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output-impl.h +..\%__SRC%\inc\gsf-infile-msvba.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-infile-msvba.h +..\%__SRC%\inc\gsf-libxml.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-libxml.h +..\%__SRC%\inc\gsf-output-iochannel.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output-iochannel.h +..\%__SRC%\inc\gsf-infile-stdio.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-infile-stdio.h +..\%__SRC%\inc\gsf-meta-names.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-meta-names.h +..\%__SRC%\inc\gsf-output-memory.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output-memory.h +..\%__SRC%\inc\gsf-infile-tar.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-infile-tar.h +..\%__SRC%\inc\gsf-msole-utils.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-msole-utils.h +..\%__SRC%\inc\gsf-output-stdio.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output-stdio.h +..\%__SRC%\inc\gsf-infile-zip.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-infile-zip.h +..\%__SRC%\inc\gsf-open-pkg-utils.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-open-pkg-utils.h +..\%__SRC%\inc\gsf-output.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-output.h +..\%__SRC%\inc\gsf-infile.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-infile.h +..\%__SRC%\inc\gsf-opendoc-utils.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-opendoc-utils.h +..\%__SRC%\inc\gsf-shared-memory.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-shared-memory.h +..\%__SRC%\inc\gsf-input-bzip.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-bzip.h +..\%__SRC%\inc\gsf-outfile-impl.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-outfile-impl.h +..\%__SRC%\inc\gsf-structured-blob.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-structured-blob.h +..\%__SRC%\inc\gsf-input-gio.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-gio.h +..\%__SRC%\inc\gsf-outfile-msole.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-outfile-msole.h +..\%__SRC%\inc\gsf-timestamp.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-timestamp.h +..\%__SRC%\inc\gsf-input-gzip.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-gzip.h +..\%__SRC%\inc\gsf-outfile-stdio.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-outfile-stdio.h +..\%__SRC%\inc\gsf-utils.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-utils.h +..\%__SRC%\inc\gsf-input-http.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-input-http.h +..\%__SRC%\inc\gsf-outfile-zip.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf-outfile-zip.h +..\%__SRC%\inc\gsf.h %_DEST%\inc%_EXT%\external\libgsf-1\gsf\gsf.h + +..\%__SRC%\lib\libgsf-1.114.dylib %_DEST%\lib%_EXT%\libgsf-1.114.dylib +symlink: %_DEST%\lib%_EXT%\libgsf-1.114.dylib %_DEST%\lib%_EXT%\libgsf-1.dylib + diff --git a/librsvg/librsvg-2.32.1.patch b/librsvg/librsvg-2.32.1.patch new file mode 100644 index 000000000000..db8f89169df0 --- /dev/null +++ b/librsvg/librsvg-2.32.1.patch @@ -0,0 +1,26 @@ +--- misc/librsvg-2.32.1/configure 2010-11-13 11:52:19.000000000 +0100 ++++ misc/build/librsvg-2.32.1/configure 2011-03-02 14:06:41.000000000 +0100 +@@ -12288,8 +12288,8 @@ + + + +-GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` +- ++#GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` ++GLIB_MKENUMS=glib-mkenums + + + pkg_failed=no +--- misc/librsvg-2.32.1/librsvg-features.h 2010-11-13 11:52:49.000000000 +0100 ++++ misc/build/librsvg-2.32.1/librsvg-features.h 2011-03-02 14:05:37.000000000 +0100 +@@ -11,8 +11,8 @@ + (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION > (minor)) || \ + (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION == (minor) && LIBRSVG_MICRO_VERSION >= (micro))) + +-#define LIBRSVG_HAVE_SVGZ (1) +-#define LIBRSVG_HAVE_CSS (1) ++#define LIBRSVG_HAVE_SVGZ (0) ++#define LIBRSVG_HAVE_CSS (0) + + #define LIBRSVG_CHECK_FEATURE(FEATURE) (defined(LIBRSVG_HAVE_##FEATURE) && LIBRSVG_HAVE_##FEATURE) + diff --git a/librsvg/makefile.mk b/librsvg/makefile.mk new file mode 100644 index 000000000000..084d9e2569e4 --- /dev/null +++ b/librsvg/makefile.mk @@ -0,0 +1,86 @@ +#************************************************************************* +# +# 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=librsvg +TARGET=so_librsvg + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +.IF "$(SYSTEM_LIBRSVG)" == "YES" +all: + @echo "An already available installation of librsvg should exist on your system." + @echo "Therefore the version provided here does not need to be built in addition." +.ENDIF + +# --- Files -------------------------------------------------------- + +LIBRSVGVERSION=2.32.1 + +TARFILE_NAME=$(PRJNAME)-$(LIBRSVGVERSION) +TARFILE_MD5=d7a242ca43e33e1b63d3073f9d46a6a8 + +PATCH_FILES=librsvg-2.32.1.patch + +.IF "$(LIBXML_LIBS)" == "" +LIBXML_LIBS=-lxml2 +.ENDIF + +CONFIGURE_LDFLAGS="-L$(SOLARLIBDIR)" +CONFIGURE_DIR= +CONFIGURE_ACTION=$(AUGMENT_LIBRARY_PATH) .$/configure \ + --prefix=$(SRC_ROOT)$/$(PRJNAME)$/$(MISC) +CONFIGURE_FLAGS=--disable-gtk-theme --disable-tools --with-croco --with-svgz \ + LIBRSVG_CFLAGS=-I$(SOLARINCDIR)$/external/glib-2.0 \ + LIBRSVG_LIBS="-lgdk_pixbuf-2.0 -lpango-1.0 -lpangocairo-1.0 -lgthread-2.0 -lgio-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 $(LIBXML_LIBS) -lcairo -lintl" \ + GDK_PIXBUF_CFLAGS=-I$(SOLARINCDIR)$/external/gdk-pixbuf-2.0 \ + GDK_PIXBUF_LIBS=-lgdkpixbuf-2.0 \ + GTHREAD_CFLAGS=-I$(SOLARINCDIR)$/external/glib-2.0 \ + GTHREAD_LIBS=-lgthread-2.0 \ + CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS) -I$(SOLARINCDIR)$/external -I$(SOLARINCDIR)$/external$/glib-2.0 -I$(SOLARINCDIR)$/external/gdk-pixbuf-2.0 -I$(SOLARINCDIR)$/external/pango-1.0 -I$(SOLARINCDIR)$/cairo" \ + LDFLAGS="$(CONFIGURE_LDFLAGS)" + +BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) \ + $(GNUMAKE) +BUILD_DIR=$(CONFIGURE_DIR) + + + +.IF "$(OS)"=="MACOSX" +EXTRPATH=LOADER +.ELIF "$(OS)"=="WNT" +.ENDIF + +# --- Targets ------------------------------------------------------ + +.INCLUDE : set_ext.mk +.INCLUDE : target.mk +.INCLUDE : tg_ext.mk + diff --git a/librsvg/prj/d.lst b/librsvg/prj/d.lst new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/librsvg/prj/d.lst |