On Fri 15/02/2019 12:29, Stuart Henderson wrote:
> This is a fork of i3, adding mouse-drag support for tiles.
> 
> It's been sitting in a PR for ages which has not been moving
> particularly quickly, but I find it extremely useful and would like
> to add it as a separate port for now, hopefully one day it will be
> merged and this can be removed again.
> 
> Any OKs?
> 

Although i3 is not my go-to WM I do use it from time to time. I played a
bit with the mouse-drag functionality, and I really like it. Lets see if
it sticks with me.

I would prefer to have this feature committed upstream, and not
addressed as a separate ports. That said, I do not have any objections
against importing it.

To get this port to build I had to add some AUTO*-goo to Makefile:


diff -u i3-mousedrag/Makefile i3/Makefile
--- i3-mousedrag.orig/Makefile  Fri Feb 15 13:28:27 2019
+++ i3-mousedrag/Makefile       Fri Feb 15 17:31:38 2019
@@ -24,7 +24,9 @@
 WANTLIB += xkbcommon-x11 yajl
 
 BUILD_DEPENDS =        textproc/asciidoc \
-               textproc/xmlto
+               textproc/xmlto \
+               ${MODGNU_AUTOCONF_DEPENDS} \
+               ${MODGNU_AUTOMAKE_DEPENDS}
 LIB_DEPENDS =  devel/libev \
                devel/libyajl>=2.0.0 \
                devel/pango \
@@ -52,8 +54,12 @@
                LDFLAGS="-L${X11BASE}/lib \
                         -L${LOCALBASE}/lib"
 
+AUTOCONF_VERSION =     2.69
+AUTOMAKE_VERSION =     1.15
+
 post-extract:
-       cd ${WRKSRC}; AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.15 autoreconf -fi
+       cd ${WRKSRC}; AUTOCONF_VERSION=${AUTOCONF_VERSION} \
+               AUTOMAKE_VERSION=${AUTOMAKE_VERSION} autoreconf -fi
 
 pre-configure:
        ${SUBST_CMD} ${WRKSRC}/etc/config \

Reply via email to