Safe Haskell | None |
---|
Debian.Debianize.ControlFile
Description
Preliminary.
- data SourceDebDescription = SourceDebDescription {
- source :: Maybe SrcPkgName
- maintainer :: Maybe NameAddr
- changedBy :: Maybe NameAddr
- uploaders :: [NameAddr]
- dmUploadAllowed :: Bool
- priority :: Maybe PackagePriority
- section :: Maybe Section
- standardsVersion :: Maybe StandardsVersion
- homepage :: Maybe Text
- vcsFields :: Set VersionControlSpec
- xFields :: Set XField
- buildDepends :: Relations
- buildConflicts :: Relations
- buildDependsIndep :: Relations
- buildConflictsIndep :: Relations
- binaryPackages :: [BinaryDebDescription]
- newSourceDebDescription :: SourceDebDescription
- newSourceDebDescription' :: SrcPkgName -> NameAddr -> SourceDebDescription
- data VersionControlSpec
- data XField = XField (Set XFieldDest) Text Text
- data XFieldDest
- data BinaryDebDescription = BinaryDebDescription {}
- newBinaryDebDescription :: BinPkgName -> PackageArchitectures -> BinaryDebDescription
- modifyBinaryDeb :: BinPkgName -> (Maybe BinaryDebDescription -> BinaryDebDescription) -> SourceDebDescription -> SourceDebDescription
- data PackageRelations = PackageRelations {}
- data PackageType
- = Development
- | Profiling
- | Documentation
- | Exec
- | Utilities
- | Source'
- | Cabal
- packageArch :: PackageType -> PackageArchitectures
Documentation
data SourceDebDescription Source
This type represents the debian/control file, which is the core of the source package debianization. It includes the information that goes in the first, or source, section, and then a list of the succeeding binary package sections.
Constructors
data VersionControlSpec Source
User defined fields. Parse the line XBS-Comment: I stand between the candle and the star. to get XField (fromList BS) Comment I stand between the candle and the star.
Constructors
XField (Set XFieldDest) Text Text |
data XFieldDest Source
data BinaryDebDescription Source
This type represents a section of the control file other than the first, which in turn represent one of the binary packages or debs produced by this debianization.
Constructors
modifyBinaryDeb :: BinPkgName -> (Maybe BinaryDebDescription -> BinaryDebDescription) -> SourceDebDescription -> SourceDebDescriptionSource
Package interrelationship information.
Modify the description of one of the binary debs without changing the package order.
data PackageRelations Source
Constructors
PackageRelations | |
data PackageType Source
Constructors
Development | The libghc-foo-dev package. |
Profiling | The libghc-foo-prof package. |
Documentation | The libghc-foo-doc package. |
Exec | A package related to a particular executable, perhaps but not necessarily a server. |
Utilities | A package that holds the package's data files and any executables not assigned to other packages. |
Source' | The source package (not a binary deb actually.) |
Cabal | This is used to construct the value for DEB_CABAL_PACKAGE in the rules file |
Instances