Skip to content

Commit ec372c5

Browse files
committed
fig2dev: Update to 3.2.7b
Patchlevel 7b (Oct 2019) NEW FEATURES: o A X color database is not needed, but can be provided. The location of the database can be given at compile time, default /etc/X11/rgb.txt. BUGS FIXED: Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. Debian bug numbers refer to https://bugs.debian.org/#. o Do not clip objects with line-thickness 0 having arrows. Ticket #53. o Do not segfault on circle/half circle arrowheads with a magnification larger 42. Always draw circle arrowheads with 40 points. Ticket #52. o Allow circles or ellipses with negative radii. Ticket #49. o Avoid "dimension too large error" with tikz output by avoiding coordinate values smaller than -16383. o Make tests (test1.c) work with -fsanitize=address compiler option. o Obey join-style of lines in tikz output. o Pass utf8-strings to svg output, escape some chars (<>&). o Accept inclined boxes and change them to polygons. Fixes ticket #43. o Make tests #27 and #33 work on Mac Darwin, failed due to whitespace formatting differences. From Hanspeter Niederstrasser. Ticket #40. o Use only latex, neither etex or tex, to test tikz output. Usage of etex, after hint from Roland Rosenfeld, closed debian bug 920368. o For tikz output, do not draw arrows on a single point line. o Omit spurious showpage when including jpg-file. From Rainer Buchty. o Correct a few memory leaks and corruptions. See commit d1c54f6. o Change negative color numbers to default color. Fixes ticket #30. o A spline with one point would cause segfault. Fixed, see ticket #29. o Allow one char without newline in the last line of an input file. Fixes ticket #28. o Harden input, mainly against files in which an incomplete object would be created and freeing the object would violate memory, i.e, it may cause segfault. See, e.g., ticket #27. o Properly initalize line storage when reading fig files version 1.3. Would segfault when reading incomplete line and trying to free it. Fixes ticket #26, debian bug 906743. o Silently ignore the hundred-first and more comment lines. This fixes ticket #25 and debian bug 906740. o Use SetFigFont, not SetFigFontNFSS in pictex output. Fixes https://bugs.launchpad.net/ubuntu/+source/transfig/+bug/1359485 . o Accept blanks in color names (e.g., fig2dev -L eps -g"Misty Rose"..). o Correct typos in man-pages, debian 30_man_typo.patch. ------------------------------------- Patchlevel 7a (May 2018) NEW FEATURES: o Add option -w, wrap (create stand-alone perl file) for Perl/Tk output. o Distribute the X bitmaps files within fig2dev, no need to install these files. The files were needed for Tk and Perl/Tk output. BUGS FIXED: Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. o Fix regression whereupon flipped ellipses were not read. Ticket #23. o Distribute i18n files ru_RU.CP1251.ps and uk_UA.KOI8-U.ps. o Make test "survive debian bug #890016" succeed on 32 bit systems. ------------------------------------- Patchlevel 7 (April 2018) OPTION LETTER CHANGES: o Language previous option current option ------------------------------------------------------------ cgm -b dummy -a epic -A scale -d scale eepic -A scale -d scale eepicemu -A scale -d scale gbx -i on|off -v ibmgl -m mag,xoff,yoff -m mag -x xoff -y yoff mp -I file -d file ps -S dummy -o NEW FEATURES: o Print language-specific help text by using fig2dev -L lang -h. o Add option -M, multipage, for MetaPost output language. o Add option -P, pagemode, and -z to choose a pagesize for pdf output. o Add option -W (scaling of figures not possible) for tikz. o Add option -b, border width, for LaTeX output language. o Add option -f for pstex_t and pdftex_t output language. o Add uk_UA and ru_RU encodings for PostScript output. Ticket #12. BUGS FIXED: o Update help text: Output help for dxf and textyl output language, add description of -g option for Tk/Tcl and Perl/Tk output, allow -f option for pstex_t and pdftex_t output language. Debian bug numbers refer to https://bugs.debian.org/#. Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. o Sanitize input. Do not segfault on malformed input files. Fixes debian bugs 881143, 881144, 881396, 890015, 890016, 882021 and also 882022. o Do not put an %%Orientation: comment into PostScript output. Some viewers would rotate the resulting file, others not. o Fix build on NetBSD, which has a _setmode() function different from _setmode() on Windows. Ticket #17. Also, avoid alloca(). Ticket #16. o tikz output: Omit the semicolon after \pgftext[..]{...};. o Define PostScript patterns with larger tiles, may render better. #13 o Fix build in case libXpm is missing. Ticket #15. o Use netpbm programs instead of ghostscript, to produce smaller files. o Correctly embed eps files with binary preview (epsi, typically found on Microsoft systems). Also, allow to embed ps-files. Fixes debian bug 248807, ticket #8. o For compilation, do not depend on PATH_MAX being defined.
1 parent 4b272ea commit ec372c5

