--- babel-0.10.2.orig/bin/babel-config.in
+++ babel-0.10.2/bin/babel-config.in
@@ -30,7 +30,7 @@
 sharedstatedir="@sharedstatedir@"
 localstatedir="@localstatedir@"
 includedir="@includedir@"
-jardir="${prefix}/lib"
+jardir="${datadir}/java"
 repodir="${datadir}/${PACKAGE}-${VERSION}/repository"
 
 build="@build@"
--- babel-0.10.2.orig/bin/babel.in
+++ babel-0.10.2/bin/babel.in
@@ -119,9 +119,11 @@
 #test if $0 is the same inode as where babel script is installed.
 path2me=$0
 myname=babel
+SYSJAR=/usr/share/java
 is_installed="false"
 if samefile ${bindir}/${myname} $path2me; then 
   is_installed="true"
+  BABELJAR="${datadir}/java"
   if $verbose; then 
      echo "Just use paths determined at configure time to find jar files..."
   fi
@@ -166,6 +168,7 @@
     exit -1 
   fi 
   cd $PWD_SAVE
+  BABELJAR="${prefix}/lib"
 fi
 if $verbose; then 
   echo "  prefix=\"${prefix}\""
@@ -176,17 +179,17 @@
 #
 # Set the CLASSPATH based on the BABEL home directory
 #
-if test -e ${prefix}/lib/${PACKAGE}-${VERSION}.jar; then
+if test -e ${BABELJAR}/${PACKAGE}-${VERSION}.jar; then
   if $verbose; then
-    echo "Looking for jar files in \"${prefix}/lib\"...";
+    echo "Looking for jar files in \"${BABELJAR}\"...";
   fi
 else 
   echo "ERROR: $0 " >&2
-  echo "   Expected to find ${prefix}/lib/${PACKAGE}-${VERSION}.jar" >&2
+  echo "   Expected to find ${BABELJAR}/${PACKAGE}-${VERSION}.jar" >&2
   exit 1
 fi
 
-BABELCP=${prefix}/lib/${PACKAGE}-${VERSION}.jar:${prefix}/lib/java-getopt-1.0.7.jar:${prefix}/lib/xerces-2.4.0.jar:${prefix}/lib/xml-apis.jar:${prefix}/lib/jcert-1.0.1.jar:${prefix}/lib/jnet-1.0.1.jar:${prefix}/lib/jsse-1.0.1.jar
+BABELCP=${BABELJAR}/${PACKAGE}-${VERSION}.jar:${SYSJAR}/gnu-getopt.jar:${SYSJAR}/xercesImpl.jar:${SYSJAR}/xmlParserAPIs.jar:${SYSJAR}/xml-apis.jar
 if test "X$CLASSPATH" = "X"; then
   CLASSPATH=${BABELCP}
 else
