--- Begin Message ---
Package: libapt-pkg-dev
Version: 0.7.6
Severity: wishlist
libapt doesn't support the .deb Homepage control field. Support for
this field would allow frontends to display and/or use this information.
A trivial and entirely untested (but compiling!) patch is attached; I
imagine this changes the libapt ABI, but the ABI seems to change on
every other upload anyway.
Daniel
-- Package-specific info:
-- /etc/apt/preferences --
Package: wine
Pin: release l=WineHQ APT Repository
Pin-Priority: 1000
Package: *
Pin: release experimental
Pin-Priority: -1
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2007.07.31 GnuPG archive keys of the Debian a
ii libc6 2.6.1-6 GNU C Library: Shared libraries
ii libgcc1 1:4.2.2-3 GCC support library
ii libstdc++6 4.2.2-3 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
diff -ru apt-0.7.3.orig/apt-pkg/deb/debrecords.cc apt-0.7.3/apt-pkg/deb/debrecords.cc
--- apt-0.7.3.orig/apt-pkg/deb/debrecords.cc 2007-10-24 10:02:07.000000000 -0700
+++ apt-0.7.3/apt-pkg/deb/debrecords.cc 2007-10-24 10:03:30.000000000 -0700
@@ -51,6 +51,14 @@
return Section.FindS("Package");
}
/*}}}*/
+// RecordParser::Homepage - Return the package homepage /*{{{*/
+// ---------------------------------------------------------------------
+/* */
+string debRecordParser::Homepage()
+{
+ return Section.FindS("Homepage");
+}
+ /*}}}*/
// RecordParser::MD5Hash - Return the archive hash /*{{{*/
// ---------------------------------------------------------------------
/* */
Only in apt-0.7.3/apt-pkg/deb: debrecords.cc~
diff -ru apt-0.7.3.orig/apt-pkg/deb/debrecords.h apt-0.7.3/apt-pkg/deb/debrecords.h
--- apt-0.7.3.orig/apt-pkg/deb/debrecords.h 2007-10-24 10:02:07.000000000 -0700
+++ apt-0.7.3/apt-pkg/deb/debrecords.h 2007-10-24 10:02:44.000000000 -0700
@@ -43,6 +43,7 @@
virtual string ShortDesc();
virtual string LongDesc();
virtual string Name();
+ virtual string Homepage();
virtual void GetRec(const char *&Start,const char *&Stop);
Only in apt-0.7.3/apt-pkg/deb: debrecords.h~
diff -ru apt-0.7.3.orig/apt-pkg/pkgrecords.h apt-0.7.3/apt-pkg/pkgrecords.h
--- apt-0.7.3.orig/apt-pkg/pkgrecords.h 2007-10-24 10:02:07.000000000 -0700
+++ apt-0.7.3/apt-pkg/pkgrecords.h 2007-10-24 10:02:30.000000000 -0700
@@ -65,6 +65,7 @@
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;};
Only in apt-0.7.3/apt-pkg: pkgrecords.h~
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.8
We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:
apt-doc_0.7.8_all.deb
to pool/main/a/apt/apt-doc_0.7.8_all.deb
apt-transport-https_0.7.8_i386.deb
to pool/main/a/apt/apt-transport-https_0.7.8_i386.deb
apt-utils_0.7.8_i386.deb
to pool/main/a/apt/apt-utils_0.7.8_i386.deb
apt_0.7.8.dsc
to pool/main/a/apt/apt_0.7.8.dsc
apt_0.7.8.tar.gz
to pool/main/a/apt/apt_0.7.8.tar.gz
apt_0.7.8_i386.deb
to pool/main/a/apt/apt_0.7.8_i386.deb
libapt-pkg-dev_0.7.8_i386.deb
to pool/main/a/apt/libapt-pkg-dev_0.7.8_i386.deb
libapt-pkg-doc_0.7.8_all.deb
to pool/main/a/apt/libapt-pkg-doc_0.7.8_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 447970@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Otavio Salvador <otavio@debian.org> (supplier of updated apt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 26 Oct 2007 18:20:13 -0200
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-transport-https apt-doc apt
Architecture: source all i386
Version: 0.7.8
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Otavio Salvador <otavio@debian.org>
Description:
apt - Advanced front-end for dpkg
apt-doc - Documentation for APT
apt-transport-https - APT https transport
apt-utils - APT utility programs
libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
libapt-pkg-doc - Documentation for APT development
Closes: 437523 447970 448187
Changes:
apt (0.7.8) unstable; 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 (ABI break), closes: #447970.
* Applied patch from Frans Pop <elendil@planet.nl> to fix a trailing
space after cd label, closes: #448187.
Files:
f3cbecf81d919d0411316b49a0215855 942 admin important apt_0.7.8.dsc
7e98fed5f9d857000d48b83bc58b6270 1918410 admin important apt_0.7.8.tar.gz
a9ca51ad7a97ea0cd30f0ef00718484d 92852 doc optional apt-doc_0.7.8_all.deb
753e1028f8f7f85b797ea4c29dc122e2 117200 doc optional libapt-pkg-doc_0.7.8_all.deb
95bc47d389124f9325fd105113d5b50f 51900 admin optional apt-transport-https_0.7.8_i386.deb
5c609c27a6dffb433918705721bc7cf3 1444748 admin important apt_0.7.8_i386.deb
3df3f0b1c3d68dff74fc4044f22fed2e 101660 libdevel optional libapt-pkg-dev_0.7.8_i386.deb
ae291c6475a38243da7336620b15da61 188734 admin important apt-utils_0.7.8_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHIk4aLqiZQEml+FURArgNAJ99aU2oBG5RXwkT/pDacNbj7twB9wCfd2Qu
KjiKlAI1zZyfpMAB6E3lXws=
=AR8A
-----END PGP SIGNATURE-----
--- End Message ---