diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
commit | c719fdcee603a5a706a45d10cb598762d56a727d (patch) | |
tree | 620cbf137661399a3fb1eff92914204f9a970713 /x11-terms/sakura/files | |
parent | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff) |
gentoo resync : 25.09.2021
Diffstat (limited to 'x11-terms/sakura/files')
-rw-r--r-- | x11-terms/sakura/files/sakura-3.8.3-gentoo.patch | 15 | ||||
-rw-r--r-- | x11-terms/sakura/files/sakura-3.8.3-opacity.patch | 14 |
2 files changed, 29 insertions, 0 deletions
diff --git a/x11-terms/sakura/files/sakura-3.8.3-gentoo.patch b/x11-terms/sakura/files/sakura-3.8.3-gentoo.patch new file mode 100644 index 000000000000..c9f2c5a85f44 --- /dev/null +++ b/x11-terms/sakura/files/sakura-3.8.3-gentoo.patch @@ -0,0 +1,15 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -40,8 +40,2 @@ + +-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") +-ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug") +- + INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS}) +@@ -59,3 +53,2 @@ + ENDIF (POD2MAN) +-INSTALL (FILES README.md DESTINATION share/doc/sakura) + diff --git a/x11-terms/sakura/files/sakura-3.8.3-opacity.patch b/x11-terms/sakura/files/sakura-3.8.3-opacity.patch new file mode 100644 index 000000000000..4bb4ba88f189 --- /dev/null +++ b/x11-terms/sakura/files/sakura-3.8.3-opacity.patch @@ -0,0 +1,14 @@ +Fix regression with opacity not being applied on startup. +https://bugs.launchpad.net/sakura/+bug/1942665 +https://github.com/dabisu/sakura/pull/5 +--- a/src/sakura.c ++++ b/src/sakura.c +@@ -2180,4 +2180,8 @@ + gtk_widget_add_events(sakura.notebook, GDK_SCROLL_MASK); + ++ screen = gtk_widget_get_screen (GTK_WIDGET (sakura.main_window)); ++ GdkVisual *visual = gdk_screen_get_rgba_visual (screen); ++ if (visual != NULL && gdk_screen_is_composited (screen)) ++ gtk_widget_set_visual (GTK_WIDGET (sakura.main_window), visual); + + /*** Command line options initialization ***/ |