ecb (2.32-1) debian-dir only changes

Summary

 debian/README.Debian                    |   56 +++++++++++
 debian/changelog                        |  159 ++++++++++++++++++++++++++++++++
 debian/compat                           |    1 
 debian/control                          |   18 +++
 debian/copyright                        |   50 ++++++++++
 debian/dirs                             |    1 
 debian/doc-base                         |   13 ++
 debian/ecb.install                      |    4 
 debian/emacsen-install                  |   53 ++++++++++
 debian/emacsen-remove                   |   15 +++
 debian/emacsen-startup                  |   26 +++++
 debian/follow-mouse.el                  |  155 +++++++++++++++++++++++++++++++
 debian/info                             |    1 
 debian/links                            |    1 
 debian/patches/10_Makefile_adjust.patch |   21 ++++
 debian/rules                            |   20 ++++
 16 files changed, 594 insertions(+)

    
download this patch

Patch contents

--- ecb-2.32.orig/debian/doc-base
+++ ecb-2.32/debian/doc-base
@@ -0,0 +1,13 @@
+Document: ecb
+Title:  ECB - the Emacs Code Browser
+Author: Jesper Nordenberg, Klaus Berndl, Kevin A. Burton, Eric M. Ludlam
+Abstract: ECB is source code browser for Emacs. It is a global
+ minor-mode which displays a couple of windows that can
+ be used to browse directories, files and methods.
+ It supports method parsing for Java, C, C++, Elisp etc.
+Section: devel
+
+Format: HTML
+Index: /usr/share/doc/ecb/html/ecb.html
+Files: /usr/share/doc/ecb/html/*.html
+
--- ecb-2.32.orig/debian/dirs
+++ ecb-2.32/debian/dirs
@@ -0,0 +1 @@
+usr/share/emacs/site-lisp/ecb
--- ecb-2.32.orig/debian/README.Debian
+++ ecb-2.32/debian/README.Debian
@@ -0,0 +1,56 @@
+ecb for Debian
+--------------
+
+-------------------------
+Upgrades from 1.70:
+ECB has a new feature 'ecb-auto-compatibility-check' which enables a check for
+incompatible or renamed ECB-options at ECB startup. These options are then
+auto. upgraded to the new type or reset to the default-values of current
+ECB-version if no upgrade is possible. All upgraded or reset options are
+displayed to the user with their old and new values!
+-------------------------
+
+To use ecb you must turn it on with M-x ecb-activate. It does not start
+by itself!
+Ok, now there is something for automatic activation, read the ecb help.
+
+For help do a M-x ecb-show-help after activation.
+
+For Javasupport it is best to have the jde Package installed.
+I only suggest this. If you don't have jde now do an apt-get install jde
+if you want to develop in Java.
+
+I add the file follow-mouse.el to the lisp-dir of ecb, a quite useful
+thing with ecb. This is the Description of it:
+
+;;; Description:
+;;; By default, a window within an Emacs frame must be selected by
+;;; typing `C-x o' (other-window) or by clicking [mouse-1] on the mode
+;;; line or the buffer itself (mouse-set-point); this corresponds to a
+;;; "click to type" window manager policy.  follow-mouse.el implements a
+;;; "focus follows mouse" window manager policy, so that a window is
+;;; selected when the mouse moves over it.
+;;; 
+;;; To enable follow-mouse, put this in your ~/.emacs file:
+;;;     (turn-on-follow-mouse)
+;;; 
+;;; follow-mouse can be enabled or disabled interactively with the
+;;; `M-x turn-on-follow-mouse', `M-x turn-off-follow-mouse', and
+;;; `M-x toggle-follow-mouse' commands.
+;;; 
+;;; By default, follow-mouse will deselect an active minibuffer window;
+;;; to prevent that, just unset the
+;;; `follow-mouse-deselect-active-minibuffer' option.
+;;; 
+;;; By default, follow-mouse also raises the frame whose window is
+;;; selected; to disable that, just unset the
+;;; `follow-mouse-auto-raise-frame' option.
+
+If you want to use it you must load it with (require 'follow-mouse), i
+don't do that for you in the ecb-startup Script! And then you probably
+like to turn-on-follow-mouse to the ecb-activate-hook and
+turn-off-follow-mouse to the ecb-deactivate-hook, look into ecb
+Customization.
+
+
+ -- Joerg Jaspert <joerg@debian.org>, Wed, 22 May 2002 21:12:07 +0200
--- ecb-2.32.orig/debian/changelog
+++ ecb-2.32/debian/changelog
@@ -0,0 +1,159 @@
+ecb (2.32-1) unstable; urgency=low
+
+  * debian/control
+    Remove dependency to build PDF and html files.
+  * debian/emacsen-startup:
+    Change back to (require 'ecb-autoloads) for quick loading.
+  * Drop pdf file installation by default.
+  * Depend on cogre and cedet-contrib.
+  * Drop jde as suggests
+
+  Cai Qian <caiqian@debian.org>  Sat, 3 Jue 2006 23:33:00 +0100
+
+  * New upstream release. (Closes: #289090, #269793, #292356)
+  * New maintainer (Closes: #321808).
+  * Change build system to use CDBS + debhelper.
+  * debian/rules:
+    - Remove extraneous .cvsignore files and bash scripts.
+      (Closes: #301939)
+    - dh_link now placed in debian/links .
+    - Handle doc installation via DEB_INSTALL_DOCS_ALL , remove
+      debian/docs .
+  * debian/patches:
+    - Add 10_Makefile_adjust.patch (old fixes)
+  * debian/control:
+    - Bump Standards-Version.
+    - Adjust debhelper dependency to (>= 5.0.7).
+    - Add homepage to long description.
+    - Add cdbs and debhelper to Build-Depends.
+    - Rewrite description synopsis.
+  * debian/copyright:
+    - Add notice from ecb.el . Must ping upstream to update FSF
+      address.
+  * debian/emacsen-install:
+    - Get ecb to find its images by properly linking to
+      /usr/share/emacs/site-lisp/ecb/ecb-images (Closes: #272506)
+  * debian/emacsen-startup:
+    - Use (require 'ecb) instead of (require 'ecb-autoloads) so we
+      can call ECB from the Tools menu (Closes: #296794)
+
+ -- Zak B. Elep <zakame@spunge.org>  Tue, 16 May 2006 00:20:55 +0800
+
+ecb (2.27-2) unstable; urgency=low
+
+  * Orphaning package
+
+ -- Joerg Jaspert <joerg@debian.org>  Sun,  7 Aug 2005 19:33:59 +0200
+
+ecb (2.27-1) unstable; urgency=low
+
+  * And include latest Upstream too...
+
+ -- Joerg Jaspert <joerg@debian.org>  Wed,  1 Sep 2004 22:15:18 +0200
+
+ecb (2.26-2) unstable; urgency=low
+
+  * Bug fix: "ecb-activate fails without (require 'cedet)", thanks to
+    David Porter (Closes: #269368).
+
+ -- Joerg Jaspert <joerg@debian.org>  Wed,  1 Sep 2004 22:06:39 +0200
+
+ecb (2.26-1) unstable; urgency=low
+
+  * New Upstream Version (Closes: #258089).
+  * Bug fix: "Missing `ecb-images' dir for tree-buffers with images",
+    thanks to Su Yong (Closes: #250014).
+
+ -- Joerg Jaspert <joerg@debian.org>  Mon, 16 Aug 2004 22:56:23 +0200
+
+ecb (2.21-1) unstable; urgency=low
+
+  * New Upstream Version (Closes: #231773).
+  * Bug fix: "ecb: source dir on load path", thanks to Ian Zimmerman
+    (Closes: #223811).
+
+ -- Joerg Jaspert <joerg@debian.org>  Mon, 16 Feb 2004 23:16:24 +0100
+
+ecb (2.01-1) unstable; urgency=low
+
+  * Yes, New Upstream Version
+   - Bug fix: "ecb: Cannot activate winner-mode in Emacs 21. ", thanks to
+     Matt Hodges (Closes: #180848).
+  * Added speedbar | speedbar beta to Depends.
+  * Standards 3.6.1
+  * Bug fix: "ecb: postinst script fails with xemacs21", thanks to Laurent
+    Bonnaud. At least it works on 4 different test machines i have
+    access to. (Closes: #185316).
+  * Bug fix: "ecb: does too much in site-start.d script", thanks to Ian
+    Zimmerman. It now only requires ecb-autoloads. (Closes: #216267).
+  * Bug fix: "ecb-show-help command doesn't know where the help is",
+    thanks to James Knight. I modify the variable for the location
+    of the info file now in ecb startup script. As thats loaded before user
+    configuration it doesnt hurt and user can still change it - even if i dont
+    know why he would want to do it. (Closes: #184789).
+
+ -- Joerg Jaspert <joerg@debian.org>  Mon, 10 Nov 2003 23:23:33 +0100
+
+ecb (1.90.cvs20030209-1) unstable; urgency=low
+
+  * Newest CVS.
+  * Standards 3.5.8
+
+ -- Joerg Jaspert <joerg@debian.org>  Sun,  9 Feb 2003 16:00:31 +0100
+
+ecb (1.80.cvs20030105-1) unstable; urgency=low
+
+  * Newest CVS.
+
+ -- Joerg Jaspert <joerg@debian.org>  Sun,  5 Jan 2003 16:12:19 +0100
+
+ecb (1.80.cvs20021113-1) unstable; urgency=low
+
+  * Now look at 1.90 CVS guys.
+  * Toggled priority of load-path elements, now compiled
+    files are first ones. (closes: #168679)
+
+ -- Joerg Jaspert <joerg@debian.org>  Wed, 13 Nov 2002 22:19:20 +0100
+
+ecb (1.80.cvs20021010-2) unstable; urgency=low
+
+  * The "Someone should shutdown the BTS, I hate Bugs" release. :)
+  * Dont fail in emacsen-startup if ecb is removed but not
+    purged (closes: #166021)
+
+ -- Joerg Jaspert <joerg@debian.org>  Wed, 23 Oct 2002 14:03:38 +0200
+
+ecb (1.80.cvs20021010-1) unstable; urgency=low
+
+  * Use latest CVS checkout.
+  * Standards-Version: 3.5.7.0
+  * Add the uncompiled lisp files to the load-path too.
+  * Install the documentation. (closes: Bug#159933)
+  * We are Arch: All, so built it in indep.
+  * This one installs with xemacs21 (tested with xemacs21-mule)
+    (closes: #157945)
+  * It also worked with this xemacs21-mule so it (closes: #159934).
+  
+ -- Joerg Jaspert <joerg@debian.org>  Sat, 12 Oct 2002 18:24:28 +0200
+
+ecb (1.80-1) unstable; urgency=low
+
+  * New Upstream version.
+   - If you used ecb before see the Readme.Debian please.
+   - For detailed infos whats changed see the HISTORY. Its to big (112 lines)
+     for this changelog.
+
+ -- Joerg Jaspert <joerg@debian.org>  Tue, 20 Aug 2002 22:46:45 +0200
+
+ecb (1.70-2) unstable; urgency=low
+
+  * Corrected semantic depends. (closes: #150225)
+
+ -- Joerg Jaspert <joerg@debian.org>  Mon, 17 Jun 2002 12:09:12 +0200
+
+ecb (1.70-1) unstable; urgency=low
+
+  * Initial Release (closes: #140943)
+
+ -- Joerg Jaspert <joerg@debian.org>  Wed, 22 May 2002 21:49:16 +0200
+
--- ecb-2.32.orig/debian/compat
+++ ecb-2.32/debian/compat
@@ -0,0 +1 @@
+5
--- ecb-2.32.orig/debian/control
+++ ecb-2.32/debian/control
@@ -0,0 +1,18 @@
+Source: ecb
+Section: devel
+Priority: optional
+Maintainer: Zak B. Elep <zakame@spunge.org>
+Uploaders: Cai Qian <caiqian@debian.org>
+Build-Depends: cdbs, debhelper (>= 5.0.7)
+Standards-Version: 3.7.2
+
+Package: ecb
+Architecture: all
+Depends: emacs21 | emacsen, eieio (>= 1.1), semantic (>= 1.1), speedbar-beta (>= 1.1) | speedbar (>= 1.1), cedet-contrib (>= 1.1), cogre (>= 1.1)
+Description: code browser for Emacs supporting several languages
+ ECB is source code browser for Emacs. It is a global
+ minor-mode which displays a couple of windows that can
+ be used to browse directories, files and methods.
+ It supports method parsing for Java, C, C++, Elisp etc.
+ .
+  Homepage: http://ecb.sourceforge.net
--- ecb-2.32.orig/debian/copyright
+++ ecb-2.32/debian/copyright
@@ -0,0 +1,50 @@
+This package was debianized by Joerg Jaspert <joerg@debian.org> on
+Tue,  2 Apr 2002 21:12:07 +0200.
+
+This package was adopted by Zak B. Elep <zakame@spunge.org> on 
+Tue, 31 Jan 2006 15:15:10 +0800
+
+It was downloaded from http://ecb.sourceforge.net/
+
+Upstream Authors:  Jesper Nordenberg <mayhem@home.se>
+		 	 	   Klaus Berndl <klaus.berndl@sdm.de>
+		 		   Kevin A. Burton <burton@apache.org>
+				   Eric M. Ludlam <zappo@gnu.org>
+
+Copyright:
+
+From ecb.el:
+
+;;; ecb.el --- a code browser for Emacs
+
+;; Copyright (C) 2000 - 2005 Jesper Nordenberg,
+;;                           Klaus Berndl,
+;;                           Kevin A. Burton,
+;;                           Free Software Foundation, Inc.
+
+;; Author: Jesper Nordenberg <mayhem@home.se>
+;;         Klaus Berndl <klaus.berndl@sdm.de>
+;;         Kevin A. Burton <burton@openprivacy.org>
+;; Maintainer: Klaus Berndl <klaus.berndl@sdm.de>
+;;             Kevin A. Burton <burton@openprivacy.org>
+;; Keywords: browser, code, programming, tools
+;; Created: 2000
+
+;; 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, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+You are free to distribute this software under the terms of
+the GNU General Public License.
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL file.
--- ecb-2.32.orig/debian/ecb.install
+++ ecb-2.32/debian/ecb.install
@@ -0,0 +1,4 @@
+debian/follow-mouse.el usr/share/emacs/site-lisp/ecb/
+*.el usr/share/emacs/site-lisp/ecb/
+html-help/*.html usr/share/doc/ecb/html/
+ecb-images/ usr/share/emacs/site-lisp/ecb/
--- ecb-2.32.orig/debian/follow-mouse.el
+++ ecb-2.32/debian/follow-mouse.el
@@ -0,0 +1,155 @@
+;;; -*-unibyte: t;-*-
+
+;;;; follow-mouse.el -- Automatically select the window under the mouse.
+
+;;; RCS $Id: follow-mouse.el,v 1.1 2002/07/21 14:05:54 joerg Exp $
+
+;;; Description:
+;;; By default, a window within an Emacs frame must be selected by
+;;; typing `C-x o' (other-window) or by clicking [mouse-1] on the mode
+;;; line or the buffer itself (mouse-set-point); this corresponds to a
+;;; "click to type" window manager policy.  follow-mouse.el implements a
+;;; "focus follows mouse" window manager policy, so that a window is
+;;; selected when the mouse moves over it.
+;;; 
+;;; To enable follow-mouse, put this in your ~/.emacs file:
+;;;     (turn-on-follow-mouse)
+;;; 
+;;; follow-mouse can be enabled or disabled interactively with the
+;;; `M-x turn-on-follow-mouse', `M-x turn-off-follow-mouse', and
+;;; `M-x toggle-follow-mouse' commands.
+;;; 
+;;; By default, follow-mouse will deselect an active minibuffer window;
+;;; to prevent that, just unset the
+;;; `follow-mouse-deselect-active-minibuffer' option.
+;;; 
+;;; By default, follow-mouse also raises the frame whose window is
+;;; selected; to disable that, just unset the
+;;; `follow-mouse-auto-raise-frame' option.
+
+;;; Copyright:
+;;; 
+;;; Copyright © 1998,2000 Kevin Rodgers
+;;; 
+;;; 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
+;;; along with this program; if not, write to the Free Software
+;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+;;; 
+;;; My employer (Information Handling Services) has not disclaimed any
+;;; copyright interest in follow-mouse.el.
+;;; 
+;;; Kevin Rodgers <kevinr@ihs.com>          Lead Software Engineer
+;;; Information Handling Services           Electronic Systems Development
+;;; 15 Inverness Way East, M/S A114         GO BUFFS!
+;;; Englewood CO 80112-5776 USA             1+ (303) 397-2807
+
+;;; LCD Archive Entry:
+;;; 
+;;; follow-mouse|Kevin Rodgers|kevinr@ihs.com|
+;;; Automatically select the window under the mouse|
+;;; $Date: 2002/07/21 14:05:54 $|$Revision: 1.1 $||
+
+;;; Code:
+(provide 'follow-mouse)
+
+(defvar follow-mouse nil
+  "If non-nil, `\\<special-event-map>\\[follow-mouse-select-window]' \
+selects the window under the mouse.
+Don't set this variable directly; use `\\[toggle-follow-mouse]' instead")
+
+(defvar follow-mouse-deselect-active-minibuffer t
+  "*If non-nil, `\\<special-event-map>\\[follow-mouse-select-window]' \
+deselects an active minibuffer window.")
+(put 'follow-mouse-deselect-active-minibuffer 'variable-interactive
+     "XLeave active minibuffer window? (t or nil): ")
+
+(defvar follow-mouse-auto-raise-frame t
+  "*If non-nil, `\\<special-event-map>\\[follow-mouse-select-window]' \
+raises the frame as well.")
+(put 'follow-mouse-auto-raise-frame 'variable-interactive
+     "XAutomatically raise the selected window's frame? (t or nil): ")
+
+;;;###autoload
+(defun turn-on-follow-mouse ()
+  "Moving the mouse will automatically select the window under it."
+  (interactive)
+  (toggle-follow-mouse 1 (interactive-p)))
+
+;;;###autoload
+(defun turn-off-follow-mouse ()
+  "Moving the mouse will not automatically select the window under it."
+  (interactive)
+  (toggle-follow-mouse 0 (interactive-p)))
+
+;;;###autoload
+(defun toggle-follow-mouse (&optional arg verbose)
+  "Toggle whether moving the mouse automatically selects the window under it.
+If the optional prefix ARG is specified, follow-mouse is enabled if it is
+positive, and disabled otherwise.  If called interactively, or the optional
+VERBOSE argument is non-nil, display a confirmation message."
+  (interactive (list current-prefix-arg t))
+  (if (or (null arg)
+          (if (> (prefix-numeric-value arg) 0)
+              (not follow-mouse)
+            follow-mouse))
+      ;; Toggle it:
+      (progn
+        (cond ((setq follow-mouse (not follow-mouse))
+               ;; Save the current value of track-mouse before (re)setting it:
+               (put 'follow-mouse 'track-mouse track-mouse)
+               (setq track-mouse t)
+               ;; Save the current binding of [mouse-movement] before
+               ;; (re)binding it:
+               (put 'follow-mouse 'mouse-movement
+                    (lookup-key special-event-map [mouse-movement]))
+               (define-key special-event-map [mouse-movement]
+                 'follow-mouse-select-window))
+              (t                        ; disable
+               ;; Restore the previous value of track-mouse:
+               (setq track-mouse (get 'follow-mouse 'track-mouse))
+               ;; Restore the previous binding of [mouse-movement]:
+               (define-key special-event-map [mouse-movement]
+                 (get 'follow-mouse 'mouse-movement))))
+        (if (or (interactive-p) verbose)
+            (message "Follow mouse is %s"
+                     (if follow-mouse "enabled" "disabled"))))
+    (if (or (interactive-p) verbose)
+        (message "Follow mouse is already %s"
+                 (if follow-mouse "enabled" "disabled"))))    
+  ;; Return the result:
+  follow-mouse)
+
+(defun follow-mouse-select-window (event)
+  "*Like `mouse-select-window', if `follow-mouse' is set.
+Otherwise, do nothing; in particular, don't generate an error if EVENT
+occurs outside a window or in an inactive minibuffer window.
+See `follow-mouse-deselect-active-minibuffer' and
+`follow-mouse-auto-raise-frame'."
+  (interactive "e")
+  (prog1 (if follow-mouse
+             (let ((current-window (get-buffer-window (current-buffer)))
+                   (event-window (posn-window (event-start event))))
+               (if (and (or (not (window-minibuffer-p current-window))
+                            (not (minibuffer-window-active-p current-window))
+                            follow-mouse-deselect-active-minibuffer)
+                        (windowp event-window)
+                        (or (not (window-minibuffer-p event-window))
+                            (minibuffer-window-active-p event-window)))
+                   (if follow-mouse-auto-raise-frame
+                       (mouse-select-window event)
+                     (select-window event-window)))))
+    ;; Enable dragging:
+    (setq unread-command-events
+          (nconc unread-command-events (list event)))))
+
+;;;; follow-mouse.el ends here
\ No newline at end of file
--- ecb-2.32.orig/debian/emacsen-install
+++ ecb-2.32/debian/emacsen-install
@@ -0,0 +1,53 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/ecb
+
+# 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=ecb
+
+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}
+PIXMAPDIR=${ELDIR}/ecb-images
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+EIEIODIR=/usr/share/${FLAVOR}/site-lisp/eieio
+SEMANTICDIR=/usr/share/${FLAVOR}/site-lisp/semantic
+
+# 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}
+# (setq load-path (cons "." load-path) byte-compile-warnings nil)
+
+cat << EOF > path.el
+(setq load-path (nconc '( "${EIEIODIR}" "${SEMANTICDIR}")
+		       load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+if test -d ${PIXMAPDIR}; then
+    ln -sf ${PIXMAPDIR} ${ELCDIR};
+fi
+rm -f *.el path.el
+
+exit 0
--- ecb-2.32.orig/debian/emacsen-remove
+++ ecb-2.32/debian/emacsen-remove
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/ecb
+
+FLAVOR=$1
+PACKAGE=ecb
+
+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/ecb.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
--- ecb-2.32.orig/debian/emacsen-startup
+++ ecb-2.32/debian/emacsen-startup
@@ -0,0 +1,26 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux ecb 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 ecb 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:
+(cond
+ ((file-exists-p "/usr/share/emacs/site-lisp/ecb/ecb.el")
+  (setq load-path (cons (concat "/usr/share/"
+				(symbol-name flavor)
+				"/site-lisp/ecb") load-path))
+  (setq ecb-help-html-path "/usr/share/doc/ecb/html/ecb.html")
+  (setq ecb-help-info-path "/usr/share/info/ecb.info.gz")
+  (require 'ecb-autoloads)
+;; The following was added to fix bug #269368 - you need cedet.el
+;; loaded to not let ecb check for old semantic/speedbar/eieio versions
+;; and fail if not found. With it loaded it doesnt check and works...
+  (require 'cedet)))
+
--- ecb-2.32.orig/debian/rules
+++ ecb-2.32/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# rules --- Debian packaging rules for ecb
+
+# Let's use CDBS!
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/buildcore.mk
+
+DEB_EMACS_PRIORITY := 55
+DEB_INSTALL_DOCS_ALL := README RELEASE_NOTES
+DEB_INSTALL_CHANGELOGS_ALL := NEWS
+
+clean::
+	find -depth -noleaf -name .cvsignore -exec rm \{\} \;
+	find -depth -noleaf -name klaus.sh -exec rm \{\} \;
+
+build:
+
+
--- ecb-2.32.orig/debian/patches/10_Makefile_adjust.patch
+++ ecb-2.32/debian/patches/10_Makefile_adjust.patch
@@ -0,0 +1,21 @@
+diff -Nur ecb-2.32/Makefile ecb-2.32.new/Makefile
+--- ecb-2.32/Makefile	2006-01-31 15:29:09.000000000 +0800
++++ ecb-2.32.new/Makefile	2006-01-31 16:00:23.000000000 +0800
+@@ -112,14 +112,14 @@
+ # not available let the related setting X empty! NOTE: For generating the
+ # PDF-format you will need an installed TeX and Ghostscript!
+ MAKEINFO=/usr/bin/makeinfo
+-TEXI2DVI=/C/Programme/texmf/miktex/bin/texi2dvi
++TEXI2DVI=/usr/bin/texi2dvi
+ # You need either the dvipdfm-tool
+ #DVIPDFM=/C/Programme/texmf/miktex/bin/dvipdfm
+ DVIPDFM=
+ # or the tools dvips and ps2pdf. If dvipdfm is available the Makefile uses
+ # this one!
+-DVIPS=/C/Programme/texmf/miktex/bin/dvips
+-PS2PDF=/C/home/bin/ps2pdf
++DVIPS=/usr/bin/dvips
++PS2PDF=/usr/bin/ps2pdf
+ 
+ # To generate the online-formats just call "make online-help" for info- and
+ # HTML-format and "make pdf" for PDF-format.
--- ecb-2.32.orig/debian/links
+++ ecb-2.32/debian/links
@@ -0,0 +1 @@
+usr/share/doc/ecb/html/ecb.html usr/share/doc/ecb/html/index.html
--- ecb-2.32.orig/debian/info
+++ ecb-2.32/debian/info
@@ -0,0 +1 @@
+info-help/ecb.info*