2006-09-21 [wwp] 2.4.0cvs203
authorTristan Chabredier <wwp@claws-mail.org>
Thu, 21 Sep 2006 07:42:01 +0000 (07:42 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Thu, 21 Sep 2006 07:42:01 +0000 (07:42 +0000)
* tools/uuooffice
Added a action tool to open uuencoded docs w/
OpenOffice (based on uudec method).

ChangeLog
PATCHSETS
configure.ac
tools/uuooffice [new file with mode: 0644]

index 31faa9c3f7c82baf13f942c293e7f7e96a81a71b..9c71880b8d7b8639946b2cfc85e14055a37a37a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-21 [wwp]       2.4.0cvs203
+
+       * tools/uuooffice
+               Added a action tool to open uuencoded docs w/
+               OpenOffice (based on uudec method).
+
 2006-09-21 [colin]     2.4.0cvs202
 
        * src/compose.c
index fdeae273acd7be3687f402bc60c12e6a968a10ce..ece5d758198b8def07b7b456c583e83800a7aaa4 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.207.2.121 -r 1.207.2.122 src/folderview.c;  cvs diff -u -r 1.395.2.252 -r 1.395.2.253 src/summaryview.c;  cvs diff -u -r 1.43.2.51 -r 1.43.2.52 src/toolbar.c;  cvs diff -u -r 1.1.4.31 -r 1.1.4.32 src/gtk/gtksctree.c;  cvs diff -u -r 1.1.4.7 -r 1.1.4.8 src/gtk/gtksctree.h;  ) > 2.4.0cvs200.patchset
 ( cvs diff -u -r 1.382.2.308 -r 1.382.2.309 src/compose.c;  ) > 2.4.0cvs201.patchset
 ( cvs diff -u -r 1.382.2.309 -r 1.382.2.310 src/compose.c;  cvs diff -u -r 1.96.2.148 -r 1.96.2.149 src/textview.c;  ) > 2.4.0cvs202.patchset
+( diff -u /dev/null tools/uuooffice;  ) > 2.4.0cvs203.patchset
index 8ce51168af4d8479280155aa1343ca9e3f6f5a00..3866ecab2a570f6a70ca05b90b508866834a2cc2 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=202
+EXTRA_VERSION=203
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
diff --git a/tools/uuooffice b/tools/uuooffice
new file mode 100644 (file)
index 0000000..233a0af
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+FILENAME=$(grep -Em 1 "^begin [0-7][0-7][0-7] ." "$1" | cut -d ' ' -f 3-)
+TMPFILE=/tmp/${0##*/}_$FILENAME
+uudecode -o - "$1" > "$TMPFILE"
+ooffice "$TMPFILE"
+rm -f "$TMPFILE"