--- riece-8.0.0.orig/debian/changelog +++ riece-8.0.0/debian/changelog @@ -0,0 +1,414 @@ +riece (8.0.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Switch to automake1.11. (Closes: #741723) + + -- Eric Dorland Sat, 22 Mar 2014 15:40:19 -0400 + +riece (8.0.0-1) unstable; urgency=low + + * New upstream release + + -- OHASHI Akira Sun, 26 Jun 2011 22:57:47 +0900 + +riece (7.0.2-1) unstable; urgency=low + + * New upstream release + + -- OHASHI Akira Mon, 13 Dec 2010 19:10:10 +0900 + +riece (7.0.0-1) unstable; urgency=low + + * New upstream release + * control.in (Standard-Version): Increase to 3.8.4. + + -- OHASHI Akira Sun, 30 May 2010 12:28:23 +0900 + +riece (6.1.0-2) unstable; urgency=low + + * Rebuild with the newest debhelper. + * control.in (Standards-Version): Increase to 3.8.3. + + -- OHASHI Akira Thu, 17 Sep 2009 22:43:32 +0900 + +riece (6.1.0-1) unstable; urgency=low + + * New upstream release + + -- OHASHI Akira Tue, 15 Sep 2009 18:45:35 +0900 + +riece (6.0.0-1) unstable; urgency=low + + * New upstream release + * control.in (Standards-Version): Increase to 3.8.1. + (riece/Depends): Add ${misc:Depends}. + + -- OHASHI Akira Tue, 02 Jun 2009 18:27:50 +0900 + +riece (5.0.0-1) unstable; urgency=low + + * New upstream release + * control.in (Standards-Version): Increase to 3.8.0. + + -- OHASHI Akira Mon, 23 Jun 2008 11:03:57 +0900 + +riece (4.0.0-3) unstable; urgency=low + + * rules (clean): Avoid lintian warning. + * control.in (riece/Depends): Use emacs instead of emacs21. + (Build-Depends-Indep): Ditto. + + -- OHASHI Akira Tue, 07 Aug 2007 18:24:32 +0900 + +riece (4.0.0-2) unstable; urgency=low + + * emacsen-startup: Set `riece-data-directory' to + "/usr/share/emacs/site-lisp/riece". (closes: #428815) + * preinst (createStartupFile): Ditto. + + -- OHASHI Akira Mon, 18 Jun 2007 14:44:58 +0900 + +riece (4.0.0-1) unstable; urgency=low + + * New upstream release + * watch: Add version and script fields. + * riece.lintian-overrides: New file. + * rules (install/riece): Install it. + * dirs: Add usr/share/lintian/overrides entry. + + -- OHASHI Akira Tue, 29 May 2007 14:20:44 +0900 + +riece (3.1.2-1) unstable; urgency=low + + * New upstream release + + -- OHASHI Akira Mon, 29 Jan 2007 14:18:20 +0900 + +riece (3.1.1-1) unstable; urgency=low + + * New upstream release + + -- OHASHI Akira Tue, 3 Oct 2006 12:11:20 +0900 + +riece (3.1.0-2) unstable; urgency=low + + * preinst: Avoid useless dpkg conffiles. (closes: #386871) + + -- OHASHI Akira Mon, 11 Sep 2006 19:57:40 +0900 + +riece (3.1.0-1) unstable; urgency=low + + * New upstream release + + -- OHASHI Akira Thu, 3 Aug 2006 00:16:19 +0900 + +riece (3.0.0-1) unstable; urgency=low + + * New upstream release + * control.in (Standards-Version): Increase to 3.7.2. + (Build-Depends): New field. + (Build-Depends-Indep): Remove @cdbs@. + (Suggests): New field. + + -- OHASHI Akira Mon, 29 May 2006 15:15:49 +0900 + +riece (2.0.2-1) unstable; urgency=low + + * Riece has been integrated into one binary package. + Then, all add-on packages are abolished. + + * New upstream release + * 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. + * Not using debconf any longer. (closes: #348895) + + -- OHASHI Akira Fri, 17 Feb 2006 13:54:58 +0900 + +riece (1.0.8-2) unstable; urgency=low + + * control (Standards-Version): Increased to 3.6.2. + (riece/Build-Depends-Indep): Use `emacsen' instead of + `xemacs21'. (closes: #300883) + (riece/Depends): Ditto. + (riece/Depends): Depends debconf-2.0. (closes: #332084) + (riece-ndcc/Depends): Depends emacs-snapshot. (closes: #328900) + * riece-ndcc.emacsen-install: Support emacs-snapshot. + * po/vi.po: Initial Vietnamese translation. (closes: #317780) + * po/cs.po: Follow the version of 1.0.8. (closes: #313256) + * po/fr.po: Ditto. (closes: #303104) + + -- OHASHI Akira Mon, 21 Nov 2005 20:27:07 +0900 + +riece (1.0.8-1) unstable; urgency=low + + * New upstream release + * COMPILE: Update. + * watch: New file. + + -- OHASHI Akira Mon, 14 Mar 2005 18:00:09 +0900 + +riece (1.0.7b-1) unstable; urgency=medium + + * New upstream release (closes: #293963) + * copyright: Follow the change of official site. + * rules (install-indep): Install xpm files. + * emacsen-install: Ditto. + + -- OHASHI Akira Mon, 7 Feb 2005 17:31:38 +0900 + +riece (1.0.7a-1) unstable; urgency=low + + * New upstream release + * COMPILE: Update. + * control (riece-google): New binary package. + (riece): Add riece-google to suggests. + * addon-conf (ADDONS): Add google. + * dh_installemacsen (%priorities): Add riece-google. + * config: Add eval, keepalive and toolbar to addonlist. + * templates (riece/addons): Add alias, ctlseq, keyword, log and toolbar + to default. + (riece/addons): Add new add-ons to the description. + * po/ja.po: Follow the change above. + + -- OHASHI Akira Sun, 6 Feb 2005 00:12:45 +0900 + +riece (1.0.6-2) unstable; urgency=low + + * po/cs.po: Initial Czech translation. (closes: #287297) + + -- OHASHI Akira Mon, 27 Dec 2004 10:19:07 +0900 + +riece (1.0.6-1) unstable; urgency=low + + * New upstream release + * control (Build-Depends-Indep): Use `automake1.9 | automaken' instead of + `automaken'. + + -- OHASHI Akira Mon, 6 Dec 2004 14:13:57 +0900 + +riece (1.0.5-2) unstable; urgency=low + + * po/fr.po: New French debconf templates translation. (closes: #281485) + + -- OHASHI Akira Fri, 19 Nov 2004 11:14:09 +0900 + +riece (1.0.5-1) unstable; urgency=low + + * New upstream release + * config: Add yank to addonlist. + + -- OHASHI Akira Sun, 7 Nov 2004 11:42:19 +0900 + +riece (1.0.4-1) unstable; urgency=low + + * New upstream release + + -- OHASHI Akira Tue, 12 Oct 2004 10:05:57 +0900 + +riece (1.0.3-1) unstable; urgency=medium + + * New upstream release which includes some fixes to long standing bugs in + essential features. + + -- OHASHI Akira Mon, 6 Sep 2004 13:19:00 +0900 + +riece (1.0.2-2) unstable; urgency=low + + * po/fr.po: New debconf templates for the french translation. + (closes: #268614) + + -- OHASHI Akira Tue, 31 Aug 2004 16:37:19 +0900 + +riece (1.0.2-1) unstable; urgency=low + + * New upstream release + + -- OHASHI Akira Tue, 17 Aug 2004 13:30:58 +0900 + +riece (1.0.1-3) unstable; urgency=low + + * emacsen-install: Fix for the broken installation. + * addon.emacsen-install: Ditto. + + -- OHASHI Akira Fri, 13 Aug 2004 18:06:40 +0900 + +riece (1.0.1-2) unstable; urgency=low + + * emacsen-startup: Don't add uncompiled files to the load-path. + * config: Support to backup capability. + * templates (riece/addons): Revise the description. + * po/ja.po: New po-debconf translation for Japanese. + * control (riece/Description): Revised. + + -- OHASHI Akira Thu, 12 Aug 2004 12:28:11 +0900 + +riece (1.0.1-1) unstable; urgency=low + + * New upstream release + * config: Add foolproof to addonlist. + * emacsen-startup: Use `debian-pkg-add-load-path-item' and add uncompiled + files to the load-path. + * addon.emacsen-startup: Ditto. + * emacsen-install: Output a log to tempfile. + * addon.emacsen-install: Ditto. + * templates (riece/addons): Add the add-on's description. + * emacsen-startup: Add the note of variable `riece-addons'. + + -- OHASHI Akira Mon, 12 Jul 2004 14:55:10 +0900 + +riece (1.0.0-1) unstable; urgency=low + + * New upstream release + * po/ca.po: New po-debconf translation for catalan. (closes: #250130) + * config: Add biff and ignore to addonlist. + * control (riece-hangman): New binary package. + (riece-kakasi): Ditto. + * docs: Remove NEWS. + * riece-rdcc.preinst: New file for removing obsolete conffile. + + * addon-conf: New file for generating add-on's conffiles. + * addon.emacsen-install: New file which is a template of add-on's conffile. + * addon.emacsen-remove: Ditto. + * addon.emacsen-startup: Ditto. + * rules (configure-stamp): Use them. + (clean): Ditto. + + -- OHASHI Akira Sun, 30 May 2004 08:12:26 +0900 + +riece (0.2.1-1) unstable; urgency=low + + * New upstream release + * rules(binary-common): Run "perl debian/dh_installemacsen" explicitly. + (closes: #240433) + + -- OHASHI Akira Wed, 31 Mar 2004 14:15:29 +0900 + +riece (0.1.8+20040219cvs-1) unstable; urgency=low + + * New upstream release + * COMPILE.ndcc: Abolish. + * COMPILE.rdcc: Ditto. + * riece-ndcc.emacsen-install: Follow the change above. + * riece-rdcc.emacsen-install: Ditto. + * rules: Ditto. + * control(riece): Fix description. + * Add new binary package riece-async, riece-lsdb and riece-xface. + + -- OHASHI Akira Tue, 19 Feb 2004 11:39:46 +0900 + +riece (0.1.6-2) unstable; urgency=low + + * control (Build-Depends-Indep): Don't depend `emacs20'. + (closes: #232739, #232788) + (Depends): Ditto. + + -- OHASHI Akira Mon, 16 Feb 2004 13:56:43 +0900 + +riece (0.1.6-1) unstable; urgency=low + + * New upstream release + + -- OHASHI Akira Thu, 13 Nov 2003 13:41:59 +0900 + +riece (0.1.5a-2) unstable; urgency=medium + + * COMPILE.ndcc (riece-modules): Fix typo. + + -- OHASHI Akira Sat, 25 Oct 2003 14:49:59 +0900 + +riece (0.1.5a-1) unstable; urgency=low + + * New upstream release + * config: Add icon to addonlist. + * control (Build-Depends): Depend `automaken' instead of + `automake1.5 | automake1.6 | automake1.7'. + + -- OHASHI Akira Sat, 25 Oct 2003 14:24:35 +0900 + +riece (0.1.4-1) unstable; urgency=low + + * New upstream release + * config: Add menu to addonlist. + * control (Standards-Version): Increased to 3.6.1. + + -- OHASHI Akira Mon, 20 Oct 2003 09:06:10 +0900 + +riece (0.1.3-1) unstable; urgency=low + + * New upstream release + * config: Add button and keyword to addonlist. + + -- OHASHI Akira Tue, 14 Oct 2003 19:51:10 +0900 + +riece (0.1.1+20030907-1) unstable; urgency=low + + * New upstream release + * po/nl.po: New po-debconf translation for dutch. (closes: #209115) + + -- OHASHI Akira Tue, 9 Sep 2003 07:03:58 +0900 + +riece (0.1.1-1) unstable; urgency=low + + * New upstream release + * config: Add guess and history to addonlist. + * emacsen-startup: Add the hack of riece-guess. + * templates (addons): Fix typo and default value. + * po/fr.po: Ditto. + * po/ja.po: Ditto. + + -- OHASHI Akira Mon, 1 Sep 2003 21:54:18 +0900 + +riece (0.1.0-1) unstable; urgency=low + + * New upstream release + * po/ja.po: New debconf templates for the japanese translation. + + -- OHASHI Akira Tue, 26 Aug 2003 00:22:09 +0900 + +riece (0.0.4-2) unstable; urgency=low + + * Remove garbages. (closes: #204387) + * templates (Choices): Don't translate. + + -- OHASHI Akira Thu, 7 Aug 2003 23:59:10 +0900 + +riece (0.0.4-1) unstable; urgency=low + + * New upstream release + * Switch to gettext for the debconf templates. (closes: #203681) + * po/fr.po: New debconf templates for the french translation. + (closes: #203682) + * control (Standards-Version): Increased to 3.6.0. + (Build-Depends-Indep): Don't depend apel. + + -- OHASHI Akira Wed, 6 Aug 2003 00:19:25 +0900 + +riece (0.0.3+20030624cvs-3) unstable; urgency=low + + * control (Build-Depends-Indep): Depends `apel'. + + -- OHASHI Akira Mon, 30 Jun 2003 16:43:05 +0900 + +riece (0.0.3+20030624cvs-2) unstable; urgency=medium + + * control (riece-ndcc): Depends on calc. (closes: #199109) + + -- OHASHI Akira Sat, 28 Jun 2003 11:23:47 +0900 + +riece (0.0.3+20030624cvs-1) unstable; urgency=low + + * New upstream release + * Manage add-on configuration with debconf. + * riece-ndcc.emacsen-startup: Don't use the 3rd argument of `add-to-list'. + * riece-rdcc.emacsen-startup: Ditto. + + -- OHASHI Akira Wed, 25 Jun 2003 12:52:31 +0900 + +riece (0.0.3+20030606cvs-1) unstable; urgency=low + + * Initial Release. (closes: #195226) + + -- OHASHI Akira Thu, 5 Jun 2003 10:51:09 +0900 + --- riece-8.0.0.orig/debian/compat +++ riece-8.0.0/debian/compat @@ -0,0 +1 @@ +5 --- riece-8.0.0.orig/debian/control +++ riece-8.0.0/debian/control @@ -0,0 +1,29 @@ +Source: riece +Section: net +Priority: optional +Maintainer: OHASHI Akira +Build-Depends: cdbs, + debhelper, + dh-buildinfo +Build-Depends-Indep: autoconf, automake1.9 | automaken, emacs | emacsen +Standards-Version: 3.8.4 + +Package: riece +Architecture: all +Depends: ${misc:Depends}, emacs | emacsen +Replaces: riece-async, riece-google, riece-hangman, riece-kakasi, riece-lsdb, riece-ndcc, riece-rdcc, riece-xface +Conflicts: riece-async, riece-google, riece-hangman, riece-kakasi, riece-lsdb, riece-ndcc, riece-rdcc, riece-xface +Suggests: dictionaries-common, easypg, kakasi, libgettext-ruby1.8, libsoap-ruby1.8, lsdb, ruby1.8 +Description: an IRC client for Emacs + Riece is a user interface for IRC (Internet Relay Chat). You should + spell it with the first letter capitalized and pronounce it as /ri:s/. + . + The features of Riece are as follows: + . + * Several IRC servers may be used at the same time. + * Many features built upon the extension mechanism called add-on. + Currently 30 such add-ons are available. + * Installation is easy. Riece doesn't depend on other packages. + * Setup is easy. Automatically save/restore the configuration. + * Step-by-step instructions are included. + * Mostly compliant with the latest IRC client protocol (RFC 2812). --- riece-8.0.0.orig/debian/control.in +++ riece-8.0.0/debian/control.in @@ -0,0 +1,27 @@ +Source: riece +Section: net +Priority: optional +Maintainer: OHASHI Akira +Build-Depends: @cdbs@ +Build-Depends-Indep: autoconf, automake1.9 | automaken, emacs | emacsen +Standards-Version: 3.8.4 + +Package: riece +Architecture: all +Depends: ${misc:Depends}, emacs | emacsen +Replaces: riece-async, riece-google, riece-hangman, riece-kakasi, riece-lsdb, riece-ndcc, riece-rdcc, riece-xface +Conflicts: riece-async, riece-google, riece-hangman, riece-kakasi, riece-lsdb, riece-ndcc, riece-rdcc, riece-xface +Suggests: dictionaries-common, easypg, kakasi, libgettext-ruby1.8, libsoap-ruby1.8, lsdb, ruby1.8 +Description: an IRC client for Emacs + Riece is a user interface for IRC (Internet Relay Chat). You should + spell it with the first letter capitalized and pronounce it as /ri:s/. + . + The features of Riece are as follows: + . + * Several IRC servers may be used at the same time. + * Many features built upon the extension mechanism called add-on. + Currently 30 such add-ons are available. + * Installation is easy. Riece doesn't depend on other packages. + * Setup is easy. Automatically save/restore the configuration. + * Step-by-step instructions are included. + * Mostly compliant with the latest IRC client protocol (RFC 2812). --- riece-8.0.0.orig/debian/copyright +++ riece-8.0.0/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by OHASHI Akira on +Thu, 5 Jun 2003 10:51:09 +0900. + +It was downloaded from + +Upstream Author: Daiki Ueno + +Copyright: + +Copyright (C) 1998-2003 Daiki Ueno + + 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., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General Public License +can be found in /usr/share/common-licenses/GPL. --- riece-8.0.0.orig/debian/dirs +++ riece-8.0.0/debian/dirs @@ -0,0 +1,4 @@ +usr/share/doc/riece +usr/share/emacs/site-lisp/riece +usr/share/info +usr/share/lintian/overrides --- riece-8.0.0.orig/debian/docs +++ riece-8.0.0/debian/docs @@ -0,0 +1,7 @@ +AUTHORS +NEWS +NEWS.ja +README +README.ja +doc/HACKING +doc/HACKING.ja --- riece-8.0.0.orig/debian/emacsen-install +++ riece-8.0.0/debian/emacsen-install @@ -0,0 +1,123 @@ +#! /bin/bash -e +# /usr/lib/emacsen-common/packages/install/riece + +# 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=riece.elc +PACKAGE=riece + +# INCLUDED_emacs20="" +# INCLUDED_emacs21="" +# INCLUDED_xemacs21="" +# INCLUDE_emacs_snapshot="" + +# EXCLUDED_emacs20="" +# EXCLUDED_emacs21="" +# EXCLUDED_xemacs21="" +# EXCLUDED_emacs_snapshot="" + +SOURCEONLY_ALL="COMPILE riece-command-next-channel.xpm riece-command-previous-channel.xpm riece-submit-bug-report.xpm" + +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/riece-ja.info.gz + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/riece-en.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 COMPILE -f riece-compile" +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 "." 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 COMPILE ${LOG} + +exit 0 --- riece-8.0.0.orig/debian/emacsen-remove +++ riece-8.0.0/debian/emacsen-remove @@ -0,0 +1,16 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/riece + +FLAVOR=$1 +PACKAGE=riece + +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/riece-ja.info.gz + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/riece-en.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- riece-8.0.0.orig/debian/emacsen-startup +++ riece-8.0.0/debian/emacsen-startup @@ -0,0 +1,22 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian riece package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The riece 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/riece")) + (message "Package riece removed but not purged. Skipping setup.") + (debian-pkg-add-load-path-item + (concat "/usr/share/" (symbol-name debian-emacs-flavor) + "/site-lisp/riece")) + + (autoload 'riece "riece" nil t) + (setq riece-data-directory "/usr/share/emacs/site-lisp/riece")) --- riece-8.0.0.orig/debian/info +++ riece-8.0.0/debian/info @@ -0,0 +1,2 @@ +doc/riece-ja.info +doc/riece-en.info --- riece-8.0.0.orig/debian/preinst +++ riece-8.0.0/debian/preinst @@ -0,0 +1,122 @@ +#! /bin/sh +# preinst script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +createOriginalFile() { + cat > $1 << "EOF" +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian GNU/Linux riece package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The riece 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/riece")) + (message "Package riece removed but not purged. Skipping setup.") + (debian-pkg-add-load-path-item + (concat "/usr/share/" (symbol-name flavor) "/site-lisp/riece")) + + (autoload 'riece "riece" nil t) + ;; Don't touch manually the following line which is modified by debconf. + ;; If you want to customize add-ons, use `dpkg-reconfigure'. + (setq riece-addons '()) + (when (and (memq 'riece-history riece-addons) + (memq 'riece-guess riece-addons)) + (setq riece-guess-channel-try-functions + '(riece-guess-channel-from-history))) + ) +EOF +} + +createStartupFile() { + cat > $1 << "EOF" +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian riece package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The riece 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/riece")) + (message "Package riece removed but not purged. Skipping setup.") + (debian-pkg-add-load-path-item + (concat "/usr/share/" (symbol-name debian-emacs-flavor) + "/site-lisp/riece")) + + (autoload 'riece "riece" nil t) + (setq riece-data-directory "/usr/share/emacs/site-lisp/riece")) +EOF +} + +case "$1" in + install|upgrade) + if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge + fi + # Remove garbage. + rm -rf /var/cache/riece + rm -rf /usr/share/emacs-snapshot/site-lisp/riece-ndcc + + # for useless dpkg conffiles + STARTUPFILE=/etc/emacs/site-start.d/50riece.el + ORIGINALFILE=/tmp/emacsen-startup.1.0.8-2 + + if [ -f "$STARTUPFILE" ]; then + if grep "Don't touch manually" "$STARTUPFILE" > /dev/null 2>&1; then + createOriginalFile "$ORIGINALFILE" + sed "s/(setq riece-addons '(.*))/(setq riece-addons '())/" \ + "$STARTUPFILE" > "$STARTUPFILE".tmp + if diff -q "$STARTUPFILE".tmp "$ORIGINALFILE" > /dev/null 2>&1; then + # installed file and original are identical + rm "$STARTUPFILE" + createStartupFile "$STARTUPFILE" + fi + rm -f "$STARTUPFILE".tmp + rm -f "$ORIGINALFILE" + fi + fi + + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- riece-8.0.0.orig/debian/riece.lintian-overrides +++ riece-8.0.0/debian/riece.lintian-overrides @@ -0,0 +1,2 @@ +riece: postrm-does-not-purge-debconf +riece: missing-debconf-dependency-for-preinst --- riece-8.0.0.orig/debian/rules +++ riece-8.0.0/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes + +include /usr/share/cdbs/1/rules/debhelper.mk + +clean:: + [ ! -f Makefile ] || $(MAKE) distclean + -rm -f Makefile.in aclocal.m4 configure depcomp install-sh missing + -rm -f doc/Makefile.in + -rm -f lisp/Makefile.in + +configure/riece:: + autoreconf -f -i + ./configure --prefix=/usr --with-lispdir=/usr/share/emacs/site-lisp + +build/riece:: + cd doc && $(MAKE) + +install/riece:: + install -m 644 lisp/COMPILE $(DEB_DESTDIR)usr/share/emacs/site-lisp/riece + install -m 644 lisp/*.el $(DEB_DESTDIR)usr/share/emacs/site-lisp/riece + install -m 644 lisp/*.rb $(DEB_DESTDIR)usr/share/emacs/site-lisp/riece + install -m 644 lisp/*.xpm $(DEB_DESTDIR)usr/share/emacs/site-lisp/riece + install -m 644 lisp/ChangeLog $(DEB_DESTDIR)usr/share/doc/riece/changelog.lisp + install -m 644 lisp/ChangeLog.Liece $(DEB_DESTDIR)usr/share/doc/riece/changelog.liece.lisp + install -m 644 debian/riece.lintian-overrides $(DEB_DESTDIR)usr/share/lintian/overrides/riece --- riece-8.0.0.orig/debian/watch +++ riece-8.0.0/debian/watch @@ -0,0 +1,22 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php riece-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/riece-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/riece-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for debscripts >= 2.9 +# http://sf.net/riece/riece-(.*)\.tar\.gz + +http://savannah.nongnu.org/download/riece/riece-(.*)\.tar\.gz debian uupdate