File tree

6 files changed

+16
-99
lines changed

6 files changed

+16
-99
lines changed

print/fig2dev/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.4 2020/03/20 11:58:13 nia Exp $
1+
# $NetBSD: Makefile,v 1.5 2020/05/12 10:31:35 nia Exp $
22

3-
DISTNAME= fig2dev-3.2.6a
3+
DISTNAME= fig2dev-3.2.7b
44
CATEGORIES= graphics print
55
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcj/}
66
EXTRACT_SUFX= .tar.xz

print/fig2dev/PLIST

+3-51
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,10 @@
1-
@comment $NetBSD: PLIST,v 1.1 2017/10/03 14:59:08 wiz Exp $
1+
@comment $NetBSD: PLIST,v 1.2 2020/05/12 10:31:35 nia Exp $
22
bin/fig2dev
33
bin/fig2ps2tex
44
bin/pic2tpic
55
man/man1/fig2dev.1
66
man/man1/fig2ps2tex.1
77
man/man1/pic2tpic.1
8-
share/fig2dev/bitmaps/bricks.bmp
9-
share/fig2dev/bitmaps/circles.bmp
10-
share/fig2dev/bitmaps/crosshatch.bmp
11-
share/fig2dev/bitmaps/crosshatch30.bmp
12-
share/fig2dev/bitmaps/crosshatch45.bmp
13-
share/fig2dev/bitmaps/dash.bmp
14-
share/fig2dev/bitmaps/dashDot.bmp
15-
share/fig2dev/bitmaps/dashDotDot.bmp
16-
share/fig2dev/bitmaps/dashDotDotDot.bmp
17-
share/fig2dev/bitmaps/dot.bmp
18-
share/fig2dev/bitmaps/fishscales.bmp
19-
share/fig2dev/bitmaps/hexagons.bmp
20-
share/fig2dev/bitmaps/horiz_saw.bmp
21-
share/fig2dev/bitmaps/horizontal.bmp
22-
share/fig2dev/bitmaps/left30.bmp
23-
share/fig2dev/bitmaps/left45.bmp
24-
share/fig2dev/bitmaps/leftshingle.bmp
25-
share/fig2dev/bitmaps/octagons.bmp
26-
share/fig2dev/bitmaps/p13.bmp
27-
share/fig2dev/bitmaps/right30.bmp
28-
share/fig2dev/bitmaps/right45.bmp
29-
share/fig2dev/bitmaps/rightshingle.bmp
30-
share/fig2dev/bitmaps/small_fishscales.bmp
31-
share/fig2dev/bitmaps/sp0.bmp
32-
share/fig2dev/bitmaps/sp1.bmp
33-
share/fig2dev/bitmaps/sp10.bmp
34-
share/fig2dev/bitmaps/sp11.bmp
35-
share/fig2dev/bitmaps/sp12.bmp
36-
share/fig2dev/bitmaps/sp13.bmp
37-
share/fig2dev/bitmaps/sp14.bmp
38-
share/fig2dev/bitmaps/sp15.bmp
39-
share/fig2dev/bitmaps/sp16.bmp
40-
share/fig2dev/bitmaps/sp17.bmp
41-
share/fig2dev/bitmaps/sp18.bmp
42-
share/fig2dev/bitmaps/sp19.bmp
43-
share/fig2dev/bitmaps/sp2.bmp
44-
share/fig2dev/bitmaps/sp20.bmp
45-
share/fig2dev/bitmaps/sp3.bmp
46-
share/fig2dev/bitmaps/sp4.bmp
47-
share/fig2dev/bitmaps/sp5.bmp
48-
share/fig2dev/bitmaps/sp6.bmp
49-
share/fig2dev/bitmaps/sp7.bmp
50-
share/fig2dev/bitmaps/sp8.bmp
51-
share/fig2dev/bitmaps/sp9.bmp
52-
share/fig2dev/bitmaps/vert_bricks.bmp
53-
share/fig2dev/bitmaps/vert_leftshingle.bmp
54-
share/fig2dev/bitmaps/vert_rightshingle.bmp
55-
share/fig2dev/bitmaps/vert_saw.bmp
56-
share/fig2dev/bitmaps/vertical.bmp
578
share/fig2dev/i18n/cs_CZ.ps
589
share/fig2dev/i18n/hr_HR.ps
5910
share/fig2dev/i18n/hu_HU.ps
@@ -70,7 +21,8 @@ share/fig2dev/i18n/ko_KR.ps
7021
share/fig2dev/i18n/korean.ps
7122
share/fig2dev/i18n/pl_PL.ps
7223
share/fig2dev/i18n/ro_RO.ps
24+
share/fig2dev/i18n/ru_RU.CP1251.ps
7325
share/fig2dev/i18n/ru_RU.KOI8-R.ps
7426
share/fig2dev/i18n/sk_SK.ps
7527
share/fig2dev/i18n/sl_SI.ps
76-
share/fig2dev/rgb.txt
28+
share/fig2dev/i18n/uk_UA.KOI8-U.ps

