Author: mslama-guest Date: 2007-09-06 10:27:10 +0000 (Thu, 06 Sep 2007) New Revision: 4103
Added: trunk/javahelp2/ trunk/javahelp2/debian/ trunk/javahelp2/debian/changelog trunk/javahelp2/debian/compat trunk/javahelp2/debian/control trunk/javahelp2/debian/copyright trunk/javahelp2/debian/javahelp2-doc.dirs trunk/javahelp2/debian/javahelp2.dirs trunk/javahelp2/debian/javahelp2.manpages trunk/javahelp2/debian/jhindexer.1 trunk/javahelp2/debian/jhsearch.1 trunk/javahelp2/debian/patches/ trunk/javahelp2/debian/patches/jhindexer.patch trunk/javahelp2/debian/patches/jhsearch.patch trunk/javahelp2/debian/rules Log: Initial version. Added: trunk/javahelp2/debian/changelog =================================================================== --- trunk/javahelp2/debian/changelog (rev 0) +++ trunk/javahelp2/debian/changelog 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,6 @@ +javahelp2 (2.0.05-1) unstable; urgency=low + + * Initial version (Closes: #432773). + + -- Marek Slama <[EMAIL PROTECTED]> Tue, 10 Jul 2007 10:00:00 +0000 + Added: trunk/javahelp2/debian/compat =================================================================== --- trunk/javahelp2/debian/compat (rev 0) +++ trunk/javahelp2/debian/compat 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1 @@ +4 Added: trunk/javahelp2/debian/control =================================================================== --- trunk/javahelp2/debian/control (rev 0) +++ trunk/javahelp2/debian/control 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,48 @@ +Source: javahelp2 +Section: devel +Priority: optional +Maintainer: Debian Java Maintainers <[EMAIL PROTECTED]> +Uploaders: Marek Slama <[EMAIL PROTECTED]> +Build-Depends: cdbs (>= 0.4.8), debhelper (>= 4.2.0) +Build-Depends-Indep: ant, java-gcj-compat-dev, libtomcat5.5-java, libservlet2.4-java, unzip +Standards-Version: 3.7.2 + +Package: javahelp2 +Architecture: all +Section: devel +Priority: optional +Depends: java-gcj-compat | java1-runtime | java2-runtime +Suggests: javahelp2-doc +Description: Java based help system + The JavaHelp system is an online help system that developers can use to add + online help to their Java platform applications. The JavaHelp system provides + developers and authors with a standard, fully featured, easy to use system for + presenting online information to Java application users. The JavaHelp system + consists of a fully featured, extensible specification and API, and + a reference implementation of that specification and API that is written + entirely in the Java programming language. The JavaHelp system reference + implementation, based on the Java Foundation Classes (JFC, also known + as Swing), provides a standard interface that enables both application + developers and authors to add online help to their applications. + . + Homepage: http://javahelp.dev.java.net + +Package: javahelp2-doc +Architecture: all +Section: doc +Priority: optional +Description: Java based help system - contains Javadoc API documentation + The JavaHelp system is an online help system that developers can use to add + online help to their Java platform applications. The JavaHelp system provides + developers and authors with a standard, fully featured, easy to use system for + presenting online information to Java application users. The JavaHelp system + consists of a fully featured, extensible specification and API, and + a reference implementation of that specification and API that is written + entirely in the Java programming language. The JavaHelp system reference + implementation, based on the Java Foundation Classes (JFC, also known + as Swing), provides a standard interface that enables both application + developers and authors to add online help to their applications. + . + This package contains Javadoc API documentation. + . + Homepage: http://javahelp.dev.java.net Added: trunk/javahelp2/debian/copyright =================================================================== --- trunk/javahelp2/debian/copyright (rev 0) +++ trunk/javahelp2/debian/copyright 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,60 @@ +This package was debianized by Marek Slama <[EMAIL PROTECTED]> on +18-May-2007. + +Upstream downloaded from: + https://javahelp.dev.java.net/files/documents/5985/59373/javahelp2-src-2.0.05.zip + +Upstream home page: + http://javahelp.dev.java.net/ + +Authors: + + Sun Microsystems, Inc. + +Copyright: + + - - - - - copyright notice and license for Debian packaging - - - - - + +Copyright 2007 Sun Microsystems, Inc. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + - - - - - copyright notice and license for upstream - - - - - + +Copyright 2007 Sun Microsystems, Inc. + +Use of this software is governed by the terms of the license below: + + This program 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 of the License, or + (at your option) any later version. + + This program 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 along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. Added: trunk/javahelp2/debian/javahelp2-doc.dirs =================================================================== --- trunk/javahelp2/debian/javahelp2-doc.dirs (rev 0) +++ trunk/javahelp2/debian/javahelp2-doc.dirs 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,2 @@ +usr/share/doc +usr/share/doc/javahelp2-doc Added: trunk/javahelp2/debian/javahelp2.dirs =================================================================== --- trunk/javahelp2/debian/javahelp2.dirs (rev 0) +++ trunk/javahelp2/debian/javahelp2.dirs 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,2 @@ +usr/bin +usr/share/java Added: trunk/javahelp2/debian/javahelp2.manpages =================================================================== --- trunk/javahelp2/debian/javahelp2.manpages (rev 0) +++ trunk/javahelp2/debian/javahelp2.manpages 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,2 @@ +debian/jhindexer.1 +debian/jhsearch.1 Added: trunk/javahelp2/debian/jhindexer.1 =================================================================== --- trunk/javahelp2/debian/jhindexer.1 (rev 0) +++ trunk/javahelp2/debian/jhindexer.1 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,68 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" The first parameter, NAME, should be all caps +.\" The second parameter, SECTION, should be 1-8, maybe with subsection +.\" Other parameters are allowed: see man(7), man(1) +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.TH "JHINDEXER" "1" "June 28, 2007" "" "Java Tools" +.SH "NAME" +jhindexer \- JavaHelp command line utility +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jhindexer\fP [ \f2options\fP ] [ \f2file | folder\fP ] +.br + +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP + +.LP +.TP 3 +options +Command\-line options. +.TP 3 +file +JavaHelp system content file. If the argument is a folder, the folder is searched recursively for JavaHelp system content files. +.LP +.SH "DESCRIPTION" +.B jhindexer +creates a full\-text search database used by the JavaHelp system full\-text search engine to locate matches. You can use the jhsearch command to verify the validity of the database. +.SH "OPTIONS" +.LP +.TP 3 +\-c file +A configuration file name. +.TP 3 +\-db dir +The name of the database output folder. By default the output folder is named JavaHelpSearch and is created in the current folder. +.TP 3 +\-locale lang_country_variant +The name of the locale as described in java.util.Locale.For example: en_US (English, United States) or en_US_WIN (English, United States, Windows variant). +.TP 3 +\-logfile file +Captures jhindexer messages in a specified file. You can use this option to preserve jhindexer output on Win32 machines where the console window is dismissed after execution terminates. +.TP 3 +\-nostop words +Causes stop words to be indexed in the full\-text search database. +.TP 3 +\-verbose +Displays verbose messages while processing. +.SH "SEE ALSO" +.B jhsearch +(1) Added: trunk/javahelp2/debian/jhsearch.1 =================================================================== --- trunk/javahelp2/debian/jhsearch.1 (rev 0) +++ trunk/javahelp2/debian/jhsearch.1 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,45 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" The first parameter, NAME, should be all caps +.\" The second parameter, SECTION, should be 1-8, maybe with subsection +.\" Other parameters are allowed: see man(7), man(1) +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.TH "JHSEARCH" "1" "June 28, 2007" "" "Java Tools" +.SH "NAME" +jhsearch \- JavaHelp command line utility +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jhsearch\fP \f2database_directory\fP +.br + +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP + +.LP +.TP 3 +database_directory +datadase directory is created by command jhindexer. +.LP +.SH "DESCRIPTION" +.B jhsearch +command is a command\-line program that can be used to query the JavaHelp system full\-text search database created with the jhindexer command. The jhsearch command can be used to verify the validity of a search database without invoking the help viewer. +.SH "SEE ALSO" +.B jhindexer +(1) Added: trunk/javahelp2/debian/patches/jhindexer.patch =================================================================== --- trunk/javahelp2/debian/patches/jhindexer.patch (rev 0) +++ trunk/javahelp2/debian/patches/jhindexer.patch 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,54 @@ +diff -Nur javahelp/build-tree/javahelp2-2.0.05/jhMaster/JavaHelp/javahelp/bin/jhindexer javahelp.new/build-tree/javahelp2-2.0.05/jhMaster/JavaHelp/javahelp/bin/jhindexer +--- javahelp2-2.0.05/jhMaster/JavaHelp/javahelp/bin/jhindexer 2006-12-01 17:29:20.000000000 +0100 ++++ javahelp2-2.0.05/jhMaster/JavaHelp/javahelp/bin/jhindexer 2007-06-13 17:17:37.000000000 +0200 +@@ -1,49 +1,3 @@ + #! /bin/sh + # This builds a search database +- +-# Cygwin support. $cygwin _must_ be set to either true or false. +-case "`uname`" in +- CYGWIN*) cygwin=true ;; +- *) cygwin=false ;; +-esac +- +-# For Cygwin, ensure paths are in UNIX format before anything is touched +-if $cygwin; then +- [ -n "$JAVAHELP_HOME" ] && +- JAVAHELP_HOME=`cygpath --unix "$JAVAHELP_HOME"` +-fi +- +-if [ "$JAVAHELP_HOME" = "" ] ; then +- # try to find jhindexer +- if [ -d /opt/javahelp ] ; then +- JAVAHELP_HOME=/opt/javahelp +- fi +- +- if [ -d ${HOME}/opt/jhindexer ] ; then +- JAVAHELP_HOME=${HOME}/opt/javahelp +- fi +- +- ## resolve links - $0 may be a link to javahelp's home +- PRG=$0 +- progname=`basename $0` +- +- while [ -h "$PRG" ] ; do +- ls=`ls -ld "$PRG"` +- link=`expr "$ls" : '.*-> \(.*\)$'` +- if expr "$link" : '.*/.*' > /dev/null; then +- PRG="$link" +- else +- PRG="`dirname $PRG`/$link" +- fi +- done +- +- JAVAHELP_HOME=`dirname "$PRG"`/../.. +- +-fi +- +-# For Cygwin, switch paths to Windows format before running java +-if $cygwin; then +- JAVAHELP_HOME=`cygpath --path --windows "$JAVAHELP_HOME"` +-fi +- +-java -jar $JAVAHELP_HOME/javahelp/bin/jhindexer.jar "$@" ++java -cp /usr/share/java/jhall.jar com.sun.java.help.search.Indexer "$@" Added: trunk/javahelp2/debian/patches/jhsearch.patch =================================================================== --- trunk/javahelp2/debian/patches/jhsearch.patch (rev 0) +++ trunk/javahelp2/debian/patches/jhsearch.patch 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,54 @@ +diff -Nur javahelp/build-tree/javahelp2-2.0.05/jhMaster/JavaHelp/javahelp/bin/jhsearch javahelp.new/build-tree/javahelp2-2.0.05/jhMaster/JavaHelp/javahelp/bin/jhsearch +--- javahelp2-2.0.05/jhMaster/JavaHelp/javahelp/bin/jhsearch 2006-12-01 17:29:20.000000000 +0100 ++++ javahelp2-2.0.05/jhMaster/JavaHelp/javahelp/bin/jhsearch 2007-06-13 17:19:56.000000000 +0200 +@@ -1,49 +1,3 @@ + #! /bin/sh + # This searches a search database. Argument is the database directory +- +-# Cygwin support. $cygwin _must_ be set to either true or false. +-case "`uname`" in +- CYGWIN*) cygwin=true ;; +- *) cygwin=false ;; +-esac +- +-# For Cygwin, ensure paths are in UNIX format before anything is touched +-if $cygwin; then +- [ -n "$JAVAHELP_HOME" ] && +- JAVAHELP_HOME=`cygpath --unix "$JAVAHELP_HOME"` +-fi +- +-if [ "$JAVAHELP_HOME" = "" ] ; then +- # try to find jhindexer +- if [ -d /opt/javahelp ] ; then +- JAVAHELP_HOME=/opt/javahelp +- fi +- +- if [ -d ${HOME}/opt/jhindexer ] ; then +- JAVAHELP_HOME=${HOME}/opt/javahelp +- fi +- +- ## resolve links - $0 may be a link to javahelp's home +- PRG=$0 +- progname=`basename $0` +- +- while [ -h "$PRG" ] ; do +- ls=`ls -ld "$PRG"` +- link=`expr "$ls" : '.*-> \(.*\)$'` +- if expr "$link" : '.*/.*' > /dev/null; then +- PRG="$link" +- else +- PRG="`dirname $PRG`/$link" +- fi +- done +- +- JAVAHELP_HOME=`dirname "$PRG"`/../.. +- +-fi +- +-# For Cygwin, switch paths to Windows format before running java +-if $cygwin; then +- JAVAHELP_HOME=`cygpath --path --windows "$JAVAHELP_HOME"` +-fi +- +-java -jar $JAVAHELP_HOME/javahelp/bin/jhsearch.jar "$@" ++java -cp /usr/share/java/jhall.jar com.sun.java.help.search.QueryEngine "$@" Added: trunk/javahelp2/debian/rules =================================================================== --- trunk/javahelp2/debian/rules (rev 0) +++ trunk/javahelp2/debian/rules 2007-09-06 10:27:10 UTC (rev 4103) @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +DEB_TAR_SRCDIR := javahelp2-2.0.05 + +JAVA_HOME=/usr/lib/jvm/java-gcj + +include /usr/share/cdbs/1/rules/tarball.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +# package name +p_jh := javahelp2 +p_doc := $(p_jh)-doc +# debian dir for package +d_jh := debian/$(p_jh) + +build/$(p_jh):: stamp-build-$(p_jh) + +# This target is here to avoid multiple invocation of build target. +# build/$(p_jh) is invoked 2 times when building binary packages. +stamp-build-$(p_jh): + #Create symlink to required jars + mkdir -p $(DEB_SRCDIR)/javahelp_nbproject/lib + ln -s -f /usr/share/java/servlet-api.jar $(DEB_SRCDIR)/javahelp_nbproject/lib/servlet-api.jar + ln -s -f /usr/share/java/jsp-api.jar $(DEB_SRCDIR)/javahelp_nbproject/lib/jsp-api.jar + #Remove class uncompilable without JDIC + rm -f $(DEB_SRCDIR)/jhMaster/JavaHelp/src/new/javax/help/plaf/basic/BasicNativeContentViewerUI.java + #Build javahelp target 'release' is for jars, target 'javadoc' is for javadoc + ant -f $(DEB_SRCDIR)/javahelp_nbproject/build.xml -Djdic-jar-present=true -Djdic-zip-present=true \ + -Ddist.javadoc.dir=dist/lib/api \ + -Dservlet-jar-present=true -Dtomcat-zip-present=true release javadoc + touch $@ + +install/$(p_jh):: + install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jhall.jar $(d_jh)/usr/share/java/jhall-$(DEB_UPSTREAM_VERSION).jar + install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jhbasic.jar $(d_jh)/usr/share/java/jhbasic-$(DEB_UPSTREAM_VERSION).jar + install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jh-client.jar $(d_jh)/usr/share/java/jh-client-$(DEB_UPSTREAM_VERSION).jar + install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jh.jar $(d_jh)/usr/share/java/jh-$(DEB_UPSTREAM_VERSION).jar + install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jsearch-client.jar $(d_jh)/usr/share/java/jsearch-client-$(DEB_UPSTREAM_VERSION).jar + install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jsearch-indexer.jar $(d_jh)/usr/share/java/jsearch-indexer-$(DEB_UPSTREAM_VERSION).jar + install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jsearch.jar $(d_jh)/usr/share/java/jsearch-$(DEB_UPSTREAM_VERSION).jar + install -m 644 $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/jsearch-misc.jar $(d_jh)/usr/share/java/jsearch-misc-$(DEB_UPSTREAM_VERSION).jar + dh_link -p$(p_jh) usr/share/java/jhall-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jhall.jar + dh_link -p$(p_jh) usr/share/java/jhbasic-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jhbasic.jar + dh_link -p$(p_jh) usr/share/java/jh-client-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jh-client.jar + dh_link -p$(p_jh) usr/share/java/jh-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jh.jar + dh_link -p$(p_jh) usr/share/java/jsearch-client-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jsearch-client.jar + dh_link -p$(p_jh) usr/share/java/jsearch-indexer-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jsearch-indexer.jar + dh_link -p$(p_jh) usr/share/java/jsearch-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jsearch.jar + dh_link -p$(p_jh) usr/share/java/jsearch-misc-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jsearch-misc.jar + # copy the shell scripts + install -m 755 $(DEB_SRCDIR)/javahelp_nbproject/dist/bin/jhindexer $(d_jh)/usr/bin/ + install -m 755 $(DEB_SRCDIR)/javahelp_nbproject/dist/bin/jhsearch $(d_jh)/usr/bin/ + +install/$(p_doc):: + dh_installdocs -p$(p_doc) $(DEB_SRCDIR)/javahelp_nbproject/dist/lib/api + +clean:: + # these files are left by cdbs (a bug?) + -rm -f *.cdbs-config_list + -rm -f stamp-build-$(p_jh) Property changes on: trunk/javahelp2/debian/rules ___________________________________________________________________ Name: svn:executable + _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

