symbian4/os/textandloc/package_definition.xml
branchHighFidelityModel
changeset 246 f99f9ea9b39f
parent 217 fcee787f22fe
child 316 079a06b9ec58
--- a/symbian4/os/textandloc/package_definition.xml	Wed May 26 17:18:20 2010 +0100
+++ b/symbian4/os/textandloc/package_definition.xml	Wed May 26 17:30:43 2010 +0100
@@ -1,179 +1,105 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE SystemDefinition [
-<!ELEMENT SystemDefinition ( systemModel )>
-<!ATTLIST SystemDefinition
-  name CDATA #REQUIRED
-  schema CDATA #REQUIRED
->
-<!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
-
-<!-- System Model Section of DTD -->
-<!ELEMENT systemModel (layer+)>
-
-<!ELEMENT layer (block* | collection*)*>
-<!-- Kernel Services, Base Services, OS Services, Etc -->
-<!ATTLIST layer
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  levels NMTOKENS #IMPLIED
-  span CDATA #IMPLIED
->
-
-<!ELEMENT block (subblock* | collection*)*>
- <!-- Generic OS services, Comms Services, etc -->
-<!ATTLIST block
-  levels NMTOKENS #IMPLIED
-  span CDATA #IMPLIED
-  level NMTOKEN #IMPLIED
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
->
-
-<!ELEMENT subblock (collection)*>
-<!-- Cellular Baseband Services, Networking Services, etc -->
-<!ATTLIST subblock
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
->
-
-<!ELEMENT collection (component)*>
-<!-- Screen Driver, Content Handling, etc -->
-<!ATTLIST collection
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  level NMTOKEN #IMPLIED
->
-
-<!ELEMENT component (unit)*>
-<!-- contains units or is a  package or prebuilt -->
-<!ATTLIST component
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  deprecated CDATA #IMPLIED
-  introduced CDATA #IMPLIED
-  contract CDATA #IMPLIED
-  plugin (Y|N) "N"
-  filter CDATA #IMPLIED
-  class NMTOKENS #IMPLIED
-  supports CDATA #IMPLIED
-  purpose ( optional | mandatory | development ) "optional"
->
-
-<!ELEMENT unit EMPTY >
-<!-- must be buildable (bld.inf) -->
-<!-- bldFile  may someday be removed in favour of mrp -->
-<!ATTLIST unit
-  mrp CDATA #IMPLIED
-  filter CDATA #IMPLIED
-  bldFile CDATA #IMPLIED
-  root CDATA #IMPLIED
-  version NMTOKEN #IMPLIED
-  prebuilt NMTOKEN #IMPLIED
-  late (Y|N) #IMPLIED
-  priority CDATA #IMPLIED
->
-]>
-<SystemDefinition name="Symbian^4" schema="2.0.1">
-  <systemModel>
-    <layer name="os" long-name="OS" levels="hw services">
-      <block name="textandloc" level="services" long-name="Text and Localisation Services" levels="encoding util fonts tools text">
-        <collection name="textandloc_plat" long-name="Text and Localisation Platform Interfaces" level="text">
-          <component name="findutil_api" long-name="Find Util API" filter="s60" class="api">
-            <unit bldFile="/sf/os/textandloc/textandloc_plat/findutil_api/group"/>
-          </component>
-          <component name="japanese_language_utilities_api" long-name="Japanese Language Utilities API" filter="s60" class="api">
-            <unit bldFile="/sf/os/textandloc/textandloc_plat/japanese_language_utilities_api/group"/>
-          </component>
-          <component name="sortutil_api" long-name="Sort Util API" filter="s60" class="api">
-            <unit bldFile="/sf/os/textandloc/textandloc_plat/sortutil_api/group"/>
-          </component>
-        </collection>
-        <collection name="textandloc_pub" long-name="Text and Localisation Public Interfaces" level="text">
-          <component name="directory_localizer_api" long-name="Directory Localizer API" filter="s60" class="api">
-            <unit bldFile="/sf/os/textandloc/textandloc_pub/directory_localizer_api/group"/>
-          </component>
-        </collection>
-        <collection name="charconvfw" long-name="Character Conversion" level="encoding">
-          <component name="charconv_fw" long-name="Character Encoding and Conversion Framework" purpose="optional">
-            <unit bldFile="/sf/os/textandloc/charconvfw/charconv_fw/group" mrp="/sf/os/textandloc/charconvfw/charconv_fw/group/syslibs_charconv.mrp"/>
-          </component>
-          <component name="charconvplugins" long-name="Character Encoding and Conversion Plugins" purpose="optional" plugin="Y">
-            <unit bldFile="/sf/os/textandloc/charconvfw/charconvplugins/group" mrp="/sf/os/textandloc/charconvfw/charconvplugins/group/syslibs_charconv_plugins.mrp"/>
-          </component>
-          <component name="fatfilenameconversionplugins" long-name="FAT Filename Conversion Plugins" introduced="9.1" purpose="optional" plugin="Y">
-            <unit bldFile="/sf/os/textandloc/charconvfw/fatfilenameconversionplugins/group" mrp="/sf/os/textandloc/charconvfw/fatfilenameconversionplugins/group/syslibs_FATCharsetConv.mrp"/>
-          </component>
-        </collection>
-        <collection name="fontandtxtsrv" long-name="Font and Text Services" level="fonts">
-          <component name="iculayoutengine" long-name="ICU Layout Engine" introduced="9.2" purpose="optional" deprecated="^4" plugin="Y">
-            <unit bldFile="/sf/os/textandloc/fontservices/textshaperplugin/group" mrp="/sf/os/textandloc/fontservices/textshaperplugin/group/graphics_iculayoutengine.mrp"/>
-          </component>
-          <component name="fontstore" long-name="Font Store" purpose="mandatory">
-            <unit bldFile="/sf/os/textandloc/fontservices/fontstore/group" mrp="/sf/os/textandloc/fontservices/fontstore/group/graphics_fntstore.mrp"/>
-          </component>
-          <component name="textbase" long-name="Text Base" purpose="mandatory" class="placeholder">
-            <!-- placeholder for text code from GDI -->
-          </component>
-          <component name="freetypefontrasteriser" long-name="FreeType Font Rasteriser" purpose="optional" plugin="Y">
-            <unit bldFile="/sf/os/textandloc/fontservices/freetypefontrasteriser/group" mrp="/sf/os/textandloc/fontservices/freetypefontrasteriser/group/graphics_freetype.mrp"/>
-          </component>
-          <component name="referencefonts" long-name="Reference Fonts" introduced="6.0" purpose="optional">
-            <unit bldFile="/sf/os/textandloc/fontservices/referencefonts/group" mrp="/sf/os/textandloc/fontservices/referencefonts/group/graphics_fonts.mrp"/>
-          </component>
-        </collection>
-        <collection name="textlayout" long-name="Text Layout" level="text">
-          <component name="texthandling" long-name="Text Handling" purpose="optional">
-            <unit bldFile="/sf/os/textandloc/textrendering/texthandling/group" mrp="/sf/os/textandloc/textrendering/texthandling/group/app-framework_etext.mrp"/>
-          </component>
-          <component name="textformatting" long-name="Text Formatting" purpose="optional">
-            <unit bldFile="/sf/os/textandloc/textrendering/textformatting/group" mrp="/sf/os/textandloc/textrendering/textformatting/group/app-framework_form.mrp"/>
-          </component>
-          <component name="word" long-name="Word" purpose="development" filter="test">
-            <unit mrp="/sf/os/textandloc/textrendering/word/group/app-framework_word.mrp" bldFile="/sf/os/textandloc/textrendering/word/group"/>
-          </component>
-        </collection>
-        <collection name="textandlocutils" long-name="Text and Localisation Utils" level="util">
-          <component name="numbergrouping" long-name="Number Grouping">
-            <unit bldFile="/sf/os/textandloc/charconvfw/numbergrouping/group"/>
-          </component>
-          <component name="jplangutil" long-name="Japanese Language Utilities">
-            <unit bldFile="/sf/os/textandloc/charconvfw/jplangutil/group"/>
-          </component>
-          <component name="sortutil" long-name="Sorting Utility">
-            <unit bldFile="/sf/os/textandloc/charconvfw/sortutil/group"/>
-          </component>
-          <component name="inlinetext" long-name="Inline Text">
-            <unit bldFile="/sf/os/textandloc/charconvfw/inlinetext/group"/>
-          </component>
-          <component name="nearestlangutil" long-name="Nearest Language Util" introduced="^2" purpose="mandatory" class="placeholder">
-            <!-- placeholder for split from bafl -->
-          </component>
-          <component name="numberformatting" long-name="Number Formatting" introduced="7.0s" purpose="optional">
-            <unit bldFile="/sf/os/textandloc/textrendering/numberformatting/group" mrp="/sf/os/textandloc/textrendering/numberformatting/group/app-framework_numberconversion.mrp"/>
-          </component>
-        </collection>
-        <collection name="localesupport" long-name="Locale Support" level="util">
-          <component name="reflocales" long-name="Reference Locales" purpose="optional" plugin="Y">
-            <unit bldFile="/sf/os/textandloc/localisation/localesupport" mrp="/sf/os/textandloc/localisation/localesupport/mmpfiles/base_loce32.mrp"/>
-          </component>
-          <component name="initlocale" long-name="Initialise Locale" introduced="^2" purpose="mandatory" class="placeholder">
-            <!-- placeholder for split from bafl -->
-          </component>
-        </collection>
-        <collection name="textandloctools" long-name="Text and Localisation Tools" level="tools">
-          <component name="fontcompiler" long-name="Font Compiler" purpose="development" class="placeholder PC">
-            <!-- placeholder for split from GDI Tools -->
-          </component>
-          <component name="bitmapfonttools" long-name="Bitmap Font Tools" purpose="development" class="PC">
-            <unit bldFile="/sf/os/graphics/graphicstools/bitmapfonttools/group" mrp="/sf/os/graphics/graphicstools/bitmapfonttools/group/graphics_gdtran.mrp"/>
-          </component>
-        </collection>
-        <collection name="textandloc_info" long-name="Text and Localisation Info" level="text">
-          <component name="textandloc_metadata" long-name="Text and Localisation Metadata" introduced="^2" purpose="development" class="config PC">
-            <unit mrp="/sf/os/textandloc/textandloc_info/textandloc_metadata/textandloc_metadata.mrp"/>
-          </component>
-        </collection>
-      </block>
-    </layer>
-  </systemModel>
+<SystemDefinition schema="3.0.0">
+  <package id="textandloc" name="Text and Localisation Services" levels="encoding util fonts tools text">
+    <collection id="textandloc_plat" name="Text and Localisation Platform Interfaces" level="text">
+     <component id="findutil_api" class="api" name="Find Util API" filter="s60">
+      <meta rel="Api" href="textandloc_plat/findutil_api/findutil_api.metaxml"/>
+      <unit bldFile="textandloc_plat/findutil_api/group"/>
+     </component>
+     <component id="japanese_language_utilities_api" class="api" name="Japanese Language Utilities API" filter="s60">
+      <meta rel="Api" href="textandloc_plat/japanese_language_utilities_api/japanese_language_utilities_api.metaxml"/>
+      <unit bldFile="textandloc_plat/japanese_language_utilities_api/group"/>
+     </component>
+     <component id="sortutil_api" class="api" name="Sort Util API" filter="s60">
+      <meta rel="Api" href="textandloc_plat/sortutil_api/sortutil_api.metaxml"/>
+      <unit bldFile="textandloc_plat/sortutil_api/group"/>
+     </component>
+    </collection>
+    <collection id="textandloc_pub" name="Text and Localisation Public Interfaces" level="text">
+     <component id="directory_localizer_api" class="api" name="Directory Localizer API" filter="s60">
+      <meta rel="Api" href="textandloc_pub/directory_localizer_api/directory_localizer_api.metaxml"/>
+      <unit bldFile="textandloc_pub/directory_localizer_api/group"/>
+     </component>
+    </collection>
+    <collection id="charconvfw" name="Character Conversion" level="encoding">
+      <component id="charconv_fw" name="Character Encoding and Conversion Framework" purpose="optional">
+        <unit bldFile="charconvfw/charconv_fw/group" mrp="charconvfw/charconv_fw/group/syslibs_charconv.mrp"/>
+      </component>
+      <component id="charconvplugins" name="Character Encoding and Conversion Plugins" purpose="optional" class="plugin">
+        <unit bldFile="charconvfw/charconvplugins/group" mrp="charconvfw/charconvplugins/group/syslibs_charconv_plugins.mrp"/>
+      </component>
+      <component id="fatfilenameconversionplugins" name="FAT Filename Conversion Plugins" introduced="9.1" purpose="optional" class="plugin">
+        <unit bldFile="charconvfw/fatfilenameconversionplugins/group" mrp="charconvfw/fatfilenameconversionplugins/group/syslibs_FATCharsetConv.mrp"/>
+      </component>      
+    </collection>
+    <collection id="fontandtxtsrv" name="Font and Text Services" level="fonts">
+      <component id="iculayoutengine" name="ICU Layout Engine" introduced="9.2" purpose="optional" class="plugin" deprecated="^4">
+        <unit bldFile="fontservices/textshaperplugin/group" mrp="fontservices/textshaperplugin/group/graphics_iculayoutengine.mrp"/>
+      </component>
+      <component id="fontstore" name="Font Store" purpose="mandatory">
+        <unit bldFile="fontservices/fontstore/group" mrp="fontservices/fontstore/group/graphics_fntstore.mrp"/>
+      </component>
+     <component id="textbase" name="Text Base" purpose="mandatory">
+     	<!-- placeholder for text code from GDI -->
+     </component>      
+      <component id="freetypefontrasteriser" name="FreeType Font Rasteriser" purpose="optional" class="plugin">
+        <unit bldFile="fontservices/freetypefontrasteriser/group" mrp="fontservices/freetypefontrasteriser/group/graphics_freetype.mrp"/>
+      </component>
+      <component id="referencefonts" name="Reference Fonts" introduced="6.0" purpose="optional">
+        <unit bldFile="fontservices/referencefonts/group" mrp="fontservices/referencefonts/group/graphics_fonts.mrp"/>
+      </component>
+    </collection>
+    <collection id="textlayout" name="Text Layout" level="text">
+      <component id="texthandling" name="Text Handling" purpose="optional">
+        <unit bldFile="textrendering/texthandling/group" mrp="textrendering/texthandling/group/app-framework_etext.mrp"/>
+      </component>
+      <component id="textformatting" name="Text Formatting" purpose="optional">
+        <unit bldFile="textrendering/textformatting/group" mrp="textrendering/textformatting/group/app-framework_form.mrp"/>
+      </component>
+      <component id="word" name="Word" purpose="development" filter="test">
+        <unit mrp="textrendering/word/group/app-framework_word.mrp" bldFile="textrendering/word/group"/>
+      </component>
+    </collection>
+    <collection id="textandlocutils" name="Text and Localisation Utils" level="util">
+      <component id="numbergrouping" name="Number Grouping">
+        <unit bldFile="charconvfw/numbergrouping/group"/>
+      </component>
+      <component id="jplangutil" name="Japanese Language Utilities">
+        <unit bldFile="charconvfw/jplangutil/group"/>
+      </component>
+      <component id="sortutil" name="Sorting Utility">
+        <unit bldFile="charconvfw/sortutil/group"/>
+      </component>
+      <component id="inlinetext" name="Inline Text">
+        <unit bldFile="charconvfw/inlinetext/group"/>
+      </component>
+     <component id="nearestlangutil" name="Nearest Language Util" introduced="^2" purpose="mandatory">
+     	<!-- placeholder for split from bafl -->
+     </component>
+      <component id="numberformatting" name="Number Formatting" introduced="7.0s" purpose="optional">
+        <unit bldFile="textrendering/numberformatting/group" mrp="textrendering/numberformatting/group/app-framework_numberconversion.mrp"/>
+      </component>
+    </collection>
+    <collection id="localesupport" name="Locale Support" level="util">
+      <component id="reflocales" name="Reference Locales"  purpose="optional" class="plugin">
+        <unit bldFile="localisation/localesupport" mrp="localisation/localesupport/mmpfiles/base_loce32.mrp"/>
+      </component>
+     <component id="initlocale" name="Initialise Locale" introduced="^2" purpose="mandatory">
+     	<!-- placeholder for split from bafl -->
+     </component>
+    </collection>
+    <collection id="textandloctools" name="Text and Localisation Tools"  level="tools">
+      <component id="fontcompiler" name="Font Compiler" purpose="development" target="desktop">
+        <!-- placeholder for split from GDI Tools -->
+      </component>
+      <component id="bitmapfonttools" name="Bitmap Font Tools" purpose="development" target="desktop">
+        <unit bldFile="../graphics/graphicstools/bitmapfonttools/group" mrp="../graphics/graphicstools/bitmapfonttools/group/graphics_gdtran.mrp"/>
+      </component>
+    </collection>    
+    <collection id="textandloc_info" name="Text and Localisation Info" level="text">
+      <component id="textandloc_metadata" name="Text and Localisation Metadata" class="config" introduced="^2" purpose="development" target="desktop">
+        <unit mrp="textandloc_info/textandloc_metadata/textandloc_metadata.mrp"/>
+      </component>
+    </collection>
+  </package>
 </SystemDefinition>