Package: mpg123-el
Version: 1:1.55-1
Severity: critical

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.33.1maxwell (PREEMPT)
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mpg123-el depends on:
ii aumix 2.9-1 Simple text-based mixer control pr ii emacs [emacsen] 23.1+1-5 The GNU Emacs editor (metapackage) ii emacs23 [emacsen] 23.1+1-5 The GNU Emacs editor (with GTK+ us ii mpg123 1.10.0-2 MPEG layer 1/2/3 audio player ii mpg321 [mpg123] 0.2.11-2+b1 Simple and lighweight command line
ii  vorbis-tools                 1.4.0-1     several Ogg Vorbis tools

mpg123-el recommends no packages.

mpg123-el suggests no packages.

-- Configuration Files:
/etc/emacs/site-start.d/50mpg123-el.el changed:
;; -*-emacs-lisp-*-
;;
;; Emacs startup file for the Debian GNU/Linux mpg123-el package
;;
;; Originally contributed by Nils Naumann <naum...@unileoben.ac.at>
;; Modified by Dirk Eddelbuettel <e...@debian.org>
;; Adapted for dh-make by Jim Van Zandt <j...@vanzandt.mv.com>
;; The mpg123-el 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:
(setq load-path (nconc load-path (list (concat "/usr/share/"
                                               (symbol-name flavor)
"/site-lisp/mpg123-el"))))
(autoload 'mpg123 "mpg123" "A Front-end to mpg123" t)

-- no debconf information

There's an error in the emacs site start file. The variable holding
the debian flavor of the emacs package is debian-emacs-flavor and not
flavor.

I attach little a patch that fixes that.

Thank you for work on the package.
--- appa
diff --git a/50mpg123-el.el b/50mpg123-el.el
index 99bde0d..d8c5036 100644
--- a/50mpg123-el.el
+++ b/50mpg123-el.el
@@ -12,6 +12,6 @@
 ;; installed in a subdirectory of the respective site-lisp directory.
 ;; We have to add this to the load-path:
 (setq load-path (nconc load-path (list (concat "/usr/share/"
-                                               (symbol-name flavor)
+                                               (symbol-name debian-emacs-flavor)
                                                "/site-lisp/mpg123-el"))))
 (autoload 'mpg123 "mpg123" "A Front-end to mpg123" t)

Reply via email to