0.2.0 is out, released today. libvisual worked by just renaming the ebuild that is in portage (I had to change the URL too, but I guess that was because the file wasn't properly mirrored yet, as I've tested right after the release). libvisual-plugins, though, does not work, and fails complaining about files not found. Guess it will require some hack on the configure files, but I couldn't figure it out. It fails at this point: /bin/sh ../../../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -DUNIX_X -D_REENTRANT -Wl,-rpath, -L -o actor_infinite.la -rpath /usr/lib/libvisual/actor -module -avoid-version compute.lo display.lo renderer.lo file.lo lv_infinite.lo -L. -L/usr/lib -lpthread -lm -ldl -lvisual i686-pc-linux-gnu-gcc -shared .libs/compute.o .libs/display.o .libs/renderer.o .libs/file.o .libs/lv_infinite.o -L/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0/plugins/actor/infinite -L/usr/lib -lpthread -lm -ldl /usr/lib/libvisual.so -march=athlon-xp -Wl,-rpath -Wl,-soname -Wl,actor_infinite.so -o.libs/actor_infinite.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: actor_infinite.so: No such file: No such file or directory collect2: ld returned 1 exit status make[4]: *** [actor_infinite.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0/plugins/actor/infinite' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0/plugins/actor' If I disable infinite plugin I just get similar errors while it's compiling other plugins. Reproducible: Always Steps to Reproduce:
latest amarok (1.2 is out!) needs latest libvisual. So we need this ASAP. ;-)
I've got a patch that solves this -- it's to do with the recent work that's been done with moving /usr/X11R6/lib to /usr/lib -- and autotools trying to be too clever. There's a trivial edit in configure.ac that needs to be made. I will upload a patch as soon as I get the time.
Created attachment 51211 [details, diff] Patch to sources to allow build After patching (with -p1), run autoconf in the source tree. I will try and provide an ebuild later.
Even after applying your patch, I can't get it to compile. Can you explain it better?
After applying the patch, run autoconf, then start again from configure: $ patch -p1 < {patch} $ autoconf $ configure --prefix=/usr .... $ make Report back..! And error messages would be helpful :)
Well, after running make, it would output many warnings, and them start running a configure that ended as: " checking for strip... strip checking for correct ltmain.sh version... no *** Gentoo sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.10, ltmain.sh = 1.5.6) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. make: *** [config.status] Error 1 " I just followed what it says, "libtoolize --copy --force", then make again and it works! Thanks.
I haven't managed to get amarok to actually use this yet, though... Will report back later.
I could, though some of them don't work. Just recompile amarok-1.2 after having installed libvisual-0.2.0. I get them in amaroK, but some of them don't work: gdkpixbuf, jakdaw, lv_gltest, madspin and nebulus. When I check their checkbox, I can see their window, but it just closes itself and uncheck the box.
Ah. This is going to be interesting. There are two things I can recommend you do from here (I was going to do them later, after work): 1. Make a symlinks in /usr/lib/libvisual from morph to transform. Run amarok_libvisual in a terminal, and see that it doesn't give any warnings, just a list of available visualisations. See if that solves anything. 2. Install goom2k4 ( http://prdownloads.sourceforge.net/goom/goom-2k4-0-src.tar.gz?download ), and then recompile/install libvisual-plugins. See if that works. I haven't got any ideas from here... Actually, I lie: are there any helpful debugging output if you run amarok in a terminal?
he, I've found out that glx wasn't available (compiled a new kernel and forgot to emerge ati-drivers again :-) ). That changed the situation a little. After making the symlink, amarok_libvisual does not give any warning. Now these are the ones that don't work, and amarok output: dancingparticles: libvisual INFO: /usr/kde/3.3/bin/amarok_libvisual: negotiating plugin libvisual Dancing Particles plugin [amK] Libvisual version 0.2.0 [amK] bpp: 0 [amK] GL: true sorry, but the bug with strtof has come, please report.. Fatal signal: Floating Point Exception (SDL Parachute Deployed) amarok: [SocketServer] recv() error, closing socket: 32 amarok: [SocketServer] Stopping visualization gdkpixbuf: libvisual INFO: /usr/kde/3.3/bin/amarok_libvisual: negotiating plugin GdkPixbuf image loader libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: visual_mem_malloc0(): assertion `nbytes > 0' failed libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: precompute_row_table():assertion `video->pixel_rows != NULL' failed libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: load_new_file(): assertion `priv->pixbuf != NULL' failed (process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246 (gdk_pixbuf_scale_simple): assertion `src != NULL' failed libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: update_scaled_pixbuf():assertion `priv->scaled != NULL' failed (process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246 (gdk_pixbuf_scale_simple): assertion `src != NULL' failed libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: update_scaled_pixbuf():assertion `priv->scaled != NULL' failed (process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246 (gdk_pixbuf_scale_simple): assertion `src != NULL' failed libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: update_scaled_pixbuf():assertion `priv->scaled != NULL' failed (process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246 (gdk_pixbuf_scale_simple): assertion `src != NULL' failed libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: update_scaled_pixbuf():assertion `priv->scaled != NULL' failed (process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246 (gdk_pixbuf_scale_simple): assertion `src != NULL' failed libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: update_scaled_pixbuf():assertion `priv->scaled != NULL' failed (process:908): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246 (gdk_pixbuf_scale_simple): assertion `src != NULL' failed libvisual CRITICAL: /usr/kde/3.3/bin/amarok_libvisual: update_scaled_pixbuf():assertion `priv->scaled != NULL' failed [amK] Libvisual version 0.2.0 [amK] bpp: 3 [amK] GL: false Fatal signal: Segmentation Fault (SDL Parachute Deployed) amarok: [SocketServer] recv() error, closing socket: 33 amarok: [SocketServer] Stopping visualization jakdaw: libvisual INFO: /usr/kde/3.3/bin/amarok_libvisual: negotiating plugin Jakdaw plugin [amK] Libvisual version 0.2.0 [amK] bpp: 4 [amK] GL: false Fatal signal: Segmentation Fault (SDL Parachute Deployed) amarok: [SocketServer] recv() error, closing socket: 22 amarok: [SocketServer] Stopping visualization All the others work. I will try compiling goom2k4, but can't do it now. I'll keep posting in here if anything changes, thanks for the help.
Compiled goom2k4, but libvisual-plugins configure does not find that. Compiling xmms also gave me more options, and some others that don't work: xmms_singit: amarok: [SocketServer] Starting visualization.. [XMMSWrapper] Connecting to: /tmp/ksocket-untouchable/amarok.visualization_socket amarok: [SocketServer] Connection requested: 32 amarok: [SocketServer] Registration pid: 22912 amarok: [SocketServer] false [XMMSWrapper] Loading xmms plugin: libxmms_singit.so [XMMSWrapper] init() [XMMSWrapper] start() amarok: [SocketServer] recv() error, closing socket: 32 amarok: [SocketServer] Stopping visualization xmmsgoom2 window hangs and I have to kill it: amarok: [SocketServer] Starting visualization.. [XMMSWrapper] Connecting to: /tmp/ksocket-untouchable/amarok.visualization_socket amarok: [SocketServer] Connection requested: 32 amarok: [SocketServer] Registration pid: 22914 amarok: [SocketServer] false [XMMSWrapper] Loading xmms plugin: libxmmsgoom2.so [XMMSWrapper] init() amarok: [SocketServer] Stopping visualization
goom compiled and was recognized by libvisual-plugins for me if configured with ./configure --prefix=/usr --x-includes=/usr/include/X11
Anyone up for a somewhat short sumarry on what needs to be done to get this bumped. I'm somewhat confused in the chaos of patches and external deps.
The attached patch needs to be applied in the ebuild. Autoreconf needs to be run after it. Certain plugins work, certain ones don't. For me at least, they always die if I run amarok as amarok, and things work when I run as amarokapp. This is known http://sourceforge.net/mailarchive/forum.php?thread_id=6634893&forum_id=37495.
Chris, I have some ebuilds ready here, can I commit? I confirm that half of the plugins don't work, though.
libvisual, libvisual-plugins, bmp-libvisual, xmms-libvisual now in portage.