|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 |
|
22 # |
|
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 |
|
26 BUILD_BITS = 64_and_32 |
|
27 # All components using gobject-introspection must be built with gcc as |
|
28 # gobject-introspection does not produce correct results when using Studio. |
|
29 COMPILER = gcc |
|
30 include ../../../make-rules/shared-macros.mk |
|
31 |
|
32 COMPONENT_NAME= mutter |
|
33 COMPONENT_VERSION= 3.18.1 |
|
34 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Mutter |
|
35 COMPONENT_ARCHIVE_HASH= \ |
|
36 sha256:4fdee7c9dc2db3a48f18723f47c3122aa5bddaddb8751701ce243e577e2a69a9 |
|
37 COMPONENT_BUGDB= gnome/window-manager |
|
38 |
|
39 TPNO= 27162 |
|
40 |
|
41 TEST_TARGET = $(NO_TESTS) |
|
42 |
|
43 # Needs gobject-introspection, not available on S11. |
|
44 include $(WS_MAKE_RULES)/no-evaluation.mk |
|
45 |
|
46 include $(WS_MAKE_RULES)/gnome-component.mk |
|
47 |
|
48 # Requires non-standard extensions. |
|
49 CFLAGS += -std=c99 -D__EXTENSIONS__ |
|
50 |
|
51 CONFIGURE_OPTIONS += --disable-schemas-compile |
|
52 CONFIGURE_OPTIONS += --disable-static |
|
53 CONFIGURE_OPTIONS += --disable-native-backend |
|
54 CONFIGURE_OPTIONS += --disable-wayland |
|
55 # Enable additional compiler warnings, but leave them as warnings, not errors |
|
56 # (upstream default if this isn't specified is =error which breaks SPARC) |
|
57 CONFIGURE_OPTIONS += --enable-compile-warnings=yes |
|
58 CONFIGURE_OPTIONS += --enable-gtk-doc |
|
59 # Required for other components. |
|
60 CONFIGURE_OPTIONS += --enable-introspection |
|
61 CONFIGURE_OPTIONS += --enable-shared |
|
62 CONFIGURE_OPTIONS += --enable-sm |
|
63 CONFIGURE_OPTIONS += --with-pic |
|
64 CONFIGURE_OPTIONS += --with-x |
|
65 |
|
66 # Needed due to patch to configure.ac. |
|
67 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv); |
|
68 |
|
69 CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH) |
|
70 |
|
71 # Delete this when build servers are installed with gnome-settings-daemon |
|
72 UNINSTALLED_DEPS = gnome-settings-daemon libgweather |
|
73 DEPENDED += $(UNINSTALLED_DEPS:%=../%/build/manifest-$(MACH)-*.depend) |
|
74 REQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES += //p' $(UNINSTALLED_DEPS:%=../%/Makefile)) |
|
75 #end Delete |
|
76 |
|
77 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
|
78 REQUIRED_PACKAGES += gnome/gnome-settings-daemon |
|
79 REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas |
|
80 REQUIRED_PACKAGES += library/desktop/cairo |
|
81 REQUIRED_PACKAGES += library/desktop/clutter |
|
82 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
|
83 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
|
84 REQUIRED_PACKAGES += library/desktop/gtk3 |
|
85 REQUIRED_PACKAGES += library/desktop/pango |
|
86 REQUIRED_PACKAGES += library/desktop/startup-notification |
|
87 REQUIRED_PACKAGES += library/desktop/xdg/libcanberra |
|
88 REQUIRED_PACKAGES += library/glib2 |
|
89 REQUIRED_PACKAGES += library/gnome/gnome-desktop |
|
90 REQUIRED_PACKAGES += library/graphics/cogl |
|
91 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
|
92 REQUIRED_PACKAGES += system/library/math |
|
93 REQUIRED_PACKAGES += system/library/upower |
|
94 REQUIRED_PACKAGES += x11/library/libice |
|
95 REQUIRED_PACKAGES += x11/library/libsm |
|
96 REQUIRED_PACKAGES += x11/library/libx11 |
|
97 REQUIRED_PACKAGES += x11/library/libxcb |
|
98 REQUIRED_PACKAGES += x11/library/libxcomposite |
|
99 REQUIRED_PACKAGES += x11/library/libxcursor |
|
100 REQUIRED_PACKAGES += x11/library/libxdamage |
|
101 REQUIRED_PACKAGES += x11/library/libxext |
|
102 REQUIRED_PACKAGES += x11/library/libxfixes |
|
103 REQUIRED_PACKAGES += x11/library/libxi |
|
104 REQUIRED_PACKAGES += x11/library/libxinerama |
|
105 REQUIRED_PACKAGES += x11/library/libxkbcommon |
|
106 REQUIRED_PACKAGES += x11/library/libxkbfile |
|
107 REQUIRED_PACKAGES += x11/library/libxrandr |
|
108 REQUIRED_PACKAGES += x11/library/libxrender |