pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/i3 Update i3 to version 4.13.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3726c6b565fe
branches:  trunk
changeset: 366277:3726c6b565fe
user:      nros <nros%pkgsrc.org@localhost>
date:      Wed Aug 09 11:13:30 2017 +0000

description:
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:

 wm/i3/Makefile                  |  28 ++++++++++------------------
 wm/i3/PLIST                     |  14 +++++++++++++-
 wm/i3/distinfo                  |  16 ++++++++--------
 wm/i3/patches/patch-Makefile    |  12 ------------
 wm/i3/patches/patch-Makefile.in |  14 ++++++++++++++
 wm/i3/patches/patch-src_log.c   |   3 +++
 wm/i3/patches/patch-src_main.c  |   3 +++
 7 files changed, 51 insertions(+), 39 deletions(-)

diffs (170 lines):

diff -r 6e43d42df676 -r 3726c6b565fe wm/i3/Makefile
--- a/wm/i3/Makefile    Wed Aug 09 10:27:44 2017 +0000
+++ b/wm/i3/Makefile    Wed Aug 09 11:13:30 2017 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2017/04/19 11:24:39 jperkin Exp $
+# $NetBSD: Makefile,v 1.19 2017/08/09 11:13:30 nros Exp $
 #
 
-DISTNAME=      i3-4.12
-PKGREVISION=   3
+DISTNAME=      i3-4.13
 CATEGORIES=    wm
 MASTER_SITES=  http://i3wm.org/downloads/
 EXTRACT_SUFX=  .tar.bz2
@@ -12,34 +11,26 @@
 COMMENT=       Improved dynamic tiling window manager
 LICENSE=       modified-bsd
 
-USE_TOOLS+=    gmake bison lex yacc pkg-config perl
+GNU_CONFIGURE= yes
+USE_TOOLS+=    gmake bison lex yacc pkg-config perl:run
 USE_LANGUAGES= c99
-MAKE_JOBS_SAFE=        no
+
+CONFIGURE_ARGS+=--disable-builddir
 
 PKG_SYSCONFSUBDIR=     i3
-INSTALLATION_DIRS=     ${PKGMANDIR}/man1 share/doc/${PKGBASE}
 
 EGDIR=         ${PREFIX}/share/examples/i3
 CONF_FILES=    ${EGDIR}/config ${PKG_SYSCONFDIR}/config
 CONF_FILES+=   ${EGDIR}/config.keycodes ${PKG_SYSCONFDIR}/config.keycodes
 
