Your message dated Sat, 10 Jul 2010 21:32:21 +0000
with message-id <[email protected]>
and subject line Bug#586470: fixed in aptitude 0.6.3-3
has caused the Debian Bug report #586470,
regarding patch to fix aptitude display on wide terminals
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
586470: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586470
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.6.1.5-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu maverick ubuntu-patch

Hi Daniel,

In Ubuntu, we've applied the attached patch to fix
<https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/391035>, a bug by
which aptitude doesn't use the full available terminal width for displaying
download information.  The patch was originally against 0.4.11.11, but it
appears to still be applicable against 0.6.2.1.  Please consider it for
inclusion upstream.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
#! /bin/sh /usr/share/dpatch/dpatch-run
## 13_screensize.dpatch by Anders Kaseorg <[email protected]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fixes a bug that stops outputting aptitude downloads on big screens


@DPATCH@
diff -urNad aptitude-0.4.11.11.orig/src/generic/apt/acqprogress.cc aptitude-0.4.11.11/src/generic/apt/acqprogress.cc
--- aptitude-0.4.11.11.orig/src/generic/apt/acqprogress.cc	2008-11-19 22:17:12.000000000 -0500
+++ aptitude-0.4.11.11/src/generic/apt/acqprogress.cc	2010-04-08 00:24:04.078653510 -0400
@@ -178,6 +178,8 @@
    char Buffer[1024];
    char *End = Buffer + sizeof(Buffer);
    char *S = Buffer;
+   // this->ScreenWidth is a reference that is updated by the SIGWINCH handler
+   unsigned int ScreenWidth = this->ScreenWidth;
    if (ScreenWidth >= sizeof(Buffer))
       ScreenWidth = sizeof(Buffer)-1;
 
