pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/rtf-tools Add support for codepage 1252 chara...
details: https://anonhg.NetBSD.org/pkgsrc/rev/88044381b08c
branches: trunk
changeset: 491671:88044381b08c
user: ben <ben%pkgsrc.org@localhost>
date: Sun Mar 27 18:22:35 2005 +0000
description:
Add support for codepage 1252 characters, sort PLIST, bump PKGREVISION.
diffstat:
textproc/rtf-tools/Makefile | 5 +-
textproc/rtf-tools/PLIST | 32 ++--
textproc/rtf-tools/distinfo | 7 +-
textproc/rtf-tools/patches/patch-ae | 20 ++-
textproc/rtf-tools/patches/patch-ag | 244 ++++++++++++++++++++++++++++++++++++
textproc/rtf-tools/patches/patch-ah | 120 +++++++++++++++++
textproc/rtf-tools/patches/patch-ai | 12 +
7 files changed, 415 insertions(+), 25 deletions(-)
diffs (truncated from 527 to 300 lines):
diff -r 631c8df3d81e -r 88044381b08c textproc/rtf-tools/Makefile
--- a/textproc/rtf-tools/Makefile Sun Mar 27 18:14:15 2005 +0000
+++ b/textproc/rtf-tools/Makefile Sun Mar 27 18:22:35 2005 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.15 2004/01/27 00:53:10 heinz Exp $
+# $NetBSD: Makefile,v 1.16 2005/03/27 18:22:35 ben Exp $
#
DISTNAME= RTF-1.10
PKGNAME= rtf-tools-1.10
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://www.snake.net/software/RTF/
EXTRACT_SUFX= .tar.Z
@@ -31,6 +31,7 @@
${INSTALL_DATA_DIR} ${PREFIX}/lib/rtf-tools
${INSTALL_DATA} ${WRKSRC}/h/standard-names ${PREFIX}/lib/rtf-tools
cd ${WRKSRC}/lib && ${INSTALL_DATA} ansi-gen ansi-sym \
+ ansicpg1252-gen ansicpg1252-sym \
mac-gen mac-sym pc-gen pc-sym pca-gen pca-sym \
${PREFIX}/lib/rtf-tools
${INSTALL_DATA} ${WRKSRC}/rtf2text/text-map ${PREFIX}/lib/rtf-tools
diff -r 631c8df3d81e -r 88044381b08c textproc/rtf-tools/PLIST
--- a/textproc/rtf-tools/PLIST Sun Mar 27 18:14:15 2005 +0000
+++ b/textproc/rtf-tools/PLIST Sun Mar 27 18:22:35 2005 +0000
@@ -1,30 +1,32 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:58:33 zuntum Exp $
-lib/rtf-tools/standard-names
+@comment $NetBSD: PLIST,v 1.2 2005/03/27 18:22:35 ben Exp $
+bin/rtf2groff
+bin/rtf2null
+bin/rtf2text
+bin/rtf2troff
+bin/rtfchkmap
+bin/rtfdiag
+bin/rtfindent
+bin/rtfmaptortf
+bin/rtfwc
lib/rtf-tools/ansi-gen
lib/rtf-tools/ansi-sym
+lib/rtf-tools/ansicp1252-gen
+lib/rtf-tools/ansicp1252-sym
+lib/rtf-tools/dwbtroff-map
+lib/rtf-tools/groff-map
lib/rtf-tools/mac-gen
lib/rtf-tools/mac-sym
lib/rtf-tools/pc-gen
lib/rtf-tools/pc-sym
lib/rtf-tools/pca-gen
lib/rtf-tools/pca-sym
+lib/rtf-tools/standard-names
lib/rtf-tools/text-map
+lib/rtf-tools/troff-man-map
lib/rtf-tools/troff-map
-lib/rtf-tools/groff-map
-lib/rtf-tools/xroff-map
-lib/rtf-tools/dwbtroff-map
-lib/rtf-tools/troff-man-map
lib/rtf-tools/troff-me-map
lib/rtf-tools/troff-mm-map
lib/rtf-tools/troff-ms-map
-bin/rtfchkmap
-bin/rtfmaptortf
-bin/rtf2null
-bin/rtf2text
-bin/rtf2troff
-bin/rtf2groff
-bin/rtfdiag
-bin/rtfindent
-bin/rtfwc
+lib/rtf-tools/xroff-map
man/manl/rtf2troff.l
@dirrm lib/rtf-tools
diff -r 631c8df3d81e -r 88044381b08c textproc/rtf-tools/distinfo
--- a/textproc/rtf-tools/distinfo Sun Mar 27 18:14:15 2005 +0000
+++ b/textproc/rtf-tools/distinfo Sun Mar 27 18:22:35 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 14:48:49 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/03/27 18:22:35 ben Exp $
SHA1 (RTF-1.10.tar.Z) = 1fcf63e52bd2d57b2841e32667ab76bb6c2998c6
RMD160 (RTF-1.10.tar.Z) = 0fdacb6df5779a343d419e1e3bf007f8d8cabbda
@@ -7,5 +7,8 @@
SHA1 (patch-ab) = c45bc8d80a5c3a5cdf8f54c1c2a91caa81ce0f97
SHA1 (patch-ac) = ab10d20e7457c978a51288391064d7baef403304
SHA1 (patch-ad) = 5bffb2788eeba22bc8b46fd55dda25d87d22d9d6
-SHA1 (patch-ae) = c87e8edbe96d50e1a9f54e5890d21fd4c6168723
+SHA1 (patch-ae) = 352780f4a53d2746ed0a00427d701339e9947d1c
SHA1 (patch-af) = 428112205e1cf6466c6f97de6102ecd52ae39781
+SHA1 (patch-ag) = 2c5fd9db3c011bb0648b738d09e1342fb6c76003
+SHA1 (patch-ah) = 6a7f28d28bd6b8058c77ae57c5a5d88e1152258e
+SHA1 (patch-ai) = f46a29dbdfd074ee8263b74d40f38c10646037fb
diff -r 631c8df3d81e -r 88044381b08c textproc/rtf-tools/patches/patch-ae
--- a/textproc/rtf-tools/patches/patch-ae Sun Mar 27 18:14:15 2005 +0000
+++ b/textproc/rtf-tools/patches/patch-ae Sun Mar 27 18:22:35 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.2 2001/05/31 11:04:56 agc Exp $
+$NetBSD: patch-ae,v 1.3 2005/03/27 18:22:35 ben Exp $
---- lib/reader.c.orig Tue Apr 5 12:14:55 1994
-+++ lib/reader.c Wed May 16 22:10:17 2001
-@@ -587,38 +587,45 @@
+--- lib/reader.c.orig 1994-04-05 12:14:55.000000000 -0700
++++ lib/reader.c
+@@ -587,38 +587,45 @@ RTFFont *fp;
if (autoCharSetFlags == 0)
return;
@@ -75,7 +75,7 @@
}
}
}
-@@ -1194,6 +1201,7 @@
+@@ -1194,6 +1213,7 @@ RTFFont *fp;
char buf[rtfBufSiz], *bp;
int old = -1;
char *fn = "ReadFontTbl";
@@ -83,7 +83,7 @@
for (;;)
{
-@@ -1311,11 +1319,30 @@
+@@ -1311,11 +1331,30 @@ char *fn = "ReadFontTbl";
RTFPanic ("%s: missing \"}\"", fn);
}
}
@@ -116,3 +116,11 @@
RTFRouteToken (); /* feed "}" back to router */
}
+@@ -2260,6 +2299,7 @@ static RTFKey rtfKey[] =
+
+ rtfCharSet, rtfMacCharSet, "mac", 0,
+ rtfCharSet, rtfAnsiCharSet, "ansi", 0,
++ rtfCharSet, rtfAnsiCpCharSet, "ansicpg", 0,
+ rtfCharSet, rtfPcCharSet, "pc", 0,
+ rtfCharSet, rtfPcaCharSet, "pca", 0,
+
diff -r 631c8df3d81e -r 88044381b08c textproc/rtf-tools/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/rtf-tools/patches/patch-ag Sun Mar 27 18:22:35 2005 +0000
@@ -0,0 +1,244 @@
+$NetBSD: patch-ag,v 1.1 2005/03/27 18:22:35 ben Exp $
+
+--- lib/ansicpg1252-gen.orig 2005-03-27 09:44:09.000000000 -0800
++++ lib/ansicpg1252-gen
+@@ -0,0 +1,239 @@
++# RTF ANSI character set (\ansi) general map
++# These are taken from the ISO-Latin-1 (ISO-8859-1) encodings, with
++# a few additions
++
++# Field 1 is the standard character name which the character value in
++# field 2 maps onto. (It doesn't mean "to produce the character in field 1,
++# use the value in field 2.)
++
++# The character value may be given either as a single character (which will be
++# converted to the ASCII value of the character), or in numeric format, either
++# in decimal or 0xyy as hex yy. Single or double quotes may be used to quote
++# characters.
++
++# characters in ASCII range (00-127)
++
++formula 0x06
++nobrkhyphen 0x1e
++opthyphen 0x1f
++
++space " "
++exclam !
++quotedbl '"'
++numbersign #
++dollar $
++percent %
++ampersand &
++quoteright "'"
++parenleft (
++parenright )
++asterisk *
++plus +
++comma ,
++hyphen -
++period .
++slash /
++zero 0
++one 1
++two 2
++three 3
++four 4
++five 5
++six 6
++seven 7
++eight 8
++nine 9
++colon :
++semicolon ;
++less <
++equal =
++greater >
++question ?
++at @
++A A
++B B
++C C
++D D
++E E
++F F
++G G
++H H
++I I
++J J
++K K
++L L
++M M
++N N
++O O
++P P
++Q Q
++R R
++S S
++T T
++U U
++V V
++W W
++X X
++Y Y
++Z Z
++bracketleft [
++backslash \
++bracketright ]
++asciicircum ^
++underscore _
++quoteleft "`"
++a a
++b b
++c c
++d d
++e e
++f f
++g g
++h h
++i i
++j j
++k k
++l l
++m m
++n n
++o o
++p p
++q q
++r r
++s s
++t t
++u u
++v v
++w w
++x x
++y y
++z z
++braceleft {
++bar |
++braceright }
++asciitilde ~
++
++# non-ASCII characters (128-255)
++
++#euro 0x80
++quotesinglbase 0x82
++florin 0x83
++quotedblbase 0x84
++ellipsis 0x85
++dagger 0x86
++daggerdbl 0x87
++perthousand 0x89
++Scaron 0x8a
++guilsinglleft 0x8b
++OE 0x8c
++#Zcaron 0x8e
++quoteleft 0x91
++quoteright 0x92
++quotedblleft 0x93
++quotedblright 0x94
++bullet 0x95
++endash 0x96
++emdash 0x97
++tilde 0x98
++trademark 0x99
++#scaron 0x9a
++guilsinglright 0x9b
++oe 0x9c
++#zcaron 0x9e
++Ydieresis 0x9f
++nobrkspace 0xa0
++exclamdown 0xa1
++cent 0xa2
++sterling 0xa3
++currency 0xa4
++yen 0xa5
++brokenbar 0xa6
++section 0xa7
++dieresis 0xa8
Home |
Main Index |
Thread Index |
Old Index