summaryrefslogtreecommitdiffstats
path: root/opensuse/tdelibs/kdemm-filepreview.diff
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-08-13 12:58:51 -0400
committerRobert Xu <robxu9@gmail.com>2011-08-13 12:58:51 -0400
commit46130378aea5fff80803409c2573e2ea31472cb9 (patch)
treecb5da908105e6577da7676f84ba9c7fbaba4fb52 /opensuse/tdelibs/kdemm-filepreview.diff
parent53f2819f9af035a38ca08df1ede9e6cd24aa79ef (diff)
downloadtde-packaging-46130378aea5fff80803409c2573e2ea31472cb9.tar.gz
tde-packaging-46130378aea5fff80803409c2573e2ea31472cb9.zip
add dbus-1-tqt and libdbus-1-tqt-0; add unmodified tdelibs from kdelibs3
Diffstat (limited to 'opensuse/tdelibs/kdemm-filepreview.diff')
-rw-r--r--opensuse/tdelibs/kdemm-filepreview.diff40
1 files changed, 40 insertions, 0 deletions
diff --git a/opensuse/tdelibs/kdemm-filepreview.diff b/opensuse/tdelibs/kdemm-filepreview.diff
new file mode 100644
index 000000000..227dc39ec
--- /dev/null
+++ b/opensuse/tdelibs/kdemm-filepreview.diff
@@ -0,0 +1,40 @@
+Index: interfaces/kmediaplayer/kfileaudiopreview/Makefile.am
+===================================================================
+--- interfaces/kmediaplayer/kfileaudiopreview/Makefile.am.orig
++++ interfaces/kmediaplayer/kfileaudiopreview/Makefile.am
+@@ -1,11 +1,11 @@
+-INCLUDES = -I$(top_srcdir)/interfaces/ -I$(top_srcdir)/arts/kde -I$(includedir)/arts $(all_includes)
++INCLUDES = -I$(top_srcdir)/interfaces/ $(all_includes)
+ METASOURCES = AUTO
+
+ kde_module_LTLIBRARIES = kfileaudiopreview.la
+
+ kfileaudiopreview_la_SOURCES = kfileaudiopreview.cpp
+ kfileaudiopreview_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version -no-undefined
+-kfileaudiopreview_la_LIBADD = $(top_builddir)/interfaces/kmediaplayer/libkmediaplayer.la $(top_builddir)/arts/kde/libartskde.la $(LIB_KIO)
++kfileaudiopreview_la_LIBADD = $(top_builddir)/interfaces/kmediaplayer/libkmediaplayer.la $(top_builddir)/kdemm/libkdemm.la $(LIB_KIO)
+
+ noinst_HEADERS = kfileaudiopreview.h
+
+Index: interfaces/kmediaplayer/kfileaudiopreview/kfileaudiopreview.cpp
+===================================================================
+--- interfaces/kmediaplayer/kfileaudiopreview/kfileaudiopreview.cpp.orig
++++ interfaces/kmediaplayer/kfileaudiopreview/kfileaudiopreview.cpp
+@@ -13,7 +13,7 @@
+ #include <kmimetype.h>
+ #include <kparts/componentfactory.h>
+
+-#include <kplayobjectfactory.h>
++#include <kdemm/factory.h>
+
+ #include <config-kfile.h>
+
+@@ -58,7 +58,7 @@ KFileAudioPreview::KFileAudioPreview( QW
+ {
+ KGlobal::locale()->insertCatalogue("kfileaudiopreview");
+
+- QStringList formats = KDE::PlayObjectFactory::mimeTypes();
++ QStringList formats = KDE::Multimedia::Factory::self()->playableMimeTypes();
+ // ###
+ QStringList::ConstIterator it = formats.begin();
+ for ( ; it != formats.end(); ++it )