summaryrefslogtreecommitdiffstats
path: root/kalyptus/README
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-01-08 20:06:00 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-08 20:06:00 +0100
commit636f509299122d02087c6fd62e1e4a46dbd22026 (patch)
tree70e43efceeb5b00e7f19cdac8da44928bd2fb459 /kalyptus/README
parent719b61750c08343f530068ed4127623aeac71cf0 (diff)
downloadtdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz
tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'kalyptus/README')
-rw-r--r--kalyptus/README18
1 files changed, 9 insertions, 9 deletions
diff --git a/kalyptus/README b/kalyptus/README
index 781ffe92..31b137ce 100644
--- a/kalyptus/README
+++ b/kalyptus/README
@@ -68,21 +68,21 @@ mv SlaveInterface.cpp Slave.cpp
mv SlaveInterface.java Slave.java
# Edit and Compile the generated java
-cd kdejava/koala/org/kde/koala
+cd tdejava/koala/org/trinitydesktop/koala
make
# Build C++ JNI .h header files
-cd qtjava/javalib/org/kde/qt
-for FILE in *.class ; do NAME=`echo $FILE | sed 's/.class//'`; echo $NAME; javah -classpath '../../..' org.kde.qt.$NAME ; done
-for FILE in org_kde* ; do NAME=`echo $FILE | sed -e 's/org_kde_qt_//'`; echo $NAME; mv $FILE $NAME; done
+cd qtjava/javalib/org/trinitydesktop/qt
+for FILE in *.class ; do NAME=`echo $FILE | sed 's/.class//'`; echo $NAME; javah -classpath '../../..' org.trinitydesktop.qt.$NAME ; done
+for FILE in org_trinitydesktop* ; do NAME=`echo $FILE | sed -e 's/org_trinitydesktop_qt_//'`; echo $NAME; mv $FILE $NAME; done
-cd kdejava/koala/org/kde/koala
-for FILE in *.class ; do NAME=`echo $FILE | sed 's/.class//'`; echo $NAME; javah -classpath '../../..:../../../../../qtjava/javalib/qtjava.jar' org.kde.koala.$NAME ; done
-for FILE in org_kde* ; do NAME=`echo $FILE | sed -e 's/org_kde_koala_//'`; echo $NAME; mv $FILE $NAME; done
-# Copy headers to kdejava/koala/kdejava
+cd tdejava/koala/org/trinitydesktop/koala
+for FILE in *.class ; do NAME=`echo $FILE | sed 's/.class//'`; echo $NAME; javah -classpath '../../..:../../../../../qtjava/javalib/qtjava.jar' org.trinitydesktop.koala.$NAME ; done
+for FILE in org_trinitydesktop* ; do NAME=`echo $FILE | sed -e 's/org_trinitydesktop_koala_//'`; echo $NAME; mv $FILE $NAME; done
+# Copy headers to tdejava/koala/tdejava
# Check that the JNI .h function names match the .cpp ones
-cd kdejava/koala/org/kde/koala
+cd tdejava/koala/org/trinitydesktop/koala
grep ^Java_ *.cpp | sed -e 's/^[^:]*:\([^(]*\).*/\1/' | grep -v '[/]' | sort | uniq > cpp.fns
grep Java_ *.h | awk '{ print $4 }' | grep -v '[/]' | sort | uniq > h.fns
kompare h.fns cpp.fns