--- select-xface-0.15.orig/debian/emacsen-startup +++ select-xface-0.15/debian/emacsen-startup @@ -0,0 +1,37 @@ +;;; 52select-xface.el --- Debian select-xface startup file -*-mode: emacs-lisp;-*- + +;;; Code: + +(let ((elc-dir (concat "/usr/share/" (symbol-name flavor) "/site-lisp/select-xface"))) + (if (not (file-directory-p elc-dir)) + () + (if (fboundp 'debian-pkg-add-load-path-item) + (debian-pkg-add-load-path-item elc-dir) + (setq load-path (cons elc-dir load-path))) + (autoload 'select-xface "select-xface" "Select X-Face" t) + ;; For Mew: + (add-hook 'mew-draft-mode-hook + (lambda () + (define-key (current-local-map) "\C-c\C-x" + 'select-xface))) + ;; For Gnus: + (add-hook 'gnus-message-setup-hook + (lambda () + (define-key (current-local-map) "\C-x4x" + 'select-xface))) + ;; For mh-e: + (add-hook 'mh-letter-mode-hook + (lambda () + (define-key (current-local-map) "\C-x4x" + 'select-xface))) + ;; For MAIL, RMAIL, VM, cmail, Wanderlust: + (add-hook 'mail-mode-hook + (lambda () + (define-key (current-local-map) "\C-x4x" + 'select-xface))) + ;; workaround for select-xface-insert + (defvar x-face-add-x-face-version-header nil) + ;; + )) + +;; 52select-xface.el ends here --- select-xface-0.15.orig/debian/emacsen-install +++ select-xface-0.15/debian/emacsen-install @@ -0,0 +1,46 @@ +#!/bin/sh +# /usr/lib/emacsen-common/packages/install/select-xface +set -e + +FLAVOR=$1 +PACKAGE="select-xface" + +if [ "X${FLAVOR}" = "X" ]; then + echo Need argument to determin FLAVOR of emacsen + exit 1 +fi +if [ "X${PACKAGE}" = "X" ]; then + echo Internal error: need package nameen + exit 1 +fi +if [ "X${FLAVOR}" = Xemacs ]; then exit 0; fi + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} +COMPILE_SRC="select-xface.el" +COMPILE_OPT="-batch -q -no-site-file -f batch-byte-compile" + +echo -n "install/${PACKAGE}: Byte-compiling for ${FLAVOR} ..." +rm -rf ${ELCDIR} +install -m 755 -d ${ELCDIR} + +cp ${ELDIR}/* ${ELCDIR}/ + +( cd ${ELCDIR} + ${FLAVOR} ${COMPILE_OPT} ${COMPILE_SRC} > ${ELCDIR}/CompilationLog 2>&1 + rm -f ${ELCDIR}/*.el + cd ${ELDIR} + for f in *.el; do + if [ -f ${ELCDIR}/${f}c ]; then + ln -sf ${ELDIR}/${f} ${ELCDIR}/${f} + fi + done +) +gzip -9 ${ELCDIR}/CompilationLog +chmod 644 ${ELCDIR}/CompilationLog.gz +if [ -f ${ELCDIR}/select-xface.elc ]; then + chmod 644 ${ELCDIR}/*.elc +fi +echo " done." + +exit 0 --- select-xface-0.15.orig/debian/emacsen-remove +++ select-xface-0.15/debian/emacsen-remove @@ -0,0 +1,24 @@ +#!/bin/sh +# /usr/lib/emacsen-common/packages/remove/select-xface +set -e + +FLAVOR=$1 +PACKAGE="select-xface" + +if [ "X${FLAVOR}" = "X" ]; then + echo Need argument to determin FLAVOR of emacsen + exit 1 +fi +if [ "X${PACKAGE}" = "X" ]; then + echo Internal error: need package nameen + exit 1 +fi +if [ "X${FLAVOR}" = Xemacs ]; then exit 0; fi + +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +echo -n "remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR} ..." +rm -rf ${ELCDIR} +echo " done." + +exit 0 --- select-xface-0.15.orig/debian/changelog +++ select-xface-0.15/debian/changelog @@ -0,0 +1,121 @@ +select-xface (0.15-5) unstable; urgency=low + + * debian/control: Prefer emacs to emacs21. + + -- Tatsuya Kinoshita Mon, 09 Jul 2007 21:56:28 +0900 + +select-xface (0.15-4) unstable; urgency=low + + * debian/control (Build-Depends): Depend on debhelper version 5. + * debian/compat: 3 -> 5. + * debian/control (Standards-Version): 3.6.1 -> 3.7.2. + * debian/copyright: Update the postal address of the Free Software + Foundation. + * debian/control (Maintainer): tats@vega.ocn.ne.jp -> tats@debian.org. + * debian/copyright: Ditto. + * debian/control: Revise description. + * debian/watch: New file. + + -- Tatsuya Kinoshita Sun, 4 Jun 2006 21:27:33 +0900 + +select-xface (0.15-3) unstable; urgency=low + + * Use debian/compat instead of DH_COMPAT. + - debian/compat: New file. + - debian/rules: Remove `export DH_COMPAT=3'. + - debian/control (Build-Depends-Indep): debhelper (>= 3.4.4). + * debian/emacsen-install: Set *.elc file mode to 644 explicitly. + * debian/emacsen-install: Create *.el symlinks. + * debian/copyright: Updated. + * debian/control (Standards-Version): 3.6.0 -> 3.6.1. + + -- Tatsuya Kinoshita Sun, 23 May 2004 00:55:11 +0900 + +select-xface (0.15-2) unstable; urgency=low + + * debian/control (Build-Depends-Indep): Depend on debhelper (>> 3.0.0). + (closes: #190523) + * Cleanup installation scripts. + * debian/emacsen-startup: Rewrite entirely. + * debian/control (Depends): emacs21 | emacsen. + * debian/control (Description): Revised. + * debian/control (Standards-Version): 3.0.1 -> 3.6.0. + * debian/rules: Use binary-indep instead of binary-arch. + * debian/rules (clean): Don't leave install-stamp. + * debian/copyright: Revised. + * New maintainer. (with previous maintainer's consent) + + -- Tatsuya Kinoshita Mon, 28 Jul 2003 22:40:58 +0900 + +select-xface (0.15-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Mon, 18 Feb 2002 00:21:11 +0900 + +select-xface (0.14-3) unstable; urgency=low + + * debian/emacsen-startup: + - really marked as conffiles with DH_COMPAT=3 (closes: #132113) + + -- Takuo KITAME Tue, 12 Feb 2002 23:57:29 +0900 + +select-xface (0.14-2) unstable; urgency=low + + * debian/emacsen-startup: + - use it as priority 52 instead of old select-xface-init.el + - installed as conffile + * debian/control: + - fixed typo in description (closes: #125345) + - update Depends: emacs21|xemacs21|emacs20|mule2|emacsen + + -- Takuo KITAME Tue, 18 Dec 2001 08:56:15 +0900 + +select-xface (0.14-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Mon, 13 Dec 1999 16:05:29 +0900 + +select-xface (0.13-3) unstable; urgency=low + + * emacsen-common: modified. + + -- Takuo KITAME Mon, 1 Nov 1999 22:21:45 +0900 + +select-xface (0.13-2) unstable; urgency=low + + * emacsen-common: any FLAVOR allowed (except emacs) + + -- Takuo KITAME Tue, 19 Oct 1999 12:40:43 +0900 + +select-xface (0.13-1) unstable; urgency=low + + * New upstream release + + -- Takuro KITAME Fri, 15 Oct 1999 02:06:00 +0900 + +select-xface (0.10-4) unstable; urgency=low + + * Fixed 'two times byte-compiling'. + + -- Takuro KITAME Sun, 8 Aug 1999 02:19:32 +0900 + +select-xface (0.10-3) unstable; urgency=low + + * emacsen-{install,remove} scripts modified for xemacs21 + + -- Takuro KITAME Sun, 20 Jun 1999 23:59:02 +0900 + +select-xface (0.10-2) unstable; urgency=low + + * modified emacsen-{install,remove} + + -- Takuro KITAME Mon, 24 May 1999 06:42:41 +0900 + +select-xface (0.10-1) unstable; urgency=low + + * Initial Release. + + -- Takuro KITAME Tue, 9 Jun 1998 23:08:04 +0900 + --- select-xface-0.15.orig/debian/copyright +++ select-xface-0.15/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by + 1998-2002 Takuo KITAME + 2003-2006 Tatsuya Kinoshita + +The upstream source was downloaded from + ftp://ftp.jpl.org/pub/elisp/ + http://www.jpl.org/ftp/pub/elisp/ + +Copyright (C) 1997-2002 Yuuichi Teranishi + +Select X-Face 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 +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 +with the Debian distribution in file `/usr/share/common-licenses/GPL'; +if not, write to the Free Software Foundation, Inc., 51 Franklin St, +Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General Public License, +version 2, can be found in `/usr/share/common-licenses/GPL-2'. + --- select-xface-0.15.orig/debian/docs +++ select-xface-0.15/debian/docs @@ -0,0 +1 @@ +README.jis --- select-xface-0.15.orig/debian/dirs +++ select-xface-0.15/debian/dirs @@ -0,0 +1 @@ +usr/share/emacs/site-lisp/select-xface --- select-xface-0.15.orig/debian/control +++ select-xface-0.15/debian/control @@ -0,0 +1,14 @@ +Source: select-xface +Section: mail +Priority: optional +Maintainer: Tatsuya Kinoshita +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: select-xface +Architecture: all +Depends: emacs | emacsen +Suggests: x-face-el, bitmap-mule +Description: utility for selecting X-Face on emacsen + Select X-Face is a utility for selecting/inserting an X-Face field + visually on emacsen mailer (Mew, Gnus, Wanderlust, etc.). --- select-xface-0.15.orig/debian/rules +++ select-xface-0.15/debian/rules @@ -0,0 +1,48 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + cp *.el debian/select-xface/usr/share/emacs/site-lisp/select-xface/ + + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installemacsen --priority 52 + dh_installchangelogs ChangeLog + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- select-xface-0.15.orig/debian/compat +++ select-xface-0.15/debian/compat @@ -0,0 +1 @@ +5 --- select-xface-0.15.orig/debian/watch +++ select-xface-0.15/debian/watch @@ -0,0 +1,2 @@ +version=2 +ftp://ftp.jpl.org/pub/elisp/select-xface-([.0-9]+)\.tar\.gz