Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62463 - app-emulation/uade ebuild is not bmp enabled
Summary: app-emulation/uade ebuild is not bmp enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 62831
Blocks: 62955
  Show dependency tree
 
Reported: 2004-08-31 18:43 UTC by will
Modified: 2004-09-10 11:50 UTC (History)
2 users (show)

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


Attachments
A test ebuild (uade-0.91-r1.ebuild,1.68 KB, text/plain)
2004-08-31 19:13 UTC, will
Details
A new ebuild (uade-0.91-r1.ebuild,1.70 KB, text/plain)
2004-09-05 17:45 UTC, will
Details
fixes beep-media-player file selector problem (uade-0.91-beep-media-player-fix.diff,630 bytes, text/plain)
2004-09-08 16:26 UTC, Heikki Orsila
Details
An ebuild that takes advantage of the patch (uade-0.91-r1.ebuild,1.82 KB, text/plain)
2004-09-08 17:11 UTC, will
Details
second bug fix attempt on uade 0.91 beepmp plugin problem (uade-0.91-beep-media-player-fix2.diff,1.22 KB, text/plain)
2004-09-10 11:50 UTC, Heikki Orsila
Details

Note You need to log in before you can comment on or make changes to this bug.
Description will 2004-08-31 18:43:15 UTC
I want to be able to use uade with the beep media player, but the ebuild only works with xmms. I think that a bmp use flag should be created for situations like this. How should this be done?
Comment 1 will 2004-08-31 19:13:36 UTC
Created attachment 38643 [details]
A test ebuild

What about this? It uses a new bmp use flag to test whether to install the bmp
plugin.
Comment 2 Chris White (RETIRED) gentoo-dev 2004-08-31 23:04:59 UTC
Re-assigning to maintainer.  CC-ing sound for the bmp section.
Comment 3 Chris White (RETIRED) gentoo-dev 2004-08-31 23:06:05 UTC
Needed games cc'ed too...
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-08-31 23:32:24 UTC
I don't recommend using bmp as the local use flag for this.  I bet we'll want that at some point for the bmp graphic file format.  Better to call it beepmp I think.
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2004-09-01 06:15:13 UTC
Does the attached ebuild work for you? It doesn't work for me, first it complains about missing bmp package:

