components/gnome/libpeas/Makefile
author John Beck <John.Beck@Oracle.COM>
Mon, 11 Jul 2016 09:50:18 -0700
changeset 6379 d9146784951c
parent 6335 8129e14951cc
child 7293 a449e2e641be
permissions -rw-r--r--
23858315 several Userland components missing REQUIRED_PACKAGES
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6335
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            64_and_32
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER =              gcc
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		libpeas
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	1.16.0
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=  https://wiki.gnome.org/Projects/Libpeas
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH=	\
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
	sha256:b093008ecd65f7d55c80517589509698ff15ad41f664b11a3eb88ff461b1454e
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_BUGDB=        gnome/libraries
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
TPNO=			25272
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
# Needs pygobject3, not available on S11.
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
ifeq ($(BUILD_TYPE), evaluation)
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
BUILD_32_and_64=
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
INSTALL_32_and_64=
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
PUBLISH_STAMP=
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
endif
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
include $(WS_MAKE_RULES)/gnome-component.mk
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
# Only build Python 2.7 support; most of GNOME still uses Python 2.x.  Building
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
# both would lead to the possibility of both Python runtimes being loaded into
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
# the same process space (not a good idea).
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
PYTHON_VERSIONS=2.7
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_ENV.32 += PYTHON=$(PYTHON.2.7.32)
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_ENV.64 += PYTHON=$(PYTHON.2.7.64)
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --disable-static
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += --enable-gtk
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
CONFIGURE_OPTIONS += --enable-lua5.2
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
CONFIGURE_OPTIONS += --enable-python2
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
CONFIGURE_OPTIONS += --disable-python3
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
CONFIGURE_OPTIONS += --enable-shared
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --with-pic
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
# Assumes GNU xgettext in PATH
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
# Required due to patches.
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
# for the tests
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
unexport SHELLOPTS
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
COMPONENT_TEST_ARGS =   -k -i
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
# Strip pids from test output, since they're always different
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
COMPONENT_TEST_TRANSFORMS += '-e "s% (pid=[0-9]*)%%"'
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
COMPONENT_TEST_TRANSFORMS += \
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
        '-n ' \
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
        '-e "/TEST:/p" ' \
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
        '-e "/PASS:/p" ' \
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
        '-e "/FAIL:/p" '
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    83
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    84
# Delete this when build servers are installed with pygobject3
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    85
PYGOBJ_BASE = $(WS_COMPONENTS)/gnome/pygobject3/build/prototype/$(MACH)
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    86
PKG_CONFIG_PATHS.32 += $(PYGOBJ_BASE)/usr/lib/pkgconfig/
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    87
PKG_CONFIG_PATHS.64 += $(PYGOBJ_BASE)/usr/lib/$(MACH64)/pkgconfig/
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    88
PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    89
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    90
CONFIGURE_OPTIONS += PYGOBJECT_CFLAGS=-I$(PYGOBJ_BASE)/usr/include/pygobject-3.0
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    91
#end Delete
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    92
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    93
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    94
REQUIRED_PACKAGES += developer/documentation-tool/xmlto
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    95
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    96
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    97
REQUIRED_PACKAGES += library/desktop/gtk3
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    98
REQUIRED_PACKAGES += library/glib2
6379
d9146784951c 23858315 several Userland components missing REQUIRED_PACKAGES
John Beck <John.Beck@Oracle.COM>
parents: 6335
diff changeset
    99
REQUIRED_PACKAGES += library/lua/lgi-52
6335
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   100
REQUIRED_PACKAGES += runtime/lua
8129e14951cc 23245653 Deliver libpeas 1.16.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   101
REQUIRED_PACKAGES += runtime/python-27