Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434724 - media-video/kmplayer - konqueror does not play YouTube videos because of missing dependencies and missing MIME types in kmplayer_part.desktop
Summary: media-video/kmplayer - konqueror does not play YouTube videos because of miss...
Status: RESOLVED FIXED
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-09-11 13:19 UTC by Marco Clocchiatti
Modified: 2012-11-09 00:09 UTC (History)
1 user (show)

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


Attachments
kmplayer ebuild (kmplayer-0.11.3d.ebuild,2.06 KB, text/plain)
2012-09-11 13:19 UTC, Marco Clocchiatti
Details
kmplayer patch (kmplayer-flash.patch,2.22 KB, text/plain)
2012-09-11 13:20 UTC, Marco Clocchiatti
Details
new kmplayer ebuild. minor fix (kmplayer-0.11.3d.ebuild,2.05 KB, text/plain)
2012-09-11 13:26 UTC, Marco Clocchiatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2012-09-11 13:19:39 UTC
Created attachment 323504 [details]
kmplayer ebuild

youtube does not work konqueror on default gentoo boxes.

the issue depends from some configuration files in media-video/kmplayer.
a new ebuild is proposed to fix the problem.
Comment 1 Marco Clocchiatti 2012-09-11 13:20:22 UTC
Created attachment 323506 [details]
kmplayer patch
Comment 2 Marco Clocchiatti 2012-09-11 13:26:19 UTC
Created attachment 323512 [details]
new kmplayer ebuild. minor fix
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-11 14:58:41 UTC
Comment on attachment 323512 [details]
new kmplayer ebuild. minor fix

--- kmplayer-0.11.3d.ebuild     2012-08-11 16:47:51.000000000 +0200
+++ -   2012-09-11 16:58:25.925727985 +0200
@@ -28,6 +28,7 @@
        npp? (  
                dev-libs/dbus-glib
                >=x11-libs/gtk+-2.10.14:2
+               www-plugins/adobe-flash
        )"
 RDEPEND="${DEPEND}
        media-video/mplayer"
@@ -35,6 +36,10 @@
 DOCS=( AUTHORS ChangeLog README TODO )
 
 src_prepare() {
+       if use npp; then {
+               epatch "${FILESDIR}"/${PN}-flash.patch
+       }
+       fi
        sed -e '/add_subdirectory(icons)/d' \
                -i CMakeLists.txt || die

@@ -50,3 +55,18 @@

        kde4-base_src_configure
 }
+
+pkg_postinst() {
+       if use npp; then {
+       kwriteconfig --file "${PORTAGE_BUILDDIR}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key player npp
+       kwriteconfig --file "${PORTAGE_BUILDDIR}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key plugin /usr/lib/nsbrowser/plugins/libflashplayer.so
+       update-desktop-database
+       ewarn "Kmplayer system configuration is correctly setted to run flash
+       applications on www.youtube.com with konqueror (KHTML) fro newly created
+       users.
+       Some problems may arise for pre-existings ones.
+       See here http://dev.gentoo.org/~lack/konqueror-flash.xml to solve them.
+       "
+       }
+       fi
+}
Comment 4 Chris Reffett (RETIRED) gentoo-dev Security 2012-11-09 00:09:37 UTC
Fixed in CVS.