--- lsdb-0.11.orig/debian/changelog +++ lsdb-0.11/debian/changelog @@ -0,0 +1,108 @@ +lsdb (0.11-10) unstable; urgency=low + + * rules (clean): Avoid lintian warning. + * control.in (lsdb/Depends): Use emacs instead of emacs21. + + -- OHASHI Akira Tue, 07 Aug 2007 18:18:21 +0900 + +lsdb (0.11-9) unstable; urgency=low + + * control.in (Standards-Version): Increase to 3.7.2. + (Build-Depends-Indep): Abolish. + (Build-Depends): New field. + * emacsen-install: Install myself when flavor is emacs22. + + -- OHASHI Akira Thu, 21 Jun 2007 10:41:54 +0900 + +lsdb (0.11-8) unstable; urgency=low + + * rules: Use cdbs to build. + * control.in: New file for cdbs. + * emacsen-install: Rewrite to a new de facto standard format. + * emacsen-startup: Use debian-emacs-flavor instead of flavor. + + -- OHASHI Akira Sat, 10 Dec 2005 09:25:22 +0900 + +lsdb (0.11-7) unstable; urgency=medium + + * emacsen-install: Add the path of apel and flim. (closes: #270044) + + -- OHASHI Akira Tue, 7 Sep 2004 10:33:57 +0900 + +lsdb (0.11-6) unstable; urgency=low + + * emacsen-install: Fix for the broken installation. + + -- OHASHI Akira Tue, 7 Sep 2004 10:33:33 +0900 + +lsdb (0.11-5) unstable; urgency=low + + * emacsen-startup: Don't add uncompiled files to the load-path. + + -- OHASHI Akira Thu, 12 Aug 2004 12:28:01 +0900 + +lsdb (0.11-4) unstable; urgency=low + + * emacsen-startup: Use `debian-pkg-add-load-path-item' and add uncompiled + files to the load-path. + * emacsen-install: Enable SITEFLAG and output a log to tempfile. + + -- OHASHI Akira Fri, 6 Aug 2004 14:08:27 +0900 + +lsdb (0.11-3) unstable; urgency=low + + * control (Suggests): Add gnus. + + -- OHASHI Akira Mon, 10 May 2004 09:44:24 +0900 + +lsdb (0.11-2) unstable; urgency=low + + * control (Depends): Don't depend `emacs20'. (closes: #232767) + + -- OHASHI Akira Mon, 16 Feb 2004 14:23:16 +0900 + +lsdb (0.11-1) unstable; urgency=low + + * New upstream release + * control (Standards-Version): Increased to 3.6.1. + * copyright: Fix for lintian. + + -- OHASHI Akira Fri, 9 Jan 2004 12:29:21 +0900 + +lsdb (0.10+20030425cvs-1) unstable; urgency=low + + * New upstream release + * control (Standards-Version): Increased to 3.5.9.0. + * emacsen-startup: Fix typo. (closes: #189379) + + -- OHASHI Akira Fri, 25 Apr 2003 10:06:07 +0900 + +lsdb (0.9-1) unstable; urgency=low + + * New upstream release (closes: #150797) + * copyright: Change the URL. + * emacsen-startup: Make wl interface slim. + + -- OHASHI Akira Thu, 5 Sep 2002 00:11:33 +0900 + +lsdb (0.7-1) unstable; urgency=low + + * New upstream release + * emacsen-startup: Bind `lsdb-toggle-buffer'. + + -- OHASHI Akira Fri, 10 May 2002 04:33:57 +0900 + +lsdb (0.3-1) unstable; urgency=low + + * New upstream release (closes: #144695) + * control (Suggests): Add mew and mu-cite. + * emacsen-startup: Add mew interface. + + -- OHASHI Akira Mon, 29 Apr 2002 00:15:05 +0900 + +lsdb (0.1-1) unstable; urgency=low + + * Initial Release. + + -- OHASHI Akira Sat, 27 Apr 2002 12:42:27 +0900 + --- lsdb-0.11.orig/debian/control +++ lsdb-0.11/debian/control @@ -0,0 +1,16 @@ +Source: lsdb +Section: mail +Priority: optional +Maintainer: OHASHI Akira +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: lsdb +Architecture: all +Depends: emacs | emacsen, flim +Suggests: gnus | wl-beta | wl | t-gnus | mew | mew-beta, mu-cite +Description: The Lovely Sister Database (email rolodex) for Emacs + LSDB (The Lovely Sister Database) is a rolodex-like database program + for SEMI based MUA. It's intended to be a lightweight relacement for + BBDB (The Insidious Big Brother Database). Unfortunately, it + currently doesn't support the all features of BBDB. --- lsdb-0.11.orig/debian/copyright +++ lsdb-0.11/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by OHASHI Akira on +Sat, 27 Apr 2002 12:42:27 +0900. + +It was downloaded from + +Upstream Author: + +Copyright: + + GPL + +On Debian systems, the complete text of the GNU General Public License +can be found in /usr/share/common-licenses/GPL. --- lsdb-0.11.orig/debian/dirs +++ lsdb-0.11/debian/dirs @@ -0,0 +1,2 @@ +usr/share/emacs/site-lisp/lsdb +usr/share/doc/lsdb --- lsdb-0.11.orig/debian/docs +++ lsdb-0.11/debian/docs @@ -0,0 +1 @@ +README --- lsdb-0.11.orig/debian/emacsen-install +++ lsdb-0.11/debian/emacsen-install @@ -0,0 +1,124 @@ +#! /bin/bash -e +# /usr/lib/emacsen-common/packages/install/lsdb + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . +# +# Patched by Roland Mas to add support for lists +# of flavor-dependently included/excluded files + +FLAVOR=$1 +STAMPFILE=lsdb.elc +PACKAGE=lsdb + +# INCLUDED_emacs20="" +# INCLUDED_emacs21="" +# INCLUDED_xemacs21="" +# INCLUDE_emacs_snapshot="" + +# EXCLUDED_emacs20="" +# EXCLUDED_emacs21="" +# EXCLUDED_xemacs21="" +# EXCLUDED_emacs_snapshot="" + +SOURCEONLY_all="LSDB-CFG LSDB-ELS LSDB-MK bbdb-to-lsdb.el" + +eval included_here=\$$(echo INCLUDED_$FLAVOR | tr - _) +eval excluded_here=\$$(echo EXCLUDED_$FLAVOR | tr - _) +eval sourceonly_here=\$$(echo SOURCEONLY_$FLAVOR | tr - _) + +included_all=$(for i in ${!INCLUDED_*} ; do + eval echo \$$i + done | sort -u) + +excluded_all=$(for i in ${!EXCLUDED_*} ; do + eval echo \$$i + done | sort -u) + +sourceonly_all=$(for i in ${!SOURCEONLY_*} ; do + eval echo \$$i + done | sort -u) + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +# 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/share/info/${PACKAGE}.info.gz +#fi + +LOG=`tempfile -pelc_ -s.log -m644` +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} +if test -e "${ELCDIR}/${STAMPFILE}"; then + echo "${PACKAGE} files already compiled in ${ELCDIR}." + rm -f ${LOG} + exit +fi +echo install/${PACKAGE}: Handling ${FLAVOR}, logged in ${LOG} + +if [ -z "$FLAGS" ] ; then + FLAGS="-q -no-site-file --no-site-file -batch -l path.el -l LSDB-MK -f compile-lsdb" +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} + +# Now to compute the list of files to install... + +FILES=$(ls -1 *.el) +# Here we have all of them + +PATTERN="" +for i in $included_all $excluded_all $sourceonly_all; do + [ ! -z "$PATTERN" ] && PATTERN="${PATTERN}\|" + PATTERN="${PATTERN}^$i\$" +done +FILES2=$FILES +if [ ! -z "$PATTERN" ] ; then + FILES=$(for i in $FILES2 ; do echo $i | grep -v $PATTERN || true ; done) +fi +# Here we only have those not explicitly included or excluded by any flavour + +FILES="$FILES $included_here" +# Here we also have those included for the current flavour + +for i in $excluded_all ; do + include_i="yes" + for j in $excluded_here ; do + [ $i = $j ] && include_i="no" + done + [ $include_i = "yes" ] && FILES="$FILES $i" +done +# And now we have those excluded by other flavours but not the current one + +FILES=$(for i in $FILES ; do echo $i ; done | sort -u) +# And now for my last trick... The list is now uniquified! + +# Symlinks instead of copying... +cd ${ELCDIR} +for i in $FILES $sourceonly_all; do + ln -fs /usr/share/emacs/site-lisp/${PACKAGE}/$i +done + +cat << EOF > path.el +(setq load-path (cons "/usr/share/${FLAVOR}/site-lisp/apel" load-path)) +(setq load-path (cons "/usr/share/${FLAVOR}/site-lisp/flim" load-path)) +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +if test "${APPEND_LOAD_PATH}" != "" +then + cat << EOF >> path.el +(setq load-path (append ${APPEND_LOAD_PATH} load-path)) +EOF +fi + +echo ${FLAVOR} ${FLAGS} >> ${LOG} +"${FLAVOR}" ${FLAGS} >> ${LOG} 2>&1 +egrep -s -e "While compiling|\*\*" ${LOG} || /bin/true +echo install/${PACKAGE}: Deleting ${LOG} +rm -f path.el LSDB-* ${LOG} + +exit 0 --- lsdb-0.11.orig/debian/emacsen-remove +++ lsdb-0.11/debian/emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/lsdb + +FLAVOR=$1 +PACKAGE=lsdb + +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/share/info/${PACKAGE}.info.gz +# fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- lsdb-0.11.orig/debian/emacsen-startup +++ lsdb-0.11/debian/emacsen-startup @@ -0,0 +1,50 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian GNU/Linux lsdb package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The lsdb 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 (not (file-exists-p "/usr/share/emacs/site-lisp/lsdb")) + (message "Package lsdb removed but not purged. Skipping setup.") + (debian-pkg-add-load-path-item + (concat "/usr/share/" (symbol-name debian-emacs-flavor) + "/site-lisp/lsdb")) + + ;; for t-gnus + (autoload 'lsdb-gnus-insinuate "lsdb") + (autoload 'lsdb-gnus-insinuate-message "lsdb") + (add-hook 'gnus-startup-hook 'lsdb-gnus-insinuate) + (add-hook 'message-setup-hook + (lambda () + (define-key message-mode-map "\M-\t" 'lsdb-complete-name))) + (add-hook 'gnus-summary-mode-hook + (lambda () + (define-key gnus-summary-mode-map ":" 'lsdb-toggle-buffer))) + + ;; for wl + (autoload 'lsdb-wl-insinuate "lsdb") + (add-hook 'wl-init-hook 'lsdb-wl-insinuate) + (add-hook 'wl-draft-mode-hook + (lambda () + (define-key wl-draft-mode-map "\M-\t" 'lsdb-complete-name))) + (add-hook 'wl-summary-mode-hook + (lambda () + (define-key wl-summary-mode-map ":" 'lsdb-toggle-buffer))) + + ;; for mew + (autoload 'lsdb-mew-insinuate "lsdb") + (add-hook 'mew-init-hook 'lsdb-mew-insinuate) + (add-hook 'mew-draft-mode-hook + (lambda () + (define-key mew-draft-header-map "\M-I" 'lsdb-complete-name))) + (add-hook 'mew-summary-mode-hook + (lambda () + (define-key mew-summary-mode-map "l" 'lsdb-toggle-buffer)))) --- lsdb-0.11.orig/debian/rules +++ lsdb-0.11/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes + +include /usr/share/cdbs/1/rules/debhelper.mk + +clean:: + [ ! -f Makefile ] || $(MAKE) clean + +install/lsdb:: + install -m 644 LSDB-* $(DEB_DESTDIR)usr/share/emacs/site-lisp/lsdb + install -m 644 *.el $(DEB_DESTDIR)usr/share/emacs/site-lisp/lsdb --- lsdb-0.11.orig/debian/control.in +++ lsdb-0.11/debian/control.in @@ -0,0 +1,16 @@ +Source: lsdb +Section: mail +Priority: optional +Maintainer: OHASHI Akira +Build-Depends: @cdbs@ +Standards-Version: 3.7.2 + +Package: lsdb +Architecture: all +Depends: emacs | emacsen, flim +Suggests: gnus | wl-beta | wl | t-gnus | mew | mew-beta, mu-cite +Description: The Lovely Sister Database (email rolodex) for Emacs + LSDB (The Lovely Sister Database) is a rolodex-like database program + for SEMI based MUA. It's intended to be a lightweight relacement for + BBDB (The Insidious Big Brother Database). Unfortunately, it + currently doesn't support the all features of BBDB. --- lsdb-0.11.orig/debian/compat +++ lsdb-0.11/debian/compat @@ -0,0 +1 @@ +5