pkgsrc/textproc/source-highlight/patches/patch-ag

127 lines
5.4 KiB
Text
Raw Normal View History

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
2005-10-10 11:05:59 +02:00
$NetBSD: patch-ag,v 1.7 2005/10/10 09:05:59 seb Exp $
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.
2002-12-23 23:27:48 +01:00
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
2005-10-10 11:05:59 +02:00
--- tests/Makefile.in.orig 2005-10-09 09:27:08.000000000 +0000
+++ tests/Makefile.in
@@ -55,6 +55,8 @@ am__configure_deps = $(am__aclocal_m4_de
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = valgrind_tests.sh valgrind_test.sh
+depcomp =
+am__depfiles_maybe =
SOURCES =
DIST_SOURCES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
@@ -63,9 +65,9 @@ am__vpath_adj = case $$p in \
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(source_highlightdocdir)"
-source_highlightdocDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(source_highlightdoc_DATA)
+am__installdirs = "$(DESTDIR)$(source_highlightdochtmldir)"
+source_highlightdochtmlDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(source_highlightdochtml_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMDEP_FALSE = @AMDEP_FALSE@
@@ -168,6 +170,7 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
source_highlightdatadir = @source_highlightdatadir@
source_highlightdocdir = @source_highlightdocdir@
+source_highlightdochtmldir = @source_highlightdochtmldir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
STD_TAGS = --style-file $(top_srcdir)/src/default.style
@@ -261,7 +264,7 @@ erasedir.sed erasedir2.sed
PROG_NOLANGDEF = $(PROGEXE) --outlang-def=$(srcdir)/simple.outlang $(STD_TAGS) --data-dir=$(srcdir)/
PROG_NOOUTLANGDEF = $(PROGEXE) --lang-def=$(srcdir)/simple.lang $(STD_TAGS)
CPP2HTML_WHEADERS = $(CPP2HTML) --header=$(srcdir)/header.html --footer=$(srcdir)/footer.html --title="Header and footer test"
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.
2002-12-23 23:27:48 +01:00
-source_highlightdoc_DATA = test.php3.html test.pl.html test.pm.html \
+source_highlightdochtml_DATA = test.php3.html test.pl.html test.pm.html \
test.py.html test.rb.html test.js.html test.lua.html test.ml.html \
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
2005-10-10 11:05:59 +02:00
test.sml.html test.log.html access.log.html auth.log.html error.log.html syslog.log.html test.htm.html test.java.tex.html \
syslog.style
@@ -281,9 +284,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefi
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps tests/Makefile'; \
cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu tests/Makefile
+ $(AUTOMAKE) --gnu --ignore-deps tests/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
@@ -306,22 +309,22 @@ valgrind_tests.sh: $(top_builddir)/confi
valgrind_test.sh: $(top_builddir)/config.status $(srcdir)/valgrind_test.sh.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
uninstall-info-am:
-install-source_highlightdocDATA: $(source_highlightdoc_DATA)
+install-source_highlightdochtmlDATA: $(source_highlightdochtml_DATA)
@$(NORMAL_INSTALL)
- test -z "$(source_highlightdocdir)" || $(mkdir_p) "$(DESTDIR)$(source_highlightdocdir)"
- @list='$(source_highlightdoc_DATA)'; for p in $$list; do \
+ test -z "$(source_highlightdochtmldir)" || $(mkdir_p) "$(DESTDIR)$(source_highlightdochtmldir)"
+ @list='$(source_highlightdochtml_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
- echo " $(source_highlightdocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(source_highlightdocdir)/$$f'"; \
- $(source_highlightdocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(source_highlightdocdir)/$$f"; \
+ echo " $(source_highlightdochtmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(source_highlightdochtmldir)/$$f'"; \
+ $(source_highlightdochtmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(source_highlightdochtmldir)/$$f"; \
done
-uninstall-source_highlightdocDATA:
+uninstall-source_highlightdochtmlDATA:
@$(NORMAL_UNINSTALL)
- @list='$(source_highlightdoc_DATA)'; for p in $$list; do \
+ @list='$(source_highlightdochtml_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(source_highlightdocdir)/$$f'"; \
- rm -f "$(DESTDIR)$(source_highlightdocdir)/$$f"; \
+ echo " rm -f '$(DESTDIR)$(source_highlightdochtmldir)/$$f'"; \
+ rm -f "$(DESTDIR)$(source_highlightdochtmldir)/$$f"; \
done
tags: TAGS
TAGS:
@@ -361,7 +364,7 @@ check-am: all-am
check: check-am
all-am: Makefile $(DATA)
installdirs:
- for dir in "$(DESTDIR)$(source_highlightdocdir)"; do \
+ for dir in "$(DESTDIR)$(source_highlightdochtmldir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-am
@@ -407,7 +410,7 @@ info: info-am
info-am:
-install-data-am: install-source_highlightdocDATA
+install-data-am: install-source_highlightdochtmlDATA
install-exec-am:
@@ -433,17 +436,17 @@ ps: ps-am
ps-am:
-uninstall-am: uninstall-info-am uninstall-source_highlightdocDATA
+uninstall-am: uninstall-info-am uninstall-source_highlightdochtmlDATA
.PHONY: all all-am check check-am clean clean-generic distclean \
distclean-generic distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
- install-source_highlightdocDATA install-strip installcheck \
+ install-source_highlightdochtmlDATA install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
- uninstall-source_highlightdocDATA
+ uninstall-source_highlightdochtmlDATA
%.cc.html: %.cc