7204N/A#
7204N/A# CDDL HEADER START
7204N/A#
7204N/A# The contents of this file are subject to the terms of the
7204N/A# Common Development and Distribution License (the "License").
7204N/A# You may not use this file except in compliance with the License.
7204N/A#
7204N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7204N/A# or http://www.opensolaris.org/os/licensing.
7204N/A# See the License for the specific language governing permissions
7204N/A# and limitations under the License.
7204N/A#
7204N/A# When distributing Covered Code, include this CDDL HEADER in each
7204N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7204N/A# If applicable, add the following below this CDDL HEADER, with the
7204N/A# fields enclosed by brackets "[]" replaced with your own identifying
7204N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7204N/A#
7204N/A# CDDL HEADER END
7204N/A#
7204N/A
7204N/A#
7204N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
7204N/A#
7204N/A
7204N/ABUILD_BITS= 64
7204N/ACOMPILER= gcc
7204N/Ainclude ../../../make-rules/shared-macros.mk
7204N/A
7204N/ACOMPONENT_NAME= gnome-shell
7204N/ACOMPONENT_VERSION= 3.18.3
7204N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/GnomeShell
7204N/ACOMPONENT_ARCHIVE_HASH= \
7204N/A sha256:8517baf8606f970ebf38222411eb7563cab2ae5efbfb088954ce23705b67519b
7204N/ACOMPONENT_BUGDB= gnome/gnome-shell
7204N/A
7204N/ATPNO= 25491
7204N/A
7204N/ATEST_TARGET = $(NO_TESTS)
7204N/A
7204N/A# Needs mutter, not available on S11.
7204N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7204N/A
7204N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
7204N/A
7204N/A# js/misc/config.js is accidentally included in the tarball - we remove it so
7204N/A# that it gets correctly rebuilt from js/misc/config.js.in with the settings
7204N/A# passed via the configure script
7204N/ACOMPONENT_POST_UNPACK_ACTION += $(RM) $(SOURCE_DIR)/js/misc/config.js ;
7204N/A
7204N/ACXXFLAGS += -std=c++11 -D__EXTENSIONS__
7204N/A
7204N/APYTHON_VERSION= 3.4
7204N/A
7204N/ACONFIGURE_OPTIONS += --disable-static
7204N/ACONFIGURE_OPTIONS += --enable-man-pages
7204N/ACONFIGURE_OPTIONS += --enable-shared
7204N/ACONFIGURE_OPTIONS += --with-pic
7204N/ACONFIGURE_OPTIONS += --disable-networkmanager
7204N/ACONFIGURE_OPTIONS += --enable-introspection
7204N/ACONFIGURE_OPTIONS += PYTHON="$(PYTHON.$(PYTHON_VERSION))"
7204N/A
7204N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
7204N/ACOMPONENT_BUILD_ENV += PATH=$(GNUBIN):$(PATH)
7204N/A
7204N/A# Workaround the mozjs issue described in 24935318
7204N/ALD_EXEC_OPTIONS += -M $(PWD)/../gjs/mapfile
7204N/AADIHEAP_MODE = $(ADIHEAP_DISABLE)
7204N/AADISTACK_MODE = $(ADISTACK_DISABLE)
7204N/A
7204N/A# Delete this when build servers are installed with required packages
7204N/ASN_TOP = $(WS_COMPONENTS)/desktop/startup-notification
7204N/ASN_BASE = $(SN_TOP)/build/prototype/$(MACH)
7204N/APKG_CONFIG_PATHS += $(SN_BASE)$(PKG_CONFIG_PATH.$(BITS))
7204N/ALD_OPTIONS += -L $(SN_BASE)$(USRLIB)
7204N/ACPPFLAGS += -I$(SN_BASE)$(USRINCDIR)/startup-notification-1.0
7204N/ADEPENDED += $(SN_TOP)/build/manifest-$(MACH)-startup-notification.depend
7204N/AREQUIRED_PACKAGES += $(shell $(GSED) -n -e 's/REQUIRED_PACKAGES +=//p' $(SN_TOP)/Makefile)
7204N/A
7204N/AMUTTER_BASE = $(WS_COMPONENTS)/gnome/mutter/build/prototype/$(MACH)
7204N/APKG_CONFIG_PATHS += $(MUTTER_BASE)$(PKG_CONFIG_PATH.$(BITS))
7204N/ALD_OPTIONS += -L $(MUTTER_BASE)$(USRLIB)
7204N/ACPPFLAGS += -I$(MUTTER_BASE)$(USRINCDIR)/mutter
7204N/ACONFIGURE_ENV += INTROSPECTION_GIRDIR="$(MUTTER_BASE)/usr/lib/$(MACH64)/mutter"
7204N/AMUTTER_GIRDIR=$(MUTTER_BASE)$(USRLIB)/mutter
7204N/A
7204N/AEDS_BASE = $(WS_COMPONENTS)/gnome/evolution-data-server/build/prototype/$(MACH)
7204N/APKG_CONFIG_PATHS += $(EDS_BASE)$(PKG_CONFIG_PATH.$(BITS))
7204N/ALD_OPTIONS += -L $(EDS_BASE)$(USRLIB)
7204N/ACPPFLAGS += -I$(EDS_BASE)$(USRINCDIR)/evolution-data-server
7204N/A
7204N/ACOMPONENT_BUILD_ENV += LD_LIBRARY_PATH_64="$(GOA_BASE)/$(USRLIB):$(EDS_BASE)/$(USRLIB)/evolution-data-server:$(MUTTER_BASE)/$(USRLIB):$(BUILD_DIR_64)/src/.libs"
7204N/A
7204N/AXDG_DATA_DIRS="$(MUTTER_GIR_DIR):$(CLUTTER_BASE)/usr/share/:/usr/share/"
7204N/A
7204N/ACOMPONENT_BUILD_ENV += XDG_DATA_DIRS="$(MUTTER_GIR_DIR):$(CLUTTER_BASE)/usr/share/:/usr/share/"
7204N/ACOMPONENT_BUILD_ENV += MUTTER_GIR_DIR="$(MUTTER_GIR_DIR):$(CLUTTER_BASE)/usr/share/:/usr/share/"
7204N/A
7204N/A# Dependencies on other packages in this build not yet on build machines
7204N/AUNINSTALLED_DEPS = gdm gnome-clocks gnome-settings-daemon libgweather
7204N/ADEPENDED += $(UNINSTALLED_DEPS:%=../%/build/manifest-$(MACH)-*.depend)
7204N/AREQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES += //p' $(UNINSTALLED_DEPS:%=../%/Makefile))
7204N/A# end Delete
7204N/A
7204N/A# evolution-data-server requires nss/nspr, but Solaris doesn't include a 64-bit
7204N/A# pkg-config file for it, so we workaround this by using the one-off copy in the
7204N/A# evolution-data-server component directory
7204N/APKG_CONFIG_PATHS += $(WS_COMPONENTS)/gnome/evolution-data-server
7204N/A
7204N/AREQUIRED_PACKAGES += developer/vala
7204N/AREQUIRED_PACKAGES += gnome/accessibility/caribou
7204N/AREQUIRED_PACKAGES += gnome/gnome-clocks
7204N/AREQUIRED_PACKAGES += gnome/gnome-settings-daemon
7204N/AREQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
7204N/AREQUIRED_PACKAGES += gnome/window-manager/mutter
7204N/AREQUIRED_PACKAGES += library/audio/pulseaudio
7204N/AREQUIRED_PACKAGES += library/desktop/at-spi2-atk
7204N/AREQUIRED_PACKAGES += library/desktop/at-spi2-core
7204N/AREQUIRED_PACKAGES += library/desktop/atk
7204N/AREQUIRED_PACKAGES += library/desktop/cairo
7204N/AREQUIRED_PACKAGES += library/desktop/clutter
7204N/AREQUIRED_PACKAGES += library/desktop/clutter/clutter-gtk
7204N/AREQUIRED_PACKAGES += library/desktop/evolution-data-server
7204N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
7204N/AREQUIRED_PACKAGES += library/desktop/geocode-glib
7204N/AREQUIRED_PACKAGES += library/desktop/gjs
7204N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
7204N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
7204N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base
7204N/AREQUIRED_PACKAGES += library/desktop/gtk3
7204N/AREQUIRED_PACKAGES += library/desktop/libchamplain
7204N/AREQUIRED_PACKAGES += library/desktop/libgee
7204N/AREQUIRED_PACKAGES += library/desktop/libgweather
7204N/AREQUIRED_PACKAGES += library/desktop/libnotify
7204N/AREQUIRED_PACKAGES += library/desktop/pango
7204N/AREQUIRED_PACKAGES += library/desktop/startup-notification
7204N/AREQUIRED_PACKAGES += library/desktop/xdg/libcanberra
7204N/AREQUIRED_PACKAGES += library/glib2
7204N/AREQUIRED_PACKAGES += library/gnome/folks
7204N/AREQUIRED_PACKAGES += library/gnome/gcr
7204N/AREQUIRED_PACKAGES += library/gnome/gnome-desktop
7204N/AREQUIRED_PACKAGES += library/gnome/gnome-online-accounts
7204N/AREQUIRED_PACKAGES += library/graphics/cogl
7204N/AREQUIRED_PACKAGES += library/json-glib
7204N/AREQUIRED_PACKAGES += library/libcroco
7204N/AREQUIRED_PACKAGES += library/libical
7204N/AREQUIRED_PACKAGES += library/libmozjs-24
7204N/AREQUIRED_PACKAGES += library/libsoup
7204N/AREQUIRED_PACKAGES += library/python/pygobject-3-34
7204N/AREQUIRED_PACKAGES += library/python/simplejson-34
7204N/AREQUIRED_PACKAGES += library/telepathy-glib
7204N/AREQUIRED_PACKAGES += library/telepathy-logger
7204N/AREQUIRED_PACKAGES += runtime/python-34
7204N/AREQUIRED_PACKAGES += system/display-manager/gdm
7204N/AREQUIRED_PACKAGES += system/input-method/ibus
7204N/AREQUIRED_PACKAGES += system/library/accountsservice
7204N/AREQUIRED_PACKAGES += system/library/math
7204N/AREQUIRED_PACKAGES += system/library/polkit
7204N/AREQUIRED_PACKAGES += x11/library/libx11
7204N/AREQUIRED_PACKAGES += x11/library/libxfixes