Browse Source

* Applied patch from Daniel Burrows <dburrows@debian.org> to add support

for the Homepage field, closes: #447970.
debian/1.8.y
Otavio Salvador 15 years ago
parent
commit
f27b4a70b2
  1. 8
      apt-pkg/deb/debrecords.cc
  2. 1
      apt-pkg/deb/debrecords.h
  3. 1
      apt-pkg/pkgrecords.h
  4. 2
      debian/changelog

8
apt-pkg/deb/debrecords.cc

@ -51,6 +51,14 @@ string debRecordParser::Name()
return Section.FindS("Package");
}
/*}}}*/
// RecordParser::Homepage - Return the package homepage /*{{{*/
// ---------------------------------------------------------------------
/* */
string debRecordParser::Homepage()
{
return Section.FindS("Homepage");
}
/*}}}*/
// RecordParser::MD5Hash - Return the archive hash /*{{{*/
// ---------------------------------------------------------------------
/* */

1
apt-pkg/deb/debrecords.h

@ -44,6 +44,7 @@ class debRecordParser : public pkgRecords::Parser
virtual string ShortDesc();
virtual string LongDesc();
virtual string Name();
virtual string Homepage();
virtual void GetRec(const char *&Start,const char *&Stop);

1
apt-pkg/pkgrecords.h

@ -66,6 +66,7 @@ class pkgRecords::Parser
virtual string ShortDesc() {return string();};
virtual string LongDesc() {return string();};
virtual string Name() {return string();};
virtual string Homepage() {return string();}
// The record in binary form
virtual void GetRec(const char *&Start,const char *&Stop) {Start = Stop = 0;};

2
debian/changelog

@ -2,6 +2,8 @@ apt (0.7.8) UNRELEASED; urgency=low
* Applied patch from Daniel Leidert <daniel.leidert@wgdd.de> to fix
APT::Acquire::Translation "none" support, closes: #437523.
* Applied patch from Daniel Burrows <dburrows@debian.org> to add support
for the Homepage field, closes: #447970.
-- Otavio Salvador <otavio@ossystems.com.br> Thu, 25 Oct 2007 09:24:56 -0200

Loading…
Cancel
Save