components/desktop/desktop-cache/files/pixbuf-loaders-installer.xml
changeset 5889 d78a523a8925
equal deleted inserted replaced
5888:09b82e3ff500 5889:d78a523a8925
       
     1 <?xml version="1.0"?>
       
     2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
       
     3 <!--
       
     4     Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
       
     5 
       
     6     Permission is hereby granted, free of charge, to any person obtaining a
       
     7     copy of this software and associated documentation files (the
       
     8     "Software"), to deal in the Software without restriction, including
       
     9     without limitation the rights to use, copy, modify, merge, publish,
       
    10     distribute, and/or sell copies of the Software, and to permit persons
       
    11     to whom the Software is furnished to do so, provided that the above
       
    12     copyright notice(s) and this permission notice appear in all copies of
       
    13     the Software and that both the above copyright notice(s) and this
       
    14     permission notice appear in supporting documentation.
       
    15 
       
    16     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
       
    17     OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
       
    18     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
       
    19     OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
       
    20     HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
       
    21     INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
       
    22     FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
       
    23     NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
       
    24     WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
       
    25 
       
    26     Except as contained in this notice, the name of a copyright holder
       
    27     shall not be used in advertising or otherwise to promote the sale, use
       
    28     or other dealings in this Software without prior written authorization
       
    29     of the copyright holder.
       
    30 
       
    31     Service manifest to install gdk pixbuf-loaders to be used bu GTK+ by 
       
    32     default
       
    33 -->
       
    34 
       
    35 <service_bundle type='manifest' name='SUNWdesktop-cache:pixbuf-loaders-installer'>
       
    36 
       
    37 <service
       
    38 	name='application/desktop-cache/pixbuf-loaders-installer'
       
    39 	type='service'
       
    40 	version='1'>
       
    41 
       
    42 	<create_default_instance enabled='true' />
       
    43 
       
    44 	<single_instance />
       
    45 
       
    46 	<!-- Need / & /usr filesystems mounted, /var mounted read/write -->
       
    47 	<dependency
       
    48 		name='usr'
       
    49 		type='service'
       
    50 		grouping='require_all'
       
    51 		restart_on='none'>
       
    52 		<service_fmri value='svc:/system/filesystem/minimal' />
       
    53 	</dependency>
       
    54 
       
    55 	<dependent
       
    56                 name='pixbuf_loaders_installer-assembly-complete'
       
    57                 grouping='optional_all'
       
    58                 restart_on='none'>
       
    59                 <service_fmri value='svc:/milestone/self-assembly-complete' />
       
    60         </dependent>
       
    61 
       
    62 	<!-- Need to be run before gdm is started -->
       
    63 	<dependent
       
    64          name='pixbuf-loaders-installer_gdm'
       
    65          grouping='optional_all'
       
    66          restart_on='none'>
       
    67             <service_fmri value='svc:/application/graphical-login/gdm' />
       
    68 	 </dependent>
       
    69 
       
    70 	<exec_method
       
    71 		type='method'
       
    72 		name='start'
       
    73 		exec='/lib/svc/method/pixbuf-loaders-installer %m'
       
    74 		timeout_seconds='600'>
       
    75 		<method_context>
       
    76                         <method_credential user='root' group='root' />
       
    77                 </method_context>
       
    78         </exec_method>
       
    79 
       
    80 	<exec_method
       
    81 		type='method'
       
    82 		name='refresh'
       
    83 		exec='/lib/svc/method/pixbuf-loaders-installer %m'
       
    84 		timeout_seconds='600'>
       
    85 		<method_context>
       
    86                         <method_credential user='root' group='root' />
       
    87                 </method_context>
       
    88         </exec_method>
       
    89 
       
    90 	<exec_method
       
    91 		type='method'
       
    92 		name='stop'
       
    93 		exec=':true'
       
    94 		timeout_seconds='60' />
       
    95 
       
    96 	<property_group name='startd' type='framework'>
       
    97 		<propval name='duration' type='astring'
       
    98 			value='transient' />
       
    99 	</property_group>
       
   100 
       
   101 	<stability value='Evolving' />
       
   102 
       
   103 	<template>
       
   104 		<common_name>
       
   105 			<loctext xml:lang='C'>Gdk pixbuf loader installer
       
   106 				</loctext>
       
   107 		</common_name>
       
   108 
       
   109 		<documentation>
       
   110 			<manpage
       
   111 				title='gdk-pixbuf-query-loaders'
       
   112 				section='1'
       
   113 				manpath='/usr/share/man' />
       
   114 		</documentation>
       
   115 	</template>
       
   116 </service>
       
   117 
       
   118 </service_bundle>