Control: tag -1 + patch

Hi Yann,

sorry for the RC bug about tagua not being compatible with libkdegames 
4.10; apparently it slipped off my radar, apologies for this.

Attached there is a patch for making tagua build with newer libkdegames; 
as you can see, it is half-hack, since the KGameCanvas framework has 
been unmaintained and thus declared "private" (with the possibility to 
be removed in future KDE stable series) in favour of the QGraphicsView 
(or, more recently, QML) [1]. This means with the attached patch tagua 
will compile now, but might not in the future.
(Since tagua has not been developed for years and it has a low popcon, 
would it be the case to remove it in favour of other applications like 
knights?)

[1] http://community.kde.org/KDE_Games/API_cleanup

Thanks,
-- 
Pino Toscano
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -139,10 +139,12 @@
   ${Boost_INCLUDE_DIRS}
   ${BLITZ_INCLUDES}
   ${CMAKE_CURRENT_BINARY_DIR}
+  /usr/include/libkdegamesprivate/
 )
 
 add_definitions(
   ${LUA_CFLAGS}
+  -DUSE_UNSTABLE_LIBKDEGAMESPRIVATE_API
 )
 
 if(NOT DEFINED COMPILER_HAVE_X86_MMX)
@@ -188,6 +190,7 @@
   ${BLITZ_LIBRARIES}
   dl
   kdegames
+  kdegamesprivate
 )  
   
 if(DEBUG_BUILD)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to