23245319 Move gst-python to Userland and update to 1.4.0
PSARC/2016/338 GStreamer-1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/gstreamer1/gst-python/Makefile Wed Aug 10 16:44:01 2016 -0700
@@ -0,0 +1,75 @@
+#
+# 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) 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= gst-python
+COMPONENT_VERSION= 1.4.0
+COMPONENT_PROJECT_URL= http://gstreamer.freedesktop.org/
+COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
+COMPONENT_ARCHIVE_HASH= \
+ sha256:b1e40c29ceb41b03f08d38aca6056054f0341d0706276326dceeec6ac8d53d3e
+COMPONENT_ARCHIVE_URL= http://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
+COMPONENT_BUGDB= gnome/multimedia
+
+TPNO= 24910
+
+# Requires pygobject-3 which is currently only built for Python 2.7
+PYTHON_VERSIONS= 2.7
+
+# 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)/common.mk
+
+CONFIGURE_OPTIONS += --disable-static
+
+# The build process modifies the shebang line to use the version of Python
+# automatically found; to avoid using the current system default, one is
+# explicitly specified here.
+CONFIGURE_ENV += PYTHON=$(PYTHON)
+
+# Ensure Python modules are installed into vendor package directories.
+CONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
+CONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
+
+CONFIGURE_OPTIONS.64 += --with-pygi-overrides-dir=$(PYTHON_VENDOR_PACKAGES.32)/gi/overrides/64
+
+# for the tests
+unexport SHELLOPTS
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+
+REQUIRED_PACKAGES += library/desktop/gstreamer-1
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/python/pygobject-3-27
+REQUIRED_PACKAGES += runtime/python-27
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/gstreamer1/gst-python/gst-python-1-PYVER.p5m Wed Aug 10 16:44:01 2016 -0700
@@ -0,0 +1,48 @@
+#
+# 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) 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
+set name=pkg.fmri \
+ value=pkg:/library/python/gst-python-1-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Python $(PYVER) bindings for GStreamer 1"
+set name=pkg.description \
+ value="GStreamer python overrides for the gobject-introspection-based pygst bindings. "
+set name=com.oracle.info.description value=gst-python
+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/338
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file path=usr/lib/$(MACH64)/gstreamer-1.0/libgstpythonplugin.so
+file path=usr/lib/gstreamer-1.0/libgstpythonplugin.so
+file path=usr/lib/python$(PYVER)/vendor-packages/gi/overrides/64/Gst.py
+file path=usr/lib/python$(PYVER)/vendor-packages/gi/overrides/64/GstPbutils.py
+file path=usr/lib/python$(PYVER)/vendor-packages/gi/overrides/64/_gi_gst.so
+file path=usr/lib/python$(PYVER)/vendor-packages/gi/overrides/Gst.py
+file path=usr/lib/python$(PYVER)/vendor-packages/gi/overrides/GstPbutils.py
+file path=usr/lib/python$(PYVER)/vendor-packages/gi/overrides/_gi_gst.so
+license COPYING license=LGPLv2.1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/gstreamer1/gst-python/test/results-all.master Wed Aug 10 16:44:01 2016 -0700
@@ -0,0 +1,34 @@
+make[1]: Entering directory '$(@D)'
+Making check in common
+make[2]: Entering directory '$(@D)/common'
+Making check in m4
+make[3]: Entering directory '$(@D)/common/m4'
+make[3]: Nothing to be done for 'check'.
+make[3]: Leaving directory '$(@D)/common/m4'
+make[3]: Entering directory '$(@D)/common'
+make[3]: Nothing to be done for 'check-am'.
+make[3]: Leaving directory '$(@D)/common'
+make[2]: Leaving directory '$(@D)/common'
+Making check in gi
+make[2]: Entering directory '$(@D)/gi'
+Making check in overrides
+make[3]: Entering directory '$(@D)/gi/overrides'
+/usr/gnu/bin/make check-local
+make[4]: Entering directory '$(@D)/gi/overrides'
+ln -s -f .libs/_gi_gst.so _gi_gst.so
+for f in Gst.py GstPbutils.py __init__.py; do \
+ [ -e ./$f ] || ln -s -f $(SOURCE_DIR)/gi/overrides/$f ./$f; \
+done
+make[4]: Leaving directory '$(@D)/gi/overrides'
+make[3]: Leaving directory '$(@D)/gi/overrides'
+make[3]: Entering directory '$(@D)/gi'
+make[3]: Nothing to be done for 'check-am'.
+make[3]: Leaving directory '$(@D)/gi'
+make[2]: Leaving directory '$(@D)/gi'
+Making check in plugin
+make[2]: Entering directory '$(@D)/plugin'
+make[2]: Nothing to be done for 'check'.
+make[2]: Leaving directory '$(@D)/plugin'
+make[2]: Entering directory '$(@D)'
+make[2]: Leaving directory '$(@D)'
+make[1]: Leaving directory '$(@D)'