diff options
author | Robert Xu <robxu9@gmail.com> | 2012-03-31 14:28:06 -0400 |
---|---|---|
committer | Robert Xu <robxu9@gmail.com> | 2012-03-31 14:28:06 -0400 |
commit | 59dd46ef985a719579132efa6a9aa49bfeeae112 (patch) | |
tree | 93d8c721ff263e67aaf59e364496862872ded8fb /opensuse/core/tdelibs.old/kdemm-filepreview.diff | |
parent | c141f0bc29b6e2eeda5ca08a043d26546a1427f9 (diff) | |
download | tde-packaging-59dd46ef985a719579132efa6a9aa49bfeeae112.tar.gz tde-packaging-59dd46ef985a719579132efa6a9aa49bfeeae112.zip |
better late than never, hm...
Diffstat (limited to 'opensuse/core/tdelibs.old/kdemm-filepreview.diff')
-rw-r--r-- | opensuse/core/tdelibs.old/kdemm-filepreview.diff | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/opensuse/core/tdelibs.old/kdemm-filepreview.diff b/opensuse/core/tdelibs.old/kdemm-filepreview.diff new file mode 100644 index 000000000..227dc39ec --- /dev/null +++ b/opensuse/core/tdelibs.old/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 ) |