mc-4.6.0-pre1 -- some (groff>=1.18 related) problems

Andrew V. Samoilov sav at bcs.zp.ua
Thu Nov 28 15:33:50 UTC 2002


Peter Breitenlohner wrote:
> Hi,
> 
> I recently replaced our old mc version with mc-4.6.0-pre1 (on linux/gnu, no
> distribution -- not that this matters much) and encountered the following
> problems:
> 
> 1. With groff >=1.18 nroff needs an additional option "-c", certainly
> for mc's internal viewer and most probably equally for the external pager.

Fixed in CVS tree.  You can download it from http://www.ibiblio.com/mc.

> 2. On our systems zip/unzip are installed in /usr/local/bin and not /usr/bin

Should be checked in configure.

> 
> I have fixed both of these problems in a brute foce way by the attached
> patch mc-4.6.0-pre1-diffs, but of course both of these problems ought to be
> properly handled by configure. (I just wanted to avoid using autoconf, which
> often gets tedious whith differing autoconf versions).
> 
> Note in particular, that nroff from groff<1.18 does NOT accept "-c", so
> this definitely must be tested by configure!
> 
> 3. We always use --disable-nls since we don't care much for message
> translations. (Please don't misunderstand me: I know they are important, we
> just happen do not need them and therefore don't want to install them).
> 
> But even with --disable-nls, the translated manpages get installed. I really
> think this should either be automatically disabled by --disable-nls or,
> preferably, there should be a separate configure option (e.g.
> --disable-nls-data or --disable-nls-man). Alternatively configure could detect the
> presence or absence of the apropriate directories (per language?) and install
> translated manpages to, say $(DESTDIR)/usr/man/ru/man1 if and only if
> /usr/man/ru/man1 already exists. Hopefully automake/autoconf will sooner
> or later find a standardized way to handle such questions, but for the
> moment a more simplistic approch would suffice.
> 
> The attached patch mc-4.6.0-pre1-lang is my very limited and brute force
> approach to this question.

I solved problem with translated manual in more configurable way.
Now mc checks LINGUAS environment variable and removes manuals after 
instaling if LINGUAS is set and there is no such language in this variable.

-- 
Regards,
Andrew V. Samoilov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nls-data.patch
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20021128/d60690d7/attachment.ksh>


More information about the mc-devel mailing list