From 2020f146a7175288d0aaf15cd91b95e545bbb915 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 30 Jan 2012 12:23:09 -0600 Subject: Rename ksocket and kcache --- kcachegrind/ChangeLog | 2 +- kcachegrind/Makefile.am | 4 ++-- kcachegrind/README | 2 +- kcachegrind/configure.in.in | 10 ++++----- kcachegrind/converters/README | 2 +- kcachegrind/converters/dprof2calltree | 4 ++-- kcachegrind/converters/hotshot2calltree | 14 ++++++------ kcachegrind/converters/pprof2calltree | 4 ++-- kcachegrind/kcachegrind.lsm.in | 6 ++--- kcachegrind/kcachegrind.spec.in | 20 ++++++++--------- kcachegrind/kcachegrind/Doxyfile | 2 +- kcachegrind/kcachegrind/Makefile.am | 32 +++++++++++++-------------- kcachegrind/kcachegrind/kcachegrind.desktop | 8 +++---- kcachegrind/kcachegrind/kcachegrindui.rc | 2 +- kcachegrind/kcachegrind/main.cpp | 8 +++---- kcachegrind/kcachegrind/x-kcachegrind.desktop | 6 ++--- kcachegrind/pics/Makefile.am | 4 ++-- kcachegrind/pics/hicolor/Makefile.am | 4 ++-- kcachegrind/version.h.in | 2 +- 19 files changed, 68 insertions(+), 68 deletions(-) (limited to 'kcachegrind') diff --git a/kcachegrind/ChangeLog b/kcachegrind/ChangeLog index b19b0fb8..05f3081e 100644 --- a/kcachegrind/ChangeLog +++ b/kcachegrind/ChangeLog @@ -7,7 +7,7 @@ with grouping on 2004/04/28 - * toplevel.h/cpp, kcachegrindui.rc + * toplevel.h/cpp, tdecachegrindui.rc - Switching Layouts * multiview.cpp: Removed some qDebug's * Same term fixes diff --git a/kcachegrind/Makefile.am b/kcachegrind/Makefile.am index 595471f5..e93f6afc 100644 --- a/kcachegrind/Makefile.am +++ b/kcachegrind/Makefile.am @@ -1,6 +1,6 @@ -SUBDIRS = kcachegrind pics converters +SUBDIRS = tdecachegrind pics converters EXTRA_DIST = \ AUTHORS COPYING NEWS ChangeLog INSTALL README TODO \ - kcachegrind.lsm kcachegrind.spec version.h + tdecachegrind.lsm tdecachegrind.spec version.h diff --git a/kcachegrind/README b/kcachegrind/README index 30fee51e..0866eb82 100644 --- a/kcachegrind/README +++ b/kcachegrind/README @@ -54,7 +54,7 @@ KCachegrind features Most important: TreeMap calltree visualisation. For the rest, see the detailed "What's this?" help for each part of KCachegrind and the quick starter on the -WWW page ( http://kcachegrind.sourceforge.net/cgi-bin/show.cgi ) +WWW page ( http://tdecachegrind.sourceforge.net/cgi-bin/show.cgi ) diff --git a/kcachegrind/configure.in.in b/kcachegrind/configure.in.in index 22701fc8..dfc85085 100644 --- a/kcachegrind/configure.in.in +++ b/kcachegrind/configure.in.in @@ -1,8 +1,8 @@ -KCACHEGRIND_VERSION=0.4.6kde -AC_SUBST(KCACHEGRIND_VERSION) +TDECACHEGRIND_VERSION=0.4.6kde +AC_SUBST(TDECACHEGRIND_VERSION) AC_FUNC_MMAP -dnl AC_OUTPUT( kcachegrind/version.h ) -dnl AC_OUTPUT( kcachegrind/kcachegrind.spec ) -dnl AC_OUTPUT( kcachegrind/kcachegrind.lsm ) +dnl AC_OUTPUT( tdecachegrind/version.h ) +dnl AC_OUTPUT( tdecachegrind/tdecachegrind.spec ) +dnl AC_OUTPUT( tdecachegrind/tdecachegrind.lsm ) diff --git a/kcachegrind/converters/README b/kcachegrind/converters/README index 6a1c46c5..c27d3c6d 100644 --- a/kcachegrind/converters/README +++ b/kcachegrind/converters/README @@ -18,7 +18,7 @@ Thanks go to hotshot2calltree If you want to write a converter, have a look at the calltree format -description on the web site (kcachegrind.sf.net). +description on the web site (tdecachegrind.sf.net). Josef diff --git a/kcachegrind/converters/dprof2calltree b/kcachegrind/converters/dprof2calltree index 940457c8..f276e188 100644 --- a/kcachegrind/converters/dprof2calltree +++ b/kcachegrind/converters/dprof2calltree @@ -53,7 +53,7 @@ # This creates a cachegrind-style file called cachgrind.out.tmon.out or # cachegrind.out.foo, respecitvely. # -# 3) Run kcachegrind cachegrind.out.foo +# 3) Run tdecachegrind cachegrind.out.foo # # 4) Enjoy! @@ -171,7 +171,7 @@ foreach my $specifier ( keys %$tree ) { } $output .= "\n"; } -print STDERR "Writing kcachegrind output to $outfile\n"; +print STDERR "Writing tdecachegrind output to $outfile\n"; $outfd->print($output); diff --git a/kcachegrind/converters/hotshot2calltree b/kcachegrind/converters/hotshot2calltree index 4eb8f7de..f62a46e3 100644 --- a/kcachegrind/converters/hotshot2calltree +++ b/kcachegrind/converters/hotshot2calltree @@ -21,7 +21,7 @@ # # # This script transforms the pstat output of the hotshot -# python profiler into the input of kcachegrind. +# python profiler into the input of tdecachegrind. # # example usage: # modify you python script to run this code: @@ -40,8 +40,8 @@ # or here: # hotshot2cachegrind cachegrind.out.0 pythongrind.prof # -# then call kcachegrind: -# kcachegrind cachegrind.out.0 +# then call tdecachegrind: +# tdecachegrind cachegrind.out.0 # # TODO: # * es gibt Probleme mit rekursiven (direkt und indirekt) Aufrufen - dann @@ -140,7 +140,7 @@ def updateStatus(filecount): sys.stdout.write("reading File #%d \r" % filecount) sys.stdout.flush() def convertProfFiles(output, inputfilenames): - """convert all the given input files into one kcachegrind + """convert all the given input files into one tdecachegrind input file. """ call_dict = {} @@ -207,7 +207,7 @@ def handleCostPerPos(cost_per_pos, pos, current_cost): cost_per_pos[filename] = file_dict def convertProfFile(inputfilename, caller_stack, call_dict, cost_per_pos, cost_per_function): - """convert a single input file into one kcachegrind + """convert a single input file into one tdecachegrind data. this is the most expensive function in this python source :-) @@ -276,7 +276,7 @@ class TagWriter: # self.output.write("%s=%s\n" % (tag, value)) def dumpResults(output, call_dict, total_cost, cost_per_pos, cost_per_function): - """write the collected results in the format kcachegrind + """write the collected results in the format tdecachegrind could read. """ # the intro @@ -319,7 +319,7 @@ def dumpResults(output, call_dict, total_cost, cost_per_pos, cost_per_function): output.write("calls=%d\n%d %d\n" % (count, caller_x[1], cost)) tagwriter.clear() #tagwriter.clearTag("cob") - # is it a bug in kcachegrind, that the "cob=xxx" line has + # is it a bug in tdecachegrind, that the "cob=xxx" line has # to be rewritten after a calls entry with costline ? #assert cost <= total_cost, "caller_x: %s, per_caller_dict: %s " % (caller_x, per_caller_dict, ) #output.write("calls=%d\n%d %d\n" % (count, caller_x[1], cost)) diff --git a/kcachegrind/converters/pprof2calltree b/kcachegrind/converters/pprof2calltree index 59f8770d..0e70e1c2 100644 --- a/kcachegrind/converters/pprof2calltree +++ b/kcachegrind/converters/pprof2calltree @@ -34,7 +34,7 @@ # and is provided completely free and without any warranty. # # This script is designed to convert the pprof output from -# APD (http://pecl.php.net/apd/) to one readable by kcachegrind. To use +# APD (http://pecl.php.net/apd/) to one readable by tdecachegrind. To use # this script: # # 1) Install APD. @@ -204,7 +204,7 @@ foreach($tree as $caller => $data) { } print "\ntotals=$total_cost\n"; $buffer = ob_get_clean(); -print "Writing kcachegrind compatible output to $outfile\n"; +print "Writing tdecachegrind compatible output to $outfile\n"; fwrite($OUT, $buffer); function usage() diff --git a/kcachegrind/kcachegrind.lsm.in b/kcachegrind/kcachegrind.lsm.in index fba32141..fab7ceda 100644 --- a/kcachegrind/kcachegrind.lsm.in +++ b/kcachegrind/kcachegrind.lsm.in @@ -1,11 +1,11 @@ Begin3 -Title: kcachegrind -Version: @KCACHEGRIND_VERSION@ +Title: tdecachegrind +Version: @TDECACHEGRIND_VERSION@ Description: KDE Profiling Visualisation Tool Keywords: Profiling, Performance Analysis, Visualisation, Development Author: Josef Weidendorfer Maintained-by: Josef Weidendorfer -Home-page: http://kcachegrind.sourceforge.net +Home-page: http://tdecachegrind.sourceforge.net Platforms: Linux and other Unices Copying-policy: GNU Public License End diff --git a/kcachegrind/kcachegrind.spec.in b/kcachegrind/kcachegrind.spec.in index 060dd28e..42b3e24e 100644 --- a/kcachegrind/kcachegrind.spec.in +++ b/kcachegrind/kcachegrind.spec.in @@ -1,13 +1,13 @@ Summary: KDE Profiling Visualisation Tool -Name: kcachegrind -Version: @KCACHEGRIND_VERSION@ +Name: tdecachegrind +Version: @TDECACHEGRIND_VERSION@ Release: 1 Copyright: GPL Group: Development/Tools Vendor: (none) -URL: http://kcachegrind.sourceforge.net +URL: http://tdecachegrind.sourceforge.net Packager: Josef Weidendorfer -Source: kcachegrind-@KCACHEGRIND_VERSION@.tar.gz +Source: tdecachegrind-@TDECACHEGRIND_VERSION@.tar.gz BuildRoot: /var/tmp/build %description @@ -42,14 +42,14 @@ make -j$numprocs make install-strip DESTDIR=$RPM_BUILD_ROOT cd $RPM_BUILD_ROOT -find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.kcachegrind -find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kcachegrind -find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kcachegrind +find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.tdecachegrind +find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.tdecachegrind +find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.tdecachegrind %clean rm -rf $RPM_BUILD_ROOT/* -rm -rf $RPM_BUILD_DIR/kcachegrind -rm -rf ../file.list.kcachegrind +rm -rf $RPM_BUILD_DIR/tdecachegrind +rm -rf ../file.list.tdecachegrind -%files -f ../file.list.kcachegrind +%files -f ../file.list.tdecachegrind diff --git a/kcachegrind/kcachegrind/Doxyfile b/kcachegrind/kcachegrind/Doxyfile index 72db41bc..9d5d0501 100644 --- a/kcachegrind/kcachegrind/Doxyfile +++ b/kcachegrind/kcachegrind/Doxyfile @@ -2,7 +2,7 @@ #--------------------------------------------------------------------------- # General configuration options #--------------------------------------------------------------------------- -PROJECT_NAME = kcachegrind +PROJECT_NAME = tdecachegrind PROJECT_NUMBER = OUTPUT_DIRECTORY = OUTPUT_LANGUAGE = English diff --git a/kcachegrind/kcachegrind/Makefile.am b/kcachegrind/kcachegrind/Makefile.am index ce0c5351..53cd35d8 100644 --- a/kcachegrind/kcachegrind/Makefile.am +++ b/kcachegrind/kcachegrind/Makefile.am @@ -1,6 +1,6 @@ -bin_PROGRAMS = kcachegrind +bin_PROGRAMS = tdecachegrind -kcachegrind_SOURCES = \ +tdecachegrind_SOURCES = \ functionselectionbase.ui \ stackselectionbase.ui \ partselectionbase.ui \ @@ -19,24 +19,24 @@ kcachegrind_SOURCES = \ costlistitem.cpp partlistitem.cpp functionitem.cpp \ instritem.cpp stackitem.cpp callgraphview.cpp -kcachegrind_COMPILE_FIRST = ../version.h +tdecachegrind_COMPILE_FIRST = ../version.h -kcachegrind_LDADD = $(LIB_KIO) +tdecachegrind_LDADD = $(LIB_KIO) KDE_ICON = AUTO -xdg_apps_DATA = kcachegrind.desktop +xdg_apps_DATA = tdecachegrind.desktop mimeapplicationdir = $(kde_mimedir)/application -mimeapplication_DATA = x-kcachegrind.desktop +mimeapplication_DATA = x-tdecachegrind.desktop EXTRA_DIST = \ - kcachegrind.desktop \ - x-kcachegrind.desktop \ - hi32-app-kcachegrind.png \ - hi48-app-kcachegrind.png \ + tdecachegrind.desktop \ + x-tdecachegrind.desktop \ + hi32-app-tdecachegrind.png \ + hi48-app-tdecachegrind.png \ Doxyfile \ - kcachegrindui.rc + tdecachegrindui.rc # set the include path for X, qt and KDE INCLUDES= $(all_includes) @@ -44,19 +44,19 @@ INCLUDES= $(all_includes) METASOURCES = AUTO # the library search path. -kcachegrind_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +tdecachegrind_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor -rcdir = $(kde_datadir)/kcachegrind -rc_DATA = kcachegrindui.rc +rcdir = $(kde_datadir)/tdecachegrind +rc_DATA = tdecachegrindui.rc -tipdir = $(kde_datadir)/kcachegrind +tipdir = $(kde_datadir)/tdecachegrind tip_DATA = tips messages: rc.cpp $(PREPARETIPS) > tips.txt LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.txt`; \ if test -n "$$LIST"; then \ - $(XGETTEXT) $$LIST -o $(podir)/kcachegrind.pot; \ + $(XGETTEXT) $$LIST -o $(podir)/tdecachegrind.pot; \ fi rm -f tips.txt diff --git a/kcachegrind/kcachegrind/kcachegrind.desktop b/kcachegrind/kcachegrind/kcachegrind.desktop index 84088653..70893707 100644 --- a/kcachegrind/kcachegrind/kcachegrind.desktop +++ b/kcachegrind/kcachegrind/kcachegrind.desktop @@ -1,10 +1,10 @@ # KDE Config File [Desktop Entry] Type=Application -Exec=kcachegrind -caption "%c" %i %m %u -MimeType=application/x-kcachegrind; -Icon=kcachegrind -DocPath=kcachegrind/index.html +Exec=tdecachegrind -caption "%c" %i %m %u +MimeType=application/x-tdecachegrind; +Icon=tdecachegrind +DocPath=tdecachegrind/index.html Terminal=false Name=KCachegrind Name[hi]=के-केश-ग्रिंड diff --git a/kcachegrind/kcachegrind/kcachegrindui.rc b/kcachegrind/kcachegrind/kcachegrindui.rc index af9b8dcd..9531829e 100644 --- a/kcachegrind/kcachegrind/kcachegrindui.rc +++ b/kcachegrind/kcachegrind/kcachegrindui.rc @@ -1,5 +1,5 @@ - + &File diff --git a/kcachegrind/kcachegrind/main.cpp b/kcachegrind/kcachegrind/main.cpp index 80455ea0..fd9df1b8 100644 --- a/kcachegrind/kcachegrind/main.cpp +++ b/kcachegrind/kcachegrind/main.cpp @@ -20,7 +20,7 @@ * KCachegrind startup */ -// for KCACHEGRIND_VERSION +// for TDECACHEGRIND_VERSION #include "../version.h" #include @@ -42,13 +42,13 @@ static KCmdLineOptions options[] = int main( int argc, char ** argv ) { - KAboutData aboutData("kcachegrind", + KAboutData aboutData("tdecachegrind", I18N_NOOP("KCachegrind"), - KCACHEGRIND_VERSION, + TDECACHEGRIND_VERSION, I18N_NOOP("KDE Frontend for Cachegrind"), KAboutData::License_GPL, I18N_NOOP("(C) 2002, 2003, 2004"), 0, - "http://kcachegrind.sf.net"); + "http://tdecachegrind.sf.net"); aboutData.addAuthor("Josef Weidendorfer", I18N_NOOP("Author/Maintainer"), "Josef.Weidendorfer@gmx.de"); diff --git a/kcachegrind/kcachegrind/x-kcachegrind.desktop b/kcachegrind/kcachegrind/x-kcachegrind.desktop index 671f89ac..b9bf93aa 100644 --- a/kcachegrind/kcachegrind/x-kcachegrind.desktop +++ b/kcachegrind/kcachegrind/x-kcachegrind.desktop @@ -37,8 +37,8 @@ Comment[tg]=Дампи профилкунии Cachegrind/Callgrind Comment[uk]=Звалювання профілювання Cachegrind/Callgrind Comment[zh_CN]=Cachegrind/Callgrind 配置文件转存 Comment[zh_TW]=Cachegrind/Callgrind 分析資料傾印 -DefaultApp=kcachegrind -Icon=kcachegrind +DefaultApp=tdecachegrind +Icon=tdecachegrind Type=MimeType -MimeType=application/x-kcachegrind +MimeType=application/x-tdecachegrind Patterns=cachegrind.out*;callgrind.out* diff --git a/kcachegrind/pics/Makefile.am b/kcachegrind/pics/Makefile.am index a899c7b2..f4a31867 100644 --- a/kcachegrind/pics/Makefile.am +++ b/kcachegrind/pics/Makefile.am @@ -1,3 +1,3 @@ -kcachegrindicondir = $(kde_datadir)/kcachegrind/icons -kcachegrindicon_ICON = AUTO +tdecachegrindicondir = $(kde_datadir)/tdecachegrind/icons +tdecachegrindicon_ICON = AUTO SUBDIRS = hicolor diff --git a/kcachegrind/pics/hicolor/Makefile.am b/kcachegrind/pics/hicolor/Makefile.am index be8b0c26..068e3192 100644 --- a/kcachegrind/pics/hicolor/Makefile.am +++ b/kcachegrind/pics/hicolor/Makefile.am @@ -1,2 +1,2 @@ -kcachegrindicondir = $(kde_datadir)/kcachegrind/icons -kcachegrindicon_ICON = AUTO +tdecachegrindicondir = $(kde_datadir)/tdecachegrind/icons +tdecachegrindicon_ICON = AUTO diff --git a/kcachegrind/version.h.in b/kcachegrind/version.h.in index 21f758c7..d88081be 100644 --- a/kcachegrind/version.h.in +++ b/kcachegrind/version.h.in @@ -1 +1 @@ -#define KCACHEGRIND_VERSION "@KCACHEGRIND_VERSION@" +#define TDECACHEGRIND_VERSION "@TDECACHEGRIND_VERSION@" -- cgit v1.2.1