summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
Diffstat (limited to 'wm')
-rw-r--r--wm/i3/Makefile26
-rw-r--r--wm/i3/PLIST14
-rw-r--r--wm/i3/distinfo16
-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
7 files changed, 50 insertions, 38 deletions
diff --git a/wm/i3/Makefile b/wm/i3/Makefile
index acf213a63ca..c0c680f67c5 100644
--- a/wm/i3/Makefile
+++ b/wm/i3/Makefile
@@ -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,35 +11,27 @@ HOMEPAGE= http://i3wm.org/
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_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"
.include "../../devel/pango/buildlink3.mk"
@@ -51,6 +42,7 @@ post-install:
.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 --git a/wm/i3/PLIST b/wm/i3/PLIST
index 4432e59c64d..2ee90b0e165 100644
--- a/wm/i3/PLIST
+++ b/wm/i3/PLIST
@@ -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/i3.1
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 --git a/wm/i3/distinfo b/wm/i3/distinfo
index 38c8e8f0906..a73bbdc8904 100644
--- a/wm/i3/distinfo
+++ b/wm/i3/distinfo
@@ -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 --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 @@