author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 7206 | 23066e5fef27 |
permissions | -rw-r--r-- |
6386
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
3e1cffd89159
23245626 Deliver gjs 1.43.3 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 |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
21 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 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:
7206
diff
changeset
|
23 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
6386
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
26 |
BUILD_BITS = 64_and_32 |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
# All components using gobject-introspection must be built with gcc as |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
# gobject-introspection does not produce correct results when using Studio. |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPILER = gcc |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
include ../../../make-rules/shared-macros.mk |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_NAME= gjs |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_VERSION= 1.43.3 |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Gjs |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
sha256:82b54dd4590ea1622d19b2e27978bcb9c2c5b46922e1e1780ea79b6a28aa1c4e |
3e1cffd89159
23245626 Deliver gjs 1.43.3 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:
7206
diff
changeset
|
38 |
COMPONENT_ANITYA_ID= 9532 |
6386
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
39 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
40 |
TPNO= 25284 |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
42 |
# Tests do not work in Solaris yet |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
43 |
TEST_TARGET = $(SKIP_TEST) |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
44 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
45 |
# Needs updated glib2, not available on S11. |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
46 |
ifeq ($(BUILD_TYPE), evaluation) |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
47 |
BUILD_32_and_64= |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
INSTALL_32_and_64= |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
PUBLISH_STAMP= |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
endif |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
51 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
52 |
include $(WS_MAKE_RULES)/gnome-component.mk |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
54 |
CXXFLAGS += -std=c++11 |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
CONFIGURE_OPTIONS += --disable-static |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --enable-shared |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --with-cairo |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --with-gtk |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --with-pic |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
|
7153
1c6a8ad221bd
24935318 running gjs-console on sparc results in a coredump
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6386
diff
changeset
|
62 |
# Workaround the mozjs issue described in 24935318 |
1c6a8ad221bd
24935318 running gjs-console on sparc results in a coredump
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6386
diff
changeset
|
63 |
COMPONENT_BUILD_ENV.64 += LD_OPTIONS="$(LD_OPTIONS) -M$(PWD)/mapfile" |
1c6a8ad221bd
24935318 running gjs-console on sparc results in a coredump
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6386
diff
changeset
|
64 |
|
6386
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
65 |
# Required due to patches. |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
66 |
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv); |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
67 |
|
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
68 |
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
69 |
REQUIRED_PACKAGES += library/desktop/cairo |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
70 |
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
71 |
REQUIRED_PACKAGES += library/desktop/gtk3 |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
72 |
REQUIRED_PACKAGES += library/glib2 |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
73 |
REQUIRED_PACKAGES += library/libffi |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
74 |
REQUIRED_PACKAGES += library/libmozjs-24 |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
75 |
REQUIRED_PACKAGES += library/ncurses |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
76 |
REQUIRED_PACKAGES += library/readline |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
77 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
78 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
3e1cffd89159
23245626 Deliver gjs 1.43.3 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
79 |
REQUIRED_PACKAGES += x11/library/libx11 |