diff options
author | will <will@FreeBSD.org> | 2001-03-11 02:18:43 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-03-11 02:18:43 +0000 |
commit | a4d9970f8230fd2b4c368475c75e18b641edc901 (patch) | |
tree | fe598045ac359f40a65abbcbeec5194bfcc11a1d /textproc/opensched/files | |
parent | 24dfd9528943e0880fded521f926c862ddb2e1e2 (diff) | |
download | FreeBSD-ports-a4d9970f8230fd2b4c368475c75e18b641edc901.zip FreeBSD-ports-a4d9970f8230fd2b4c368475c75e18b641edc901.tar.gz |
Add opensched 0.1.0, a project scheduler.
PR: 24758
Submitted by: Daniel McRobb <dwm@caimis.com>
Diffstat (limited to 'textproc/opensched/files')
-rw-r--r-- | textproc/opensched/files/patch-aa | 79 | ||||
-rw-r--r-- | textproc/opensched/files/patch-ab | 13 | ||||
-rw-r--r-- | textproc/opensched/files/patch-ac | 75 | ||||
-rw-r--r-- | textproc/opensched/files/patch-ad | 41 | ||||
-rw-r--r-- | textproc/opensched/files/patch-ae | 58 |
5 files changed, 266 insertions, 0 deletions
diff --git a/textproc/opensched/files/patch-aa b/textproc/opensched/files/patch-aa new file mode 100644 index 0000000..70368a5 --- /dev/null +++ b/textproc/opensched/files/patch-aa @@ -0,0 +1,79 @@ +*** Makefile.orig Tue Nov 16 04:02:39 1999 +--- Makefile Wed Jan 31 14:51:57 2001 +*************** +*** 13,26 **** + + build: opensched manpage + +! all: opensched printman test sample + + BINDIR=/usr/local/bin + MANDIR=/usr/local/man/man1 + + install: opensched manpage +! install -o root -g root -m 755 opensched $(BINDIR) +! install -o root -g root -m 755 doc/opensched.1 $(MANDIR) + + browseman: manpage + groff -t -man -Tlatin1 doc/opensched.1 | less +--- 13,26 ---- + + build: opensched manpage + +! all: opensched printman test + + BINDIR=/usr/local/bin + MANDIR=/usr/local/man/man1 + + install: opensched manpage +! install -o root -g 0 -m 755 src/opensched $(BINDIR) +! install -o root -g 0 -m 755 doc/opensched.1 $(MANDIR) + + browseman: manpage + groff -t -man -Tlatin1 doc/opensched.1 | less +*************** +*** 33,42 **** + + opensched: dummy + # opensched: +! (cd src; make opensched) + + gcc-dos: dummy +! pushd src; make gcc-dos; popd + + backup: veryclean + /bin/rm -rf opensched-`cat VERSION` +--- 33,42 ---- + + opensched: dummy + # opensched: +! (cd src; ${MAKE} opensched) + + gcc-dos: dummy +! pushd src; ${MAKE} gcc-dos; popd + + backup: veryclean + /bin/rm -rf opensched-`cat VERSION` +*************** +*** 66,75 **** + /bin/chmod 755 `find . -type d -or -name '*.sh' -or -name opensched` + + test: opensched dummy +! (cd test; make test) + + sample: opensched dummy +! (cd sample; make sample) + + dummy: + +--- 66,75 ---- + /bin/chmod 755 `find . -type d -or -name '*.sh' -or -name opensched` + + test: opensched dummy +! (cd test; ${MAKE} test) + + sample: opensched dummy +! (cd sample; ${MAKE} sample) + + dummy: + diff --git a/textproc/opensched/files/patch-ab b/textproc/opensched/files/patch-ab new file mode 100644 index 0000000..ef8cda7 --- /dev/null +++ b/textproc/opensched/files/patch-ab @@ -0,0 +1,13 @@ +*** test/Makefile.org Wed Jan 31 14:21:51 2001 +--- test/Makefile Wed Jan 31 14:22:01 2001 +*************** +*** 14,17 **** + dvips test -o test.ps + + test_gantt_1.eps: test.sched +! ../opensched test.sched +--- 14,17 ---- + dvips test -o test.ps + + test_gantt_1.eps: test.sched +! ../src/opensched test.sched diff --git a/textproc/opensched/files/patch-ac b/textproc/opensched/files/patch-ac new file mode 100644 index 0000000..4d4a8b7 --- /dev/null +++ b/textproc/opensched/files/patch-ac @@ -0,0 +1,75 @@ +*** src/print.c.org Wed Jan 31 14:29:34 2001 +--- src/print.c Wed Jan 31 14:30:44 2001 +*************** +*** 579,612 **** + + SortMilestones(); + +! fprintf(f, "\\subsection{Milestone List}\n\\label{milestones}\n\n"); +! +! fprintf(f, "\\begin{itemize}\n"); +! +! for ( i = 0; i < Nmilestones; ++i ) +! { + m = sorted_milestones[i].milestone; +! + fprintf(f, "\\item "); + if ( milestone_ids ) +! fprintf(f, "%s %s\\\\", +! TeXFix(buf1,m->id), +! TeXFix(buf2,m->name)); + else +! fprintf(f, "%s\\\\", +! TeXFix(buf2,m->name)); + fprintf(f, " \\emph{%s}\n\n", + days[m->day].s); + if ( m->bday != INVALIDDAYNO ) + { +! fprintf(f, "Baseline\\\\\emph{%s}\n", +! days[m->bday].s); + } + fprintf(f, "\n\n"); +! } +! +! fprintf(f, "\\end{itemize}\n\n"); + + fprintf(f,"\\subsection{Resources And Task Assignment}\n\n"); + + for( rl=reslist; rl!=NULL; rl=rl->next ) +--- 579,614 ---- + + SortMilestones(); + +! if (Nmilestones > 0) { +! fprintf(f, "\\subsection{Milestone List}\n\\label{milestones}\n\n"); +! +! fprintf(f, "\\begin{itemize}\n"); +! +! for ( i = 0; i < Nmilestones; ++i ) +! { + m = sorted_milestones[i].milestone; +! + fprintf(f, "\\item "); + if ( milestone_ids ) +! fprintf(f, "%s %s\\\\", +! TeXFix(buf1,m->id), +! TeXFix(buf2,m->name)); + else +! fprintf(f, "%s\\\\", +! TeXFix(buf2,m->name)); + fprintf(f, " \\emph{%s}\n\n", + days[m->day].s); + if ( m->bday != INVALIDDAYNO ) + { +! fprintf(f, "Baseline\\\\\emph{%s}\n", +! days[m->bday].s); + } + fprintf(f, "\n\n"); +! } + ++ fprintf(f, "\\end{itemize}\n\n"); ++ } ++ + fprintf(f,"\\subsection{Resources And Task Assignment}\n\n"); + + for( rl=reslist; rl!=NULL; rl=rl->next ) diff --git a/textproc/opensched/files/patch-ad b/textproc/opensched/files/patch-ad new file mode 100644 index 0000000..b6aa383 --- /dev/null +++ b/textproc/opensched/files/patch-ad @@ -0,0 +1,41 @@ +*** test/test.tex.org Wed Jan 31 14:26:20 2001 +--- test/test.tex Wed Jan 31 14:34:28 2001 +*************** +*** 1,4 **** +! \documentstyle[rotate,times,12pt,epsf,supertabular]{article} + \textwidth=7.0in + \textheight=8.0in + \oddsidemargin=-0.25in +--- 1,9 ---- +! \documentclass[dvips,12pt]{article} +! \usepackage{epsfig} +! \usepackage{supertabular} +! \usepackage{rotate} +! \usepackage{float} +! + \textwidth=7.0in + \textheight=8.0in + \oddsidemargin=-0.25in +*************** +*** 36,44 **** + + \section{GANTT Charts} + +! \centerline{ +! \rotate[l]{\epsfxsize=0.95\textheight \epsfbox{test_gantt_1.eps}} +! } + + \end{document} + +--- 41,51 ---- + + \section{GANTT Charts} + +! \begin{figure}[H] +! \begin{center} +! \epsfig{figure=./test_gantt_1.eps,width=8in,angle=270} +! \end{center} +! \end{figure} + + \end{document} + diff --git a/textproc/opensched/files/patch-ae b/textproc/opensched/files/patch-ae new file mode 100644 index 0000000..45a6cfb --- /dev/null +++ b/textproc/opensched/files/patch-ae @@ -0,0 +1,58 @@ +*** src/graph.c.org Wed Jan 31 15:15:27 2001 +--- src/graph.c Wed Jan 31 15:22:39 2001 +*************** +*** 66,71 **** +--- 66,95 ---- + fprintf(f," fill\n"); + fprintf(f," } def\n"); + ++ fprintf(f,"/REDBOX\n"); ++ fprintf(f," {\n"); ++ fprintf(f," /y2 exch def /y1 exch def /x2 exch def /x1 exch def\n"); ++ fprintf(f," x1 y1 moveto\n"); ++ fprintf(f," x2 y1 lineto\n"); ++ fprintf(f," x2 y2 lineto\n"); ++ fprintf(f," x1 y2 lineto\n"); ++ fprintf(f," closepath\n"); ++ fprintf(f," 1 %f %f setrgbcolor\n",tg_gray,tg_gray); ++ fprintf(f," fill\n"); ++ fprintf(f," } def\n"); ++ ++ fprintf(f,"/BLUEBOX\n"); ++ fprintf(f," {\n"); ++ fprintf(f," /y2 exch def /y1 exch def /x2 exch def /x1 exch def\n"); ++ fprintf(f," x1 y1 moveto\n"); ++ fprintf(f," x2 y1 lineto\n"); ++ fprintf(f," x2 y2 lineto\n"); ++ fprintf(f," x1 y2 lineto\n"); ++ fprintf(f," closepath\n"); ++ fprintf(f," %f %f 1 setrgbcolor\n",tg_gray,tg_gray); ++ fprintf(f," fill\n"); ++ fprintf(f," } def\n"); ++ + fprintf(f,"/OUTLINE\n"); + fprintf(f," {\n"); + fprintf(f," /y2 exch def /y1 exch def /x2 exch def /x1 exch def\n"); +*************** +*** 267,273 **** + for( i=tb->start; i<=tb->finish; ++i ) + { + tb_x1 = MapX( i, start, finish ); +! fprintf(f,"%d %d %d %d BOX\n", tb_x1, tb_x1+tg_width, tb_y1, tb_y2); + } + } + +--- 291,303 ---- + for( i=tb->start; i<=tb->finish; ++i ) + { + tb_x1 = MapX( i, start, finish ); +! if (t->children > 0) +! fprintf(f,"%d %d %d %d REDBOX\n", +! tb_x1, tb_x1+tg_width, tb_y1, tb_y2); +! else +! fprintf(f,"%d %d %d %d BLUEBOX\n", +! tb_x1, tb_x1+tg_width, tb_y1, tb_y2); +! + } + } + |