Simple update to the latest version 4.16.
Works fine on amd64, OK?
Rafael Sadowski
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/i3/Makefile,v
retrieving revision 1.113
diff -u -p -u -p -r1.113 Makefile
--- Makefile 27 Jun 2018 21:04:12 -0000 1.113
+++ Makefile 27 Dec 2018 19:33:15 -0000
@@ -2,8 +2,7 @@
COMMENT = improved dynamic tiling window manager
-DISTNAME = i3-4.15
-REVISION = 0
+DISTNAME = i3-4.16
CATEGORIES = x11
@@ -45,10 +44,8 @@ USE_GMAKE = Yes
CONFIGURE_STYLE =gnu
CONFIGURE_ARGS =--enable-builddir=${WRKBUILD} \
--enable-debug=no
-CONFIGURE_ENV = CPPFLAGS="-I${X11BASE}/include \
- -I${LOCALBASE}/include" \
- LDFLAGS="-L${X11BASE}/lib \
- -L${LOCALBASE}/lib"
+CONFIGURE_ENV = CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
pre-configure:
${SUBST_CMD} ${WRKSRC}/etc/config \
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/i3/distinfo,v
retrieving revision 1.29
diff -u -p -u -p -r1.29 distinfo
--- distinfo 29 Mar 2018 21:05:32 -0000 1.29
+++ distinfo 27 Dec 2018 19:33:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (i3-4.15.tar.bz2) = IX1STR+8ha40ayX2hI0be80sIxhOyI0pEUv1piE4UyY=
-SIZE (i3-4.15.tar.bz2) = 1196263
+SHA256 (i3-4.16.tar.bz2) = zGCl9RjF43tBQ7ZEqEC7KtKmPqencZVMMyzVY322VbQ=
+SIZE (i3-4.16.tar.bz2) = 1213251
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/x11/i3/patches/patch-Makefile_in,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-Makefile_in
--- patches/patch-Makefile_in 29 Mar 2018 21:05:32 -0000 1.4
+++ patches/patch-Makefile_in 27 Dec 2018 19:33:15 -0000
@@ -2,7 +2,7 @@ $OpenBSD: patch-Makefile_in,v 1.4 2018/0
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
-@@ -752,10 +752,7 @@ i3include_HEADERS = \
+@@ -754,10 +754,7 @@ i3include_HEADERS = \
dist_bin_SCRIPTS = \
i3-dmenu-desktop \
i3-migrate-config-to-v4 \
@@ -14,7 +14,7 @@ Index: Makefile.in
i3confdir = $(sysconfdir)/i3
dist_i3conf_DATA = \
-@@ -911,9 +908,6 @@ docs_poddir = ${docdir}
+@@ -913,9 +910,6 @@ docs_poddir = ${docdir}
@BUILD_MANS_TRUE@ man/i3-nagbar.1 \
@BUILD_MANS_TRUE@ man/i3-config-wizard.1 \
@BUILD_MANS_TRUE@ man/i3-migrate-config-to-v4.1 \
@@ -24,7 +24,7 @@ Index: Makefile.in
@BUILD_MANS_TRUE@ man/i3-dump-log.1
@BUILD_MANS_TRUE@pod_MANS = \
-@@ -3174,7 +3168,7 @@ distclean-tags:
+@@ -3217,7 +3211,7 @@ distclean-tags:
# Leading 'am--fnord' is there to ensure the list of targets does not
# expand to empty, as could happen e.g. with make check TESTS=''.
@@ -33,7 +33,7 @@ Index: Makefile.in
am--force-recheck:
@:
-@@ -3740,7 +3734,7 @@ i3-config-parser.stamp: parser/$(dirstamp) generate-co
+@@ -3783,7 +3777,7 @@ i3-config-parser.stamp: parser/$(dirstamp) generate-co
################################################################################
anyevent-i3.stamp: AnyEvent-I3/lib/AnyEvent/I3.pm
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/x11/i3/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-configure
--- patches/patch-configure 4 Sep 2017 14:33:07 -0000 1.2
+++ patches/patch-configure 27 Dec 2018 19:33:15 -0000
@@ -2,7 +2,7 @@ $OpenBSD: patch-configure,v 1.2 2017/09/
Index: configure
--- configure.orig
+++ configure
-@@ -6388,7 +6388,7 @@ char iconv_open ();
+@@ -6392,7 +6392,7 @@ char iconv_open ();
int
main ()
{
Index: patches/patch-i3-nagbar_main_c
===================================================================
RCS file: /cvs/ports/x11/i3/patches/patch-i3-nagbar_main_c,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 patch-i3-nagbar_main_c
--- patches/patch-i3-nagbar_main_c 21 Oct 2017 19:22:04 -0000 1.13
+++ patches/patch-i3-nagbar_main_c 27 Dec 2018 19:33:15 -0000
@@ -3,16 +3,7 @@ $OpenBSD: patch-i3-nagbar_main_c,v 1.13
Index: i3-nagbar/main.c
--- i3-nagbar/main.c.orig
+++ i3-nagbar/main.c
-@@ -184,7 +184,7 @@ static void handle_button_release(xcb_connection_t *co
- }
-
- char *terminal_cmd;
-- sasprintf(&terminal_cmd, "i3-sensible-terminal -e %s", link_path);
-+ sasprintf(&terminal_cmd, "${X11BASE}/bin/xterm -e %s", link_path);
- printf("argv0 = %s\n", argv0);
- printf("terminal_cmd = %s\n", terminal_cmd);
-
-@@ -438,11 +438,6 @@ int main(int argc, char *argv[]) {
+@@ -454,11 +454,6 @@ int main(int argc, char *argv[]) {
font = load_font(pattern, true);
set_font(&font);
@@ -24,7 +15,7 @@ Index: i3-nagbar/main.c
xcb_rectangle_t win_pos = get_window_position();
xcb_cursor_t cursor;
-@@ -543,6 +538,11 @@ int main(int argc, char *argv[]) {
+@@ -562,6 +557,11 @@ int main(int argc, char *argv[]) {
/* Initialize the drawable bar */
draw_util_surface_init(conn, &bar, win, get_visualtype(root_screen),
win_pos.width, win_pos.height);
@@ -34,5 +25,5 @@ Index: i3-nagbar/main.c
+ err(EXIT_FAILURE, "pledge");
+#endif
- /* Grab the keyboard to get all input */
- xcb_flush(conn);
+ /* Startup complete. */
+ if (sncontext) {
Index: patches/patch-man_i3-config-wizard_man
===================================================================
RCS file: /cvs/ports/x11/i3/patches/patch-man_i3-config-wizard_man,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-man_i3-config-wizard_man
--- patches/patch-man_i3-config-wizard_man 13 Nov 2016 20:46:23 -0000
1.1
+++ patches/patch-man_i3-config-wizard_man 27 Dec 2018 19:33:15 -0000
@@ -1,7 +1,8 @@
$OpenBSD: patch-man_i3-config-wizard_man,v 1.1 2016/11/13 20:46:23 dcoppa Exp $
---- man/i3-config-wizard.man.orig Fri Nov 11 10:55:30 2016
-+++ man/i3-config-wizard.man Fri Nov 11 11:02:04 2016
-@@ -13,7 +13,7 @@ i3-config-wizard
+Index: man/i3-config-wizard.man
+--- man/i3-config-wizard.man.orig
++++ man/i3-config-wizard.man
+@@ -27,7 +27,7 @@ Display a short help message and exit.
== FILES
@@ -10,7 +11,7 @@ $OpenBSD: patch-man_i3-config-wizard_man
This file contains the default configuration with keycodes. All the bindcode
lines will be transformed to bindsym and the user-specified modifier will be
-@@ -23,7 +23,7 @@ used.
+@@ -37,7 +37,7 @@ used.
i3-config-wizard is started by i3 in its default config, unless ~/.i3/config
exists. i3-config-wizard creates a keysym based i3 config file (based on
Index: patches/patch-man_i3-nagbar_man
===================================================================
RCS file: /cvs/ports/x11/i3/patches/patch-man_i3-nagbar_man,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-man_i3-nagbar_man
--- patches/patch-man_i3-nagbar_man 13 Nov 2016 20:46:23 -0000 1.1
+++ patches/patch-man_i3-nagbar_man 27 Dec 2018 19:33:15 -0000
@@ -1,7 +1,8 @@
$OpenBSD: patch-man_i3-nagbar_man,v 1.1 2016/11/13 20:46:23 dcoppa Exp $
---- man/i3-nagbar.man.orig Tue Nov 8 19:54:01 2016
-+++ man/i3-nagbar.man Fri Nov 11 11:19:10 2016
-@@ -44,7 +44,7 @@ after modifying the configuration file.
+Index: man/i3-nagbar.man
+--- man/i3-nagbar.man.orig
++++ man/i3-nagbar.man
+@@ -50,7 +50,7 @@ after modifying the configuration file.
------------------------------------------------
i3-nagbar -m 'You have an error in your i3 config file!' \
Index: patches/patch-man_i3_man
===================================================================
RCS file: /cvs/ports/x11/i3/patches/patch-man_i3_man,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-man_i3_man
--- patches/patch-man_i3_man 4 Sep 2017 14:33:07 -0000 1.2
+++ patches/patch-man_i3_man 27 Dec 2018 19:33:15 -0000
@@ -2,17 +2,6 @@ $OpenBSD: patch-man_i3_man,v 1.2 2017/09
Index: man/i3.man
--- man/i3.man.orig
+++ man/i3.man
-@@ -172,8 +172,8 @@ When starting, i3 looks for configuration files in the
-
- 1. ~/.i3/config
- 2. ~/.config/i3/config (or $XDG_CONFIG_HOME/i3/config if set)
--3. /etc/i3/config
--4. /etc/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
-+3. ${SYSCONFDIR}/i3/config
-+4. ${SYSCONFDIR}/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
-
- You can specify a custom path using the -c option.
-
@@ -197,13 +197,13 @@ font pango:DejaVu Sans Mono 8
floating_modifier Mod1
Index: patches/patch-src_bindings_c
===================================================================
RCS file: /cvs/ports/x11/i3/patches/patch-src_bindings_c,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 patch-src_bindings_c
--- patches/patch-src_bindings_c 4 Sep 2017 14:33:07 -0000 1.7
+++ patches/patch-src_bindings_c 27 Dec 2018 19:33:15 -0000
@@ -2,7 +2,7 @@ $OpenBSD: patch-src_bindings_c,v 1.7 201
Index: src/bindings.c
--- src/bindings.c.orig
+++ src/bindings.c
-@@ -843,7 +843,7 @@ CommandResult *run_binding(Binding *bind, Con *con) {
+@@ -832,7 +832,7 @@ CommandResult *run_binding(Binding *bind, Con *con) {
if (result->parse_error) {
char *pageraction;
Index: patches/patch-src_manage_c
===================================================================
RCS file: /cvs/ports/x11/i3/patches/patch-src_manage_c,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 patch-src_manage_c
--- patches/patch-src_manage_c 29 Mar 2018 21:05:32 -0000 1.21
+++ patches/patch-src_manage_c 27 Dec 2018 19:33:15 -0000
@@ -5,7 +5,7 @@ Fix size hints for ssh-askpass
Index: src/manage.c
--- src/manage.c.orig
+++ src/manage.c
-@@ -501,10 +501,16 @@ void manage_window(xcb_window_t window, xcb_get_window
+@@ -499,10 +499,16 @@ void manage_window(xcb_window_t window, xcb_get_window
if (cwindow->dock)
want_floating = false;