# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. # # All components using gobject-introspection must be built with gcc as # gobject-introspection does not produce correct results when using Studio. COMPILER = gcc BUILD_BITS = 64_and_32 include ../../../make-rules/shared-macros.mk COMPONENT_NAME= pango COMPONENT_VERSION= 1.38.0 COMPONENT_PROJECT_URL= http://www.pango.org/ COMPONENT_ARCHIVE_HASH= \ sha256:1d4e75974bad853ee9ac5fc5caee5e7ab235abbd945d51d01f3806e04e7c226c COMPONENT_BUGDB= gnome/pango TPNO= 24871 # Requires harfbuzz, which we cannot build on 11.3, so do not publish. ifeq ($(BUILD_TYPE), evaluation) BUILD_32_and_64= INSTALL_32_and_64= PUBLISH_STAMP= endif include $(WS_MAKE_RULES)/gnome-component.mk CONFIGURE_OPTIONS += --enable-gtk-doc # Required for other components. CONFIGURE_OPTIONS += --enable-introspection # Workaround for build failures due to pango Makefiles not passing CFLAGS or # LDFLAGS, especially the -m32/64 flag, to g-ir-scanner COMPONENT_BUILD_ENV += CFLAGS="$(strip $(CFLAGS))" COMPONENT_BUILD_ENV += LDFLAGS="$(strip $(LDFLAGS))" # Needed for "gmake test" to work successfully. unexport SHELLOPTS COMPONENT_TEST_ARGS += -k # Standard automake test framework results transform COMPONENT_TEST_TRANSFORMS += \ '-n ' \ '-e "/TOTAL/p" ' \ '-e "/SKIP/p" ' \ '-e "/PASS/p" ' \ '-e "/FAIL/p" ' \ '-e "/ERROR/p" ' COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master REQUIRED_PACKAGES += library/desktop/cairo REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection REQUIRED_PACKAGES += library/desktop/harfbuzz REQUIRED_PACKAGES += library/glib2 # Needs fontconfig version >= 2.10.91 REQUIRED_PACKAGES += system/library/fontconfig REQUIRED_PACKAGES += system/library/freetype-2 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime REQUIRED_PACKAGES += system/library/math REQUIRED_PACKAGES += x11/library/libxft REQUIRED_PACKAGES += x11/library/libx11 REQUIRED_PACKAGES += x11/library/libxrender REQUIRED_PACKAGES += x11/server/xorg