[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#138909: marked as done (xae; patch to allow use of perl rather than java)



Your message dated Sun, 31 Jul 2005 23:35:57 +0100
with message-id <20050731223557.GA31193@deprecation.cyrius.com>
and subject line Removed from Debian - unmaintained
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Mar 2002 15:00:19 +0000
>From mah@mcdermott.com Mon Mar 18 09:00:18 2002
Return-path: <mah@mcdermott.com>
Received: from gate.mcdermott.com [131.184.96.33] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16mycU-0002t9-00; Mon, 18 Mar 2002 09:00:18 -0600
Received: from mah.mcdermott.com (mah.mcdermott.com [131.184.104.67])
	by gate.mcdermott.com (8.11.2/8.11.2) with ESMTP id g2IExl621013
	for <submit@bugs.debian.org>; Mon, 18 Mar 2002 08:59:48 -0600 (CST)
Received: from mah by mah.mcdermott.com with local (Exim 3.32 #1 (Debian))
	id 16mybz-0007ud-00
	for <submit@bugs.debian.org>; Mon, 18 Mar 2002 08:59:47 -0600
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xae; patch to allow use of perl rather than java
X-Debbugs-CC: Mark A. Hershberger <mah@everybody.org>
Message-Id: <E16mybz-0007ud-00@mah.mcdermott.com>
From: "Mark A. Hershberger" <mah@mcdermott.com>
Date: Mon, 18 Mar 2002 08:59:47 -0600
Delivered-To: submit@bugs.debian.org


Package: xae
Version: 1.0beta6-5
Severity: normal

I gave this to the upstream as well, but haven't heard back.  I
find this useful.

--- xae-1.0beta6.orig/lisp/xae.el
+++ xae-1.0beta6/lisp/xae.el
@@ -38,32 +38,16 @@
 
 ;;;###autoload
 (defconst xae-version "1.0beta6"
-  "XAE version number.")
+  "Xae version number.")
 
+(defconst xae-perl-directory "/usr/share/xae/perl/"
+  "Where the perl directory is.  Ends with slash.")
 
-(if (not (locate-library "psgml"))
-    (add-to-list 
-     'load-path 
-     (expand-file-name  
-      "psgml"
-      (expand-file-name "../.." (locate-library "xae")))))
-
-(if (not (locate-library "eieio"))
-    (add-to-list 
-     'load-path 
-     (expand-file-name 
-      "eieio"
-      (expand-file-name "../.." (locate-library "xae")))))
-
-;; Make xae-mode the default mode for XML document buffers.
-;; Prepend the xae-mode entry so that it shadows the xml-mode
-;; entry already in the list.
-;;;###autoload
-(setq auto-mode-alist
-  (append
-   '(("\\.xml\\'" . xae-mode))
-	auto-mode-alist))
+(defconst xae-java-directory "/usr/share/xae/java/"
+  "Where the java directory is.  Ends with slash.")
 
+(defconst xae-stylesheet-dir "/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/"
+  "Where the stylsheets are kept.")
 
 (require 'comint)
 (require 'psgml)
@@ -75,17 +59,33 @@
 
 (defgroup xae nil
   "Technical Publishing Environment"
-  :group 'tools
-  :prefix "xae-")
+  :group 'tools)
+
+(defcustom xae-use-perl t
+  "Use the Perl server instead of the Java one."
+  :group 'xae
+  :type 'bool)
+
+(defcustom xae-default-dtd 
+  "file:///usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd"
+  "The default DTD to use in templates."
+  :group 'xae
+  :type 'string)
+
+(defcustom xae-default-stylesheet
+  "file:///usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl"
+  "The default stylesheet to use in templates."
+  :group 'xae
+  :type 'string)
 
 ;;(makunbound 'xae-standard-stylesheets)
 (defcustom xae-standard-stylesheets
   (list (cons "docbook HTML"  
-	      (list "doctypes/docbook/styles/docbook/html/docbook.xsl" "html"))
+	      (list (concat xae-stylesheet-dir "html/docbook.xsl") "html"))
 	(cons "docbook XHTML" 
-	      (list "doctypes/docbook/styles/docbook/xhtml/docbook.xsl" "html"))
+	      (list (concat xae-stylesheet-dir "xhtml/docbook.xsl") "html"))
 	(cons "docbook FO"    
-	      (list "doctypes/docbook/styles/docbook/fo/docbook.xsl" "fo")))
+	      (list (concat xae-stylesheet-dir "fo/docbook.xsl") "fo")))
   "*Specifies stylesheets that XAE knows about.
 The value of this variable is an association list. The car of
 each element specifies a name for the stylesheet. The cdr specifies
@@ -212,28 +212,6 @@
 	   val)
 	  (set-default sym val)))
 
-(defun xae-find-xae-data-directory ()
-  "Return the path of the XAE data directory.
-Returns the path of the directory containing the
-XAE stylesheet, dtd, and documentation directories;  nil if the 
-directory cannot be found. If XEmacs, returns the location of
-the data directory in the XEmacs distribution hierarchy. On all other Emacs versions, 
-the JDE exaects to find the documentation and Java class directories
-in the same directory that contains the XAE lisp directory."
-  (let (dir (xae-xemacsp nil))
-    (if xae-xemacsp
-	(progn
-	  (setq dir (locate-data-directory "xae"))
-	  (when (not dir)
-	      (setq dir (file-name-directory (locate-library "xae")))
-	      (setq dir (substring dir 0 (- (length dir) 5)))))
-      (setq dir (file-name-directory (locate-library "xae"))))
-    (if dir
-	(nsubstitute ?/ ?\\ dir))
-    (if (not xae-xemacsp)
-	(setq dir (substring dir 0 (- (length dir) 5))))
-    dir))
-
 (defun xae-mode-internal () 
   (xae-install-menu))
 
@@ -304,9 +282,8 @@
     (if (not (string= name ""))
       (let* ((input-doc-path (buffer-file-name (current-buffer)))
 	     (input-doc-uri (xae-path-to-uri input-doc-path))
-	     (xae-dir (xae-find-xae-data-directory))
 	     (props  (cdr (assoc name xae-standard-stylesheets)))
-	     (stylesheet-path (expand-file-name (car props) xae-dir))
+	     (stylesheet-path (car props))
 	     (stylesheet-uri (xae-path-to-uri stylesheet-path))
 	     (out-type (nth 1 props))
 	     (output-doc-path (format "%s.%s"
@@ -331,7 +308,6 @@
   (interactive)
   (let* ((input-doc-path (buffer-file-name (current-buffer)))
 	 (input-doc-uri (xae-path-to-uri input-doc-path))
-	 (xae-dir (xae-find-xae-data-directory))
 	 (output-doc-path 
 	  (concat (file-name-sans-extension buffer-file-name) ".html"))
 	 (output-doc-uri (xae-path-to-uri output-doc-path)))
@@ -361,19 +337,15 @@
 (defun xae-help-docbook ()
   (interactive)
   "Displays the Docbook user's guide."
-  (let ((docbook-ug 
-	(expand-file-name 
-	 "doctypes/docbook/doc/html/docbook.html"
-	 (xae-find-xae-data-directory))))
+  (let ((docbook-ug "/usr/share/doc/docbook-doc/index.html"))
     (browse-url (concat "file://" docbook-ug browse-url-new-window-p))))
 
 (defun xae-help-xae ()
   (interactive)
   "Displays the XAE user's guide."
   (let ((ug 
-	(expand-file-name 
-	 "doc/html/xae-ug/ug.html"
-	 (xae-find-xae-data-directory))))
+	 "/usr/share/doc/xae/html/ug.html"
+	 ))
     (browse-url (concat "file://" ug browse-url-new-window-p))))
 
 
@@ -401,9 +373,8 @@
   (list
    "'&\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\"?>\" 'n'n"
    "\"<!DOCTYPE book PUBLIC \\\"-//Arbortext//DTD DocBk XML V2.0//EN\\\" \"" 
-   "\"\\\"file:///\" (xae-find-xae-data-directory) \"doctypes/docbook/docbookx.dtd\\\" []>\" 'n'n"
-   "\"<?xml-stylesheet href=\\\"file:///\" (xae-find-xae-data-directory)"
-   "\"doctypes/docbook/styles/docbook/html/docbook.xsl\\\" type=\\\"text/xsl\\\"?>\" 'n'n"
+   "\"\\\"" xae-default-dtd "[]>\" 'n'n"
+   "\"<?xml-stylesheet href=\\\"" xae-default-stylesheet "\\\" type=\\\"text/xsl\\\"?>\" 'n'n"
    "\"<book>\" 'n"
    "\"  <title>\" (P \"Book title: \") \"</title>\" 'n"
    "\"  <chapter>\" 'n"
@@ -450,9 +421,8 @@
   (list
    "'&\"<?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\"?>\" 'n'n"
    "\"<!DOCTYPE article PUBLIC \\\"-//Arbortext//DTD DocBk XML V2.0//EN\\\" \"" 
-   "\"\\\"file:///\" (xae-find-xae-data-directory) \"doctypes/docbook/docbookx.dtd\\\" []>\" 'n'n"
-   "\"<?xml-stylesheet href=\\\"file:///\" (xae-find-xae-data-directory)"
-   "\"doctypes/docbook/styles/docbook/html/docbook.xsl\\\" type=\\\"text/xsl\\\"?>\" 'n'n"
+   "\"\\\"" xae-default-dtd  "\\\" []>\" 'n'n"
+   "\"<?xml-stylesheet href=\\\"" xae-default-stylesheet "\\\" type=\\\"text/xsl\\\"?>\" 'n'n"
    "\"<article>\" 'n"
    "\"  <title>\" (P \"Article title: \") \"</title>\" 'n"
    "\"</article>\" 'n'n"
@@ -594,11 +564,7 @@
 (defmethod xae-start ((this xae-xml-tool-server) &optional display-buffer-p)
   "Start the XML tool server."
   (if (not (comint-check-proc (oref this :buffer-name)))
-    (let* ((xae-java-directory
-	    (concat
-	     (xae-find-xae-data-directory)
-	     "java/"))
-	   (vm (if (eq system-type 'windows-nt)
+    (let* ((vm (if (eq system-type 'windows-nt)
 		   "javaw"
 		 "java"))
 	   (user-classpath (getenv "CLASSPATH"))
@@ -610,12 +576,15 @@
 		  (concat user-classpath path-separator))
 	      (expand-file-name "classes" xae-java-directory)
 	      path-separator
-	      (expand-file-name "xsl-engines/saxon/saxon.jar" 
-				(xae-find-xae-data-directory)))))
+	      (expand-file-name "extensions/saxon644.jar" 
+				(xae-stylesheet-dir)))))
 	   (windowed-process-io t)
 	   win32-start-process-show-window)
 
       (setq vm-args (append vm-args (list "xae.XMLToolServer")))
+      (if xae-use-perl
+	  ((setq vm-args (concat xae-perl-directory "xml-tool-server"))
+	   (setq vm "perl")))
 
       (oset this buffer (get-buffer-create (oref this buffer-name)))
 
--- xae-1.0beta6.orig/perl/xml-tool-server
+++ xae-1.0beta6/perl/xml-tool-server
@@ -0,0 +1,115 @@
+#!/usr/bin/perl -w
+
+use strict;
+
+use XML::LibXSLT;
+use XML::LibXML;
+my $xml_parser = XML::LibXML->new();
+my $xslt_parser = XML::LibXML->new();
+local $XML::LibXML::match_cb = \&FileHandler::match_uri;
+local $XML::LibXML::open_cb = \&FileHandler::open_uri;
+local $XML::LibXML::read_cb = \&FileHandler::read_uri;
+local $XML::LibXML::close_cb = \&FileHandler::close_uri;
+
+
+print "XAE Services\n";
+print "> ";
+while(<>) {			# Wait for instructions
+  chomp;
+  my ($func, @args) = split(" /", $_);
+  my $exec = "$func(q{/" . join("}, q{/", @args) . "});";
+  eval $exec;
+  print "> ";
+}
+
+sub apply_stylesheet {
+  my $xslt = XML::LibXSLT->new();
+  my $source_path = shift;
+  my $source;
+  my $style_path = shift;
+  my $style;
+  my $output_path = shift;
+  my $stylesheet;
+  my $result;
+
+  FileHandler::set_relative($source_path);
+  $source = $xml_parser->parse_file($source_path);
+
+  FileHandler::set_relative($style_path);
+  $style = $xslt_parser->parse_file($style_path);
+
+  $stylesheet = $xslt->parse_stylesheet($style);
+  $result = $stylesheet->transform($source);
+
+  $stylesheet->output_file($result, $output_path);
+}
+
+sub apply_assoc_stylesheet {
+  my $xslt = XML::LibXSLT->new();
+  my $source_path = shift;
+  my $source;
+  my $output_path = shift;
+  my $style;
+
+  FileHandler::set_relative($source_path);
+  $source = $xml_parser->parse_file($source_path);
+  for ([$source->findnodes("/processing-instruction()")]->[0]->getData) {
+     $style = $1 if /href="([^"]+)"/;
+  }
+  if($style !~ m,://, && $style !~ m,^/,) {
+    my $base = $source_path;
+    $base =~ s,[^/]+$,,;
+    $style = $base . $style;
+  }
+  FileHandler::set_relative($style);
+  my $style_obj = $xslt_parser->parse_file($style);
+  my $stylesheet = $xslt->parse_stylesheet($style_obj);
+  my $result = $stylesheet->transform($source);
+
+  $stylesheet->output_file($result, $output_path);
+}
+
+package FileHandler;
+
+use IO::File;
+use File::Basename qw(dirname);
+
+my $dir;
+
+sub set_relative {
+  $dir = dirname($_[0]);
+}
+
+sub match_uri {
+  my $uri = shift;
+
+  return 1 if substr($uri, 0,7) eq 'file://';
+  return $uri !~ m,^file://,;
+}
+
+sub open_uri {
+  my $file = shift;
+  $file =~ s,^file://,,;
+  if(substr($file, 0,1) ne "/" && defined $dir) {
+    chdir $dir;
+  }
+
+  IO::File->new($file);
+}
+
+sub read_uri {
+  my $fh = shift;
+  my $length = shift;
+  my $buf;
+
+  $fh->read($buf, $length);
+  return $buf;
+}
+
+sub close_uri {
+  my $fh = shift;
+
+  $fh->close;
+}
+
+1;
--- xae-1.0beta6.orig/debian/dirs
+++ xae-1.0beta6/debian/dirs
@@ -0,0 +1,3 @@
+usr/share/emacs/site-lisp/xae
+usr/share/xae
+usr/share/doc/xae/html
--- xae-1.0beta6.orig/debian/docs
+++ xae-1.0beta6/debian/docs
@@ -0,0 +1 @@
+ReleaseNotes.txt
--- xae-1.0beta6.orig/debian/control
+++ xae-1.0beta6/debian/control
@@ -0,0 +1,14 @@
+Source: xae
+Section: editors
+Priority: optional
+Maintainer: Ola Lundqvist <opal@debian.org>
+Build-Depends-Indep: debhelper (>> 3.0.0)
+Standards-Version: 3.5.2
+
+Package: xae
+Architecture: all
+Depends: emacs21 | xemacs21 | emacs20 | emacsen, psgml, eieio
+Suggests: java-virtual-machine
+Description: XML Authoring Environment for Emacs
+ The XAE is an add-on software package that enables you to use Emacs and
+ your system's HTML browser to create, transform, and display XML documents.
--- xae-1.0beta6.orig/debian/rules
+++ xae-1.0beta6/debian/rules
@@ -0,0 +1,94 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper. 
+# GNU copyright 1997 by Joey Hess.
+#
+# This version is for a hypothetical package that builds an
+# architecture-dependant package, as well as an architecture-independent
+# package.
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=2
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	#$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	#-$(MAKE) clean
+
+	dh_clean
+
+install: DH_OPTIONS=
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/xae.
+	#$(MAKE) install DESTDIR=$(CURDIR)/debian/xae
+	install -m 644 lisp/*.el debian/xae/usr/share/emacs/site-lisp/xae/
+	install -m 644 doc/html/xae-ug/*.html debian/xae/usr/share/doc/xae/html
+	cp -aRf doc/html/xae-ug/images debian/xae/usr/share/doc/xae/html
+	mkdir -p debian/xae/usr/share/xae/perl
+	cp -aRf perl/xml-tool-server debian/xae/usr/share/xae/perl
+
+#	dh_movefiles
+
+binary-arch: build install
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: DH_OPTIONS=-i
+binary-indep: build install
+	# Need this version of debhelper for DH_OPTIONS to work.
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installemacsen
+#	dh_installpam
+#	dh_installinit
+#	dh_installcron
+#	dh_installmanpages
+#	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs 
+	dh_link
+	dh_compress
+	dh_fixperms
+	# You may want to make some executables suid here.
+#	dh_suidregister
+	dh_installdeb
+#	dh_perl
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary install configure
--- xae-1.0beta6.orig/debian/emacsen-install
+++ xae-1.0beta6/debian/emacsen-install
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/xae
+
+# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
+
+FLAVOR=$1
+PACKAGE=xae
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+FLAVORTEST=`echo $FLAVOR | cut -c-6`
+if [ ${FLAVORTEST} = xemacs ] ; then
+    SITEFLAG="-no-site-file"
+else
+    SITEFLAG="--no-site-file"
+fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist. 
+# Maybe somebody will write it.
+if test -x /usr/sbin/install-info-altdir; then
+    echo install/${PACKAGE}: install Info links for ${FLAVOR}
+    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
+fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0
--- xae-1.0beta6.orig/debian/changelog
+++ xae-1.0beta6/debian/changelog
@@ -0,0 +1,36 @@
+xae (1.0beta6-5) unstable; urgency=low
+
+  * More debian friendly
+  * incorporates perl xml tool.
+
+ -- Mark A. Hershberger <mah@everybody.org>  Tue, 5 Feb 2002 11:02:45 +0600
+
+xae (1.0beta6-4) unstable; urgency=low
+
+  * Now marks files in /etc as conffiles, closes: #132175.
+  * Fixed build dep lintian error.
+  * Removed dh_testversion from rules file.
+
+ -- Ola Lundqvist <opal@debian.org>  Mon,  4 Feb 2002 11:02:45 +0100
+
+xae (1.0beta6-3) unstable; urgency=low
+
+  * Fixed dependency problem again, closes: #107568.
+
+ -- Ola Lundqvist <opal@debian.org>  Mon, 01 Oct 2001 15:16:05 +0200
+
+xae (1.0beta6-2) unstable; urgency=low
+
+  * Fixed dependency problem, closes: #96011.
+
+ -- Ola Lundqvist <opal@debian.org>  Sun, 15 Jul 2001 18:48:47 +0200
+
+xae (1.0beta6-1) unstable; urgency=low
+
+  * Initial Release, closes: #84081.
+
+ -- Ola Lundqvist <opal@debian.org>  Wed, 14 Mar 2001 13:06:31 +0100
+
+Local variables:
+mode: debian-changelog
+End:
--- xae-1.0beta6.orig/debian/xae.conffiles
+++ xae-1.0beta6/debian/xae.conffiles
@@ -0,0 +1 @@
+/etc/emacs/site-start.d/50xae.el
--- xae-1.0beta6.orig/debian/README.Debian
+++ xae-1.0beta6/debian/README.Debian
@@ -0,0 +1,8 @@
+xae for Debian
+--------------
+
+This version of XAE do not yet support the java code. This will work in
+the future when saxon is a part of debian. So you have to wait or send
+me patches. :)
+
+ -- Ola Lundqvist <opal@debian.org>, Wed, 14 Mar 2001 14:26:13 +0100
--- xae-1.0beta6.orig/debian/emacsen-remove
+++ xae-1.0beta6/debian/emacsen-remove
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/xae
+
+FLAVOR=$1
+PACKAGE=xae
+
+if [ ${FLAVOR} != emacs ]; then
+    if test -x /usr/sbin/install-info-altdir; then
+        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/xae.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
--- xae-1.0beta6.orig/debian/emacsen-startup
+++ xae-1.0beta6/debian/emacsen-startup
@@ -0,0 +1,27 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux xae package
+;;
+;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd@debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com>
+
+;; The xae package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(setq load-path (cons (concat "/usr/share/"
+                              (symbol-name flavor)
+			      "/site-lisp/xae") load-path))
+
+
+(autoload 'xae-mode "xae.elc" "Load xml authoring environment.")
+
+(setq auto-mode-alist
+  (append
+   '(("\\.xml\\'" . xae-mode))
+	auto-mode-alist))
+
+;;
+;;(require 'xae)
--- xae-1.0beta6.orig/debian/copyright
+++ xae-1.0beta6/debian/copyright
@@ -0,0 +1,28 @@
+This package was debianized by Ola Lundqvist <opal@debian.org> on
+Wed, 14 Mar 2001 13:06:31 +0100.
+
+It was downloaded from:
+	http://xae.sunsite.dk/
+
+Upstream Author:
+	Paul Kinnucan <pkinnucan@mediaone.net>, <paulk@mathworks.com>
+
+Copyright:
+
+Copyright (C) 2000, 2001 Paul Kinnucan.
+
+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
+with your Debian GNU system, in /usr/share/common-licenses/GPL, or
+with the Debian GNU gnupg source package as the file COPYING. If
+not, write to the Free Software Foundation, Inc., 59 Temple Place,
+Suite 330, Boston, MA 02111-1307, USA.
--- xae-1.0beta6.orig/debian/info.backup
+++ xae-1.0beta6/debian/info.backup
@@ -0,0 +1 @@
+doctypes/docbook/styles/dbtotexi/dbtotexi-0.10/doc/dbtotexi.info


-- System Information
Debian Release: testing/unstable
Kernel Version: Linux mah 2.4.17-686 #2 Sat Dec 22 21:58:49 EST 2001 i686 unknown

Versions of the packages xae depends on:
ii  eieio          0.16-4         Enhanced Implementation of Emacs Interpreted
ii  emacs20        20.7-10.1      The GNU Emacs editor.
ii  emacs21        21.1-7         The GNU Emacs editor.
ii  psgml          1.2.2-5        An Emacs major mode for editing SGML documen
ii  xemacs21       21.4.6-7       Editor and kitchen sink
ii  xemacs21-mule  21.4.6-7       Editor and kitchen sink -- Mule binary
	^^^ (Provides virtual package emacsen)

---------------------------------------
Received: (at 138909-done) by bugs.debian.org; 31 Jul 2005 22:36:13 +0000
>From tbm@cyrius.com Sun Jul 31 15:36:13 2005
Return-path: <tbm@cyrius.com>
Received: from sorrow.cyrius.com [65.19.161.204] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DzMPl-0000LE-00; Sun, 31 Jul 2005 15:36:13 -0700
Received: by sorrow.cyrius.com (Postfix, from userid 10)
	id 424AB64D54; Sun, 31 Jul 2005 22:36:13 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
	id 6CE7485A8; Sun, 31 Jul 2005 23:35:57 +0100 (BST)
Date: Sun, 31 Jul 2005 23:35:57 +0100
From: Martin Michlmayr <tbm@cyrius.com>
To: 138909-done@bugs.debian.org, 144013-done@bugs.debian.org,
	168546-done@bugs.debian.org, 169471-done@bugs.debian.org,
	182638-done@bugs.debian.org, 214632-done@bugs.debian.org,
	232800-done@bugs.debian.org
Subject: Removed from Debian - unmaintained
Message-ID: <20050731223557.GA31193@deprecation.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 138909-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,SORTED_RECIPS 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 156

This package has now been removed from Debian because nobody was
interested in maintaining it; see
http://lists.debian.org/debian-devel-announce/2005/06/msg00014.html
for more information.

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: