Your message dated Fri, 22 Jan 2016 00:52:59 +0000
with message-id <[email protected]>
and subject line Bug#740185: fixed in zathura 0.3.4-2
has caused the Debian Bug report #740185,
regarding zathura: Two problems with the current mailcap entry
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 [email protected]
immediately.)


-- 
740185: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740185
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zathura
Version: 0.1.2-4
Severity: wishlist

Dear Maintainer,
The current mailcap entry for zathura has two disturbing issues:

1. It does not fork zathura, so any calling program (like mutt, or
   midnight commander) is locked until zathura has finished. Forking
   should be the default behaviour here.

2. It causes confusing messages on stderr, which in turn can mess up
   the screen state of the calling program.

Here is the current system default mail cap entry:

application/pdf; /usr/bin/zathura '%s'; test=test -n "$DISPLAY"; 
description=Portable Document Format; nametemplate=%s.pdf
application/x-pdf; /usr/bin/zathura '%s'; test=test -n "$DISPLAY"; 
description=Portable Document Format; nametemplate=%s.pdf

I suggest the following entries as a solution to the aboved mentioned problems:

application/pdf; { TMP=`mktemp` \; cp '%s' $TMP \; (zathura --fork $TMP 
>/dev/null 2>&1 && sleep 5 && rm $TMP & ) } ; test=test -n "$DISPLAY"; 
description=Portable Document Format; nametemplate=%s.pdf; 
application/x-pdf; { TMP=`mktemp` \; cp '%s' $TMP \; (zathura --fork $TMP 
>/dev/null 2>&1 && sleep 5 && rm $TMP & ) } ; test=test -n "$DISPLAY"; 
description=Portable Document Format; nametemplate=%s.pdf; 

Explanation: 1. make a temporary file an safe way with mktemp. 2 make zathura 
fork and load this temporary file, without pushing back stuff on the console. 
3. Wait until zathura has started to open the file, give it 5 seconds. 4. 
remove the temporary file.

It would introduce a dependency on mktemp in coreutils, but coreutils
has priority: "required", so that is a non-issue. No one will complain
about having to install coreutils in order to have zathura on the
system.

Kind regards,

Hans Ekbrand

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to sv_SE.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zathura depends on:
ii  libc6             2.13-38+deb7u1
ii  libcairo2         1.12.2-3
ii  libgirara-gtk2-0  0.1.2-3
ii  libglib2.0-0      2.33.12+really2.32.4-5
ii  libgtk2.0-0       2.24.10-2
ii  libpoppler-glib8  0.18.4-6
ii  libsqlite3-0      3.7.13-1+deb7u1

zathura recommends no packages.

Versions of packages zathura suggests:
ii  chromium [www-browser]   31.0.1650.63-1~deb7u1
ii  iceweasel [www-browser]  17.0.10esr-1~deb7u1
ii  poppler-data             0.4.5-10
ii  w3m [www-browser]        0.5.3-8
pn  zathura-djvu             <none>
pn  zathura-ps               <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: zathura
Source-Version: 0.3.4-2

We believe that the bug you reported is fixed in the latest version of
zathura, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <[email protected]> (supplier of updated zathura 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 [email protected])


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

Format: 1.8
Date: Fri, 22 Jan 2016 01:34:16 +0100
Source: zathura
Binary: zathura zathura-dev
Architecture: source all
Version: 0.3.4-2
Distribution: unstable
Urgency: medium
Maintainer: Sebastian Ramacher <[email protected]>
Changed-By: Sebastian Ramacher <[email protected]>
Description:
 zathura    - document viewer with a minimalistic interface
 zathura-dev - development files for zathura plugins
Closes: 740185 811032
Changes:
 zathura (0.3.4-2) unstable; urgency=medium
 .
   * No longer build PDF poppler plugin in this package.
     - debian/rules: No longer build PDF plugin.
     - debian/control:
       + Remove PDF plugin Build-Depends.
       + Add Depends on zathura-pdf-poppler.
       + Remove poppler-data from Suggests.
     - debian/zathura.mime: Removed since the PDF plugin is no longer included.
       MIME type handling is now fully done via desktop files. (Closes:
       #740185).
   * debian/patches/startup-improvements.patch: Upstream patch to fix some
     startup behavior. zathura now proerly handles -- as arguments. (Closes:
     #811032)
   * debian/rules: Build manpages with -j1 since this step sometimes fails with
     --parallel.
Checksums-Sha1:
 da2f545bc4e2642bcd839c449d05aa6ad9bb40b7 1919 zathura_0.3.4-2.dsc
 e9fe5dfe8cd5efeccbe2b6d1a8b546a09cc88653 9836 zathura_0.3.4-2.debian.tar.xz
 a7e7d9a97229ad78a39863eacb1142bc81f2fd11 14414 zathura-dev_0.3.4-2_all.deb
Checksums-Sha256:
 881bd004a69c91970b84401bdf07768e600ce66d5a6c8290f559e380b27b21c5 1919 
zathura_0.3.4-2.dsc
 52a91bed63a02a7eada0adfe5d147a08cf28419ac9cae548c90e2bcc9dc7f489 9836 
zathura_0.3.4-2.debian.tar.xz
 aee03b6d7c18d727f70fd3452ef81b57c7389a884ea63e1dde135aaa3e3debc4 14414 
zathura-dev_0.3.4-2_all.deb
Files:
 196d5b60f46402edacd411bd23c4b545 1919 text optional zathura_0.3.4-2.dsc
 5bb2f16a8e55f7b76f25279c94b4c2a8 9836 text optional 
zathura_0.3.4-2.debian.tar.xz
 a0c7b0fe249eee4e5a435a4d230b9b2b 14414 libdevel optional 
zathura-dev_0.3.4-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWoXnSAAoJEGny/FFupxmT20wP/jvo5jPXIkb7ieC0+mtl9u4B
KNd0NBK4PeMGNYOmlNnXFEIZnHUmvsZzQEIovn2hsPVUzCZLvJp5Q79D2hIz1Fes
QIHKnHm2E2y6zhwJuf6OK+QA5BvsoOK+8hWtE6U0i64EK84dIlzWuXHAOGNcWYQF
jzqp46GyM7fCLJ7WmmFoYERJNgE+dCsZDzxA1QM6FoHy2Ndml4qHVZbrJxNzZ4RZ
qKlZbfvNXOkIeSEQyH+YAe+/PJIcf2ajBvHTiscfJefeFzyjF6gRn8lAVVeX/+26
N2VaFmxOeNad4Tf5yQBRaYvZL0F+roVveYuG4+yckZ2MxJQ+7+katRkc9ITjcEKZ
71j5FpJMYTYcchfeVILZstKfqenSbZLnO9XyTbyAD36Eo8uKscV+9rtBaUHXMU7/
oGgTXPYDJaUg8MVH4ijfY21t80duCoqjp/u6ZgBFOjyvWZV+AmhNpii98L6fsmPI
qvjTbuCPCwwTbjRyYHw6Ecv+SmKv/8mOyPmW7+Hp7KLzO28qsIO0Sj7srB3YmfEK
cMNiM9fpCBFLFaan3JdgtA4mDBwy4gasT9LvJ6T2H77LuCIgRKVt3vShRZ/0RbTm
udNygiHzOEvynfQ7rtWatVsLCohvlsITs26+XTVNCe+xJp0R33Tmn+5kgCVgOhJj
WZbrZOQX8qWqQ59wX64Q
=oegR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to