diff options
Diffstat (limited to 'kalyptus/README')
-rw-r--r-- | kalyptus/README | 18 |
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 |