# HG changeset patch # User Niveditha Rau # Date 1465790157 25200 # Node ID 0d62f0d9464e65eef3a37a73bde6b95579d8a67e # Parent 83e434d46fbccf582880fc10de683b618d45f724 23245328 Move libcanberra to Userland and update to 0.30 PSARC/2016/383 libcanberra diff -r 83e434d46fbc -r 0d62f0d9464e components/desktop/libcanberra/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/desktop/libcanberra/Makefile Sun Jun 12 20:55:57 2016 -0700 @@ -0,0 +1,76 @@ +# +# 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 +COMPILER = gcc +include ../../../make-rules/shared-macros.mk + +COMPONENT_NAME= libcanberra +COMPONENT_VERSION= 0.30 +COMPONENT_PROJECT_URL= http://0pointer.de/lennart/projects/libcanberra/ +COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz +COMPONENT_ARCHIVE_HASH= \ + sha256:c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72 +COMPONENT_ARCHIVE_URL= http://0pointer.de/lennart/projects/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) +COMPONENT_BUGDB= gnome/libraries + +TPNO= 24163 + +TEST_TARGET= $(NO_TESTS) + +# Needs updated glib2, 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 falsely believes ld(1) supports --gc-sections because gcc accepts +# the flag. +CONFIGURE_ENV += cc_cv_LDFLAGS__Wl___gc_sections=no + +CONFIGURE_OPTIONS += --enable-gstreamer +# For documentation. +CONFIGURE_OPTIONS += --enable-lynx +CONFIGURE_OPTIONS += --enable-largefile +CONFIGURE_OPTIONS += --enable-oss +CONFIGURE_OPTIONS += --enable-pulse +CONFIGURE_OPTIONS += --enable-gtk +CONFIGURE_OPTIONS += --enable-gtk3 +CONFIGURE_OPTIONS += --with-pic + +REQUIRED_PACKAGES += codec/ogg-vorbis +REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc +REQUIRED_PACKAGES += developer/vala +REQUIRED_PACKAGES += library/audio/pulseaudio +REQUIRED_PACKAGES += library/desktop/gstreamer-1 +REQUIRED_PACKAGES += library/desktop/gtk2 +REQUIRED_PACKAGES += library/desktop/gtk3 +REQUIRED_PACKAGES += library/glib2 +REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime +REQUIRED_PACKAGES += web/browser/lynx +REQUIRED_PACKAGES += x11/library/libx11 diff -r 83e434d46fbc -r 0d62f0d9464e components/desktop/libcanberra/libcanberra.p5m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/desktop/libcanberra/libcanberra.p5m Sun Jun 12 20:55:57 2016 -0700 @@ -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. +# + + \ + default mangler.man.stability "pass-through volatile"> +set name=pkg.fmri \ + value=pkg:/library/desktop/xdg/libcanberra@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary \ + value="Event Sound API Using XDG Sound Theming Specification" +set name=pkg.description \ + value="libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable." +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:System/Multimedia 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/383 +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) +file path=usr/bin/$(MACH64)/canberra-gtk-play +link path=usr/bin/canberra-gtk-play target=$(MACH64)/canberra-gtk-play +file path=usr/include/canberra-gtk.h +file path=usr/include/canberra.h +file path=usr/lib/$(MACH64)/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop +file path=usr/lib/$(MACH64)/gtk-2.0/modules/libcanberra-gtk-module.so +link path=usr/lib/$(MACH64)/gtk-3.0/modules/libcanberra-gtk-module.so \ + target=libcanberra-gtk3-module.so +file path=usr/lib/$(MACH64)/gtk-3.0/modules/libcanberra-gtk3-module.so +file path=usr/lib/$(MACH64)/libcanberra-$(COMPONENT_VERSION)/libcanberra-gstreamer.so +file path=usr/lib/$(MACH64)/libcanberra-$(COMPONENT_VERSION)/libcanberra-multi.so +file path=usr/lib/$(MACH64)/libcanberra-$(COMPONENT_VERSION)/libcanberra-null.so +file path=usr/lib/$(MACH64)/libcanberra-$(COMPONENT_VERSION)/libcanberra-oss.so +file path=usr/lib/$(MACH64)/libcanberra-$(COMPONENT_VERSION)/libcanberra-pulse.so +link path=usr/lib/$(MACH64)/libcanberra-gtk.so target=libcanberra-gtk.so.0.1.9 +link path=usr/lib/$(MACH64)/libcanberra-gtk.so.0 target=libcanberra-gtk.so.0.1.9 +file path=usr/lib/$(MACH64)/libcanberra-gtk.so.0.1.9 +link path=usr/lib/$(MACH64)/libcanberra-gtk3.so target=libcanberra-gtk3.so.0.1.9 +link path=usr/lib/$(MACH64)/libcanberra-gtk3.so.0 \ + target=libcanberra-gtk3.so.0.1.9 +file path=usr/lib/$(MACH64)/libcanberra-gtk3.so.0.1.9 +link path=usr/lib/$(MACH64)/libcanberra.so target=libcanberra.so.0.2.5 +link path=usr/lib/$(MACH64)/libcanberra.so.0 target=libcanberra.so.0.2.5 +file path=usr/lib/$(MACH64)/libcanberra.so.0.2.5 +file path=usr/lib/$(MACH64)/pkgconfig/libcanberra-gtk.pc +file path=usr/lib/$(MACH64)/pkgconfig/libcanberra-gtk3.pc +file path=usr/lib/$(MACH64)/pkgconfig/libcanberra.pc +file path=usr/lib/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop +file path=usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so +link path=usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so \ + target=libcanberra-gtk3-module.so +file path=usr/lib/gtk-3.0/modules/libcanberra-gtk3-module.so +file path=usr/lib/libcanberra-$(COMPONENT_VERSION)/libcanberra-gstreamer.so +file path=usr/lib/libcanberra-$(COMPONENT_VERSION)/libcanberra-multi.so +file path=usr/lib/libcanberra-$(COMPONENT_VERSION)/libcanberra-null.so +file path=usr/lib/libcanberra-$(COMPONENT_VERSION)/libcanberra-oss.so +file path=usr/lib/libcanberra-$(COMPONENT_VERSION)/libcanberra-pulse.so +link path=usr/lib/libcanberra-gtk.so target=libcanberra-gtk.so.0.1.9 +link path=usr/lib/libcanberra-gtk.so.0 target=libcanberra-gtk.so.0.1.9 +file path=usr/lib/libcanberra-gtk.so.0.1.9 +link path=usr/lib/libcanberra-gtk3.so target=libcanberra-gtk3.so.0.1.9 +link path=usr/lib/libcanberra-gtk3.so.0 target=libcanberra-gtk3.so.0.1.9 +file path=usr/lib/libcanberra-gtk3.so.0.1.9 +link path=usr/lib/libcanberra.so target=libcanberra.so.0.2.5 +link path=usr/lib/libcanberra.so.0 target=libcanberra.so.0.2.5 +file path=usr/lib/libcanberra.so.0.2.5 +file path=usr/lib/pkgconfig/libcanberra-gtk.pc +file path=usr/lib/pkgconfig/libcanberra-gtk3.pc +file path=usr/lib/pkgconfig/libcanberra.pc +file path=usr/share/doc/libcanberra/README +file path=usr/share/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop +file path=usr/share/gnome/autostart/libcanberra-login-sound.desktop +file path=usr/share/gnome/shutdown/libcanberra-logout-sound.sh +file path=usr/share/vala/vapi/libcanberra-gtk.vapi +file path=usr/share/vala/vapi/libcanberra.vapi +license LGPL license=LGPLv2.1 diff -r 83e434d46fbc -r 0d62f0d9464e components/desktop/libcanberra/patches/01-glib-deprecated.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/desktop/libcanberra/patches/01-glib-deprecated.patch Sun Jun 12 20:55:57 2016 -0700 @@ -0,0 +1,16 @@ +g_type_init() is deprecated and is no longer necessary after glib >= 2.35. + +XXX file upstream bug + +--- libcanberra-0.30/src/canberra-gtk-play.c 2012-09-24 17:21:07.000000000 -0700 ++++ libcanberra-0.30/src/canberra-gtk-play.c 2015-07-01 21:21:08.275924571 -0700 +@@ -133,7 +133,9 @@ + + setlocale(LC_ALL, ""); + ++#if !GLIB_CHECK_VERSION(2,35,0) + g_type_init(); ++#endif + + ca_proplist_create(&proplist); + diff -r 83e434d46fbc -r 0d62f0d9464e components/meta-packages/incorporation-cache --- a/components/meta-packages/incorporation-cache Sun Jun 12 20:44:00 2016 -0700 +++ b/components/meta-packages/incorporation-cache Sun Jun 12 20:55:57 2016 -0700 @@ -45,7 +45,6 @@ # to the build or replaced by a package rename/obsolete in the history file. # consolidation/desktop/gnome-incorporation:desktop/xdg/xdg-utils@1.0.2-5.12.0.0.0.92.0 -consolidation/desktop/gnome-incorporation:gnome/accessibility/gnome-a11y-libs@2.30.0-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:gnome/config/gconf/gconf-editor@2.30.0-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:gnome/config/gconf@2.31.1-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:gnome/file-manager/nautilus@2.30.1-5.12.0.0.0.92.0 @@ -60,7 +59,6 @@ consolidation/desktop/gnome-incorporation:gnome/theme/gtk3-engines-extra@2.91.1-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:gnome/theme/gtk3-engines@2.91.1-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:gnome/theme/hicolor-icon-theme@0.12-5.12.0.0.0.92.0 -consolidation/desktop/gnome-incorporation:image/gnome-backgrounds@2.30.0-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/audio/gstreamer@0.10.32-5.12.0.0.0.87.0 consolidation/desktop/gnome-incorporation:library/desktop/c++/cairomm@1.8.2-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/desktop/c++/gtkmm@2.20.2-5.12.0.0.0.92.0 @@ -69,8 +67,6 @@ consolidation/desktop/gnome-incorporation:library/desktop/clutter/clutter-gtk@0.10.8-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/desktop/clutter@1.2.14-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/desktop/evolution-data-server@2.30.3-5.12.0.0.0.92.0 -consolidation/desktop/gnome-incorporation:library/desktop/gtk3/gtk-backend-cups@3.4.4-5.12.0.0.0.92.0 -consolidation/desktop/gnome-incorporation:library/desktop/gtk3@3.4.4-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/desktop/gtkhtml@3.30.3-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/desktop/gtksourceview@2.10.5-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/desktop/libchamplain@0.6.0-5.12.0.0.0.92.0 @@ -82,8 +78,6 @@ consolidation/desktop/gnome-incorporation:library/desktop/libxklavier@5.0-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/desktop/search/tracker/tracker-firefox@0.6.95-5.12.0.0.0.70.0 consolidation/desktop/gnome-incorporation:library/desktop/search/tracker@0.6.95-5.12.0.0.0.70.0 -consolidation/desktop/gnome-incorporation:library/desktop/xdg/libcanberra@0.28-5.12.0.0.0.92.0 -consolidation/desktop/gnome-incorporation:library/gmime@2.5.3-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/gnome/base-libs@2.30.0-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/gnome/gnome-component@2.24.3-5.12.0.0.0.92.0 consolidation/desktop/gnome-incorporation:library/gnome/gnome-keyring@2.30.1-5.12.0.0.0.92.0 @@ -147,8 +141,6 @@ consolidation/userland/userland-incorporation:gnome/speech/gnome-speech/driver/gnome-speech-espeak@0.5.11-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:gnome/theme/background/opensolaris-backgrounds-extra@0.5.11-0.175.0.0.0.0.0 consolidation/userland/userland-incorporation:gnome/theme/background/opensolaris-backgrounds@0.5.11-0.175.0.0.0.0.0 -consolidation/userland/userland-incorporation:gnome/theme/background/os-backgrounds-extra@0.10-5.12.0.0.0.92.0 -consolidation/userland/userland-incorporation:gnome/theme/background/os-backgrounds@0.10-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:gnome/theme/blueprint@0.9.20-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:gnome/theme/cursor/dmz-cursor-aa@0.4-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:gnome/theme/cursor/dmz-cursor@0.4-5.12.0.0.0.92.0 @@ -167,7 +159,6 @@ consolidation/userland/userland-incorporation:image/viewer/eog/eog-plugins@2.30.1-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:image/viewer/eog@2.30.2-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:library/accessibility/brltty@4.2-5.12.0.0.0.92.0 -consolidation/userland/userland-incorporation:library/audio/pulseaudio@1.1-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:library/c++/glibmm@2.24.1-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:library/c++/sigcpp@2.2.8-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:library/desktop/gtk-vnc@0.3.10-5.12.0.0.0.92.0 @@ -179,7 +170,6 @@ consolidation/userland/userland-incorporation:library/libproxy/libproxy-gnome@0.3.1-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:library/libproxy/libproxy-mozjs@0.3.1-5.12.0.0.0.67.0 consolidation/userland/userland-incorporation:library/libproxy@0.3.1-5.12.0.0.0.90.0 -consolidation/userland/userland-incorporation:library/libsoup@2.32.0-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:library/libunique@1.1.6-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:library/media-player/totem-pl-parser@2.32.1-5.12.0.0.0.92.0 consolidation/userland/userland-incorporation:library/musicbrainz/libdiscid@0.2.2-5.12.0.0.0.92.0