Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181701 - 8Kingdoms ebuild request
Summary: 8Kingdoms ebuild request
Status: CONFIRMED
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
URL:
Whiteboard:
Keywords: EBUILD
: 186335 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-11 22:21 UTC by lucas
Modified: 2018-12-03 12:58 UTC (History)
2 users (show)

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


Attachments
8kingdoms-1.1.0.ebuild (8kingdoms-1.1.0.ebuild,1.25 KB, text/plain)
2007-07-23 14:26 UTC, Piotr Szymaniak
Details
games-strategy/8kingdoms-1.1.0.ebuild (8kingdoms-1.1.0.ebuild,1.24 KB, text/plain)
2007-07-25 13:10 UTC, Piotr Szymaniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lucas 2007-06-11 22:21:47 UTC
i found this great game but there is no ebuild for it yet.

the game:
http://kralovstvi.sourceforge.net/

dependencies:
http://sourceforge.net/forum/forum.php?thread_id=1602818&forum_id=329816

Reproducible: Always

Steps to Reproduce:
Comment 1 lucas 2007-06-11 22:22:35 UTC
$ cat /var/portage/local/games-strategy/8Kingdoms/8Kingdoms-1.0.0.ebuild
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $

inherit eutils toolchain-funcs flag-o-matic games

DESCRIPTION="Eight kingdoms"
HOMEPAGE="http://kralovstvi.sourceforge.net/"

SRC_URI="http://kent.dl.sourceforge.net/sourceforge/kralovstvi/8Kingdoms-${PV}.tar.gz"

LICENSE="GNU General Public License (GPL)"
IUSE=""
KEYWORDS="~x86 ~amd64"
RESTRICT="strip nomirror"

DEPEND="media-libs/libsdl
    media-libs/sdl-mixer
    dev-libs/expat
    dev-tcltk/tcllib" 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-23 14:19:03 UTC
*** Bug 186335 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-23 14:19:19 UTC
Why was this resolved?
Comment 4 Piotr Szymaniak 2007-07-23 14:26:05 UTC
Created attachment 125743 [details]
8kingdoms-1.1.0.ebuild

The ebuild, again.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2007-07-25 04:42:48 UTC
Builds for me without dev-tcltk/tcllib but I *do* have dev-lang/tcl installed.  Are you sure it needs tcllib?
Comment 6 Piotr Szymaniak 2007-07-25 13:10:34 UTC
Created attachment 125976 [details]
games-strategy/8kingdoms-1.1.0.ebuild

Looks like it depends only on dev-lang/tcl as Mr. Bones noticed. Works also for me without tcllib.

Updated ebuild included.
Comment 7 lucas 2007-07-26 07:25:16 UTC
it is working fine here
Comment 8 lucas 2007-08-13 22:26:49 UTC
can this ebuild be included in portage?
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-18 00:30:29 UTC
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect10
Comment 10 lucas 2007-08-19 00:31:38 UTC
what do you mean? the KEYWORDS are there in the ebuild. basically ~x86 but also ~AMD64.
Comment 11 Tupone Alfredo gentoo-dev 2007-08-29 20:21:10 UTC
I got errors like this compiling it on amd64 
world/world_server.cpp:2035: error: cast from 'void*' to 'int' loses precision

This is with gcc-4.2
Comment 12 Balint Dobai-Pataky 2008-05-05 14:25:48 UTC
i created the ebuild file, ran:
ebuild 8kingdoms-1.1.0.ebuild digest
that returned:
SLOT is undefined
so had to add SLOT="0"
Comment 13 Balint Dobai-Pataky 2008-05-05 14:40:21 UTC
world/world_server.cpp:2035: error: cast from ‘void*’ to ‘int’ loses precision
world/world_server.cpp:2046: error: cast from ‘void*’ to ‘int’ loses precision
world/world_server.cpp:2102: error: cast from ‘void*’ to ‘int’ loses precision
world/world_server.cpp:2113: error: cast from ‘void*’ to ‘int’ loses precision

on x86_64-pc-linux-gnu-4.2.3
:(