print/fig2dev/distinfo

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
$NetBSD: distinfo,v 1.3 2020/03/12 17:40:44 wiz Exp $
1+
$NetBSD: distinfo,v 1.4 2020/05/12 10:31:35 nia Exp $
22

3-
SHA1 (fig2dev-3.2.6a.tar.xz) = e09145435f3306010eb006f9d7e118fccf77cd2b
4-
RMD160 (fig2dev-3.2.6a.tar.xz) = 0498c32afdd4df51a54d513d1de8f9cc00997bf8
5-
SHA512 (fig2dev-3.2.6a.tar.xz) = 082c4d75c66187dc2bd7f3a50b6e117f03f495030fa89d6f70270e15b8f00647a94365e10797c5b1889b4ed1400d3fa6f4a3821e744c79b4483403a930e7d77f
6-
Size (fig2dev-3.2.6a.tar.xz) = 507820 bytes
7-
SHA1 (patch-fig2dev_dev_readjpg.c) = 705414eb61cdbd257b7a3bc8f500a0580b21acab
8-
SHA1 (patch-fig2dev_fig2dev.c) = 5b52728ee9f9e6888b8e83d2e6ef346a74b35a81
9-
SHA1 (patch-fig2dev_tests_atlocal.in) = 3136991e18591227b4b3176d0fe88087b4281e78
3+
SHA1 (fig2dev-3.2.7b.tar.xz) = 8097c178b7fff1023112250938cc87837c0f564e
4+
RMD160 (fig2dev-3.2.7b.tar.xz) = 133011bf9d998464b87fc952a739a58307cfb270
5+
SHA512 (fig2dev-3.2.7b.tar.xz) = 134023febf935e76bd5e45695e3718f6af823297743045cf5aaf91136047d8f217785cd150667aa893f8424430bf60e36cad907419118f27fee75aafb02cbe41
6+
Size (fig2dev-3.2.7b.tar.xz) = 512224 bytes
7+
SHA1 (patch-fig2dev_tests_atlocal.in) = a4440e467472ba02b8a67cab0287f5859a5eb631

print/fig2dev/patches/patch-fig2dev_dev_readjpg.c

-17
This file was deleted.

print/fig2dev/patches/patch-fig2dev_fig2dev.c

-17
This file was deleted.

print/fig2dev/patches/patch-fig2dev_tests_atlocal.in

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
$NetBSD: patch-fig2dev_tests_atlocal.in,v 1.1 2020/03/12 17:40:44 wiz Exp $
1+
$NetBSD: patch-fig2dev_tests_atlocal.in,v 1.2 2020/05/12 10:31:35 nia Exp $
22

33
Fix unportable test(1) operator.
44

5-
--- fig2dev/tests/atlocal.in.orig 2016-02-14 20:54:26.000000000 +0000
5+
--- fig2dev/tests/atlocal.in.orig 2018-02-17 22:11:57.000000000 +0000
66
+++ fig2dev/tests/atlocal.in
7-
@@ -1,6 +1,6 @@
8-
# @configure_input@
7+
@@ -18,7 +18,7 @@
8+
# atlocal.in
9+
# Author: Thomas Loimer, 2017, 2018
910

1011
-if test x"@abs_top_builddir@" == x"@abs_top_srcdir@"; then
1112
+if test x"@abs_top_builddir@" = x"@abs_top_srcdir@"; then

0 commit comments

Comments
 (0)