head	1.5;
access;
symbols
	pkgsrc-2013Q2:1.5.0.28
	pkgsrc-2013Q2-base:1.5
	pkgsrc-2012Q4:1.5.0.26
	pkgsrc-2012Q4-base:1.5
	pkgsrc-2011Q4:1.5.0.24
	pkgsrc-2011Q4-base:1.5
	pkgsrc-2011Q2:1.5.0.22
	pkgsrc-2011Q2-base:1.5
	pkgsrc-2009Q4:1.5.0.20
	pkgsrc-2009Q4-base:1.5
	pkgsrc-2008Q4:1.5.0.18
	pkgsrc-2008Q4-base:1.5
	pkgsrc-2008Q3:1.5.0.16
	pkgsrc-2008Q3-base:1.5
	cube-native-xorg:1.5.0.14
	cube-native-xorg-base:1.5
	pkgsrc-2008Q2:1.5.0.12
	pkgsrc-2008Q2-base:1.5
	pkgsrc-2008Q1:1.5.0.10
	pkgsrc-2008Q1-base:1.5
	pkgsrc-2007Q4:1.5.0.8
	pkgsrc-2007Q4-base:1.5
	pkgsrc-2007Q3:1.5.0.6
	pkgsrc-2007Q3-base:1.5
	pkgsrc-2007Q2:1.5.0.4
	pkgsrc-2007Q2-base:1.5
	pkgsrc-2007Q1:1.5.0.2
	pkgsrc-2007Q1-base:1.5
	pkgsrc-2006Q4:1.4.0.10
	pkgsrc-2006Q4-base:1.4
	pkgsrc-2006Q3:1.4.0.8
	pkgsrc-2006Q3-base:1.4
	pkgsrc-2006Q2:1.4.0.6
	pkgsrc-2006Q2-base:1.4
	pkgsrc-2006Q1:1.4.0.4
	pkgsrc-2006Q1-base:1.4
	pkgsrc-2005Q4:1.4.0.2
	pkgsrc-2005Q4-base:1.4
	pkgsrc-2005Q3:1.3.0.12
	pkgsrc-2005Q3-base:1.3
	pkgsrc-2005Q2:1.3.0.10
	pkgsrc-2005Q2-base:1.3
	pkgsrc-2005Q1:1.3.0.8
	pkgsrc-2005Q1-base:1.3
	pkgsrc-2004Q4:1.3.0.6
	pkgsrc-2004Q4-base:1.3
	pkgsrc-2004Q3:1.3.0.4
	pkgsrc-2004Q3-base:1.3
	pkgsrc-2004Q2:1.3.0.2
	pkgsrc-2004Q2-base:1.3
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	netbsd-1-6-1:1.1.0.2
	netbsd-1-6-1-base:1.1;
locks; strict;
comment	@# @;


1.5
date	2007.02.22.23.49.30;	author wiz;	state dead;
branches;
next	1.4;

1.4
date	2005.10.10.09.05.59;	author seb;	state Exp;
branches;
next	1.3;

1.3
date	2004.05.16.12.22.40;	author seb;	state Exp;
branches;
next	1.2;

1.2
date	2003.06.12.01.17.32;	author seb;	state dead;
branches;
next	1.1;

1.1
date	2002.12.23.22.27.50;	author seb;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Remove two patches that do not seem needed any longer.
@
text
@$NetBSD: patch-ae,v 1.4 2005/10/10 09:05:59 seb Exp $

--- src/lib/fileutil.cc.orig	2005-08-25 14:01:56.000000000 +0000
+++ src/lib/fileutil.cc
@@@@ -43,7 +43,7 @@@@ read_file(const string &fileName)
   // we open it as binary otherwise we may experience problems under
   // Windows system: when we fread, the number of char read can be
   // less then char_count, and thus we'd get an error...
-  ifstream file (fileName.c_str (), ios_base::binary);
+  ifstream file (fileName.c_str (), ios::binary);
   if (! file.is_open () )
     file_error ("Error operning", fileName);
   else
@


1.4
log
@Update to version 2.1.2.

Add build dependencies on GNU make and GNU sed for 'test' target's benefit.

