[MacPorts] #13120: mc: 4.6.1 with utf8 variant (was: Portfile for might commander 4.6.1 with utf8 variant)

MacPorts noreply at macports.org
Tue Sep 8 16:49:27 PDT 2009


#13120: mc: 4.6.1 with utf8 variant
--------------------------------+-------------------------------------------
 Reporter:  yenwenchieh@…       |       Owner:  waqar@…           
     Type:  enhancement         |      Status:  assigned          
 Priority:  Normal              |   Milestone:                    
Component:  ports               |     Version:  1.5.2             
 Keywords:  mc utf8             |        Port:  mc                
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

 * cc: yenwenchieh@…, waqar@… (removed)
 * cc: ryandesign@… (added)
  * port:  => mc


Old description:

> 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 databse (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

New description:

 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

--

Comment:

 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?

-- 
Ticket URL: <http://trac.macports.org/ticket/13120#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list