wysihtml (0.13-5.1) debian-dir only changes

Summary

 debian/README.Debian      |    8 ++
 debian/changelog          |  132 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/control            |   18 ++++++
 debian/copyright          |   11 +++
 debian/dirs               |    2 
 debian/emacsen-install    |   56 +++++++++++++++++++
 debian/emacsen-remove     |   15 +++++
 debian/emacsen-startup    |   20 ++++++
 debian/rules              |   98 ++++++++++++++++++++++++++++++++++
 debian/wysihtmlinfoheader |    4 +
 10 files changed, 364 insertions(+)

    
download this patch

Patch contents

--- wysihtml-0.13.orig/debian/copyright
+++ wysihtml-0.13/debian/copyright
@@ -0,0 +1,11 @@
+This package was debianized by Junichi Uekawa <dancer@debian.org> on
+Sat, 25 Jan 2003 21:45:05 +0900.
+
+It was downloaded from http://www.netfort.gr.jp/~dancer/software/downloads/wysihtml-0.5.tar.gz
+
+Upstream Author: Junichi Uekawa <dancer@netfort.gr.jp>
+
+Copyright:
+
+GPL version 2 or later, see /usr/share/common-licenses/GPL-2
+
--- wysihtml-0.13.orig/debian/README.Debian
+++ wysihtml-0.13/debian/README.Debian
@@ -0,0 +1,8 @@
+wysihtml for Debian
+-------------------
+
+This is WYSIHTML, an almost wysiwyg mode for emacs.
+
+Edit a file in html-mode, and type M-x wysihtml-mode.
+
+ -- Junichi Uekawa <dancer@debian.org>, Mon Jan 27 19:14:31 2003
--- wysihtml-0.13.orig/debian/emacsen-install
+++ wysihtml-0.13/debian/emacsen-install
@@ -0,0 +1,56 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/wysihtml
+
+# 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>.
+
+# special-case xemacs, since non-mule xemacs doesn't work.
+
+FLAVOR=$1
+PACKAGE=wysihtml
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+if [ ${FLAVOR} = xemacs21 ]; then
+    XEMACS=`ls /usr/bin/xemacs*21*-mule* 2> /dev/null | head -1`
+    if [ -z $XEMACS ]; then exit 0; fi
+    XEMACS=`basename $XEMACS`
+else
+    unset XEMACS || true
+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
+${XEMACS:-$FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0
--- wysihtml-0.13.orig/debian/wysihtmlinfoheader
+++ wysihtml-0.13/debian/wysihtmlinfoheader
@@ -0,0 +1,4 @@
+INFO-DIR-SECTION Emacs
+START-INFO-DIR-ENTRY
+* Wysihtml: (wysihtml). wysihtml documentation.
+END-INFO-DIR-ENTRY
--- wysihtml-0.13.orig/debian/dirs
+++ wysihtml-0.13/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
--- wysihtml-0.13.orig/debian/changelog
+++ wysihtml-0.13/debian/changelog
@@ -0,0 +1,132 @@
+wysihtml (0.13-5.1) unstable; urgency=low
+
+  * debian/control
+    - (Depends): Remove emacs22, add emacs23 (important; Closes: #577467).
+
+ -- Jari Aalto <jari.aalto@cante.net>  Thu, 14 Oct 2010 10:14:00 +0300
+
+wysihtml (0.13-5) unstable; urgency=low
+
+  * support emacs22
+
+ -- Junichi Uekawa <dancer@debian.org>  Thu, 12 Jul 2007 22:31:24 +0900
+
+wysihtml (0.13-4) unstable; urgency=low
+
+  * Bug fix: "wysihtml-el: Please add a depends against emacsen or
+    emacs-snapshot", thanks to arnaud@andesi.org (Closes: #403162).
+  * add Recommends to psgml.
+
+ -- Junichi Uekawa <dancer@debian.org>  Fri,  5 Jan 2007 14:11:31 +0900
+
+wysihtml (0.13-3) unstable; urgency=low
+
+  * Bug fix: "wysihtml-el: still depends on old mozilla-browser or firefox
+    packages", thanks to Laurent Bonnaud (Closes: #402271).
+    Now depends on iceweasel or iceape-browser
+  * update documentation to refer to iceweasel instead of mozilla.
+
+ -- Junichi Uekawa <dancer@debian.org>  Sun, 10 Dec 2006 14:39:51 +0900
+
+wysihtml (0.13-2) unstable; urgency=low
+
+  * Build-Depends: hevea (closes: #369766)
+  * Standards-Version: 3.7.2
+  * Debhelper compatibility level: 4
+
+ -- Junichi Uekawa <dancer@debian.org>  Fri,  2 Jun 2006 00:17:17 +0900
+
+wysihtml (0.13-1) unstable; urgency=low
+
+  * New upstream version
+  - now includes an info documentation.
+  * Change dependency to mozilla | firefox
+  * start to pretend real xemacs support.
+  * update to work with recent pbuilder-doc.xml. Handle documents starting
+    with <book xxx>
+
+ -- Junichi Uekawa <dancer@debian.org>  Sat, 27 May 2006 08:13:01 +0900
+
+wysihtml (0.12-1) unstable; urgency=low
+
+  * New upstream version
+  - Rewritten DocBookXML support.
+  * Standards-version: 3.6.2
+
+ -- Junichi Uekawa <dancer@debian.org>  Sun, 21 Aug 2005 13:01:17 +0900
+
+wysihtml (0.11-1) unstable; urgency=low
+
+  * New upstream version
+  - Work with new LDP xsl stylesheet 0.0.20040321-0.1
+
+ -- Junichi Uekawa <dancer@debian.org>  Tue,  4 Jan 2005 12:45:41 +0900
+
+wysihtml (0.10-3) unstable; urgency=low
+
+  * Added mozilla-firefox as alternative to dependency. (Closes: #236599).
+
+ -- Junichi Uekawa <dancer@debian.org>  Tue,  9 Mar 2004 08:44:09 +0900
+
+wysihtml (0.10-2) unstable; urgency=low
+
+  * Do not die when xemacs-nomule exists. (Closes: #234827).
+
+ -- Junichi Uekawa <dancer@debian.org>  Sat, 28 Feb 2004 08:52:18 +0900
+
+wysihtml (0.10-1) unstable; urgency=low
+
+  * New upstream version
+  * Standards-version: 3.6.1
+  * Fix build rules to get nostrip and noopt options to work.
+
+ -- Junichi Uekawa <dancer@debian.org>  Tue, 30 Dec 2003 23:49:07 +0900
+
+wysihtml (0.9-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Junichi Uekawa <dancer@debian.org>  Sat, 26 Jul 2003 12:22:37 +0900
+
+wysihtml (0.8-1) unstable; urgency=low
+
+  * New upstream version
+  - documentation improvements
+  - Allow "customize" from emacs interface.
+
+ -- Junichi Uekawa <dancer@debian.org>  Sun, 18 May 2003 12:41:20 +0900
+
+wysihtml (0.7-1) unstable; urgency=low
+
+  * New upstream version
+  - improved docbook-xml handling.
+
+ -- Junichi Uekawa <dancer@debian.org>  Fri, 11 Apr 2003 00:18:52 +0900
+
+wysihtml (0.6-2) unstable; urgency=low
+
+  * Fix typo in emacsen startup script.
+
+ -- Junichi Uekawa <dancer@debian.org>  Tue,  8 Apr 2003 22:17:20 +0900
+
+wysihtml (0.6-1) unstable; urgency=low
+
+  * Update Depends line to clarify that this thing requires xemacs21 mule
+    version. 
+  * versioned depends on a fixed elserv. (closes: #179627)
+  * Check for mule in startup scripts.
+
+ -- Junichi Uekawa <dancer@debian.org>  Mon, 10 Mar 2003 00:44:55 +0900
+
+wysihtml (0.5-2) unstable; urgency=low
+
+  * check if mule is avilable in the startup script.
+
+ -- Junichi Uekawa <dancer@debian.org>  Sat, 15 Feb 2003 16:31:09 +0900
+
+wysihtml (0.5-1) unstable; urgency=low
+
+  * Initial Release (closes: #178450)
+
+ -- Junichi Uekawa <dancer@debian.org>  Sat, 25 Jan 2003 21:45:05 +0900
+
--- wysihtml-0.13.orig/debian/emacsen-remove
+++ wysihtml-0.13/debian/emacsen-remove
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/wysihtml
+
+FLAVOR=$1
+PACKAGE=wysihtml
+
+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/wysihtml.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
--- wysihtml-0.13.orig/debian/rules
+++ wysihtml-0.13/debian/rules
@@ -0,0 +1,98 @@
+#!/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
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=4
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755
+CFLAGS= -Wall -g 
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	INSTALL_PROGRAM="$(INSTALL_PROGRAM)" CFLAGS="$(CFLAGS)" \
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
+	--libexecdir=/usr/lib/wysihtml --datadir=/usr/share/emacs/site-lisp
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/wysihtml.sgml > wysihtml.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	rm -rf debian/tmp-info
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/wysihtml-el/
+	# hack info doc.
+	-mkdir debian/tmp-info
+	(head -1 build/wysihtml.info;  \
+	cat debian/wysihtmlinfoheader ; \
+	sed 1d < build/wysihtml.info ) > debian/tmp-info/wysihtml.info
+	-cp build/wysihtml.info-* debian/tmp-info
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installemacsen --priority=60
+	dh_installcron
+	dh_installman
+	dh_installinfo -v debian/tmp-info/wysihtml.info*
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- wysihtml-0.13.orig/debian/control
+++ wysihtml-0.13/debian/control
@@ -0,0 +1,18 @@
+Source: wysihtml
+Section: text
+Priority: optional
+Maintainer: Junichi Uekawa <dancer@debian.org>
+Build-Depends: debhelper (>> 3.0.0), hevea
+Standards-Version: 3.7.2
+
+Package: wysihtml-el
+Architecture: any
+Depends: ${shlibs:Depends}, iceape-browser | iceweasel, xemacs21-mule | xemacs21-mule-canna-wnn | emacs23 | emacs-snapshot, elserv (>= 0.4.0+0.20011203cvs-3.2), apel, ldp-docbook-xsl (>= 0.0.20040321-0.1), xsltproc
+Recommends: psgml
+Description: Almost real-time previewing system for HTML and DocBook
+ WYSIHTML is a almost real-time previewing system for HTML
+ and DocBook XML files.
+ .
+ This package facilitates and automates
+ editing HTML/DocBook XML source in emacs and 
+ previewing with iceweasel browser.
--- wysihtml-0.13.orig/debian/emacsen-startup
+++ wysihtml-0.13/debian/emacsen-startup
@@ -0,0 +1,20 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux wysihtml 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 wysihtml 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:
+(if (featurep 'mule)
+    (setq load-path (cons (concat "/usr/share/"
+				  (symbol-name flavor)
+				  "/site-lisp/wysihtml") load-path)))
+(autoload 'wysihtml-mode "wysihtml" nil t)
+(autoload 'wysidocbookxml-mode "wysidocbookxml" nil t)
+