components/gnome/gnome-session/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Fri, 28 Oct 2016 14:58:08 -0700
changeset 7190 995b487a3de3
child 7687 1093e2a9adbd
permissions -rw-r--r--
23245309 Move gnome-session to Userland and update to 3.18.1.2 18322887 gnome-session should be built with x11/library/xtrans PSARC/2016/323 GNOME Login and Session Management
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7190
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
BUILD_BITS=             64
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
COMPILER=		gcc
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		gnome-session
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_VERSION=	3.18.1.2
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Projects/SessionManagement
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH= \
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
	sha256:b37d823d57ff2e3057401a426279954699cfe1e44e59a4cbdd941687ff928a45
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_BUGDB=	gnome/session
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=  http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/3.18/$(COMPONENT_ARCHIVE)
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
TPNO=			27163
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
TEST_TARGET = $(NO_TESTS)
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
# Needs updated glib2, not available on S11.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
include $(WS_MAKE_RULES)/no-evaluation.mk
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/gnome-component.mk
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
# Use xdg autostart instead of gconf-based autostart; gconf is obsolete and has
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
# been replaced by dconf.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS += --disable-gconf
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
# Linux-specific.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS += --disable-systemd
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += --disable-static
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
# ConsoleKit is deprecated; need to figure out long-term solution with
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
# upstream.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_OPTIONS += --enable-consolekit
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --enable-docbook-docs
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --enable-ipv6
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
CONFIGURE_OPTIONS += --enable-man
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --enable-shared
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += --with-pic
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
CONFIGURE_OPTIONS += --with-xtrans
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
# Required due to patches.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
# Assumes GNU msgfmt, xgettext, tail, etc. are first in PATH.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
COMPONENT_BUILD_ENV += PATH=$(GNUBIN):$(PATH)
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
REQUIRED_PACKAGES += library/desktop/gtk3
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
REQUIRED_PACKAGES += library/glib2
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
REQUIRED_PACKAGES += library/gnome/gnome-desktop
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
REQUIRED_PACKAGES += library/json-glib
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
REQUIRED_PACKAGES += library/libxslt
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
REQUIRED_PACKAGES += library/xdg/consolekit
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
REQUIRED_PACKAGES += service/opengl/ogl-select
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
REQUIRED_PACKAGES += system/library/libdbus
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
REQUIRED_PACKAGES += system/library/libdbus-glib
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
REQUIRED_PACKAGES += x11/library/libice
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
REQUIRED_PACKAGES += x11/library/libsm
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
REQUIRED_PACKAGES += x11/library/libx11
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
REQUIRED_PACKAGES += x11/library/libxcomposite
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
REQUIRED_PACKAGES += x11/library/mesa
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    83
REQUIRED_PACKAGES += x11/library/xtrans