[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#379319: marked as done (zgv: mailcap entries don't work on plain consoles)



Your message dated Tue, 04 Sep 2012 09:47:39 +0000
with message-id <E1T8pjP-0007hG-7Q@franck.debian.org>
and subject line Bug#379319: fixed in zgv 5.9-5
has caused the Debian Bug report #379319,
regarding zgv: mailcap entries don't work on plain consoles
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
379319: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379319
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: zgv
Version: 5.9-2
Tags: patch

Hello,

a long time ago the mailcap entries supplied by zgv stopped working.
They don't work on plain consoles neither with lynx nor with mutt.
They do work with lynx and mutt in screen consoles.
I confess, I did ignore that problem a long time in the hope that
somebody else would care :) However, since nobody did, I finally had a
dive into it.

The patch attached contains a set of working mailcap entries. They do
work with double- instead of single escapes. They do work with both -
plain consoles as well as consoles within screen.
I think the double-escape is needed because mailcap does a first-stage
interpretation of escape sequences itself before passing the result to
some shell.

I think the reason why the original mailcap entries in fact *did* work
with lynx and mutt in *screen* consoles is because of the second test
in the mailcap entries against $STY. STY is not set in plain consoles
but it is set in screen consoles. However, I personally think they did
just work because the only esacped things there were dots, where a
working escape was not so important - mailcap just made real dots out
of the escaped ones instead of passing them regex-safe.

Probably this patch does also fix #78269, but I'm not really sure,
since I don't seem to fully understand this bug report or the symptoms
described there :)


best regards
   Mario
