summaryrefslogtreecommitdiff
path: root/wm/i3/patches
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2017-08-09 11:13:30 +0000
committernros <nros@pkgsrc.org>2017-08-09 11:13:30 +0000
commit3b7d4483e9b3ace55bdcc896fd6891a79e0a460d (patch)
treea69714e56789d8904b9130a49b21a9a0cd57cc75 /wm/i3/patches
parentea596e2e62c7d06a16fd68d5f8f2958dcc82d70e (diff)
downloadpkgsrc-3b7d4483e9b3ace55bdcc896fd6891a79e0a460d.tar.gz
Update i3 to version 4.13.
Pkgsrc changes: Added comments and RCS tags to patches. Make perl a runtime dependency since installed runtime scripts uses it. Changes and bugfixes from release notes: Changes in 4.13: * build: wire up version handling for non-release tarballs (as opposed to git checkouts) * build: switch to the GNU build system * i3bar: disable pango markup for plain-text input * man/i3-msg: point out default ipc message type * config: introduce support for specifying variables from X resources * config: ensure variables match on longest-length, eliminating problems where one variable was a prefix of another * config: do not count '\' in comment lines as line continuation * ipc: introduce a new GET_BINDING_MODES command * ipc: implement new window::mark event * ipc: add ?output? to IPC events referencing a container * make fullscreen windows open on the output which is indicated by their geometry (fixes LibreOffice Impress multi-monitor presentations) * focus newly managed windows only if they don?t use the globally active input mode (fixes issues with RubyMine) * remove title indentation in nested containers (rationale was unclear, nobody spoke up when we asked about the feature on i3-discuss) * use the last known timestamp when calling xcb_set_input_focus (might fix rare race conditions in focus handling) * introduce the "smart" option for hide_edge_borders, which will hide borders when there is precisely one window on the workspace * handle _MOTIF_WM_HINTS changes (_MOTIF_WM_HINTS were previously only considered when managing a new window) * don?t change border style if BS_NORMAL is requested in _MOTIF_WM_HINTS * only add numlock fallback for keybindings where necessary (allows users to correctly bind keys on the numpad) * do not match docks in config and command criteria * get DPI from the Xft.dpi resource instead of directly looking at the screen resolution/size * handle _NET_ACTIVE_WINDOW for scratchpad windows (for pagers) * set _NET_WM_DESKTOP to sticky for scratchpad windows * add new criteria "tiling" and "floating" * implement special output name "current" for commands * handle ResizeRequests for tray clients (fixes VLC tray icon) Bugfixes in 4.13: * i3bar: fix crash when the I3SOCK environment variable is present * i3-dmenu-desktop: do not die on failed open * i3-input: properly position in non-standard cases (fixes an issue where i3-input would launch off-screen) * i3-save-tree: rename "mark" to "marks" to reflect our recent change to allow multiple marks * mouse bindings: only grab the mouse buttons that need to be grabbed * no_focus: correctly count the number of windows (makes no_focus work with tabbed/stacked workspace layouts). * properly close disabled outputs restored during a restart (this fixes state handling when RandR changes happen during i3 restarts) * don't trigger bindings on window border clicks unless --border was specified for the binding * traverse numbered workspaces in correct order fix transition from named to numbered workspaces in "workspace next|prev" * avoid setting urgency hint on content containers and above (fixes crashes) * don't trigger unrelated key bindings for --release bindings * fix colormap handling for containers (fixes taking screenshots using xwd) * check output crossing on ENTER_NOTIFY to dockarea (fixes pointer jumping) * fix a use-after-free bug (fixes "floating enable" on single split windows)
Diffstat (limited to 'wm/i3/patches')
-rw-r--r--wm/i3/patches/patch-Makefile12
-rw-r--r--wm/i3/patches/patch-Makefile.in14
-rw-r--r--wm/i3/patches/patch-src_log.c3
-rw-r--r--wm/i3/patches/patch-src_main.c3
4 files changed, 20 insertions, 12 deletions
diff --git a/wm/i3/patches/patch-Makefile b/wm/i3/patches/patch-Makefile
deleted file mode 100644
index 4e6434b1a9e..00000000000
--- a/wm/i3/patches/patch-Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1.1.1 2013/02/12 23:25:35 tonnerre Exp $
-
---- Makefile.orig 2012-11-25 16:04:42.000000000 +0000
-+++ Makefile
-@@ -18,7 +18,6 @@ include i3-msg/i3-msg.mk
- include i3-input/i3-input.mk
- include i3-nagbar/i3-nagbar.mk
- include i3bar/i3bar.mk
--include i3-dump-log/i3-dump-log.mk
- include docs/docs.mk
- include man/man.mk
-
diff --git a/wm/i3/patches/patch-Makefile.in b/wm/i3/patches/patch-Makefile.in
new file mode 100644
index 00000000000..a06e8ed0ae2
--- /dev/null
+++ b/wm/i3/patches/patch-Makefile.in
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile.in,v 1.1 2017/08/09 11:13:30 nros Exp $
+* install conf files in examples dir to follow the pkgsrc
+ way of installing conf files.
+--- Makefile.in.orig 2017-08-08 07:26:56.000000000 +0000
++++ Makefile.in
+@@ -749,7 +749,7 @@ dist_bin_SCRIPTS = \
+ i3-sensible-pager \
+ i3-sensible-terminal
+
+-i3confdir = $(sysconfdir)/i3
++i3confdir = $(datadir)/examples/i3
+ dist_i3conf_DATA = \
+ etc/config \
+ etc/config.keycodes
diff --git a/wm/i3/patches/patch-src_log.c b/wm/i3/patches/patch-src_log.c
index df1f2493f48..6beeaa265ab 100644
--- a/wm/i3/patches/patch-src_log.c
+++ b/wm/i3/patches/patch-src_log.c
@@ -1,3 +1,6 @@
+$NetBSD: patch-src_log.c,v 1.5 2017/08/09 11:13:30 nros Exp $
+* NetBSD versions below and 7 miss shm_open and shm_unlink
+* NetBSD versions below 8 miss pthread_condattr_pshared
--- src/log.c.orig 2016-03-06 15:17:18.000000000 +0000
+++ src/log.c 2016-05-01 10:51:32.392955298 +0000
@@ -116,6 +116,7 @@
diff --git a/wm/i3/patches/patch-src_main.c b/wm/i3/patches/patch-src_main.c
index 6d94c7bef0a..8983d11e455 100644
--- a/wm/i3/patches/patch-src_main.c
+++ b/wm/i3/patches/patch-src_main.c
@@ -1,3 +1,6 @@
+$NetBSD: patch-src_main.c,v 1.3 2017/08/09 11:13:30 nros Exp $
+* NetBSD versions lower than 7 does not have shm_open and shm_unlink
+ see patch-src_log.c
--- src/main.c.orig 2016-05-01 10:53:25.236039259 +0000
+++ src/main.c 2016-05-01 10:54:26.269651048 +0000
@@ -166,11 +166,13 @@