Opened 17 years ago

Last modified 10 years ago

#13120 closed enhancement

mc: 4.6.1 with utf8 variant — at Version 3

Reported by: yenwenchieh@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: mc utf8 Cc: ryandesign@…
Port: mc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Request for a version bump from 4.6.0 to 4.6.1 with utf8 variant.

The current mc-4.6.0 is compiled against ncurses, because the mcslang bundled with 4.6.0 is actually broken on mac. This is not yet fixed in any bundled mcslang (up to mc-4.6.2-pre1, reported to mc-dev). However, with the attached diff, mc-4.6.1 will compile against mcslang and work happily with the tiger-bundled terminfo database.

The problem above gets fixed in slang-2.1.3 (see Ticket #13119).

For utf8 support in mc slang2 is needed. You will also need a recent terminfo database (the tiger-bundled (5.4) will not work in regard of arrow keys and fn keys). I did not impose a ncurses(w) dependency on slang2 in Ticket #13119. Because you can still used $TERMINFO to override the system defaults if the right terminfo cannot be found at slang2 compile-time.

The utf8 patches are from http://www.linuxfromscratch.org/blfs/view/svn/general/mc.html

Please see the attached files.

  • ywc

Change History (6)

Changed 17 years ago by yenwenchieh@…

Attachment: Portfile added

Portfile mc-4.6.1

Changed 17 years ago by yenwenchieh@…

Attachment: mc-4.6.1-mcslang.patch added

patch for bundled mcslang in mc-4.6.1

Changed 17 years ago by yenwenchieh@…

Attachment: convert-mans added

convert man pages to utf8 (utf8 variant)

comment:1 Changed 17 years ago by waqar@…

Status: newassigned

comment:2 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; yenwenchieh@… waqar@… removed
Description: modified (diff)
Port: mc added
Summary: Portfile for might commander 4.6.1 with utf8 variantmc: 4.6.1 with utf8 variant

mc was updated to 4.6.1 in r36704 but no utf8 variant was added. The Midnight Commander download page shows that the utf8 patch is "unofficial"; as such, I'm hesitant to include it in MacPorts. I can guess from its name, but what does this patch do exactly, and why isn't it part of the standard Midnight Commander source?

Note: See TracTickets for help on using tickets.