23245298 Move gmime to Userland and update to 2.6.20
authorNiveditha Rau <Niveditha.Rau@Oracle.COM>
Thu, 09 Jun 2016 22:19:41 -0700
changeset 6208 54031a40a157
parent 6207 fb66cc7fe0b0
child 6209 cb4409f463d3
23245298 Move gmime to Userland and update to 2.6.20
components/gnome/gmime/Makefile
components/gnome/gmime/gmime.p5m
components/gnome/gmime/test/results-all.master
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gmime/Makefile	Thu Jun 09 22:19:41 2016 -0700
@@ -0,0 +1,71 @@
+#
+# 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
+
+# Although this component is historically generic, GNOME distributes it
+# directly now, presumably because the original author abandoned it and GNOME
+# depends on it.
+COMPONENT_NAME=		gmime
+COMPONENT_VERSION=	2.6.20
+COMPONENT_ARCHIVE_HASH= \
+	sha256:e0a170fb264c2ae4cecd852f4e7aaddb8d58e8f3f0b569ce2d2a4704f55bdf65
+COMPONENT_BUGDB=        gnome/libraries
+
+TPNO=			25822
+
+# 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
+# Required for other components.
+CONFIGURE_OPTIONS += --enable-shared
+# Required for other components.
+CONFIGURE_OPTIONS += --enable-vala
+
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+COMPONENT_TEST_TRANSFORMS += \
+        '-n ' \
+        '-e "/Testing/p" ' \
+        '-e "/test/p" ' \
+        '-e "/Fail/p" '
+
+REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
+REQUIRED_PACKAGES += developer/vala
+REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/zlib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gmime/gmime.p5m	Thu Jun 09 22:19:41 2016 -0700
@@ -0,0 +1,102 @@
+#
+# 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/gmime@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="MIME messages creation and parsing library"
+set name=com.oracle.info.description value=gmime
+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=LSARC/2008/067
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file path=usr/include/gmime-2.6/gmime/gmime-certificate.h
+file path=usr/include/gmime-2.6/gmime/gmime-charset.h
+file path=usr/include/gmime-2.6/gmime/gmime-content-type.h
+file path=usr/include/gmime-2.6/gmime/gmime-crypto-context.h
+file path=usr/include/gmime-2.6/gmime/gmime-data-wrapper.h
+file path=usr/include/gmime-2.6/gmime/gmime-disposition.h
+file path=usr/include/gmime-2.6/gmime/gmime-encodings.h
+file path=usr/include/gmime-2.6/gmime/gmime-error.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-basic.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-best.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-charset.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-crlf.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-enriched.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-from.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-gzip.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-html.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-md5.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-strip.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-windows.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter-yenc.h
+file path=usr/include/gmime-2.6/gmime/gmime-filter.h
+file path=usr/include/gmime-2.6/gmime/gmime-gpg-context.h
+file path=usr/include/gmime-2.6/gmime/gmime-header.h
+file path=usr/include/gmime-2.6/gmime/gmime-iconv-utils.h
+file path=usr/include/gmime-2.6/gmime/gmime-iconv.h
+file path=usr/include/gmime-2.6/gmime/gmime-message-part.h
+file path=usr/include/gmime-2.6/gmime/gmime-message-partial.h
+file path=usr/include/gmime-2.6/gmime/gmime-message.h
+file path=usr/include/gmime-2.6/gmime/gmime-multipart-encrypted.h
+file path=usr/include/gmime-2.6/gmime/gmime-multipart-signed.h
+file path=usr/include/gmime-2.6/gmime/gmime-multipart.h
+file path=usr/include/gmime-2.6/gmime/gmime-object.h
+file path=usr/include/gmime-2.6/gmime/gmime-param.h
+file path=usr/include/gmime-2.6/gmime/gmime-parser.h
+file path=usr/include/gmime-2.6/gmime/gmime-part-iter.h
+file path=usr/include/gmime-2.6/gmime/gmime-part.h
+file path=usr/include/gmime-2.6/gmime/gmime-pkcs7-context.h
+file path=usr/include/gmime-2.6/gmime/gmime-signature.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-buffer.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-cat.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-file.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-filter.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-fs.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-gio.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-mem.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-mmap.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-null.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream-pipe.h
+file path=usr/include/gmime-2.6/gmime/gmime-stream.h
+file path=usr/include/gmime-2.6/gmime/gmime-utils.h
+file path=usr/include/gmime-2.6/gmime/gmime-version.h
+file path=usr/include/gmime-2.6/gmime/gmime.h
+file path=usr/include/gmime-2.6/gmime/internet-address.h
+file path=usr/lib/$(MACH64)/girepository-1.0/GMime-2.6.typelib
+link path=usr/lib/$(MACH64)/libgmime-2.6.so target=libgmime-2.6.so.0.620.0
+link path=usr/lib/$(MACH64)/libgmime-2.6.so.0 target=libgmime-2.6.so.0.620.0
+file path=usr/lib/$(MACH64)/libgmime-2.6.so.0.620.0
+file path=usr/lib/$(MACH64)/pkgconfig/gmime-2.6.pc
+file path=usr/lib/girepository-1.0/GMime-2.6.typelib
+link path=usr/lib/libgmime-2.6.so target=libgmime-2.6.so.0.620.0
+link path=usr/lib/libgmime-2.6.so.0 target=libgmime-2.6.so.0.620.0
+file path=usr/lib/libgmime-2.6.so.0.620.0
+file path=usr/lib/pkgconfig/gmime-2.6.pc
+file path=usr/share/gir-1.0/GMime-2.6.gir
+file path=usr/share/vala/vapi/gmime-2.6.deps
+file path=usr/share/vala/vapi/gmime-2.6.vapi
+license COPYING license=LGPLv2.1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gmime/test/results-all.master	Thu Jun 09 22:19:41 2016 -0700
@@ -0,0 +1,39 @@
+Making check in tests
+make[2]: Entering directory '$(@D)/tests'
+make[3]: Entering directory '$(@D)/tests'
+make[4]: Entering directory '$(@D)/tests'
+failed_tests=""; \
+for test in test-iconv test-streams test-cat test-headers test-mbox test-mime test-pgp test-pgpmime; do \
+	testdatadir="data/`echo ${test} | sed -e 's/test-//'`"; \
+	testdir="$(SOURCE_DIR)/tests/${testdatadir}"; \
+	if [ ! -d "${testdir}" ]; then \
+		testdir="${testdatadir}"; \
+	./${test} -v ${testdir}; \
+		failed_tests="${failed_tests}\n ${test}"; \
+echo "Results: ${passed} tests passed; ${failed} tests failed."; \
+	echo -e "Failed tests: ${failed_tests}"; \
+	echo -e "Failed tests: ${failed_tests}"; \
+Testing charset conversion utils: passed
+Testing Stream tests: passed
+Testing Stream tests: passed
+Testing GMimeStreamCat: passed
+Testing iterating forward and backward: passed
+Testing removing all headers: passed
+Testing removing individual headers: passed
+Testing header synchronization: passed
+Testing Mbox parser: no tests performed
+Testing Mbox parser: no tests performed
+Testing addr-spec parser: passed
+Testing date parser: passed
+Testing rfc2047 encoding/decoding: passed
+Testing rfc2184 encoding/decoding: passed
+Testing quoted-strings: passed
+Testing broken rfc2047 encoding/decoding: passed
+Results: 6 tests passed; 2 tests failed.
+Failed tests: 
+Failed tests: 
+ test-pgp
+ test-pgpmime
+make[4]: Leaving directory '$(@D)/tests'
+make[3]: Leaving directory '$(@D)/tests'
+make[2]: Leaving directory '$(@D)/tests'