html-helper-mode (3.0.4kilo-2) debian-dir only changes

Summary

 debian/README.Debian             |   24 +++++++
 debian/changelog                 |  130 +++++++++++++++++++++++++++++++++++++++
 debian/compat                    |    1 
 debian/control                   |   19 +++++
 debian/copyright                 |   30 +++++++++
 debian/dirs                      |    3 
 debian/doc-base.html-helper-mode |   10 +++
 debian/docs                      |    7 ++
 debian/emacsen-install           |   45 +++++++++++++
 debian/emacsen-remove            |   15 ++++
 debian/emacsen-startup           |   39 +++++++++++
 debian/rules                     |   75 ++++++++++++++++++++++
 debian/watch                     |    2 
 13 files changed, 400 insertions(+)

    
download this patch

Patch contents

--- html-helper-mode-3.0.4kilo.orig/debian/dirs
+++ html-helper-mode-3.0.4kilo/debian/dirs
@@ -0,0 +1,3 @@
+usr/share/emacs/site-lisp/html-helper-mode
+etc/emacs/site-start.d
+
--- html-helper-mode-3.0.4kilo.orig/debian/docs
+++ html-helper-mode-3.0.4kilo/debian/docs
@@ -0,0 +1,7 @@
+changelog.html
+configuring.html
+differences.html
+documentation.html
+index-beta.html
+index.html
+keybindings.html
--- html-helper-mode-3.0.4kilo.orig/debian/doc-base.html-helper-mode
+++ html-helper-mode-3.0.4kilo/debian/doc-base.html-helper-mode
@@ -0,0 +1,10 @@
+Document: html-helper-mode
+Title: Debian html-helper-mode Manual
+Author: Nelson Minar
+Abstract: This manual describes what html-helper-mode is
+ and how it can be used to edit HTML files in various incarnations of Emacs.
+Section: Apps/Editors
+
+Format: HTML
+Index: /usr/share/doc/html-helper-mode/index.html
+Files: /usr/share/doc/html-helper-mode/*.html
--- html-helper-mode-3.0.4kilo.orig/debian/emacsen-install
+++ html-helper-mode-3.0.4kilo/debian/emacsen-install
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/html-helper-mode
+
+# 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=html-helper-mode
+
+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
--- html-helper-mode-3.0.4kilo.orig/debian/compat
+++ html-helper-mode-3.0.4kilo/debian/compat
@@ -0,0 +1 @@
+4
--- html-helper-mode-3.0.4kilo.orig/debian/README.Debian
+++ html-helper-mode-3.0.4kilo/debian/README.Debian
@@ -0,0 +1,24 @@
+html-helper-mode for Debian
+---------------------------
+
+This package is set to autoload for the following file extensions:
+
+.htm, .html   Standard HTML files
+.shtml        SSI (server-side includes)
+.php          PHP
+.asp          ASP (Active Server Pages)
+.jsp          JSP (Java Server Pages)
+
+You may want to edit /etc/emacs/site-start.d/50html-helper-mode.el and
+comment out the lines that do that.
+
+You may also want to enable the customization code in hhm-config.el; I
+may do this by default in a future release (and once it doesn't say
+ALPHA at the top ;-)
+
+The following was changed to retain compatibility with 2.19.1.1:
+
+ - A trailing space on the html-helper-timestamp-start delimeter was
+   removed.
+
+ -- Chris Lawrence <lawrencc@debian.org>, Mon Jan 19 11:11:58 2004
--- html-helper-mode-3.0.4kilo.orig/debian/emacsen-remove
+++ html-helper-mode-3.0.4kilo/debian/emacsen-remove
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/html-helper-mode
+
+FLAVOR=$1
+PACKAGE=html-helper-mode
+
+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/html-helper-mode.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
--- html-helper-mode-3.0.4kilo.orig/debian/watch
+++ html-helper-mode-3.0.4kilo/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://download.savannah.gnu.org/releases/baol-hth/html-helper-mode_\(.*\).tar.gz debian uupdate
--- html-helper-mode-3.0.4kilo.orig/debian/copyright
+++ html-helper-mode-3.0.4kilo/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Chris Lawrence <lawrencc@debian.org> on
+Mon, 13 Nov 2000 16:12:27 -0600.
+
+It was downloaded from http://www.nongnu.org/baol-hth/index.html
+
+Upstream Author: Gian Uberto "Saint" Lauri <saint@eng.it>
+
+Copyright:
+
+;; Copyright (C) 1994 Nelson Minar
+;; Copyright (C) 1995 Nelson Minar and Ulrik Dickow
+;; Copyright (C) 1999 Nelson Minar, Ulrik Dickow and Gian Uberto Lauri
+
+;; 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, 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 GNU Emacs; see the file COPYING.  If not, write to
+;; the Free Software Foundation, 51 Franklin St, Fifth Floor, Boston,
+;; MA 02110-1301, USA.
+
+A copy of this license can be found on Debian systems in
+/usr/share/common-licenses/GPL.
--- html-helper-mode-3.0.4kilo.orig/debian/rules
+++ html-helper-mode-3.0.4kilo/debian/rules
@@ -0,0 +1,75 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+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
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp ChangeLog
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	cp *.el debian/html-helper-mode/usr/share/emacs/site-lisp/html-helper-mode
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+#	dh_testversion
+	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 hhm-changelog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	# You may want to make some executables suid here.
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- html-helper-mode-3.0.4kilo.orig/debian/control
+++ html-helper-mode-3.0.4kilo/debian/control
@@ -0,0 +1,19 @@
+Source: html-helper-mode
+Section: editors
+Priority: extra
+Maintainer: Chris Lawrence <lawrencc@debian.org>
+Build-Depends: debhelper (>> 4)
+Standards-Version: 3.7.2
+
+Package: html-helper-mode
+Architecture: all
+Depends: emacs21 | emacsen, css-mode
+Description: A popular HTML editing mode for emacs
+ html-helper-mode has historically been a popular mode for editing
+ HTML files in various flavors of Emacs.  It includes font-lock mode
+ support, menu support, and support for editing pages with embedded
+ JSP, PHP, and ASP tags.
+ .
+ Current Home Page: http://www.nongnu.org/baol-hth/index.html
+ .
+ Old Home Page: http://www.santafe.edu/~nelson/tools/
--- html-helper-mode-3.0.4kilo.orig/debian/changelog
+++ html-helper-mode-3.0.4kilo/debian/changelog
@@ -0,0 +1,130 @@
+html-helper-mode (3.0.4kilo-2) unstable; urgency=low
+
+  * Fix parentheses in emacsen-startup.  (Closes: #374851)
+  * Add to magic-mode-alist on emacs-snapshot.  (Closes: #370051)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Wed, 21 Jun 2006 15:29:08 -0400
+
+html-helper-mode (3.0.4kilo-1) unstable; urgency=low
+
+  * New upstream release.
+  * Require css-mode also, since it is used when editing inside <style>.
+
+ -- Chris Lawrence <lawrencc@debian.org>  Tue, 20 Jun 2006 13:41:05 -0400
+
+html-helper-mode (3.0.4jolly-12) unstable; urgency=low
+
+  * Fix load-path issues.  (Closes: #374587)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Tue, 20 Jun 2006 13:35:07 -0400
+
+html-helper-mode (3.0.4jolly-11) unstable; urgency=low
+
+  * Update emacs dependency.  (Closes: #232762)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Sat, 21 Feb 2004 02:15:52 -0600
+
+html-helper-mode (3.0.4jolly-10) unstable; urgency=low
+
+  * Update control and copyright files for new upstream location.
+  * Mention JSP, ASP, PHP in description.  (Closes: #224097)
+  * Add JSP, ASP, PHP extensions to auto-mode-alist.  (Closes: #224078)
+  * Mention all the extensions in README.Debian.  (Closes: #163564)
+  * Upgraded to debhelper 4 and S-V 3.6.1,
+
+ -- Chris Lawrence <lawrencc@debian.org>  Mon, 19 Jan 2004 11:12:41 -0600
+
+html-helper-mode (3.0.4jolly-9) unstable; urgency=low
+
+  * Add .shtml to default extensions.  (Closes: #154718)
+  * Fix parentheses to solve html-helper-builtin-face warnings.
+    (Closes: #158881)
+  * Fix pipe symbols so <title> and <strong> are highlighted.
+    (Closes: #158753)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Sat, 14 Sep 2002 20:54:16 -0500
+
+html-helper-mode (3.0.4jolly-8) unstable; urgency=medium
+
+  * Rearrange load-path so compiled code is found.  (Closes: #159621)
+    For the reason why the uncompiled code is also in the load-path, see
+    #152668.
+
+ -- Chris Lawrence <lawrencc@debian.org>  Wed,  4 Sep 2002 18:48:31 -0500
+
+html-helper-mode (3.0.4jolly-7) unstable; urgency=low
+
+  * Modify default html-helper-timestamp-start to omit the trailing space.
+    (Closes: #157959)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Wed, 28 Aug 2002 15:29:48 -0500
+
+html-helper-mode (3.0.4jolly-6) unstable; urgency=low
+
+  * Set a reasonable, modern DTD (HTML 4.01 Transitional) as the default.
+    This should make browsers like Konqueror happier.
+  * Edit the template to include a reasonable default Content-Type.
+  * Always insert attributes, even when tempo-interactive is off.
+
+ -- Chris Lawrence <lawrencc@debian.org>  Mon, 15 Jul 2002 00:39:40 -0500
+
+html-helper-mode (3.0.4jolly-5) unstable; urgency=low
+
+  * Add ": " to five prompts when in tempo-interactive mode.
+    (Really Closes: #151600)
+  * Add (sit-for 0) to tempo-insert-prompt to make sure the prompt is
+    actually displayed when in font-lock-mode.
+
+ -- Chris Lawrence <lawrencc@debian.org>  Fri, 12 Jul 2002 15:05:12 -0500
+
+html-helper-mode (3.0.4jolly-4) unstable; urgency=low
+
+  * Add uncompiled code directory to the load-path.  (Closes: #152668)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Thu, 11 Jul 2002 17:21:34 -0500
+
+html-helper-mode (3.0.4jolly-3) unstable; urgency=low
+
+  * Suggest new package css-mode.  (Part of #135937)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Sat,  2 Mar 2002 18:42:49 -0600
+
+html-helper-mode (3.0.4jolly-2) unstable; urgency=low
+
+  * Clean up lintian issues.  (Closes: #132131)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Sun,  3 Feb 2002 13:08:32 -0600
+
+html-helper-mode (3.0.4jolly-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Chris Lawrence <lawrencc@debian.org>  Wed, 12 Sep 2001 21:29:50 -0500
+
+html-helper-mode (3.0.4india-2) unstable; urgency=low
+
+  * Upstream appears to have disappeared from the DNS...
+  * Comment out html-tag-face references in XEmacs-specific code.
+    (Closes: #107192)
+  * Don't use JDE mode unless the user asks for it by setting
+    html-helper-mode-uses-JDE.  (Closes: #106586)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Tue, 11 Sep 2001 21:36:27 -0500
+
+html-helper-mode (3.0.4india-1) unstable; urgency=low
+
+  * New upstream release from new repository.  (Closes: #84087)
+  * 3.0.4 includes a fix for when browse-url-browser-function is a list
+    instead of a function.  (Closes: #95314)
+  * Enabled HTML4 <span> tags in menu.
+  * Documentation carried over from old package, since it's apparently not
+    maintained by the new author.
+  * Updated to policy 3.5.0.0
+
+ -- Chris Lawrence <lawrencc@debian.org>  Mon,  9 Jul 2001 00:15:17 -0500
+
+html-helper-mode (2.19.1.1-1) unstable; urgency=low
+
+  * Initial Release.  (Closes: #77068)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Mon, 13 Nov 2000 16:12:27 -0600
--- html-helper-mode-3.0.4kilo.orig/debian/emacsen-startup
+++ html-helper-mode-3.0.4kilo/debian/emacsen-startup
@@ -0,0 +1,39 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux html-helper-mode 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 html-helper-mode 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:
+(debian-pkg-add-load-path-item
+ (concat "/usr/share/"
+         (symbol-name debian-emacs-flavor)
+         "/site-lisp/html-helper-mode"))
+
+;; Put the uncompiled code in the path too
+(setq load-path
+      (append load-path
+              (list "/usr/share/emacs/site-lisp/html-helper-mode")))
+
+(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
+
+;; Add to head of magic-mode-alist, if available
+(when (boundp 'magic-mode-alist)
+  (setq magic-mode-alist (cons '("<html" . html-helper-mode)
+                               magic-mode-alist)))
+
+;; You may want to comment out some/all of the following lines if you
+;; don't want html-helper-mode enabled by default for these filename
+;; extensions.
+(setq auto-mode-alist (cons '("\\.htm$" . html-helper-mode) auto-mode-alist))
+(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) auto-mode-alist))
+(setq auto-mode-alist (cons '("\\.shtml$" . html-helper-mode) auto-mode-alist))
+(setq auto-mode-alist (cons '("\\.jsp$" . jsp-html-helper-mode) auto-mode-alist))
+(setq auto-mode-alist (cons '("\\.asp$" . html-helper-mode) auto-mode-alist))
+(setq auto-mode-alist (cons '("\\.php$" . php-html-helper-mode) auto-mode-alist))