Bug 259397

Summary: k3b libmad dependency found on configure, but no mp3 support.
Product: [Applications] k3b Reporter: Clint <gibbo_07>
Component: PluginsAssignee: k3b developers <k3b>
Status: RESOLVED WORKSFORME    
Severity: normal CC: trueg
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: if needed, emerge --info

Description Clint 2010-12-10 03:02:16 UTC
Created attachment 54377 [details]
if needed, emerge --info

Version:           2.1-SVN (using KDE 4.5.85) 
OS:                Linux

When building k3b from latest git (2.0.80), the configure script reports that:

-----------------------------------------------------------------------------                               
-- The following dependencies were found.
-----------------------------------------------------------------------------                                      
    <others>                                                                                         
   * Mad mp3 - Needed for the mp3 audio decoder plugin.                                                                                                                                  
   * Lame mp3 encoder - Needed for the lame mpf encoder encoder plugin.
    <others>
----------

However upon compiling/installing then launching k3b, it reports in startup warning that:

MP3 Audio Decoder plugin not found.
K3b could not load or find the MP3 decoder plugin. <blah..>

Even when I manually cd to build/plugins/encoder, then make && make install it fails to add the required functionality. 

I truly do have libmad (& every other dep) installed, equery reports:
 
* Searching for libmad ...
[IP-] [  ] media-libs/libmad-0.15.1b-r7


Reproducible: Always

Steps to Reproduce:
1. Git fetch/pull or Git clone latest tree
2. build with default cmake options
3. note libmad is indeed detected by configure
4. launch k3b & be greeted with lacking functionality message.


Expected Results:  
Included libmad/mp3 encoder support.
Comment 1 Michał Małek 2010-12-26 18:09:28 UTC
Hi, thanks for the report. Please check if the path K3b is installed to is present in KDEDIRS environment variable.
Comment 2 Clint 2010-12-30 11:35:26 UTC
Hi and thanks,

Oddly enough for some reason my environment is lacking KDEDIRS?

$ echo $KDEDIRS returns nothing.

$ env | grep -i kde    

KDE_MULTIHEAD=false
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/clint/.gtkrc-2.0::/home/clint/.kde4/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/clint/.gtkrc::/home/clint/.kde4/share/config/gtkrc
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=4
QT_PLUGIN_PATH=/home/clint/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/

Any ideas why this might be and do you recommend I export it myself to bashrc? It should be set to /usr correct?
Comment 3 Clint 2010-12-30 16:52:14 UTC
Update, i've exported both KDEDIR & KDEDIRS (to be safe) as the correct /usr path, run # env-update, git pulled/fetched, make clean & built/installed a fresh copy of k3b. Problem still occurs. Still unsure whether these environment settings are missing on my install or not meant to be needed?

$ kde4-config --prefix
/usr

# set | grep -i kdedir
KDEDIR=/usr
KDEDIRS=/usr

Perhaps informative, when running k3b through the terminal I get:
"k3b(14122)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "K3b/Plugin"  not found"
Comment 4 Andrew Crouthamel 2018-11-12 02:52:55 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-11-21 04:47:04 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Justin Zobel 2023-01-13 01:36:29 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 7 Bug Janitor Service 2023-01-28 05:07:57 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2023-02-12 03:50:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!