From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 29 01:20:22 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D1EF16A4D0 for ; Thu, 29 Jul 2004 01:20:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CD7F43D3F for ; Thu, 29 Jul 2004 01:20:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6T1KLFd041057 for ; Thu, 29 Jul 2004 01:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6T1KLGo041056; Thu, 29 Jul 2004 01:20:21 GMT (envelope-from gnats) Resent-Date: Thu, 29 Jul 2004 01:20:21 GMT Resent-Message-Id: <200407290120.i6T1KLGo041056@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cheng-Lung Sung Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F094216A4CE for ; Thu, 29 Jul 2004 01:13:03 +0000 (GMT) Received: from mail.dragon2.net (sungsung.csie.nctu.edu.tw [140.113.215.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6635643D49 for ; Thu, 29 Jul 2004 01:13:03 +0000 (GMT) (envelope-from clsung@dragon2.net) Received: from localhost (unknown [127.0.0.1]) by mail.dragon2.net (Postfix) with ESMTP id 8E11F158D3 for ; Thu, 29 Jul 2004 09:14:18 +0800 (CST) Received: from mail.dragon2.net ([127.0.0.1])port 10024) with ESMTP id 08681-01 for ; Thu, 29 Jul 2004 09:14:17 +0800 (CST) Received: by mail.dragon2.net (Postfix, from userid 1022) id B82CC158D1; Thu, 29 Jul 2004 09:14:17 +0800 (CST) Message-Id: <20040729011417.B82CC158D1@mail.dragon2.net> Date: Thu, 29 Jul 2004 09:14:17 +0800 (CST) From: Cheng-Lung Sung To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69729: [NEW PORT] textproc/rtfx: An RTF to XML converter X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 01:20:22 -0000 >Number: 69729 >Category: ports >Synopsis: [NEW PORT] textproc/rtfx: An RTF to XML converter >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 29 01:20:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 4.10-RELEASE i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD sungsung.csie.nctu.edu.tw 4.10-RELEASE FreeBSD 4.10-RELEASE #1: Wed Jun 9 11:27:45 CST >Description: - gcc version < 3.00 must apply a patch which complied and tested (works well) - remove \r in xmlcomposer.cpp - take maintainership rtfx converts RTF files into a generic XML format. It majors on keeping meta data like style names, etc... rather than every bit of formatting. This makes it handy for converting RTF documents into a custom XML format (using XSL or an additional processing step). RTF features supported: page breaks, section breaks, style names, lists (various types), tables, footnotes, info block, bold, italic, underline, super/sub script, hidden text, strike out, text color, fonts. Author: Nielsen WWW: http://memberwebs.com/nielsen/software/rtfx/ Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- rtfx-0.9.3.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # rtfx # rtfx/pkg-descr # rtfx/Makefile # rtfx/pkg-plist # rtfx/distinfo # rtfx/files # rtfx/files/patch-src::xmlcomposer.cpp # rtfx/files/extra-patch-src::domhelpers.h-gcc295 # echo c - rtfx mkdir -p rtfx > /dev/null 2>&1 echo x - rtfx/pkg-descr sed 's/^X//' >rtfx/pkg-descr << 'END-of-rtfx/pkg-descr' Xrtfx converts RTF files into a generic XML format. It majors on keeping Xmeta data like style names, etc... rather than every bit of formatting. XThis makes it handy for converting RTF documents into a custom XML Xformat (using XSL or an additional processing step). X XRTF features supported: page breaks, section breaks, style names, Xlists (various types), tables, footnotes, info block, bold, italic, Xunderline, super/sub script, hidden text, strike out, text color, fonts. X XAuthor: Nielsen XWWW: http://memberwebs.com/nielsen/software/rtfx/ END-of-rtfx/pkg-descr echo x - rtfx/Makefile sed 's/^X//' >rtfx/Makefile << 'END-of-rtfx/Makefile' X# New ports collection makefile for: rtfx X# Date created: 2004-07-29 X# Whom: Cheng-Lung Sung X# X# $FreeBSD$ X# X XPORTNAME= rtfx XPORTVERSION= 0.9.3 XCATEGORIES= textproc XMASTER_SITES= http://memberwebs.com/nielsen/software/ XMASTER_SITE_SUBDIR= rtfx X XMAINTAINER= clsung@dragon2.net XCOMMENT= An RTF to XML converter X XLIB_DEPENDS= sablot.70:${PORTSDIR}/textproc/sablotron X XHAS_CONFIGURE= yes XUSE_GMAKE= yes X XMAN1= rtfx.1 X X.include X X.if ${OSVERSION} <= 500035 XEXTRA_PATCHES+= ${FILESDIR}/extra-patch-src::domhelpers.h-gcc295 X.endif X X.include END-of-rtfx/Makefile echo x - rtfx/pkg-plist sed 's/^X//' >rtfx/pkg-plist << 'END-of-rtfx/pkg-plist' Xbin/rtfx END-of-rtfx/pkg-plist echo x - rtfx/distinfo sed 's/^X//' >rtfx/distinfo << 'END-of-rtfx/distinfo' XMD5 (rtfx-0.9.3.tar.gz) = da6f3c89e70a3f7e51188438dbf633f9 XSIZE (rtfx-0.9.3.tar.gz) = 350221 END-of-rtfx/distinfo echo c - rtfx/files mkdir -p rtfx/files > /dev/null 2>&1 echo x - rtfx/files/patch-src::xmlcomposer.cpp sed 's/^X//' >rtfx/files/patch-src::xmlcomposer.cpp << 'END-of-rtfx/files/patch-src::xmlcomposer.cpp' X--- src/xmlcomposer.cpp.orig Wed Jul 28 06:12:01 2004 X+++ src/xmlcomposer.cpp Thu Jul 29 01:31:14 2004 X@@ -346,7 +346,7 @@ X X #define AN_ELEMENT(name) \ X m_composer->pushElement(m_composer->createElement(name)) X-#define AN_TOP_ELEMENT(name) \ X+#define AN_TOP_ELEMENT(name) \ X m_composer->pushTopElement(m_composer->createElement(name)) X #define AN_POP_ELEMENT() \ X m_composer->popElement() END-of-rtfx/files/patch-src::xmlcomposer.cpp echo x - rtfx/files/extra-patch-src::domhelpers.h-gcc295 sed 's/^X//' >rtfx/files/extra-patch-src::domhelpers.h-gcc295 << 'END-of-rtfx/files/extra-patch-src::domhelpers.h-gcc295' X--- src/domhelpers.h.orig Sun Jul 25 06:37:15 2004 X+++ src/domhelpers.h Thu Jul 29 07:56:00 2004 X@@ -44,6 +44,15 @@ X #include X #include X X+template X+struct iterator { X+typedef _Category iterator_category; X+typedef _Tp value_type; X+typedef _Distance difference_type; X+typedef _Pointer pointer; X+typedef _Reference reference; X+}; X /* X * DOMHelpers X * END-of-rtfx/files/extra-patch-src::domhelpers.h-gcc295 exit --- rtfx-0.9.3.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: