- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] mc.ext.in patches for DVI and DJVU from Debian #1686
Comments
|
|
|
|
|
06, 07 - use "see" instead of hardcoded values. For me it's good, should we use this when possible? |
84_use_dvicat_instead_of_dvi2tty.patch <-- uses run-mailcap (bad), needs to be updated to use kdvi and fall back to xdvi.
04_add_gem_extension.patch <-- OK. |
06_use_default_pdf_viewer.patch <-- needs to be redone to try consequently acroread, kpdf, evince, xpdf |
07_use_default_images_viewer.patch <-- should be rejected. |
|
looks like Debian-specific stuff:
Also, I don't know about 'see' utility.
I think, Need to create into {prefix}/libexec/mc/ some own universal wrappers (like to 'run-mailcap'). |
Hi Slava!
Please check my comments above about every individual patch (copy):
Concerning your wrapper idea:
run-mailcap is a Perl script only available on Debian and Gentoo which essentially looks for the mime-type of the requested file and launches it using the association in system's mailcap database. I think it's the best way to do it, instead of making lots of wrappers that enumerate every single possible program on user's machine and try them one by one.
What do you think about literally integrating run-mailcap in mc? Sounds better than just reinventing the wheel. You can have a look at run-mailcap here:
http://packages.debian.org/unstable/net/mime-support
Better ideas are welcome. |
|
|
|
|
|
Applied as part of #2897: [1aa122b], [804ccfb] and [5082d01]. |
|
Important
This issue was migrated from Trac:
zaytsev
(@zyv)1) Use catdvi instead of dvi2tty and improve code
2) Add djvu support
Thanks to Denis Briand.
Note
Original attachments:
zaytsev
(@zyv) onOct 9, 2009 at 15:37 UTC
zaytsev
(@zyv) onOct 9, 2009 at 15:37 UTC
zaytsev
(@zyv) onOct 9, 2009 at 15:46 UTC
zaytsev
(@zyv) onOct 9, 2009 at 15:49 UTC
zaytsev
(@zyv) onOct 9, 2009 at 15:49 UTC
The text was updated successfully, but these errors were encountered: