#
# 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
# 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) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
#
# SMF service manifests
<transform file path=(var|lib)/svc/manifest/.*\.xml$ -> \
default restart_fmri svc:/system/manifest-import:default>
# Fonts and font configuration
<transform file path=etc/fonts/conf\.(avail|d)/.+ -> \
default restart_fmri svc:/application/font/fc-cache:default>
<transform file path=usr/share/fonts/.+ -> \
default restart_fmri svc:/application/font/fc-cache:default>
# OpenGL selection scripts
<transform file path=lib/opengl/ogl_select/.+ -> \
default restart_fmri svc:/application/opengl/ogl-select:default>
# GNOME/XDG desktop files
<transform file path=usr/share/applications/.*\.desktop$ -> \
default restart_fmri svc:/application/desktop-cache/desktop-mime-cache:default>
# GNOME/XDG icons
<transform file path=usr/share/icons/.*$ -> \
default restart_fmri svc:/application/desktop-cache/icon-cache:default>
# GNOME/XDG mime-types
<transform file path=usr/share/mime/packages/.*\.xml$ -> \
default restart_fmri svc:/application/desktop-cache/mime-types-cache:default>
# GNOME gtk2 Input Method modules
<transform file path=usr/lib.*/gtk-2.*/.*/immodules/.*.so$ -> \
default refresh_fmri svc:/application/desktop-cache/input-method-cache:default>
# GNOME gtk3 Input Method modules
<transform file path=usr/lib.*/gtk-3.*/.*/immodules/.*.so$ -> \
default refresh_fmri svc:/application/desktop-cache/gtk3-input-method-cache:default>
# GNOME gdk-pixbuf image loader modules
<transform file path=usr/lib.*/gdk-pixbuf-.*/.*/loaders/.*.so$ -> \
default restart_fmri svc:/application/desktop-cache/pixbuf-loaders-installer:default>
# GNOME GSettings schemas & overrides
<transform file link hardlink path=usr/share/glib-2\.0/schemas/.* -> \
default restart_fmri svc:/application/desktop-cache/glib-compile-schemas:default>
# GNOME GIO modules
<transform file link hardlink path=usr/lib.*/gio/modules/.*\.so$ -> \
default restart_fmri svc:/application/desktop-cache/gio-module-cache:default>
# D-Bus services
<transform file path=(etc|usr/share)/dbus-1/system(\.d|-services)/.+$ -> \
default refresh_fmri svc:/system/dbus:default>
# RAD
<transform file path=usr/lib/rad/.* -> add restart_fmri \
svc:/system/rad:local>
<transform file path=usr/lib/rad/.* -> add restart_fmri \
svc:/system/rad:remote>
<transform file path=usr/lib/.*libadr.so.1 -> add restart_fmri \
svc:/system/rad:local>
<transform file path=usr/lib/.*libadr.so.1 -> add restart_fmri \
svc:/system/rad:remote>