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")
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/CMakeList s.txt ======= ======= ======= ======= ======= ======= ======= ======= ==== 3.1.2.orig/ CMakeLists. txt 3.1.2/CMakeList s.txt \\\"${CMAKE BUILD_TYPE} MATCHES "Debug") BUILD_TYPE} NOT MATCHES "Debug") -declarations DEPRECATED -DGTK_DISABLE_ DEPRECATED" ) -declarations" ) BUILD_TYPE} MATCHES "Debug")
=======
--- sakura-
+++ sakura-
@@ -38,7 +38,7 @@ ADD_DEFINITIONS (-DBUILDTYPE=
IF (${CMAKE_
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
ELSE (${CMAKE_
- SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-deprecated
-DGDK_DISABLE_
+ SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-deprecated
ENDIF (${CMAKE_
INCLUDE_ DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_ DIRS})