Kaydet (Commit) 71a3db78 authored tarafından Matúš Kukan's avatar Matúš Kukan

libwps: convert to gbuild

Change-Id: I8f5312d9751d4bc4f26feb1d58b1c4b3184441c0
üst 97ed2616
...@@ -87,6 +87,7 @@ jvmaccess\ ...@@ -87,6 +87,7 @@ jvmaccess\
jvmfwk\ jvmfwk\
l10ntools\ l10ntools\
libvisio\ libvisio\
libwps\
lingucomponent\ lingucomponent\
linguistic\ linguistic\
lotuswordpro\ lotuswordpro\
...@@ -216,7 +217,6 @@ libpng\ ...@@ -216,7 +217,6 @@ libpng\
librsvg\ librsvg\
libwpd\ libwpd\
libwpg\ libwpg\
libwps\
libxml2\ libxml2\
libxmlsec\ libxmlsec\
libxslt\ libxslt\
......
...@@ -74,6 +74,7 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\ ...@@ -74,6 +74,7 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
io \ io \
javaunohelper \ javaunohelper \
libvisio \ libvisio \
libwps \
lingucomponent \ lingucomponent \
linguistic \ linguistic \
lotuswordpro \ lotuswordpro \
......
...@@ -83,6 +83,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\ ...@@ -83,6 +83,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
jvmfwk \ jvmfwk \
l10ntools \ l10ntools \
libvisio \ libvisio \
libwps \
lingucomponent \ lingucomponent \
linguistic \ linguistic \
lotuswordpro \ lotuswordpro \
......
...@@ -622,6 +622,7 @@ export WPG_CFLAGS=@WPG_CFLAGS@ ...@@ -622,6 +622,7 @@ export WPG_CFLAGS=@WPG_CFLAGS@
export WPG_LIBS=@WPG_LIBS@ export WPG_LIBS=@WPG_LIBS@
export WPS_CFLAGS=@WPS_CFLAGS@ export WPS_CFLAGS=@WPS_CFLAGS@
export WPS_LIBS=@WPS_LIBS@ export WPS_LIBS=@WPS_LIBS@
export WPS_TARBALL=@WPS_TARBALL@
export XCLASSPATH=@XCLASSPATH@ export XCLASSPATH=@XCLASSPATH@
export XINERAMA_LINK=@XINERAMA_LINK@ export XINERAMA_LINK=@XINERAMA_LINK@
export XRANDR_CFLAGS=@XRANDR_CFLAGS@ export XRANDR_CFLAGS=@XRANDR_CFLAGS@
......
...@@ -6770,11 +6770,12 @@ elif test $_os = iOS; then ...@@ -6770,11 +6770,12 @@ elif test $_os = iOS; then
else else
AC_MSG_RESULT([internal]) AC_MSG_RESULT([internal])
SYSTEM_LIBWPS=NO SYSTEM_LIBWPS=NO
BUILD_TYPE="$BUILD_TYPE LIBWPS" WPS_TARBALL=d197bd6211669a2fa4ca648faf04bcb1-libwps-0.2.7.tar.bz2
fi fi
AC_SUBST(SYSTEM_LIBWPS) AC_SUBST(SYSTEM_LIBWPS)
AC_SUBST(WPS_CFLAGS) AC_SUBST(WPS_CFLAGS)
AC_SUBST(WPS_LIBS) AC_SUBST(WPS_LIBS)
AC_SUBST(WPS_TARBALL)
dnl =================================================================== dnl ===================================================================
dnl Check for system libwpg dnl Check for system libwpg
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
include $(module_directory)/../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Module_Module,libwps))
ifeq ($(SYSTEM_LIBWPS),NO)
$(eval $(call gb_Module_add_targets,libwps,\
Package_libwps \
StaticLibrary_wps \
UnpackedTarball_wps \
))
endif
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,libwps_inc,$(call gb_UnpackedTarball_get_dir,wps/src/lib)))
$(eval $(call gb_Package_use_unpacked,libwps_inc,wps))
$(eval $(call gb_Package_add_files,libwps_inc,inc/external/libwps,\
libwps.h \
WPSDocument.h \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_StaticLibrary_StaticLibrary,wpslib))
$(eval $(call gb_StaticLibrary_set_warnings_not_errors,wpslib))
$(eval $(call gb_StaticLibrary_use_unpacked,wpslib,wps))
$(eval $(call gb_StaticLibrary_use_package,wpslib,libwps_inc))
$(eval $(call gb_StaticLibrary_use_externals,wpslib,\
wpd \
))
$(eval $(call gb_StaticLibrary_set_cxx_suffix,wpslib,cpp))
$(eval $(call gb_StaticLibrary_add_generated_exception_objects,wpslib,\
UnpackedTarball/wps/src/lib/libwps_internal \
UnpackedTarball/wps/src/lib/libwps_tools_win \
UnpackedTarball/wps/src/lib/WPS4 \
UnpackedTarball/wps/src/lib/WPS4Graph \
UnpackedTarball/wps/src/lib/WPS4Text \
UnpackedTarball/wps/src/lib/WPS8 \
UnpackedTarball/wps/src/lib/WPSCell \
UnpackedTarball/wps/src/lib/WPSContentListener \
UnpackedTarball/wps/src/lib/WPSDebug \
UnpackedTarball/wps/src/lib/WPSDocument \
UnpackedTarball/wps/src/lib/WPSHeader \
UnpackedTarball/wps/src/lib/WPSList \
UnpackedTarball/wps/src/lib/WPSOLEParser \
UnpackedTarball/wps/src/lib/WPSOLEStream \
UnpackedTarball/wps/src/lib/WPSPageSpan \
UnpackedTarball/wps/src/lib/WPSParagraph \
UnpackedTarball/wps/src/lib/WPSParser \
UnpackedTarball/wps/src/lib/WPSSubDocument \
UnpackedTarball/wps/src/lib/WPSTable \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_UnpackedTarball_UnpackedTarball,wps))
$(eval $(call gb_UnpackedTarball_set_tarball,wps,$(WPS_TARBALL)))
# vim: set noet sw=4 ts=4:
#*************************************************************************
#
# 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=wps
TARGET=wps
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
.IF "$(SYSTEM_LIBWPS)" == "YES"
@all:
@echo "Using system libwps..."
.ENDIF
# libwps depends on the libwpd framework
.IF "$(SYSTEM_LIBWPD)" == "YES"
INCPRE+=$(WPD_CFLAGS)
.ELSE
INCPRE+=$(SOLARVER)$/$(UPD)$/$(INPATH)$/inc$/libwpd
INCPRE+=$(SOLARVER)$/$(UPD)$/$(INPATH)$/inc$/libwpd-stream
.ENDIF
TARFILE_NAME=libwps-0.2.7
TARFILE_MD5=d197bd6211669a2fa4ca648faf04bcb1
BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS)
BUILD_DIR=src/lib
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk
.INCLUDE : target.mk
.INCLUDE : tg_ext.mk
mkdir: %_DEST%\inc\libwps
..\%__SRC%\misc\build\libwps*\src\lib\libwps.h %_DEST%\inc\libwps\
..\%__SRC%\misc\build\libwps*\src\lib\WPSDocument.h %_DEST%\inc\libwps\
..\%__SRC%\lib\*.a %_DEST%\lib\*.a
..\%__SRC%\slb\*.lib %_DEST%\lib\*.lib
...@@ -83,7 +83,7 @@ b63e6340a02ff1cacfeadb2c42286161-JLanguageTool-1.7.0.tar.bz2 ...@@ -83,7 +83,7 @@ b63e6340a02ff1cacfeadb2c42286161-JLanguageTool-1.7.0.tar.bz2
a0a861f539f0e7a91d05e6b9457e4db1-nss-3.13.5-with-nspr-4.9.1.tar.gz a0a861f539f0e7a91d05e6b9457e4db1-nss-3.13.5-with-nspr-4.9.1.tar.gz
9d283e02441d8cebdcd1e5d9df227d67-libwpg-0.2.1.tar.bz2 9d283e02441d8cebdcd1e5d9df227d67-libwpg-0.2.1.tar.bz2
c01351d7db2b205de755d58769288224-libwpd-0.9.4.tar.bz2 c01351d7db2b205de755d58769288224-libwpd-0.9.4.tar.bz2
d197bd6211669a2fa4ca648faf04bcb1-libwps-0.2.7.tar.bz2 @WPS_TARBALL@
@MDDS_TARBALL@ @MDDS_TARBALL@
@BOOST_TARBALL@ @BOOST_TARBALL@
3121aaf3e13e5d88dfff13fb4a5f1ab8-hunspell-1.3.2.tar.gz 3121aaf3e13e5d88dfff13fb4a5f1ab8-hunspell-1.3.2.tar.gz
......
tb tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CPPUNIT:cppunit DESKTOP:codemaker CURL:curl EXPAT:expat FONTCONFIG:fontconfig FREETYPE:freetype GLIB:glib GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu DESKTOP:l10ntools JFREEREPORT:jfreereport JPEG:jpeg LCMS2:lcms2 LIBCDR:libcdr LIBCMIS:libcmis LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBMSPUB:libmspub LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBORCUS:liborcus LPSOLVE:lpsolve MDDS:mdds MOZ:moz MYTHES:mythes NEON:neon NSS:nss OPENLDAP:openldap OPENSSL:openssl POSTGRESQL:postgresql PYTHON:python REDLAND:redland SAXON:saxon TRANSLATIONS:translations XPDF:xpdf ZLIB:zlib bridges cli_ure comphelper cppu cppuhelper external jurt jvmaccess jvmfwk offapi officecfg DESKTOP:rdbmaker readlicense_oo RHINO:rhino ridljar sal salhelper solenv soltools stoc ucbhelper ucpp udkapi xmlreader xsltml NULL tb tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CPPUNIT:cppunit DESKTOP:codemaker CURL:curl EXPAT:expat FONTCONFIG:fontconfig FREETYPE:freetype GLIB:glib GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu DESKTOP:l10ntools JFREEREPORT:jfreereport JPEG:jpeg LCMS2:lcms2 LIBCDR:libcdr LIBCMIS:libcmis LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBMSPUB:libmspub LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPD:libwpd LIBORCUS:liborcus LPSOLVE:lpsolve MDDS:mdds MOZ:moz MYTHES:mythes NEON:neon NSS:nss OPENLDAP:openldap OPENSSL:openssl POSTGRESQL:postgresql PYTHON:python REDLAND:redland SAXON:saxon TRANSLATIONS:translations XPDF:xpdf ZLIB:zlib bridges cli_ure comphelper cppu cppuhelper external jurt jvmaccess jvmfwk offapi officecfg DESKTOP:rdbmaker readlicense_oo RHINO:rhino ridljar sal salhelper solenv soltools stoc ucbhelper ucpp udkapi xmlreader xsltml NULL
tb tail_build\prj nmake - all tb_prj NULL tb tail_build\prj nmake - all tb_prj NULL
wp writerperfect : LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd libvisio LIBCDR:libcdr LIBMSPUB:libmspub LCMS2:lcms2 ZLIB:zlib sot comphelper xmloff svtools sfx2 LIBXSLT:libxslt NULL wp writerperfect : LIBWPG:libwpg libwps LIBWPD:libwpd libvisio LIBCDR:libcdr LIBMSPUB:libmspub LCMS2:lcms2 ZLIB:zlib sot comphelper xmloff svtools sfx2 LIBXSLT:libxslt NULL
wp writerperfect usr1 - all wp_mkout NULL wp writerperfect usr1 - all wp_mkout NULL
wp writerperfect\prj nmake - all wp_prj NULL wp writerperfect\prj nmake - all wp_prj NULL
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment