Skip to content
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

Closed
mc-butler opened this issue Oct 9, 2009 · 30 comments
Closed

[PATCH] mc.ext.in patches for DVI and DJVU from Debian #1686

mc-butler opened this issue Oct 9, 2009 · 30 comments
Assignees
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/1686
Reporter zaytsev (@zyv)

1) Use catdvi instead of dvi2tty and improve code
2) Add djvu support

Thanks to Denis Briand.

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 15:37 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 15:37 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 15:46 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 15:49 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 15:49 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 15:50 UTC (comment 1)

06, 07 - use "see" instead of hardcoded values. For me it's good, should we use this when possible?

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 17:03 UTC (comment 2)

  • Blocked by set to #1690

85_add_djvu_files_support.patch <-- can be discarded

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 17:22 UTC (comment 3)

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.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 17:24 UTC (comment 4)

06_use_default_pdf_viewer.patch <-- needs to be redone to try consequently acroread, kpdf, evince, xpdf

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 9, 2009 at 17:25 UTC (comment 5)

07_use_default_images_viewer.patch <-- should be rejected.

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Oct 19, 2009 at 22:42 UTC (comment 6)

  • Status changed from new to accepted
  • Owner set to slavazanko

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Oct 19, 2009 at 22:52 UTC (comment 7)

  • Milestone changed from 4.7.0-pre4 to 4.7.0-pre5
  • Priority changed from trivial to major
  • Type changed from defect to task

looks like Debian-specific stuff:

# yum search run-mailcap
Loaded plugins: dellsysidplugin2, downloadonly, fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.datacenter.by
 * rpmfusion-free: ftp.icm.edu.pl
 * rpmfusion-free-updates: ftp.icm.edu.pl
 * rpmfusion-nonfree: ftp.icm.edu.pl
 * rpmfusion-nonfree-updates: ftp.icm.edu.pl
 * updates: mirror.datacenter.by
Warning: No matches found for: run-mailcap
No Matches found

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').

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Oct 19, 2009 at 23:08 UTC (comment 8)

Related to #1721

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 20, 2009 at 7:07 UTC (comment 9)

Hi Slava!

Please check my comments above about every individual patch (copy):

bugs/84_use_dvicat_instead_of_dvi2tty.patch <-- to be reworked
bugs/85_add_djvu_files_support.patch <-- to be accepted from Alt
bugs/04_add_gem_extension.patch <-- to be accepted
bugs/06_use_default_pdf_viewer.patch <-- to be reworked
bugs/07_use_default_images_viewer.patch <-- to be rejected, this is
Debian specific, not a bug (recommend zgv gqview?!)

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.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Oct 20, 2009 at 7:08 UTC (comment 10)

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Oct 20, 2009 at 7:42 UTC

(In #1690) merge [a1a2164]

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Oct 27, 2009 at 20:43 UTC (comment 12)

  • Milestone changed from 4.7.0 to 4.7

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Oct 31, 2011 at 20:01 UTC (comment 13)

  • Milestone changed from 4.7 to Future Releases
  • Branch state set to no branch
  • Owner slavazanko deleted
  • Status changed from accepted to assigned

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Mar 7, 2012 at 0:31 UTC (comment 14)

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 2, 2012 at 12:32 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 2, 2012 at 12:32 UTC

(In #1721) See #2767.

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on May 18, 2012 at 12:07 UTC

(In #2118) merged to master:

git log --pretty=oneline e944301..5c6ae10

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on May 21, 2012 at 7:08 UTC (comment 18)

  • Owner set to slavazanko
  • Status changed from assigned to accepted

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 26, 2012 at 17:26 UTC (comment 19)

  • Milestone changed from Future Releases to 4.8.4

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jul 18, 2012 at 16:58 UTC (comment 20)

  • Milestone changed from 4.8.4 to 4.8.5

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 22, 2012 at 9:43 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Oct 9, 2012 at 10:28 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Oct 9, 2012 at 10:39 UTC

  • Blocked by #2767 deleted

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Oct 9, 2012 at 10:45 UTC (comment 24)

  • Component changed from mc-vfs to mc-core
  • Branch state changed from no branch to merged
  • Votes set to committed-master
  • Resolution set to fixed
  • Milestone changed from 4.8.5 to 4.8.7
  • Status changed from accepted to testing

Applied as part of #2897: [1aa122b], [804ccfb] and [5082d01].

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Oct 9, 2012 at 10:45 UTC (comment 25)

  • Status changed from testing to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress
Development

No branches or pull requests

2 participants