tracker/tracker-msword_filter.patch
Deji Akingunola a143d2ded0 - Patch to not use deprecated wvText utility as MSWord filter
- Remove libvorbis dependency, it is not necessary where gstreamer is
    present.
2010-02-08 13:42:30 +00:00

21 lines
518 B
Diff

--- filters/application/msword_filter 2010-02-04 05:25:44.000000000 -0500
+++ filters/application/msword_filter.new 2010-02-08 08:18:57.117202359 -0500
@@ -2,7 +2,7 @@
tmpdir=`mktemp -td tracker.msword_filter.XXXXXXXXXX` || exit 1
tmpfile="$tmpdir"/tmpfile
-tmptxtfile="$tmpdir"/tmptxtfile
+tmptxtfile="$tmpdir"/tmpfile.text
cp "$1" "$tmpfile"
@@ -12,7 +12,7 @@
cd "$tmpdir"
-nice -n19 wvText "$tmpfile" "$tmptxtfile" > /dev/null 2>&1
+nice -n19 abiword --to=text > /dev/null 2>&1
cat "$tmptxtfile"