commit f9ea89e

hovercats  ·  2024-11-06 07:46:12 +0000 UTC
parent 17a7977
glazier: remove vendored files
6 files changed,  +55, -37
+5, -1
 1@@ -8,7 +8,11 @@ make \
 2 	CFLAGS="$CFLAGS -I/usr/include"
 3 )
 4 
 5-make CFLAGS="$CFLAGS -Ilibwm"
 6+patch -p1 < 0001-exclude-ewmh-all-together.patch
 7+
 8+make CFLAGS="$CFLAGS -I./libwm" \
 9+	LDFLAGS="$LDFLAGS -L./libwm -lwm -lxcb -lXau -lxcb-cursor -lxcb-render -lxcb-render-util -lxcb-image -lxcb-shm -lxcb-util -lxcb-randr -static"
10+
11 make DESTDIR="$1" PREFIX=/usr install
12 
13 # Makefile doesnt install manpages
+1, -2
1@@ -1,4 +1,3 @@
2 d80ee3f5911336a114a1a653d2e1a449898dd7b29bb1e2b03c034981a5721aa435
3 9f74fa925179072461682ec362b6f9a557d2ea80fdde07e18e397ad7229f4dccc5
4-ed51de7690119d729f172934ee508fd660be1db60ac280a8679d15605e0a31b959
5-ea5c429529d48b7418e2da97603683c7249d674aea503b8c6e097b6e48878b542d
6+3b34d7ae091876399e635ed3ebf48193bcdd45038a2776d0c3efad0a9ae7a24d57
+0, -10
 1@@ -1,10 +0,0 @@
 2-CC = cc
 3-LD = ${CC}
 4-
 5-PREFIX = /usr/local
 6-MANDIR = ${PREFIX}/man
 7-
 8-CPPFLAGS = -I./libwm
 9-CFLAGS += -Wall -Wextra -pedantic -I/usr/include
10-LDFLAGS += -L./libwm ${LIBS} -static
11-LIBS = -lwm -lxcb -lXau -lxcb-cursor -lxcb-render -lxcb-render-util -lxcb-image -lxcb-shm -lxcb-util -lxcb-randr
+0, -22
 1@@ -1,22 +0,0 @@
 2-include config.mk
 3-
 4-all: glazier
 5-
 6-glazier: glazier.o 
 7-	$(LD) -o $@ glazier.o $(LDFLAGS)
 8-
 9-glazier.o: glazier.c config.h
10-
11-config.h: config.def.h
12-	cp config.def.h config.h
13-
14-clean:
15-	rm -f glazier ewmh *.o
16-
17-install: glazier 
18-	mkdir -p $(DESTDIR)$(PREFIX)/bin
19-	cp glazier $(DESTDIR)$(PREFIX)/bin/glazier
20-	chmod 755 $(DESTDIR)$(PREFIX)/bin/glazier
21-
22-uninstall:
23-	rm $(DESTDIR)$(PREFIX)/bin/glazier
+48, -0
 1@@ -0,0 +1,48 @@
 2+From c583ae08571f8b1f7820aaff881c0cf56483a411 Mon Sep 17 00:00:00 2001
 3+From: hovercats <hovercatswithlasereyes@protonmail.com>
 4+Date: Wed, 6 Nov 2024 08:35:18 +0100
 5+Subject: [PATCH] exclude ewmh all together
 6+
 7+---
 8+ makefile | 12 +++---------
 9+ 1 file changed, 3 insertions(+), 9 deletions(-)
10+
11+diff --git a/makefile b/makefile
12+index 22c5c41..e7555ca 100644
13+--- a/makefile
14++++ b/makefile
15+@@ -1,28 +1,22 @@
16+ include config.mk
17+ 
18+-all: glazier ewmh
19++all: glazier
20+ 
21+ glazier: glazier.o
22+ 	$(LD) -o $@ glazier.o $(LDFLAGS)
23+ 
24+-ewmh: ewmh.o
25+-	$(LD) -o $@ ewmh.o $(LDFLAGS)
26+-
27+ glazier.o: glazier.c config.h
28+ 
29+ config.h: config.def.h
30+ 	cp config.def.h config.h
31+ 
32+ clean:
33+-	rm -f glazier ewmh *.o
34++	rm -f glazier *.o
35+ 
36+-install: glazier ewmh
37++install: glazier
38+ 	mkdir -p $(DESTDIR)$(PREFIX)/bin
39+ 	cp glazier $(DESTDIR)$(PREFIX)/bin/glazier
40+-	cp ewmh $(DESTDIR)$(PREFIX)/bin/ewmh
41+ 	chmod 755 $(DESTDIR)$(PREFIX)/bin/glazier
42+-	chmod 755 $(DESTDIR)$(PREFIX)/bin/ewmh
43+ 
44+ uninstall:
45+ 	rm $(DESTDIR)$(PREFIX)/bin/glazier
46+-	rm $(DESTDIR)$(PREFIX)/bin/ewmh
47+-- 
48+2.45.1
49+
+1, -2
1@@ -1,4 +1,3 @@
2 https://dl.z3bra.org/releases/glazier-1.1.tar.bz2
3 https://dl.z3bra.org/releases/libwm-1.3.tar.bz2 libwm/
4-files/makefile
5-files/config.mk
6+patches/0001-exclude-ewmh-all-together.patch