User:Tstaerk: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
* [[Talk:Development/Tutorials/D-Bus/Introduction]] | * [[Talk:Development/Tutorials/D-Bus/Introduction]] | ||
* http://cia.vc/stats/author/tstaerk | * http://cia.vc/stats/author/tstaerk | ||
= Current problem = | = Current problem = | ||
I need to | I need to use | ||
./ | svn co svn+ssh://tstaerk@svn.kde.org/home/kde/trunk/ | ||
= What I have done = | = What I have done = | ||
* [[Getting Started/Build/KDE4]] | * [[Getting Started/Build/KDE4]] | ||
* http://wiki.kde.org/tiki-index.php?page=ProgrammingTutorial%2Fdbus | * http://wiki.kde.org/tiki-index.php?page=ProgrammingTutorial%2Fdbus | ||
= KnowHow = | = KnowHow = | ||
make a non-debug-release => cmake -DCMAKE_BUILD_TYPE=Release . && make && make install | make a non-debug-release => cmake -DCMAKE_BUILD_TYPE=Release . && make && make install | ||
Line 20: | Line 16: | ||
= Wiki2mindMap = | = Wiki2mindMap = | ||
Here's how I draw a mindmap of this wiki: | Here's how I draw a mindmap of this wiki: | ||
== Download all pages == | == Download all pages == |
Revision as of 18:29, 14 September 2010
Current problem
I need to use
svn co svn+ssh://[email protected]/home/kde/trunk/
What I have done
KnowHow
make a non-debug-release => cmake -DCMAKE_BUILD_TYPE=Release . && make && make install
On suse, install into /usr/lib64 instead of /usr/lib => libsuffix, see http://bugs.scribus.net/view.php?id=6010
Wiki2mindMap
Here's how I draw a mindmap of this wiki:
Download all pages
wget http://developernew.kde.org/Special:Allpages cat >spider<<EOF #!/usr/bin/perl require HTML::LinkExtor; \$p = HTML::LinkExtor->new(\&parse, ""); sub parse { my(\$tag, %links) = @_; my (\$att, \$url) = @{[%links]}; print "\$url\n"; } \$p->parse_file(\$ARGV[0]); EOF chmod 777 spider
./spider Special\:Allpages | \ grep "^/" | \ grep -v ":" | \ grep -v "?" | \ while read a do wget "http://developernew.kde.org$a" done
for file in $(ls --ignore="*:*") do ./spider $file | \ grep "^/" | \ grep -v ":" | \ grep -v "?" | \ grep -v "Main_Page" | \ grep -v "Getting_Started$" | \ grep -v "/Contribute$" | \ grep -v "^/Projects$" | \ grep -v "^/Development$" | \ grep -v "^/Policies$" | \ grep -v "^/Projects$" | \ grep -v "^/Projects/NamingTheWiki$" | \ grep -v "^/Schedules$" | \ grep -v "^/favicon.ico$" | \ grep -v "/opensearch_desc.php$" | \ grep -v "^/$" | \ grep -v ".png$" | \ grep -v "^/Development/Tutorials$" | \ sed "s;^/.*/;;" | \ while read file2 do echo "\"$file\" -> \"$file2\"" done done >datei
echo "# to create a ps file use 'dot -Tps -o graph.ps graph.dot' (dot it part of the graphviz package)" > graph.dot echo "digraph \"Wikimap\" { " >> graph.dot cat datei >>graph.dot echo "}" >> graph.dot dot -Tps -o graph.ps graph.dot