23245646 Deliver gssdp 0.14.11 in Solaris
authorNiveditha Rau <Niveditha.Rau@Oracle.COM>
Mon, 13 Jun 2016 13:09:25 -0700
changeset 6218 aeb522ce4eef
parent 6217 f2179bfee747
child 6219 0e6db3ea17fe
23245646 Deliver gssdp 0.14.11 in Solaris PSARC/2016/387 GUPnP
components/gnome/gssdp/Makefile
components/gnome/gssdp/gssdp.p5m
components/gnome/gssdp/test/results-all.master
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gssdp/Makefile	Mon Jun 13 13:09:25 2016 -0700
@@ -0,0 +1,73 @@
+#
+# 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 =            64_and_32
+# 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=		gssdp
+COMPONENT_VERSION=	0.14.11
+COMPONENT_PROJECT_URL=  https://developer.gnome.org/gssdp/
+COMPONENT_ARCHIVE_HASH= \
+	sha256:7bf5aeaf2119fe0bec5f3632ecf39dae15bc85276c72c2ad8dd4b0e345c6535a
+COMPONENT_BUGDB=        gnome/libraries
+
+TPNO=			25384
+
+# 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
+CONFIGURE_OPTIONS += --enable-introspection
+CONFIGURE_OPTIONS += --enable-shared
+CONFIGURE_OPTIONS += --with-gtk
+CONFIGURE_OPTIONS += --with-pic
+
+# for the tests
+unexport SHELLOPTS
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+COMPONENT_TEST_ARGS =   -k -i
+COMPONENT_TEST_TRANSFORMS += \
+        '-n ' \
+        '-e "/TOTAL:/p" ' \
+        '-e "/SKIP:/p" ' \
+        '-e "/PASS:/p" ' \
+        '-e "/FAIL:/p" ' \
+        '-e "/ERROR:/p" '
+
+REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
+REQUIRED_PACKAGES += developer/vala
+REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
+REQUIRED_PACKAGES += library/desktop/gtk3
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/libsoup
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gssdp/gssdp.p5m	Mon Jun 13 13:09:25 2016 -0700
@@ -0,0 +1,57 @@
+#
+# 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/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary \
+    value="A GObject-based API for handling resource discovery and announcement over SSDP"
+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/387
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file path=usr/bin/gssdp-device-sniffer
+file path=usr/include/gssdp-1.0/libgssdp/gssdp-client.h
+file path=usr/include/gssdp-1.0/libgssdp/gssdp-error.h
+file path=usr/include/gssdp-1.0/libgssdp/gssdp-resource-browser.h
+file path=usr/include/gssdp-1.0/libgssdp/gssdp-resource-group.h
+file path=usr/include/gssdp-1.0/libgssdp/gssdp.h
+file path=usr/lib/$(MACH64)/girepository-1.0/GSSDP-1.0.typelib
+link path=usr/lib/$(MACH64)/libgssdp-1.0.so target=libgssdp-1.0.so.3.0.0
+link path=usr/lib/$(MACH64)/libgssdp-1.0.so.3 target=libgssdp-1.0.so.3.0.0
+file path=usr/lib/$(MACH64)/libgssdp-1.0.so.3.0.0
+file path=usr/lib/$(MACH64)/pkgconfig/gssdp-1.0.pc
+file path=usr/lib/girepository-1.0/GSSDP-1.0.typelib
+link path=usr/lib/libgssdp-1.0.so target=libgssdp-1.0.so.3.0.0
+link path=usr/lib/libgssdp-1.0.so.3 target=libgssdp-1.0.so.3.0.0
+file path=usr/lib/libgssdp-1.0.so.3.0.0
+file path=usr/lib/pkgconfig/gssdp-1.0.pc
+file path=usr/share/gir-1.0/GSSDP-1.0.gir
+file path=usr/share/gssdp/gssdp-device-sniffer.ui
+file path=usr/share/vala/vapi/gssdp-1.0.deps
+file path=usr/share/vala/vapi/gssdp-1.0.vapi
+license COPYING license=LGPLv2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gssdp/test/results-all.master	Mon Jun 13 13:09:25 2016 -0700
@@ -0,0 +1,9 @@
+PASS: test-regression
+FAIL: test-functional
+# TOTAL: 2
+# PASS:  1
+# SKIP:  0
+# XFAIL: 0
+# FAIL:  1
+# XPASS: 0
+# ERROR: 0