head 1.3; access; symbols pkgsrc-2015Q3:1.2.0.96 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.94 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.92 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.90 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.88 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.86 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.84 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.82 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.80 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.78 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.76 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.74 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.72 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.70 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.68 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.66 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.64 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.62 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.60 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.58 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.56 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.54 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.52 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.50 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.48 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.46 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.44 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.42 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.40 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.38 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.36 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.34 pkgsrc-2008Q1:1.2.0.32 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.30 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.28 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.26 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.24 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.22 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.20 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.18 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.16 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.14 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.12 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.10 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.8 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.6 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.1.1.0.2 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.1.1.0.4 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.1.1.0.8 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.1.1.0.10 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.1.1.0.12 pkgviews-base:1.1 buildlink2-base:1.1.1.1 buildlink2:1.1.1.1.0.6 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2015.10.24.19.16.25; author joerg; state dead; branches; next 1.2; commitid uk7CGk97p4ZnzoGy; 1.2 date 2004.03.30.18.23.46; author ben; state Exp; branches; next 1.1; 1.1 date 2002.05.25.23.23.01; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.05.25.23.23.01; author rh; state Exp; branches 1.1.1.1.6.1; next ; 1.1.1.1.6.1 date 2002.05.25.23.23.01; author jlam; state dead; branches; next 1.1.1.1.6.2; 1.1.1.1.6.2 date 2002.06.23.18.42.56; author jlam; state Exp; branches; next ; desc @@ 1.3 log @Retire tex2rtf, a wxWidgets tool that seem to no longer be maintained. @ text @$NetBSD: patch-ab,v 1.2 2004/03/30 18:23:46 ben Exp $ --- htmlutil.cpp.orig Fri Jun 7 11:01:36 2002 +++ htmlutil.cpp @@@@ -1,4 +1,4 @@@@ -///////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// // Name: htmlutil.cpp // Purpose: Converts Latex to HTML // Author: Julian Smart @@@@ -191,7 +191,7 @@@@ void ReopenFile(FILE **fd, char **fileNa else sprintf(buf, "%s%d.html", FileRoot, fileId); if (*fileName) delete[] *fileName; - *fileName = copystring(FileNameFromPath(buf)); + *fileName = copystring(wxFileNameFromPath(buf)); *fd = fopen(buf, "w"); fprintf(*fd, "\n"); } @@@@ -426,13 +426,13 @@@@ void AddBrowseButtons(char *upLabel, cha if (truncateFilenames) { char buf1[80]; - strcpy(buf1, ConvertCase(FileNameFromPath(FileRoot))); + strcpy(buf1, ConvertCase(wxFileNameFromPath(FileRoot))); sprintf(buf, "\n%s ", buf1, ConvertCase("htm"), contentsReference); } else { char buf1[80]; - strcpy(buf1, ConvertCase(FileNameFromPath(FileRoot))); + strcpy(buf1, ConvertCase(wxFileNameFromPath(FileRoot))); sprintf(buf, "\n%s ", buf1, ConvertCase("_contents.html"), contentsReference); } // TexOutput(""); @@@@ -708,9 +708,9 @@@@ void HTMLOnMacro(int macroId, int no_arg char titleBuf[200]; if (truncateFilenames) - sprintf(titleBuf, "%s.htm", FileNameFromPath(FileRoot)); + sprintf(titleBuf, "%s.htm", wxFileNameFromPath(FileRoot)); else - sprintf(titleBuf, "%s_contents.html", FileNameFromPath(FileRoot)); + sprintf(titleBuf, "%s_contents.html", wxFileNameFromPath(FileRoot)); fprintf(Chapters, "<A NAME=\"%s\"></A>", topicName); @@@@ -2708,9 +2708,9 @@@@ bool HTMLOnArgument(int macroId, int arg char titleBuf[150]; if (truncateFilenames) - sprintf(titleBuf, "%s.htm", FileNameFromPath(FileRoot)); + sprintf(titleBuf, "%s.htm", wxFileNameFromPath(FileRoot)); else - sprintf(titleBuf, "%s_contents.html", FileNameFromPath(FileRoot)); + sprintf(titleBuf, "%s_contents.html", wxFileNameFromPath(FileRoot)); HTMLHead(); TexOutput("<title>"); @@@@ -2919,7 +2919,7 @@@@ bool HTMLGo(void) OnError("Cannot open output file!"); return FALSE; } - AddTexRef("contents", FileNameFromPath(TitlepageName), ContentsNameString); + AddTexRef("contents", wxFileNameFromPath(TitlepageName), ContentsNameString); fprintf(Contents, "<P><P><H2>%s</H2><P><P>\n", ContentsNameString); @@@@ -3003,7 +3003,7 @@@@ bool HTMLGo(void) if (contentsString) fprintf(tmpTitle, "<TITLE>%s</TITLE></HEAD>\n\n", contentsString); else - fprintf(tmpTitle, "<TITLE>%s</TITLE></HEAD>\n\n", FileNameFromPath(FileRoot)); + fprintf(tmpTitle, "<TITLE>%s</TITLE></HEAD>\n\n", wxFileNameFromPath(FileRoot)); } // Output frame information @@@@ -3017,8 +3017,8 @@@@ bool HTMLGo(void) fprintf(tmpTitle, "<FRAMESET COLS=\"30%%,70%%\">\n"); - fprintf(tmpTitle, "<FRAME SRC=\"%s\">\n", ConvertCase(FileNameFromPath(contentsFrameName))); - fprintf(tmpTitle, "<FRAME SRC=\"%s\" NAME=\"mainwindow\">\n", ConvertCase(FileNameFromPath(firstFileName))); + fprintf(tmpTitle, "<FRAME SRC=\"%s\">\n", ConvertCase(wxFileNameFromPath(contentsFrameName))); + fprintf(tmpTitle, "<FRAME SRC=\"%s\" NAME=\"mainwindow\">\n", ConvertCase(wxFileNameFromPath(firstFileName))); fprintf(tmpTitle, "</FRAMESET>\n"); fprintf(tmpTitle, "<NOFRAMES>\n"); @@@@ -3049,7 +3049,7 @@@@ bool HTMLGo(void) fprintf(tmpTitle, "\n</HTML>\n"); fclose(tmpTitle); - if (FileExists(TitlepageName)) wxRemoveFile(TitlepageName); + if (wxFileExists(TitlepageName)) wxRemoveFile(TitlepageName); if (!wxRenameFile("title.tmp", TitlepageName)) { wxCopyFile("title.tmp", TitlepageName); @@@@ -3062,7 +3062,7 @@@@ bool HTMLGo(void) if (lastTopic) delete[] lastTopic; lastTopic = NULL; - if (FileExists(ContentsName)) wxRemoveFile(ContentsName); + if (wxFileExists(ContentsName)) wxRemoveFile(ContentsName); if (!wxRenameFile(TmpContentsName, ContentsName)) { @@@@ -3147,11 +3147,11 @@@@ void GenerateHTMLWorkshopFiles(char *fna "Default topic=%s\n" "Index file=%s.hhk\n" "Title=", - FileNameFromPath(fname), - FileNameFromPath(fname), - FileNameFromPath(fname), - FileNameFromPath(TitlepageName), - FileNameFromPath(fname) + wxFileNameFromPath(fname), + wxFileNameFromPath(fname), + wxFileNameFromPath(fname), + wxFileNameFromPath(TitlepageName), + wxFileNameFromPath(fname) ); if (DocumentTitle) { @@@@ -3162,19 +3162,19 @@@@ void GenerateHTMLWorkshopFiles(char *fna fprintf(f, "\n\n[WINDOWS]\n" "%sHelp=,\"%s.hhc\",\"%s.hhk\",\"%s\",,,,,,0x2420,,0x380e,,,,,0,,,", - FileNameFromPath(fname), - FileNameFromPath(fname), - FileNameFromPath(fname), - FileNameFromPath(TitlepageName)); + wxFileNameFromPath(fname), + wxFileNameFromPath(fname), + wxFileNameFromPath(fname), + wxFileNameFromPath(TitlepageName)); fprintf(f, "\n\n[FILES]\n"); - fprintf(f, "%s\n", FileNameFromPath(TitlepageName)); + fprintf(f, "%s\n", wxFileNameFromPath(TitlepageName)); for (int i = 1; i <= fileId; i++) { if (truncateFilenames) - sprintf(buf, "%s%d.htm", FileNameFromPath(FileRoot), i); + sprintf(buf, "%s%d.htm", wxFileNameFromPath(FileRoot), i); else - sprintf(buf, "%s%d.html", FileNameFromPath(FileRoot), i); + sprintf(buf, "%s%d.html", wxFileNameFromPath(FileRoot), i); fprintf(f, "%s\n", buf); } fclose(f); @@@@ -3278,7 +3278,7 @@@@ void HTMLWorkshopStartContents() "<LI> <OBJECT type=\"text/sitemap\">\n" "<param name=\"Local\" value=\"%s\">\n" "<param name=\"Name\" value=\"Contents\">\n</OBJECT>\n", - FileNameFromPath(TitlepageName) + wxFileNameFromPath(TitlepageName) ); } @ 1.2 log @Update tex2rtf to version 2.01. A changelog is not available, but this version of tex2rtf is updated to work with newer versions of wxwindows, and the prior version is referred to as obsolete. I am told that some of the patches duplicate work that is done in CVS, so some patches should disappear over time. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d3 155 a157 19 --- makefile.unx.orig Sun Nov 23 17:55:48 1997 +++ makefile.unx @@@@ -2,7 +2,7 @@@@ # Valid targets: xview, motif or nogui. These should produce # the executables tex2rtf_ol, tex2rtf_motif and tex2rtf_nogui respectively. -WXDIR = ../../.. +WXDIR = .. # All common UNIX compiler flags and options are now in # this central makefile. @@@@ -25,7 +25,7 @@@@ TEX2ANYLIB = $(TEX2RTFDIR)/lib/libtex2any$(GUISUFFIX).a -INC = -I$(WXDIR)/include/base -I$(WXDIR)/include/x -I$(WXHELPDIR)/src $(COMPPATHS) +INC = -I$(WXDIR)/include/base -I$(WXDIR)/include/x -I$(WXHELPDIR)/src -I$(WXDIR)/src/wxwin $(COMPPATHS) LDFLAGS = $(XLIB) -L$(WXDIR)/lib -L$(TEX2RTFDIR)/lib d159 1 @ 1.1.1.1 log @Initial import of tex2rtf-164, a TeX to RTF converter. Provided by collver@@linuxfreemail.com -- thanks! This closes his PR pkg/14736. @ text @@ 1.1.1.1.6.1 log @file patch-ab was added on branch buildlink2 on 2002-06-23 18:42:56 +0000 @ text @d1 22 @ 1.1.1.1.6.2 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 22 $NetBSD: patch-ab,v 1.1.1.1.6.1 2002/06/23 18:42:56 jlam Exp $ --- makefile.unx.orig Sun Nov 23 17:55:48 1997 +++ makefile.unx @@@@ -2,7 +2,7 @@@@ # Valid targets: xview, motif or nogui. These should produce # the executables tex2rtf_ol, tex2rtf_motif and tex2rtf_nogui respectively. -WXDIR = ../../.. +WXDIR = .. # All common UNIX compiler flags and options are now in # this central makefile. @@@@ -25,7 +25,7 @@@@ TEX2ANYLIB = $(TEX2RTFDIR)/lib/libtex2any$(GUISUFFIX).a -INC = -I$(WXDIR)/include/base -I$(WXDIR)/include/x -I$(WXHELPDIR)/src $(COMPPATHS) +INC = -I$(WXDIR)/include/base -I$(WXDIR)/include/x -I$(WXHELPDIR)/src -I$(WXDIR)/src/wxwin $(COMPPATHS) LDFLAGS = $(XLIB) -L$(WXDIR)/lib -L$(TEX2RTFDIR)/lib @