Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144015 - games-misc/fortune-mod-all should check langs for all packages
Summary: games-misc/fortune-mod-all should check langs for all packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Other
: High trivial (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 09:28 UTC by Craig Andrews
Modified: 2006-10-08 13:15 UTC (History)
0 users

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


Attachments
Proposed Ebuild (fortune-mod-all-1.ebuild.txt,2.25 KB, text/plain)
2006-08-16 09:32 UTC, Craig Andrews
Details
No linguas_en use (fortune-mod-all-1.ebuild,2.03 KB, application/octet-stream)
2006-08-22 09:59 UTC, Craig Andrews
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2006-08-15 09:28:46 UTC
games-misc/fortune-mod-all should have linguistic dependent dependencies all around. Everything that isn't set for a language already should be "en" except for:
games-misc/fortune-mod-cs
games-misc/fortune-mod-fvl
games-misc/fortune-mod-martin-piskernig
games-misc/fortune-mod-norbert-tretkowski
games-misc/fortune-mod-rss
games-misc/fortune-mod-at-linux

I don't know what languages those are. I think they may be German.

I know this is a small fix, and will probably only take a few seconds, but I think it will stop annoying many users with fortunes not in their languages :-)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-15 09:32:44 UTC
(In reply to comment #0)
> games-misc/fortune-mod-cs
> games-misc/fortune-mod-fvl
> games-misc/fortune-mod-martin-piskernig
> games-misc/fortune-mod-norbert-tretkowski
> games-misc/fortune-mod-rss
> games-misc/fortune-mod-at-linux
> 
> I don't know what languages those are. I think they may be German.

games-misc/fortune-mod-cs is Czech, not German.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-08-15 10:48:34 UTC
Feel free to attach a patch for this.
Comment 3 Craig Andrews gentoo-dev 2006-08-15 15:12:31 UTC
Here's my proposed ebuild.

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-all/fortune-mod-all-1.ebuild,v 1.10 2006/08/11 02:26:47 vapier Exp $

DESCRIPTION="Meta package for all fortune-mod packages."
HOMEPAGE="http://www.gentoo.org/"

LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="offensive"

RDEPEND="games-misc/fortune-mod
        linguas_de? (
                games-misc/fortune-mod-at-linux
                games-misc/fortune-mod-martin-piskernig
                games-misc/fortune-mod-norbert-tretkowski
                games-misc/fortune-mod-thomas-ogrisegg
                games-misc/fortune-mod-fvl
                games-misc/fortune-mod-rss
        )
        linguas_it? ( games-misc/fortune-mod-it )
        linguas_cs? (games-misc/fortune-mod-cs)
        linguas_sk? ( games-misc/fortune-mod-debilneho )
        linguas_en? (
                games-misc/fortune-mod-bofh-excuses
                games-misc/fortune-mod-calvin
                games-misc/fortune-mod-chucknorris
                games-misc/fortune-mod-dubya
                games-misc/fortune-mod-dune
                games-misc/fortune-mod-familyguy
                games-misc/fortune-mod-firefly
                games-misc/fortune-mod-futurama
                games-misc/fortune-mod-gentoo-dev
                games-misc/fortune-mod-gentoo-forums
                games-misc/fortune-mod-hitchhiker
                games-misc/fortune-mod-homer
                games-misc/fortune-mod-humorixfortunes
                games-misc/fortune-mod-kernelcookies
                games-misc/fortune-mod-osfortune
                games-misc/fortune-mod-powerpuff
                games-misc/fortune-mod-pqf
                games-misc/fortune-mod-simpsons-chalkboard
                offensive? ( games-misc/fortune-mod-slackware )
                games-misc/fortune-mod-smac
                games-misc/fortune-mod-sp-fortunes
                games-misc/fortune-mod-starwars
                games-misc/fortune-mod-strangelove
                games-misc/fortune-mod-tao
                games-misc/fortune-mod-zx-error
        )"
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2006-08-15 15:24:51 UTC
in-line is way too hard.  Attach as text/plain please.
Comment 5 Craig Andrews gentoo-dev 2006-08-16 09:32:09 UTC
Created attachment 94402 [details]
Proposed Ebuild

Proposed ebuild
Comment 6 SpanKY gentoo-dev 2006-08-19 15:30:49 UTC
ive added support for de/cs, but not the en part ... i'm the fence about that

i'd go for something like if LINGUAS is empty, then pull in the english ones ...
Comment 7 Craig Andrews gentoo-dev 2006-08-22 09:59:42 UTC
Created attachment 94870 [details]
No linguas_en use

Proposed ebuild that always includes the en fortunes.
I cannot figure out how to only include the en fortunes if LINGUAS is not set (if this is possible, I'd love to know how). Enjoy!
Comment 8 Craig Andrews gentoo-dev 2006-09-27 15:14:18 UTC
*bump*
If there's something else I can do, I'll be happy to do it.
Comment 9 Tupone Alfredo gentoo-dev 2006-10-08 13:15:07 UTC
Fix is already in place, maybe Spanky forget to close