Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81432 - libvisual-* 0.2.0 is out
Summary: libvisual-* 0.2.0 is out
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-09 17:08 UTC by Alexandre Oliveira
Modified: 2005-03-02 08:44 UTC (History)
6 users (show)

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


Attachments
Patch to sources to allow build (libvisual-plugins-0.2.0.diff,458 bytes, patch)
2005-02-14 08:46 UTC, Gen Zhang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Oliveira 2005-02-09 17:08:20 UTC
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:
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2005-02-13 12:44:49 UTC
latest amarok (1.2 is out!) needs latest libvisual. So we need this ASAP. ;-)
Comment 2 Gen Zhang 2005-02-14 07:36:48 UTC
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.
Comment 3 Gen Zhang 2005-02-14 08:46:30 UTC
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.
Comment 4 Alexandre Oliveira 2005-02-14 14:25:13 UTC
Even after applying your patch, I can't get it to compile. Can you explain it better?
Comment 5 Gen Zhang 2005-02-15 00:01:18 UTC
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 :)
Comment 6 Alexandre Oliveira 2005-02-15 05:00:54 UTC
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.
Comment 7 Gen Zhang 2005-02-15 05:03:22 UTC
I haven't managed to get amarok to actually use this yet, though... Will report back later.
Comment 8 Alexandre Oliveira 2005-02-15 05:13:00 UTC
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.
Comment 9 Gen Zhang 2005-02-15 05:19:35 UTC
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?
Comment 10 Alexandre Oliveira 2005-02-15 05:46:22 UTC
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.
Comment 11 Alexandre Oliveira 2005-02-15 15:27:03 UTC
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

Comment 12 Scott Jubenville 2005-02-16 14:57:35 UTC
goom compiled and was recognized by libvisual-plugins for me if configured with ./configure --prefix=/usr --x-includes=/usr/include/X11
Comment 13 Chris White (RETIRED) gentoo-dev 2005-02-24 11:16:59 UTC
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.
Comment 14 Gen Zhang 2005-02-24 12:15:03 UTC
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.
Comment 15 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-24 12:48:39 UTC
Chris, I have some ebuilds ready here, can I commit?

I confirm that half of the plugins don't work, though.
Comment 16 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-02 08:44:52 UTC
libvisual, libvisual-plugins, bmp-libvisual, xmms-libvisual now in portage.