<?xml version="1.0"?>
<!--
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
to whom the Software is furnished to do so, provided that the above
copyright notice(s) and this permission notice appear in all copies of
the Software and that both the above copyright notice(s) and this
permission notice appear in supporting documentation.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
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.
Except as contained in this notice, the name of a copyright holder
shall not be used in advertising or otherwise to promote the sale, use
or other dealings in this Software without prior written authorization
of the copyright holder.
Service manifest to create input method modules cache used by GTK+
default
-->
<service_bundle type='manifest' name='SUNWdesktop-cache:input-method-cache'>
<service
type='service'
version='1'>
<create_default_instance enabled='true' />
<single_instance />
<dependency
name='usr'
type='service'
grouping='require_all'
restart_on='none'>
<service_fmri value='svc:/system/filesystem/minimal' />
</dependency>
<!-- gtk is linked to cairo which is linked to libGL, so we need
libGL to be resolvable so we don't get file-not-found errors
trying to load libraries in gtk-query-immodules -->
<dependency
name='ogl-select'
type='service'
grouping='require_all'
restart_on='none'>
<service_fmri value='svc:/application/opengl/ogl-select' />
</dependency>
<dependent
name='input_method_cache-assembly-complete'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/milestone/self-assembly-complete' />
</dependent>
<!-- Need to be run before gdm is started -->
<dependent
name='input-method-cache_gdm'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/application/graphical-login/gdm' />
</dependent>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/input-method-cache %m'
timeout_seconds='600'>
<method_context>
<method_credential user='root' group='root' />
</method_context>
</exec_method>
<exec_method
type='method'
name='refresh'
exec='/lib/svc/method/input-method-cache %m'
timeout_seconds='600'>
<method_context>
<method_credential user='root' group='root' />
</method_context>
</exec_method>
<exec_method
type='method'
name='stop'
exec=':true'
timeout_seconds='60' />
<property_group name='startd' type='framework'>
<propval name='duration' type='astring'
value='transient' />
</property_group>
<stability value='Evolving' />
<template>
<common_name>
<loctext xml:lang='C'>Gtk input method cache builder
</loctext>
</common_name>
<documentation>
<manpage
title='gtk-query-immodules-2.0'
section='1'
</documentation>
</template>
</service>
</service_bundle>