7190N/A#
7190N/A# CDDL HEADER START
7190N/A#
7190N/A# The contents of this file are subject to the terms of the
7190N/A# Common Development and Distribution License (the "License").
7190N/A# You may not use this file except in compliance with the License.
7190N/A#
7190N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7190N/A# or http://www.opensolaris.org/os/licensing.
7190N/A# See the License for the specific language governing permissions
7190N/A# and limitations under the License.
7190N/A#
7190N/A# When distributing Covered Code, include this CDDL HEADER in each
7190N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7190N/A# If applicable, add the following below this CDDL HEADER, with the
7190N/A# fields enclosed by brackets "[]" replaced with your own identifying
7190N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7190N/A#
7190N/A# CDDL HEADER END
7190N/A#
7190N/A
7190N/A#
7190N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
7190N/A#
7190N/ABUILD_BITS= 64
7190N/A# All components using gobject-introspection must be built with gcc as
7190N/A# gobject-introspection does not produce correct results when using Studio.
7190N/A# Also, for now, all things built for C++11 require gcc.
7190N/ACOMPILER=gcc
7190N/Ainclude ../../../make-rules/shared-macros.mk
7190N/A
7190N/A# Despite its name, evolution-data-server is no longer just a backend for the
7190N/A# Evolution Mail Client; it is also a backend for various bits of data that
7190N/A# GNOME stores and various components now expect it to be present.
7190N/A
7190N/ACOMPONENT_NAME= evolution-data-server
7190N/ACOMPONENT_VERSION= 3.18.2
7190N/ACOMPONENT_ARCHIVE_HASH= \
7190N/A sha256:5942fc1cf395acdc15425939d83824d861d01c57225ee3fc8c1d77009468ce9b
7190N/ACOMPONENT_BUGDB= gnome/libraries
7190N/A
7190N/ATPNO= 25795
7190N/A
7190N/A# Needs gobject-introspection, not available on S11.
7190N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7190N/A
7190N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
7190N/A
7190N/A# __EXTENSIONS__ required for timezone, altzone variables.
7190N/ACFLAGS += -D__EXTENSIONS__ -DHAVE_SUN_KRB5
7190N/ACXXFLAGS += -std=c++11 -D__EXTENSIONS__ -DHAVE_SUN_KRB5
7190N/ACPPFLAGS += -I/usr/include/kerberosv5/
7190N/ACFLAGS += $(XPG6MODE)
7190N/A
7190N/A# Our NSS/NSPR libraries have their own private copy of sqlite3 which is
7190N/A# different than the system-wide one; to avoid the private copy, we explicitly
7190N/A# set the sqlite3 library location.
7190N/ACONFIGURE_ENV += SQLITE3_LIBS="-L$(USRLIB) -lsqlite3"
7190N/ACONFIGURE_ENV += SYSTEM_MAIL_DIR="$(VARDIR)/mail"
7190N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
7190N/A
7190N/ACONFIGURE_OPTIONS += --disable-dot-locking
7190N/A# Documentation target is busted.
7190N/ACONFIGURE_OPTIONS += --disable-gtk-doc
7190N/ACONFIGURE_OPTIONS += --disable-schemas-compile
7190N/ACONFIGURE_OPTIONS += --disable-static
7190N/A# Ubuntu-specific functionality.
7190N/ACONFIGURE_OPTIONS += --disable-uoa
7190N/ACONFIGURE_OPTIONS += --enable-file-locking=fcntl
7190N/ACONFIGURE_OPTIONS += --enable-goa
7190N/ACONFIGURE_OPTIONS += --enable-gtk
7190N/A# Required for other components.
7190N/ACONFIGURE_OPTIONS += --enable-introspection
7190N/ACONFIGURE_OPTIONS += --enable-ipv6
7190N/ACONFIGURE_OPTIONS += --enable-largefile
7190N/ACONFIGURE_OPTIONS += --enable-smime
7190N/ACONFIGURE_OPTIONS += --enable-shared
7190N/A# Required for other components.
7190N/ACONFIGURE_OPTIONS += --enable-vala-bindings
7190N/ACONFIGURE_OPTIONS += --enable-weather
7190N/ACONFIGURE_OPTIONS += --with-krb5
7190N/ACONFIGURE_OPTIONS += --with-pic
7190N/A# Apparently, Solaris mail spool format is "broken".
7190N/ACONFIGURE_OPTIONS += --with-broken-spool=yes
7190N/A# XXX Neither ldap target builds on Solaris.
7190N/ACONFIGURE_OPTIONS += --without-openldap
7190N/ACONFIGURE_OPTIONS += --without-sunldap
7190N/A
7190N/A# A pkg-config file isn't shipped in Solaris for nss/nspr 64-bit, so configure
7190N/A# will fail to find it; we workaround this by providing a one-off copy of the
7190N/A# related pkg-config files and telling pkg-config to search our directory for
7190N/A# them first.
7190N/ACONFIGURE_ENV.64 += PKG_CONFIG_PATH="$(COMPONENT_DIR):$(PKG_CONFIG_PATH)"
7190N/A
7190N/A# Required due to patches.
7190N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
7190N/A
7190N/A# Delete once builds servers have libgweather installed
7190N/AWEATHER_BASE = $(WS_COMPONENTS)/gnome/libgweather/build/prototype/$(MACH)
7190N/APKG_CONFIG_PATHS += $(WEATHER_BASE)$(PKG_CONFIG_PATH.$(BITS))
7190N/A
7190N/ALD_OPTIONS += -L $(WEATHER_BASE)$(USRLIB.$(BITS))
7190N/A
7190N/ACONFIGURE_ENV+= LIBGWEATHER_CFLAGS="-DMESA_EGL_NO_X11_HEADERS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I$(WEATHER_BASE)/usr/include/libgweather-3.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/$(MACH64)/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng14 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng14 -I/usr/include/glib-2.0 -I/usr/lib/$(MACH64)/glib-2.0/include"
7190N/A
7190N/A# Delete this when build servers are installed with libical
7190N/AICAL_BASE = $(WS_COMPONENTS)/desktop/libical/build/prototype/$(MACH)
7190N/APKG_CONFIG_PATHS += $(ICAL_BASE)$(PKG_CONFIG_PATH.$(BITS))
7190N/ALD_OPTIONS += -L $(ICAL_BASE)$(USRLIB)
7190N/ACPPFLAGS += -I$(ICAL_BASE)$(USRINCDIR)/libical
7190N/A
7190N/A# The dependency isn't installed, so add it manually since pkgdepend
7190N/A# can't resolve them yet: 15708323
7190N/ADEPENDED += $(WS_TOP)/components/gnome/libgweather/build/manifest-$(MACH)-libgweather.depend
7190N/ADEPENDED += $(WS_TOP)/components/desktop/libical/build/manifest-$(MACH)-libical.depend
7190N/A
7190N/A# Temporary until dependencies are all on build machines
7190N/AREQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES +=//p' ../libgweather/Makefile)
7190N/AREQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES +=//p' ../../desktop/libical/Makefile)
7190N/A#end Delete
7190N/A
7190N/A# for the tests
7190N/Aunexport SHELLOPTS
7190N/ACOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
7190N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
7190N/ACOMPONENT_TEST_ARGS = -k -i
7190N/ACOMPONENT_TEST_TRANSFORMS += \
7190N/A '-n ' \
7190N/A '-e "/TOTAL:/p" ' \
7190N/A '-e "/SKIP:/p" ' \
7190N/A '-e "/PASS:/p" ' \
7190N/A '-e "/FAIL:/p" ' \
7190N/A '-e "/ERROR:/p" '
7190N/A
7190N/AREQUIRED_PACKAGES += database/berkeleydb-5
7190N/AREQUIRED_PACKAGES += database/sqlite-3
7190N/AREQUIRED_PACKAGES += developer/icu
7190N/AREQUIRED_PACKAGES += developer/vala
7190N/AREQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
7190N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
7190N/AREQUIRED_PACKAGES += library/desktop/gtk3
7190N/AREQUIRED_PACKAGES += library/desktop/cairo
7190N/AREQUIRED_PACKAGES += library/desktop/libgdata
7190N/AREQUIRED_PACKAGES += library/desktop/libgweather
7190N/AREQUIRED_PACKAGES += library/desktop/pango
7190N/AREQUIRED_PACKAGES += library/glib2
7190N/AREQUIRED_PACKAGES += library/gnome/gcr
7190N/AREQUIRED_PACKAGES += library/gnome/gnome-online-accounts
7190N/AREQUIRED_PACKAGES += library/gnome/libsecret
7190N/AREQUIRED_PACKAGES += library/icu
7190N/AREQUIRED_PACKAGES += library/libical
7190N/AREQUIRED_PACKAGES += library/libsoup
7190N/AREQUIRED_PACKAGES += library/libxml2
7190N/AREQUIRED_PACKAGES += library/nspr
7190N/AREQUIRED_PACKAGES += library/security/nss
7190N/AREQUIRED_PACKAGES += library/zlib
7190N/AREQUIRED_PACKAGES += security/kerberos-5/kdc
7190N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
7190N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
7190N/AREQUIRED_PACKAGES += system/library/security/gss