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?
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.
Re-assigning to maintainer. CC-ing sound for the bmp section.
Needed games cc'ed too...
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.
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.
The ebuild compiles and installs fine, but I am unable to play any mod files.
Could you please post your `emerge info` output?
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"
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.
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
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
Created attachment 39015 [details] A new ebuild This ebuild updates the deps and the beepmp use flag
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?
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.
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.
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
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.
Created attachment 39229 [details] An ebuild that takes advantage of the patch
BMP support added to uade-0.91-r1.
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
Created attachment 39340 [details] second bug fix attempt on uade 0.91 beepmp plugin problem