Author: pdewacht-guest
Date: 2008-05-18 20:04:55 +0000 (Sun, 18 May 2008)
New Revision: 7098

Modified:
   packages/trunk/kikithebot/debian/kikithebot.install
   packages/trunk/kikithebot/debian/rules
Log:
add a few comments about SWIG


Modified: packages/trunk/kikithebot/debian/kikithebot.install
===================================================================
--- packages/trunk/kikithebot/debian/kikithebot.install 2008-05-18 20:01:52 UTC 
(rev 7097)
+++ packages/trunk/kikithebot/debian/kikithebot.install 2008-05-18 20:04:55 UTC 
(rev 7098)
@@ -1,7 +1,7 @@
 debian/*.xpm            usr/share/pixmaps/
 debian/*.desktop        usr/share/applications/
 
-# This is coupled to the SWIG-generated C++ code, so putting it in the -data
-# package seems a bad idea. (What if kikithebot and kikithebot-data are
-# generated with different versions of SWIG?)
+# It seems best that kiki.py and KikiPy_wrap.cpp are generated by the same
+# version of SWIG. Ensure this by putting kiki.py in the same package as
+# the kiki binary.
 SWIG/kiki.py            usr/share/games/kikithebot/py/

Modified: packages/trunk/kikithebot/debian/rules
===================================================================
--- packages/trunk/kikithebot/debian/rules      2008-05-18 20:01:52 UTC (rev 
7097)
+++ packages/trunk/kikithebot/debian/rules      2008-05-18 20:04:55 UTC (rev 
7098)
@@ -19,7 +19,7 @@
 build-stamp: configure-stamp 
        dh_testdir
 #      Add here commands to compile the package.
-       cd SWIG && swig -c++ -python -globals kiki -o KikiPy_wrap.cpp KikiPy.i
+       rm -f SWIG/KikiPy_wrap.cpp #force regeneration of SWIG bindings
        make -C kodilib/linux
        make -C linux \
                PYTHON_INCLUDES="$(shell python-config --include)" \


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to