Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407425 - www-plugins/kpartsplugin automagic detection of supported MIME types
Summary: www-plugins/kpartsplugin automagic detection of supported MIME types
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 15:02 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2012-05-22 11:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-03-08 15:02:57 UTC
I read http://dilfridge.blogspot.com/2010/11/pluggin-cool-plug-in-for-firefox.html and decided to try it out.

I didn't have okular installed, and I started with installing kpartsplugin.

Then I launched Firefox and couldn't find "pdf" string on about:plugins, and realized I need okular for that.

So I closed Firefox, emerged Okular, but still pdf was not there. It appeared only after re-emerging kpartsplugin, which suggests there is some automagic behind the scenes.

I think it'd be much better to handle this via USE flags explicitly, i.e. with USE=pdf depend on Okular or use || ( ... ) dependency.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-04-03 21:09:56 UTC
(In reply to comment #0)
> So I closed Firefox, emerged Okular, but still pdf was not there. It
> appeared only after re-emerging kpartsplugin, which suggests there is some
> automagic behind the scenes.

Not really. I dont think the re-emerging itself made the change, more likely something like re-building the mime database... Logging out and back in should also do the trick, or running kbuildsyscoca4 ...

> I think it'd be much better to handle this via USE flags explicitly, i.e.
> with USE=pdf depend on Okular or use || ( ... ) dependency.

Better not... quite some kde programs use other kpart libraries, we'd end up in use flag and dependency hell.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-05-22 11:51:39 UTC
(In reply to comment #1)
> Not really. I dont think the re-emerging itself made the change, more likely
> something like re-building the mime database... Logging out and back in
> should also do the trick, or running kbuildsyscoca4 ...

You're right, I think I wasn't careful enough when checking this, or maybe it's the new KDE. Closing.