--- babel-0.10.2.orig/runtime/m4/llnl_prog_javah.m4
+++ babel-0.10.2/runtime/m4/llnl_prog_javah.m4
@@ -141,7 +141,8 @@
 AC_DEFUN([LLNL_LIB_JVM],[AC_REQUIRE([LLNL_LIB_JAVA])dnl
 AC_CACHE_CHECK([for path to libjvm.{a,so} or client/libjvm.{a,so} ],
 	[llnl_cv_lib_jvm],
-[javatopdir="$llnl_cv_lib_java"
+[javatopdir=`dirname "$llnl_cv_header_jni_h"`
+ javatopdir=`dirname $javatopdir`
  case $host_os in 
    cygwin* | mingw* | pw23* ) 
      llnl_cv_lib_jvm=`find $javatopdir -follow \( \
@@ -151,7 +152,7 @@
    *)
      llnl_cv_lib_jvm=`find $javatopdir -follow \( \
 	\( -name server -type d -prune \) -o \
-	\( -name "libjvm.*" -print \) \) 2> /dev/null | head -1`
+	\( -name "libkaffevm.*" -print \) \) 2> /dev/null | head -1`
      ;;
  esac
 ])
@@ -164,7 +165,8 @@
 AC_DEFUN([LLNL_LIB_JVM_DIR],[AC_REQUIRE([LLNL_LIB_JAVA])dnl
 AC_CACHE_CHECK([for directory where libjvm.{a,so} or client/libjvm.{a,so} resides],
 	[llnl_cv_lib_jvm_dir],
-[javatopdir="$llnl_cv_lib_java"
+[javatopdir=`dirname "$llnl_cv_header_jni_h"`
+ javatopdir=`dirname $javatopdir`
  lib_jvm=
  case $host_os in 
    cygwin* | mingw* | pw23* ) 
@@ -175,7 +177,7 @@
    *)
      llnl_cv_lib_jvm_dir=`find $javatopdir -follow \( \
 	\( -name server -type d -prune \) -o \
-	\( -name "libjvm.*" -exec dirname {} \; \) \) 2> /dev/null | tr "\n" " "`
+	\( -name "libkaffevm.*" -exec dirname {} \; \) \) 2> /dev/null | tr "\n" " "`
      ;;
  esac
 ])
--- babel-0.10.2.orig/runtime/Makefile.am
+++ babel-0.10.2/runtime/Makefile.am
@@ -125,10 +125,10 @@
 	    $$abspath/sidl/sidl.sidl;					\
 	  $(PYTHON) sidlsetup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../sidl --include-dirs=../config  $(PYTHON_SETUP_ARGS) build_ext   \
-	   --inplace --rpath=$(libdir);					\
+	   --inplace;					\
 	  $(PYTHON) setup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../sidl --include-dirs=../config $(PYTHON_SETUP_ARGS) build_ext 	\
-	   --inplace --rpath=$(libdir);							\
+	   --inplace;							\
 	fi
 	touch python/babel-stamp
 
@@ -150,10 +150,10 @@
 	  cd python;							\
 	  $(PYTHON) sidlsetup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../$(srcdir)/sidl --include-dirs=../config $(PYTHON_SETUP_ARGS)  build_ext   \
-	   --inplace --rpath=$(libdir);					\
+	   --inplace;					\
 	  $(PYTHON) setup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../$(srcdir)/sidl --include-dirs=../config $(PYTHON_SETUP_ARGS)  build_ext 	\
-	   --inplace --rpath=$(libdir);					\
+	   --inplace;					\
 	fi
 	touch python/babel-stamp2
 
@@ -233,10 +233,10 @@
 	cd python ;							\
 	$(PYTHON) sidlsetup.py --library-dirs=../sidl/.libs \
 	 --include-dirs=../$(babelpythonsrc)/sidl --include-dirs=../config      \
-	 $(PYTHON_SETUP_ARGS) build_ext --rpath=$(libdir);		\
+	 $(PYTHON_SETUP_ARGS) build_ext;		\
 	$(PYTHON) setup.py --library-dirs=../sidl/.libs \
 	 --include-dirs=../$(babelpythonsrc)/sidl --include-dirs=../config 	\
-	 $(PYTHON_SETUP_ARGS) build_ext --rpath=$(libdir);		\
+	 $(PYTHON_SETUP_ARGS) build_ext;		\
 	$(PYTHON) sidlsetup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../sidl --include-dirs=../config install 	\
 	   $(PYTHON_SETUP_ARGS) 					\
--- babel-0.10.2.orig/runtime/Makefile.in
+++ babel-0.10.2/runtime/Makefile.in
@@ -807,10 +807,10 @@
 	    $$abspath/sidl/sidl.sidl;					\
 	  $(PYTHON) sidlsetup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../sidl --include-dirs=../config  $(PYTHON_SETUP_ARGS) build_ext   \
-	   --inplace --rpath=$(libdir);					\
+	   --inplace;					\
 	  $(PYTHON) setup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../sidl --include-dirs=../config $(PYTHON_SETUP_ARGS) build_ext 	\
-	   --inplace --rpath=$(libdir);							\
+	   --inplace;							\
 	fi
 	touch python/babel-stamp
 
@@ -832,10 +832,10 @@
 	  cd python;							\
 	  $(PYTHON) sidlsetup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../$(srcdir)/sidl --include-dirs=../config $(PYTHON_SETUP_ARGS)  build_ext   \
-	   --inplace --rpath=$(libdir);					\
+	   --inplace;					\
 	  $(PYTHON) setup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../$(srcdir)/sidl --include-dirs=../config $(PYTHON_SETUP_ARGS)  build_ext 	\
-	   --inplace --rpath=$(libdir);					\
+	   --inplace;					\
 	fi
 	touch python/babel-stamp2
 
@@ -915,10 +915,10 @@
 	cd python ;							\
 	$(PYTHON) sidlsetup.py --library-dirs=../sidl/.libs \
 	 --include-dirs=../$(babelpythonsrc)/sidl --include-dirs=../config      \
-	 $(PYTHON_SETUP_ARGS) build_ext --rpath=$(libdir);		\
+	 $(PYTHON_SETUP_ARGS) build_ext;		\
 	$(PYTHON) setup.py --library-dirs=../sidl/.libs \
 	 --include-dirs=../$(babelpythonsrc)/sidl --include-dirs=../config 	\
-	 $(PYTHON_SETUP_ARGS) build_ext --rpath=$(libdir);		\
+	 $(PYTHON_SETUP_ARGS) build_ext;		\
 	$(PYTHON) sidlsetup.py --library-dirs=../sidl/.libs \
 	   --include-dirs=../sidl --include-dirs=../config install 	\
 	   $(PYTHON_SETUP_ARGS) 					\
--- babel-0.10.2.orig/runtime/configure
+++ babel-0.10.2/runtime/configure
@@ -14031,7 +14031,8 @@
 if test "${llnl_cv_lib_jvm_dir+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  javatopdir="$llnl_cv_lib_java"
+  javatopdir=`dirname "$llnl_cv_header_jni_h"`
+ javatopdir=`dirname $javatopdir`
  lib_jvm=
  case $host_os in
    cygwin* | mingw* | pw23* )
@@ -14042,7 +14043,7 @@
    *)
      llnl_cv_lib_jvm_dir=`find $javatopdir -follow \( \
 	\( -name server -type d -prune \) -o \
-	\( -name "libjvm.*" -exec dirname {} \; \) \) 2> /dev/null | tr "\n" " "`
+	\( -name "libkaffevm.*" -exec dirname {} \; \) \) 2> /dev/null | tr "\n" " "`
      ;;
  esac
 
@@ -14057,7 +14058,8 @@
 if test "${llnl_cv_lib_jvm+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  javatopdir="$llnl_cv_lib_java"
+  javatopdir=`dirname "$llnl_cv_header_jni_h"`
+ javatopdir=`dirname $javatopdir`
  case $host_os in
    cygwin* | mingw* | pw23* )
      llnl_cv_lib_jvm=`find $javatopdir -follow \( \
@@ -14067,7 +14069,7 @@
    *)
      llnl_cv_lib_jvm=`find $javatopdir -follow \( \
 	\( -name server -type d -prune \) -o \
-	\( -name "libjvm.*" -print \) \) 2> /dev/null | head -1`
+	\( -name "libkaffevm.*" -print \) \) 2> /dev/null | head -1`
      ;;
  esac
 
--- babel-0.10.2.orig/configure
+++ babel-0.10.2/configure
@@ -14119,7 +14119,8 @@
 if test "${llnl_cv_lib_jvm_dir+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  javatopdir="$llnl_cv_lib_java"
+  javatopdir=`dirname "$llnl_cv_header_jni_h"`
+ javatopdir=`dirname $javatopdir`
  lib_jvm=
  case $host_os in
    cygwin* | mingw* | pw23* )
@@ -14130,7 +14131,7 @@
    *)
      llnl_cv_lib_jvm_dir=`find $javatopdir -follow \( \
 	\( -name server -type d -prune \) -o \
-	\( -name "libjvm.*" -exec dirname {} \; \) \) 2> /dev/null | tr "\n" " "`
+	\( -name "libkaffevm.*" -exec dirname {} \; \) \) 2> /dev/null | tr "\n" " "`
      ;;
  esac
 
@@ -14145,7 +14146,8 @@
 if test "${llnl_cv_lib_jvm+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  javatopdir="$llnl_cv_lib_java"
+  javatopdir=`dirname "$llnl_cv_header_jni_h"`
+ javatopdir=`dirname $javatopdir`
  case $host_os in
    cygwin* | mingw* | pw23* )
      llnl_cv_lib_jvm=`find $javatopdir -follow \( \
@@ -14155,7 +14157,7 @@
    *)
      llnl_cv_lib_jvm=`find $javatopdir -follow \( \
 	\( -name server -type d -prune \) -o \
-	\( -name "libjvm.*" -print \) \) 2> /dev/null | head -1`
+	\( -name "libkaffevm.*" -print \) \) 2> /dev/null | head -1`
      ;;
  esac
 
--- babel-0.10.2.orig/lib/Makefile.am
+++ babel-0.10.2/lib/Makefile.am
@@ -35,7 +35,7 @@
 BABELJAR = @PACKAGE@-@VERSION@.jar
 SIDLJAR  = sidl-@VERSION@.jar
 
-jardir = $(prefix)/lib
+jardir = $(datadir)/java
 jar_DATA = $(BABELJAR)						\
 	   $(SIDLJAR)						\
 	   java-getopt-1.0.7.jar				\
--- babel-0.10.2.orig/lib/Makefile.in
+++ babel-0.10.2/lib/Makefile.in
@@ -322,7 +322,7 @@
 SUBDIRS = sidlstubs
 BABELJAR = @PACKAGE@-@VERSION@.jar
 SIDLJAR = sidl-@VERSION@.jar
-jardir = $(prefix)/lib
+jardir = $(datadir)/java
 jar_DATA = $(BABELJAR)						\
 	   $(SIDLJAR)						\
 	   java-getopt-1.0.7.jar				\
--- babel-0.10.2.orig/doc/babel101/Makefile.am
+++ babel-0.10.2/doc/babel101/Makefile.am
@@ -10,7 +10,7 @@
 
 
 
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/babel101
+docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)-doc/babel101
 
 docdata = \
   Babel101.html \
--- babel-0.10.2.orig/doc/babel101/Makefile.in
+++ babel-0.10.2/doc/babel101/Makefile.in
@@ -310,7 +310,7 @@
 target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/babel101
+docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)-doc/babel101
 docdata = \
   Babel101.html \
   babelcmd.html \
--- babel-0.10.2.orig/doc/html/Makefile.am
+++ babel-0.10.2/doc/html/Makefile.am
@@ -10,12 +10,13 @@
 
 
 
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/compiler-javadoc
+docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)-doc/compiler-javadoc
 
 JAVADOC = @JAVADOC@
 JAVADOCFILES = package-list stylesheet.css *.html
 
-CP = ../../lib/java-getopt-1.0.7.jar:../../lib/xerces-1.1.1.jar:../../lib/jcert-1.0.1.jar:../../lib/jnet-1.0.1.jar:../../lib/external/jsse-1.0.1.jar
+SYSJAR = /usr/share/java
+CP = ${SYSJAR}/gnu.getopt.jar:${SYSJAR}/xercesImpl.jar:${SYSJAR}/xmlParserAPIs.jar:${SYSJAR}/xml-apis.jar
 SP = $(top_srcdir)/compiler:$(top_srcdir)/runtime/java
 
 if SUPPORT_CYGWIN
@@ -53,7 +54,7 @@
 	   rm -rf gov sidl; \
 	   CLASSPATH="$(CLASSPATH)"; \
 	   SOURCEPATH="$(SOURCEPATH)"; \
-	   $(JAVADOC) -classpath "$$CLASSPATH" \
+	   $(JAVADOC) -tagletpath "$$CLASSPATH" \
 		  -sourcepath "$$SOURCEPATH" -d . $(BABEL_PACKAGES);\
 	fi
 
--- babel-0.10.2.orig/doc/html/Makefile.in
+++ babel-0.10.2/doc/html/Makefile.in
@@ -300,9 +300,10 @@
 target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/compiler-javadoc
+docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)-doc/compiler-javadoc
 JAVADOCFILES = package-list stylesheet.css *.html
-CP = ../../lib/java-getopt-1.0.7.jar:../../lib/xerces-1.1.1.jar:../../lib/jcert-1.0.1.jar:../../lib/jnet-1.0.1.jar:../../lib/external/jsse-1.0.1.jar
+SYSJAR = /usr/share/java
+CP = ${SYSJAR}/gnu.getopt.jar:${SYSJAR}/xercesImpl.jar:${SYSJAR}/xmlParserAPIs.jar:${SYSJAR}/xml-apis.jar
 SP = $(top_srcdir)/compiler:$(top_srcdir)/runtime/java
 @SUPPORT_CYGWIN_FALSE@CLASSPATH = $(CP)
 @SUPPORT_CYGWIN_TRUE@CLASSPATH = `cygpath --path --windows "$(CP)"`
@@ -502,7 +503,7 @@
 	   rm -rf gov sidl; \
 	   CLASSPATH="$(CLASSPATH)"; \
 	   SOURCEPATH="$(SOURCEPATH)"; \
-	   $(JAVADOC) -classpath "$$CLASSPATH" \
+	   $(JAVADOC) -tagletpath "$$CLASSPATH" \
 		  -sourcepath "$$SOURCEPATH" -d . $(BABEL_PACKAGES);\
 	fi
 
--- babel-0.10.2.orig/doc/manuals/Makefile.am
+++ babel-0.10.2/doc/manuals/Makefile.am
@@ -10,7 +10,7 @@
 
 
 
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/manuals
+docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)-doc/manuals
 
 doc_DATA = users_guide.pdf users_guide.ps #ref_manual.pdf ref_manual.ps 
 
--- babel-0.10.2.orig/doc/manuals/Makefile.in
+++ babel-0.10.2/doc/manuals/Makefile.in
@@ -310,7 +310,7 @@
 target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/manuals
+docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)-doc/manuals
 doc_DATA = users_guide.pdf users_guide.ps #ref_manual.pdf ref_manual.ps 
 all: all-am
 
--- babel-0.10.2.orig/debian/python2.4-babel.files
+++ babel-0.10.2/debian/python2.4-babel.files
@@ -0,0 +1,2 @@
+usr/lib/python*
+usr/include/python*
--- babel-0.10.2.orig/debian/control
+++ babel-0.10.2/debian/control
@@ -0,0 +1,124 @@
+Source: babel
+Section: contrib/devel
+Priority: extra
+Maintainer: Adam C. Powell, IV <hazelsct@debian.org>
+Standards-Version: 3.6.1.0
+Build-Depends: debhelper (>= 4.1.67), gcc-3.4 | c-compiler, g77-3.4 | fortran-compiler, g++-3.4 | c++-compiler, kaffe | java-virtual-machine, kaffe-dev, python, python2.4, python2.4-dev, python2.4-numeric, libltdl3-dev, gcj-3.4 | java-compiler, fastjar, gjdoc, libxerces2-java, libgetopt-java, libxalan2-java, libxml2-dev
+Build-Depends-Indep: libhtml-tree-perl
+
+Package: babel-0.10.2
+Architecture: all
+Section: contrib/devel
+Depends: kaffe | java1-runtime, libgetopt-java, libxerces2-java, libxalan2-java
+Suggests: babel-0.10.2-doc
+Provides: babel
+Conflicts: openbabel, babel-0.8.4, babel-0.8.2, babel-0.8.0
+Description: Scientific Interface Definition Language (SIDL) compiler
+ Babel is a compiler for the Scientific Interface Definition Language (SIDL),
+ currently under development as a support tool for parallel simulation codes.
+ .
+ SIDL is in the same "phylum" as CORBA or COM, but with an eye toward future
+ extension to data redistribution on massively parallel architectures.  In
+ addition, because of the large amount of existing and very important
+ scientific code written in FORTRAN, SIDL is designed with support for that
+ language in mind.
+ .
+ Babel is written in Java, and currently has backends for: FORTRAN 77, C, C++,
+ Java and Python.
+
+Package: libsidl0.10.2-java
+Architecture: all
+Section: contrib/libs
+Depends: kaffe | java1-runtime
+Provides: libsidl-java
+Conflicts: libsidl0.8.4-java, libsidl0.8.2-java, libsidl0.8.0-java
+Description: Scientific Interface Definition Language (SIDL) Java runtime
+ Babel is a compiler for the Scientific Interface Definition Language (SIDL),
+ currently under development as a support tool for parallel simulation codes.
+ .
+ SIDL is in the same "phylum" as CORBA or COM, but with an eye toward future
+ extension to data redistribution on massively parallel architectures.  In
+ addition, because of the large amount of existing and very important
+ scientific code written in FORTRAN, SIDL is designed with support for that
+ language in mind.
+ .
+ Babel is written in Java, and currently has backends for: FORTRAN 77, C, C++,
+ Java and Python.
+ .
+ This package contains the Java SIDL runtime library.
+
+Package: python2.4-babel
+Architecture: any
+Section: contrib/python
+Depends: python2.4-numeric, ${python:Depends}, ${shlibs:Depends}
+Description: Scientific Interface Definition Language (SIDL) python runtime
+ Babel is a compiler for the Scientific Interface Definition Language (SIDL),
+ currently under development as a support tool for parallel simulation codes.
+ .
+ SIDL is in the same "phylum" as CORBA or COM, but with an eye toward future
+ extension to data redistribution on massively parallel architectures.  In
+ addition, because of the large amount of existing and very important
+ scientific code written in FORTRAN, SIDL is designed with support for that
+ language in mind.
+ .
+ Babel is written in Java, and currently has backends for: FORTRAN 77, C, C++,
+ Java and Python.
+ .
+ This package contains the Python runtime module.
+
+Package: libsidl-dev
+Architecture: any
+Section: contrib/libdevel
+Depends: libsidl0.10.2 (= ${Source-Version})
+Description: Scientific Interface Definition Language (SIDL) C(++)/FORTRAN runtime devel
+ Babel is a compiler for the Scientific Interface Definition Language (SIDL),
+ currently under development as a support tool for parallel simulation codes.
+ .
+ SIDL is in the same "phylum" as CORBA or COM, but with an eye toward future
+ extension to data redistribution on massively parallel architectures.  In
+ addition, because of the large amount of existing and very important
+ scientific code written in FORTRAN, SIDL is designed with support for that
+ language in mind.
+ .
+ Babel is written in Java, and currently has backends for: FORTRAN 77, C, C++,
+ Java and Python.
+ .
+ This package contains the development files for the C, C++ and FORTRAN
+ backends.
+
+Package: libsidl0.10.2
+Architecture: any
+Section: contrib/libs
+Depends: ${shlibs:Depends}
+Description: Scientific Interface Definition Language (SIDL) C(++)/FORTRAN runtime
+ Babel is a compiler for the Scientific Interface Definition Language (SIDL),
+ currently under development as a support tool for parallel simulation codes.
+ .
+ SIDL is in the same "phylum" as CORBA or COM, but with an eye toward future
+ extension to data redistribution on massively parallel architectures.  In
+ addition, because of the large amount of existing and very important
+ scientific code written in FORTRAN, SIDL is designed with support for that
+ language in mind.
+ .
+ Babel is written in Java, and currently has backends for: FORTRAN 77, C, C++,
+ Java and Python.
+ .
+ This package contains the runtime libraries for the C and FORTRAN backends.
+
+Package: babel-0.10.2-doc
+Architecture: all
+Section: contrib/doc
+Description: Scientific Interface Definition Language (SIDL) suite documentation
+ Babel is a compiler for the Scientific Interface Definition Language (SIDL),
+ currently under development as a support tool for parallel simulation codes.
+ .
+ SIDL is in the same "phylum" as CORBA or COM, but with an eye toward future
+ extension to data redistribution on massively parallel architectures.  In
+ addition, because of the large amount of existing and very important
+ scientific code written in FORTRAN, SIDL is designed with support for that
+ language in mind.
+ .
+ Babel is written in Java, and currently has backends for: FORTRAN 77, C, C++,
+ Java and Python.
+ .
+ This package contains extensive documentation for babel.
--- babel-0.10.2.orig/debian/babel-manpage-script
+++ babel-0.10.2/debian/babel-manpage-script
@@ -0,0 +1,70 @@
+#!/usr/bin/perl
+use HTML::TreeBuilder;
+use HTML::Element;
+
+  # Check if file exists and get last modified time for header
+$filename = defined $ARGV[0] ? $ARGV[0] : "doc/babel101/babelcmd.html";
+die "Cannot read $filename" unless ( -r $filename );
+@STAT = stat $filename;
+$mtime = $STAT[9];
+
+  # Parse html file
+$tree = HTML::TreeBuilder->new();
+$tree->parse_file( $filename );
+
+  # Get Babel version from <h1>.../h1>
+$body = $tree->look_down( "_tag", "body" );
+$h1 = $body->look_down( "_tag", "h1" );
+undef $babel_version;
+$babel_version = $1 if ( $h1 && ($h1->as_text =~ /Babel ([0-9.x]+) /) );
+
+  # Write man page header
+print ".TH BABEL 1 \"";
+print "Version $babel_version: " if ( $babel_version );
+@DATE=localtime $mtime;
+@MONTHS=qw( Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec );
+printf "%d %s %d\"\n", $DATE[3], $MONTHS[$DATE[4]], 1900 + $DATE[5];
+
+  # Scan up to first <h2> tag
+@doclist = $body->content_list();
+until ( ref($doclist[0]) and ($doclist[0]->tag eq "h2") )
+{
+  shift @doclist;
+}
+
+  # Interpret remainder as <h2> section name </h2> section body <h2 > ...
+while( $#doclist >= 0 )
+{
+   $elem = shift @doclist;
+   die "Internal Error" if ( $elem->tag ne "h2" );
+   $label = $elem->as_text;
+   $label =~ //-/\\-/;
+   printf "\n.SH %s\n", uc($label);
+
+   while ( $#doclist >= 0 )
+   {
+      $elem = shift @doclist;
+      if ( ! ref($elem) )
+      {
+           # Elem is just text (not a tag)
+         $elem =~ s/\xA0//g;
+         print "$elem";
+         next;
+      }
+
+      $tag = $elem->tag;
+      if ($tag eq "h2")
+      {
+         unshift @doclist, $elem;
+         last;
+      }
+#       elsif ($tag eq "br")
+#       {
+#          print "\n";
+#          next;
+#       }
+
+      print "\n.PP\n" if ( $tag eq "p" );
+      @doclist = ($elem->content_list, @doclist);
+   }
+}
--- babel-0.10.2.orig/debian/changelog
+++ babel-0.10.2/debian/changelog
@@ -0,0 +1,116 @@
+babel (0.10.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added kaffe-dev to Build-Depends (closes: #285487, #278788).
+  * Added dh_python to rules, making everything but source lintian-clean.
+  * Upgraded python version to 2.4 since upstream requires this.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Tue,  3 May 2005 16:55:48 -0400
+
+babel (0.9.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Tue, 31 Aug 2004 18:18:23 -0400
+
+babel (0.8.8-1) unstable; urgency=low
+
+  * New upstream (closes: #220620).
+  * Changed build-dep from gcj-3.2 to gcj as 3.3 works now (closes: #209283).
+  * Changed from using kaffe's jar to fastjar as kaffe's doesn't work.
+  * Modified babel.in as requested by Jason Kraftcheck to work with Sun as well
+    as Kaffe JREs (closes: #227243).
+  * Put Jason Kraftcheck's perl script in debian/babel-manpage-script, using it
+    to generate the manpage (closes: #227380).
+  * Changed Java documentation builder from gjdoc-native to gjdoc (since
+    gjdoc-native no longer exists), but it still doesn't work.
+  * Specify javah to configure so the Java backend is built.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Wed, 28 Jan 2004 18:58:57 -0500
+
+babel (0.8.6-3) unstable; urgency=low
+
+  * Moved everything to section contrib/* as libxerces2-java and libxalan2-java
+    are contrib (build-depend on non-free stuff). :-(
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Tue, 19 Aug 2003 20:30:36 -0400
+
+babel (0.8.6-2) unstable; urgency=low
+
+  * D'oh!  Forgot to change a filename, so all of the files got left out of
+    python2.3-babel...
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Wed, 13 Aug 2003 18:51:31 -0400
+
+babel (0.8.6-1) unstable; urgency=low
+
+  * New upstream. (closes: #202728)
+  * Needs xml-apis.jar, which is in libxalan2-java.
+  * Updated to libxerces2-java, also needed for libxalan2-java.
+  * Using update-alternatives for babel-$VER and libsidl$VER-java so multiple
+    versions can be installed simultaneously.
+  * NOT using update-alternatives for libsidl$VER-dev nor python2.2-babel
+    because there are just too many files.
+  * Update to python-2.3.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Wed, 13 Aug 2003 16:21:38 -0400
+
+babel (0.8.4-2) unstable; urgency=low
+
+  * Upstream patch to DTDManager.java should make babel parse DTDs properly.
+  * Changed one-line descriptions to be different (closes: #187932).
+  * Changed Build-Depends to default to gcj-3.2 to work around bug 197090.
+  * Modified babel-config to give correct jardir.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Wed, 11 Jun 2003 19:25:53 -0400
+
+babel (0.8.4-1) unstable; urgency=low
+
+  * New upstream.
+  * Upstream included several of my patches (yay!).
+  * Attempting to use gjdoc-native to generate docs; it's not working, but
+    perhaps someday.
+  * Moved some packages into new python, libdevel sections.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Wed, 16 Apr 2003 19:15:15 -0400
+
+babel (0.8.2-1) unstable; urgency=low
+
+  * New upstream.
+  * Added "Conflicts: openbabel" to control (closes: #183501).
+  * Removed jar -u test from aclocal.m4, configure and runtime/configure.
+  * New manpge for babel-config (and it's actually included now).
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Sun, 30 Mar 2003 19:37:37 -0500
+
+babel (0.8.0-1) unstable; urgency=low
+
+  * New upstream.
+  * Changed package names to babel-$(VERSION) so multiple versions can be
+    installed (following upstream convention for /usr/share subdirs).
+  * Switched from gcc-3.2 and friends back to (implicit) gcc.
+  * Lots of minute changes to patches, too numerous to describe.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Tue,  4 Feb 2003 11:36:10 -0500
+
+babel (0.7.4-2) unstable; urgency=low
+
+  * Changed descriptions, added babel manpage, added kaffe | to java1-runtime
+    to satisfy linitan.
+  * Added babel deps on libxerces-java and lib-gnu.getopt-java, and made babel
+    script use them.
+  * Changed jar uf dtdfiles to just include them in jar cf in compiler/Makefile
+    because the former somehow breaks the build.
+  * Symlinked /usr/share/java/babel.jar and sidl.jar to the versioned files.
+  * Added a README.Debian.html file.
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Thu, 21 Nov 2002 08:30:09 -0500
+
+babel (0.7.4-1) unstable; urgency=low
+
+  * First packaging attempt, likely to pose problems.
+  * Doesn't actually build because of some jar/javac error, must rerun
+    "debian/rules build && fakeroot debian/rules binary" again.
+  * Note kludges for CLASSPATH and JAVADOC (which doesn't work).
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Tue, 12 Nov 2002 23:22:13 -0500
--- babel-0.10.2.orig/debian/rules
+++ babel-0.10.2/debian/rules
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+# Made with the aid of debmake, by Christoph Lameter,
+# based on the sample debian/rules file for GNU hello by Ian Jackson.
+
+package=babel
+export DH_COMPAT=3
+
+stamp-configure:
+	dh_testdir
+	# JDB set to echo because there is no free JDB.
+	JAVADOC=gjdoc JDB=echo JAR=fastjar JAVAH=/usr/lib/kaffe/bin/javah \
+	  PYTHON=python2.4 CC=gcc-3.4 CXX=g++-3.4 F77=g77-3.4 \
+	  ./configure --prefix=/usr --enable-fortran90=no
+	touch $@
+
+build: stamp-configure
+	dh_testdir
+	CLASSPATH=/usr/lib/kaffe/jre/lib/rt.jar $(MAKE)
+	touch $@
+
+clean:
+	dh_testdir
+	rm -f stamp-configure build
+	if [ -e Makefile ]; then $(MAKE) distclean; fi
+	rm -f lib/babel*.jar lib/sidl*.jar debian/babel0A2.1
+	dh_clean
+
+install: build
+	$(MAKE) install prefix=`pwd`/debian/tmp/usr
+	mv debian/tmp/usr/bin/babel debian/tmp/usr/bin/babel0A2
+	# Get these into the babel package
+	mv debian/tmp/usr/share/sidl.sidl debian/tmp/usr/share/babel-0.10.2/
+	mv debian/tmp/usr/share/sgml debian/tmp/usr/share/babel-0.10.2/
+
+binary-indep: install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdirs -i
+	dh_movefiles -i
+	dh_installdocs -i
+	/usr/bin/perl debian/babel-manpage-script > debian/babel0A2.1
+	dh_installman -pbabel-0.10.2 debian/babel0A2.1
+	dh_installchangelogs -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdirs -a
+	dh_movefiles -a
+	dh_installdocs -a
+	dh_installman -plibsidl-dev debian/babel-config.1
+	dh_installchangelogs -a
+	dh_strip -a
+	dh_makeshlibs -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_python -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+.PHONY: binary binary-arch binary-indep clean checkroot
--- babel-0.10.2.orig/debian/babel-0.10.2.prerm
+++ babel-0.10.2/debian/babel-0.10.2.prerm
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+# Remove alternatives links
+if [ "$1" = "remove" ]; then
+  update-alternatives --remove babel.jar /usr/share/java/babel-0.10.2.jar
+fi
+
+#DEBHELPER#
--- babel-0.10.2.orig/debian/libsidl0.10.2.files
+++ babel-0.10.2/debian/libsidl0.10.2.files
@@ -0,0 +1 @@
+usr/lib/libsidl-*.so
--- babel-0.10.2.orig/debian/babel-0.10.2-doc.docs
+++ babel-0.10.2/debian/babel-0.10.2-doc.docs
@@ -0,0 +1,2 @@
+debian/README.Debian.html
+debian/index.html
--- babel-0.10.2.orig/debian/babel-config.1
+++ babel-0.10.2/debian/babel-config.1
@@ -0,0 +1,13 @@
+.TH babel-config 1 "Babel SIDL compiler config tool" "DEBIAN" \" -*- nroff -*-
+.SH NAME
+babel-config \- print babel configuration information
+.SH SYNOPSIS
+\fBbabel-config\fP
+.SH DESCRIPTION
+This little script prints the configuration information used to build babel and
+libsidl, which can help developers link against libsidl.  Please run it with
+--help for a full list of options.
+.SH BUGS
+I'm sure there are some...
+.SH AUTHOR
+Adam Powell <hazelsct@debian.org>
--- babel-0.10.2.orig/debian/babel-0.10.2.docs
+++ babel-0.10.2/debian/babel-0.10.2.docs
@@ -0,0 +1 @@
+debian/README.Debian.html
--- babel-0.10.2.orig/debian/README.Debian.html
+++ babel-0.10.2/debian/README.Debian.html
@@ -0,0 +1,138 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+   <link rel="icon" type="image/png" media="screen, print" href="favicon.png" />
+   <link rel="shortcut icon" type="image/x-icon" media="screen, print" href="favicon.ico" />
+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+   <meta name="Author" content="Adam C. Powell, IV">
+   <meta name="GENERATOR" content="Mozilla/4.77 [en] (X11; U; Linux 2.4.2-pentiumiii-smp i686) [Netscape]">
+   <title>Debian package for Babel</title>
+</head>
+<body>
+
+<center>
+<h1><a href="http://www.llnl.gov/CASC/components/babel.html">Babel</a> Debian
+Package Current Status</h1></center>
+
+<center>
+<h3>Adam Powell, last modified May 3, 2005 for version 0.10.2-1</h3></center>
+
+<center><a href="http://lyre.mit.edu/~powell/babel/">Package archive</a>,
+<a href="http://packages.qa.debian.org/b/babel.html">PTS page</a>,
+<a href="http://http.us.debian.org/debian/pool/contrib/b/babel/">US
+mirror pool</a></center>
+
+<p>This page documents my effort to package the
+<a href="http://www.llnl.gov/CASC/components/babel.html">Babel SIDL
+compiler</a> for the Debian GNU/Linux operating system.&nbsp; The upstream
+authors are at Lawrence Livermore National Laboratories.
+
+<p>Why a Debian package?  Being able to type, "apt-get install babel" is a lot
+easier than downloading, compiling and installing the source.  Also, this
+package puts the various files in their standard Debian places, and includes
+documentation metadata to link the Babel documentation from Debian doc-base
+frontends.  But perhaps most importantly, having a Debian package formalizes
+the process of packaging software which uses Babel and SIDL on Debian (as the
+other packages would just Build-Depend on babel, sidl, python2.2-babel, etc.),
+and if it lives up to its to its promise, that could be quite a lot of
+important scientific software.
+
+<h3>Package description:</h3>
+
+The <tt>babel</tt> source package builds six binary packages:
+
+<ul>
+<li><b><tt>babel-0.10.2</tt></b> has the SIDL compiler itself, which consists
+of the <tt>babel-0.10.2.jar</tt> Java archive in <tt>/usr/share/java</tt>
+following the
+<a href="http://www.debian.org/doc/packaging-manuals/java-policy/">(proposed)
+Debian Java policy</a>, and the <tt>/usr/bin/babel</tt> script which runs it,
+along with the <tt>/usr/share/babel-0.10.2</tt> directory which contains
+<tt>sidl.sidl</tt>, the <tt>.dtd</tt> files, and the <tt>repository</tt>
+subdirectory.</li>
+
+<li><b><tt>libsidl0.10.2-java</tt></b> has the <tt>sidl-0.10.2.jar</tt> runtime
+Java archive file.</li>
+
+<li><b><tt>libsidl0.10.2</tt></b>* has the C runtime shared library.</li>
+
+<li><b><tt>libsidl-dev</tt></b>* has the C runtime static library, headers,
+symlinks, and <tt>babel-config</tt> script needed to develop against the shared
+library.</li>
+
+<li><b><tt>python2.3-babel</tt></b>* has the python runtime modules and
+headers.</li>
+
+<li><b><tt>babel-0.10.2-doc</tt></b> has all of the documentation which ships
+with the source (ps, pdf, ppt), along with Debian <tt>doc-base</tt> metadata so
+this documentation is indexed in frontends like <tt>dhelp</tt> and
+<tt>dwww</tt>.</li>
+</ul>
+*Architecture-dependent packages.
+
+With the exceptions of python2.3-babel and libsidl-dev, these packages are
+designed to avoid collisions between versions, allowing one to install multiple
+versions simultaneously for testing, different software requirements, etc.
+
+<h3>Questions/issues:</h3>
+
+<ol>
+<li>With the original makefile, the package build fails while <tt>make</tt>ing
+the <tt>force-jarfile</tt> target in the <tt>compiler</tt> subdirectory.  This
+is because of <a href="http://bugs.debian.org/170059">bug 170059 in kaffe</a>,
+whose <tt>jar uf</tt> function is broken.<p>
+
+In packages from release 0.7.4-2, the makefile is patched to solve this
+problem.  Upstream knows about this issue, and after 0.8.4, will probably
+incorporate something like this workaround.<p>
+
+UPDATE: upstream has fixed this in 0.8.4 so only <tt>jar c</tt> is used.</li>
+
+<li>It would be nice if variables like <tt>docdir</tt> and <tt>jardir</tt>
+could be defined during the <tt>configure</tt> process, that would cut down
+considerably on the patch size.  At some point I'll probably generate a patch
+for upstream.</li>
+
+<li>The <tt>babel</tt> source ships with several other <tt>.jar</tt> files
+which it seems to need.  However, it builds just fine using standard Debian
+versions of these, such as <tt>gnu.getopt-1.0.9.jar</tt> in the
+<tt>libgetopt-java</tt> package, and <tt>xerxesImpl-2.4.0.jar</tt> in the
+<tt>libxerxes2-java</tt> package, and as of 0.8.6 <tt>xml-apis.jar</tt> from
+the <tt>libxalan2-java</tt> package.  The other three (<tt>jcert-X.jar</tt>,
+<tt>jnet-X.jar</tt> and <tt>jsse-X.jar</tt>) are from the Sun JDK, which is not
+distributable in Debian free, but is necessary only for <tt>babel</tt> to
+access the
+<a href="http://www.llnl.gov/CASC/components/alexandria.html">Alexandria</a>
+component repository.  At some point I'll patch <tt>aclocal.m4</tt> to look in
+the Java archive directory (see previous point) for <tt>getopt</tt> and
+<tt>xerces</tt>, and the <tt>babel</tt> script to detect the SUN <tt>.jar</tt>
+files at runtime (so the <tt>babel</tt> package can Suggest the Sun JDK, and
+live with or without it), and send these patches upstream.</li>
+</ol>
+
+<h3>
+To do (in roughly decreasing order of priority):</h3>
+
+<ul>
+<li>Get babel working with gcj-3.3/kaffe, and close bugs
+<a href="http://bugs.debian.org/197090">197090</a> and
+<a href="http://bugs.debian.org/209283">209283</a>!</li>
+
+<li>Make a dummy <tt>babel</tt> package which depends on new versions of the
+packages to smooth upgrades.</li>
+
+<li>Version the libsidl-dev and python2.3-babel packages and have them use
+alternatives to avoid filename collisions, to complete the enabling of multiple
+versions installation.</li>
+
+<li>Write a better manpage for <tt>/usr/bin/babel</tt> and contribute it
+upstream.</li>
+
+<li>Test the <tt>babel</tt> package with the <tt>hello</tt> example
+provided.</li>
+</ul>
+
+<address><a href="./">Adam Powell</a></address>
+
+</body>
+</html>
--- babel-0.10.2.orig/debian/libsidl-dev.files
+++ babel-0.10.2/debian/libsidl-dev.files
@@ -0,0 +1,6 @@
+usr/bin/babel-config
+usr/include/*.h
+usr/include/*.hh
+usr/lib/*.a
+usr/lib/*.la
+usr/lib/libsidl.so
--- babel-0.10.2.orig/debian/copyright
+++ babel-0.10.2/debian/copyright
@@ -0,0 +1,50 @@
+This package was debianized by Adam C. Powell, IV <hazelsct@debian.org> on
+September 17, 2002.
+
+It was downloaded from http://www.llnl.gov/CASC/components/software.html .
+
+Below is the contents of the COPYRIGHT file distributed with babel.  Note that
+the LICENSE file to which it refers is identical to the GNU LGPL, Version 2.1,
+found on Debian systems in the file /usr/share/common-licenses/LGPL-2.1 .
+
+-------------------------------------------------------------------------------
+
+COPYRIGHT NOTICE
+----------------
+
+(c) 1998-2002 by The Regents of the University of California.
+Produced at the Lawrence Livermore National Laboratory.
+Written by Tammy Dahlgren, Tom Epperly, Scott Kohn, and Gary Kumfert
+           <components@llnl.gov>
+UCRL-CODE-2002-054
+All rights reserved.
+
+This file is part of Babel. For more information, see
+http://www.llnl.gov/CASC/components/.
+
+OUR NOTICE
+
+Our Preamble Notice
+
+A. This notice is required to be provided under our contract with the U.S.
+Department of Energy (DOE). This work was produced at the University of
+California, Lawrence Livermore National Laboratory under Contract
+No. W-7405-ENG-48 with the DOE.
+
+B. Neither the United States Government nor the University of California nor
+any of their employees, makes any warranty, express or implied, or assumes any
+liability or responsibility for the accuracy, completeness, or usefulness of
+any information, apparatus, product, or process disclosed, or represents that
+its use would not infringe privately-owned rights.
+
+C. Also, reference herein to any specific commercial products, process, or
+services by trade name, trademark, manufacturer or otherwise does not
+necessarily constitute or imply its endorsement, recommendation, or favoring by
+the United States Government or the University of California. The views and
+opinions of authors expressed herein do not necessarily state or reflect those
+of the United States Government or the University of California, and shall not
+be used for advertising or product endorsement purposes.
+
+The precise terms and conditions for copying, distribution and modification
+appear in the LICENSE file.
+
--- babel-0.10.2.orig/debian/libsidl0.10.2-java.prerm
+++ babel-0.10.2/debian/libsidl0.10.2-java.prerm
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+# Remove alternatives links
+if [ "$1" = "remove" ]; then
+  update-alternatives --remove sidl.jar /usr/share/java/sidl-0.10.2.jar
+fi
+
+#DEBHELPER#
--- babel-0.10.2.orig/debian/babel-0.10.2.files
+++ babel-0.10.2/debian/babel-0.10.2.files
@@ -0,0 +1,3 @@
+usr/bin/babel0A2
+usr/share/java/babel*.jar
+usr/share/babel-*
--- babel-0.10.2.orig/debian/libsidl0.10.2-java.postinst
+++ babel-0.10.2/debian/libsidl0.10.2-java.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+# Make alternatives links
+if [ "$1" = "configure" ]; then
+  update-alternatives --install /usr/share/java/sidl.jar sidl.jar /usr/share/java/sidl-0.10.2.jar 01002
+fi
+
+#DEBHELPER#
--- babel-0.10.2.orig/debian/index.html
+++ babel-0.10.2/debian/index.html
@@ -0,0 +1,71 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html>
+<head>
+<title>Babel Documentation</title>
+<META NAME="description" CONTENT="Babel HTML Documentation">
+<META NAME="keywords" CONTENT="Babel">
+<META NAME="resource-type" CONTENT="document">
+<META NAME="distribution" CONTENT="global">
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
+</head>
+<body>
+
+<h1>Babel Documentation</h1>
+
+<table border=3>
+<tr>
+  <th colspan=2>name</th>
+  <th colspan=4>format</th>
+</tr>
+<tr></tr>
+<tr>
+  <td colspan=2><h2>User's Guide</h2></td>
+  <td><a href="doc/manuals/html/users_guide/users_guide.html">[HTML]</a></td>
+  <td><a href="doc/manuals/users_guide.ps.gz">[PS]</a></td>
+  <td><a href="doc/manuals/users_guide.pdf.gz">[PDF]</a></td>
+</tr>
+<tr>
+  <td rowspan=7>
+    <h2>Babel 101:<br>(A Crash Course)</h2>
+  </td>
+  <td>Main Intro</td>
+  <td><a href="doc/babel101/Babel101.html">[HTML]</a></td>
+</tr>
+<tr>
+  <td>Babel Commandline</td>
+  <td><a href="doc/babel101/babelcmd.html">[HTML]</a></td>
+</tr>
+<tr>
+  <td>SIDL Grammar (Reference: EBNF)</td>
+  <td><a href="doc/babel101/grammar.html">[HTML]</a></td>
+</tr>
+<tr>
+  <td>Sample hypre SIDL file</td>
+  <td><a href="doc/babel101/hypre.html">[HTML]</a></td>
+</tr>
+<tr>
+  <td>SIDL Fortran 77 Bindings</td>
+  <td><a href="doc/babel101/SIDLF77.html">[HTML]</a></td>
+</tr>
+<tr>
+  <td>SIDL C++ Bindings</td>
+  <td><a href="doc/babel101/SIDLCxx.html">[HTML]</a></td>
+</tr>
+<tr>
+  <td>SIDL Python Bindings</td>
+  <td><a href="doc/babel101/SIDLPython.html">[HTML]</a></td>
+</tr>
+<tr></tr>
+<tr>
+  <td colspan=2><h2>Source Documentation for Babel's Code Generator (javadoc)</h2></td>
+  <td>(Not built in Debian package)</td>
+</tr>
+<tr>
+  <td colspan=2><h2>Debian package description</h2></td>
+  <td><a href="README.Debian.html">[HTML]</a></td>
+</tr>
+</table>
+
+</body>
+</html>
--- babel-0.10.2.orig/debian/babel-0.10.2-doc.doc-base
+++ babel-0.10.2/debian/babel-0.10.2-doc.doc-base
@@ -0,0 +1,21 @@
+Document: babel-0.10.2-doc
+Title: Babel/SIDL Version 0.10.2 Documentation
+Author: Tammy Dahlgren, Tom Epperly, Scott Kohn, and Gary Kumfert <components@llnl.gov>
+Abstract: Babel is a compiler for the Scientific Interface Definition Language
+ (SIDL), currently under development as a support tool for parallel simulation
+ codes.  SIDL is in the same "phylum" as CORBA or COM, but with an eye toward
+ future extension to data redistribution on massively parallel architectures.
+ In addition, because of the large amount of existing and very important
+ scientific code written in FORTRAN, SIDL is designed with support for that
+ language in mind.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/babel-0.10.2-doc/index.html
+Files: /usr/share/doc/babel-0.10.2-doc/babel101/*.html
+
+Format: PDF
+Files: /usr/share/doc/babel-0.10.2-doc/*/*.pdf.gz
+
+Format: postscript
+Files: /usr/share/doc/babel-0.10.2-doc/*/*.ps.gz
--- babel-0.10.2.orig/debian/babel-0.10.2-doc.files
+++ babel-0.10.2/debian/babel-0.10.2-doc.files
@@ -0,0 +1 @@
+usr/share/doc/babel-*-doc
--- babel-0.10.2.orig/debian/babel-0.10.2.postinst
+++ babel-0.10.2/debian/babel-0.10.2.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+# Make alternatives links
+if [ "$1" = "configure" ]; then
+update-alternatives --install /usr/share/java/babel.jar babel.jar /usr/share/java/babel-0.10.2.jar 01002 \
+  --slave /usr/bin/babel babel /usr/bin/babel0A2 \
+  --slave /usr/share/man/man1/babel.1.gz babel.1.gz /usr/share/man/man1/babel0A2.1.gz
+fi
+
+#DEBHELPER#
--- babel-0.10.2.orig/debian/libsidl0.10.2-java.files
+++ babel-0.10.2/debian/libsidl0.10.2-java.files
@@ -0,0 +1 @@
+usr/share/java/sidl*.jar
