Comment 11 for bug 1249157

Revision history for this message
DAP (darkness) wrote :

https://bugzilla.novell.com/show_bug.cgi?id=853227#c1
<q>
This looks like a mis-understanding from your end.

Were GTK built without GtkAction support, that would mean it would be binary
incompatible and any binary relying on it would crash.. clearly not the point.

What IS the case though is that GtkAction is deprecated and sakura defines in
the CmakeLists.txt thet deprecated symbols are not to be used.

This simple patch will help you build sakura, by allowing usage of deprecated
symbols (they are likely to stay around until GTK+ 4.0).

Cheers,

Index: sakura-3.1.2/CMakeLists.txt
===================================================================
--- sakura-3.1.2.orig/CMakeLists.txt
+++ sakura-3.1.2/CMakeLists.txt
@@ -38,7 +38,7 @@ ADD_DEFINITIONS (-DBUILDTYPE=\\\"${CMAKE
 IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
     SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
 ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
- SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-deprecated-declarations
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED")
+ SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-deprecated-declarations")
 ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")

 INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})