.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Lintian::Processable::Installable::Relation 3" .TH Lintian::Processable::Installable::Relation 3 2024-02-05 "Lintian v2.117.0" "Debian Package Checker" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Lintian::Processable::Installable::Relation \- Lintian interface to binary package data collection .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 2 \& my ($name, $type, $dir) = (\*(Aqfoobar\*(Aq, \*(Aqbinary\*(Aq, \*(Aq/path/to/lab\-entry\*(Aq); \& my $collect = Lintian::Processable::Installable::Relation\->new($name); .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Lintian::Processable::Installable::Relation provides an interface to package data for binary packages. It implements data collection methods specific to binary packages. .PP This module is in its infancy. Most of Lintian still reads all data from files in the laboratory whenever that data is needed and generates that data via collect scripts. The goal is to eventually access all data about binary packages via this module so that the module can cache data where appropriate and possibly retire collect scripts in favor of caching that data in memory. .PP Native heuristics are only available in source packages. .SH "INSTANCE METHODS" .IX Header "INSTANCE METHODS" .IP "relation (FIELD)" 4 .IX Item "relation (FIELD)" Returns a Lintian::Relation object for the specified FIELD, which should be one of the possible relationship fields of a Debian package or one of the following special values: .RS 4 .IP All 4 .IX Item "All" The concatenation of Pre-Depends, Depends, Recommends, and Suggests. .IP Strong 4 .IX Item "Strong" The concatenation of Pre-Depends and Depends. .IP Weak 4 .IX Item "Weak" The concatenation of Recommends and Suggests. .RE .RS 4 .Sp If FIELD isn't present in the package, the returned Lintian::Relation object will be empty (always present and satisfies nothing). .RE .IP saved_relations 4 .IX Item "saved_relations" .SH AUTHOR .IX Header "AUTHOR" Originally written by Frank Lichtenheld for Lintian. Amended by Felix Lechner for Lintian. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlintian\fR\|(1)