Package: katarakt Version: 0.0+git2014.09.11-1 Severity: wishlist Tags: patch
It could be good for katarakt to offer itself in /etc/mailcap as a handler for pdf files. This would allow it to be used by "see foo.pdf" or various mail programs. I suggest the file below as debian/mime which debhelper (dh_installmime) should install automatically to /usr/lib/mime/packages/katarakt. The mime-support package will merge it into /etc/mailcap if or when that package is installed.
# default priority=5 application/pdf; /usr/bin/katarakt '%s'; test=test -n "$DISPLAY"; description=Portable Document Format application/x-pdf; /usr/bin/katarakt '%s'; test=test -n "$DISPLAY"; description=Portable Document Format
-- System Information: Debian Release: jessie/sid Architecture: i386 (i686) Kernel: Linux 3.16-2-686-pae (SMP w/1 CPU core) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages katarakt depends on: ii libc6 2.19-11 ii libgcc1 1:4.9.1-16 ii libpoppler-qt4-4 0.26.5-1 ii libqt4-network 4:4.8.6+git64-g5dc8b2b+dfsg-2 ii libqtcore4 4:4.8.6+git64-g5dc8b2b+dfsg-2 ii libqtgui4 4:4.8.6+git64-g5dc8b2b+dfsg-2 ii libstdc++6 4.9.1-16 katarakt recommends no packages. katarakt suggests no packages. -- no debconf information