[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#266553: kget: Patch available upstream



Package: kget
Version: 4:3.3.0-1
Followup-For: Bug #266553

The patch available upstream at http://bugs.kde.org/84450#c4 fixes the 
problem. I'd kindly suggest including the patch in version 4:3.3.0-2 
until upstream releases a fixed version.

Tested: apt-get sourcing kget, applying the patch and rebuilding with
dpkg-buildpackage produces a working kget.

Patch attached for you convenience.

Thanks,
Patrick

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=de_DE.UTF-8@euro, LC_CTYPE=de_DE.UTF-8@euro

Versions of packages kget depends on:
ii  kdelibs4                  4:3.3.0-1      KDE core libraries
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libfam0c102               2.7.0-5        client library to control the FAM 
ii  libgcc1                   1:3.4.1-7      GCC support library
ii  libice6                   4.3.0.dfsg.1-6 Inter-Client Exchange library
ii  libidn11                  0.5.2-3        GNU libidn library, implementation
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libpcre3                  4.5-1.1        Perl 5 Compatible Regular Expressi
ii  libpng12-0                1.2.5.0-7      PNG library - runtime
ii  libqt3c102-mt             3:3.3.3-4      Qt GUI Library (Threaded runtime v
ii  libsm6                    4.3.0.dfsg.1-6 X Window System Session Management
ii  libstdc++5                1:3.3.4-9      The GNU Standard C++ Library v3
ii  libx11-6                  4.3.0.dfsg.1-6 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  xlibs                     4.3.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-5    compression library - runtime

-- no debconf information
--- kdenetwork-3.3.0.old/kget/kmainwidget.cpp	2004-05-23 03:50:10.000000000 +0300
+++ kdenetwork-3.3.0/kget/kmainwidget.cpp	2004-08-20 04:26:27.000000000 +0300
@@ -130,6 +130,7 @@
 
     myTransferList = 0L;
     kmain = this;
+    kdock = NULL;
 
     // Set log time, needed for the name of log file
     QDate date = QDateTime::currentDateTime().date();
@@ -2056,12 +2057,14 @@
     statusBar()->changeItem(i18n(" Size: %1 ").arg(KIO::convertSize(totalSize)), ID_TOTAL_SIZE);
     statusBar()->changeItem(i18n(" Time: %1 ").arg(remTime.toString()), ID_TOTAL_TIME);
     statusBar()->changeItem(i18n(" %1/s ").arg(KIO::convertSize(totalSpeed)), ID_TOTAL_SPEED);
-
-    tmpstr = i18n(" Transfers: %1 ").arg(myTransferList->childCount()) +
-    i18n(" Files: %1 ").arg(totalFiles)+
-    i18n(" Size: %1 ").arg(KIO::convertSize(totalSize))+
-    i18n(" Time: %1 %2/s").arg(remTime.toString()).arg(KIO::convertSize(totalSpeed));
-    kdock->updateToolTip( tmpstr );
+    
+    if (kdock) {
+	tmpstr = i18n(" Transfers: %1 ").arg(myTransferList->childCount()) +
+	i18n(" Files: %1 ").arg(totalFiles)+
+	i18n(" Size: %1 ").arg(KIO::convertSize(totalSize))+
+	i18n(" Time: %1 %2/s").arg(remTime.toString()).arg(KIO::convertSize(totalSpeed));
+	kdock->updateToolTip( tmpstr );
+    }
 
 #ifdef _DEBUG
     //sDebugOut << endl;

Reply to: