Your message dated Sat, 08 Mar 2008 06:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#363428: fixed in antiword 0.37-3
has caused the Debian Bug report #363428,
regarding kantiword does not follow user settings of paths
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.)
--
363428: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363428
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: antiword
Version: 0.37-1
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have set my Desktop to ~/WP and thus kantiword script doesn't
work anymore. Also being a Czech with UTF-8 locale, I have to use
another locale, so I have introduced
~/.kde/share/config/kantiwordrc configuration file for this.
Also, when I used arrays for the configuration file I switched
the script from /bin/sh to /bin/bash -- I don't think there are
many computers without /bin/bash anyway.
Any comments?
Best,
Matej
- -- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.1
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Versions of packages antiword depends on:
ii libc6 2.3.6-7 GNU C Library: Shared libraries
antiword recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFERQgA4J/vJdlkhKwRAsH4AJ9rI3+UaUgYDC7RLIZB07DLo9xIYgCeI9HD
OBi5Vf8uhimJ1ech2K0jfXw=
=7bLf
-----END PGP SIGNATURE-----
--- /usr/bin/kantiword 2006-04-15 00:23:48.000000000 -0400
+++ kantiword 2006-04-18 11:12:00.000000000 -0400
@@ -1,8 +1,17 @@
-#!/bin/sh
+#!/bin/bash
#
# Script to make drag and drop in KDE possible
-#set -x
+# set -x
#
+CONFS=($(kde-config --path config | tr ':' ' '))
+CONFDIR=$HOME/${CONFS#$HOME/}
+CONF_FILE=${CONFDIR%/}/kantiwordrc
+
+if [ -r $CONF_FILE ]; then
+ ENCODING=$(grep encoding $CONF_FILE | tr -d '[:blank:]' | cut -d '=' -f
2)
+fi
+
+DESKTOP=$(kde-config --userpath desktop)
if [ $# -lt 2 ]
then
@@ -15,7 +24,7 @@
then
if [ -r /etc/papersize ]
then
- n=`cat /etc/papersize`
+ n=$(cat /etc/papersize)
fi
if [ x$n != "xa4" ] && [ x$n != "xletter" ]
then
@@ -28,9 +37,9 @@
read n
fi
if [ x$n == "xa" ] || [ x$n == "xa4" ]; then
- cp -f /usr/share/antiword/kantiword.eu.desktop
~/Desktop/kantiword.desktop
+ cp -f /usr/share/antiword/kantiword.eu.desktop
$DESKTOP/kantiword.desktop
elif [ x$n == "xl" ] || [ x$n == "xletter" ]; then
- cp -f /usr/share/antiword/kantiword.us.desktop
~/Desktop/kantiword.desktop
+ cp -f /usr/share/antiword/kantiword.us.desktop
$DESKTOP/kantiword.desktop
fi
fi
exit 0
@@ -50,9 +59,9 @@
# Try to create the temp files in a secure way
if [ -x /bin/tempfile ]
then
- out_file=`/bin/tempfile -d "$tmp_dir" -p antiword -s ".pdf"` || exit 1
- err_file=`/bin/tempfile -d "$tmp_dir" -p antiword -s ".err"`
- txt_file=`/bin/tempfile -d "$tmp_dir" -p antiword -s ".txt"`
+ out_file=$(/bin/tempfile -d "$tmp_dir" -p antiword -s ".pdf") || exit 1
+ err_file=$(/bin/tempfile -d "$tmp_dir" -p antiword -s ".err")
+ txt_file=$(/bin/tempfile -d "$tmp_dir" -p antiword -s ".txt")
if [ $? -ne 0 ]
then
rm -f "$out_file"
@@ -60,9 +69,9 @@
fi
elif [ -x /bin/mktemp ]
then
- out_file=`/bin/mktemp -q -p "$tmp_dir" antiword.pdf.XXXXXXXXX` || exit 1
- err_file=`/bin/mktemp -q -p "$tmp_dir" antiword.err.XXXXXXXXX`
- txt_file=`/bin/mktemp -q -p "$tmp_dir" antiword.txt.XXXXXXXXX`
+ out_file=$(/bin/mktemp -q -p "$tmp_dir" antiword.pdf.XXXXXXXXX) || exit
1
+ err_file=$(/bin/mktemp -q -p "$tmp_dir" antiword.err.XXXXXXXXX)
+ txt_file=$(/bin/mktemp -q -p "$tmp_dir" antiword.txt.XXXXXXXXX)
if [ $? -ne 0 ]
then
rm -f "$out_file"
--- End Message ---
--- Begin Message ---
Source: antiword
Source-Version: 0.37-3
We believe that the bug you reported is fixed in the latest version of
antiword, which is due to be installed in the Debian FTP archive:
antiword_0.37-3.diff.gz
to pool/main/a/antiword/antiword_0.37-3.diff.gz
antiword_0.37-3.dsc
to pool/main/a/antiword/antiword_0.37-3.dsc
antiword_0.37-3_mips.deb
to pool/main/a/antiword/antiword_0.37-3_mips.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.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (supplier of updated antiword
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.7
Date: Sat, 08 Mar 2008 13:22:59 +1100
Source: antiword
Binary: antiword
Architecture: source mips
Version: 0.37-3
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description:
antiword - Converts MS Word files to text and ps
Closes: 363428 464490
Changes:
antiword (0.37-3) unstable; urgency=low
.
* kantiword now follows user path settings
Patch by Matej Cepl <[EMAIL PROTECTED]>
Closes: #363428
* Fixed bashism in kantiword (a /bin/sh script)
Closes: #464490
* Fixed the following lintian issues:
- debian-rules-ignores-make-clean-error
- desktop-file-but-no-dh_desktop-call
- out-of-date-standards-version
- description-contains-homepage
Files:
813998f8201afe3a1d724b6f3276ddcd 608 text optional antiword_0.37-3.dsc
536c2023c7d2a23dcd9c880aeaa8cd0a 6337 text optional antiword_0.37-3.diff.gz
8d6663d49ae97db31c81c6c496924878 178020 text optional antiword_0.37-3_mips.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH0ii9gY5NIXPNpFURAm/oAJ9SxcaXa078qEl3bBXSFMHuikn1iACeJ0VW
50qKE8yivvrq1/rEfjZbt+0=
=OdXJ
-----END PGP SIGNATURE-----
--- End Message ---