components/gnome/gnome-terminal/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 7230 b988a5a86656
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7209
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7230
diff changeset
    23
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
7209
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
#
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS=		64
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
COMPILER=		gcc
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
include ../../../make-rules/shared-macros.mk
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_NAME=		gnome-terminal
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_VERSION=	3.18.2
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=  https://wiki.gnome.org/Apps/Terminal
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH= \
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    34
	sha256:5e35c0fa1395258bab83952cfabe4c1828b8655bcd761f8faed70b452bd89efa
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_BUGDB=        gnome/terminal
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7230
diff changeset
    36
COMPONENT_ANITYA_ID=	10896
7209
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    38
TPNO=			25405
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    39
7230
b988a5a86656 25029180 do not publish gnome-terminal when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 7209
diff changeset
    40
# Needs newer intltool, not available in 11.3
b988a5a86656 25029180 do not publish gnome-terminal when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 7209
diff changeset
    41
include $(WS_MAKE_RULES)/no-evaluation.mk
b988a5a86656 25029180 do not publish gnome-terminal when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 7209
diff changeset
    42
7209
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/gnome-component.mk
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    44
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    45
# Need to regenerate configure after stack-protector.patch edits configure.ac
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    46
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    47
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    48
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    52
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    53
# Force use of gnutls-3 pkgconfig during 2.x->3.x transition
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    54
PKG_CONFIG_PATHS.32 += /usr/lib/pkgconfig/gnutls-3
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    55
PKG_CONFIG_PATHS.64 += /usr/lib/$(MACH64)/pkgconfig/gnutls-3
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    56
PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    57
LD_OPTIONS.32 += -L /usr/lib/gnutls-3 -R /usr/lib/gnutls-3
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    58
LD_OPTIONS.64 += -L /usr/lib/$(MACH64)/gnutls-3 -R /usr/lib/$(MACH64)/gnutls-3
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    59
LD_OPTIONS += $(LD_OPTIONS.$(BITS))
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    60
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    61
# uuid detection fails due to Solaris bug 15586738, use local uuid.pc to avoid
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    62
PKG_CONFIG_PATHS  += $(COMPONENT_DIR)
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    63
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --disable-static
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    65
CONFIGURE_OPTIONS += --enable-introspection
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    66
CONFIGURE_OPTIONS += --enable-shared
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    67
CONFIGURE_OPTIONS += --disable-migration
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    68
CONFIGURE_OPTIONS += --enable-nautilus-extension
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    69
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    70
unexport SHELLOPTS
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    71
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    72
REQUIRED_PACKAGES += gnome/file-manager/nautilus
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    73
REQUIRED_PACKAGES += gnome/gnome-shell
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    74
REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    75
REQUIRED_PACKAGES += library/desktop/atk
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    76
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    77
REQUIRED_PACKAGES += library/desktop/gtk3
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    78
REQUIRED_PACKAGES += library/desktop/pango
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    79
REQUIRED_PACKAGES += library/glib2
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    80
REQUIRED_PACKAGES += library/gnome/dconf
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    81
REQUIRED_PACKAGES += library/gnome/vte3
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    82
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    83
REQUIRED_PACKAGES += system/library/math
d19b72e9391b 23245313 Move gnome-terminal to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    84
REQUIRED_PACKAGES += x11/library/libx11