7199N/A#
7199N/A# CDDL HEADER START
7199N/A#
7199N/A# The contents of this file are subject to the terms of the
7199N/A# Common Development and Distribution License (the "License").
7199N/A# You may not use this file except in compliance with the License.
7199N/A#
7199N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7199N/A# or http://www.opensolaris.org/os/licensing.
7199N/A# See the License for the specific language governing permissions
7199N/A# and limitations under the License.
7199N/A#
7199N/A# When distributing Covered Code, include this CDDL HEADER in each
7199N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7199N/A# If applicable, add the following below this CDDL HEADER, with the
7199N/A# fields enclosed by brackets "[]" replaced with your own identifying
7199N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7199N/A#
7199N/A# CDDL HEADER END
7199N/A#
7199N/A
7199N/A#
7199N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
7199N/A#
7199N/ABUILD_BITS= 64
7199N/A# All components using gobject-introspection must be built with gcc as
7199N/A# gobject-introspection does not produce correct results when using Studio.
7199N/ACOMPILER= gcc
7199N/Ainclude ../../../make-rules/shared-macros.mk
7199N/A
7199N/ACOMPONENT_NAME= gdm
7199N/ACOMPONENT_VERSION= 3.18.2
7199N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/GDM
7199N/ACOMPONENT_ARCHIVE_HASH= \
7199N/A sha256:549235247611d74f0d5d5a4aa01ba9350a4d3468e44ac013b40791c6a986f822
7199N/ACOMPONENT_BUGDB= gnome/gdm
7199N/A
7199N/ATPNO= 25845
7199N/A
7199N/A# Needs accountsservice, not available on S11.
7199N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7199N/A
7199N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
7199N/A
7199N/A# Regenerate configure after patches modify configure.ac
7199N/ACOMPONENT_PREP_ACTION += ( cd $(@D); autoreconf -fiv);
7199N/A
7199N/A# Make sure we haven't broken the SMF manifest formatting
7199N/ACOMPONENT_PREP_ACTION += \
7199N/A ( /usr/sbin/svccfg validate $(COMPONENT_DIR)/files/gdm.xml );
7199N/A
7199N/A# Assumes GNU msgfmt in PATH.
7199N/ACOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
7199N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
7199N/A
7199N/A# uuid detection fails due to Solaris bug 15586738.
7199N/ACONFIGURE_OPTIONS += ac_cv_search_uuid_to_string=generic
7199N/ACONFIGURE_ENV += UUID_CFLAGS="-I$(USRINCDIR)/uuid"
7199N/ACONFIGURE_ENV.32 += UUID_LIBS="-luuid"
7199N/ACONFIGURE_ENV.64 += UUID_LIBS="-L$(USRLIBDIR64) -luuid"
7199N/A
7199N/A# intltool may or may not be run depending on previous state of build dir
7199N/ACOMPONENT_TEST_TRANSFORMS += "-e '/\/usr\/bin\/intltool-update/d'"
7199N/A
7199N/ACONFIGURE_OPTIONS += --enable-debug
7199N/ACONFIGURE_OPTIONS += --enable-authentication-scheme=pam
7199N/ACONFIGURE_OPTIONS += --enable-gdm-xsession
7199N/ACONFIGURE_OPTIONS += --enable-ipv6
7199N/ACONFIGURE_OPTIONS += --enable-rbac-shutdown=solaris.system.shutdown
7199N/ACONFIGURE_OPTIONS += --enable-shared
7199N/ACONFIGURE_OPTIONS += --disable-static
7199N/ACONFIGURE_OPTIONS += --disable-systemd-journal
7199N/ACONFIGURE_OPTIONS += --disable-wayland-support
7199N/ACONFIGURE_OPTIONS += --with-console-kit
7199N/ACONFIGURE_OPTIONS += --with-pic
7199N/ACONFIGURE_OPTIONS += --without-plymouth
7199N/ACONFIGURE_OPTIONS += --without-systemd
7199N/ACONFIGURE_OPTIONS += --without-systemdsystemunitdir
7199N/ACONFIGURE_OPTIONS += --with-user=gdm --with-group=gdm
7199N/ACONFIGURE_OPTIONS += --with-default-path='$(USRBINDIR):$(USRSBINDIR)'
7199N/ACONFIGURE_OPTIONS += --with-xauth-dir=/tmp
7199N/ACONFIGURE_OPTIONS += --with-initial-vt=7
7199N/ACONFIGURE_OPTIONS += --libexecdir="$(USRLIBDIR)/gdm"
7199N/A
7199N/AREQUIRED_PACKAGES += data/iso-codes
7199N/AREQUIRED_PACKAGES += developer/documentation-tool/itstool
7199N/AREQUIRED_PACKAGES += file/gnu-coreutils
7199N/AREQUIRED_PACKAGES += gnome/accessibility/orca
7199N/AREQUIRED_PACKAGES += gnome/gnome-session
7199N/AREQUIRED_PACKAGES += gnome/gnome-shell
7199N/AREQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
7199N/AREQUIRED_PACKAGES += gnome/zenity
7199N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
7199N/AREQUIRED_PACKAGES += library/desktop/gtk3
7199N/AREQUIRED_PACKAGES += library/desktop/xdg/libcanberra
7199N/AREQUIRED_PACKAGES += library/glib2
7199N/AREQUIRED_PACKAGES += library/gnome/dconf
7199N/AREQUIRED_PACKAGES += library/gnome/yelp-tools
7199N/AREQUIRED_PACKAGES += library/xdg/consolekit
7199N/AREQUIRED_PACKAGES += system/core-os
7199N/AREQUIRED_PACKAGES += system/io/audio
7199N/AREQUIRED_PACKAGES += system/library/accountsservice
7199N/AREQUIRED_PACKAGES += system/library/dbus
7199N/AREQUIRED_PACKAGES += system/library/fontconfig
7199N/AREQUIRED_PACKAGES += terminal/xterm
7199N/AREQUIRED_PACKAGES += x11/keyboard/xkb-utilities
7199N/AREQUIRED_PACKAGES += x11/library/libx11
7199N/AREQUIRED_PACKAGES += x11/library/libxau
7199N/AREQUIRED_PACKAGES += x11/library/libxdmcp
7199N/AREQUIRED_PACKAGES += x11/library/libxft
7199N/AREQUIRED_PACKAGES += x11/library/libxi
7199N/AREQUIRED_PACKAGES += x11/library/libxinerama
7199N/AREQUIRED_PACKAGES += x11/server/xephyr
7199N/AREQUIRED_PACKAGES += x11/server/xserver-common
7199N/AREQUIRED_PACKAGES += x11/session/xinit
7199N/AREQUIRED_PACKAGES += x11/x11-server-utilities
7199N/A
7199N/A# Required for testing, not building or running:
7199N/AREQUIRED_PACKAGES += developer/test/check
7199N/AREQUIRED_PACKAGES += library/libxml2