author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 7527 | 352b7a456c30 |
permissions | -rw-r--r-- |
6112
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 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 |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
21 |
|
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7527
diff
changeset
|
23 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
6112
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
|
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
26 |
BUILD_BITS = 64_and_32 |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
# All components using gobject-introspection must be built with gcc as |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
# gobject-introspection does not produce correct results when using Studio. |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPILER = gcc |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
include ../../../make-rules/shared-macros.mk |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
|
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_NAME= json-glib |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_VERSION= 1.0.4 |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/JsonGlib |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
sha256:80f3593cb6bd13f1465828e46a9f740e2e9bd3cd2257889442b3e62bd6de05cd |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
37 |
COMPONENT_BUGDB= gnome/libraries |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7527
diff
changeset
|
38 |
COMPONENT_ANITYA_ID= 13144 |
6112
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
39 |
|
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
40 |
TPNO= 25461 |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
|
6137
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6112
diff
changeset
|
42 |
# Needs updated glib2, not available on S11. |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6112
diff
changeset
|
43 |
ifeq ($(BUILD_TYPE), evaluation) |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6112
diff
changeset
|
44 |
BUILD_32_and_64= |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6112
diff
changeset
|
45 |
INSTALL_32_and_64= |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6112
diff
changeset
|
46 |
PUBLISH_STAMP= |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6112
diff
changeset
|
47 |
endif |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6112
diff
changeset
|
48 |
|
6112
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
include $(WS_MAKE_RULES)/gnome-component.mk |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
|
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
51 |
# Required for other components. |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
52 |
CONFIGURE_OPTIONS += --enable-introspection |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
|
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
54 |
# for the tests |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
unexport SHELLOPTS |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D)); |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
COMPONENT_TEST_DIR= $(@D)/json-glib/tests |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
COMPONENT_TEST_ARGS = -k -i |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
COMPONENT_TEST_TRANSFORMS += \ |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
'-n ' \ |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
62 |
'-e "/TOTAL:/p" ' \ |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
63 |
'-e "/SKIP:/p" ' \ |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
64 |
'-e "/PASS:/p" ' \ |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
65 |
'-e "/FAIL:/p" ' \ |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
66 |
'-e "/ERROR:/p" ' |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
67 |
|
7527
352b7a456c30
25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
6137
diff
changeset
|
68 |
REQUIRED_PACKAGES += data/docbook/docbook-dtds |
352b7a456c30
25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
6137
diff
changeset
|
69 |
REQUIRED_PACKAGES += data/docbook/docbook-style-dsssl |
352b7a456c30
25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
6137
diff
changeset
|
70 |
REQUIRED_PACKAGES += data/docbook/docbook-style-xsl |
352b7a456c30
25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
6137
diff
changeset
|
71 |
REQUIRED_PACKAGES += data/sgml-common |
352b7a456c30
25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
6137
diff
changeset
|
72 |
REQUIRED_PACKAGES += data/xml-common |
6112
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
73 |
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
74 |
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
75 |
REQUIRED_PACKAGES += library/glib2 |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
76 |
REQUIRED_PACKAGES += library/libxml2 |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
77 |
REQUIRED_PACKAGES += library/libxslt |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
78 |
REQUIRED_PACKAGES += text/gnu-gettext |
a9427b58bd2d
23245649 Deliver json-glib 1.0.4 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
79 |
REQUIRED_PACKAGES += text/locale |