ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@altlinux.ru
Subject: [devel] Re: perl help needed: MIME::Parser trouble
Date: Sat, 17 Apr 2004 06:06:50 +0400
Message-ID: <20040417020650.GD3809@solemn.turbinal.org> (raw)
In-Reply-To: <20040417004904.GC3809@solemn.turbinal.org>

[-- Attachment #1: Type: text/plain, Size: 2622 bytes --]

On Sat, Apr 17, 2004 at 04:49:04AM +0400, Alexey Tourbin wrote:
> On Tue, Apr 06, 2004 at 06:11:27PM +0300, Michael Shigorin wrote:
> > На старте получаю вот такое:
> > 
> > ~> sudo service sympa start
> > Starting sympa: can't create mime-word decoder: unsupported charset "KOI8-R"
> > Compilation failed in require at /usr/lib/perl5/vendor_perl/MIME/Parser/Filer.pm line 133.
> > BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/MIME/Parser/Filer.pm line 133.
> > Compilation failed in require at /usr/lib/perl5/vendor_perl/MIME/Parser.pm line 149.
> > [bt skip]
> > 
> > Как бы что бы с этим сделать?  Миша Бочкарев припомнил, что уже
> > на такое нарывался, но чинил ломом.
> > 
> > Поиск не вдохновил:
> 
> Google is your friend.  Дело в шляпе...
> Искать надо было Unicode::Map KOI8. :)

Вот так не помогает?

--- perl-Unicode-Map-0.112-alt1/perl-Unicode-Map.spec	2004-02-20 20:29:06 +0000
+++ perl-Unicode-Map-0.112-alt2/perl-Unicode-Map.spec	2004-04-17 01:58:44 +0000
@@ -1,16 +1,17 @@
 %define dist Unicode-Map
 Name: perl-%dist
 Version: 0.112
-Release: alt1
+Release: alt2
 
 Summary: Maps charsets from and to utf16 unicode
 License: GPL
 Group: Development/Perl
 
 Url: %CPAN %dist
-Source: %dist-%version.tar.bz2
+Source0: %dist-%version.tar.bz2
+Source1: http://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/KOI8-R.TXT
 
-# Automatically added by buildreq on Fri Feb 20 2004 (-bi)
+# Automatically added by buildreq on Sat Apr 17 2004 (-bi)
 BuildRequires: perl-devel perl-libwww-perl
 
 %description
@@ -24,6 +25,19 @@ encoding. To transform these use Unicode
 %build
 %perl_vendor_build
 
+# koi8-r
+%__mkdir_p ./blib/lib/Unicode/Map/VENDORS/MISC
+./blib/script/mkmapfile -M ./blib/lib/Unicode/Map/VENDORS/MISC/KOI8-R.map %SOURCE1
+[ -f ./blib/lib/Unicode/Map/REGISTRY ]
+%__cat <<\__EOF__ >>./blib/lib/Unicode/Map/REGISTRY
+# ALT
+name:    KOI8-R
+srcURL:  $SrcUnicode/VENDORS/MISC/KOI8-R.TXT
+src:     $DestUnicode/VENDORS/MISC/KOI8-R.TXT
+map:     $DestMap/VENDORS/MISC/KOI8-R.map
+alias:   csKOI8R
+__EOF__
+
 %install
 %perl_vendor_install
 
@@ -33,8 +47,11 @@ encoding. To transform these use Unicode
 %perl_vendor_autolib/Unicode/
 %perl_vendor_man1dir/*
 %perl_vendor_man3dir/*
-%doc COPYING Changes README
+%doc COPYING Change* README*
 
 %changelog
+* Sat Apr 17 2004 Alexey Tourbin <at@altlinux.ru> 0.112-alt2
+- packaged koi8-r map file
+
 * Fri Feb 20 2004 Alexey Tourbin <at@altlinux.ru> 0.112-alt1
 - initial revision
End of diff

Files not compared in perl-Unicode-Map-0.112-alt2:
KOI8-R.TXT


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-04-17  2:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-06 15:11 [devel] " Michael Shigorin
2004-04-17  0:49 ` [devel] " Alexey Tourbin
2004-04-17  2:06   ` Alexey Tourbin [this message]
2004-04-19  8:15     ` Michael Shigorin
2004-04-19  8:49     ` Michael Shigorin
2004-05-04  9:34     ` Michael Shigorin
2004-05-06 19:44     ` [devel] Eureka! " Michael Shigorin
2004-05-06 19:01   ` [devel] " Michael Shigorin
2004-05-07 10:04     ` Alexey Tourbin
2004-05-07 18:29       ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040417020650.GD3809@solemn.turbinal.org \
    --to=at@altlinux.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git