--- java2html-0.9.2.orig/java2html.l +++ java2html-0.9.2/java2html.l @@ -42,7 +42,7 @@ %s DEFINELINE %s PREPROLINE -id [a-zA-Z_][a-zA-Z01-9_]* +id [a-zA-Z_\xa0-\xff][a-zA-Z01-9\xa0-\xff]* wsnl [\t \n]* ws [\t ]* accessmode ("public"|"private"|"protected") --- java2html-0.9.2.orig/java2html.1 +++ java2html-0.9.2/java2html.1 @@ -36,7 +36,7 @@ PATH_TRANSLATED to the pathname of the source file. If .B java2html -has been compiled with option -DCOMPRESSION=1 then it will invoke +has been compiled with option \-DCOMPRESSION=1 then it will invoke .B gzip to compress the generated HTML before sending it to the requesting browser. Of course @@ -95,7 +95,7 @@ .br echo "" + echo "content=\\"\`java2html \-V\`\\">" .br echo "" .br @@ -105,13 +105,13 @@ .br echo "" .br echo "
" .br - cat $PATH_TRANSLATED | java2html -sc + cat $PATH_TRANSLATED | java2html \-sc .br echo "" .br --- java2html-0.9.2.orig/mymain.c +++ java2html-0.9.2/mymain.c @@ -552,6 +552,7 @@ while (((('A' <= *start_ptr) && ('Z' >= *start_ptr)) || (('a' <= *start_ptr) && ('z' >= *start_ptr)) || (('0' <= *start_ptr) && ('9' >= *start_ptr)) + || (('\xa0' <= *start_ptr) && ('\xff' >= *start_ptr)) || ('_' == *start_ptr)) && (start_ptr != text)) { start_ptr--; } @@ -582,6 +583,7 @@ while (((('A' <= *end_ptr) && ('Z' >= *end_ptr)) || (('a' <= *end_ptr) && ('z' >= *end_ptr)) || (('0' <= *end_ptr) && ('9' >= *end_ptr)) + || (('\xa0' <= *end_ptr) && ('\xff' >= *end_ptr)) || ('_' == *end_ptr))) { end_ptr++; } AddLabelTag(out, start_ptr, end_ptr); @@ -610,6 +612,7 @@ while (((('A' <= *end_ptr) && ('Z' >= *end_ptr)) || (('a' <= *end_ptr) && ('z' >= *end_ptr)) || (('0' <= *end_ptr) && ('9' >= *end_ptr)) + || (('\xa0' <= *end_ptr) && ('\xff' >= *end_ptr)) || ('_' == *end_ptr))) { end_ptr++; } AddLabelTag(out, start_ptr, end_ptr); --- java2html-0.9.2.orig/debian/compat +++ java2html-0.9.2/debian/compat @@ -0,0 +1 @@ +5 --- java2html-0.9.2.orig/debian/copyright +++ java2html-0.9.2/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Jaldhar H. Vyas jaldhar@debian.org on +Fri, 2 Apr 1999 12:38:39 -0500. + +It was downloaded from: + http://user.cs.tu-berlin.de/~schintke/x2html/ + +Upstream Author: Florian Schintke + +Copyright: + +Copyright (C) 1999, 2000 Florian Schintke +Copyright (C) 1999 Martin Kammerhofer for the CGI feature +Copyright (C) 2000 Rob Ewan for the indexing feature + +This is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +This is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License with your +Debian GNU/Linux system, in `/usr/share/common-licenses/GPL'. If not, write +to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +MA 02110-1301, USA. --- java2html-0.9.2.orig/debian/control +++ java2html-0.9.2/debian/control @@ -0,0 +1,16 @@ +Source: java2html +Section: web +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Paul Cager +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 5), flex + +Package: java2html +Architecture: any +Depends: ${shlibs:Depends} +Description: Highlight Java and C++ sources for WWW presentation + java2html can highlight your source for presentation in the WWW. + It can also be used as a CGI script and can detect whether + the client browser supports compressed data to save bandwidth. + --- java2html-0.9.2.orig/debian/README.Debian +++ java2html-0.9.2/debian/README.Debian @@ -0,0 +1,14 @@ +java2html for Debian +---------------------- + +This program installs as /usr/bin/java2html. In order to use this program as +a CGI, you will need create a symlink to it in /usr/lib/cg-bin or any +other directory which your webserver allows to exec CGI programs. This +has not been done by default so individual admins can make the decision +based on their local policies. + +It has been compiled with the compression option. + +see /usr/share/doc/java2html/README for more information on these topics. + + -- Ashley Clark , Wed, 8 Dec 1999 09:12:22 -0600 --- java2html-0.9.2.orig/debian/changelog +++ java2html-0.9.2/debian/changelog @@ -0,0 +1,86 @@ +java2html (0.9.2-4ubuntu1) oneiric; urgency=low + + * Apply patch from yens (getreu) adding support for European 8-bit + character sets. (LP: #626271) + + -- Daniel T Chen Thu, 28 Jul 2011 17:26:45 -0400 + +java2html (0.9.2-4) unstable; urgency=low + + * Package adoption; set maintainer to Paul Cager. + Closes: #357502 + + * java2html.1: Fixed lintian informational "hyphen-used-as-minus-sign", see + http://lists.debian.org/debian-devel/2003/debian-devel-200303/msg01481.html + + * Conforms to Standards version 3.7.2. + + -- Paul Cager Tue, 14 Nov 2006 21:28:10 +0000 + +java2html (0.9.2-3) unstable; urgency=low + + * QA upload. + * Package is orphaned (#357502); set maintainer to Debian QA Group. + * Switch to debhelper 5. + * Finish /usr/doc transition. Closes: #359434. + * debian/changelog: Remove obsolete Emacs local variables. + * debian/copyright: + - Add copyright holders. Closes: #302965. + - Update FSF address. + * debian/rules: Add support for DEB_BUILD_OPTIONS=noopt. + * debian/watch: Add. + * Conforms to Standards version 3.6.2. + + -- Matej Vela Fri, 7 Apr 2006 08:47:41 +0200 + +java2html (0.9.2-2) unstable; urgency=low + + * Missing build-depends added, Closes: #67007 + + -- Ashley Clark Mon, 10 Jul 2000 11:00:38 -0500 + +java2html (0.9.2-1) unstable; urgency=low + + * New upstream version. + * Standards Version: 3.1.1 + * Added build-depends + * Changed to debian.org email address + + -- Ashley Clark Fri, 7 Jul 2000 09:04:34 -0500 + +java2html (0.9.1-1) unstable; urgency=low + + * New upstream version. + + -- Ashley Clark Sun, 16 Apr 2000 01:22:53 -0500 + +java2html (0.7.2-1) unstable; urgency=low + + * New upstream version. + + -- Ashley Clark Wed, 8 Dec 1999 09:12:22 -0600 + +java2html (0.6.3-2) unstable; urgency=low + + * New maintainer + * Moved to 3.0.1 standard + + -- Ashley Clark Mon, 8 Nov 1999 23:56:55 -0600 + +java2html (0.6.3-1) unstable; urgency=low + + * New upstream version. + + -- Jaldhar H. Vyas Thu, 2 Sep 1999 03:21:36 -0400 + +java2html (0.6.1-1) unstable; urgency=low + + * New upstream version. + + -- Jaldhar H. Vyas Sun, 6 Jun 1999 01:53:04 -0400 + +java2html (0.4-1) unstable; urgency=low + + * Initial Release. + + -- Jaldhar H. Vyas Fri, 2 Apr 1999 12:38:39 -0500 --- java2html-0.9.2.orig/debian/watch +++ java2html-0.9.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://user.cs.tu-berlin.de/~schintke/x2html/java2html-([\d.]+)\.tar\.gz --- java2html-0.9.2.orig/debian/rules +++ java2html-0.9.2/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + + ./configure --enable-fhs + $(MAKE) CFLAGS="$(CFLAGS)" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install prefix=$(CURDIR)/debian/java2html/usr + rm -f debian/java2html/usr/share/doc/java2html/COPYING + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install