Opened 16 years ago

Closed 10 years ago

#13120 closed enhancement (invalid)

mc: 4.6.1 with utf8 variant

Reported by: yenwenchieh@… Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: mc utf8 Cc: ryandesign (Ryan Carsten Schmidt), kurthindenburg (Kurt Hindenburg)
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

Attachments (3)

Portfile (2.8 KB) - added by yenwenchieh@… 16 years ago.
Portfile mc-4.6.1
mc-4.6.1-mcslang.patch (508 bytes) - added by yenwenchieh@… 16 years ago.
patch for bundled mcslang in mc-4.6.1
convert-mans (214 bytes) - added by yenwenchieh@… 16 years ago.
convert man pages to utf8 (utf8 variant)

Download all attachments as: .zip

Change History (11)

Changed 16 years ago by yenwenchieh@…

Attachment: Portfile added

Portfile mc-4.6.1

Changed 16 years ago by yenwenchieh@…

Attachment: mc-4.6.1-mcslang.patch added

patch for bundled mcslang in mc-4.6.1

Changed 16 years ago by yenwenchieh@…

Attachment: convert-mans added

convert man pages to utf8 (utf8 variant)

comment:1 Changed 16 years ago by waqar@…

Status: newassigned

comment:2 Changed 15 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?

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from waqar@… to macports-tickets@…

waqar has retired.

comment:5 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:6 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

I would gather this could be closed as it is no longer relevant.

comment:7 Changed 10 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mk@…
Status: assignednew

comment:8 Changed 10 years ago by mkae (Marko Käning)

Resolution: invalid
Status: newclosed

Closing this according to comment:6.

Note: See TracTickets for help on using tickets.