Branch: master

427ebd3a 2014-09-28 13:27:31 Timothy Pearson
Rename kde.pot to tde.pot
This relates to Bug 1910
M CMakeLists.txt
M Makefile.am.in
M tdecore/kdebug.h
M tdecore/ksock.cpp
M tdeioslave/iso/Makefile.am
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2ac71a..7ee04b5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1002,7 +1002,7 @@
 ##### headers ###################################
 
 install( FILES
-    kde.pot
+    tde.pot
   DESTINATION ${INCLUDE_INSTALL_DIR} )
 
 
diff --git a/Makefile.am.in b/Makefile.am.in
index b7bfdf0..2ca45ce 100644
--- a/Makefile.am.in
+++ b/Makefile.am.in
@@ -36,7 +36,7 @@
 AUTOMAKE_OPTIONS = foreign 1.6.1
 
 potdir = $(kde_includes)
-pot_DATA = kde.pot
+pot_DATA = tde.pot
 
 messages:
 	cd tdeabc/scripts && perl ./makeaddressee
@@ -55,12 +55,12 @@
 	find $$dirs -maxdepth 1 -name "*.h" -print >> files ;\
 	echo ./tdecore/tde-config.cpp.in >> files ;\
 	$(EXTRACTRC) `find $$dirs -maxdepth 1 \( -name "*.rc" -o -name "*.ui" \) ` ./dnssd/kcm_tdednssd.kcfg > rc.cpp; \
-	: > kde.pot ;\
+	: > tde.pot ;\
 	$(XGETTEXT) -ktranslate -x qt-messages.pot rc.cpp `cat files` && cat messages.po qt-messages.pot > $(podir)/tdelibs.pot
-	$(XGETTEXT) common_texts.cpp -o kde.pot
+	$(XGETTEXT) common_texts.cpp -o tde.pot
 	rm -f dirs
 
-EXTRA_DIST = admin kde.pot \
+EXTRA_DIST = admin tde.pot \
 	COMPILING COMPILING.html COPYING.BSD DEBUG \
 	KDE2PORTING.html NAMING common_texts.cpp tdelibs.lsm kdoc.rules \
 	qt-messages.pot configure.in.in configure.in.mid configure.in.bot
diff --git a/tdecore/kdebug.h b/tdecore/kdebug.h
index 46af54e..43d1a78 100644
--- a/tdecore/kdebug.h
+++ b/tdecore/kdebug.h
@@ -25,6 +25,8 @@
 #include <tqstring.h>
 #include "tdelibs_export.h"
 
+#undef NDEBUG
+
 class TQWidget;
 class TQDateTime;
 class TQDate;
diff --git a/tdecore/ksock.cpp b/tdecore/ksock.cpp
index 9652646..89126e0 100644
--- a/tdecore/ksock.cpp
+++ b/tdecore/ksock.cpp
@@ -330,15 +330,20 @@
   return true;
 }
 
+// RAJA FIXME DEBUG ONLY
+extern char *__progname;
+
 bool TDEServerSocket::bindAndListen()
 {
   if (d == NULL || d->ks == NULL)
     return false;
 
+printf("[RAJA DEBUG 640.0] In TDEServerSocket::bindAndListen [%s]\n\r", __progname); fflush(stdout);
 
   int ret = d->ks->listen( SOMAXCONN );
   if (ret < 0)
     {
+printf("[RAJA DEBUG 640.1] Error listening on socket [%d]\n\r", ret); fflush(stdout);
         kdWarning(170) << "Error listening on socket: " << ret << "\n";
 	delete d->ks;
 	d->ks = NULL;
diff --git a/tdeioslave/iso/Makefile.am b/tdeioslave/iso/Makefile.am
index b5da2a2..ddb1c60 100644
--- a/tdeioslave/iso/Makefile.am
+++ b/tdeioslave/iso/Makefile.am
@@ -62,6 +62,6 @@
 messages:
 	LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
 	if test -n "$$LIST"; then \
-		 $(XGETTEXT) -C -ki18n -x $(kde_includes)/kde.pot $$LIST -o ../po/iso.pot; \
+		 $(XGETTEXT) -C -ki18n -x $(kde_includes)/tde.pot $$LIST -o ../po/iso.pot; \
 	fi