Package bmp was not found in the pkg-config search path.
Perhaps you should add the directory containing `bmp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bmp' found

and then I get a whole bunch of errors when compiling uade.c. I suspect this is caused by bmp not registering itself correctly with pkg-config, but I want to confirm it on other systems before it can be reported as a bug.
Comment 6 will 2004-09-01 06:43:07 UTC
The ebuild compiles and installs fine, but I am unable to play any mod files.
Comment 7 Michal Januszewski (RETIRED) gentoo-dev 2004-09-01 14:20:27 UTC
Could you please post your `emerge info` output?
Comment 8 will 2004-09-01 18:31:22 UTC
Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1-mm4)
=================================================================
System uname: 2.6.8.1-mm4 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -momit-leaf-frame-pointer -fomit-frame-pointer -funroll-loops -ffast-math -ftracer -fprefetch-loop-arrays -finline-limit=600 -mfpmath=387 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -momit-leaf-frame-pointer -fomit-frame-pointer -f
unroll-loops -ffast-math -ftracer -fprefetch-loop-arrays -finline-limit=600 -mfpmath=387 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/bmg-main /usr/local/fluidportage/trunk /usr/local/mycvsebuilds"
SYNC="rsync://192.168.0.50/gentoo-portage"
USE="3dfx 3dnow X aalib aim alsa apm avi berkdb bitmap-fonts bmp bonobo cdr crypt cups curl dga directfb divx4linux dvd encode escreen esd etwin evo fbcon fdftk flac flash foomaticdb gb gdbm gif gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib ipv6 jabber jack java javascript jikes joystick jpeg ldap libg++ libwww mad maildir mbox mikmod mmx mng motif mozilla mpeg msn mysql ncurses nls nodroproot odbc oggvorbis openal opengl oscar oss pam pdflib perl png ppds python quicktime readline samba scanner sdl slang slp speex spell sse ssl svg svga szip tcltk tcpd tiff truetype usb vidoes wmf wxwindows x86 xml xml2 xv yahoo zlib"
Comment 9 Heikki Orsila 2004-09-05 16:20:37 UTC
uade must be made dependable on beep media player version >= 0.9.7. Otherwise it will not compile. Versions >= 0.9.7 has a pkgconfig file named bmp.pc, but older version have it named beep.pc.

Michal Januszewski, you probably have bmp < 0.9.7. The older versions are not source compatible with >= 0.9.7, that's why the compilation will fail. I have bmp 0.9.7 installed on my system and uade emerges fine.

So I propose something like:

bmp? ( >=media-sound/beep-media-player-0.9.7 )

Just any version of beep-media-player will not work because of plugin incompatibilty.

And I agree that bmp should be called something like beepmp.

PS. I am the uade project main contributor so feel free to suggest how to make it more suitable for Gentoo.

Comment 10 Heikki Orsila 2004-09-05 16:24:12 UTC
will@johnstonclan.net,

you might not be able to play any mod files, that is if you mean _protracker_ module files, because you have mikmod or modplug installed into your player. If you are trying to play non-amiga modules, such as .xm or .it files, then you are really out of luck, because UADE isn't designed for non-amiga formats. Better use other mod tools.

Run the beep-media-player from terminal and show me what it displays. Uade might give relevant information on stderr. (I apologize for stderr flooding)

shd / uade team

Comment 11 Heikki Orsila 2004-09-05 16:27:42 UTC
will@johnstonclan.net, sorry I should have told you directly about the bmp depedency problem. See what I told michal. In short, it must be >= bmp-0.9.7, nothing lower will not work.

shd / uade team
Comment 12 will 2004-09-05 17:45:30 UTC
Created attachment 39015 [details]
A new ebuild

This ebuild updates the deps and the beepmp use flag
Comment 13 Michal Januszewski (RETIRED) gentoo-dev 2004-09-06 07:35:28 UTC
I got uade to compile with bmp support now (it turned out I was using some odd bmp version from my local overlay), but I've run into some problems while using it in bmp. The plugin seems to be recognized correctly - it's on the plugin list and can be configured. The problem I have - I can't add any mods to the playlist. Running bmp with beep-media-player <mod.name> works fine, but trying to add a file using the file selector results in a message about unrecognized format. No additional info is available on the console. 

Any ideas what could be causing this?
Comment 14 will 2004-09-06 07:52:20 UTC
I can't put mods into the playlist normally, I can open them like `beep-media-player whatever.mod`. When I do though they play silent.

The playlist problem could be (I am not much of a coder) that the code does not register the fact that those filename extensions are supported.
Comment 15 Heikki Orsila 2004-09-08 09:20:44 UTC
Will, if they play silent, are you sure you have a proper audio output configured? Tell me if there are some messages on the stderr.
Comment 16 Heikki Orsila 2004-09-08 16:25:11 UTC
I found the bug! It seems beep-media-player requires that plugins can handle URLs. We couldn't handle file:// :( from the command line beep-media-player *SOMETHING* doesn't give files in URL format, but file selector window does.

Please patch uade-0.91 in portage with this patch:

 http://uade.ton.tut.fi/uade/patches/uade-0.91-beep-media-player-fix.diff

ef4a92a1378d28cf740ba7958801ddea uade-0.91-beep-media-player-fix.diff 630

Attaching it here also.

The patch is rather simple, it just strips file:// prefix from the filename if such exists. 3 new lines of code into plugindir/beepmp/uade.c.

shd / uade team
Heikki Orsila
heikki.orsila@iki.fi
http://uade.ton.tut.fi


Comment 17 Heikki Orsila 2004-09-08 16:26:22 UTC
Created attachment 39226 [details]
fixes beep-media-player file selector problem

this fixes the file selector bug with uade-0.91 with beep-media-player. files
added to playlist which had file:// prefix didn't work.
Comment 18 will 2004-09-08 17:11:45 UTC
Created attachment 39229 [details]
An ebuild that takes advantage of the patch
Comment 19 Michal Januszewski (RETIRED) gentoo-dev 2004-09-09 07:05:13 UTC
BMP support added to uade-0.91-r1.
Comment 20 Heikki Orsila 2004-09-10 11:47:37 UTC
my bad. my bug fix patch sucked. thanks to michal for reporting and doing the second fix. Attached, and the URL to my web site here:

 http://uade.ton.tut.fi/uade/patches/uade-0.91-beep-media-player-fix2.diff

ef3c7fc767538fbeb54e89c600038bdd  uade-0.91-beep-media-player-fix2.diff

shd / uade team
Heikki Orsila
heikki.orsila@iki.fi
http://uade.ton.tut.fi


Comment 21 Heikki Orsila 2004-09-10 11:50:06 UTC
Created attachment 39340 [details]
second bug fix attempt on uade 0.91 beepmp plugin problem