/usr/share/doc/dose-doc/dose3.docdir/Debian.Debcudf.html is in dose-doc 5.0.1-9build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="Start" href="index.html">
<link rel="previous" href="Debian.Packages.html">
<link rel="next" href="Debian.Release.html">
<link rel="Up" href="Debian.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Common" rel="Chapter" href="Common.html">
<link title="Versioning" rel="Chapter" href="Versioning.html">
<link title="Algo" rel="Chapter" href="Algo.html">
<link title="Debian" rel="Chapter" href="Debian.html">
<link title="Pef" rel="Chapter" href="Pef.html">
<link title="Opam" rel="Chapter" href="Opam.html">
<link title="Doseparse" rel="Chapter" href="Doseparse.html"><title>Debian.Debcudf</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Debian.Packages.html" title="Debian.Packages">Previous</a>
<a class="up" href="Debian.html" title="Debian">Up</a>
<a class="post" href="Debian.Release.html" title="Debian.Release">Next</a>
</div>
<h1>Module <a href="type_Debian.Debcudf.html">Debian.Debcudf</a></h1>
<pre><span class="keyword">module</span> Debcudf: <code class="code">sig</code> <a href="Debian.Debcudf.html">..</a> <code class="code">end</code></pre><hr width="100%">
<br>
Debian Specific Cudf conversion routines<br>
<pre><span id="TYPEtables"><span class="keyword">type</span> <code class="type"></code>tables</span> </pre>
<div class="info ">
abstract data type holding the conversion tables for the debcudf translation.<br>
</div>
<pre><span id="TYPEextramap"><span class="keyword">type</span> <code class="type"></code>extramap</span> = <code class="type">(string * (string * Cudf_types.typedecl1)) list</code> </pre>
<pre><code><span id="TYPEoptions"><span class="keyword">type</span> <code class="type"></code>options</span> = {</code></pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELToptions.extras_opt">extras_opt</span> : <code class="type"><a href="Debian.Debcudf.html#TYPEextramap">extramap</a></code>;</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELToptions.native">native</span> : <code class="type">string option</code>;</code></td>
<td class="typefieldcomment" align="left" valign="top" ><code>(*</code></td><td class="typefieldcomment" align="left" valign="top" ><div class="info ">
the native architecture<br>
</div>
</td><td class="typefieldcomment" align="left" valign="bottom" ><code>*)</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELToptions.foreign">foreign</span> : <code class="type">string list</code>;</code></td>
<td class="typefieldcomment" align="left" valign="top" ><code>(*</code></td><td class="typefieldcomment" align="left" valign="top" ><div class="info ">
list of foreign architectures<br>
</div>
</td><td class="typefieldcomment" align="left" valign="bottom" ><code>*)</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELToptions.host">host</span> : <code class="type">string option</code>;</code></td>
<td class="typefieldcomment" align="left" valign="top" ><code>(*</code></td><td class="typefieldcomment" align="left" valign="top" ><div class="info ">
the host architecture - cross compile<br>
</div>
</td><td class="typefieldcomment" align="left" valign="bottom" ><code>*)</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELToptions.ignore_essential">ignore_essential</span> : <code class="type">bool</code>;</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELToptions.builds_from">builds_from</span> : <code class="type">bool</code>;</code></td>
<td class="typefieldcomment" align="left" valign="top" ><code>(*</code></td><td class="typefieldcomment" align="left" valign="top" ><div class="info ">
whether to add the builds-from relationship from binary to source packages<br>
</div>
</td><td class="typefieldcomment" align="left" valign="bottom" ><code>*)</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELToptions.drop_bd_indep">drop_bd_indep</span> : <code class="type">bool</code>;</code></td>
<td class="typefieldcomment" align="left" valign="top" ><code>(*</code></td><td class="typefieldcomment" align="left" valign="top" ><div class="info ">
whether or not to ignore the Build-Depends-Indep field<br>
</div>
</td><td class="typefieldcomment" align="left" valign="bottom" ><code>*)</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELToptions.drop_bd_arch">drop_bd_arch</span> : <code class="type">bool</code>;</code></td>
<td class="typefieldcomment" align="left" valign="top" ><code>(*</code></td><td class="typefieldcomment" align="left" valign="top" ><div class="info ">
whether or not to ignore the Build-Depends-Arch field<br>
</div>
</td><td class="typefieldcomment" align="left" valign="bottom" ><code>*)</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELToptions.profiles">profiles</span> : <code class="type">string list</code>;</code></td>
<td class="typefieldcomment" align="left" valign="top" ><code>(*</code></td><td class="typefieldcomment" align="left" valign="top" ><div class="info ">
list of active build profiles<br>
</div>
</td><td class="typefieldcomment" align="left" valign="bottom" ><code>*)</code></td>
</tr></table>
}
<pre><span id="VALdefault_options"><span class="keyword">val</span> default_options</span> : <code class="type"><a href="Debian.Debcudf.html#TYPEoptions">options</a></code></pre>
<pre><span id="VALinit_tables"><span class="keyword">val</span> init_tables</span> : <code class="type">?options:<a href="Debian.Debcudf.html#TYPEoptions">options</a> -><br> ?step:int -><br> ?versionlist:Pef.Packages_types.version list -><br> <a href="Debian.Packages.package-c.html">Debian.Packages.package</a> list -> <a href="Debian.Debcudf.html#TYPEtables">tables</a></code></pre><div class="info ">
initialize the version conversion tables<br>
</div>
<pre><span id="VALclear"><span class="keyword">val</span> clear</span> : <code class="type"><a href="Debian.Debcudf.html#TYPEtables">tables</a> -> unit</code></pre><div class="info ">
return the cudf version associated to a tuple (name,version).
* return Not_found if there is not package or cudf version associated
* to the tuple (name,version)<br>
</div>
<pre><span id="VALget_cudf_version"><span class="keyword">val</span> get_cudf_version</span> : <code class="type"><a href="Debian.Debcudf.html#TYPEtables">tables</a> -><br> Pef.Packages_types.name * Pef.Packages_types.version -> int</code></pre>
<pre><span id="VALget_real_name"><span class="keyword">val</span> get_real_name</span> : <code class="type">Cudf_types.pkgname -> string * string option</code></pre><div class="info ">
Get the orgininal debian package name. Remove deb -> cudf conversion cruft<br>
</div>
<pre><span id="VALget_real_version"><span class="keyword">val</span> get_real_version</span> : <code class="type"><a href="Debian.Debcudf.html#TYPEtables">tables</a> -><br> Cudf_types.pkgname * Cudf_types.version -><br> Pef.Packages_types.name * Pef.Packages_types.architecture option *<br> Pef.Packages_types.version</code></pre><div class="info ">
return the real version associated to a Cudf package<br>
</div>
<pre><span id="VALget_essential"><span class="keyword">val</span> get_essential</span> : <code class="type">?options:<a href="Debian.Debcudf.html#TYPEoptions">options</a> -><br> <a href="Debian.Debcudf.html#TYPEtables">tables</a> -> (Cudf_types.vpkglist * Cudf.package list) list</code></pre>
<pre><span id="VALtocudf"><span class="keyword">val</span> tocudf</span> : <code class="type"><a href="Debian.Debcudf.html#TYPEtables">tables</a> -><br> ?options:<a href="Debian.Debcudf.html#TYPEoptions">options</a> -><br> ?inst:bool -> <a href="Debian.Packages.package-c.html">Debian.Packages.package</a> -> Cudf.package</code></pre><div class="info ">
<code class="code">tocudf tbl p</code>
convert the a debian package representation to cudf.<ul>
<li>Version and package name normalization.</li>
<li>Adding self conflicts.</li>
<li>Virtual package normalization.</li>
<li>Adding priority information if avaiblable.</li>
<li>Mapping APT request.</li>
</ul>
<br>
</div>
<div class="param_info"><code class="code">inst</code> : : set the <i>Installed</i> cudf field</div>
<pre><span id="VALpreamble"><span class="keyword">val</span> preamble</span> : <code class="type">Cudf.preamble</code></pre><div class="info ">
declare the Cudf preamble used by cudf. Namely, debcudf add :<ul>
<li>a property named <b>Number</b> of type string containing the original debian version</li>
<li>a property named <b>Source</b> of type string</li>
<li>a property named <b>Sourceversion</b> of type string</li>
</ul>
<br>
</div>
<pre><span id="VALload_universe"><span class="keyword">val</span> load_universe</span> : <code class="type">?options:<a href="Debian.Debcudf.html#TYPEoptions">options</a> -><br> <a href="Debian.Packages.package-c.html">Debian.Packages.package</a> list -> Cudf.universe</code></pre><div class="info ">
create a Cudf universe from a debian package representation list.<br>
</div>
<pre><span id="VALload_list"><span class="keyword">val</span> load_list</span> : <code class="type">?options:<a href="Debian.Debcudf.html#TYPEoptions">options</a> -><br> <a href="Debian.Packages.package-c.html">Debian.Packages.package</a> list -> Cudf.package list</code></pre><div class="info ">
create a Cudf package list from a debian package representation list.<br>
</div>
</body></html>
|