From c9ecf93fea14f015d7b1b84e286576b988214a1d Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 7 Jan 2008 21:53:17 +0000 Subject: Upgrade to version 0.1.2.3. --- devel/simulavr/Makefile | 6 +- devel/simulavr/distinfo | 6 +- devel/simulavr/files/patch-configure | 11 -- devel/simulavr/files/patch-doc-texinfo.tex | 259 ----------------------------- devel/simulavr/files/patch-src-avrcore.c | 10 -- devel/simulavr/pkg-plist | 3 +- 6 files changed, 8 insertions(+), 287 deletions(-) delete mode 100644 devel/simulavr/files/patch-configure delete mode 100644 devel/simulavr/files/patch-doc-texinfo.tex delete mode 100644 devel/simulavr/files/patch-src-avrcore.c (limited to 'devel/simulavr') diff --git a/devel/simulavr/Makefile b/devel/simulavr/Makefile index 0f3a97471776..2dc16d889fd8 100644 --- a/devel/simulavr/Makefile +++ b/devel/simulavr/Makefile @@ -7,12 +7,12 @@ PORTNAME= simulavr PORTVERSION= 0.1.2 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} # special name only this time, don't let this go into ${PORTVERSION} -DISTNAME= ${PORTNAME}-${PORTVERSION}.2 +DISTNAME= ${PORTNAME}-${PORTVERSION}.3 MAINTAINER= joerg@FreeBSD.org COMMENT= A simulator for AVR microcontrollers @@ -27,7 +27,7 @@ USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= -CONFIGURE_ARGS= --disable-versioned-doc +CONFIGURE_ARGS= --disable-versioned-doc --enable-pdf MAN1= simulavr.1 simulavr-disp.1 INFO= simulavr diff --git a/devel/simulavr/distinfo b/devel/simulavr/distinfo index a7d0671d6b25..0d0d8d9cb475 100644 --- a/devel/simulavr/distinfo +++ b/devel/simulavr/distinfo @@ -1,3 +1,3 @@ -MD5 (simulavr-0.1.2.2.tar.gz) = 7fa27cddaa3397046538bf5b916fdc11 -SHA256 (simulavr-0.1.2.2.tar.gz) = 361b63be6371d23ddfbc064565b0262456c35672dc2f2624801ddad9ee1cc518 -SIZE (simulavr-0.1.2.2.tar.gz) = 457130 +MD5 (simulavr-0.1.2.3.tar.gz) = 1acedfd041ea0e8e7e2f1713dd2a4d3f +SHA256 (simulavr-0.1.2.3.tar.gz) = 8bdfe9fd808cd84e8dc0e46eaf756741fd9761aa0da3213137c53a8b4308ef26 +SIZE (simulavr-0.1.2.3.tar.gz) = 479535 diff --git a/devel/simulavr/files/patch-configure b/devel/simulavr/files/patch-configure deleted file mode 100644 index f19ec15feb27..000000000000 --- a/devel/simulavr/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Thu Feb 17 00:00:18 2005 -+++ configure Sat Jul 30 23:49:51 2005 -@@ -7223,7 +7224,7 @@ - - # If we are compiling with gcc, enable all warning and make warnings errors. - if test "$GCC" = yes; then -- ENABLE_WARNINGS="-Wall -Winline -Werror" -+ ENABLE_WARNINGS="-Wall" - fi - ENABLE_WARNINGS=$ENABLE_WARNINGS - diff --git a/devel/simulavr/files/patch-doc-texinfo.tex b/devel/simulavr/files/patch-doc-texinfo.tex deleted file mode 100644 index cd4325dc0651..000000000000 --- a/devel/simulavr/files/patch-doc-texinfo.tex +++ /dev/null @@ -1,259 +0,0 @@ ---- doc/texinfo.tex.orig Mon Feb 11 02:59:02 2002 -+++ doc/texinfo.tex Mon Aug 1 04:10:42 2005 -@@ -864,80 +864,146 @@ - \newif\ifpdf - \newif\ifpdfmakepagedest - -+% when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1 -+% can be set). So we test for \relax and 0 as well as \undefined, -+% borrowed from ifpdf.sty. - \ifx\pdfoutput\undefined -- \pdffalse -- \let\pdfmkdest = \gobble -- \let\pdfurl = \gobble -- \let\endlink = \relax -- \let\linkcolor = \relax -- \let\pdfmakeoutlines = \relax - \else -- \pdftrue -- \pdfoutput = 1 -+ \ifx\pdfoutput\relax -+ \else -+ \ifcase\pdfoutput -+ \else -+ \pdftrue -+ \fi -+ \fi -+\fi -+% -+\ifpdf - \input pdfcolor -+ \pdfcatalog{/PageMode /UseOutlines}% - \def\dopdfimage#1#2#3{% - \def\imagewidth{#2}% - \def\imageheight{#3}% -+ % without \immediate, pdftex seg faults when the same image is -+ % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.) - \ifnum\pdftexversion < 14 -- \pdfimage -+ \immediate\pdfimage - \else -- \pdfximage -+ \immediate\pdfximage - \fi - \ifx\empty\imagewidth\else width \imagewidth \fi - \ifx\empty\imageheight\else height \imageheight \fi -- {#1.pdf}% -+ \ifnum\pdftexversion<13 -+ #1.pdf% -+ \else -+ {#1.pdf}% -+ \fi - \ifnum\pdftexversion < 14 \else - \pdfrefximage \pdflastximage - \fi} -- \def\pdfmkdest#1{\pdfdest name{#1@} xyz} -- \def\pdfmkpgn#1{#1@} -- \let\linkcolor = \Cyan -+ \def\pdfmkdest#1{{% -+ % We have to set dummies so commands such as @code in a section title -+ % aren't expanded. -+ \atdummies -+ \normalturnoffactive -+ \pdfdest name{#1} xyz% -+ }} -+ \def\pdfmkpgn#1{#1} -+ \let\linkcolor = \Blue % was Cyan, but that seems light? - \def\endlink{\Black\pdfendlink} - % Adding outlines to PDF; macros for calculating structure of outlines - % come from Petr Olsak - \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0% - \else \csname#1\endcsname \fi} - \def\advancenumber#1{\tempnum=\expnumber{#1}\relax -- \advance\tempnum by1 -+ \advance\tempnum by 1 - \expandafter\xdef\csname#1\endcsname{\the\tempnum}} -- \def\pdfmakeoutlines{{% -- \openin 1 \jobname.toc -- \ifeof 1\else\bgroup -- \closein 1 -- \indexnofonts -- \def\tt{} -- % thanh's hack / proper braces in bookmarks -+ % -+ % #1 is the section text. #2 is the pdf expression for the number -+ % of subentries (or empty, for subsubsections). #3 is the node -+ % text, which might be empty if this toc entry had no -+ % corresponding node. #4 is the page number. -+ % -+ \def\dopdfoutline#1#2#3#4{% -+ % Generate a link to the node text if that exists; else, use the -+ % page number. We could generate a destination for the section -+ % text in the case where a section has no node, but it doesn't -+ % seem worthwhile, since most documents are normally structured. -+ \def\pdfoutlinedest{#3}% -+ \ifx\pdfoutlinedest\empty \def\pdfoutlinedest{#4}\fi -+ % -+ \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{#1}% -+ } -+ % -+ \def\pdfmakeoutlines{% -+ \begingroup -+ % Thanh's hack / proper braces in bookmarks - \edef\mylbrace{\iftrue \string{\else}\fi}\let\{=\mylbrace - \edef\myrbrace{\iffalse{\else\string}\fi}\let\}=\myrbrace - % -- \def\chapentry ##1##2##3{} -- \def\unnumbchapentry ##1##2{} -- \def\secentry ##1##2##3##4{\advancenumber{chap##2}} -- \def\unnumbsecentry ##1##2{} -- \def\subsecentry ##1##2##3##4##5{\advancenumber{sec##2.##3}} -- \def\unnumbsubsecentry ##1##2{} -- \def\subsubsecentry ##1##2##3##4##5##6{\advancenumber{subsec##2.##3.##4}} -- \def\unnumbsubsubsecentry ##1##2{} -+ % Read toc silently, to get counts of subentries for \pdfoutline. -+ \def\numchapentry##1##2##3##4{% -+ \def\thischapnum{##2}% -+ \def\thissecnum{0}% -+ \def\thissubsecnum{0}% -+ }% -+ \def\numsecentry##1##2##3##4{% -+ \advancenumber{chap\thischapnum}% -+ \def\thissecnum{##2}% -+ \def\thissubsecnum{0}% -+ }% -+ \def\numsubsecentry##1##2##3##4{% -+ \advancenumber{sec\thissecnum}% -+ \def\thissubsecnum{##2}% -+ }% -+ \def\numsubsubsecentry##1##2##3##4{% -+ \advancenumber{subsec\thissubsecnum}% -+ }% -+ \def\thischapnum{0}% -+ \def\thissecnum{0}% -+ \def\thissubsecnum{0}% -+ % -+ % use \def rather than \let here because we redefine \chapentry et -+ % al. a second time, below. -+ \def\appentry{\numchapentry}% -+ \def\appsecentry{\numsecentry}% -+ \def\appsubsecentry{\numsubsecentry}% -+ \def\appsubsubsecentry{\numsubsubsecentry}% -+ \def\unnchapentry{\numchapentry}% -+ \def\unnsecentry{\numsecentry}% -+ \def\unnsubsecentry{\numsubsecentry}% -+ \def\unnsubsubsecentry{\numsubsubsecentry}% - \input \jobname.toc -- \def\chapentry ##1##2##3{% -- \pdfoutline goto name{\pdfmkpgn{##3}}count-\expnumber{chap##2}{##1}} -- \def\unnumbchapentry ##1##2{% -- \pdfoutline goto name{\pdfmkpgn{##2}}{##1}} -- \def\secentry ##1##2##3##4{% -- \pdfoutline goto name{\pdfmkpgn{##4}}count-\expnumber{sec##2.##3}{##1}} -- \def\unnumbsecentry ##1##2{% -- \pdfoutline goto name{\pdfmkpgn{##2}}{##1}} -- \def\subsecentry ##1##2##3##4##5{% -- \pdfoutline goto name{\pdfmkpgn{##5}}count-\expnumber{subsec##2.##3.##4}{##1}} -- \def\unnumbsubsecentry ##1##2{% -- \pdfoutline goto name{\pdfmkpgn{##2}}{##1}} -- \def\subsubsecentry ##1##2##3##4##5##6{% -- \pdfoutline goto name{\pdfmkpgn{##6}}{##1}} -- \def\unnumbsubsubsecentry ##1##2{% -- \pdfoutline goto name{\pdfmkpgn{##2}}{##1}} -+ % -+ % Read toc second time, this time actually producing the outlines. -+ % The `-' means take the \expnumber as the absolute number of -+ % subentries, which we calculated on our first read of the .toc above. -+ % -+ % We use the node names as the destinations. -+ \def\numchapentry##1##2##3##4{% -+ \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% -+ \def\numsecentry##1##2##3##4{% -+ \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}% -+ \def\numsubsecentry##1##2##3##4{% -+ \dopdfoutline{##1}{count-\expnumber{subsec##2}}{##3}{##4}}% -+ \def\numsubsubsecentry##1##2##3##4{% count is always zero -+ \dopdfoutline{##1}{}{##3}{##4}}% -+ % -+ % PDF outlines are displayed using system fonts, instead of -+ % document fonts. Therefore we cannot use special characters, -+ % since the encoding is unknown. For example, the eogonek from -+ % Latin 2 (0xea) gets translated to a | character. Info from -+ % Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100. -+ % -+ % xx to do this right, we have to translate 8-bit characters to -+ % their "best" equivalent, based on the @documentencoding. Right -+ % now, I guess we'll just let the pdf reader have its way. -+ \indexnofonts -+ \turnoffactive - \input \jobname.toc -- \egroup\fi -- }} -+ \endgroup -+ } -+ % - \def\makelinks #1,{% - \def\params{#1}\def\E{END}% - \ifx\params\E -@@ -946,7 +1012,7 @@ - \let\nextmakelinks=\makelinks - \ifnum\lnkcount>0,\fi - \picknum{#1}% -- \startlink attr{/Border [0 0 0]} -+ \startlink attr{/Border [0 0 0]} - goto name{\pdfmkpgn{\the\pgn}}% - \linkcolor #1% - \advance\lnkcount by 1% -@@ -968,7 +1034,6 @@ - \def\ppn#1{\pgn=#1\gobble} - \def\ppnn{\pgn=\first} - \def\pdfmklnk#1{\lnkcount=0\makelinks #1,END,} -- \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks} - \def\skipspaces#1{\def\PP{#1}\def\D{|}% - \ifx\PP\D\let\nextsp\relax - \else\let\nextsp\skipspaces -@@ -986,21 +1051,21 @@ - \def\pdfurl#1{% - \begingroup - \normalturnoffactive\def\@{@}% -+ \makevalueexpandable - \leavevmode\Red - \startlink attr{/Border [0 0 0]}% - user{/Subtype /Link /A << /S /URI /URI (#1) >>}% -- % #1 - \endgroup} - \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}} - \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks} - \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks} - \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}} - \def\maketoks{% -- \expandafter\poptoks\the\toksA|ENDTOKS| -+ \expandafter\poptoks\the\toksA|ENDTOKS|\relax - \ifx\first0\adn0 - \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3 - \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6 -- \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9 -+ \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9 - \else - \ifnum0=\countA\else\makelink\fi - \ifx\first.\let\next=\done\else -@@ -1013,11 +1078,16 @@ - \def\makelink{\addtokens{\toksB}% - {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0} - \def\pdflink#1{% -- \startlink attr{/Border [0 0 0]} goto name{\mkpgn{#1}} -+ \startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}} - \linkcolor #1\endlink} -- \def\mkpgn#1{#1@} - \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st} --\fi % \ifx\pdfoutput -+\else -+ \let\pdfmkdest = \gobble -+ \let\pdfurl = \gobble -+ \let\endlink = \relax -+ \let\linkcolor = \relax -+ \let\pdfmakeoutlines = \relax -+\fi % \ifx\pdfoutput - - - \message{fonts,} diff --git a/devel/simulavr/files/patch-src-avrcore.c b/devel/simulavr/files/patch-src-avrcore.c deleted file mode 100644 index 65e7e7f01b1b..000000000000 --- a/devel/simulavr/files/patch-src-avrcore.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/avrcore.c.orig Thu Jan 13 21:27:59 2005 -+++ src/avrcore.c Mon Feb 6 17:47:11 2006 -@@ -394,6 +394,7 @@ - words here */ - - core->flash = flash_new (flash_sz); -+ core->eeprom = 0; - - core->breakpoints = NULL; - diff --git a/devel/simulavr/pkg-plist b/devel/simulavr/pkg-plist index 18bd4f88a4f9..09a40c7fad83 100644 --- a/devel/simulavr/pkg-plist +++ b/devel/simulavr/pkg-plist @@ -28,7 +28,8 @@ share/doc/simulavr/html/simulavr_10.html share/doc/simulavr/html/simulavr_11.html share/doc/simulavr/html/simulavr_abt.html share/doc/simulavr/html/simulavr_toc.html -share/doc/simulavr/simulavr.ps +share/doc/simulavr/simulavr.pdf +share/doc/simulavr/simulavr-internals.pdf @dirrm share/doc/simulavr/html @dirrm share/doc/simulavr/internals_html @dirrm share/doc/simulavr -- cgit