-- 
There are 10 types of people in the world: Those who
understand binary, and those who don't...
--- /usr/lib/mime/packages/zgv	2006-04-26 19:47:06.000000000 +0200
+++ .mailcap	2006-07-22 19:59:38.000000000 +0200
@@ -1,6 +1,6 @@
-image/gif; /usr/bin/zgv %s; test=expr "`/usr/bin/tty`" : '/dev/\(tty\|vc/\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=GIF Image; nametemplate=%s.gif; needsterminal;
-image/jpeg; /usr/bin/zgv %s; test=expr "`/usr/bin/tty`" : '/dev/\(tty\|vc/\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=JPEG Image; nametemplate=%s.jpg; needsterminal;
-image/pjpeg; /usr/bin/zgv %s; test=expr "`/usr/bin/tty`" : '/dev/\(tty\|vc/\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=JPEG Image; nametemplate=%s.jpg; needsterminal;
-image/png; /usr/bin/zgv %s; test=expr "`/usr/bin/tty`" : '/dev/\(tty\|vc/\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=PNG Image; nametemplate=%s.png; needsterminal;
-image/tiff; /usr/bin/zgv %s; test=expr "`/usr/bin/tty`" : '/dev/\(tty\|vc/\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=TIFF Image; nametemplate=%s.tif; needsterminal;
-image/bmp; /usr/bin/zgv %s; test=expr "`/usr/bin/tty`" : '/dev/\(tty\|vc/\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=BMP Image; nametemplate=%s.bmp; needsterminal;
+image/gif; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/\\(tty\\|vc/\\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\\.tty[0-9][0-9]*\\.'`hostname`'$' >/dev/null 2>&1; description=GIF Image; nametemplate=%s.gif; needsterminal
+image/jpeg; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/\\(tty\\|vc/\\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\\.tty[0-9][0-9]*\\.'`hostname`'$' >/dev/null 2>&1; description=JPEG Image; nametemplate=%s.jpg; needsterminal
+image/pjpeg; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/\\(tty\\|vc/\\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\\.tty[0-9][0-9]*\\.'`hostname`'$' >/dev/null 2>&1; description=JPEG Image; nametemplate=%s.jpg; needsterminal
+image/png; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/\\(tty\\|vc/\\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\\.tty[0-9][0-9]*\\.'`hostname`'$' >/dev/null 2>&1; description=PNG Image; nametemplate=%s.png; needsterminal
+image/tiff; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/\\(tty\\|vc/\\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\\.tty[0-9][0-9]*\\.'`hostname`'$' >/dev/null 2>&1; description=TIFF Image; nametemplate=%s.tif; needsterminal
+image/bmp; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/\\(tty\\|vc/\\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\\.tty[0-9][0-9]*\\.'`hostname`'$' >/dev/null 2>&1; description=BMP Image; nametemplate=%s.bmp; needsterminal

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: zgv
Source-Version: 5.9-5

We believe that the bug you reported is fixed in the latest version of
zgv, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 379319@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boris Pek <tehnick-8@mail.ru> (supplier of updated zgv package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 30 Jun 2012 04:09:42 +0300
Source: zgv
Binary: zgv
Architecture: source i386
Version: 5.9-5
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Boris Pek <tehnick-8@mail.ru>
Description: 
 zgv        - SVGAlib graphics viewer
Closes: 379319 438363 662575 663625
Changes: 
 zgv (5.9-5) unstable; urgency=low
 .
   * QA upload.
   * Updated debian/watch: changed regexp.
   * Bumped Standards-Version to 3.9.3 (was 3.9.2).
   * Added debhelper version (9 is used); updated debian/compat.
     Fixed lintian note package-lacks-versioned-build-depends-on-debhelper.
   * Added file debian/source/format: format 1.0 is still used in this package.
   * Patched files config.mk and src/Makefile to respect build with
     hardening flags. [Thanks to Mario 'BitKoenig' Holbe] (Closes: #663625)
   * Patched Makefile: cut permanent launching strip command.
     Fixed not handling nostrip build option [policy 10.1]. (Closes: #438363)
   * Patched file debian/zgv.mime. [Thanks to Mario 'BitKoenig' Holbe]
     Fixed problem that mailcap entries did not work on plain consoles.
     (Closes: #379319)
   * Rewritten debian/rules:
     - now dh is used instead of direct dh_* commands
     - added --as-needed option to LDFLAGS
     - added section get-orig-source (uscan is used)
     - fixed lintian warnings:
       + hardening-no-relro
       + hardening-no-fortify-functions
       + dh-clean-k-is-deprecated
       + debian-rules-ignores-make-clean-error
       + debian-rules-missing-recommended-target build-arch
       + debian-rules-missing-recommended-target build-indep
   * Updated debian/control:
     - added Homepage field
     - added ${misc:Depends} to package zgv
     - changed build dependency from libpng12-dev to libpng-dev
       (Closes: #662575)
   * Updated debian/menu: fixed lintian warnings:
     - unquoted-string-in-menu-item
     - menu-item-uses-apps-section
   * Updated doc/zgv.1: fixed lintian notes hyphen-used-as-minus-sign.
   * Deleted file debian/postinst: generated automatically.
Checksums-Sha1: 
 0281eb8c9191319fec164e111ea407d10c42694a 1752 zgv_5.9-5.dsc
 bcfc2c9b87bb3e455db1eedb1baca9e0ec08e3d3 11673 zgv_5.9-5.diff.gz
 a53f8700f1bf7581b12e133ac5d3712e426346f8 279796 zgv_5.9-5_i386.deb
Checksums-Sha256: 
 43ea04fae25b2f9ab7e1e5fc3dfc28b7bdecf7dcfaca9ca05cf8db8a019df264 1752 zgv_5.9-5.dsc
 17969d2a806e672cd0f8e06815c1fe481d02fd0954a490123784edb21a0dbd73 11673 zgv_5.9-5.diff.gz
 c030fcf2e849f894276e5471dd329f040b0fb8717b3781a5fc502294efe5f72f 279796 zgv_5.9-5_i386.deb
Files: 
 6e698b676dbd7eaf74a67ee22cb0476a 1752 graphics optional zgv_5.9-5.dsc
 f4ccaab1909d1f6b4ecd7f504d6385cf 11673 graphics optional zgv_5.9-5.diff.gz
 a9ee02d7e428b1e1ffd67e6ebc5c171b 279796 graphics optional zgv_5.9-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iQIVAwUBUEXNrTk1h9l9hlALAQhYHRAAtI8ndY0dFpyZioQ0luZ2GBfgYlz3CXBp
5yR4wxjCRjGi2qUXtzeCtSd8csR8OL46m8dG6TX0LNZJi1xPj1jL6QljsjzhWpsE
oYmfd40iRfN/r27xCBEVwuy+Dr+dH3qyVGJlND7nYL5SFbnReT6KfIwPbmHXmJ+4
UTWFjb6a8TudEzlYc9njdU0z/RZyqdQBvdruL2IP/FcW9gTYbtw5WJsHgw7nzcne
2njbTAMH/D7GLtPIgFWCqj2C58GSaBDVd0urx/oN8GWh6viZEjQnmULfRIq1oGf9
codflLIijBMkbLuqJkRSRQXQkgO5VhB5BlY6IgJPNY+RCFgC9xfE94Tum+onDHCj
go+wYxIoj6ocPH9hvSWLPanhvraYql6M9gye++fSQj4d3UZ7dAlCQ8+TbeV8sw/P
U3aE3sP22gUb46sxqG6t7iwbK9RX47Bx/lK7ksQEByXxXnHlOCozsp903WenZVuG
xIVSG777tS4PbZPazzIJECjv4UvhvB1UDmvNNxZAdW47A8aExuSO6suq9dlMFw3h
sp74hzufqabQR+w7OfqPUpS4XHY/twJgibtbzGL6nFAcDQsJpS4+th4O80SJZB7q
gpSzGH7a3+Kk2lxOL/EbEoN8toK6t/L/cEDauhmyGPHtCGyzGgAzlVCw7t5x4Eov
R3+tMxzpJ/g=
=INHo
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: