Package list unrtf / c784b47
Imported Debian patch 0.19.3-1.1 Joey Hess authored 17 years ago Willi Mann committed 9 years ago
11 changed file(s) with 284 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
2424 #
2525
2626
27 CFLAGS=-g -Wall
27 CFLAGS=-g -O2 -Wall
2828 CC=gcc
2929
3030 OBJS=convert.o word.o error.o main.o hash.o \
5656 rm -f ${OBJS}
5757
5858 install: ${TARGET}
59 cp ${TARGET} /usr/local/bin
59 cp ${TARGET} ${DESTDIR}/usr/bin
6060
6161 attr.o: attr.c defs.h error.h attr.h main.h malloc.h
6262 convert.o: convert.c attr.h convert.h defs.h error.h hash.h main.h malloc.h \
5252 extern int simulate_smallcaps;
5353
5454
55 #define MAX_ATTRS (1000)
55 #define MAX_ATTRS (10000)
5656
5757
5858
286286 char *name;
287287 } FontEntry;
288288
289 #define MAX_FONTS (256)
289 #define MAX_FONTS (8192)
290290 static FontEntry font_table[MAX_FONTS];
291291 static int total_fonts=0;
292292
326326 CHECK_PARAM_NOT_NULL(w);
327327
328328 while(w) {
329 int num;
329 int num, name_size;
330330 char name[255];
331331 char *tmp;
332332
340340 while(w2) {
341341 tmp = word_string (w2);
342342 if (tmp && tmp[0] != '\\')
343 strcat(name,tmp);
343 strncat(name,tmp,sizeof(name) - strlen(name) - 1);
344344
345345 w2=w2->next;
346346 }
585585 unsigned char r,g,b;
586586 } Color;
587587
588 #define MAX_COLORS (256)
588 #define MAX_COLORS (1024)
589589 static Color color_table[MAX_COLORS];
590590 static int total_colors=0;
591591
0 unrtf (0.19.3-1.1) unstable; urgency=HIGH
1
2 * NMU
3 * Fix buffer overflow in process_font_table (CAN-2004-1297) Closes: #287038
4
5 -- Joey Hess <joeyh@debian.org> Sat, 25 Dec 2004 20:07:43 -0500
6
7 unrtf (0.19.3-1) unstable; urgency=low
8
9 * New upstream release
10 * Closes: #227730: binaries removed
11 * Closes: #227731: new mime entry
12 * Closes: #225592: null pointer param in convert.c
13
14 -- Christian Surchi <csurchi@debian.org> Wed, 2 Jun 2004 19:41:55 +0200
15
16 unrtf (0.19.0-1) unstable; urgency=low
17
18 * New upstream release
19 * Let's acknoledge changes from NMUs
20 * Closes: #195061: FTBFS with gcc-3.3: Uses multiline strings
21 * Closes: #140824: unrtf segfaults with a particular file
22 * Closes: #145027: segfault on large rtf file
23 * Closes: #210930: segfault with
24 http://www.wizards.com/d20/files/v35/Races.rtf
25 * Closes: #215102: dumps core on given file
26
27 -- Christian Surchi <csurchi@debian.org> Sat, 27 Dec 2003 16:58:09 +0100
28
29 unrtf (0.18.1-2.3) unstable; urgency=low
30
31 * Decreased MAX_ATTRS to 10000, this clears up segfaults that seem to be
32 because it's too large. Closes: #210930, #215102
33
34 -- Joey Hess <joeyh@debian.org> Tue, 28 Oct 2003 16:08:03 -0500
35
36 unrtf (0.18.1-2.2) unstable; urgency=low
37
38 * NMU
39 * Increased MAX_FONTS from 256 to 8192 to avoid segfaulting on documents
40 with many fonts. Of course this should not be a hardcoded limit at all.
41 Closes: #140824
42 * Increased MAX_ATTRS from 1000 to 100000 to avoid segfaulting on other
43 documents.
44 Closes: #145027
45 * Increased MAX_COLORS from 256 to 1024 on general principles.
46
47 -- Joey Hess <joeyh@debian.org> Sun, 31 Aug 2003 20:37:50 -0400
48
49 unrtf (0.18.1-2.1) unstable; urgency=low
50
51 * NMU. Debcamp BSP
52 * Patched ps.c to fix build problems with GCC 3.3
53 Thanks Jakob Hilmer for the patch (Closes: #195061)
54
55 -- Alberto Gonzalez Iniesta <agi@agi.as> Mon, 14 Jul 2003 15:34:21 +0200
56
57 unrtf (0.18.1-2) unstable; urgency=low
58
59 * Added mime-support (Thanks to Horms) (Closes:#130865,#138852)
60
61 -- Christian Surchi <csurchi@debian.org> Sun, 24 Mar 2002 17:56:42 +0100
62
63 unrtf (0.18.1-1) unstable; urgency=low
64
65 * New upstream release, package name changed from rtf2htm to unrtf
66 (Closes:#128721,#135950)
67
68 -- Christian Surchi <csurchi@debian.org> Sat, 2 Mar 2002 19:42:00 +0100
69
70 rtf2htm (0.13.2-1) unstable; urgency=low
71
72 * New upstream release
73 * New maintainer (Closes: #100258)
74
75 -- Christian Surchi <csurchi@debian.org> Sun, 10 Jun 2001 16:20:44 +0200
76
77 rtf2htm (0.13.1-1) unstable; urgency=low
78
79 * New upstream release.
80 * Deleted DOS and Windows binaries.
81 * Again removed the original manpage which is still broken, and which is
82 here again replaced by an updated Debian specific manpage.
83
84 -- Dr. Guenter Bechly <gbechly@debian.org> Sun, 22 Apr 2001 13:02:59 +0200
85
86 rtf2htm (0.12.8-1) unstable; urgency=low
87
88 * New upstream release.
89 * Removed the precompiled windows binary and the broken original manpage
90 from the sources.
91 * Fixed Makefile again.
92 * Merged the content of the (totally broken) original manpage with Debian's
93 manpage for this utility.
94 * Corrected control, copyright, docs, and rules file for this new release.
95 * Removed the obsolete README.Debian file.
96 * Updated to the latest standards version.
97
98 -- Dr. Guenter Bechly <gbechly@debian.org> Mon, 9 Apr 2001 19:32:38 +0200
99
100 rtf2htm (0.12.7-4) unstable; urgency=low
101
102 * Corrected typo in copyright file.
103
104 -- Dr. Guenter Bechly <gbechly@debian.org> Thu, 29 Mar 2001 13:39:58 +0200
105
106 rtf2htm (0.12.7-3) unstable; urgency=low
107
108 * Removed useless menu entry; closes: #85889
109
110 -- Dr. Guenter Bechly <gbechly@debian.org> Wed, 14 Feb 2001 19:15:48 +0100
111
112 rtf2htm (0.12.7-2) unstable; urgency=low
113
114 * Just a clean-up of the source package.
115
116 -- Dr. Guenter Bechly <gbechly@debian.org> Thu, 11 Jan 2001 23:01:49 +0100
117
118 rtf2htm (0.12.7-1) unstable; urgency=low
119
120 * Initial Release, closes: Bug #80791.
121 * Adjusted the Makefile to fix $DESTDIR problems.
122 * Wrote a manpage.
123
124 -- Dr. Guenter Bechly <gbechly@debian.org> Thu, 28 Dec 2000 20:03:00 +0100
125
0 Source: unrtf
1 Section: text
2 Priority: optional
3 Maintainer: Christian Surchi <csurchi@debian.org>
4 Build-Depends: debhelper (>> 3.0.0)
5 Standards-Version: 3.6.1
6
7 Package: unrtf
8 Architecture: any
9 Depends: ${shlibs:Depends}
10 Replaces: rtf2htm
11 Conflicts: rtf2htm
12 Description: RTF to other formats converter
13 UnRTF is a moderately complicated converter from RTF to other
14 formats, including HTML, LaTeX, text, and PostScript. Converting
15 to HTML, it supports tables, fonts, colors, embedded images,
16 hyperlinks, paragraph alignment among other things. All other
17 conversions are "alpha"--just begun.
0 This package was debianized by Christian Surchi <csurchi@debian.org> on
1 Sat, 2 Mar 2002 19:42:00 +0100.
2
3 rtf2htm was debianized by Dr. Guenter Bechly <gbechly@debian.org> on
4 Thu, 28 Dec 2000 20:03:00 +0100.
5
6 The Debian maintainer is Christian Surchi <csurchi@debian.org>
7
8
9 It was downloaded from ftp://ftp.gnu.org/pub/gnu/unrtf/
10
11 Upstream Author: Dave Davey <daved@physiol.usyd.edu.au>
12 Marcos S. Amaral <marcossamaral@terra.com.br>
13 Zachary Thayer Smith <tuorfa@yahoo.com>
14
15
16 Copyright: (C) 2000,2001 Zachary Thayer Smith
17
18 You are free to distribute this software under the terms of
19 the GNU General Public Licence.
20
21 On Debian systems, the complete text of the GNU General Public
22 Licence can be found in /usr/share/common-licenses/GPL file.
23
0 /usr/bin
0 README
1 TODO
2 test/
3
0 #!/usr/bin/make -f
1 # Sample debian/rules that uses debhelper.
2 # GNU copyright 1997 to 1999 by Joey Hess.
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 # This is the debhelper compatibility version to use.
8 export DH_COMPAT=3
9
10 # These are used for cross-compiling and for saving the configure script
11 # from having to guess our platform (since we know it already)
12 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
13 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
14
15 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
16 CFLAGS += -g
17 endif
18 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
19 INSTALL_PROGRAM += -s
20 endif
21
22 configure: configure-stamp
23 configure-stamp:
24 dh_testdir
25 # Add here commands to configure the package.
26
27
28 touch configure-stamp
29
30 build: build-stamp
31
32 build-stamp: configure-stamp
33 dh_testdir
34
35 # Add here commands to compile the package.
36 $(MAKE)
37 #/usr/bin/docbook-to-man debian/unrtf.sgml > unrtf.1
38
39 touch build-stamp
40
41 clean:
42 dh_testdir
43 dh_testroot
44 rm -f build-stamp configure-stamp
45
46 # Add here commands to clean up after the build process.
47 -$(MAKE) clean
48
49 dh_clean
50
51 install: build
52 dh_testdir
53 dh_testroot
54 dh_clean -k
55 dh_installdirs
56
57 # Add here commands to install the package into debian/unrtf.
58 $(MAKE) install DESTDIR=$(CURDIR)/debian/unrtf
59
60
61 # Build architecture-independent files here.
62 binary-indep: build install
63 # We have nothing to do by default.
64
65 # Build architecture-dependent files here.
66 binary-arch: build install
67 dh_testdir
68 dh_testroot
69 # dh_installdebconf
70 dh_installdocs
71 install -m644 doc/unrtf.html `pwd`/debian/unrtf/usr/share/doc/unrtf
72 # dh_installexamples
73 # dh_installmenu
74 # dh_installlogrotate
75 # dh_installemacsen
76 # dh_installpam
77 dh_installmime
78 # dh_installinit
79 # dh_installcron
80 dh_installman unrtf.1
81 # dh_installinfo
82 # dh_undocumented
83 dh_installchangelogs CHANGES
84 dh_link
85 dh_strip
86 dh_compress usr/share/doc/unrtf/test/sizes.rtf usr/share/doc/unrtf/test/super.rtf usr/share/doc/unrtf/test/toggle.rtf
87 dh_fixperms
88 # dh_makeshlibs
89 dh_installdeb
90 # dh_perl
91 dh_shlibdeps
92 dh_gencontrol
93 dh_md5sums
94 dh_builddeb
95
96 binary: binary-indep binary-arch
97 .PHONY: build clean binary-indep binary-arch binary install configure
0 application/rtf; unrtf --text %s ; copiousoutput; description=RTF Document; print=unrtf --text %s | print text/plain:-
0 # Example watch control file for uscan
1 # Rename this file to "watch" and then you can run the "uscan" command
2 # to check for upstream updates and more.
3 # Site Directory Pattern Version Script
4 ftp.gnu.org /pub/gnu/unrtf unrtf-(.*)\.tar\.gz debian uupdate