summaryrefslogtreecommitdiff
path: root/x11-terms/sakura/files
diff options
context:
space:
mode:
authorSimeon Simeonov2020-07-03 19:36:47 +0200
committerSimeon Simeonov2020-07-03 19:36:47 +0200
commite3b835989ec5f1aa370e8e791aa0d4be6bd2eb45 (patch)
treedcb92058814908cb6a290d66178ed5d6aadeb173 /x11-terms/sakura/files
parentec00f787cd84d1a6c8063177d6e7207bef437eff (diff)
Removing x11-terms/sakura as single tab patch went upstream
Diffstat (limited to 'x11-terms/sakura/files')
-rw-r--r--x11-terms/sakura/files/sakura-3.7.0-gentoo.patch23
-rw-r--r--x11-terms/sakura/files/sakura-3.7.0-single-tab.patch13
2 files changed, 0 insertions, 36 deletions
diff --git a/x11-terms/sakura/files/sakura-3.7.0-gentoo.patch b/x11-terms/sakura/files/sakura-3.7.0-gentoo.patch
deleted file mode 100644
index ab1d8be..0000000
--- a/x11-terms/sakura/files/sakura-3.7.0-gentoo.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1--- a/CMakeLists.txt
2+++ b/CMakeLists.txt
3@@ -38,12 +38,6 @@
4 ADD_DEFINITIONS (-DDATADIR="${CMAKE_INSTALL_PREFIX}/share")
5 ADD_DEFINITIONS (-DBUILDTYPE="${CMAKE_BUILD_TYPE}")
6
7-IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
8- SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
9-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
10- SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-deprecated-declarations")
11-ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
12-
13 INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})
14 LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS} ${X11_LIBRARY_DIRS})
15 LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} ${X11_LIBRARIES} m)
16@@ -57,7 +51,6 @@
17 IF (POD2MAN)
18 INSTALL (FILES ${sakura_BINARY_DIR}/sakura.1 DESTINATION share/man/man1)
19 ENDIF (POD2MAN)
20-INSTALL (FILES INSTALL DESTINATION share/doc/sakura)
21
22 FILE (GLOB MO_FILES po/*.mo)
23
diff --git a/x11-terms/sakura/files/sakura-3.7.0-single-tab.patch b/x11-terms/sakura/files/sakura-3.7.0-single-tab.patch
deleted file mode 100644
index ddd0cec..0000000
--- a/x11-terms/sakura/files/sakura-3.7.0-single-tab.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1diff -rupN sakura-3.7.0.old/src/sakura.c sakura-3.7.0/src/sakura.c
2--- sakura-3.7.0.old/src/sakura.c 2019-08-12 23:13:08.000000000 +0200
3+++ sakura-3.7.0/src/sakura.c 2019-12-01 20:21:29.067142517 +0100
4@@ -511,6 +511,9 @@ sakura_key_press (GtkWidget *widget, Gdk
5 if ( ((event->state & sakura.switch_tab_accelerator) == sakura.switch_tab_accelerator) &&
6 ((event->state & sakura.move_tab_accelerator) != sakura.move_tab_accelerator) ) {
7
8+ /* Just propagate the event if there is only one tab */
9+ if(npages < 2) return FALSE;
10+
11 if ((keycode>=sakura_tokeycode(GDK_KEY_1)) && (keycode<=sakura_tokeycode( GDK_KEY_9))) {
12
13 /* User has explicitly disabled this branch, make sure to propagate the event */