Your message dated Wed, 10 Jun 2009 21:34:03 +0000
with message-id <[email protected]>
and subject line Bug#532530: fixed in ssft 0.9.12
has caused the Debian Bug report #532530,
regarding adapt ssft_progress_bar for kdialog (KDE4) dbus interface
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.)
--
532530: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532530
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ssft
Version: 0.9.11
Severity: normal
Tags: patch
In KDE4, kdialog uses a dbus interface for progress bar operations. Here is
a patch which uses kdialog --progressbar instantiation reference string to
detect whether the (old) dcop or (current) dbus interface should be used for
communicating with progress bar window.
Thanks, Kel.
---
--- a/src/ssft.sh
+++ b/src/ssft.sh
@@ -441,35 +441,51 @@ ssft_progress_bar() {
--percentage "$_l_percent" --auto-close
;;
kdialog)
- _l_kdpbdc="/tmp/kdpbdc-$PID.`date +"%s"`"
- kdialog --progressbar "$_l_title" 100 > "$_l_kdpbdc" 2> /dev/null
- DCOPREF=$( sed -n -e '/^DCOPRef/ {
- s/DCOPRef(\(.*\),ProgressDialog)/\1/;
- p
- }' $_l_kdpbdc);
- rm -f "$_l_kdpbdc"
- dcop $DCOPREF ProgressDialog setAutoClose true
- while read _l_line; do
- _l_percent="`echo $_l_line | sed -n -e '/^[0-9][0-9]*/ {
- p;
- };'`"
- if [ -z "$_l_percent" ]; then
- dcop $DCOPREF ProgressDialog setLabel "$_l_line" 2> /dev/null;
- else
- dcop $DCOPREF ProgressDialog setProgress "$_l_percent" 2> /dev/null;
- fi
- done
- while read _l_line; do
- _l_percent="`echo $_l_line | sed -n -e '/^[0-9][0-9]*/ {
- p;
- };'`"
- if [ -z "$_l_percent" ]; then
- _l_text="$_l_line"
- dcop $DCOPREF ProgressDialog SetLabel "$_l_text"
- else
- dcop $DCOPREF ProgressDialog SetPercent "$_l_percent"
- fi
- done
+ _l_kdpbref="/tmp/kdpbdc-$PID.`date +"%s"`"
+ kdialog --progressbar "$_l_title" 100 > "$_l_kdpbref" 2> /dev/null
+ if grep -q '^DCOPRef' $_l_kdpbref; then
+ DCOPREF=$( sed -n -e '/^DCOPRef/ {
+ s/DCOPRef(\(.*\),ProgressDialog)/\1/;
+ p
+ }' $_l_kdpbref);
+ rm -f "$_l_kdpbref"
+ dcop $DCOPREF ProgressDialog setAutoClose true
+ while read _l_line; do
+ _l_percent="`echo $_l_line | sed -n -e '/^[0-9][0-9]*/ {
+ p;
+ };'`"
+ if [ -z "$_l_percent" ]; then
+ dcop $DCOPREF ProgressDialog setLabel "$_l_line" 2> /dev/null;
+ else
+ dcop $DCOPREF ProgressDialog setProgress "$_l_percent" 2> /dev/null;
+ fi
+ done
+ while read _l_line; do
+ _l_percent="`echo $_l_line | sed -n -e '/^[0-9][0-9]*/ {
+ p;
+ };'`"
+ if [ -z "$_l_percent" ]; then
+ _l_text="$_l_line"
+ dcop $DCOPREF ProgressDialog SetLabel "$_l_text"
+ else
+ dcop $DCOPREF ProgressDialog SetPercent "$_l_percent"
+ fi
+ done
+ else
+ DBUSREF=$(cat $_l_kdpbref)
+ rm -f "$_l_kdpbref"
+ qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog autoClose true
+ while read _l_line; do
+ _l_percent="`echo $_l_line | sed -n -e '/^[0-9][0-9]*/ {
+ p;
+ };'`"
+ if [ -z "$_l_percent" ]; then
+ qdbus $DBUSREF org.kde.kdialog.ProgressDialog.setLabelText "$_l_line"
2> /dev/null;
+ else
+ qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value "$_l_percent"
2> /dev/null;
+ fi
+ done
+ fi
;;
dialog)
while read _l_line; do
---
--- End Message ---
--- Begin Message ---
Source: ssft
Source-Version: 0.9.12
We believe that the bug you reported is fixed in the latest version of
ssft, which is due to be installed in the Debian FTP archive:
ssft_0.9.12.dsc
to pool/main/s/ssft/ssft_0.9.12.dsc
ssft_0.9.12.tar.gz
to pool/main/s/ssft/ssft_0.9.12.tar.gz
ssft_0.9.12_all.deb
to pool/main/s/ssft/ssft_0.9.12_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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sergio Talens-Oliag <[email protected]> (supplier of updated ssft 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: RIPEMD160
Format: 1.8
Date: Wed, 10 Jun 2009 23:08:55 +0200
Source: ssft
Binary: ssft
Architecture: source all
Version: 0.9.12
Distribution: unstable
Urgency: low
Maintainer: Sergio Talens-Oliag <[email protected]>
Changed-By: Sergio Talens-Oliag <[email protected]>
Description:
ssft - Shell Scripts Frontend Tool
Closes: 532530
Changes:
ssft (0.9.12) unstable; urgency=low
.
* Updated standards, packaging and manual page.
* Re-licensed under the GPL-3.
* Applied patch to update ssft_progress_bar for kdialog (KDE4) dbus
interface (Closes: Bug#532530).
Checksums-Sha1:
9f644715aeb1001f711d8017e3c28b9ef9cefac9 731 ssft_0.9.12.dsc
5c2455c821f329446e9aa4e2b6f31709867fa6cd 27150 ssft_0.9.12.tar.gz
f4bb4f91780ca4c4a571750e67fe6e4f4c364582 16478 ssft_0.9.12_all.deb
Checksums-Sha256:
6a1c40da0aa2e6980bdb2aaf57f94bad965090ba5bf56430bc46a96145524b77 731
ssft_0.9.12.dsc
7add29e226b6d092f6bd62a529f73e36e2db90ed7f0c2211b7f05f66e9d0e605 27150
ssft_0.9.12.tar.gz
807298c076effb83e327fa039f04c0d8644d9eca872a0fd206155e0cd323fc48 16478
ssft_0.9.12_all.deb
Files:
053d8df9ab01079edf02351e811cadbe 731 utils optional ssft_0.9.12.dsc
ef44b7a9e6496ce09aaab415feadd4a2 27150 utils optional ssft_0.9.12.tar.gz
15ad23c2428110395a6ce91e0e200b0d 16478 utils optional ssft_0.9.12_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFKMCLsZ3AFK7jB+mkRA2B2AKCM4q9ch5B3qxvWb79c944EY+wBPwCfZkHG
i3ljwm39ef6+aexiEMbxi+Y=
=xpgB
-----END PGP SIGNATURE-----
--- End Message ---