Support for input chroot, via make variable SOURCE_HIGHLIGHT_INPUT_CHROOT,
deactivated otherwise the build is broken.

XXX Is 'TOOLS_PLATFORM.gsed= # empty' the proper way to override a
the platform sed tool ?

Relinquish stewardship.

Changes since last packaged version (1.11):
Version 2.1.2
   * fixed conversion of hexadecimal characters in output language
     definitions
   * fixed compilation error with regex 1.33
   * include man page
   * fixed a bug with LaTeX output of " with some inputencs

Version 2.1.1
   * fixed a bug that sigsegv when more than one input file
     is provided
   * fixed a compilation error with gcc 4.0

Version 2.1
   * Included obsolete man page.
   * output language format specifications are read at run-time
     so that new output languages can be easily added dynamically
     (without recompiling the sources) by using a simple syntax.
   * "fixed" and "notfixed" styles can be specified.
   * fixed the handling of end-of-line (processed only once)
   * LaTeX output
   * TeXinfo output
   * debug of a language definition
   * tags.j2h files are now called style files.
   * renamed --tags-file option in --style-file
   * allows to specify a prefix for the generated line number anchors
   * --header and --footer do not imply --doc
   * language definition for LogTalk and LaTeX

Version 2.0
   * Language specifications are read at run-time, so that
     new languages can be easily added dynamically (without recompiling
     the sources) by using a simple syntax.
   * "nonsensitive" for simple definitions
   * cgi version not built automatically
   * failsafe option to simply output the input file when no
     language definition is found
   * functionalities with less improved.

Version 1.11.1
   * fixed compilations problems on some Unix compilers
@
text
@d1 1
a1 1
$NetBSD$
@


1.3
log
@Fix build with older GNU libstdc++ (mentioned in PR pkg/25590).
While here add support for test target.
@
text
@d3 1
a3 1
--- src/lib/fileutil.cc.orig	2004-04-19 10:59:24.000000000 +0000
d5 1
a5 1
@@@@ -41,7 +41,7 @@@@ read_file(const string &fileName)
@


1.2
log
@Update to version 1.7.

Changes in version 1.7:
   * scanner for Ruby programming language (thanks to Noritsugu Nakamura
     <nnakamur@@mxq.mesh.ne.jp>).
   * fixed explicit rules in Makefiles that generated errors with some
     versions of non-GNU makes.
@
text
@d1 1
a1 1
$NetBSD: patch-ae,v 1.1 2002/12/23 22:27:50 seb Exp $
d3 11
a13 41
--- src/Makefile.am.orig	Mon Sep 16 21:03:08 2002
+++ src/Makefile.am
@@@@ -42,7 +42,7 @@@@ cxxconfig.h  \
 source-highlight.cc 
 
 startapp-cgi.o: $(srcdir)/startapp.cc
-	$(CXXCOMPILE) -DBUILD_AS_CGI -o $@@ -c $<
+	$(CXXCOMPILE) -DBUILD_AS_CGI -o $@@ -c $(srcdir)/startapp.cc
 
 source_highlight_cgi_SOURCES = $(source_highlight_SOURCES)
 
@@@@ -84,21 +84,21 @@@@ MAINTAINERCLEANFILES = \
 # explicitly tell automake how to build scanners, because it really messes them
 # up otherwise.
 cpp_scanner.cc: $(srcdir)/cpp_scanner.ll
-	$(LEX) $(LFLAGS) -o $@@ $<
+	$(LEX) $(LFLAGS) -o $@@ $(srcdir)/cpp_scanner.ll
 java_scanner.cc: $(srcdir)/java_scanner.ll
