]> git.saurik.com Git - apt.git/commitdiff
* Applied patch from Daniel Burrows <dburrows@debian.org> to add support
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 25 Oct 2007 11:58:11 +0000 (09:58 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 25 Oct 2007 11:58:11 +0000 (09:58 -0200)
  for the Homepage field, closes: #447970.

apt-pkg/deb/debrecords.cc
apt-pkg/deb/debrecords.h
apt-pkg/pkgrecords.h
debian/changelog

index 3d3d7de0abe015311eff3e4dca1f6cb5081fe6e1..8ed0bb7eb2febee4323a8218992ac3145512725d 100644 (file)
@@ -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                     /*{{{*/
 // ---------------------------------------------------------------------
 /* */
index ab244b6dda2ed018d7b1ad7512cdb1ccc1469a9b..6f358abfa3225b5a2034fbb88ea1de20a63a689d 100644 (file)
@@ -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);
    
index f3bf7b6a14bda179a9dff645c0f8a7ad6264fe73..17f3b1569e2ed6444d5e5ad81141c481d2623c3b 100644 (file)
@@ -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;};
index 77e4f685a6bada443e917996c7d98d848f68033a..3675cd143b311bbc7f26686dbaeaccd1ce02024e 100644 (file)
@@ -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