From d42a411ec80f8210e2fa3114a442cede6446158d Mon Sep 17 00:00:00 2001 From: Tristan Chabredier Date: Thu, 21 Sep 2006 07:42:01 +0000 Subject: [PATCH] 2006-09-21 [wwp] 2.4.0cvs203 * tools/uuooffice Added a action tool to open uuencoded docs w/ OpenOffice (based on uudec method). --- ChangeLog | 6 ++++++ PATCHSETS | 1 + configure.ac | 2 +- tools/uuooffice | 7 +++++++ 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 tools/uuooffice diff --git a/ChangeLog b/ChangeLog index 31faa9c3f..9c71880b8 100644 --- 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 diff --git a/PATCHSETS b/PATCHSETS index fdeae273a..ece5d7581 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -1894,3 +1894,4 @@ ( 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 diff --git a/configure.ac b/configure.ac index 8ce51168a..3866ecab2 100644 --- a/configure.ac +++ b/configure.ac @@ -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 index 000000000..233a0afa3 --- /dev/null +++ b/tools/uuooffice @@ -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" -- 2.25.1