author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Fri, 28 Oct 2016 14:57:58 -0700 | |
changeset 7196 | b0e313a2264a |
parent 6137 | f81b30a97f44 |
child 7685 | a7ec984d7d4c |
permissions | -rw-r--r-- |
6117
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
21 |
|
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
23 |
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
|
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
26 |
BUILD_BITS = 32_and_64 |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
# All components using gobject-introspection must be built with gcc as |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
# gobject-introspection does not produce correct results when using Studio. |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPILER=gcc |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
include ../../../make-rules/shared-macros.mk |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
|
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_NAME= libgsf |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_VERSION= 1.14.34 |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_HASH= \ |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
sha256:f0fea447e0374a73df45b498fd1701393f8e6acb39746119f8a292fb4a0cb528 |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= gnome/libraries |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
37 |
|
6137
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6117
diff
changeset
|
38 |
# Needs gobject-introspection, not available on S11. |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6117
diff
changeset
|
39 |
ifeq ($(BUILD_TYPE), evaluation) |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6117
diff
changeset
|
40 |
BUILD_32_and_64= |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6117
diff
changeset
|
41 |
INSTALL_32_and_64= |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6117
diff
changeset
|
42 |
PUBLISH_STAMP= |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6117
diff
changeset
|
43 |
endif |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6117
diff
changeset
|
44 |
|
6117
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
45 |
TPNO= 24756 |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
46 |
|
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
47 |
include $(WS_MAKE_RULES)/gnome-component.mk |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
|
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
# Assumes GNU xgettext in PATH |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH) |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
51 |
|
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
52 |
CONFIGURE_OPTIONS += --disable-static |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
# Required for other components. |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
54 |
CONFIGURE_OPTIONS += --enable-introspection |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
CONFIGURE_OPTIONS += --enable-shared |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
CONFIGURE_OPTIONS += --with-bz2 |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --with-pic |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --with-zlib |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
|
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
# for the tests |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
unexport SHELLOPTS |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
62 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
63 |
COMPONENT_TEST_ARGS = -k -i |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
64 |
COMPONENT_TEST_TRANSFORMS += \ |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
65 |
'-n ' \ |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
66 |
'-e "/TOTAL:/p" ' \ |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
67 |
'-e "/SKIP:/p" ' \ |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
68 |
'-e "/PASS:/p" ' \ |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
69 |
'-e "/FAIL:/p" ' \ |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
70 |
'-e "/ERROR:/p" ' |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
71 |
|
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
72 |
REQUIRED_PACKAGES += compress/bzip2 |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
73 |
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
74 |
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
75 |
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
76 |
REQUIRED_PACKAGES += library/glib2 |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
77 |
REQUIRED_PACKAGES += library/libxml2 |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
78 |
REQUIRED_PACKAGES += library/zlib |
a192840f5b35
23245332 Move libgsf to Userland and update to 1.14.34
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
79 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |