Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280498 - app-dict/aspell-ru ebuild should optionally support cyrillic yo
Summary: app-dict/aspell-ru ebuild should optionally support cyrillic yo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 35 votes (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL: http://en.wikipedia.org/wiki/Yo_(Cyri...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 20:42 UTC by Ivan Anishchuk
Modified: 2009-12-25 19:01 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for aspell-ru-0.99.1 with such use-flags (aspell-ru-0.99.1.ebuild,758 bytes, text/plain)
2009-08-05 20:51 UTC, Ivan Anishchuk
Details
patch between ebuild given by reporter and ebuild in portage (aspell-ru-0.99.1.ebuild.patch,673 bytes, patch)
2009-08-06 01:06 UTC, James Earl Spahlinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Anishchuk 2009-08-05 20:42:13 UTC
There is two dictionaries in aspell-ru: ru-ye.cwl and ru-yo.cwl, in the first words with 'yo' letter written through 'ye' (as allowed by modern rules) and in the second contains these words written through 'ye' (as require old-school rules). aspell-ru source tarball contains four .multi files: ru-ye.multi refers to ru-ye.cwl, ru-yo.multi to ru-yo.cwl and ru-yeyo.multi refers to both. Default ru.multi is equal to ru-ye.multi, so aspell marks all words, written with 'yo' as misspelled.

I mean that ebuild must have use-flag (or flags) to allow users to chose which dictionary (dictionaries) they want to use.

I propound two use-flags: ru-yo and ru-yo-only -- the first for supporting both variants (with 'yo' and with 'ye'), and the second only for old-school 'yo'.
Comment 1 Ivan Anishchuk 2009-08-05 20:51:38 UTC
Created attachment 200303 [details]
ebuild for aspell-ru-0.99.1 with such use-flags

This ebuild is changed ebuild from tree.
Comment 2 Ivan Anishchuk 2009-08-05 20:54:13 UTC
btw, debian aspell-ru package has 'yo' support by default (AFAIK)
Comment 3 James Earl Spahlinger 2009-08-06 01:06:03 UTC
Created attachment 200327 [details, diff]
patch between ebuild given by reporter and ebuild in portage
Comment 4 Dmitry Ivankov 2009-12-19 13:29:58 UTC
(In reply to comment #0)
> I mean that ebuild must have use-flag (or flags) to allow users to chose which
> dictionary (dictionaries) they want to use.
I don't quite get it, they can use
aspell -d ru-yeyo
aspell -d ru-yo
aspell -d ru-ye
I don't think that it is a ebuild hack that should choose which of them is -d ru, imho it should be reported upstream to change the meaning of -d ru.
And you can always add "master ru-whatever" to {/etc/,~/.}aspell.conf for aspell without -d.
Comment 5 Ivan Anishchuk 2009-12-19 19:49:10 UTC
(In reply to comment #4)

> I don't quite get it, they can use
> aspell -d ru-yeyo
> aspell -d ru-yo
> aspell -d ru-ye

They will can use them even if default would be ru-yeyo. I propound only to set *default* variant in order to let average spherical user in vacuum don't think about it. ru-yeyo is more universal variant, it must be default.

> I don't think that it is a ebuild hack that should choose which of them is -d
> ru, imho it should be reported upstream to change the meaning of -d ru.

Hmm... belike you're right. I'll report this upstream. But this ebuild hack will help user to *chose what he's want*, not chose instead of he. Without any use-flags this works same as previous.

> And you can always add "master ru-whatever" to {/etc/,~/.}aspell.conf for
> aspell without -d.

Of course. But not all applications will works right with it. (hint: multi-language spell-checking)
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2009-12-25 19:01:41 UTC
Default changed to yeyo:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/aspell-ru/aspell-ru-0.99.1-r1.ebuild?rev=1.1&content-type=text/plain

I don't think USE flag is necessary since this all is about default and can be configured by system administrator is required.

Thank you guys, for report and investigation. Hope this fixed.