First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 182528
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kai <gentoo@altkai.ml1.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
alephone-20070525-configure.patch alephone-20070525-configure.patch patch Kai 2007-06-19 01:13 0000 915 bytes Details | Diff
alephone-20070525.ebuild alephone-20070525.ebuild text/plain Kai 2007-06-20 18:37 0000 1.92 KB Details
alephone-20070525-configure.patch alephone-20070525-configure.patch patch Kai 2007-06-20 18:38 0000 1.44 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 182528 depends on: Show dependency tree
Show dependency graph
Bug 182528 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-19 01:12 0000
Hello, here's a diff of the ebuild that's working well for me, and next is a
revised patch for configure.ac. I've tested with and without all the use flags,
on x86. I think smpeg should probably be a useflag, but didn't want to change
it too much. Lua is packaged with alephone now.

--- /usr/portage/games-fps/alephone/alephone-20061228.ebuild    2007-02-14
11:35:49.000000000 -0500
+++ alephone-20070525.ebuild    2007-06-18 21:00:19.000000000 -0400
@@ -11,13 +11,15 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="lua opengl speex"
+IUSE="lua opengl speex mad vorbis sndfile"

-DEPEND="lua? ( dev-lang/lua )
-       opengl? ( virtual/opengl )
+DEPEND="opengl? ( virtual/opengl )
        speex? ( media-libs/speex )
+       mad? ( media-libs/libmad )
+       !mad? ( media-libs/smpeg )
+       vorbis? ( media-libs/libvorbis )
+       sndfile? ( media-libs/libsndfile )
        dev-libs/boost
-       media-libs/smpeg
        media-libs/libsdl
        media-libs/sdl-image
        media-libs/sdl-sound
@@ -38,8 +40,11 @@
 src_compile() {
        egamesconf \
                --disable-dependency-tracking \
-               $(use_enable lua) \
                $(use_enable opengl) \
+               $(use_enable mad) \
+               $(use_enable vorbis) \
+               $(use_enable sndfile) \
+               $(use_enable lua) \
                $(use_enable speex) \
                || die
        emake || die "emake failed"




Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Kai 2007-06-19 01:13:57 0000 -------
Created an attachment (id=122498) [edit]
alephone-20070525-configure.patch

This is simply the previous patch with the Lua bits removed.

------- Comment #2 From Kai 2007-06-19 01:19:00 0000 -------
Yeah, smpeg gets linked in if it's installed, libmad or no. Should it get fixed
in the configure patch, same as speex?

------- Comment #3 From Chris Gianelloni (RETIRED) 2007-06-20 09:29:30 0000 -------
Yeah.

------- Comment #4 From Kai 2007-06-20 18:37:12 0000 -------
Created an attachment (id=122630) [edit]
alephone-20070525.ebuild

Sorry, I know next to nothing about autotools or configure, this is a bit
beyond me.

But from what I can tell, there are bad 'automagic' dependencies on Speex,
smpeg, ALSA, and sdl-image (not a hard dep after all?). What I don't understand
is the line "+CPPFLAGS="$CPPFLAGS -I/usr/include/speex", and if it's required
for the other deps. I'm attaching my last ebuild with an smpeg fix, but as far
as fixing ALSA and sdl-image, if that's desired, I'd prefer someone with more
experience take a look at it.

I did test both with and without smpeg on x86, and it works fine.

------- Comment #5 From Kai 2007-06-20 18:38:37 0000 -------
Created an attachment (id=122631) [edit]
alephone-20070525-configure.patch

------- Comment #6 From Kai 2007-06-20 18:41:20 0000 -------
Lastly, it seems sdl-sound is no longer a dependency. :b

------- Comment #7 From Kai 2007-07-11 18:59:08 0000 -------
To reiterate, these are the differing dependencies:

-lua (now built in)
-sdl-sound
+libmad
+libvorbis
+libsndfile

And these are the automagic dependencies which need fixing AFAICT:

speex
smpeg
alsa
sdl-image

That's it. This version is still working well for me on x86.

------- Comment #8 From Tupone Alfredo 2007-08-31 16:11:05 0000 -------
Version 0.18.1 (20070819) is now in portage.
Thanks for report and work on ebuild

First Last Prev Next    No search results available      Search page      Enter new bug