From 509d9241294357cc86e76d1da45766d19158d368 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 28 Dec 2000 16:32:57 +0000 Subject: [PATCH] ... --- helm/xsltd/config.cache.pkg | 2 +- helm/xsltd/configure.in | 9 +++------ helm/xsltd/helm_xsltd-0.0.1-1.spec | 14 ++------------ helm/xsltd/start-xaland.in | 24 ++++++++++++++++++++---- 4 files changed, 26 insertions(+), 23 deletions(-) diff --git a/helm/xsltd/config.cache.pkg b/helm/xsltd/config.cache.pkg index 0900d904b..6c23c194e 100644 --- a/helm/xsltd/config.cache.pkg +++ b/helm/xsltd/config.cache.pkg @@ -1,4 +1,4 @@ # This is the config.cache that holds the ``standard'' path for the # HELM library. It is supposed to be used when creating packages -helm_cv_HELM_LIBRARY_DIR=${helm_cv_HELM_LIBRARY_DIR='$RESOLVED_PREFIX/var/helm'} +helm_cv_HELM_STYLES_DIR=${helm_cv_HELM_STYLES_DIR='$RESOLVED_PREFIX/shared/helm/style'} diff --git a/helm/xsltd/configure.in b/helm/xsltd/configure.in index b77304999..9d1f8bea4 100644 --- a/helm/xsltd/configure.in +++ b/helm/xsltd/configure.in @@ -1,4 +1,4 @@ -AC_INIT(etc/configuration.xml.in) +AC_INIT(xaland.class) if test "x$prefix" != xNONE; then RESOLVED_PREFIX=$prefix @@ -21,7 +21,7 @@ AC_MSG_CHECKING("for the lib/helm dir") HELM_LIB_DIR=$RESOLVED_PREFIX/lib/helm AC_MSG_RESULT($HELM_LIB_DIR) -AC_MSG_CHECKING("for the stylesheets' dir") +AC_MSG_CHECKING("for the stylesheets\' dir") RES="" AC_CACHE_VAL(helm_cv_HELM_STYLES_DIR, echo "Where should I find the stylesheets? Note: your answer must be the path of the directory in which the stylesheets in the helm_data package have been installed." @@ -39,7 +39,4 @@ AC_SUBST(HELM_LIB_DIR) AC_SUBST(HELM_BIN_DIR) AC_SUBST(HELM_STYLES_DIR) -AC_OUTPUT( -[Makefile - start-xaland -]) +AC_OUTPUT([Makefile start-xaland], chmod +x start-xaland) diff --git a/helm/xsltd/helm_xsltd-0.0.1-1.spec b/helm/xsltd/helm_xsltd-0.0.1-1.spec index 211f82c6e..914446c5e 100644 --- a/helm/xsltd/helm_xsltd-0.0.1-1.spec +++ b/helm/xsltd/helm_xsltd-0.0.1-1.spec @@ -26,15 +26,5 @@ make install %files %doc AUTHORS COPYING ChangeLog NEWS README - -/usr/local/lib/helm/configuration.pl -/usr/local/etc/helm/configuration.dtd -/usr/local/etc/helm/helm-font-configuration.xml -/usr/local/etc/helm/configuration.xml -/usr/local/etc/helm/helm-math-engine-configuration.xml -/usr/local/etc/helm/helm-dictionary.xml -/usr/local/var/helm/servers.txt -/usr/local/var/helm/urls_of_uris.db - -%dir /usr/local/var/helm/library -%dir /usr/local/share/helm/dtd +/usr/local/lib/helm/xaland.class +%attr(755,root,root) /usr/local/bin/start-xaland diff --git a/helm/xsltd/start-xaland.in b/helm/xsltd/start-xaland.in index 2cad68d74..36aacaa2a 100755 --- a/helm/xsltd/start-xaland.in +++ b/helm/xsltd/start-xaland.in @@ -1,11 +1,27 @@ #!/bin/bash +########################################################################## +# BEGIN OF THE PART TO CONFIGURE BEFORE USING THE SCRIPT # +########################################################################## + +# In the next line you have to set the path to the jdk1.3 +export PATH=/opt/java/jdk1.3/bin/:$PATH + +# In the next line you have to give the classpath to the 1.1 version of +# xalan.jar +export CLASSPATH1=/projects/helm/shared/libraries/java/xalan_1_1/xalan.jar + +# In the next line you have to give the classpath to the 1.1 version of +# xerces.jar +export CLASSPATH2=/projects/helm/shared/libraries/java/xalan_1_1/xerces.jar + +########################################################################## +# END OF THE PART TO CONFIGURE # +########################################################################## + +export CLASSPATH=$CLASSPATH1:$CLASSPATH2:$CLASSPATH:. export CLASS_DIR=@HELM_LIB_DIR@ export HELM_STYLES_DIR=@HELM_STYLES_DIR@ -export PATH=/opt/java/jdk1.3/bin/:$PATH -export CLASSPATH=. -export CLASSPATH=/projects/helm/shared/libraries/java/xalan_1_1/xalan.jar:$CLASSPATH -export CLASSPATH=/projects/helm/shared/libraries/java/xalan_1_1/xerces.jar:$CLASSPATH cd $CLASS_DIR && java -ss1024K -oss8192K \ -- 2.39.2