--- xcite-1.60.orig/debian/README.Debian +++ xcite-1.60/debian/README.Debian @@ -0,0 +1,2 @@ +There is no document about how to use it. It is in source code comments. +Please read `/usr/share/emacs/site-lisp/xcite/xcite.el'. --- xcite-1.60.orig/debian/changelog +++ xcite-1.60/debian/changelog @@ -0,0 +1,5 @@ +xcite (1.60-1) unstable; urgency=low + + * Initial release (Closes: #551026) + + -- TANIGUCHI Takaki Mon, 19 Oct 2009 10:46:13 +0900 --- xcite-1.60.orig/debian/compat +++ xcite-1.60/debian/compat @@ -0,0 +1 @@ +7 --- xcite-1.60.orig/debian/control +++ xcite-1.60/debian/control @@ -0,0 +1,15 @@ +Source: xcite +Section: mail +Priority: extra +Maintainer: TANIGUCHI Takaki +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.8.3 +Homepage: http://www.gentei.org/~yuuji/software/ + +Package: xcite +Architecture: all +Depends: ${misc:Depends} +Description: exciting cite utility for Emacsen + This package enables you to register as many mail/news citation prefix + as you like according to each author, and to select those headers + randomly. --- xcite-1.60.orig/debian/copyright +++ xcite-1.60/debian/copyright @@ -0,0 +1,26 @@ +This work was packaged for Debian by: + + TANIGUCHI Takaki on Wed, 14 Oct 2009 13:46:51 +0900 + +It was downloaded from http://www.gentei.org/~yuuji/software/ + +Upstream Author: + + HIROSE Yuuji + +Copyright: + + (c)1996-2005 by HIROSE Yuuji [yuuji@gentei.org] + +License: + + This program is distributed as a free software. You can + use/copy/modify/redistribute this software freely but with NO + warranty to anything as a result of using this software. + +The Debian packaging is: + + Copyright (C) 2009 TANIGUCHI Takaki + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. --- xcite-1.60.orig/debian/dirs +++ xcite-1.60/debian/dirs @@ -0,0 +1 @@ +usr/share/emacs/site-lisp/xcite --- xcite-1.60.orig/debian/emacsen-install +++ xcite-1.60/debian/emacsen-install @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/xcite + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=xcite + +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/share/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 --- xcite-1.60.orig/debian/emacsen-remove +++ xcite-1.60/debian/emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/xcite + +FLAVOR=$1 +PACKAGE=xcite + +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/xcite.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- xcite-1.60.orig/debian/emacsen-startup +++ xcite-1.60/debian/emacsen-startup @@ -0,0 +1,23 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50xcite.el +;; for the Debian xcite package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The xcite 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: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/xcite"))) +;; If package-dir does not exist, the xcite package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (autoload 'xcite "xcite" "Exciting cite" t) + (autoload 'xcite-yank-cur-msg "xcite" "Exciting cite" t))) --- xcite-1.60.orig/debian/rules +++ xcite-1.60/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_install: + cp xcite.el $(CURDIR)/debian/xcite/usr/share/emacs/site-lisp/xcite