Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 79296

Summary: ebuild for games-strategy/civctp (Civilization Call to Power)
Product: Gentoo Linux Reporter: Holger Thon <ht_gentoo04>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: amigadave, ljkopen
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: games-strategy/civctp/civctp-1.2a.ebuild
games-strategy/civctp/civctp-1.2a.ebuild
games-strategy/civctp/civctp-1.2a.ebuild

Description Holger Thon 2005-01-24 01:06:35 UTC
Did not find this in portage nor at bugs.gentoo.org.
Marked as x86, because i don't know how it's installed on other platforms.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Holger Thon 2005-01-24 01:15:34 UTC
Created attachment 49342 [details]
games-strategy/civctp/civctp-1.2a.ebuild

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:
civctp-english

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]
games-strategy/civctp/civctp-1.2a.ebuild

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]
games-strategy/civctp/civctp-1.2a.ebuild

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,
however.