Use PIC instead of LaTeX to draw the diagram of the FreeBSD release

branches.

Submitted by: des (mostly)
This commit is contained in:
Murray Stokely 2002-01-02 01:15:35 +00:00
parent 0e36f3ddca
commit a3dbc7358e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11560
3 changed files with 100 additions and 77 deletions

View file

@ -16,14 +16,12 @@ SRCS= article.sgml branches.ascii
# IMAGES
IMAGES= branches.eps
CLEANFILES+= branch.aux branch.log branch.dvi
CLEANFILES+= branches.ps branches.eps
DOC_PREFIX?= ${.CURDIR}/../../..
branch.dvi: branch.tex
${LATEX} branch.tex
branches.eps: branch.dvi
${DVIPS} -o ${.TARGET} -E branch.dvi
branches.eps: branches.pic
${PIC2PS} branches.pic > branches.ps
${PS2EPS} branches.ps branches.eps
.include "${DOC_PREFIX}/share/mk/doc.project.mk"

View file

@ -1,71 +0,0 @@
% $FreeBSD$
%
\documentclass{article}
\usepackage{epsfig}
\pagestyle{empty}
\begin{document}
\begin{figure*}
\caption{FreeBSD Development Branches}
\setlength{\unitlength}{1cm}
% define x, y dimensions in units so 10cm x 10cm
\begin{picture}(15, 8.5)
\footnotesize
% Ovals for the HEAD branch points.
\put(.75, .5){\dashbox{0.2}(2.5, 1)}
\put(2, 2.5){\oval(2.5, 1)}
\put(.75, 3.5){\dashbox{0.2}(2.5, 1)}
\put(2, 5.5){\oval(2.5, 1)}
\put(.75, 6.5){\framebox(2.5, 1){3.0-RELEASE}}
\put(2, 8){\vector(0,-1){.5}}
% Label the HEAD branch
\put(0, 4){\tt \shortstack{H\\E\\A\\D}}
%\multiput(2,1)(0, 1.5){5}{\oval(2.5, 1)}
% Labels for the HEAD branch points.
\put(1,1){\parbox{2.5cm}{5.0-CURRENT}}
\put(1,2.5){\parbox{2.5cm}{4.0-RELEASE}}
\put(1,4){4.0-CURRENT}
\put(1,5.5){3.1-RELEASE}
% Boxes for the 3.x releases
\put(3.75, 5.0){\framebox(1.25,1){3.2R}}
\put(5.5, 5.0){\framebox(1.25,1){3.3R}}
\put(7.25, 5.0){\framebox(1.25,1){3.4R}}
\put(9, 5.0){\framebox(1.25,1){3.5R}}
\put(10.75, 5.0){\framebox(1.25,1){3.5.1R}}
\put(12.5, 5.0){\dashbox{0.2}(2,1){3.x-STABLE}}
% Lines to connect the 3.x releases.
\multiput(3.25,5.5)(1.75,0){6}{\vector(1,0){.5}}
% Boxes for the 4.x releases
\put(3.75, 2.0){\framebox(1.25,1){4.1R}}
\put(5.5, 2.0){\framebox(1.25,1){4.1.1R}}
\put(7.25, 2.0){\framebox(1.25,1){4.2R}}
\put(9, 2.0){\framebox(1.25,1){4.3R}}
\put(10.75, 2.0){\framebox(1.25,1){4.4R}}
\put(12.5, 2.0){\dashbox{0.2}(2,1){4.x-STABLE}}
% Lines to connect the 4.x releases.
\multiput(3.25,2.5)(1.75,0){6}{\vector(1,0){.5}}
% Lines to connect the HEAD branch points.
\multiput(2,2)(0, 1.5){4}{\vector(0,-1){.5}}
% RELENG_4_[34] branches
\put(8.75, .5){\dashbox{0.2}(1.5, 1){\tt RELENG\_4\_3}}
\put(10.75, .5){\dashbox{0.2}(1.5, 1){\tt RELENG\_4\_4}}
% Lines to those branches
\put(9.75, 2){\vector(0,-1){.5}}
\put(11.25, 2){\vector(0,-1){.5}}
%\put(
%and RELENG_4_4Lines about RELENG_4_3 and RELENG_4_4
%% Now add some general labels
\put(8,6.5){\tt RELENG\_3}
\put(8,3.5){\tt RELENG\_4}
\end{picture}
\end{figure*}
\end{document}

View file

@ -0,0 +1,96 @@
.\" -*- nroff -*-
.\" $FreeBSD$
.PS
HEAD_3:
box width .9 "3.0-CURRENT" dashed
line -> down from HEAD_3.s
RELENG_3_0_0_RELEASE:
box width .9 "3.0-RELEASE"
move right 3
"RELENG_3"
line -> down from RELENG_3_0_0_RELEASE.s
RELENG_3_1_0_RELEASE:
ellipse width .9 "3.1-RELEASE"
move left .75
"H"
move down .15
"E"
move down .15
"A"
move down .15
"D"
line -> right from RELENG_3_1_0_RELEASE.e
RELENG_3_2_0_RELEASE:
box width .5 "3.2R"
line -> right from RELENG_3_2_0_RELEASE.e
RELENG_3_3_0_RELEASE:
box width .5 "3.3R"
line -> right from RELENG_3_3_0_RELEASE.e
RELENG_3_4_0_RELEASE:
box width .5 "3.4R"
line -> right from RELENG_3_4_0_RELEASE.e
RELENG_3_5_0_RELEASE:
box width .5 "3.5R"
line -> right from RELENG_3_5_0_RELEASE.e
RELENG_3_5_1_RELEASE:
box width .5 "3.5.1R"
line -> right from RELENG_3_5_1_RELEASE.e
RELENG_3:
box "3-STABLE"
line -> down from RELENG_3_1_0_RELEASE.s
HEAD_4:
box width .9 "4.0-CURRENT" dashed
move right 3
"RELENG_4"
line -> down from HEAD_4.s
RELENG_4_0_0_RELEASE:
ellipse width .9 "4.0-RELEASE"
line -> right from RELENG_4_0_0_RELEASE.e
RELENG_4_1_0_RELEASE:
box width .5 "4.1R"
line -> right from RELENG_4_1_0_RELEASE.e
RELENG_4_1_1_RELEASE:
box width .5 "4.1.1R"
line -> right from RELENG_4_1_1_RELEASE.e
RELENG_4_2_0_RELEASE:
box width .5 "4.2R"
line -> right from RELENG_4_2_0_RELEASE.e
RELENG_4_3_0_RELEASE:
ellipse width .5 "4.3R"
line -> down from RELENG_4_3_0_RELEASE.s
RELENG_4_3:
box width .9 "RELENG_4_3" dashed
line -> right from RELENG_4_3_0_RELEASE.e
RELENG_4_4_0_RELEASE:
ellipse width .5 "4.4R"
line -> down from RELENG_4_4_0_RELEASE.s
RELENG_4_4:
box width .9 "RELENG_4_4" dashed
line -> right from RELENG_4_4_0_RELEASE.e
RELENG_4:box "4-STABLE"
line -> down from RELENG_4_0_0_RELEASE.s
HEAD_5:
box width .9 "5.0-CURRENT" dashed
.PE