author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Sun, 09 Apr 2017 12:16:36 -0700 | |
changeset 7862 | 875bb3f441a5 |
parent 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
6118
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
21 |
|
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
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:
6137
diff
changeset
|
23 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
6118
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
|
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
26 |
BUILD_BITS = 32_and_64 |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
# All components using gobject-introspection must be built with gcc as |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
# gobject-introspection does not produce correct results when using Studio. |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPILER = gcc |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
include ../../../make-rules/shared-macros.mk |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
|
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_NAME= libgtop |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_VERSION= 2.30.0 |
7862
875bb3f441a5
25879439 Migrate remaining desktop man pages to Userland gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
7687
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= https://developer.gnome.org/libgtop/ |
6118
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
sha256:463bcbe5737b1b93f3345ee34abf601e8eb864f507c49ff1921c2737abafc1e5 |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
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:
6137
diff
changeset
|
38 |
COMPONENT_ANITYA_ID= 13146 |
6118
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
39 |
|
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
40 |
TPNO= 25827 |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
|
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
42 |
TEST_TARGET = $(NO_TESTS) |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
43 |
|
6137
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6118
diff
changeset
|
44 |
# 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:
6118
diff
changeset
|
45 |
ifeq ($(BUILD_TYPE), evaluation) |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6118
diff
changeset
|
46 |
BUILD_32_and_64= |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6118
diff
changeset
|
47 |
INSTALL_32_and_64= |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6118
diff
changeset
|
48 |
PUBLISH_STAMP= |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6118
diff
changeset
|
49 |
endif |
f81b30a97f44
23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
6118
diff
changeset
|
50 |
|
6118
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
51 |
include $(WS_MAKE_RULES)/gnome-component.mk |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
52 |
|
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
# Assumes GNU xgettext in PATH |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
54 |
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH) |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
|
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
CONFIGURE_OPTIONS += --disable-static |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
# Required for other components. |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --enable-introspection |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --enable-shared |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --with-pic |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --with-x |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
62 |
CONFIGURE_OPTIONS += --enable-gtk-doc |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
63 |
|
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
64 |
# Required due to patches. |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
65 |
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv); |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
66 |
|
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
67 |
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
68 |
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
69 |
REQUIRED_PACKAGES += library/glib2 |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
70 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
f0288987e55a
23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
71 |
REQUIRED_PACKAGES += x11/library/libxau |