# HG changeset patch # User Niveditha Rau # Date 1454973262 28800 # Node ID bcb70575c62a846e66095a401b0361e5b5dc0b2e # Parent 2115621f91edb0b8a14c3aaf16d44a9d11c35c8b 22664107 Deliver harfbuzz in Solaris for Project Solder diff -r 2115621f91ed -r bcb70575c62a components/desktop/harfbuzz/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/desktop/harfbuzz/Makefile Mon Feb 08 15:14:22 2016 -0800 @@ -0,0 +1,97 @@ +# +# 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. +# + +include ../../../make-rules/shared-macros.mk + +COMPONENT_NAME= harfbuzz +COMPONENT_VERSION= 1.0.6 +COMPONENT_PROJECT_URL= http://www.freedesktop.org/wiki/Software/HarfBuzz/ +COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) +COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 +COMPONENT_ARCHIVE_HASH= \ + sha256:f616a7fbdc78a627043f9029000bf08c0c71df59cde4143fc92a014f6a993b26 +COMPONENT_ARCHIVE_URL= http://www.freedesktop.org/software/harfbuzz/release/$(COMPONENT_ARCHIVE) +COMPONENT_BUGDB= library/harfbuzz + +TPNO= 25623 + +include $(WS_MAKE_RULES)/prep.mk +include $(WS_MAKE_RULES)/configure-32_and_64.mk +include $(WS_MAKE_RULES)/common-32_and_64.mk + +# For now, all things built for C++11 require gcc. +COMPILER = gcc +CXXFLAGS += -std=c++11 + +CONFIGURE_ENV += CC="$(CC) $(CC_BITS)" +CONFIGURE_ENV += CFLAGS="$(CFLAGS)" +CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" +CONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)" +# Required by other components. +CONFIGURE_OPTIONS += --enable-introspection +# Required by other components. +CONFIGURE_OPTIONS += --with-glib +# Required by other components. +CONFIGURE_OPTIONS += --with-gobject +# Requires GNU-ABI compatible build of ICU. +CONFIGURE_OPTIONS += --with-icu +# build the API documentation +CONFIGURE_OPTIONS += --enable-gtk-doc + +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 "/XFAIL:/p" ' \ + '-e "/XERROR:/p" ' \ + '-e "/ERROR:/p" ' + +configure: $(CONFIGURE_32_and_64) + +build: $(BUILD_32_and_64) + +install: $(INSTALL_32_and_64) + +test: $(TEST_32_and_64) + +system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) + +REQUIRED_PACKAGES += developer/build/autoconf +REQUIRED_PACKAGES += developer/build/automake +REQUIRED_PACKAGES += developer/build/gnu-make +REQUIRED_PACKAGES += developer/build/pkg-config +REQUIRED_PACKAGES += developer/icu +REQUIRED_PACKAGES += library/desktop/cairo +REQUIRED_PACKAGES += library/glib2 +REQUIRED_PACKAGES += library/icu +REQUIRED_PACKAGES += system/library +REQUIRED_PACKAGES += system/library/freetype-2 +REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime +REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime +REQUIRED_PACKAGES += system/library/math diff -r 2115621f91ed -r bcb70575c62a components/desktop/harfbuzz/harfbuzz.license --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/desktop/harfbuzz/harfbuzz.license Mon Feb 08 15:14:22 2016 -0800 @@ -0,0 +1,53 @@ +http://cgit.freedesktop.org/harfbuzz/tree/COPYING + +HarfBuzz is licensed under the so-called "Old MIT" license. Details follow. +For parts of HarfBuzz that are licensed under different licenses see individual +files names COPYING in subdirectories where applicable. + +Copyright © 2010,2011,2012 Google, Inc. +Copyright © 2012 Mozilla Foundation +Copyright © 2011 Codethink Limited +Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies) +Copyright © 2009 Keith Stribley +Copyright © 2009 Martin Hosken and SIL International +Copyright © 2007 Chris Wilson +Copyright © 2006 Behdad Esfahbod +Copyright © 2005 David Turner +Copyright © 2004,2007,2008,2009,2010 Red Hat, Inc. +Copyright © 1998-2004 David Turner and Werner Lemberg + +For full copyright notices consult the individual files in the package. + + +Permission is hereby granted, without written agreement and without +license or royalty fees, to use, copy, modify, and distribute this +software and its documentation for any purpose, provided that the +above copyright notice and the following two paragraphs appear in +all copies of this software. + +IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN +IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO +PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + +All source code, except for one section, is licensed as above. The one exception is licensed with a slightly different MIT variant: +The contents of this directory are licensed under the following terms: + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff -r 2115621f91ed -r bcb70575c62a components/desktop/harfbuzz/harfbuzz.p5m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/desktop/harfbuzz/harfbuzz.p5m Mon Feb 08 15:14:22 2016 -0800 @@ -0,0 +1,153 @@ +# +# 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. +# + + default mangler.man.stability uncommitted> +set name=pkg.fmri \ + value=pkg:/library/desktop/harfbuzz@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary value="HarfBuzz is an OpenType text shaping engine" +set name=pkg.description \ + value="HarfBuzz is a library for text shaping, which converts unicode text to glyph indices and positions. HarfBuzz is used directly by libraries such as Pango, and the layout engines in firefox." +set name=com.oracle.info.description \ + value="the HarfBuzz OpenType text shaping engine" +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/074 +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) +file path=usr/bin/$(MACH64)/hb-ot-shape-closure +file path=usr/bin/$(MACH64)/hb-shape +file path=usr/bin/$(MACH64)/hb-view +file path=usr/bin/hb-ot-shape-closure +file path=usr/bin/hb-shape +file path=usr/bin/hb-view +file path=usr/include/harfbuzz/hb-blob.h +file path=usr/include/harfbuzz/hb-buffer.h +file path=usr/include/harfbuzz/hb-common.h +file path=usr/include/harfbuzz/hb-deprecated.h +file path=usr/include/harfbuzz/hb-face.h +file path=usr/include/harfbuzz/hb-font.h +file path=usr/include/harfbuzz/hb-ft.h +file path=usr/include/harfbuzz/hb-glib.h +file path=usr/include/harfbuzz/hb-gobject-enums.h +file path=usr/include/harfbuzz/hb-gobject-structs.h +file path=usr/include/harfbuzz/hb-gobject.h +file path=usr/include/harfbuzz/hb-icu.h +file path=usr/include/harfbuzz/hb-ot-font.h +file path=usr/include/harfbuzz/hb-ot-layout.h +file path=usr/include/harfbuzz/hb-ot-shape.h +file path=usr/include/harfbuzz/hb-ot-tag.h +file path=usr/include/harfbuzz/hb-ot.h +file path=usr/include/harfbuzz/hb-set.h +file path=usr/include/harfbuzz/hb-shape-plan.h +file path=usr/include/harfbuzz/hb-shape.h +file path=usr/include/harfbuzz/hb-unicode.h +file path=usr/include/harfbuzz/hb-version.h +file path=usr/include/harfbuzz/hb.h +file path=usr/lib/$(MACH64)/girepository-1.0/HarfBuzz-0.0.typelib +link path=usr/lib/$(MACH64)/libharfbuzz-gobject.so \ + target=libharfbuzz-gobject.so.0.10000.6 +link path=usr/lib/$(MACH64)/libharfbuzz-gobject.so.0 \ + target=libharfbuzz-gobject.so.0.10000.6 +file path=usr/lib/$(MACH64)/libharfbuzz-gobject.so.0.10000.6 +link path=usr/lib/$(MACH64)/libharfbuzz-icu.so \ + target=libharfbuzz-icu.so.0.10000.6 +link path=usr/lib/$(MACH64)/libharfbuzz-icu.so.0 \ + target=libharfbuzz-icu.so.0.10000.6 +file path=usr/lib/$(MACH64)/libharfbuzz-icu.so.0.10000.6 +link path=usr/lib/$(MACH64)/libharfbuzz.so target=libharfbuzz.so.0.10000.6 +link path=usr/lib/$(MACH64)/libharfbuzz.so.0 target=libharfbuzz.so.0.10000.6 +file path=usr/lib/$(MACH64)/libharfbuzz.so.0.10000.6 +file path=usr/lib/$(MACH64)/pkgconfig/harfbuzz-gobject.pc +file path=usr/lib/$(MACH64)/pkgconfig/harfbuzz-icu.pc +file path=usr/lib/$(MACH64)/pkgconfig/harfbuzz.pc +file path=usr/lib/girepository-1.0/HarfBuzz-0.0.typelib +link path=usr/lib/libharfbuzz-gobject.so target=libharfbuzz-gobject.so.0.10000.6 +link path=usr/lib/libharfbuzz-gobject.so.0 \ + target=libharfbuzz-gobject.so.0.10000.6 +file path=usr/lib/libharfbuzz-gobject.so.0.10000.6 +link path=usr/lib/libharfbuzz-icu.so target=libharfbuzz-icu.so.0.10000.6 +link path=usr/lib/libharfbuzz-icu.so.0 target=libharfbuzz-icu.so.0.10000.6 +file path=usr/lib/libharfbuzz-icu.so.0.10000.6 +link path=usr/lib/libharfbuzz.so target=libharfbuzz.so.0.10000.6 +link path=usr/lib/libharfbuzz.so.0 target=libharfbuzz.so.0.10000.6 +file path=usr/lib/libharfbuzz.so.0.10000.6 +file path=usr/lib/pkgconfig/harfbuzz-gobject.pc +file path=usr/lib/pkgconfig/harfbuzz-icu.pc +file path=usr/lib/pkgconfig/harfbuzz.pc +file path=usr/share/gir-1.0/HarfBuzz-0.0.gir +file path=usr/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +file path=usr/share/gtk-doc/html/harfbuzz/annotation-glossary.html +file path=usr/share/gtk-doc/html/harfbuzz/api-index-full.html +file path=usr/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +file path=usr/share/gtk-doc/html/harfbuzz/ch06.html +file path=usr/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +file path=usr/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +file path=usr/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp +file path=usr/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +file path=usr/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +file path=usr/share/gtk-doc/html/harfbuzz/home.png +file path=usr/share/gtk-doc/html/harfbuzz/index.html +file path=usr/share/gtk-doc/html/harfbuzz/index.sgml +file path=usr/share/gtk-doc/html/harfbuzz/left.png +file path=usr/share/gtk-doc/html/harfbuzz/object-tree.html +file path=usr/share/gtk-doc/html/harfbuzz/plans-and-caching.html +file path=usr/share/gtk-doc/html/harfbuzz/pt01.html +file path=usr/share/gtk-doc/html/harfbuzz/pt02.html +file path=usr/share/gtk-doc/html/harfbuzz/right.png +file path=usr/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +file path=usr/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +file path=usr/share/gtk-doc/html/harfbuzz/style.css +file path=usr/share/gtk-doc/html/harfbuzz/up.png +file path=usr/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +file path=usr/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +file path=usr/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +file path=usr/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +file path=usr/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +license harfbuzz.license license=MIT diff -r 2115621f91ed -r bcb70575c62a components/desktop/harfbuzz/test/results-all.master --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/desktop/harfbuzz/test/results-all.master Mon Feb 08 15:14:22 2016 -0800 @@ -0,0 +1,57 @@ +PASS: check-c-linkage-decls.sh +FAIL: check-defs.sh +FAIL: check-header-guards.sh +PASS: check-includes.sh +PASS: check-libstdc++.sh +PASS: check-static-inits.sh +FAIL: check-symbols.sh +# TOTAL: 7 +# PASS: 4 +# SKIP: 0 +# XFAIL: 0 +# XFAIL: 0 +# FAIL: 3 +# XPASS: 0 +# ERROR: 0 +FAIL: test-blob +FAIL: test-buffer +FAIL: test-common +FAIL: test-font +FAIL: test-object +FAIL: test-set +FAIL: test-shape +FAIL: test-unicode +FAIL: test-version +FAIL: test-ot-tag +FAIL: test-c +FAIL: test-cplusplus +# TOTAL: 12 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# XFAIL: 0 +# FAIL: 12 +# XPASS: 0 +# ERROR: 0 +FAIL: tests/arabic-fallback-shaping.tests +FAIL: tests/arabic-feature-order.tests +FAIL: tests/cluster.tests +FAIL: tests/context-matching.tests +FAIL: tests/cursive-positioning.tests +FAIL: tests/default-ignorables.tests +FAIL: tests/fuzzed.tests +FAIL: tests/hangul-jamo.tests +FAIL: tests/indic-joiner-candrabindu.tests +FAIL: tests/indic-old-spec.tests +FAIL: tests/indic-pref-blocking.tests +FAIL: tests/mongolian-variation-selector.tests +FAIL: tests/vertical.tests +FAIL: tests/zero-width-marks.tests +# TOTAL: 14 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# XFAIL: 0 +# FAIL: 14 +# XPASS: 0 +# ERROR: 0