[BACK]Return to patch-src_plugins_tiling.diff CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / wm / chunkwm / patches

File: [cvs.NetBSD.org] / pkgsrc / wm / chunkwm / patches / patch-src_plugins_tiling.diff (download)

Revision 1.1, Tue Apr 2 01:49:09 2019 UTC (11 months, 3 weeks ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, HEAD

Initial addition of chunkwm-0.4.8:

chunkwm is a tiling window manager for macOS that uses a plugin
architecture, successor to kwm.  chunkwm represents windows as the
leaves of a binary tree, and supports binary space partitioned, monocle
and floating desktops.

Development is happening on macOS Mojave (10.14), but OSX El Capitan
(10.11.6) and newer should work fine.  Older versions may or may not be
compatible and will not be officially supported.

chunkwm is controlled via the chunkc command-line utility, which sends
commands to chunkwm to manipulate windows.

chunkwm does not handle any keyboard input.  A third party program (e.g.
skhd) is needed to map keyboard events to chunkwm actions via chunkc.

$NetBSD: patch-src_plugins_tiling.diff,v 1.1 2019/04/02 01:49:09 jmmv Exp $

Avoid references to the work directory in the built .so plugins.
We rely on the pkgsrc Makefile to set PLUGINSDIR at build time.

--- src/plugins/tiling/makefile.orig	2019-02-24 16:52:45.000000000 +0000
+++ src/plugins/tiling/makefile
@@ -5,7 +5,7 @@ DEV_BIN_PATH	= ./../../../plugins
 SRC				= ./plugin.mm
-LINK			= -shared -fPIC -framework Carbon -framework Cocoa -framework ApplicationServices
+LINK			= -shared -fPIC -framework Carbon -framework Cocoa -framework ApplicationServices -Wl,-install_name -Wl,$(PLUGINSDIR)/tiling.so
 NOW := $(shell date "+%s")