symbian3/mw/dlnasrv/package_definition.xml
branchHighFidelityModel
changeset 45 262790aa488d
parent 30 0f4f00318d20
child 57 6b67dabb20d8
equal deleted inserted replaced
44:0b761d12ae12 45:262790aa488d
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE SystemDefinition [
     2 <!DOCTYPE SystemDefinition [
     3  <!ELEMENT SystemDefinition (systemModel?,SystemBuild?)>
     3 <!ELEMENT SystemDefinition ( systemModel )>
     4  <!ATTLIST SystemDefinition
     4 <!ATTLIST SystemDefinition
     5   name CDATA #REQUIRED
     5   name CDATA #REQUIRED
     6   schema CDATA #REQUIRED>
     6   schema CDATA #REQUIRED
     7  <!ELEMENT systemModel (layer+)>
     7 >
     8  <!ELEMENT layer (block*|collection*)*>
     8 <!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
     9  <!ATTLIST layer
     9 
       
    10 <!-- System Model Section of DTD -->
       
    11 <!ELEMENT systemModel (layer+)>
       
    12 
       
    13 <!ELEMENT layer (block* | collection*)*>
       
    14 <!-- Kernel Services, Base Services, OS Services, Etc -->
       
    15 <!ATTLIST layer
    10   name CDATA #REQUIRED
    16   name CDATA #REQUIRED
    11   long-name CDATA #IMPLIED
    17   long-name CDATA #IMPLIED
    12   levels NMTOKENS #IMPLIED
    18   levels NMTOKENS #IMPLIED
    13   span CDATA #IMPLIED>
    19   span CDATA #IMPLIED
    14  <!ELEMENT block (subblock*|collection*)*>
    20 >
    15  <!ATTLIST block
    21 
       
    22 <!ELEMENT block (subblock* | collection*)*>
       
    23  <!-- Generic OS services, Comms Services, etc -->
       
    24 <!ATTLIST block
    16   levels NMTOKENS #IMPLIED
    25   levels NMTOKENS #IMPLIED
    17   span CDATA #IMPLIED
    26   span CDATA #IMPLIED
    18   level NMTOKEN #IMPLIED
    27   level NMTOKEN #IMPLIED
    19   name CDATA #REQUIRED
    28   name CDATA #REQUIRED
    20   long-name CDATA #IMPLIED>
    29   long-name CDATA #IMPLIED
    21  <!ELEMENT subblock (collection)*>
    30 >
    22  <!ATTLIST subblock
    31 
    23   name CDATA #REQUIRED
    32 <!ELEMENT subblock (collection)*>
    24   long-name CDATA #IMPLIED>
    33 <!-- Cellular Baseband Services, Networking Services, etc -->
    25  <!ELEMENT collection (component)*>
    34 <!ATTLIST subblock
    26  <!ATTLIST collection
    35   name CDATA #REQUIRED
    27   name CDATA #REQUIRED
    36   long-name CDATA #IMPLIED
    28   long-name CDATA #IMPLIED
    37 >
    29   level NMTOKEN #IMPLIED>
    38 
    30  <!ELEMENT component (unit)*>
    39 <!ELEMENT collection (component)*>
    31  <!ATTLIST component
    40 <!-- Screen Driver, Content Handling, etc -->
       
    41 <!ATTLIST collection
       
    42   name CDATA #REQUIRED
       
    43   long-name CDATA #IMPLIED
       
    44   level NMTOKEN #IMPLIED
       
    45 >
       
    46 
       
    47 <!ELEMENT component (unit)*>
       
    48 <!-- contains units or is a  package or prebuilt -->
       
    49 <!ATTLIST component
    32   name CDATA #REQUIRED
    50   name CDATA #REQUIRED
    33   long-name CDATA #IMPLIED
    51   long-name CDATA #IMPLIED
    34   deprecated CDATA #IMPLIED
    52   deprecated CDATA #IMPLIED
    35   introduced CDATA #IMPLIED
    53   introduced CDATA #IMPLIED
    36   contract CDATA #IMPLIED
    54   contract CDATA #IMPLIED
    37   plugin (Y|N) 'N'
    55   plugin (Y|N) "N"
    38   filter CDATA #IMPLIED
    56   filter CDATA #IMPLIED
    39   class NMTOKENS #IMPLIED
    57   class NMTOKENS #IMPLIED
    40   supports CDATA #IMPLIED
    58   supports CDATA #IMPLIED
    41   purpose (optional|mandatory|development) 'optional'>
    59   purpose ( optional | mandatory | development ) "optional"
    42  <!ELEMENT unit EMPTY>
    60 >
    43  <!ATTLIST unit
    61 
       
    62 <!ELEMENT unit EMPTY >
       
    63 <!-- must be buildable (bld.inf) -->
       
    64 <!-- bldFile  may someday be removed in favour of mrp -->
       
    65 <!ATTLIST unit
    44   mrp CDATA #IMPLIED
    66   mrp CDATA #IMPLIED
    45   filter CDATA #IMPLIED
    67   filter CDATA #IMPLIED
    46   bldFile CDATA #IMPLIED
    68   bldFile CDATA #IMPLIED
    47   root CDATA #IMPLIED
    69   root CDATA #IMPLIED
    48   version NMTOKEN #IMPLIED
    70   version NMTOKEN #IMPLIED
    49   prebuilt NMTOKEN #IMPLIED
    71   prebuilt NMTOKEN #IMPLIED
    50   late (Y|N) #IMPLIED
    72   late (Y|N) #IMPLIED
    51   priority CDATA #IMPLIED>
    73   priority CDATA #IMPLIED
    52  <!ELEMENT SystemBuild (option*|target+|targetList+|list+|configuration+)*>
    74 >
    53  <!ATTLIST SystemBuild schema CDATA #REQUIRED>
       
    54  <!ELEMENT list (ref+)>
       
    55  <!ATTLIST list
       
    56   name ID #REQUIRED
       
    57   description CDATA #REQUIRED>
       
    58  <!ELEMENT ref EMPTY>
       
    59  <!ATTLIST ref item CDATA #REQUIRED>
       
    60  <!ELEMENT targetList EMPTY>
       
    61  <!ATTLIST targetList
       
    62   name ID #REQUIRED
       
    63   description CDATA #REQUIRED
       
    64   target IDREFS #REQUIRED>
       
    65  <!ELEMENT target EMPTY>
       
    66  <!ATTLIST target
       
    67   name ID #REQUIRED
       
    68   abldTarget CDATA #REQUIRED
       
    69   description CDATA #REQUIRED>
       
    70  <!ELEMENT option EMPTY>
       
    71  <!ATTLIST option
       
    72   name ID #REQUIRED
       
    73   abldOption CDATA #REQUIRED
       
    74   description CDATA #REQUIRED
       
    75   enable (Y|N) #REQUIRED>
       
    76  <!ELEMENT configuration (listRef+|ref+|task+)*>
       
    77  <!ATTLIST configuration
       
    78   name ID #REQUIRED
       
    79   description CDATA #REQUIRED
       
    80   filter CDATA #REQUIRED>
       
    81  <!ELEMENT task (listRef*,(buildLayer|specialInstructions))>
       
    82  <!ELEMENT listRef EMPTY>
       
    83  <!ATTLIST listRef list CDATA #REQUIRED>
       
    84  <!ELEMENT buildLayer EMPTY>
       
    85  <!ATTLIST buildLayer
       
    86   command CDATA #REQUIRED
       
    87   targetList IDREFS #IMPLIED
       
    88   unitParallel (Y|N) #REQUIRED
       
    89   targetParallel (Y|N) 'N'>
       
    90  <!ELEMENT specialInstructions EMPTY>
       
    91  <!ATTLIST specialInstructions
       
    92   name CDATA #REQUIRED
       
    93   cwd CDATA #REQUIRED
       
    94   root CDATA #IMPLIED
       
    95   command CDATA #REQUIRED>
       
    96 ]>
    75 ]>
    97 <SystemDefinition schema="2.0.1" name="Symbian^3">
    76 <SystemDefinition name="Symbian^3" schema="2.0.1">
    98 <systemModel>
    77   <systemModel>
    99 <layer name="mw">
    78     <layer name="mw" long-name="Middleware" levels="generic specific">
   100 <block name="dlnasrv">
    79       <block name="dlnasrv" level="specific" long-name="DLNA Services" levels="stack server ctrl framework plugin">
   101 <collection name="s60">
    80         <collection name="upnpavcontrolpoint" long-name="UPnP A/V Control Point" level="plugin">
   102 <component name="homemedia">
    81           <component name="avcontrolframework" filter="s60" long-name="A/V Control Famework" introduced="9.1" deprecated="^3">
   103 <unit bldFile="/sf/mw/dlnasrv/homemedia/group" mrp=""/>
    82             <unit bldFile="/sf/mw/dlnasrv/upnpavcontrolpoint/avcontrolframework/group"/>
   104 </component>
    83           </component>
   105 <component name="homesync">
    84           <component name="upnpavcontrolpoint_build" filter="s60" long-name="UPnP A/V Control Point Build" introduced="9.1" deprecated="^3">
   106 <unit bldFile="/sf/mw/dlnasrv/homesync/group" mrp=""/>
    85             <!-- put exports in other component instead -->
   107 </component>
    86             <unit bldFile="/sf/mw/dlnasrv/upnpavcontrolpoint/group"/>
   108 <component name="upnpavcontrolpoint">
    87           </component>
   109 <unit bldFile="/sf/mw/dlnasrv/upnpavcontrolpoint/group" mrp=""/>
    88         </collection>
   110 </component>
    89         <collection name="upnpmediaserver" long-name="UPnP Media Server" level="server">
   111 <component name="upnpframework">
    90           <component name="avobjects" filter="s60" long-name="A/V Objects">
   112 <unit bldFile="/sf/mw/dlnasrv/upnpframework/group" mrp=""/>
    91             <unit bldFile="/sf/mw/dlnasrv/upnpmediaserver/avobjects/group"/>
   113 </component>
    92           </component>
   114 <component name="upnpharvester">
    93           <component name="mediaserverclient" filter="s60" long-name="Media Server Client">
   115 <unit bldFile="/sf/mw/dlnasrv/upnpharvester/group" mrp=""/>
    94             <unit bldFile="/sf/mw/dlnasrv/upnpmediaserver/mediaserverclient/group"/>
   116 </component>
    95           </component>
   117 <component name="upnpmediaserver">
    96           <component name="connectionmanagerservice" filter="s60" long-name="Connection Manager Service">
   118 <unit bldFile="/sf/mw/dlnasrv/upnpmediaserver/group" mrp=""/>
    97             <unit bldFile="/sf/mw/dlnasrv/upnpmediaserver/connectionmanagerservice/group"/>
   119 </component>
    98           </component>
   120 <component name="upnpavcontroller">
    99           <component name="contentdirectoryservice" filter="s60" long-name="Content Directory Service">
   121 <unit bldFile="/sf/mw/dlnasrv/upnpavcontroller/group" mrp=""/>
   100             <unit bldFile="/sf/mw/dlnasrv/upnpmediaserver/contentdirectoryservice/group"/>
   122 </component>
   101           </component>
   123 <component name="upnpsharing">
   102           <component name="mediaserverengine" filter="s60" long-name="Media Server Engine">
   124 <unit bldFile="/sf/mw/dlnasrv/upnpsharing/group" mrp=""/>
   103             <unit bldFile="/sf/mw/dlnasrv/upnpmediaserver/mediaserverengine/group"/>
   125 </component>
   104           </component>
   126 <component name="upnpsettings">
   105           <component name="upnpmediaserver_build" filter="s60" long-name="UPnP Media Server Build">
   127 <unit bldFile="/sf/mw/dlnasrv/upnpsettings/group" mrp=""/>
   106             <!-- move exports into one of above components -->
   128 </component>
   107             <unit bldFile="/sf/mw/dlnasrv/upnpmediaserver/group"/>
   129 <component name="upnpmpxplugins">
   108           </component>
   130 <unit bldFile="/sf/mw/dlnasrv/upnpmpxplugins/group" mrp=""/>
   109         </collection>
   131 </component>
   110         <collection name="upnpavcontroller" long-name="UPnP A/V Controller" level="ctrl">
   132 <component name="dlnasrv_plat">
   111           <component name="upnpxmlparser" filter="s60" long-name="UPnP XML Parser" introduced="^2">
   133 <unit bldFile="/sf/mw/dlnasrv/dlnasrv_plat/group" mrp=""/>
   112             <unit bldFile="/sf/mw/dlnasrv/upnpavcontroller/upnpxmlparser/group"/>
   134 </component>
   113           </component>
   135 </collection>
   114           <component name="upnpavcontrollerserver" filter="s60" long-name="UPnP A/V Controller Server" introduced="^2">
   136 </block>
   115             <unit bldFile="/sf/mw/dlnasrv/upnpavcontroller/upnpavcontrollerserver/group"/>
   137 </layer>
   116           </component>
   138 </systemModel>
   117           <component name="upnpavcontrollerclient" filter="s60" long-name="UPnP A/V Ccontroller Client" introduced="^2">
       
   118             <unit bldFile="/sf/mw/dlnasrv/upnpavcontroller/upnpavcontrollerclient/group"/>
       
   119           </component>
       
   120           <component name="upnpavcontrollerhelper" filter="s60" long-name="UPnP A/V Controller Helper" introduced="^2">
       
   121             <unit bldFile="/sf/mw/dlnasrv/upnpavcontroller/upnpavcontrollerhelper/group"/>
       
   122           </component>
       
   123           <component name="upnpavcontroller_build" filter="s60" long-name="UPnP A/V Controller Build" introduced="^2">
       
   124             <!-- move exports content into one of above components -->
       
   125             <unit bldFile="/sf/mw/dlnasrv/upnpavcontroller/group"/>
       
   126           </component>
       
   127         </collection>
       
   128         <collection name="upnpframework" long-name="UPnP Framework" level="framework">
       
   129           <component name="upnputilities" filter="s60" long-name="UPnP Utilities" introduced="^2">
       
   130             <unit bldFile="/sf/mw/dlnasrv/upnpframework/upnputilities/group"/>
       
   131           </component>
       
   132           <component name="upnpextensionpluginif" filter="s60" long-name="UPnP Home Media Extension Plugin Interface" introduced="^2" deprecated="^3">
       
   133             <unit bldFile="/sf/mw/dlnasrv/upnpframework/upnpextensionpluginif/group"/>
       
   134           </component>
       
   135           <component name="upnpfiletransferengine" filter="s60" long-name="UPnP File Transfer Engine" introduced="^2" deprecated="^3">
       
   136             <unit bldFile="/sf/mw/dlnasrv/upnpframework/upnpfiletransferengine/group"/>
       
   137           </component>
       
   138           <component name="upnpcommonui" filter="s60" long-name="UPnP Common UI" introduced="^2" deprecated="^3">
       
   139             <unit bldFile="/sf/mw/dlnasrv/upnpframework/upnpcommonui/group"/>
       
   140           </component>
       
   141           <component name="upnpaiwengine" filter="s60" long-name="UPnP AIW Engine" introduced="^2" deprecated="^3">
       
   142             <unit bldFile="/sf/mw/dlnasrv/upnpframework/upnpaiwengine/group"/>
       
   143           </component>
       
   144           <component name="upnpaiwprovider" filter="s60" long-name="UPnP AIW Provider" introduced="^2" deprecated="^3" plugin="Y">
       
   145             <unit bldFile="/sf/mw/dlnasrv/upnpframework/upnpaiwprovider/group"/>
       
   146           </component>
       
   147           <component name="upnpmusicadapter" filter="s60" long-name="UPnP Music Adapter" introduced="^2">
       
   148             <unit bldFile="/sf/mw/dlnasrv/upnpframework/upnpmusicadapter/group"/>
       
   149           </component>
       
   150           <component name="upnpcommand" filter="s60" long-name="UPnP Command" introduced="^2">
       
   151             <unit bldFile="/sf/mw/dlnasrv/upnpframework/upnpcommand/group"/>
       
   152           </component>
       
   153           <component name="upnpframework_build" filter="s60" long-name="UPnP Framework Build" introduced="^2">
       
   154             <!-- move exports content into one of above components -->
       
   155             <unit bldFile="/sf/mw/dlnasrv/upnpframework/group"/>
       
   156           </component>
       
   157         </collection>
       
   158         <collection name="upnpsettings" long-name="UPnP Settings" level="framework">
       
   159           <component name="upnpsettingsengine" filter="s60" long-name="UPnP Settings Engine" introduced="^2">
       
   160             <unit bldFile="/sf/mw/dlnasrv/upnpsettings/upnpsettingsengine/group"/>
       
   161           </component>
       
   162           <component name="multiselectionui" filter="s60" long-name="Multi-Selection UI" introduced="^2" deprecated="^3">
       
   163             <unit bldFile="/sf/mw/dlnasrv/upnpsettings/multiselectionui/group"/>
       
   164           </component>
       
   165           <component name="appwizard" filter="s60" long-name="UPnP Settings Wizard App" introduced="^2" deprecated="^3">
       
   166             <unit bldFile="/sf/mw/dlnasrv/upnpsettings/appwizard/group"/>
       
   167           </component>
       
   168           <component name="upnpsharingui" filter="s60" long-name="UPnP Sharing UI" introduced="^2" deprecated="^3">
       
   169             <unit bldFile="/sf/mw/dlnasrv/upnpsettings/upnpsharingui/group"/>
       
   170           </component>
       
   171           <component name="upnpgsplugin" filter="s60" long-name="UPnP GS Plugin" introduced="^2" plugin="Y">
       
   172             <unit bldFile="/sf/mw/dlnasrv/upnpsettings/upnpgsplugin/group"/>
       
   173           </component>
       
   174           <component name="upnpsettings_build" filter="s60" long-name="UPnP Settings Build" introduced="^2">
       
   175             <!-- move exports content into one of above components -->
       
   176             <unit bldFile="/sf/mw/dlnasrv/upnpsettings/group"/>
       
   177           </component>
       
   178         </collection>
       
   179         <collection name="upnpsharing" long-name="UPnP Sharing" level="server">
       
   180           <component name="upnpdlnaprofiler" filter="s60" long-name="UPnP DLNA Profiler" introduced="^2">
       
   181             <unit bldFile="/sf/mw/dlnasrv/upnpsharing/upnpdlnaprofiler/group"/>
       
   182           </component>
       
   183           <component name="upnpsecurity" filter="s60" long-name="UPnP Security" introduced="^2">
       
   184             <unit bldFile="/sf/mw/dlnasrv/upnpsharing/upnpsecurity/group"/>
       
   185           </component>
       
   186           <component name="upnpcontentserver" filter="s60" long-name="UPnP Content Server" introduced="^2">
       
   187             <unit bldFile="/sf/mw/dlnasrv/upnpsharing/upnpcontentserver/group"/>
       
   188           </component>
       
   189           <component name="applicationengine" filter="s60" long-name="UPnP Application Engine" introduced="^2">
       
   190             <unit bldFile="/sf/mw/dlnasrv/upnpsharing/applicationengine/group"/>
       
   191           </component>
       
   192           <component name="upnpsharing_build" filter="s60" long-name="UPnP Sharing Build" introduced="^2">
       
   193             <!-- move exports content into one of above components -->
       
   194             <unit bldFile="/sf/mw/dlnasrv/upnpsharing/group"/>
       
   195           </component>
       
   196         </collection>
       
   197         <collection name="upnpmpxplugins" long-name="UPnP MPX Plugins" level="plugin">
       
   198           <component name="upnpplaybackplugins" filter="s60" long-name="UPnP Playback Plugins" introduced="^2" plugin="Y">
       
   199             <unit bldFile="/sf/mw/dlnasrv/upnpmpxplugins/upnpplaybackplugins/group"/>
       
   200           </component>
       
   201           <component name="upnpmpxplugins_build" filter="s60" long-name="UPnP MPX Plugins Build" introduced="^2">
       
   202             <!-- move exports content into other component? -->
       
   203             <unit bldFile="/sf/mw/dlnasrv/upnpmpxplugins/group"/>
       
   204           </component>
       
   205         </collection>
       
   206         <collection name="upnpharvester" long-name="UPnP Harvester" level="ctrl">
       
   207           <component name="upnpharvester_common" filter="s60" long-name="UPnP Harvester Common" introduced="^2" deprecated="^3">
       
   208             <!-- need to merge or #include these to a single bld.inf -->
       
   209             <unit bldFile="/sf/mw/dlnasrv/upnpharvester/common/cmlibrary/group"/>
       
   210             <unit bldFile="/sf/mw/dlnasrv/upnpharvester/common/cmsettings/group"/>
       
   211             <unit bldFile="/sf/mw/dlnasrv/upnpharvester/common/cmsqlwrapper/group"/>
       
   212             <unit bldFile="/sf/mw/dlnasrv/upnpharvester/common/dbmanager/group"/>
       
   213           </component>
       
   214           <component name="cdssync" filter="s60" long-name="CDS Sync" introduced="^2" deprecated="^3">
       
   215             <unit bldFile="/sf/mw/dlnasrv/upnpharvester/cdssync/common"/>
       
   216           </component>
       
   217           <component name="mdhserver" filter="s60" long-name="Metadata Harvester Server" introduced="^2" deprecated="^3">
       
   218             <unit bldFile="/sf/mw/dlnasrv/upnpharvester/mdhserver/group"/>
       
   219           </component>
       
   220           <component name="upnpharvester_build" filter="s60" long-name="UPnP Harvester Build" introduced="^2" deprecated="^3">
       
   221             <!-- could just make the whole collection one component and move down a dir. Or move the exports here into the other component -->
       
   222             <unit bldFile="/sf/mw/dlnasrv/upnpharvester/group"/>
       
   223           </component>
       
   224         </collection>
       
   225         <collection name="homesync" long-name="Home Sync" level="plugin">
       
   226           <component name="contentmanager" filter="s60" long-name="Content Manager" introduced="^2" deprecated="^3">
       
   227             <unit bldFile="/sf/mw/dlnasrv/homesync/group"/>
       
   228             <!-- move bld.inf into contentmanager dir -->
       
   229           </component>
       
   230         </collection>
       
   231         <collection name="homemedia" long-name="Home Media" level="framework">
       
   232           <!-- collection is really just a component. Move down a directory -->
       
   233           <component name="homemedia_build" filter="s60" long-name="Home Media" introduced="^2" deprecated="^3">
       
   234             <unit bldFile="/sf/mw/dlnasrv/homemedia/group"/>
       
   235           </component>
       
   236         </collection>
       
   237         <collection name="dlnasrv_info" long-name="DLNA Services Info" level="plugin">
       
   238           <component name="dlnasrv_plat" filter="s60" long-name="DLNA Services Platform Interfaces" class="api">
       
   239             <unit bldFile="/sf/mw/dlnasrv/dlnasrv_plat/group"/>
       
   240           </component>
       
   241           <component name="dlnasrv_build" filter="s60" long-name="DLNA Services Build">
       
   242             <!-- need to #include upnpplatformvar.hrh from each #included bld.inf, then this can be removed  -->
       
   243             <unit bldFile="/sf/mw/dlnasrv/group"/>
       
   244           </component>
       
   245           <component name="dlnasrv_api_test" filter="s60,api_test" long-name="DLNA Services API Tests" purpose="development">
       
   246             <unit bldFile="/sf/mw/dlnasrv/tsrc/group"/>
       
   247           </component>
       
   248         </collection>
       
   249       </block>
       
   250     </layer>
       
   251   </systemModel>
   139 </SystemDefinition>
   252 </SystemDefinition>