23245361 Move vte to Userland and update to 0.42.1
authorNiveditha Rau <Niveditha.Rau@Oracle.COM>
Mon, 27 Jun 2016 15:09:18 +0000
changeset 6341 44ad5ceb1432
parent 6340 c1c9fe2d62e4
child 6342 9434fdfca050
23245361 Move vte to Userland and update to 0.42.1 PSARC/2016/408 GNOME 3 Miscellaneous Libraries
components/gnome/vte/Makefile
components/gnome/vte/patches/01-gcc-linking.patch
components/gnome/vte/vte.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/vte/Makefile	Mon Jun 27 15:09:18 2016 +0000
@@ -0,0 +1,87 @@
+#
+# 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=		vte
+COMPONENT_VERSION=	0.42.1
+COMPONENT_PROJECT_URL=  https://wiki.gnome.org/Apps/Terminal/VTE
+COMPONENT_ARCHIVE_HASH= \
+	sha256:9e00e2e9e94f4202b979c871f407a8815890bc0f4a8448a08534f76ab0fc9d34
+COMPONENT_BUGDB=        gnome/terminal
+
+TPNO=			25406
+
+TEST_TARGET = $(NO_TESTS)
+
+# 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
+
+# Assumes GNU xgettext in PATH
+CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
+
+# Force use of gnutls-3 pkgconfig during 2.x->3.x transition
+PKG_CONFIG_PATHS.32 += /usr/lib/pkgconfig/gnutls-3
+PKG_CONFIG_PATHS.64 += /usr/lib/$(MACH64)/pkgconfig/gnutls-3
+PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
+LD_OPTIONS.32 += -L /usr/lib/gnutls-3 -R /usr/lib/gnutls-3
+LD_OPTIONS.64 += -L /usr/lib/$(MACH64)/gnutls-3 -R /usr/lib/$(MACH64)/gnutls-3
+LD_OPTIONS += $(LD_OPTIONS.$(BITS))
+
+CONFIGURE_OPTIONS += --disable-static
+CONFIGURE_OPTIONS += --disable-Bsymbolic
+# Needed to ensure we can log which users use which applications (setuid).
+CONFIGURE_OPTIONS += --enable-gnome-pty-helper
+# Required for other components.
+CONFIGURE_OPTIONS += --enable-introspection
+CONFIGURE_OPTIONS += --enable-shared
+# Required for other components.
+CONFIGURE_OPTIONS += --enable-vala
+
+# Needed due to patch to configure.ac.
+COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
+
+REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
+REQUIRED_PACKAGES += developer/vala
+REQUIRED_PACKAGES += library/desktop/atk
+REQUIRED_PACKAGES += library/desktop/cairo
+REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
+REQUIRED_PACKAGES += library/desktop/gtk3
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/gnutls-3
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/math
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/vte/patches/01-gcc-linking.patch	Mon Jun 27 15:09:18 2016 +0000
@@ -0,0 +1,22 @@
+XXX file upstream bug
+
+--- vte-0.40.2/configure.ac	2015-05-12 05:19:21.000000000 -0700
++++ vte-0.40.2/configure.ac	2015-06-24 12:32:35.681360861 -0700
+@@ -137,6 +137,17 @@
+ CC_CHECK_FLAGS_APPEND([AM_CXXFLAGS],[CXXFLAGS],[compiler_flags_common compiler_flags_only_cxx])
+ AC_LANG_POP([C++])
+ 
++# If these flags are supported for compilation, they must also be used when
++# linking.  To ensure that libtool doesn't strip them out, they're
++# explicitly added to LDFLAGS using -Wc,$OPTION
++if test "$cc_cv_c_CFLAGS__fstack_protector" != "no"; then
++  eval "AM_LDFLAGS='${AM_LDFLAGS} -Wc,-fstack-protector'"
++fi
++
++if test "$cc_cv_c_CFLAGS__fstack_protector_strong" != "no"; then
++  eval "AM_LDFLAGS='${AM_LDFLAGS} -Wc,-fstack-protector-strong'"
++fi
++
+ ##########################################################
+ # Check for -Bsymbolic-functions linker flag used to avoid
+ # intra-library PLT jumps, if available.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/vte/vte.p5m	Mon Jun 27 15:09:18 2016 +0000
@@ -0,0 +1,155 @@
+#
+# 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/gnome/vte3@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary \
+    value="The GNOME virtual terminal emulator widget library for GTK3+"
+set name=com.oracle.info.description value=vte
+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/408
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file path=etc/profile.d/vte.sh
+file path=usr/bin/vte-2.91
+file path=usr/include/vte-2.91/vte/vte.h
+file path=usr/include/vte-2.91/vte/vtedeprecated.h
+file path=usr/include/vte-2.91/vte/vteenums.h
+file path=usr/include/vte-2.91/vte/vteglobals.h
+file path=usr/include/vte-2.91/vte/vtemacros.h
+file path=usr/include/vte-2.91/vte/vtepty.h
+file path=usr/include/vte-2.91/vte/vteterminal.h
+file path=usr/include/vte-2.91/vte/vtetypebuiltins.h
+file path=usr/include/vte-2.91/vte/vteversion.h
+file path=usr/lib/$(MACH64)/girepository-1.0/Vte-2.91.typelib
+link path=usr/lib/$(MACH64)/libvte-2.91.so target=libvte-2.91.so.0.4200.1
+link path=usr/lib/$(MACH64)/libvte-2.91.so.0 target=libvte-2.91.so.0.4200.1
+file path=usr/lib/$(MACH64)/libvte-2.91.so.0.4200.1
+file path=usr/lib/$(MACH64)/pkgconfig/vte-2.91.pc
+file path=usr/lib/girepository-1.0/Vte-2.91.typelib
+link path=usr/lib/libvte-2.91.so target=libvte-2.91.so.0.4200.1
+link path=usr/lib/libvte-2.91.so.0 target=libvte-2.91.so.0.4200.1
+file path=usr/lib/libvte-2.91.so.0.4200.1
+file path=usr/lib/pkgconfig/vte-2.91.pc
+file path=usr/share/gir-1.0/Vte-2.91.gir
+file path=usr/share/locale/am/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ang/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ar/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/as/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ast/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/az/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/be/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/be@latin/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/bg/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/bn/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/bn_IN/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/bs/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ca/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ca@valencia/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/cs/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/cy/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/da/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/de/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/dz/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/el/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/en@shaw/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/en_CA/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/en_GB/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/eo/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/es/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/et/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/eu/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/fa/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/fi/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/fr/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/fur/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ga/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/gd/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/gl/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/gu/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/he/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/hi/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/hr/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/hu/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/id/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/is/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/it/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ja/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ka/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/kk/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/kn/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ko/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ku/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ky/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/li/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/lt/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/lv/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/mai/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/mi/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/mk/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ml/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/mn/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/mr/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ms/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/nb/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/nds/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ne/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/nl/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/nn/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/oc/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/or/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/pa/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/pl/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/pt/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/pt_BR/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ro/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ru/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/rw/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/si/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/sk/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/sl/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/sq/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/sr/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/sr@latin/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/sv/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ta/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/te/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/tg/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/th/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/tr/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/ug/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/uk/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/uz@cyrillic/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/vi/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/wa/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/xh/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/zh_CN/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/zh_HK/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/locale/zh_TW/LC_MESSAGES/vte-2.91.mo
+file path=usr/share/vala/vapi/vte-2.91.vapi
+license COPYING license=LGPLv2.1