Bug 64024 - Juk won't compile with vorbis support
Summary: Juk won't compile with vorbis support
Status: RESOLVED NOT A BUG
Alias: None
Product: juk
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
: 64153 64919 67100 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-10 16:10 UTC by Tom Chance
Modified: 2004-05-13 18:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Chance 2003-09-10 16:10:52 UTC
Version:           1.95 (using KDE KDE 3.1.3)
Installed from:    Gentoo Packages

When I run configure, it disables OGG Vorbis support. I get this error at the end of configure (strangely configure shows no other sign of looking for support):

Ogg Vorbis support was not found.
a KFile-plugin for displaying Ogg Vorbis Information
has been disabled from compilation.

I have libvorbis installed from source.
Comment 1 Scott Wheeler 2003-09-10 16:29:11 UTC
You can ignore that.  It's just a bug in the tarball when I was taking stuff from KDE's 
CVS I forgot to remove the configure.in.bot file.  The warning has no effect on JuK or 
JuK's vorbis support or the ability to build JuK. 
Comment 2 Scott Wheeler 2003-09-10 23:38:08 UTC
Heh -- just caught why this was confusing.  The message is bogus, but JuK still 
won't load Oggs because of a change in the default Ogg mimetype. 
 
You can change this with a one-liner in mediafiles.cpp -- just substitute: 
 
    static const char oggType[] = "application/ogg"; 
 
for 
 
    static const char oggType[] = "application/x-ogg"; 
 
(Right at the top of the file.) 
Comment 3 Scott Wheeler 2003-09-12 23:45:33 UTC
*** Bug 64153 has been marked as a duplicate of this bug. ***
Comment 4 Scott Wheeler 2003-09-25 13:24:51 UTC
*** Bug 64919 has been marked as a duplicate of this bug. ***
Comment 5 Scott Wheeler 2003-11-03 11:05:17 UTC
*** Bug 67100 has been marked as a duplicate of this bug. ***
Comment 6 Dominik Stadler 2004-05-12 23:11:40 UTC
I am working on a Bug-entry for juk in Gentoo that reports the same issue.

Does anybody have an explanation why this Bug is invalid? 
Comment 7 Scott Wheeler 2004-05-12 23:27:29 UTC
(a) This was a beta that was marked not to be packaged (not that this stopped anyone).
(b) The warning was fixed in 1.95a.
(c) JuK 2.0 has already been out for 3 months and does not have this problem.
(d) It really did compile, the warning was bogus.

Need more?  :-)
Comment 8 Dominik Stadler 2004-05-13 17:54:01 UTC
Sorry, I wasn't specific enough, I meant the part of the Bug about changing mediafiles.cpp to
    static const char oggType[] = "application/ogg";
from
    static const char oggType[] = "application/x-ogg"; 

The Bug-Entry in Gentoo is available at http://bugs.gentoo.org/show_bug.cgi?id=42673
Comment 9 Scott Wheeler 2004-05-13 18:05:44 UTC
Sorry -- the bug in the Gentoo database is invalid; the user apparently has some stale mime-types installed that are causing problems -- likely in his ~/.kde directory.

Between KDE 3.1 and KDE 3.2 the mime type for Ogg Vorbis changed from application/x-ogg to application/ogg (as requested by the latest vorbis spec).  KDE's .desktop file for the mimetype changed accordingly.

The problem mentioned above (actually not related at all to this bug report, but since they're both vorbis related they got lumped together) was just that when backporting JuK 2's CVS to KDE 3.1 I forgot to make this change so JuK 1.95 wouldn't play Vorbis files under anything but KDE CVS.  (Since the users didn't have the new mime type installed.)