Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 01:06:49 +0400 (MSD)
From:      Alex Semenyaka <alexs@snark.ratmir.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50609: New port: russian/muttprint (pretty print mail in russian)
Message-ID:  <200304042106.h34L6nSH071342@snark.ratmir.ru>
Resent-Message-ID: <200304042110.h34LA3k4024905@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         50609
>Category:       ports
>Synopsis:       New port: russian/muttprint (pretty print mail in russian)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 04 13:10:03 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Semenyaka
>Release:        FreeBSD 4.8-RC i386
>Organization:
Ratmir
>Environment:
System: FreeBSD snark.ratmir.ru 4.8-RC FreeBSD 4.8-RC #7: Sun Mar 30 07:23:48 MSD 2003 root@snark.ratmir.ru:/usr/obj/usr/src/sys/SNARK i386

>Description:

The port print/muttprint does not allow to print documents with cyrillic
symbols in it by the default. There are two causes of it: first, it need to
be configured properly; and second, the intermediately generated LaTeX file
has wrong font encoding.

Lingual configuration of muttprint is performing by creation a translation
file with the name, defined by language settings. So I wrote translation-ru.pl
for this.

Also I added the removal of that font encoding description from the muttprint
code: LaTeX port is internationalized enough by now to handle font encodings
properly without explicit specifications.

With this changes it prints mixed russian and english text without any problem.

On the base of this changes it is very easy to create, for example,
ukrainian port (ua-muttprint). Unfortenatelly my own Ukrainian is not good
enough to perform full translation of translation-ru.pl file.

>How-To-Repeat:

N/A

>Fix:

Here is the uuencoded archive with all port files:

begin 600 muttprint_port.tgz
M'XL(`+7SC3X``^U8>V_;UA7/O^:G.%`-U"[TLATGFQ*W<60YS>87;&49X&0&
M9=&R:HE42"HOS_LR^2*F(R:F)?'*%&5:3F,@PSH@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