[BACK]Return to patch-src_plugins_border.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_border.diff (download)

Revision 1.1, Tue Apr 2 01:49:09 2019 UTC (5 years ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, 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_border.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/border/makefile.orig	2019-02-24 16:52:45.000000000 +0000
+++ src/plugins/border/makefile
@@ -5,7 +5,7 @@ DEV_BIN_PATH	= ./../../../plugins
 DEV_BUILD_PATH	= ./bin
 DEV_BINS		= $(DEV_BUILD_PATH)/border
 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)/border.so
 DIR := ${CURDIR}
 NOW := $(shell date "+%s")