Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167333 - games-misc/fortune-mod-ru-1.52 (new ebuild)
Summary: games-misc/fortune-mod-ru-1.52 (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-02-17 14:12 UTC by Evgeniy Dushistov
Modified: 2018-12-03 12:58 UTC (History)
1 user (show)

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


Attachments
fortune-mod-ru-1.52.ebuild (fortune-mod-ru-1.52.ebuild,729 bytes, text/plain)
2007-02-17 14:13 UTC, Evgeniy Dushistov
Details
fortune-mod-ru-1.52.ebuild (fortune-mod-ru-1.52.ebuild,1.16 KB, text/plain)
2007-12-25 17:49 UTC, gtlinuxman
Details
fortune-mod-ru-1.52.ebuild (fortune-mod-ru-1.52.ebuild,725 bytes, text/plain)
2007-12-25 21:25 UTC, gtlinuxman
Details
fortune-mod-ru-1.52.ebuild (fortune-mod-ru-1.52.ebuild,806 bytes, text/plain)
2013-06-20 11:03 UTC, Fat-Zer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Dushistov 2007-02-17 14:12:44 UTC
Here is ebuild for Russian fortune database.
Comment 1 Evgeniy Dushistov 2007-02-17 14:13:31 UTC
Created attachment 110469 [details]
fortune-mod-ru-1.52.ebuild
Comment 2 gtlinuxman 2007-12-25 17:38:33 UTC
This ebuild overwrie many files provided by another fortune-mods.
Comment 3 gtlinuxman 2007-12-25 17:49:21 UTC
Created attachment 139289 [details]
fortune-mod-ru-1.52.ebuild

Yet another dirty ebuild.
work fine.

but it is wrong way.

Localized fortunes should be placed into /usr/share/fortune/<locale short name>/
but that is do not work properly for me, because fortune do not search files placed in /usr/share/fortune/ru :(
Comment 4 gtlinuxman 2007-12-25 21:25:46 UTC
Created attachment 139313 [details]
fortune-mod-ru-1.52.ebuild

??, it is final.
work very well.

$ fortune ru
Comment 5 Vladimir 2010-11-24 15:31:50 UTC
There is actually no need in package collisions with other fortune-mod databases. I tried to do the following:

1. Create the '/usr/share/fortune/ru' directory.
2. Place some files with quotes in it.
3. Run 'strfile <file>' for every file in it.
4. Get the Russian quotes using 'fortune ru' command.

So, the files with fortunes in Russian should definitely be placed into the '/usr/share/fortune/ru' directory and on in the '/usr/share/fortune' to avoid the file collisions.
Comment 6 Fat-Zer 2013-06-20 11:03:11 UTC
Created attachment 351452 [details]
fortune-mod-ru-1.52.ebuild

yet another a slightly cleaner ebuild.