23245284 Move clutter-gtk to Userland and update to 1.6.4
authorNiveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 12 Jul 2016 13:07:50 +0000
changeset 6391 ef24ec0b3a52
parent 6390 b453d81e6fdc
child 6392 e08951796d20
23245284 Move clutter-gtk to Userland and update to 1.6.4 PSARC/2016/396 GNOME 3 Window Manager Bundle
components/gnome/clutter-gtk/Makefile
components/gnome/clutter-gtk/clutter-gtk.p5m
components/gnome/clutter-gtk/depend.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/clutter-gtk/Makefile	Tue Jul 12 13:07:50 2016 +0000
@@ -0,0 +1,106 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+BUILD_BITS =            32_and_64
+# All components using gobject-introspection must be built with gcc as
+# gobject-introspection does not produce correct results when using Studio.
+COMPILER =              gcc
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		clutter-gtk
+COMPONENT_VERSION=	1.6.4
+COMPONENT_ARCHIVE_HASH=	\
+	sha256:52fc9b35d301737a221bb6c24abafafe23e4bd0a5e2060bba3860b6cac7b32aa
+COMPONENT_BUGDB=        library/clutter
+
+TPNO=			24627
+
+# Requires cogl modules - disable till we get the fixed cogl on build servers
+TEST_TARGET = $(SKIP_TEST)
+
+# Needs gobject-introspection, not available on S11.
+ifeq ($(BUILD_TYPE), evaluation)
+BUILD_32_and_64=
+INSTALL_32_and_64=
+PUBLISH_STAMP=
+endif
+
+include $(WS_MAKE_RULES)/gnome-component.mk
+
+CONFIGURE_OPTIONS += --disable-static
+# Required for other components.
+CONFIGURE_OPTIONS += --enable-introspection
+CONFIGURE_OPTIONS += --enable-shared
+CONFIGURE_OPTIONS += --with-pic
+
+# Delete this when build servers are installed with the dependencies
+COGL_BASE = $(WS_COMPONENTS)/gnome/cogl/build/prototype/$(MACH)
+PKG_CONFIG_PATHS.32 += $(COGL_BASE)/usr/lib/pkgconfig/
+PKG_CONFIG_PATHS.64 += $(COGL_BASE)/usr/lib/$(MACH64)/pkgconfig/
+PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
+
+LD_OPTIONS.32 += -L $(COGL_BASE)/usr/lib
+LD_OPTIONS.64 += -L $(COGL_BASE)/usr/lib/$(MACH64)
+LD_OPTIONS += $(LD_OPTIONS.$(BITS))
+
+CPPFLAGS += -I$(COGL_BASE)/usr/include/cogl
+
+CLUTTER_BASE = $(WS_COMPONENTS)/gnome/clutter/build/prototype/$(MACH)
+PKG_CONFIG_PATHS.32 += $(CLUTTER_BASE)/usr/lib/pkgconfig/
+PKG_CONFIG_PATHS.64 += $(CLUTTER_BASE)/usr/lib/$(MACH64)/pkgconfig/
+PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
+
+LD_OPTIONS.32 += -L $(CLUTTER_BASE)/usr/lib
+LD_OPTIONS.64 += -L $(CLUTTER_BASE)/usr/lib/$(MACH64)
+LD_OPTIONS += $(LD_OPTIONS.$(BITS))
+
+CPPFLAGS += -I$(CLUTTER_BASE)/usr/include/clutter-1.0 \
+	    -I/usr/include/json-glib-1.0
+
+COMPONENT_BUILD_ENV  += \
+	XDG_DATA_DIRS="$(COGL_BASE)/usr/share/:$(CLUTTER_BASE)/usr/share/:/usr/share/"
+
+COMPONENT_BUILD_ENV += LD_LIBRARY_PATH_32="$(COGL_BASE)$(USRLIB.$(BITS)):$(CLUTTER_BASE)$(USRLIB.$(BITS)):$(BUILD_DIR_32)/clutter-gtk/.libs"
+COMPONENT_BUILD_ENV += LD_LIBRARY_PATH_64="$(COGL_BASE)$(USRLIB.$(BITS)):$(CLUTTER_BASE)$(USRLIB.$(BITS)):$(BUILD_DIR_64)/clutter-gtk/.libs"
+
+# Work around pkgdepend bug which doesn't resolve dependencies from
+# the local workspace repo. - 15708323
+DEPENDED += $(WS_TOP)/components/gnome/cogl/build/manifest-$(MACH)-cogl.depend
+DEPENDED += $(WS_TOP)/components/gnome/clutter/build/manifest-$(MACH)-clutter.depend
+
+# Temporary until dependencies are all on build machines
+REQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../cogl/Makefile)
+REQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES +=//p' ../clutter/Makefile)
+#end Delete
+
+REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
+REQUIRED_PACKAGES += library/desktop/cairo
+REQUIRED_PACKAGES += library/desktop/clutter
+REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
+REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
+REQUIRED_PACKAGES += library/desktop/gtk3
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/graphics/cogl
+REQUIRED_PACKAGES += system/library/math
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/clutter-gtk/clutter-gtk.p5m	Tue Jul 12 13:07:50 2016 +0000
@@ -0,0 +1,62 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+#
+<transform file path=usr.*/man/.+ -> \
+    default mangler.man.stability "pass-through volatile">
+set name=pkg.fmri \
+    value=pkg:/library/desktop/clutter/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary \
+    value="A library providing facilities to integrate Clutter into GTK3+ applications and vice versa"
+set name=pkg.description \
+    value="Clutter-GTK is a library providing facilities to integrate Clutter into GTK3+ applications and vice versa. Clutter-GTK provides a GTK+ widget, GtkClutterEmbed, for embedding the a Clutter stage into any GtkContainer; and GtkClutterActor, a Clutter actor for embedding any GtkWidget inside a Clutter stage."
+set name=com.oracle.info.description value=$(COMPONENT_NAME)
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification \
+    value="org.opensolaris.category.2008:Desktop (GNOME)/Libraries"
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2016/396
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file path=usr/include/clutter-gtk-1.0/clutter-gtk/clutter-gtk.h
+file path=usr/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-actor.h
+file path=usr/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-embed.h
+file path=usr/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-texture.h
+file path=usr/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-util.h
+file path=usr/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-version.h
+file path=usr/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-window.h
+file path=usr/lib/$(MACH64)/girepository-1.0/GtkClutter-1.0.typelib
+link path=usr/lib/$(MACH64)/libclutter-gtk-1.0.so \
+    target=libclutter-gtk-1.0.so.0.600.4
+link path=usr/lib/$(MACH64)/libclutter-gtk-1.0.so.0 \
+    target=libclutter-gtk-1.0.so.0.600.4
+file path=usr/lib/$(MACH64)/libclutter-gtk-1.0.so.0.600.4
+file path=usr/lib/$(MACH64)/pkgconfig/clutter-gtk-1.0.pc
+file path=usr/lib/girepository-1.0/GtkClutter-1.0.typelib
+link path=usr/lib/libclutter-gtk-1.0.so target=libclutter-gtk-1.0.so.0.600.4
+link path=usr/lib/libclutter-gtk-1.0.so.0 target=libclutter-gtk-1.0.so.0.600.4
+file path=usr/lib/libclutter-gtk-1.0.so.0.600.4
+file path=usr/lib/pkgconfig/clutter-gtk-1.0.pc
+file path=usr/share/gir-1.0/GtkClutter-1.0.gir
+file path=usr/share/locale/ja/LC_MESSAGES/cluttergtk-1.0.mo
+file path=usr/share/locale/pl/LC_MESSAGES/cluttergtk-1.0.mo
+file path=usr/share/locale/zh_CN/LC_MESSAGES/cluttergtk-1.0.mo
+license COPYING license=LGPLv2.1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/clutter-gtk/depend.mk	Tue Jul 12 13:07:50 2016 +0000
@@ -0,0 +1,1 @@
+gnome/clutter-gtk: gnome/cogl gnome/clutter