NetBSD-Users archive

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

Re: Do you know if this tiling window manager can compile from source ?



I was able to build it - it needs xinerama from base and xcb-util-wm
from pkgsrc; I had to:

.....

diff --git a/Makefile b/Makefile
index 9cbedc2..b6dbc92 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
 VERCMD  ?= git describe --tags 2> /dev/null
 VERSION := $(shell $(VERCMD) || cat VERSION)

-CPPFLAGS += -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
+CPPFLAGS += -I/usr/pkg/include -I/usr/X11R7/include
-D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
 CFLAGS   += -std=c99 -pedantic -Wall -Wextra -DJSMN_STRICT
-LDFLAGS  ?=
+LDFLAGS  ?= -R/usr/pkg/lib -L/usr/pkg/lib -R/usr/X11R7/lib -L/usr/X11R7/lib
 LDLIBS    = $(LDFLAGS) -lm -lxcb -lxcb-util -lxcb-keysyms -lxcb-icccm
-lxcb-ewmh -lxcb-randr -lxcb-xinerama -lxcb-shape

 PREFIX    ?= /usr/local

...

Surely not a recommended way, but builds... The order in CPPFLAGS and
LDFLAGS is necessary.



On Tue, 3 May 2022 at 20:16, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> On Tue, 3 May 2022 at 19:52, chris greek <chrisfromgreece%gmail.com@localhost> wrote:
> >
> > Do you know if this tiling window manager can compile from source ?
> > https://github.com/j-james/bspwm-rounded-corners
>
> I guess you must have seen wm/bspwm already, which builds fine (I
> haven't used it yet). The version is the same as the one in the git
> repo above; I don't know what is the difference between the two though
> ( /usr/pkgsrc/packages/All/bspwm-0.9.10.tgz ) .
>
> >
> > Thank you for your help it will be very helpful .
>
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index