pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/o3read Import o3read package from http://siag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8847779fb27
branches:  trunk
changeset: 515743:c8847779fb27
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Fri Jul 07 14:48:04 2006 +0000

description:
Import o3read package from http://siag.nu/o3read/

o3read is a standalone converter for the OpenOffice.org swriter (*.sxw) and
scalc (*.sxc) formats. It doesn't depend on OpenOffice or any other external
tools or libraries.

Example: unzip -p filformat.sxw content.xml | o3read | utf8tolatin1

There are three output modules:

    * o3read displays a dump of the parse tree
    * o3totxt creates plain text
    * o3tohtml creates html code

The utility utf8tolatin1 converts from utf8 to 8859-1.

diffstat:

 textproc/o3read/DESCR            |  13 +++++++++++++
 textproc/o3read/Makefile         |  11 +++++++++++
 textproc/o3read/PLIST            |   9 +++++++++
 textproc/o3read/distinfo         |   6 ++++++
 textproc/o3read/patches/patch-aa |  17 +++++++++++++++++
 5 files changed, 56 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r 13308ffb10d6 -r c8847779fb27 textproc/o3read/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/o3read/DESCR     Fri Jul 07 14:48:04 2006 +0000
@@ -0,0 +1,13 @@
+This is a standalone converter for the OpenOffice.org swriter (*.sxw) and scalc
+(*.sxc) formats. It doesn't depend on OpenOffice or any other external tools or
+libraries.
+
+Example: unzip -p filformat.sxw content.xml | o3read | utf8tolatin1
+
+There are three output modules:
+
+    * o3read displays a dump of the parse tree
+    * o3totxt creates plain text
+    * o3tohtml creates html code
+
+The utility utf8tolatin1 converts from utf8 to 8859-1.
diff -r 13308ffb10d6 -r c8847779fb27 textproc/o3read/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/o3read/Makefile  Fri Jul 07 14:48:04 2006 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
+
+DISTNAME=      o3read-0.0.4
+CATEGORIES=    textproc
+MASTER_SITES=  http://siag.nu/pub/o3read/
+
+MAINTAINER=    ghen%NetBSD.org@localhost
+HOMEPAGE=      http://siag.nu/o3read/
+COMMENT=       Standalone converter for OpenOffice and OpenDocument file formats
+
+.include "../../mk/bsd.pkg.mk"
diff -r 13308ffb10d6 -r c8847779fb27 textproc/o3read/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/o3read/PLIST     Fri Jul 07 14:48:04 2006 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
+bin/o3read
+bin/o3tohtml
+bin/o3totxt
+bin/utf8tolatin1
+man/man1/o3read.1
+man/man1/o3tohtml.1
+man/man1/o3totxt.1
+man/man1/utf8tolatin1.1
diff -r 13308ffb10d6 -r c8847779fb27 textproc/o3read/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/o3read/distinfo  Fri Jul 07 14:48:04 2006 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
+
+SHA1 (o3read-0.0.4.tar.gz) = aa8bcfc82b5327f3d86a35193c0a434e33107d09
+RMD160 (o3read-0.0.4.tar.gz) = c011a283fdc3ee6ff4c340519a4ef7f32c258f38
+Size (o3read-0.0.4.tar.gz) = 21075 bytes
+SHA1 (patch-aa) = aa16d6771f3ad76289318360b8d4725576293c69
diff -r 13308ffb10d6 -r c8847779fb27 textproc/o3read/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/o3read/patches/patch-aa  Fri Jul 07 14:48:04 2006 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
+
+--- Makefile.orig      2005-01-07 09:28:47.000000000 +0100
++++ Makefile
+@@ -2,11 +2,8 @@
+ PACKAGE = o3read
+ VERSION = 0.0.4
+ 
+-CC = gcc
+-CFLAGS = -Wall -ansi -pedantic -O -g
+-PREFIX = /usr/local
+ BINDIR = $(PREFIX)/bin
+-MANDIR = $(PREFIX)/man/man1
++MANDIR = $(PREFIX)/$(PKGMANDIR)/man1
+ DOCS = COPYING INSTALL README TODO ChangeLog filformat.sxw
+ BINS = o3read o3totxt o3tohtml utf8tolatin1
+ SRCS = o3read.h main.c o3read.c o3totxt.c o3tohtml.c utf8tolatin1.c



Home | Main Index | Thread Index | Old Index