File fix-compile.diff of Package tellico

--- Makefile.am
+++ Makefile.am
@@ -36,6 +36,7 @@
 	@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
 
 xdg_apps_DATA = tellico.desktop
+xdg_mimedir = $(kde_datadir)/mime/packages
 xdg_mime_DATA = tellico.xml
 
 mimedir = $(kde_mimedir)/application
--- src/cite/lyxpipe.cpp
+++ src/cite/lyxpipe.cpp
@@ -21,6 +21,7 @@
 #include <klocale.h>
 
 #include <qfile.h>
+#include <klocale.h>
 
 #include <sys/types.h>
 #include <sys/stat.h>
--- src/entryview.cpp
+++ src/entryview.cpp
@@ -27,6 +27,7 @@
 #include "latin1literal.h"
 #include "../core/drophandler.h"
 
+#include <klocale.h>
 #include <kstandarddirs.h>
 #include <krun.h>
 #include <kmessagebox.h>
--- src/translators/audiofileimporter.cpp
+++ src/translators/audiofileimporter.cpp
@@ -244,10 +244,10 @@
           entry->setField(file, insertValue(entry->field(file), fileValue, trackNum));
         }
       } else {
-        myDebug() << *it << " contains no track number and track number cannot be determined, so the track is not imported." << endl;
+        kdDebug() << *it << " contains no track number and track number cannot be determined, so the track is not imported." << endl;
       }
     } else {
-      myDebug() << *it << " has an empty title, so the track is not imported." << endl;
+      kdDebug() << *it << " has an empty title, so the track is not imported." << endl;
     }
     if(!tag->comment().stripWhiteSpace().isEmpty()) {
       QString c = entry->field(comments);
@@ -366,9 +366,9 @@
     list += QString::null;
   }
   if(!list[pos_-1].isNull()) {
-    myDebug() << "AudioFileImporter::insertValue() - overwriting track " << pos_ << endl;
-    myDebug() << "*** Old value: " << list[pos_-1] << endl;
-    myDebug() << "*** New value: " << value_ << endl;
+    kdDebug() << "AudioFileImporter::insertValue() - overwriting track " << pos_ << endl;
+    kdDebug() << "*** Old value: " << list[pos_-1] << endl;
+    kdDebug() << "*** New value: " << value_ << endl;
   }
   list[pos_-1] = value_;
   return list.join(QString::fromLatin1("; "));
openSUSE Build Service is sponsored by