components/gnome/pango/Makefile
author John Beck <John.Beck@Oracle.COM>
Mon, 16 May 2016 17:10:31 -0700
changeset 6008 b325e8629cb1
parent 5943 c081bc16736d
child 7687 1093e2a9adbd
permissions -rw-r--r--
23294038 do not publish pango when BUILD_TYPE=evaluation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5943
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
#
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
# All components using gobject-introspection must be built with gcc as
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
# gobject-introspection does not produce correct results when using Studio.
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
COMPILER =		gcc
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
BUILD_BITS =		64_and_32
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		pango
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	1.38.0
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	http://www.pango.org/
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH= \
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    36
    sha256:1d4e75974bad853ee9ac5fc5caee5e7ab235abbd945d51d01f3806e04e7c226c
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_BUGDB=	gnome/pango
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    38
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    39
TPNO=			24871
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    40
6008
b325e8629cb1 23294038 do not publish pango when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5943
diff changeset
    41
# Requires harfbuzz, which we cannot build on 11.3, so do not publish.
b325e8629cb1 23294038 do not publish pango when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5943
diff changeset
    42
ifeq ($(BUILD_TYPE), evaluation)
b325e8629cb1 23294038 do not publish pango when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5943
diff changeset
    43
BUILD_32_and_64=
b325e8629cb1 23294038 do not publish pango when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5943
diff changeset
    44
INSTALL_32_and_64=
b325e8629cb1 23294038 do not publish pango when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5943
diff changeset
    45
PUBLISH_STAMP=
b325e8629cb1 23294038 do not publish pango when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5943
diff changeset
    46
endif
b325e8629cb1 23294038 do not publish pango when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5943
diff changeset
    47
5943
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    48
include $(WS_MAKE_RULES)/gnome-component.mk
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += --enable-gtk-doc
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
# Required for other components.
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS += --enable-introspection
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    53
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    54
# Workaround for build failures due to pango Makefiles not passing CFLAGS or
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    55
# LDFLAGS, especially the -m32/64 flag, to g-ir-scanner
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    56
COMPONENT_BUILD_ENV += CFLAGS="$(strip $(CFLAGS))"
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    57
COMPONENT_BUILD_ENV += LDFLAGS="$(strip $(LDFLAGS))"
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    58
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    59
# Needed for "gmake test" to work successfully.
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    60
unexport SHELLOPTS
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    61
COMPONENT_TEST_ARGS += -k
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    62
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    63
# Standard automake test framework results transform
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    64
COMPONENT_TEST_TRANSFORMS += \
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    65
        '-n ' \
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    66
        '-e "/TOTAL/p" ' \
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    67
        '-e "/SKIP/p" ' \
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    68
        '-e "/PASS/p" ' \
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    69
        '-e "/FAIL/p" ' \
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    70
        '-e "/ERROR/p" '
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    71
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    72
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    73
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    74
REQUIRED_PACKAGES += library/desktop/cairo
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    75
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    76
REQUIRED_PACKAGES += library/desktop/harfbuzz
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    77
REQUIRED_PACKAGES += library/glib2
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    78
# Needs fontconfig version >= 2.10.91
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    79
REQUIRED_PACKAGES += system/library/fontconfig
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    80
REQUIRED_PACKAGES += system/library/freetype-2
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    81
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    82
REQUIRED_PACKAGES += system/library/math
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    83
REQUIRED_PACKAGES += x11/library/libxft
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    84
REQUIRED_PACKAGES += x11/library/libx11
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    85
REQUIRED_PACKAGES += x11/library/libxrender
c081bc16736d 23170558 Move pango to Userland and update to 1.38.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    86
REQUIRED_PACKAGES += x11/server/xorg