User:Tstaerk: Difference between revisions

From KDE TechBase
mNo edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
= My sites =
* http://www.staerk.de/thorsten
* http://www.linuxintro.org
= My bookmarks =
* [[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 =
= open a new repo =
I cannot install kdepimlibs from trunk, I get the error message
http://sysadmin.kde.org/svnaccount/repo-request.php
/root/svn/kdepimlibs/kpimutils/linklocator.cpp:65: undefined reference to `KEmoticons::KEmoticons()'
make VERBOSE delivers the failed command:
cd /root/svn/kdepimlibs/kpimutils && /usr/bin/cmake -E cmake_link_script CMakeFiles/kpimutils.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -g3 -fno-inline -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  -shared -Wl,-soname,libkpimutils.so.4 -o ../lib/libkpimutils.so.4.2.0 CMakeFiles/kpimutils.dir/kpimutils_automoc.o CMakeFiles/kpimutils.dir/email.o CMakeFiles/kpimutils.dir/linklocator.o CMakeFiles/kpimutils.dir/spellingfilter.o CMakeFiles/kpimutils.dir/kfileio.o -L/root/svn/kdepimlibs/lib -lkdecore -lQtSvg -lQtGui -lkdeui -lkutils ../lib/libkmime.so.4.2.0 -lQtDBus -lQtCore -lpthread -lkdecore -Wl,-rpath,/root/svn/kdepimlibs/lib
These commands deliver the same error message. Emoticons are defined in libkutils.so. libkutils.so is missing for me in /usr/lib64, but available in /usr/lib. I can fix the compile command by adding
-L/usr/lib to the command
I can fix the make by doing
cp /usr/lib/libkutils.so /usr/lib64


== Why is libkutils not installed in /usr/lib64? ==
= legacy svn =
I need to use
svn co svn+ssh://[email protected]/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 27: Line 24:


= 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 ==
Line 73: Line 69:
   sed "s;^/.*/;;" | \
   sed "s;^/.*/;;" | \
   while read file2
   while read file2
   do echo "$file -> $file2"  
   do echo "\"$file\" -> \"$file2\""  
   done
   done
  done >datei
  done >datei
Line 83: Line 79:
   
   
  dot -Tps -o graph.ps graph.dot
  dot -Tps -o graph.ps graph.dot
= Eclipse as IDE =
* http://javathreads.de/2008/07/subversion-unter-eclipse-ganymede-konfigurieren/
* http://nienhueser.de/blog/?p=19

Latest revision as of 08:05, 3 November 2012

My sites

My bookmarks

open a new repo

http://sysadmin.kde.org/svnaccount/repo-request.php

legacy svn

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

Eclipse as IDE