diff -urNad aptitude-0.4.11.11.orig/src/generic/apt/acqprogress.h aptitude-0.4.11.11/src/generic/apt/acqprogress.h
--- aptitude-0.4.11.11.orig/src/generic/apt/acqprogress.h	2008-11-19 22:17:12.000000000 -0500
+++ aptitude-0.4.11.11/src/generic/apt/acqprogress.h	2010-04-08 00:26:37.878687933 -0400
@@ -20,7 +20,8 @@
 class AcqTextStatus : public sigc::trackable
 {
    unsigned int &ScreenWidth;
-   char BlankLine[300];
+   // Must be the same size as Buffer in AcqTextStatus::Pulse
+   char BlankLine[1024];
    unsigned long ID;
    unsigned long Quiet;
    

--- End Message ---
--- Begin Message ---
Source: aptitude
Source-Version: 0.6.3-3

We believe that the bug you reported is fixed in the latest version of
aptitude, which is due to be installed in the Debian FTP archive:

aptitude-dbg_0.6.3-3_amd64.deb
  to main/a/aptitude/aptitude-dbg_0.6.3-3_amd64.deb
aptitude-doc-cs_0.6.3-3_all.deb
  to main/a/aptitude/aptitude-doc-cs_0.6.3-3_all.deb
aptitude-doc-en_0.6.3-3_all.deb
  to main/a/aptitude/aptitude-doc-en_0.6.3-3_all.deb
aptitude-doc-es_0.6.3-3_all.deb
  to main/a/aptitude/aptitude-doc-es_0.6.3-3_all.deb
aptitude-doc-fi_0.6.3-3_all.deb
  to main/a/aptitude/aptitude-doc-fi_0.6.3-3_all.deb
aptitude-doc-fr_0.6.3-3_all.deb
  to main/a/aptitude/aptitude-doc-fr_0.6.3-3_all.deb
aptitude-doc-ja_0.6.3-3_all.deb
  to main/a/aptitude/aptitude-doc-ja_0.6.3-3_all.deb
aptitude-gtk_0.6.3-3_amd64.deb
  to main/a/aptitude/aptitude-gtk_0.6.3-3_amd64.deb
aptitude_0.6.3-3.debian.tar.gz
  to main/a/aptitude/aptitude_0.6.3-3.debian.tar.gz
aptitude_0.6.3-3.dsc
  to main/a/aptitude/aptitude_0.6.3-3.dsc
aptitude_0.6.3-3_amd64.deb
  to main/a/aptitude/aptitude_0.6.3-3_amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Burrows <[email protected]> (supplier of updated aptitude 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 10 Jul 2010 13:44:48 -0700
Source: aptitude
Binary: aptitude aptitude-gtk aptitude-dbg aptitude-doc-cs aptitude-doc-en 
aptitude-doc-es aptitude-doc-fi aptitude-doc-fr aptitude-doc-ja
Architecture: source amd64 all
Version: 0.6.3-3
Distribution: unstable
Urgency: low
Maintainer: Daniel Burrows <[email protected]>
Changed-By: Daniel Burrows <[email protected]>
Description: 
 aptitude   - terminal-based package manager (terminal interface only)
 aptitude-dbg - Debug symbols for the aptitude package manager
 aptitude-doc-cs - Czech manual for aptitude, a terminal-based package manager
 aptitude-doc-en - English manual for aptitude, a terminal-based package manager
 aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manager
 aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manager
 aptitude-doc-fr - French manual for aptitude, a terminal-based package manager
 aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package 
manager
 aptitude-gtk - terminal-based package manager (GUI and terminal interfaces)
Closes: 586470 586861
Changes: 
 aptitude (0.6.3-3) unstable; urgency=low
 .
   * Apply patch from Nobuhiro Iwamatsu to fix compilation on sh, which
     has the same problem as s390. (Closes: #586861)
 .
   * Apply patch from Michael Vogt to update Vcs links in debian/control.
 .
   * Cherry-pick an Ubuntu patch that was merged upstream to fix the
     progress code on large terminals. (Closes: #586470)
Checksums-Sha1: 
 4cf34b8c2cba17bce5b429f9ec8b69343222554d 1669 aptitude_0.6.3-3.dsc
 55ea3d6166f136952260a686f3636780b952a993 44647 aptitude_0.6.3-3.debian.tar.gz
 4dd50116033502fe5c4abd97ecf23b465656e2fe 3826490 aptitude_0.6.3-3_amd64.deb
 d3d9dfde7cdf5ebc63df881dc8806a71777ec560 1985342 aptitude-gtk_0.6.3-3_amd64.deb
 3919837da5b3207a425466cc97b684ef1d3d71a8 23731564 
aptitude-dbg_0.6.3-3_amd64.deb
 4c417b4c53eaa4548975c72dbfda71eacf93f2e4 387758 aptitude-doc-cs_0.6.3-3_all.deb
 a2f3c9acccb7d4239702ae71698869346343ac46 455282 aptitude-doc-en_0.6.3-3_all.deb
 0603e81300edc74900f9a61bac533866b9cd051f 480070 aptitude-doc-es_0.6.3-3_all.deb
 7f66eb6d4ef5c6241c48db1036393b3722d76be4 277346 aptitude-doc-fi_0.6.3-3_all.deb
 56a313a3249ab6cec827ebf5607fd98fb17bae75 338918 aptitude-doc-fr_0.6.3-3_all.deb
 8c183de1f4c97383378d11ae3bc77c102d73a008 401888 aptitude-doc-ja_0.6.3-3_all.deb
Checksums-Sha256: 
 1af6ed2360cc0ab45526dd3e1d35c77dfa8b05b8a7aad56fadf24000e0e90adb 1669 
aptitude_0.6.3-3.dsc
 72d74b55286bc400fa00e9c23d82af884e363fe0b0d51da23d19860e5471bcf9 44647 
aptitude_0.6.3-3.debian.tar.gz
 e971f9a92e10ebe7f2ab3ad875c3f17f7df35a6afbe96e1aeed19e4115ac49b1 3826490 
aptitude_0.6.3-3_amd64.deb
 daf5bf5e1c67b5913b8fa130f0f04f058bbc30bda9ab897fb05048d188f70212 1985342 
aptitude-gtk_0.6.3-3_amd64.deb
 10afac78834233260f097c2edb239a4511d998dc179f5c27baca9216101ee5ab 23731564 
aptitude-dbg_0.6.3-3_amd64.deb
 a9aca543cac97ed6e696ad6ec4d0bf6a4381c5b4790da2df8704658e643f573c 387758 
aptitude-doc-cs_0.6.3-3_all.deb
 99f531ddc0e6a489964ca7049e774865d2fb7c4d58a4374b9909e3577ba616b3 455282 
aptitude-doc-en_0.6.3-3_all.deb
 11c06f5e98e31abd46c45b99e524c4107e0ad4d07128de0cc35a763dac34e296 480070 
aptitude-doc-es_0.6.3-3_all.deb
 e024eb26a9aa9316dfefedd76cff8b531fe3cdc70ca9922fd0c78c45912f8ff6 277346 
aptitude-doc-fi_0.6.3-3_all.deb
 8d03c65889f03284c1b001919efcd0529da44f84306b4a957da14f9685872c79 338918 
aptitude-doc-fr_0.6.3-3_all.deb
 cf07149c2554ad97f0f4f4957639fc53ad04adebec36566c577a18523388f401 401888 
aptitude-doc-ja_0.6.3-3_all.deb
Files: 
 d784fe995817b61e0f84f8b1b9ca3cb1 1669 admin - aptitude_0.6.3-3.dsc
 52f1c1f7b7ed26a183a990bce220cf52 44647 admin - aptitude_0.6.3-3.debian.tar.gz
 7a4c8fc4aab5a61bdfd554afe102ed35 3826490 admin important 
aptitude_0.6.3-3_amd64.deb
 defb3c4b748abca226b850d9c23b0577 1985342 admin optional 
aptitude-gtk_0.6.3-3_amd64.deb
 d70853532b0da69f60ca1e3481e32f00 23731564 debug extra 
aptitude-dbg_0.6.3-3_amd64.deb
 5d9e3f3f7f4dd3f7cb9bde03cf4fab67 387758 doc optional 
aptitude-doc-cs_0.6.3-3_all.deb
 7721ae4fa8c5d902e7e6d90e1571c479 455282 doc optional 
aptitude-doc-en_0.6.3-3_all.deb
 171492caabe3684e5886c2e8c42f5cfa 480070 doc optional 
aptitude-doc-es_0.6.3-3_all.deb
 d064bc4616016b5d024e274cf29c453a 277346 doc optional 
aptitude-doc-fi_0.6.3-3_all.deb
 acf4bfc896bf7259b70ebc89a0b4a617 338918 doc optional 
aptitude-doc-fr_0.6.3-3_all.deb
 ddad362926b31d6d43572336b32a0719 401888 doc optional 
aptitude-doc-ja_0.6.3-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkw44k8ACgkQch6xsM7kSXj9BgCg0Bx/ynDB2tU6bD5++3za6C94
KCcAoNCHnnR04lx/UOKz4ezHEp5LJUE1
=BEZJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to