Bug 118925 - Superkaramba shouldn't have XMMS dependencia
Summary: Superkaramba shouldn't have XMMS dependencia
Status: RESOLVED NOT A BUG
Alias: None
Product: superkaramba
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Ryan Nickell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 23:00 UTC by Iñaki Baz Castillo
Modified: 2006-10-24 22:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
XMMS Sensor patch (6.09 KB, patch)
2006-02-10 18:15 UTC, Kevin Krammer
Details
QLIbrary Patch to help find the XMMS library (336 bytes, patch)
2006-02-10 19:07 UTC, Christopher Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iñaki Baz Castillo 2005-12-23 23:00:31 UTC
Version:           desconocido (using KDE 3.5.0, Debian Package 4:3.5.0-1 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.14

I want to unistall XMMS from my "KDE" system, but in this case I lost Superkaramba too.

I suposse it is because the posibility of Superkaramba to use XMMS, but is it really necessary?

I don't want and don't like XMMS in may perfect KDE system, but I need Superkaramba.


Good job!
Comment 1 Ryan Nickell 2005-12-23 23:06:28 UTC
It depends upon the xmms libraries optionally.  If you don't have them, it should still work without the ability to run xmms controlling themes.
If you installed SuperKaramba from an rpm, then there is an issue with the rpm packager to make it that strict.
You can either contact the packager to fix this, or simply compile SK from source.
Comment 2 Iñaki Baz Castillo 2006-01-30 16:55:07 UTC
Ok, thanks for the explanation. I'll try to contact the Debian packager of Superkaramba.
Comment 3 Kevin Krammer 2006-02-09 18:49:04 UTC
FYI: this is the related report in Debian's bug tracking system:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350589

Close now by using a patch to dlopen libxmms if compiled with XMMS support.
Comment 4 Rex Dieter 2006-02-09 19:48:47 UTC
Too bad they didn't (seem to) attach the patch to the debian bug report so we could try to incorporate it here/upstream.
Comment 5 Ryan Nickell 2006-02-09 21:30:25 UTC
Maybe I should email chrsmrtn@debian.org the kdeutils maintainer that updated it?
Comment 6 Rex Dieter 2006-02-09 22:15:26 UTC
Yes please.
Comment 7 Kevin Krammer 2006-02-10 18:15:59 UTC
Created attachment 14629 [details]
XMMS Sensor patch

I basically sent this patch and I think I have correctly included the change
done by Christopher as well
Comment 8 Christopher Martin 2006-02-10 19:06:05 UTC
Kevin Krammer's patch (which he attached above) is now being used by Debian.
It should be noted that the line:

libxmms = new QLibrary( "xmms.so.1" );

...will only work with a one-line patch to Qt that improves QLibrary. Otherwise, it is necessary to specify the full path and name of the library, or use a line like:

libxmms = new QLibrary( "xmms" );

but this has a slight problem, in that is needs a libxmms.so to be present (which in Debian, anyway, is only part of the xmms-dev package), usually a symlink to libxmms.so.1. This might also cause problems if XMMS2 were to include a libxmms.so.2 that is incompatible.

So if you include Kevin's patch, you might want to document (for packagers) how to ensure that they can make XMMS works with Superkaramba on their particular distro. Perhaps dlopening should be a build-time option, so that people who build KDE themselves don't lose XMMS functionality.
Comment 9 Christopher Martin 2006-02-10 19:07:03 UTC
Created attachment 14631 [details]
QLIbrary Patch to help find the XMMS library
Comment 10 jos poortvliet 2006-10-24 16:41:55 UTC
has this ended up in upstream KDE yet?
Comment 11 Ryan Nickell 2006-10-24 22:14:03 UTC
At this writing it has not been applied upstream into the superkaramba source code.  It should be included in the next 3.5.x revision.