-MAKE_ENV+=     SYSCONFDIR=${PKG_SYSCONFDIR:C/\/i3//}
-MAKE_ENV+=     DEBUG=0
-MAKE_ENV+=     SHM_SUPPORT=0
-
 REPLACE_PERL+= i3-dmenu-desktop
 REPLACE_PERL+= i3-migrate-config-to-v4
 REPLACE_PERL+= i3-save-tree
 
-SUBST_CLASSES+=                conf
-SUBST_STAGE.conf=      pre-install
-SUBST_MESSAGE.conf=    Change src/i3.mk to install conf files in share/examples
-SUBST_FILES.conf=      src/i3.mk
-SUBST_SED.conf=                -e s,$$\(SYSCONFDIR\),$$\(PREFIX\)/share/examples,g
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 
-post-install:
-       ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
-       ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+BUILD_DEPENDS+=                asciidoc-[0-9]*:../../textproc/asciidoc
 
 .include "../../devel/libev/buildlink3.mk"
 .include "../../devel/yajl/buildlink3.mk"
@@ -51,6 +42,7 @@
 .include "../../x11/xcb-util-cursor/buildlink3.mk"
 .include "../../x11/xcb-util-keysyms/buildlink3.mk"
 .include "../../x11/xcb-util-wm/buildlink3.mk"
+.include "../../x11/xcb-util-xrm/buildlink3.mk"
 .include "../../x11/libxcb/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXcursor/buildlink3.mk"
diff -r 6e43d42df676 -r 3726c6b565fe wm/i3/PLIST
--- a/wm/i3/PLIST       Wed Aug 09 10:27:44 2017 +0000
+++ b/wm/i3/PLIST       Wed Aug 09 11:13:30 2017 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.4 2016/05/01 09:39:58 degroote Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/08/09 11:13:30 nros Exp $
 bin/i3
 bin/i3-config-wizard
 bin/i3-dmenu-desktop
+bin/i3-dump-log
 bin/i3-input
 bin/i3-migrate-config-to-v4
 bin/i3-msg
@@ -28,6 +29,17 @@
 man/man1/i3bar.1
 share/applications/i3.desktop
 share/doc/i3/LICENSE
+share/doc/i3/debugging.html
+share/doc/i3/hacking-howto.html
+share/doc/i3/i3bar-protocol.html
+share/doc/i3/ipc.html
+share/doc/i3/layout-saving.html
+share/doc/i3/lib-i3test-test.html
+share/doc/i3/lib-i3test.html
+share/doc/i3/multi-monitor.html
+share/doc/i3/testsuite.html
+share/doc/i3/userguide.html
+share/doc/i3/wsbar.html
 share/examples/i3/config
 share/examples/i3/config.keycodes
 share/xsessions/i3-with-shmlog.desktop
diff -r 6e43d42df676 -r 3726c6b565fe wm/i3/distinfo
--- a/wm/i3/distinfo    Wed Aug 09 10:27:44 2017 +0000
+++ b/wm/i3/distinfo    Wed Aug 09 11:13:30 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2016/05/01 09:39:58 degroote Exp $
+$NetBSD: distinfo,v 1.11 2017/08/09 11:13:30 nros Exp $
 
-SHA1 (i3-4.12.tar.bz2) = 264e682c7404ee8d5da76e3d652c546db1662a2b
-RMD160 (i3-4.12.tar.bz2) = 65d74a4ddc775d7e5888c72cf72fbb43873dd9e0
-SHA512 (i3-4.12.tar.bz2) = 966f62dbd82c6c70d1344cc61f14f154f3f649ce1b5a5b5168f00f50d598582ef26f5bd5496ea62e13213e45b1c7043f6209c94fcbefe2947fec63284445c1f5
-Size (i3-4.12.tar.bz2) = 988084 bytes
-SHA1 (patch-Makefile) = 919f0e87efa951bde531b9172b74589d3e1c474a
-SHA1 (patch-src_log.c) = 3d2a869a79e9ae851c6044752d1d0b3d2a4b0ee2
-SHA1 (patch-src_main.c) = 98428db66fed3352ee8f76ad43930b0418079b01
+SHA1 (i3-4.13.tar.bz2) = f4ca5c9023563f42be9c36b605c7a18d6f70114a
+RMD160 (i3-4.13.tar.bz2) = 7d085216b2e7d53fad9bbb0bb9782d8998702710
+SHA512 (i3-4.13.tar.bz2) = 1bb1044e8d86e78d3ccb79d49f0eb26665dcd05a348058a5e57138151d74f57d77830efc3025893170fe1b8ec612f739f75247a427410f96286b09afd2c5f14c
+Size (i3-4.13.tar.bz2) = 1121298 bytes
+SHA1 (patch-Makefile.in) = 9908543534c88946dd8a430cd208814cae0a03a1
+SHA1 (patch-src_log.c) = 4d703eea9609e9b7cc53d85895f0860d085b1f84
+SHA1 (patch-src_main.c) = 8d84ec8da864ffb041f22c53f587105acea00cf8
diff -r 6e43d42df676 -r 3726c6b565fe wm/i3/patches/patch-Makefile
--- a/wm/i3/patches/patch-Makefile      Wed Aug 09 10:27:44 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 6e43d42df676 -r 3726c6b565fe wm/i3/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/i3/patches/patch-Makefile.in   Wed Aug 09 11:13:30 2017 +0000
@@ -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 -r 6e43d42df676 -r 3726c6b565fe wm/i3/patches/patch-src_log.c
--- a/wm/i3/patches/patch-src_log.c     Wed Aug 09 10:27:44 2017 +0000
+++ b/wm/i3/patches/patch-src_log.c     Wed Aug 09 11:13:30 2017 +0000
@@ -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 -r 6e43d42df676 -r 3726c6b565fe wm/i3/patches/patch-src_main.c
--- a/wm/i3/patches/patch-src_main.c    Wed Aug 09 10:27:44 2017 +0000
+++ b/wm/i3/patches/patch-src_main.c    Wed Aug 09 11:13:30 2017 +0000
@@ -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 @@



Home | Main Index | Thread Index | Old Index