Module Dose_debian.Debcudf
type extramap= (string * (string * Cudf_types.typedecl1)) listtype options={extras_opt : extramap;native : string option;the native architecture
foreign : string list;list of foreign architectures
host : string option;the host architecture - cross compile
ignore_essential : bool;builds_from : bool;whether to add the builds-from relationship from binary to source packages
drop_bd_indep : bool;whether or not to ignore the Build-Depends-Indep field
drop_bd_arch : bool;whether or not to ignore the Build-Depends-Arch field
profiles : string list;list of active build profiles
}
val default_options : optionsval init_tables : ?options:options -> ?step:int -> ?versionlist:Dose_pef.Packages_types.version list -> Packages.package list -> tablesinitialize the version conversion tables
val clear : tables -> unitval get_cudf_version : tables -> (Dose_pef.Packages_types.name * Dose_pef.Packages_types.version) -> intreturn 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)
val get_real_name : Cudf_types.pkgname -> string * string optionGet the orgininal debian package name. Remove deb -> cudf conversion cruft
val get_real_version : tables -> (Cudf_types.pkgname * Cudf_types.version) -> Dose_pef.Packages_types.name * Dose_pef.Packages_types.architecture option * Dose_pef.Packages_types.versionreturn the real version associated to a Cudf package
val get_essential : ?options:options -> tables -> (Cudf_types.vpkglist * Cudf.package list) listval tocudf : tables -> ?options:options -> ?inst:bool -> Packages.package -> Cudf.packagetocudf tbl pconvert the a debian package representation to cudf.- Version and package name normalization.
- Adding self conflicts.
- Virtual package normalization.
- Adding priority information if avaiblable.
- Mapping APT request.
- parameter inst
: set the Installed cudf field
val preamble : Cudf.preambledeclare the Cudf preamble used by cudf. Namely, debcudf add :
- a property named Number of type string containing the original debian version
- a property named Source of type string
- a property named Sourceversion of type string
val load_universe : ?options:options -> Packages.package list -> Cudf.universecreate a Cudf universe from a debian package representation list.
val load_list : ?options:options -> Packages.package list -> Cudf.package listcreate a Cudf package list from a debian package representation list.