diff options
author | Matteo F. Vescovi <mfv@debian.org> | 2016-12-15 17:32:27 -0400 |
---|---|---|
committer | Matteo F. Vescovi <mfv@debian.org> | 2016-12-15 17:32:27 -0400 |
commit | c9cecdbd764570d3a89f0b27265b9a6c1b066f4c (patch) | |
tree | d4426bc256a15c49c210cbdab9543cdd651b1b96 /debian |
Import emacs-jabber_0.8.92+git98dc8e.orig.tar.xz
[dgit import orig emacs-jabber_0.8.92+git98dc8e.orig.tar.xz]
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 46 | ||||
-rw-r--r-- | debian/control | 17 | ||||
-rw-r--r-- | debian/copyright | 16 | ||||
-rw-r--r-- | debian/emacsen-install.in | 21 | ||||
-rw-r--r-- | debian/emacsen-install.template | 87 | ||||
-rw-r--r-- | debian/emacsen-remove.in | 5 | ||||
-rw-r--r-- | debian/emacsen-remove.template | 10 | ||||
-rw-r--r-- | debian/emacsen-startup | 17 | ||||
-rwxr-xr-x | debian/rules | 44 |
9 files changed, 263 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b9eb776 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,46 @@ +emacs-jabber (0.7.dev) unstable; urgency=low + + * Development snapshot; unofficial as far as Debian is concerned. + + -- Magnus Henoch <mange@freemail.hu> Mon, 17 Jul 2006 08:42:33 +0200 + +emacs-jabber (0.7) unstable; urgency=low + + * SSL connections + * Roster display optimized + * Uncountable minor features and bugfixes + + -- Magnus Henoch <mange@freemail.hu> Tue, 27 Dec 2005 12:55:10 +0100 + +emacs-jabber (0.6.1) unstable; urgency=low + + * Message history + * Activity tracking + * Notification for specific people going online + * Support for /me + * Improved MUC support + + -- Magnus Henoch <mange@freemail.hu> Thu, 23 Dec 2004 19:04:58 +0100 + +emacs-jabber (0.6) unstable; urgency=low + + * Chat buffer no longer uses minibuffer + * Roster and chat buffer prompts are customizable + + -- Magnus Henoch <mange@freemail.hu> Sat, 16 Oct 2004 21:11:58 +0200 + +emacs-jabber (0.5.1) unstable; urgency=low + + * Nicknames are accepted where JIDs are accepted. + * Roster line spacing customizable (default is none) + * Experimental file transfer support (see README) + + -- Magnus Henoch <mange@freemail.hu> Sat, 8 May 2004 21:49:26 +0200 + +emacs-jabber (0.5) unstable; urgency=low + + * Initial debianization. + + -- Magnus Henoch <mange@freemail.hu> Fri, 2 Apr 2004 23:04:36 +0200 + + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..455f4bd --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: emacs-jabber +Section: net +Priority: optional +Maintainer: Magnus Henoch <mange@freemail.hu> +Build-Depends: debhelper (>= 4.0.0), texinfo +Standards-Version: 3.6.1 + +Package: emacs-jabber +Architecture: all +Depends: gnus (>= 5.10.6-1.NO.20050713-1) | flim | emacs-snapshot | emacs22 +Description: Jabber client for Emacs/XEmacs + jabber.el (emacs-jabber) is an XMPP (Jabber) client for Emacs and XEmacs. + . + XMPP is an open instant messaging system. For more information on + XMPP, see http://xmpp.org/. + . + Homepage: http://emacs-jabber.sourceforge.net/ diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f84a3fd --- /dev/null +++ b/debian/copyright @@ -0,0 +1,16 @@ +jabber.el was debianized by Magnus Henoch <mange@freemail.hu>. + +jabber.el can be found at http://emacs-jabber.sourceforge.net + +;; 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. + +On Debian GNU/Linux systems you can find a copy of the GPL in +/usr/share/common-licenses/GPL diff --git a/debian/emacsen-install.in b/debian/emacsen-install.in new file mode 100644 index 0000000..b203990 --- /dev/null +++ b/debian/emacsen-install.in @@ -0,0 +1,21 @@ +#! /bin/bash -e +# /usr/lib/emacsen-common/packages/install/emacs-jabber + +# 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>. +# +# Patched by Roland Mas <lolando@debian.org> to add support for lists +# of flavor-dependently included/excluded files + +FLAVOR=$1 +STAMPFILE=jabber.elc +PACKAGE=emacs-jabber + +# INCLUDED_emacs20="" +# INCLUDED_emacs21="" +# INCLUDED_xemacs21="" + +# EXCLUDED_emacs20="" +# EXCLUDED_emacs21="" +# EXCLUDED_xemacs21="" diff --git a/debian/emacsen-install.template b/debian/emacsen-install.template new file mode 100644 index 0000000..dca8669 --- /dev/null +++ b/debian/emacsen-install.template @@ -0,0 +1,87 @@ + +UNDERSCORED_FLAVOR=$(echo $FLAVOR | sed 's/-/_/g') +eval included_here=\$$(echo INCLUDED_$UNDERSCORED_FLAVOR) +eval excluded_here=\$$(echo EXCLUDED_$UNDERSCORED_FLAVOR) + +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) + +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/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}." + 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 -f batch-byte-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 ; 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! + +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +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} ${FILES} >> ${LOG} +${FLAVOR} ${FLAGS} ${FILES} >> ${LOG} &> ${LOG} +rm -f *.el path.el + +exit 0 diff --git a/debian/emacsen-remove.in b/debian/emacsen-remove.in new file mode 100644 index 0000000..5486985 --- /dev/null +++ b/debian/emacsen-remove.in @@ -0,0 +1,5 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/emacs-jabber + +FLAVOR=$1 +PACKAGE=emacs-jabber diff --git a/debian/emacsen-remove.template b/debian/emacsen-remove.template new file mode 100644 index 0000000..c6a062e --- /dev/null +++ b/debian/emacsen-remove.template @@ -0,0 +1,10 @@ + +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/${PACKAGE}.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/debian/emacsen-startup b/debian/emacsen-startup new file mode 100644 index 0000000..0be558b --- /dev/null +++ b/debian/emacsen-startup @@ -0,0 +1,17 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for jabber.el as packaged for Debian + +(if (not (file-exists-p "/usr/share/emacs/site-lisp/emacs-jabber")) + (message + "Package emacs-jabber removed but not purged. Skipping setup.") + (debian-pkg-add-load-path-item + (concat "/usr/share/" (symbol-name flavor) "/site-lisp/emacs-jabber")) + + ;; Make sure that the uncompiled files are also in the load-path, near the + ;; end. This is for moving point to the code when view help. + (setq load-path + (nconc load-path (list "/usr/share/emacs/site-lisp/emacs-jabber"))) + + (require 'jabber)) + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d31e5dc --- /dev/null +++ b/debian/rules @@ -0,0 +1,44 @@ +#!/usr/bin/make -f + +export DH_COMPAT=4 + +build: build-stamp +build-stamp: + dh_testdir + makeinfo jabber.texi + makeinfo --html -o html jabber.texi + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -rf html + dh_clean + +binary: binary-arch binary-indep + +binary-arch: + +binary-indep: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs usr/share/emacs/site-lisp/emacs-jabber + + install -m 644 *.el debian/emacs-jabber/usr/share/emacs/site-lisp/emacs-jabber + cat debian/emacsen-install.in debian/emacsen-install.template > debian/emacsen-install + cat debian/emacsen-remove.in debian/emacsen-remove.template > debian/emacsen-remove + dh_installemacsen + dh_installdocs html README AUTHORS NEWS + dh_installinfo jabber.info + dh_installchangelogs + + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: binary-indep binary-arch binary clean build |