7188N/A#
7188N/A# CDDL HEADER START
7188N/A#
7188N/A# The contents of this file are subject to the terms of the
7188N/A# Common Development and Distribution License (the "License").
7188N/A# You may not use this file except in compliance with the License.
7188N/A#
7188N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7188N/A# or http://www.opensolaris.org/os/licensing.
7188N/A# See the License for the specific language governing permissions
7188N/A# and limitations under the License.
7188N/A#
7188N/A# When distributing Covered Code, include this CDDL HEADER in each
7188N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7188N/A# If applicable, add the following below this CDDL HEADER, with the
7188N/A# fields enclosed by brackets "[]" replaced with your own identifying
7188N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7188N/A#
7188N/A# CDDL HEADER END
7188N/A#
7188N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
7188N/A#
7188N/A
7188N/ABUILD_BITS= 64
7188N/ACOMPILER= gcc
7188N/Ainclude ../../../make-rules/shared-macros.mk
7188N/A
7188N/ACOMPONENT_NAME= gnome-session
7188N/ACOMPONENT_VERSION= 3.18.1.2
7188N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/SessionManagement
7188N/ACOMPONENT_ARCHIVE_HASH= \
7188N/A sha256:b37d823d57ff2e3057401a426279954699cfe1e44e59a4cbdd941687ff928a45
7188N/ACOMPONENT_BUGDB= gnome/session
7188N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/3.18/$(COMPONENT_ARCHIVE)
7188N/A
7188N/ATPNO= 27163
7188N/A
7188N/ATEST_TARGET = $(NO_TESTS)
7188N/A
7188N/A# Needs updated glib2, not available on S11.
7188N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7188N/A
7188N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
7188N/A
7188N/A# Use xdg autostart instead of gconf-based autostart; gconf is obsolete and has
7188N/A# been replaced by dconf.
7188N/ACONFIGURE_OPTIONS += --disable-gconf
7188N/A# Linux-specific.
7188N/ACONFIGURE_OPTIONS += --disable-systemd
7188N/ACONFIGURE_OPTIONS += --disable-static
7188N/ACONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)
7188N/A# ConsoleKit is deprecated; need to figure out long-term solution with
7188N/A# upstream.
7188N/ACONFIGURE_OPTIONS += --enable-consolekit
7188N/ACONFIGURE_OPTIONS += --enable-docbook-docs
7188N/ACONFIGURE_OPTIONS += --enable-ipv6
7188N/ACONFIGURE_OPTIONS += --enable-man
7188N/ACONFIGURE_OPTIONS += --enable-shared
7188N/ACONFIGURE_OPTIONS += --with-pic
7188N/ACONFIGURE_OPTIONS += --with-xtrans
7188N/A
7188N/A# Required due to patches.
7188N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
7188N/A
7188N/A# Assumes GNU msgfmt, xgettext, tail, etc. are first in PATH.
7188N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
7188N/ACOMPONENT_BUILD_ENV += PATH=$(GNUBIN):$(PATH)
7188N/A
7188N/AREQUIRED_PACKAGES += library/desktop/gtk3
7188N/AREQUIRED_PACKAGES += library/glib2
7188N/AREQUIRED_PACKAGES += library/gnome/gnome-desktop
7188N/AREQUIRED_PACKAGES += library/json-glib
7188N/AREQUIRED_PACKAGES += library/libxslt
7188N/AREQUIRED_PACKAGES += library/xdg/consolekit
7188N/AREQUIRED_PACKAGES += service/opengl/ogl-select
7188N/AREQUIRED_PACKAGES += system/library/libdbus
7188N/AREQUIRED_PACKAGES += system/library/libdbus-glib
7188N/AREQUIRED_PACKAGES += x11/library/libice
7188N/AREQUIRED_PACKAGES += x11/library/libsm
7188N/AREQUIRED_PACKAGES += x11/library/libx11
7188N/AREQUIRED_PACKAGES += x11/library/libxcomposite
7188N/AREQUIRED_PACKAGES += x11/library/mesa
7188N/AREQUIRED_PACKAGES += x11/library/xtrans