Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94809 - ebuild: games-strategy/lincity-ng
Summary: ebuild: games-strategy/lincity-ng
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://lincity-ng.berlios.de
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-06-02 03:20 UTC by Anno v. Heimburg
Modified: 2005-06-23 15:27 UTC (History)
2 users (show)

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


Attachments
lincity-ng-0.9_rc1.ebuild (lincity-ng-0.9_rc1.ebuild,2.04 KB, text/plain)
2005-06-02 06:35 UTC, Anno v. Heimburg
Details
lincity-ng-0.9_rc1.ebuild (lincity-ng-0.9_rc1.ebuild,1.53 KB, text/plain)
2005-06-02 08:31 UTC, Anno v. Heimburg
Details
lincity-ng-0.9_rc1.ebuild (lincity-ng-0.9_rc1.ebuild,1.25 KB, text/plain)
2005-06-02 09:38 UTC, Anno v. Heimburg
Details
lincity-ng-0.9_rc1.ebuild (lincity-ng-0.9_rc1.ebuild,1.40 KB, text/plain)
2005-06-02 23:43 UTC, Anno v. Heimburg
Details
lincity-ng-0.9_rc1.ebuild (lincity-ng-0.9_rc1.ebuild,1.40 KB, text/plain)
2005-06-06 01:41 UTC, Anno v. Heimburg
Details
lincity-ng-1.0.ebuild (lincity-ng-1.0.ebuild,1.41 KB, text/plain)
2005-06-22 01:32 UTC, Anno v. Heimburg
Details
lincity-ng-1.0.ebuild (lincity-ng-1.0.ebuild,1.41 KB, text/plain)
2005-06-22 01:32 UTC, Anno v. Heimburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anno v. Heimburg 2005-06-02 03:20:09 UTC
Hi games herd!

lincity-ng has released their first prerelease, it's quite playable.

lincity-ng is a simcity-like simulation game with the gameplay engine of the venerable lincity and improved (3D) graphics.

ebuild will be forthcoming.

Anno.
Comment 1 Anno v. Heimburg 2005-06-02 06:35:21 UTC
Created attachment 60453 [details]
lincity-ng-0.9_rc1.ebuild

This was harder than I thought, thanks to the project using jam instead of
autotools. Some review would be appreciated, lots o' ugly things in there, but
I can't think of a better way.
Comment 2 Anno v. Heimburg 2005-06-02 06:46:22 UTC
whoops, sorry, wrong component  
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-02 07:11:30 UTC
Actually, it goes to games... we're the only ones that do anything with games-*
or dev-games
Comment 4 Anno v. Heimburg 2005-06-02 07:22:10 UTC
It does say in the Ebuild submission guideline *not* to submit anything to any 
component other than ebuilds. 
 
Oh, well. 
Comment 5 Anno v. Heimburg 2005-06-02 08:31:39 UTC
Created attachment 60456 [details]
lincity-ng-0.9_rc1.ebuild

A much saner version of the ebuild, thanks to MatzeB and egore of #lincity
Comment 6 Anno v. Heimburg 2005-06-02 09:38:31 UTC
Created attachment 60457 [details]
lincity-ng-0.9_rc1.ebuild

The longer I work on this, the shorter the ebuild gets.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-06-02 14:19:53 UTC
comments:

remove virtual/libc from depends
fix the tabs in depends (just one)
remove local myconf
docs are installed in /usr/share/doc/${PF}
set S right before src_compile and remove the comment
put the MY variables before DESCRIPTION and put DESCRIPTION, HOMEPAGE, and
SRC_URI together (like the other games ebuilds).
Comment 8 Anno v. Heimburg 2005-06-02 22:39:59 UTC
Thanks Mr. Bones.  
  
While I'm at it: How can I check that an already installed package has been  
compiled with a certain USE-flag (SDL-mixer with oggvorbis in this case)?  
 
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2005-06-02 22:57:49 UTC
use built_with_use from the eutils eclass.  see the tomatoes ebuild for an example.

and the oggvorbis use flag is deprecated.  use ogg or vorbis depending on what
you need.
Comment 10 Anno v. Heimburg 2005-06-02 23:43:16 UTC
Created attachment 60504 [details]
lincity-ng-0.9_rc1.ebuild

Changes:
- MY_PV calculated from PV, not set manually
- docs install into /usr/share/docs/${PF}
- S is set right before src_compile
- local myconf removed
- depend tabs fixed
- MY-variables set at the top
- check for "built_with_use -o media-libs/sdl-mixer vorbis oggvorbis" because
sdl-mixer still uses oggvorbis. is it correct to tell the user to re-emerge
with USE=vorbis, or do I need to tell him to use oggvorbis for the time being?
Comment 11 Anno v. Heimburg 2005-06-02 23:47:53 UTC
(In reply to comment #10) 
> Created an attachment (id=60504) 
> lincity-ng-0.9_rc1.ebuild 
>  
> Changes: 
 
Whoops, forgot: 
- removed dependency on libc 
- added dependency on zlib (hadn't seen that before) 
- lincity-ng's configure and README disagree on minimal versions required on 
some dependencies, opted for the newer version in all cases 
Comment 12 David Holm (RETIRED) gentoo-dev 2005-06-03 02:11:44 UTC
Feel free to add ~ppc to KEYWORDS.
Comment 13 Tor Klingberg 2005-06-04 02:48:47 UTC
Is this coming into portage?
Comment 14 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2005-06-05 10:12:42 UTC
works fine here... great work. thanks! 
Comment 15 Anno v. Heimburg 2005-06-06 01:41:19 UTC
Created attachment 60712 [details]
lincity-ng-0.9_rc1.ebuild

Changes:
- DESCRPTION, HOMEPAGE and SRC_URI all in one block
- added ~ppc to KEYWORDS
Comment 16 Tor Klingberg 2005-06-16 16:32:00 UTC
Bump. Still not in portage.
Comment 17 Anno v. Heimburg 2005-06-22 01:32:02 UTC
Created attachment 61706 [details]
lincity-ng-1.0.ebuild

lincity-ng-1.0 has been released. Mangling of the SRC_URI and similar is not
necessary any more since version naming conforms to gentoo conventions.
Comment 18 Anno v. Heimburg 2005-06-22 01:32:38 UTC
Created attachment 61707 [details]
lincity-ng-1.0.ebuild

lincity-ng-1.0 has been released. Mangling of the SRC_URI and similar is not
necessary any more since version naming conforms to gentoo conventions.
Comment 19 Anno v. Heimburg 2005-06-22 01:56:43 UTC
Sorry about the duplicate submission, browser hickup. 
Comment 20 Bernard Cafarelli gentoo-dev 2005-06-23 13:33:25 UTC
Works great here, feel free to add ~amd64 to KEYWORDS
Comment 21 Mr. Bones. (RETIRED) gentoo-dev 2005-06-23 15:27:40 UTC
games-simulation/lincity-ng added to portage.  Thanks for the bug report and
ebuild.  nice work on that ebuild.

re: comment #16 - don't do that.  go read the faq at games.gentoo.org