Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79296 - ebuild for games-strategy/civctp (Civilization Call to Power)
Summary: ebuild for games-strategy/civctp (Civilization Call to Power)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
Keywords: EBUILD
Depends on:
Reported: 2005-01-24 01:06 UTC by Holger Thon
Modified: 2018-12-03 12:57 UTC (History)
2 users (show)

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

games-strategy/civctp/civctp-1.2a.ebuild (civctp-1.2a.ebuild,6.97 KB, text/plain)
2005-01-24 01:15 UTC, Holger Thon
games-strategy/civctp/civctp-1.2a.ebuild (civctp-1.2a.ebuild,6.97 KB, text/plain)
2005-01-24 01:22 UTC, Holger Thon
games-strategy/civctp/civctp-1.2a.ebuild (civctp-1.2a.ebuild,5.56 KB, text/plain)
2005-09-08 05:56 UTC, Chris Gianelloni (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Thon 2005-01-24 01:06:35 UTC
Did not find this in portage nor at
Marked as x86, because i don't know how it's installed on other platforms.

Reproducible: Always
Steps to Reproduce:
Comment 1 Holger Thon 2005-01-24 01:15:34 UTC
Created attachment 49342 [details]

Seems that SRC_URI cannot be corrected in pkg_setup(), so you need to specify
the language of your CivCTP-CD in your USE-flags prefixed by "civctp-". 
Thus, if you have the english version of civctp, your USE must contain:

You can install another language of civctp by adding "langpatch" to USE and
exporting the CTP_LANG variable prior to emerging (e.g. export
CTP_LANG=italian, if you want italian sounds and menus). Without CTP_LANG being
set, CTP_LANG=english is assumed.
Comment 2 Holger Thon 2005-01-24 01:22:20 UTC
Created attachment 49343 [details]

Corrected typo in die Message, this is CivCTP...
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-02-11 20:30:04 UTC
I just ordered this game from Tuxgames... when it comes in, I'll look over the ebuild and the install options and work with you to get an acceptable ebuild into portage.
Comment 4 Holger Thon 2005-08-13 05:58:31 UTC
Any trial/shipping news?

Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-15 06:27:10 UTC
Well, I really dislike the whole language thing, which is my primary reason for
not adding this.  I think it is an ugly hack, no offense, and simply feel that
it would end up causing more bugs than it is worth, especially as we already
have LINGUAS in use in other places (KDE?) in the tree.  I haven't spent much
time on this, since the game works perfectly fine doing a manual installation,
until such time as a proper solution for the languages can be determined.
Comment 6 Holger Thon 2005-08-15 08:51:57 UTC
Yes, it has been translated to too many languages, so perhaps you are right that
it could make it difficult to ensure the ebuild works with any version of the game.
Maybe it's best to close this bug, then.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-29 07:11:00 UTC
OK.  Here is what I meant.  In Gentoo, the LINGUAS variable is expanded out into
USE flags that can be used.  There is no reason to use local USE flags for this.

Check out bug #96640 to see how they're doing it for NWN.  I would also make it
default to always download English since English is the "official" Gentoo language.

Does that make sense?
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-08 05:56:08 UTC
Created attachment 67927 [details]

This ebuild is slightly modified to use the new lokigames mirror rotation and
also the LINGUAS make.conf variable.  I have *only* edited it through the
SRC_URI section, so I don't know if this will work, as I don't have my media
handy with me at work.	This should get you going in the right direction,