Package: debian-el
Version: 34.1
Severity: normal
Tags: patch

Debian have added translation for description of package, shown as
Description-fr of the like. As apt-utils-show apt-utils-show-package
look for a Description header, it failed to properly handle those
translation.

The attached patch solve this.
diff -Naur emacs-goodies-el-34.1.orig/elisp/debian-el/apt-utils.el emacs-goodies-el-34.1/elisp/debian-el/apt-utils.el
--- emacs-goodies-el-34.1.orig/elisp/debian-el/apt-utils.el     2010-06-23 17:36:37.000000000 +0200
+++ emacs-goodies-el-34.1/elisp/debian-el/apt-utils.el  2011-02-17 07:13:33.458298305 +0100
@@ -1431,7 +1431,7 @@
               (apt-utils-insert-installed-info package))
             (skip-chars-forward ", |\n")
             (setq packages (cdr packages)))))
-       ((equal match "Description")
+       ((string-match-p "Description\\(-..\\)?" match)
         (add-text-properties (point)
                              (save-excursion
                                (or


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'oldstable'), (500, 'testing'), (50, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debian-el depends on:
ii  bzip2                     1.0.5-6        high-quality block-sorting file co
ii  dpkg                      1.15.8.10      Debian package management system
ii  emacs [emacsen]           23.2+1-7       The GNU Emacs editor (metapackage)
ii  emacs22 [emacsen]         22.3+1-1.2     The GNU Emacs editor
ii  emacs23 [emacsen]         23.2+1-7       The GNU Emacs editor (with GTK+ us
ii  file                      5.04-5         Determines file type using "magic"
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 
ii  reportbug                 4.12.6         reports bugs in the Debian distrib

Versions of packages debian-el recommends:
ii  dlocate                       1.02       fast alternative to dpkg -L and dp
ii  groff-base                    1.21-4     GNU troff text-formatting system (
ii  wget                          1.12-2.1   retrieves files from the web

Versions of packages debian-el suggests:
pn  gnus                          <none>     (no description available)

-- no debconf information

-- 
Rémi Vanicat

Reply via email to