-	$(LEX) $(LFLAGS) -o $@@ $<
+	$(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll
 prolog_scanner.cc: $(srcdir)/prolog_scanner.ll
-	$(LEX) $(LFLAGS) -o $@@ $<
+	$(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll
 perl_scanner.cc: $(srcdir)/perl_scanner.ll
-	$(LEX) $(LFLAGS) -o $@@ $<
+	$(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll
 php3_scanner.cc: $(srcdir)/php3_scanner.ll
-	$(LEX) $(LFLAGS) -o $@@ $<
+	$(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll
 python_scanner.cc: $(srcdir)/python_scanner.ll
-	$(LEX) $(LFLAGS) -o $@@ $<
+	$(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll
 flex_scanner.cc: $(srcdir)/flex_scanner.ll
-	$(LEX) $(LFLAGS) -o $@@ $<
+	$(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll
 changelog_scanner.cc: $(srcdir)/changelog_scanner.ll
-	$(LEX) $(LFLAGS) -o $@@ $<
+	$(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll
 
 tags:
 	ctags --c-types='defgmstuv' --recurse=yes $(srcdir)/*
@


1.1
log
@Update to 1.6.1.

Lots of changes and new features: you want to update!

Changes since latest packaged version:
Version 1.6.1

   * fixed a bug in the configure phase that used to make the compilation
     fail with compilers not providing the function getop_long
     (reported by Horacio Montenegro <horaciom@@unicamp.br>).

Version 1.6

   * scanners for flex and ChangeLog added by John Millaway <millaway@@acm.org>
   * default to stdout when no --output is given along with the -i option
     and when --output="STDOUT" (as suggested by Hugh S. Myers,
     <hsmyers@@sdragons.com>)
   * fixed a problem with string comments in Python scanner
   * a separate executable is built, source-highlight-cgi, that can be
     used as a CGI program

Version 1.5.1

   * xhtml doctype generated correctly (thanks to Christian W. Zuckschwerdt
     <zany@@triq.net> and Josh Ghiloni <josh@@joshghiloni.net>) reported
     by Martin Gebert <Murphy.Gebert@@gmx.de>
   * Anonymous CVS Access is now available
     http://savannah.gnu.org/projects/src-highlite

Version 1.5

   * xhtml output format is now handled (thanks to Christian W. Zuckschwerdt
     <zany@@triq.net> and Josh Ghiloni <josh@@joshghiloni.net>)
   * assert is now recognized as a Java keyword (thanks to Fabio Calefato
     <calefato@@libero.it>)
   * a scanner for Python has been written by Martin Gebert
     <Murphy.Gebert@@gmx.de>.
   * when in Php3 strings can span more than one lines and line numbers are
     correctly formatted.

Version 1.4

   * fixed compilation error with some compilers due to headers istream.h
     and ostream.h (thanks to Dan barthel <dbarthel@@mac.com>)
   * a scanner for Php3 has been written by Alain Barbet
     <alian@@alianwebserver.com>
   * reading from stdin does not kill line numbers (notified by Keith
     Robertson <keithr@@nortelnetworks.com>)
   * line number count is correctly reset when handling multiple files (bug
     fixed)
   * for Java sources, if, while, and other keywords that use '(' ')' are
     now correctly highlighted as keywords instead of as functions (reported
     by Manuel Kauers <manuel@@kauers.de> and Fabio Calefato
     <calefato@@libero.it>)
   * tabs are correctly handled for Prolog and Perl sources (reported by
     Martin Gebert <Murphy.Gebert@@gmx.de>)

Version 1.3

   * now there is only one program, namely source-highlight, that accepts a
     command line option, --src-lang or -s, specifying the source language
     (for the moment java, cpp and prolog).  Previous programs, java2html
     and cpp2html are provided as shell scripts, just for compatibility, but
     their use is not advised.
   * --out-format, -f, command line option added for specifying the output
     format (for the moment only html is accepted).  Though only html is
     handled, this option is required.
   * a scanner for Prolog has been written by Martin Gebert
     <Murphy.Gebert@@gmx.de>.  This scanner is still to be considered beta,
     and actually it was written for Visual Prolog, so it should be tested
     against other Prolog dialects.
   * a scanner for Perl has been written by Alain Barbet
     <alian@@alianwebserver.com>
   * Correctly check whether it is possible to write to a file (notified by
     Martin)
   * --tab option is correctly handled even for C/C++ files (bug fixed,
     notified by Martin)
   * Added option --line-number (-n) in order to print line numbers (as
     suggested by Ed Scott and Andre Charbonneau).
   * Man page added.
@
text
@d1 1
a1 1
$NetBSD$
@

