public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/kmplayer/files: 0.11.0a-fix_linking.patch
@ 2009-02-18 10:41 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; only message in thread
From: Tomas Chvatal (scarabeus) @ 2009-02-18 10:41 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/02/18 10:41:47

  Added:                0.11.0a-fix_linking.patch
  Log:
  Fix linking issue. Per bug #258995. Thanks to Rick Harris for the patch.
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-video/kmplayer/files/0.11.0a-fix_linking.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kmplayer/files/0.11.0a-fix_linking.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kmplayer/files/0.11.0a-fix_linking.patch?rev=1.1&content-type=text/plain

Index: 0.11.0a-fix_linking.patch
===================================================================
diff -urN kmplayer-0.11.0a/src/kmplayer_part.cpp kmplayer-0.11.0a-patched/src/kmplayer_part.cpp
--- kmplayer-0.11.0a/src/kmplayer_part.cpp	2009-01-26 06:27:46.000000000 +1030
+++ kmplayer-0.11.0a-patched/src/kmplayer_part.cpp	2009-02-18 11:19:12.000000000 +1030
@@ -125,6 +125,21 @@
       return new KMPlayerPart (wparent, parent, args);
 }
 
+KDE_NO_EXPORT QString PartBase::getStatus () {
+    QString rval = "Waiting";
+    if (source() && source()->document()) {
+        if (source()->document()->unfinished ())
+            rval = "Playable";
+        else if (source()->document()->state >= Node::state_deactivated)
+            rval = "Complete";
+    }
+    return rval;
+}
+
+KDE_NO_EXPORT QString PartBase::doEvaluate (const QString &) {
+    return "undefined";
+}
+
 const KComponentData &KMPlayerFactory::componentData () {
     kDebug () << "KMPlayerFactory::instance";
     if (!s_instance)






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-18 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-18 10:41 [gentoo-commits] gentoo-x86 commit in media-video/kmplayer/files: 0.11.0a-fix_linking.patch Tomas Chvatal (scarabeus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox