gst-editing-services1: update to 1.24.11
[oi-userland.git] / components / library / fontconfig / files / fc-cache.xml
blob09cb733bfe2a06474448dc7e289cfb81cf7d49f3
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4     Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
6     Permission is hereby granted, free of charge, to any person obtaining a
7     copy of this software and associated documentation files (the "Software"),
8     to deal in the Software without restriction, including without limitation
9     the rights to use, copy, modify, merge, publish, distribute, sublicense,
10     and/or sell copies of the Software, and to permit persons to whom the
11     Software is furnished to do so, subject to the following conditions:
13     The above copyright notice and this permission notice (including the next
14     paragraph) shall be included in all copies or substantial portions of the
15     Software.
17     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
20     THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23     DEALINGS IN THE SOFTWARE.
26     Service manifest for ensuring fontconfig caches are up to date.
27 -->
29 <service_bundle type='manifest' name='SUNWfontconfig-root:fc-cache'>
31 <service
32         name='application/font/fc-cache'
33         type='service'
34         version='1'>
36         <create_default_instance enabled='true' />
38         <single_instance />
40         <!-- Need / & /usr filesystems mounted readable, 
41              /var/cache mounted read/write -->
42         <dependency
43                 name='usr'
44                 type='service'
45                 grouping='require_all'
46                 restart_on='none'>
47                 <service_fmri value='svc:/system/filesystem/minimal' />
48         </dependency>
50         <dependency
51                 name='config-file'
52                 grouping='require_all'
53                 restart_on='refresh'
54                 type='path'>
55                 <service_fmri value='file://localhost/etc/fonts/fonts.conf' />
56         </dependency>
58         <dependency
59                 name='fc-cache'
60                 grouping='require_all'
61                 restart_on='none'
62                 type='path'>
63                 <service_fmri value='file://localhost/usr/bin/fc-cache' />
64         </dependency>
66         <exec_method
67                 type='method'
68                 name='start'
69                 exec='/lib/svc/method/fc-cache %m'
70                 timeout_seconds='3600'>
71                 <method_context>
72                         <method_credential user='root' group='root' />
73                 </method_context>
74         </exec_method>
76         <exec_method
77                 type='method'
78                 name='stop'
79                 exec=':true'
80                 timeout_seconds='60' />
82         <property_group name='startd' type='framework'>
83                 <propval name='duration' type='astring'
84                         value='transient' />
85         </property_group>
87         <property_group name='general' type='framework'>
88                 <!-- manage server state -->
89                 <propval name='action_authorization' type='astring'
90                         value='solaris.smf.manage.font' />
91         </property_group>
93         <property_group name='options' type='application'>
94                 <stability value='Unstable' />
95                 <propval name='force_rebuild' type='boolean'
96                  value='false' />
97         </property_group>
99         <stability value='Evolving' />
101         <template>
102                 <common_name>
103                         <loctext xml:lang='C'>FontConfig Cache Builder
104                                 </loctext>
105                 </common_name>
107                 <documentation>
108                         <manpage
109                                 title='fc-cache'
110                                 section='1M'
111                                 manpath='/usr/share/man' />
112                 </documentation>
113         </template>
114 </service>
116 </service_bundle>