diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 58 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 18 | ||||
-rw-r--r-- | debian/copyright | 31 | ||||
-rw-r--r-- | debian/dirs | 2 | ||||
-rw-r--r-- | debian/docs | 2 | ||||
-rwxr-xr-x | debian/emms.emacsen-install | 45 | ||||
-rwxr-xr-x | debian/emms.emacsen-remove | 15 | ||||
-rw-r--r-- | debian/emms.emacsen-startup | 20 | ||||
-rwxr-xr-x | debian/rules | 91 |
10 files changed, 283 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..efd717e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,58 @@ +emms (1.4) unstable; urgency=low + + * Depend alternatively on emacsen (Closes: #321493) + + -- + +emms (1.3) unstable; urgency=low + + * Don't pass docstring to defvaralias due to XEmacs (Closes: #316583) + + -- Jorgen Schaefer <forcer@debian.org> Sat, 2 Jul 2005 05:34:57 +0200 + +emms (1.2) unstable; urgency=low + + * Use legacy function in emacs21 for `read-directory-name (Closes: #316486) + * Implements url parsing without url library (Closes: #314299) + + -- Jorgen Schaefer <forcer@debian.org> Fri, 1 Jul 2005 15:18:54 +0200 + +emms (1.1-1) unstable; urgency=low + + * New CVS checkout. + * Conflicts with emacs20 (Closes #306489). + + -- Jorgen Schaefer <forcer@debian.org> Sun, 29 May 2005 00:25:23 +0200 + +emms (1.0-4) unstable; urgency=low + + * New CVS checkout. + + -- Jorgen Schaefer <forcer@debian.org> Sun, 11 Jul 2004 03:48:28 +0200 + +emms (1.0-3) unstable; urgency=low + + * Standards-Version: 3.6.1 (no changes) + * Removed ChangeLog from debian/docs. + * XEmacs should compile now. + * Recommends: vorbis-tools, not ogg123. hmph. + + -- Jorgen Schaefer <forcer@debian.org> Sat, 3 Apr 2004 13:16:25 +0200 + +emms (1.0-2) unstable; urgency=low + + * Architecture: all + * Recommends: mpg321, ogg123 (Closes: #239525) + * Suggests: mp3info + * Build-depends: texinfo (Closes: #236953) + * emms-source-file.el: Don't throw an error when compiling if locate.el + is not available. (Closes: #237183) + + -- Jorgen Schaefer <forcer@debian.org> Tue, 9 Mar 2004 02:01:21 +0100 + +emms (1.0-1) unstable; urgency=low + + * Initial Release. + + -- Jorgen Schaefer <forcer@debian.org> Sat, 21 Feb 2004 05:23:17 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b62482e --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: emms +Section: sound +Priority: optional +Maintainer: Jorgen Schaefer <forcer@debian.org> +Build-Depends: debhelper (>= 4.0.0), emacs21, texinfo +Standards-Version: 3.6.2.1 + +Package: emms +Architecture: all +Depends: emacsen-common, emacs21 | emacsen +Recommends: mpg321, vorbis-tools +Suggests: mp3info +Conflicts: emacs20 +Description: The Emacs MultiMedia System + EMMS is the Emacs Multi-Media System. It tries to be a clean and small + application to play multimedia files from Emacs using external + players. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5570a6e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Jorgen Schaefer <forcer@debian.org> on +Sat, 7 Feb 2004 21:10:24 +0100. + +It was downloaded from http://www.gnu.org/software/emms/ + +Upstream Authors: +Jorgen Schäfer <forcer@forcix.cx> +Ulrik Jensen <terryp@daimi.au.dk> +Mario Domgörgen <kanaldrache@gmx.de> + +Copyright: + + 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; version 2 dated June, 1991. + + 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 this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +;; Local variables: +;; coding: utf-8 +;; End: diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..ddac531 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/share/emacs/site-lisp/emms +usr/share/info diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..724e084 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README +TODO diff --git a/debian/emms.emacsen-install b/debian/emms.emacsen-install new file mode 100755 index 0000000..cbbab73 --- /dev/null +++ b/debian/emms.emacsen-install @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/emms + +# 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>. + +FLAVOR=$1 +PACKAGE=emms + +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/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 diff --git a/debian/emms.emacsen-remove b/debian/emms.emacsen-remove new file mode 100755 index 0000000..b4e552a --- /dev/null +++ b/debian/emms.emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/emms + +FLAVOR=$1 +PACKAGE=emms + +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/emms.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/emms.emacsen-startup b/debian/emms.emacsen-startup new file mode 100644 index 0000000..e6eaac1 --- /dev/null +++ b/debian/emms.emacsen-startup @@ -0,0 +1,20 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian emms package +;; +;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at> +;; Modified by Dirk Eddelbuettel <edd@debian.org> +;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com> + +;; The emms 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/emms"))) + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (require 'emms-auto))) + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1233e79 --- /dev/null +++ b/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + make emms.info + make emms-auto.el + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/emms. + $(MAKE) deb-install DESTDIR=$(CURDIR)/debian/emms + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs +# dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate + dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron + dh_installinfo emms.info +# dh_installman + dh_link +# dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure |