Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Spanish
  • Search

[ebuild] games-arcade/supertux-9999 (SVN)

Foro en español para los usuarios Hispanos de Gentoo.

Moderator: Stolz

Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Author
Message
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

[ebuild] games-arcade/supertux-9999 (SVN)

  • Quote

Post by pacho2 » Thu Sep 28, 2006 12:58 pm

Supertux es un juego que ha evolucionado mucho últimamente, su versión SVN incluye importantes novedades y funciona correctamente. Aquí hay un ebuild para instalarlo en gentoo (gracias a redeeman y a zamorate por ayudarme a adaptar el ebuild de CVS a SVN y de usar make a usar jam).

Code: Select all

# Distributed under the terms of the GNU General Public License v2

inherit subversion games

ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/supertux/trunk/supertux"
ESVN_BOOTSTRAP=""
S=${WORKDIR}/${ECVS_MODULE}

DESCRIPTION="Supertux is a 2d run game, similar to giana sisters and supermario"
HOMEPAGE="http://supertux.berlios.de/wiki/index.php/Main_Page"
SRC_URI=""
IUSE="opengl"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="-*"

DEPEND="opengl? ( virtual/opengl )
	dev-util/jam
	media-libs/openal
	dev-games/physfs
	virtual/x11
	>=media-libs/libsdl-1.1.5
	>=media-libs/sdl-image-1.2.2
	>=media-libs/sdl-mixer-1.2.5"

src_compile() {

	local myconf
	myconf="${myconf} --prefix=/usr"

	./autogen.sh ${myconf} || die "./autogen.sh failed"

	egamesconf \
		--disable-dependency-tracking \
		`use_enable opengl` \
		${myconf} || die
	jam || die
}

src_install() {
	dogamesbin supertux || die "dogamesbin failed"
	dodir "${GAMES_DATADIR}/supertux" || die "dodir falied"
	cp -r data/* "${D}/${GAMES_DATADIR}/supertux/" || die "cp failed"
	rm "${D}/${GAMES_DATADIR}/supertux/Jamfile"
	doicon data/images/engine/icons/supertux.png || die "doicon failed"
	dodir "/usr/share/applications/" || die "dodir failed"
	cp supertux.desktop "${D}/usr/share/applications/" || die "cp failed"
	dodoc AUTHORS ChangeLog COPYING NEWS README TODO

	prepgamesdirs
}

Code: Select all

echo "=games-arcade/supertux-9999 -*" >> /etc/portage/package.keywords
emerge -av supertux
Download : supertux-9999.ebuild

Gracias por probarlo ;)
Last edited by pacho2 on Sun Oct 01, 2006 10:05 am, edited 4 times in total.
Top
milenio
n00b
n00b
User avatar
Posts: 13
Joined: Sun Sep 10, 2006 3:13 am

Re: [ebuild] games-arcade/supertux-9999 (SVN)

  • Quote

Post by milenio » Thu Sep 28, 2006 8:25 pm

pacho2 wrote:Supertux es un juego que ha evolucionado mucho últimamente, su versión SVN incluye importantes novedades y funciona correctamente. Aquí hay un ebuild para instalarlo en gentoo (gracias a redeeman y a zamorate por ayudarme a adaptar el ebuild de CVS a SVN y de usar make a usar jam).

Download : supertux-9999.ebuild

Gracias por probarlo ;)
hola :o

estoy instalando el ebuild como sale en la guia de gentoo :)

y recibo este error al tratar de instalar:

Code: Select all

!!! ERROR: games-arcade/supertux-9999 failed.
Call stack:
  ebuild.sh, line 1454:   Called source '/usr/local/portage/games-arcade/supertux/supertux-9999.ebuild'
  supertux-9999.ebuild, line 3:   Called inherit 'subversion' 'debug' 'games' 'autotool'
  ebuild.sh, line 1189:   Called die

!!! autotool.eclass could not be found by inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.


aux_get(): (0) Error in games-arcade/supertux-9999 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)
¿estare haciendo algo mal? :? :? :?

saludos
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Fri Sep 29, 2006 8:56 am

Mea culpa, ya está solucionado ;-)

http://forums.gentoo.org/viewtopic-t-50 ... ight-.html
Top
milenio
n00b
n00b
User avatar
Posts: 13
Joined: Sun Sep 10, 2006 3:13 am

  • Quote

Post by milenio » Fri Sep 29, 2006 4:17 pm

pacho2 wrote:Mea culpa, ya está solucionado ;-)

http://forums.gentoo.org/viewtopic-t-50 ... ight-.html
mmmmmm

ahora ma sale este error:

Code: Select all

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/supertux-9999/work/config.log

!!! ERROR: games-arcade/supertux-9999 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  supertux-9999.ebuild, line 32:   Called egamesconf '--disable-dependency-tracking' '--enable-opengl' '--prefix=/usr'
  games.eclass, line 35:   Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--disable-dependency-tracking' '--enable-opengl' '--prefix=/usr'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
saludos :wink:
Top
kalcetoh
Guru
Guru
User avatar
Posts: 304
Joined: Sun Jun 05, 2005 6:15 pm

  • Quote

Post by kalcetoh » Fri Sep 29, 2006 5:56 pm

Hola, lo he probado en una arquitectura x86 y funciona perfectamente, pero con unos pequeños cambios:
  • No necesita de virtual/x11 necesariamente
    Necesita de physfs

Code: Select all

# Distributed under the terms of the GNU General Public License v2

inherit subversion games

ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/supertux/trunk/supertux"
ESVN_BOOTSTRAP=""
S=${WORKDIR}/${ECVS_MODULE}

DESCRIPTION="Supertux is a 2d run game, similar to giana sisters and supermario"
HOMEPAGE="http://supertux.berlios.de/wiki/index.php/Main_Page"
SRC_URI=""
IUSE="opengl"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

RDEPEND="opengl? ( virtual/opengl )
	dev-util/jam
	>=media-libs/libsdl-1.1.5
	>=media-libs/sdl-image-1.2.2
	>=media-libs/sdl-mixer-1.2.5
	dev-games/physfs"
DEPEND="${RDEPEND}
    || ( x11-libs/libXt virtual/x11 )"

src_compile() {

	local myconf
	myconf="${myconf} --prefix=/usr"

	./autogen.sh ${myconf} || die "./autogen.sh failed"

	egamesconf \
		--disable-dependency-tracking \
		`use_enable opengl` \
		${myconf} || die
	jam || die
}

src_install() {
	dogamesbin supertux || die "dogamesbin failed"
	dodir "${GAMES_DATADIR}/supertux" || die "dodir falied"
	cp -r data/* "${D}/${GAMES_DATADIR}/supertux/" || die "cp failed"
	rm "${D}/${GAMES_DATADIR}/supertux/Jamfile"
	doicon data/images/engine/icons/supertux.png || die "doicon failed"
	dodir "/usr/share/applications/" || die "dodir failed"
	cp supertux.desktop "${D}/usr/share/applications/" || die "cp failed"
	dodoc AUTHORS ChangeLog COPYING NEWS README TODO

	prepgamesdirs
}
Top
pacho2
Developer
Developer
User avatar
Posts: 2599
Joined: Fri Mar 04, 2005 7:53 pm
Location: Oviedo, Spain

  • Quote

Post by pacho2 » Fri Sep 29, 2006 8:56 pm

Lo del physfs ya me lo han comentado en el post en la sección Games de estos foros. De todos modos gracias ;-) (cosas de tener demasiadas cosas instalas, luego no me entero de que falta alguna dependencia :oops: )

Saludos ;)
Top
Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Spanish”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic