Kaydet (Commit) 54a06c68 authored tarafından Matúš Kukan's avatar Matúš Kukan

vigra: convert to gbuild

Change-Id: Ie5f050bf5f672a35d9629dcfb039d9fff7470cab
üst 3f750f8e
......@@ -158,6 +158,7 @@ ure\
uui\
vbahelper\
vcl\
vigra\
wizards\
writerfilter\
writerperfect\
......@@ -245,7 +246,6 @@ stax\
stlport\
sysui\
tomcat\
vigra\
xpdf\
xsltml\
zlib\
......
......@@ -141,6 +141,7 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
uui \
vbahelper \
vcl \
vigra \
wizards \
writerfilter \
writerperfect \
......
......@@ -92,6 +92,23 @@ endef
endif
ifeq ($(SYSTEM_VIGRA),YES)
gb_LinkTarget__use_vigra_headers :=
else
define gb_LinkTarget__use_vigra_headers
$(call gb_LinkTarget_use_unpacked,$(1),vigra)
$(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,vigra/include) \
$$(INCLUDE) \
)
endef
endif
# External libraries
ifeq ($(SYSTEM_CPPUNIT),YES)
......
......@@ -157,6 +157,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
uui \
vbahelper \
vcl \
vigra \
wizards \
writerfilter \
writerperfect \
......
......@@ -13,6 +13,8 @@ $(eval $(call gb_Library_use_package,basebmp,basebmp_inc))
$(eval $(call gb_Library_use_sdk_api,basebmp))
$(eval $(call gb_Library_use_external,basebmp,vigra_headers))
$(eval $(call gb_Library_use_libraries,basebmp,\
basegfx \
sal \
......
bx basebmp : sal VIGRA:vigra basegfx BOOST:boost NULL
bx basebmp : sal vigra basegfx BOOST:boost NULL
bx basebmp\prj nmake - all bx_prj NULL
......@@ -573,6 +573,7 @@ export UUIDGEN=@UUIDGEN@
export VALGRIND_CFLAGS=@VALGRIND_CFLAGS@
export VALIDATOR_EXTENSION_PACK=@VALIDATOR_EXTENSION_PACK@
export VERBOSE=@VERBOSE@
export VIGRA_TARBALL=@VIGRA_TARBALL@
export VISIO_CFLAGS=@VISIO_CFLAGS@
export VISIO_LIBS=@VISIO_LIBS@
export WATCH_WINDOW_EXTENSION_PACK=@WATCH_WINDOW_EXTENSION_PACK@
......
......@@ -7738,10 +7738,11 @@ if test "$with_system_vigra" = "yes"; then
AC_LANG_POP([C++])
else
AC_MSG_RESULT([internal])
BUILD_TYPE="$BUILD_TYPE VIGRA"
VIGRA_TARBALL=ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz
SYSTEM_VIGRA=NO
fi
AC_SUBST(SYSTEM_VIGRA)
AC_SUBST(VIGRA_TARBALL)
dnl ===================================================================
dnl Check for system odbc
......
......@@ -46,7 +46,7 @@ e0707ff896045731ff99e99799606441-README_db-4.7.25.NC-custom.txt
e81c2f0953aa60f8062c05a4673f2be0-Python-2.6.1.tar.bz2
e61d0364a30146aaa3001296f853b2b9-libxslt-1.1.26.tar.gz
ea570af93c284aa9e5621cd563f54f4d-bsh-2.0b1-src.tar.gz
ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz
@VIGRA_TARBALL@
dd7dab7a5fea97d2a6a43f511449b7cd-expat-2.1.0.tar.gz
fb7ba5c2182be4e73748859967455455-README_stax-api-1.0-2-sources.txt
fca8706f2c4619e2fa3f8f42f8fc1e9d-rasqal-0.9.16.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 LIBVISIO:libvisio 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 VIGRA:vigra 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 LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio 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
# -*- 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,vigra))
ifeq ($(SYSTEM_VIGRA),NO)
$(eval $(call gb_Module_add_targets,vigra,\
UnpackedTarball_vigra \
))
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_UnpackedTarball_UnpackedTarball,vigra))
$(eval $(call gb_UnpackedTarball_set_tarball,vigra,$(VIGRA_TARBALL)))
$(eval $(call gb_UnpackedTarball_add_patches,vigra,\
vigra/vigra1.4.0.patch \
$(if $(filter GCC,$(COM)), \
vigra/vigra1.4.0-unused-parameters.patch) \
vigra/vigra1.4.0-enumwarn.patch \
))
# 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.
#
#*************************************************************************
# dmake create_clean -- just unpacks
# dmake patch -- unpacks and applies patch file
# dmake create_patch -- creates a patch file
PRJ=.
PRJNAME=vigra
TARGET=vigra
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.IF "$(SYSTEM_VIGRA)" == "YES"
all:
@echo "An already available installation of vigra should exist on your system."
@echo "Therefore the version provided here does not need to be built in addition."
.ELSE
# --- Files --------------------------------------------------------
TARFILE_NAME=vigra1.4.0
TARFILE_MD5=ea91f2fb4212a21d708aced277e6e85a
PATCH_FILES=$(TARFILE_NAME).patch
# Help static analysis tools (see SAL_UNUSED_PARAMETER in sal/types.h):
.IF "$(COM)" == "GCC"
PATCH_FILES += vigra1.4.0-unused-parameters.patch
.END
# At least GCC 4.7 treats more correctly now the type of enumerators prior to
# the closing brace of the enum-specifier (see [dcl.enum] in the C++ 2003
# Standard), leading to "comparison between <enum1> and <enum2> [-Werror=enum-
# compare]" and "enumeral mismatch in conditional expression [-Werror]"
# warnings (included upstream as <https://github.com/ukoethe/vigra/commit/
# e0dcd31c76bb13c98920e21544b309ca47bb3c5c> "added explicit cast (gcc 4.7
# compatibility patch by Stephan Bergmann)"):
PATCH_FILES += vigra1.4.0-enumwarn.patch
CONFIGURE_DIR=
CONFIGURE_ACTION=
BUILD_DIR=
BUILD_ACTION=
BUILD_FLAGS=
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk
.INCLUDE : target.mk
.INCLUDE : tg_ext.mk
.ENDIF
mkdir: %_DEST%\inc\vigra
..\%__SRC%\misc\build\vigra1.4.0\include\vigra\*.hxx %_DEST%\inc\vigra\*.hxx
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