commit 1d45e32

hovercats  ·  2026-05-08 17:27:16 +0000 UTC
parent 98b8377
repo/: purge x11 related packages
293 files changed,  +0, -3278
+0, -15
 1@@ -1,15 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-# shellcheck disable=SC2016
 5-
 6-# dont use xinerama
 7-sed -e 's/\${XINERAMALIBS}//' \
 8-	-e 's/\${XINERAMAFLAGS}//' \
 9-	config.mk > _
10-mv -f _ config.mk
11-
12-make
13-make DESTDIR="$1" PREFIX=/usr install
14-
15-# Compress manpages
16-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-0938ddff3af7d50cc02bb4ef2f1f2fb2a2076161ad961b0d897695bf8a21d0b158
+0, -7
1@@ -1,7 +0,0 @@
2-freetype-harfbuzz
3-imlib2
4-libX11
5-libXau
6-libXext
7-libpng
8-libxcb
+0, -1
1@@ -1 +0,0 @@
2-https://github.com/Gottox/bgs/archive/958acea074e5d8f3566289db37a9db236c05d7df.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-v0.8-6-g958acea 1
+0, -6
1@@ -1,6 +0,0 @@
2-#!/bin/sh -e
3-
4-make \
5-	CFLAGS="$CFLAGS -I/usr/include" \
6-	LDFLAGS="$LDFLAGS -L/usr/lib -lX11 -lXau -lxcb"
7-make DESTDIR="$1" BIN_DIR="$1/usr/bin" install
+0, -1
1@@ -1 +0,0 @@
2-f511b590fdb1bc83862db01530e8cfd792be0abebe027b923911d0e4e60a018d53
+0, -3
1@@ -1,3 +0,0 @@
2-libX11
3-libXau
4-libxcb
+0, -1
1@@ -1 +0,0 @@
2-https://github.com/salman-abedin/devour/archive/3184e2aae599530e5530c75550dec05e5a16b627.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-3184e2aae599530e5530c75550dec05e5a16b627 1
+0, -14
 1@@ -1,14 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-for p in *.patch; do
 5-	patch -p1 < "$p"
 6-done
 7-make LDFLAGS="$LDFLAGS -lXft -lXrender -lX11 -lpthread -lxcb -lXau -lfontconfig -lfreetype -lharfbuzz -pthread -lexpat -lm -static" \
 8-	XINERAMALIBS='' \
 9-	XINERAMAFLAGS='' \
10-	X11INC=/usr/include \
11-	X11LIB=/usr/lib
12-make DESTDIR="$1" PREFIX=/usr install
13-
14-# Compress manpages
15-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -5
1@@ -1,5 +0,0 @@
2-e8656105f0f345f4c16d2fbd1a2c056438649fce7d566486a154663294b527b6e6
3-9f1b26e6a8ecfd0dbb44db7adddcd280e26c169661340b2920946e0e991c59d6d6
4-a24f51d38dd56f511930b99776f41e174dacea738dc32fdcaf28a2c0495af978dd
5-373308df35abd142a944bcb360d417f57b5fe6cd6acca1b1c8433e141be8b87452
6-6e5ae9350f0d4fb647bf1a35164e095ce0e75769eeeb15d658d5319350a8f7098c
+0, -8
1@@ -1,8 +0,0 @@
2-fontconfig        make
3-freetype-harfbuzz make
4-libX11            make
5-libXft            make
6-expat             make
7-libXrender        make
8-libxcb            make
9-libXau            make
+0, -134
  1@@ -1,134 +0,0 @@
  2-From 1e2704e190bf70321a8d5bbf179b3f86cca3a449 Mon Sep 17 00:00:00 2001
  3-From: hovercats <hovercatswithlasereyes@protonmail.com>
  4-Date: Wed, 29 Mar 2023 19:48:06 +0200
  5-Subject: [PATCH] apply center patch
  6-
  7----
  8- README       |  4 ++++
  9- config.def.h |  2 ++
 10- dmenu.1      |  3 +++
 11- dmenu.c      | 38 ++++++++++++++++++++++++++++++++------
 12- 4 files changed, 41 insertions(+), 6 deletions(-)
 13-
 14-diff --git a/README b/README
 15-index a8fcdfe..313b7aa 100644
 16---- a/README
 17-+++ b/README
 18-@@ -2,6 +2,10 @@ dmenu - dynamic menu
 19- ====================
 20- dmenu is an efficient dynamic menu for X.
 21- 
 22-+patches/changes
 23-+---------------
 24-+	- center patch
 25-+
 26- 
 27- Requirements
 28- ------------
 29-diff --git a/config.def.h b/config.def.h
 30-index 1edb647..88ef264 100644
 31---- a/config.def.h
 32-+++ b/config.def.h
 33-@@ -2,6 +2,8 @@
 34- /* Default settings; can be overriden by command line. */
 35- 
 36- static int topbar = 1;                      /* -b  option; if 0, dmenu appears at bottom     */
 37-+static int centered = 0;                    /* -c option; centers dmenu on screen */
 38-+static int min_width = 500;                    /* minimum width when centered */
 39- /* -fn option overrides fonts[0]; default X11 font or font set */
 40- static const char *fonts[] = {
 41- 	"monospace:size=10"
 42-diff --git a/dmenu.1 b/dmenu.1
 43-index 323f93c..c036baa 100644
 44---- a/dmenu.1
 45-+++ b/dmenu.1
 46-@@ -40,6 +40,9 @@ which lists programs in the user's $PATH and runs the result in their $SHELL.
 47- .B \-b
 48- dmenu appears at the bottom of the screen.
 49- .TP
 50-+.B \-c
 51-+dmenu appears centered on the screen.
 52-+.TP
 53- .B \-f
 54- dmenu grabs the keyboard before reading stdin if not reading from a tty. This
 55- is faster, but will lock up X until stdin reaches end\-of\-file.
 56-diff --git a/dmenu.c b/dmenu.c
 57-index 40f93e0..b6cfd65 100644
 58---- a/dmenu.c
 59-+++ b/dmenu.c
 60-@@ -95,6 +95,15 @@ calcoffsets(void)
 61- 			break;
 62- }
 63- 
 64-+static int
 65-+max_textw(void)
 66-+{
 67-+	int len = 0;
 68-+	for (struct item *item = items; item && item->text; item++)
 69-+		len = MAX(TEXTW(item->text), len);
 70-+	return len;
 71-+}
 72-+
 73- static void
 74- cleanup(void)
 75- {
 76-@@ -636,6 +645,7 @@ setup(void)
 77- 	bh = drw->fonts->h + 2;
 78- 	lines = MAX(lines, 0);
 79- 	mh = (lines + 1) * bh;
 80-+	promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0;
 81- #ifdef XINERAMA
 82- 	i = 0;
 83- 	if (parentwin == root && (info = XineramaQueryScreens(dpy, &n))) {
 84-@@ -662,9 +672,16 @@ setup(void)
 85- 				if (INTERSECT(x, y, 1, 1, info[i]) != 0)
 86- 					break;
 87- 
 88--		x = info[i].x_org;
 89--		y = info[i].y_org + (topbar ? 0 : info[i].height - mh);
 90--		mw = info[i].width;
 91-+		if (centered) {
 92-+			mw = MIN(MAX(max_textw() + promptw, min_width), info[i].width);
 93-+			x = info[i].x_org + ((info[i].width  - mw) / 2);
 94-+			y = info[i].y_org + ((info[i].height - mh) / 2);
 95-+		} else {
 96-+			x = info[i].x_org;
 97-+			y = info[i].y_org + (topbar ? 0 : info[i].height - mh);
 98-+			mw = info[i].width;
 99-+		}
100-+
101- 		XFree(info);
102- 	} else
103- #endif
104-@@ -672,9 +689,16 @@ setup(void)
105- 		if (!XGetWindowAttributes(dpy, parentwin, &wa))
106- 			die("could not get embedding window attributes: 0x%lx",
107- 			    parentwin);
108--		x = 0;
109--		y = topbar ? 0 : wa.height - mh;
110--		mw = wa.width;
111-+
112-+		if (centered) {
113-+			mw = MIN(MAX(max_textw() + promptw, min_width), wa.width);
114-+			x = (wa.width  - mw) / 2;
115-+			y = (wa.height - mh) / 2;
116-+		} else {
117-+			x = 0;
118-+			y = topbar ? 0 : wa.height - mh;
119-+			mw = wa.width;
120-+		}
121- 	}
122- 	promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0;
123- 	inputw = mw / 3; /* input width: ~33% of monitor width */
124-@@ -734,6 +758,8 @@ main(int argc, char *argv[])
125- 			topbar = 0;
126- 		else if (!strcmp(argv[i], "-f"))   /* grabs keyboard before reading stdin */
127- 			fast = 1;
128-+		else if (!strcmp(argv[i], "-c"))   /* centers dmenu on screen */
129-+			centered = 1;
130- 		else if (!strcmp(argv[i], "-i")) { /* case-insensitive item matching */
131- 			fstrncmp = strncasecmp;
132- 			fstrstr = cistrstr;
133--- 
134-2.45.1
135-
+0, -50
 1@@ -1,50 +0,0 @@
 2-From 9325f07110722054d6e8ba623b4c50a8f724d947 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Wed, 29 Mar 2023 20:18:05 +0200
 5-Subject: [PATCH] add border patch
 6-
 7----
 8- config.def.h | 3 +++
 9- dmenu.c      | 6 +++++-
10- 2 files changed, 8 insertions(+), 1 deletion(-)
11-
12-diff --git a/config.def.h b/config.def.h
13-index 88ef264..5c87304 100644
14---- a/config.def.h
15-+++ b/config.def.h
16-@@ -23,3 +23,6 @@ static unsigned int lines      = 0;
17-  * for example: " /?\"&[]"
18-  */
19- static const char worddelimiters[] = " ";
20-+
21-+/* Size of the window border */
22-+static unsigned int border_width = 2;
23-diff --git a/dmenu.c b/dmenu.c
24-index 6b32f76..5a0e516 100644
25---- a/dmenu.c
26-+++ b/dmenu.c
27-@@ -708,9 +708,11 @@ setup(void)
28- 	swa.override_redirect = True;
29- 	swa.background_pixel = scheme[SchemeNorm][ColBg].pixel;
30- 	swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
31--	win = XCreateWindow(dpy, root, x, y, mw, mh, 0,
32-+	win = XCreateWindow(dpy, parentwin, x, y, mw, mh, border_width,
33- 	                    CopyFromParent, CopyFromParent, CopyFromParent,
34- 	                    CWOverrideRedirect | CWBackPixel | CWEventMask, &swa);
35-+	if (border_width)
36-+		XSetWindowBorder(dpy, win, scheme[SchemeSel][ColBg].pixel);
37- 	XSetClassHint(dpy, win, &ch);
38- 
39- 	/* input methods */
40-@@ -783,6 +785,8 @@ main(int argc, char *argv[])
41- 			colors[SchemeSel][ColFg] = argv[++i];
42- 		else if (!strcmp(argv[i], "-w"))   /* embedding window id */
43- 			embed = argv[++i];
44-+		else if (!strcmp(argv[i], "-bw"))
45-+			border_width = atoi(argv[++i]); /* border width */
46- 		else
47- 			usage();
48- 
49--- 
50-2.49.0
51-
+0, -29
 1@@ -1,29 +0,0 @@
 2-From c87bb56eb3a2b12044306f6a1d79dfc2affcd7b4 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Sat, 1 Apr 2023 05:38:34 +0200
 5-Subject: [PATCH] change colorscheme
 6-
 7----
 8- config.def.h | 6 +++---
 9- 1 file changed, 3 insertions(+), 3 deletions(-)
10-
11-diff --git a/config.def.h b/config.def.h
12-index 5c87304..898948d 100644
13---- a/config.def.h
14-+++ b/config.def.h
15-@@ -11,9 +11,9 @@ static const char *fonts[] = {
16- static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
17- static const char *colors[SchemeLast][2] = {
18- 	/*     fg         bg       */
19--	[SchemeNorm] = { "#bbbbbb", "#222222" },
20--	[SchemeSel] = { "#eeeeee", "#005577" },
21--	[SchemeOut] = { "#000000", "#00ffff" },
22-+	[SchemeNorm] = { "#e8e9ca", "#222222" },
23-+	[SchemeSel] = { "#e8e9ca", "#4a708b" },
24-+	[SchemeOut] = { "#4c4c4c", "#00ffff" },
25- };
26- /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
27- static unsigned int lines      = 0;
28--- 
29-2.45.1
30-
+0, -46
 1@@ -1,46 +0,0 @@
 2-From 627b14b0d91653fc4b5552424448cd0904ec4887 Mon Sep 17 00:00:00 2001
 3-From: "Franc[e]sco" <lolisamurai@tfwno.gf>
 4-Date: Fri, 12 Jun 2020 15:26:37 +0200
 5-Subject: [PATCH] always allow selecting whatever was typed in unchanged
 6-
 7----
 8- dmenu.c | 9 ++++++++-
 9- 2 files changed, 14 insertions(+), 1 deletion(-)
10-
11-diff --git a/dmenu.c b/dmenu.c
12-index 1fae794..56dda7a 100644
13---- a/dmenu.c
14-+++ b/dmenu.c
15-@@ -44,6 +44,8 @@ static struct item *matches, *matchend;
16- static struct item *prev, *curr, *next, *sel;
17- static int mon = -1, screen;
18- 
19-+static struct item noneitem;
20-+
21- static Atom clip, utf8;
22- static Display *dpy;
23- static Window root, parentwin, win;
24-@@ -254,6 +256,8 @@ match(void)
25- 	len = tokc ? strlen(tokv[0]) : 0;
26- 
27- 	matches = lprefix = lsubstr = matchend = prefixend = substrend = NULL;
28-+	noneitem.text = text;
29-+	appenditem(&noneitem, &matches, &matchend);
30- 	textsize = strlen(text) + 1;
31- 	for (item = items; item && item->text; item++) {
32- 		for (i = 0; i < tokc; i++)
33-@@ -285,7 +289,10 @@ match(void)
34- 			matches = lsubstr;
35- 		matchend = substrend;
36- 	}
37--	curr = sel = matches;
38-+	/* first item is the option to just take what you typed which should not
39-+	 * be selected by default */
40-+	curr = matches;
41-+	sel = matches->right ? matches->right : matches;
42- 	calcoffsets();
43- }
44- 
45--- 
46-2.45.1
47-
+0, -5
1@@ -1,5 +0,0 @@
2-https://dl.suckless.org/tools/dmenu-5.4.tar.gz
3-patches/0001-apply-center-patch.patch
4-patches/0002-add-border-patch.patch
5-patches/0003-change-colorscheme.patch
6-patches/0004-always-allow-selecting-whatever-was-typed-in-unchang.patch
+0, -1
1@@ -1 +0,0 @@
2-5.4 1
+0, -23
 1@@ -1,23 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-# vendor libwm, as its not needed elsewhere at all
 5-(
 6-cd libwm
 7-
 8-make \
 9-	CFLAGS="$CFLAGS -I/usr/include"
10-)
11-
12-patch -p1 < 0001-exclude-ewmh-all-together.patch
13-
14-make CFLAGS="$CFLAGS -I./libwm" \
15-	LDFLAGS="$LDFLAGS -L./libwm -lwm -lxcb -lXau -lxcb-cursor -lxcb-render -lxcb-render-util -lxcb-image -lxcb-shm -lxcb-util -lxcb-randr -static"
16-
17-make DESTDIR="$1" PREFIX=/usr install
18-
19-# Makefile doesnt install manpages
20-mkdir -p     "$1/usr/share/man/man1"
21-cp glazier.1 "$1/usr/share/man/man1"
22-
23-# Compress manpages
24-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -3
1@@ -1,3 +0,0 @@
2-d80ee3f5911336a114a1a653d2e1a449898dd7b29bb1e2b03c034981a5721aa435
3-9f74fa925179072461682ec362b6f9a557d2ea80fdde07e18e397ad7229f4dccc5
4-3b34d7ae091876399e635ed3ebf48193bcdd45038a2776d0c3efad0a9ae7a24d57
+0, -5
1@@ -1,5 +0,0 @@
2-libXau make
3-libxcb make
4-xcb-util make
5-xcb-util-cursor make
6-xcb-util-image make
+0, -48
 1@@ -1,48 +0,0 @@
 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-
+0, -3
1@@ -1,3 +0,0 @@
2-https://dl.z3bra.org/releases/glazier-1.1.tar.bz2
3-https://dl.z3bra.org/releases/libwm-1.3.tar.bz2 libwm/
4-patches/0001-exclude-ewmh-all-together.patch
+0, -1
1@@ -1 +0,0 @@
2-1.1 2
+0, -10
 1@@ -1,10 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-
 5-./configure \
 6-    --prefix=/usr \
 7-    --sysconfdir=/etc/imlib2 \
 8-    --enable-visibility-hiding
 9-
10-make
11-make DESTDIR="$1" install
+0, -1
1@@ -1 +0,0 @@
2-6bb23a81de0de4e6bf4fd2a75d58d259551525acb8d088a02c475a06945ecfc441
+0, -8
1@@ -1,8 +0,0 @@
2-# By default, gif and tiff are commented. You can enable support for
3-# both formats by uncommenting giflib and tiff.
4-# giflib
5-# tiff
6-freetype-harfbuzz
7-libXext
8-libjpeg-turbo
9-libpng
+0, -1
1@@ -1 +0,0 @@
2-https://fossies.org/linux/misc/imlib2-1.12.6.tar.xz
+0, -1
1@@ -1 +0,0 @@
2-1.12.6 1
+0, -34
 1@@ -1,34 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-rm -rf "$1/usr/share/doc"
+0, -1
1@@ -1 +0,0 @@
2-d4679a072a23e0621a3646917b0f0df97544cfa99fa32fb61ca73a8d921e1e1628
+0, -2
1@@ -1,2 +0,0 @@
2-xorgproto make
3-xtrans    make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libICE-1.1.1.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.1.1 2
+0, -34
 1@@ -1,34 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-rm -rf "$1/usr/share/doc"
+0, -1
1@@ -1 +0,0 @@
2-1247e2d5ca3d85489b4edbc38060822ac7f6b9b1aed574b4f8f722f99d4bfa69e5
+0, -2
1@@ -1,2 +0,0 @@
2-libICE
3-xtrans  make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libSM-1.2.4.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.2.4 2
+0, -35
 1@@ -1,35 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-# Compress manpages
36-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-dc557428c7ec397c056777c043008c4a0c49d16586e4bda54fe17fa57de430189d
+0, -4
1@@ -1,4 +0,0 @@
2-libXau
3-libxcb
4-xorgproto
5-xtrans  make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libX11-1.8.10.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.8.10 1
+0, -35
 1@@ -1,35 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-# Compress manpages
36-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-2485470742928328e03633a74b208ac05644f7074c34908e4c2c3a75fe6fe7929d
+0, -3
1@@ -1,3 +0,0 @@
2-libX11
3-libXext
4-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXScrnSaver-1.2.4.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.2.4 2
+0, -35
 1@@ -1,35 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-# Compress manpages
36-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-a846a256114ec70661a45a263bad1cc7229f1bcf4b195c2cfe086449e65cdeb228
+0, -1
1@@ -1 +0,0 @@
2-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXau-1.0.11.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.0.11 1
+0, -36
 1@@ -1,36 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs \
13-    --enable-static
14-
15-make
16-make DESTDIR="$1" install
17-
18-# Some X11 packages install to /usr/share.
19-! [ -d "$1/usr/share/pkgconfig" ] || {
20-    mkdir -p "$1/usr/lib"
21-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
22-}
23-
24-# We need to keep this around.
25-! [ -d "$1/usr/share/aclocal" ] || {
26-    mkdir -p "$TMPDIR"
27-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
28-}
29-
30-# Restore kept directories.
31-! [ -d "$TMPDIR" ] || {
32-    mv -f "$TMPDIR/"* "$1/usr/share"
33-    rm -rf "$TMPDIR"
34-}
35-
36-# Compress manpages
37-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-78c2f6093f3d4b18cd716b896b91d496cf7d41b1d48365e48a09e9abdce50384fc
+0, -2
1@@ -1,2 +0,0 @@
2-libXfixes
3-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXcomposite-0.4.6.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-0.4.6 2
+0, -36
 1@@ -1,36 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs \
13-    --enable-static
14-
15-make
16-make DESTDIR="$1" install
17-
18-# Some X11 packages install to /usr/share.
19-! [ -d "$1/usr/share/pkgconfig" ] || {
20-    mkdir -p "$1/usr/lib"
21-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
22-}
23-
24-# We need to keep this around.
25-! [ -d "$1/usr/share/aclocal" ] || {
26-    mkdir -p "$TMPDIR"
27-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
28-}
29-
30-# Restore kept directories.
31-! [ -d "$TMPDIR" ] || {
32-    mv -f "$TMPDIR/"* "$1/usr/share"
33-    rm -rf "$TMPDIR"
34-}
35-
36-# Compress manpages
37-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-e663aa2437713ee2c604e715a6833e387cc683075e441c8d6d9fed2bfae4608aba
+0, -3
1@@ -1,3 +0,0 @@
2-libXfixes
3-libXrender
4-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXcursor-1.2.2.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.2.2 2
+0, -32
 1@@ -1,32 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
+0, -1
1@@ -1 +0,0 @@
2-9463cd1ea6d89ed82e94e7d464621d6559f91b48cd7e16827f1ade8de59489a2fb
+0, -3
1@@ -1,3 +0,0 @@
2-libX11
3-libXfixes
4-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXdamage-1.1.6.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.1.6 2
+0, -36
 1@@ -1,36 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --host=x86_64-linux-musl \
 8-    --prefix=/usr \
 9-    --sysconfdir=/etc \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs \
13-    --disable-shared
14-
15-make
16-make DESTDIR="$1" install
17-
18-# Some X11 packages install to /usr/share.
19-! [ -d "$1/usr/share/pkgconfig" ] || {
20-    mkdir -p "$1/usr/lib"
21-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
22-}
23-
24-# We need to keep this around.
25-! [ -d "$1/usr/share/aclocal" ] || {
26-    mkdir -p "$TMPDIR"
27-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
28-}
29-
30-# Restore kept directories.
31-! [ -d "$TMPDIR" ] || {
32-    mv -f "$TMPDIR/"* "$1/usr/share"
33-    rm -rf "$TMPDIR"
34-}
35-
36-# Remove docs
37-rm -rf "$1/usr/share/doc"
+0, -1
1@@ -1 +0,0 @@
2-2faf8a078a1715e6f79c51ff51cfa2cbcc6cec6c08d2b35883f1c37f1cbfe0f299
+0, -1
1@@ -1 +0,0 @@
2-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXdmcp-1.1.5.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.1.5 1
+0, -35
 1@@ -1,35 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-# Compress manpages
36-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-d8376ff56a7ba437dc2b6379353392c0f66e185944062913d2918e8240b578f792
+0, -2
1@@ -1,2 +0,0 @@
2-libX11
3-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXext-1.3.6.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.3.6 1
+0, -37
 1@@ -1,37 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-: > missing
 5-
 6-TMPDIR="$1/tmp"
 7-
 8-./configure \
 9-    --prefix=/usr \
10-    --sysconfdir=/etc \
11-    --mandir=/usr/share/man \
12-    --localstatedir=/var \
13-    --without-xmlto \
14-    --disable-specs
15-
16-make
17-make DESTDIR="$1" install
18-
19-# Some X11 packages install to /usr/share.
20-! [ -d "$1/usr/share/pkgconfig" ] || {
21-    mkdir -p "$1/usr/lib"
22-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
23-}
24-
25-# We need to keep this around.
26-! [ -d "$1/usr/share/aclocal" ] || {
27-    mkdir -p "$TMPDIR"
28-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
29-}
30-
31-# Restore kept directories.
32-! [ -d "$TMPDIR" ] || {
33-    mv -f "$TMPDIR/"* "$1/usr/share"
34-    rm -rf "$TMPDIR"
35-}
36-
37-# Compress manpages
38-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-301a34d173d13e73f4e5712ecc5da6e3757bee7729fcd9b95515688bf6029ee03b
+0, -1
1@@ -1 +0,0 @@
2-libX11
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXfixes-6.0.1.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-6.0.1 1
+0, -34
 1@@ -1,34 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs \
13-    --disable-shared \
14-    --enable-static
15-
16-make
17-make DESTDIR="$1" install
18-
19-# Some X11 packages install to /usr/share.
20-! [ -d "$1/usr/share/pkgconfig" ] || {
21-    mkdir -p "$1/usr/lib"
22-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
23-}
24-
25-# We need to keep this around.
26-! [ -d "$1/usr/share/aclocal" ] || {
27-    mkdir -p "$TMPDIR"
28-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
29-}
30-
31-# Restore kept directories.
32-! [ -d "$TMPDIR" ] || {
33-    mv -f "$TMPDIR/"* "$1/usr/share"
34-    rm -rf "$TMPDIR"
35-}
+0, -1
1@@ -1 +0,0 @@
2-ed40672d69bbbe4bfa5d4d80be713785039ec4b158e1177e9b1db7c8c9cd22b2ac
+0, -5
1@@ -1,5 +0,0 @@
2-freetype-harfbuzz
3-libfontenc
4-xorgproto make
5-xtrans    make
6-zlib	  make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXfont-1.5.4.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.5.4 1
+0, -36
 1@@ -1,36 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs \
13-    --enable-static
14-
15-make
16-make DESTDIR="$1" install
17-
18-# Some X11 packages install to /usr/share.
19-! [ -d "$1/usr/share/pkgconfig" ] || {
20-    mkdir -p "$1/usr/lib"
21-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
22-}
23-
24-# We need to keep this around.
25-! [ -d "$1/usr/share/aclocal" ] || {
26-    mkdir -p "$TMPDIR"
27-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
28-}
29-
30-# Restore kept directories.
31-! [ -d "$TMPDIR" ] || {
32-    mv -f "$TMPDIR/"* "$1/usr/share"
33-    rm -rf "$TMPDIR"
34-}
35-
36-# Compress manpages
37-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-bcff239c6139ed140d45ed4358d430a910152929f7ecf9557db7eec454e268066d
+0, -4
1@@ -1,4 +0,0 @@
2-fontconfig        make
3-freetype-harfbuzz make
4-libXrender        make
5-xorgproto         make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXft-2.3.8.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-2.3.8 2
+0, -37
 1@@ -1,37 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-: > missing
 5-
 6-TMPDIR="$1/tmp"
 7-
 8-./configure \
 9-    --prefix=/usr \
10-    --sysconfdir=/etc \
11-    --mandir=/usr/share/man \
12-    --localstatedir=/var \
13-    --without-xmlto \
14-    --disable-specs
15-
16-make
17-make DESTDIR="$1" install
18-
19-# Some X11 packages install to /usr/share.
20-! [ -d "$1/usr/share/pkgconfig" ] || {
21-    mkdir -p "$1/usr/lib"
22-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
23-}
24-
25-# We need to keep this around.
26-! [ -d "$1/usr/share/aclocal" ] || {
27-    mkdir -p "$TMPDIR"
28-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
29-}
30-
31-# Restore kept directories.
32-! [ -d "$TMPDIR" ] || {
33-    mv -f "$TMPDIR/"* "$1/usr/share"
34-    rm -rf "$TMPDIR"
35-}
36-
37-# Compress manpages
38-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-d87d342ea4e8b621e8f51d8c709257ab7b03240d996951cd79eedfeb1aa2f23013
+0, -4
1@@ -1,4 +0,0 @@
2-libX11
3-libXext
4-libXfixes
5-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXi-1.8.1.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.8.1 2
+0, -37
 1@@ -1,37 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs \
13-    --disable-shared \
14-    --enable-static
15-
16-make
17-make DESTDIR="$1" install
18-
19-# Some X11 packages install to /usr/share.
20-! [ -d "$1/usr/share/pkgconfig" ] || {
21-    mkdir -p "$1/usr/lib"
22-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
23-}
24-
25-# We need to keep this around.
26-! [ -d "$1/usr/share/aclocal" ] || {
27-    mkdir -p "$TMPDIR"
28-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
29-}
30-
31-# Restore kept directories.
32-! [ -d "$TMPDIR" ] || {
33-    mv -f "$TMPDIR/"* "$1/usr/share"
34-    rm -rf "$TMPDIR"
35-}
36-
37-# Compress manpages
38-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-4275827cb3012d07b89cc7eacf695c15850a6df065228eae33bc5cef5ceba15bf6
+0, -2
1@@ -1,2 +0,0 @@
2-libXext
3-xorgproto
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXinerama-1.1.5.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.1.5 1
+0, -36
 1@@ -1,36 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-: > missing
 5-
 6-TMPDIR="$1/tmp"
 7-
 8-./configure \
 9-    --prefix=/usr \
10-    --sysconfdir=/etc \
11-    --mandir=/usr/share/man \
12-    --localstatedir=/var \
13-    --without-xmlto \
14-    --disable-specs
15-
16-make
17-make DESTDIR="$1" install
18-
19-# Some X11 packages install to /usr/share.
20-! [ -d "$1/usr/share/pkgconfig" ] || {
21-    mkdir -p "$1/usr/lib"
22-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
23-}
24-
25-# We need to keep this around.
26-! [ -d "$1/usr/share/aclocal" ] || {
27-    mkdir -p "$TMPDIR"
28-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
29-}
30-
31-# Restore kept directories.
32-! [ -d "$TMPDIR" ] || {
33-    mv -f "$TMPDIR/"* "$1/usr/share"
34-    rm -rf "$TMPDIR"
35-}
36-
37-rm -rf "$1/usr/share/doc"
+0, -1
1@@ -1 +0,0 @@
2-5ef6d25f98753d2771db7197d1eddf044732a2117277f5c4894653142b58181f58
+0, -3
1@@ -1,3 +0,0 @@
2-libXext
3-libXt
4-xorg-util-macros make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXmu-1.2.1.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.2.1 2
+0, -35
 1@@ -1,35 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-# Compress manpages
36-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-f5ab362d1628033a30e812d37623d5f15e3177797510c01344da3c2632fb82bca6
+0, -5
1@@ -1,5 +0,0 @@
2-libX11
3-libXext
4-libXfixes
5-libXrandr
6-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXpresent-1.0.1.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.0.1 2
+0, -37
 1@@ -1,37 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs \
13-    --enable-static \
14-    --enable-shared
15-
16-make
17-make DESTDIR="$1" install
18-
19-# Some X11 packages install to /usr/share.
20-! [ -d "$1/usr/share/pkgconfig" ] || {
21-    mkdir -p "$1/usr/lib"
22-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
23-}
24-
25-# We need to keep this around.
26-! [ -d "$1/usr/share/aclocal" ] || {
27-    mkdir -p "$TMPDIR"
28-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
29-}
30-
31-# Restore kept directories.
32-! [ -d "$TMPDIR" ] || {
33-    mv -f "$TMPDIR/"* "$1/usr/share"
34-    rm -rf "$TMPDIR"
35-}
36-
37-# Compress manpages
38-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-6611045d6721e4bb1041b8b0daf2b531a1a084f68af736ac6bc0ebb5d63ff780ea
+0, -3
1@@ -1,3 +0,0 @@
2-libXext
3-libXrender
4-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXrandr-1.5.4.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.5.4 2
+0, -34
 1@@ -1,34 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-rm -rf "$1/usr/share/doc"
+0, -1
1@@ -1 +0,0 @@
2-a81b16b0e483cccff3204a691a47e9d5959988d8852a47979503db06aa5a5114d4
+0, -3
1@@ -1,3 +0,0 @@
2-libX11
3-libXext   make
4-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXrender-0.9.11.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-0.9.11 3
+0, -35
 1@@ -1,35 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-# Compress manpages
36-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-fbf21683ce3e6d104529289254977bb08b355ecf7a36c763e8369acf85f15f2417
+0, -3
1@@ -1,3 +0,0 @@
2-libSM
3-libX11
4-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXt-1.3.1.tar.xz
+0, -1
1@@ -1 +0,0 @@
2-1.3.1 1
+0, -36
 1@@ -1,36 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs \
13-    --disable-shared
14-
15-make
16-make DESTDIR="$1" install
17-
18-# Some X11 packages install to /usr/share.
19-! [ -d "$1/usr/share/pkgconfig" ] || {
20-    mkdir -p "$1/usr/lib"
21-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
22-}
23-
24-# We need to keep this around.
25-! [ -d "$1/usr/share/aclocal" ] || {
26-    mkdir -p "$TMPDIR"
27-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
28-}
29-
30-# Restore kept directories.
31-! [ -d "$TMPDIR" ] || {
32-    mv -f "$TMPDIR/"* "$1/usr/share"
33-    rm -rf "$TMPDIR"
34-}
35-
36-# Compress manpages
37-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-ece2a7baa423e61869e41b633fdb1c804229a78f5bdbd9f29dcb35a07ef5cae5a6
+0, -5
1@@ -1,5 +0,0 @@
2-libX11
3-libXau
4-libXext
5-libXi
6-libxcb
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXtst-1.2.5.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.2.5 1
+0, -36
 1@@ -1,36 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs \
13-    --disable-shared
14-
15-make
16-make DESTDIR="$1" install
17-
18-# Some X11 packages install to /usr/share.
19-! [ -d "$1/usr/share/pkgconfig" ] || {
20-    mkdir -p "$1/usr/lib"
21-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
22-}
23-
24-# We need to keep this around.
25-! [ -d "$1/usr/share/aclocal" ] || {
26-    mkdir -p "$TMPDIR"
27-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
28-}
29-
30-# Restore kept directories.
31-! [ -d "$TMPDIR" ] || {
32-    mv -f "$TMPDIR/"* "$1/usr/share"
33-    rm -rf "$TMPDIR"
34-}
35-
36-# Compress manpages
37-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-9b984ff6785a50e2d863c6ab74e1507a7a200b9b25077eb0fabcf0776c07efd23b
+0, -3
1@@ -1,3 +0,0 @@
2-libX11
3-libXext
4-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libXxf86vm-1.1.5.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.1.5 1
+0, -9
 1@@ -1,9 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-./configure \
 5-    --prefix=/usr \
 6-    --with-fontrootdir=/usr/share/fonts/X11 \
 7-    --disable-shared
 8-
 9-make
10-make DESTDIR="$1" install
+0, -1
1@@ -1 +0,0 @@
2-282ef1c086a10bb0361d50c75ca9a0baa0a4ed4f7c5ba475c93772dbb08c2a6df3
+0, -2
1@@ -1,2 +0,0 @@
2-xorgproto make
3-zlib	  make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libfontenc-1.1.8.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.1.8 1
+0, -21
 1@@ -1,21 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-export DESTDIR="$1"
 5-
 6-# Override PATH to avoid /bin/python3 here, as we need /usr/bin/python3
 7-export PATH=/usr/bin:$PATH
 8-
 9-patch -p1 < 0001-remove-the-need-for-vulkan-headers.patch
10-
11-muon setup \
12-    -Dprefix=/usr \
13-    -Dbuildtype=release \
14-    -Dvulkan=disabled \
15-    -Ddemos=false \
16-    -Dopengl=disabled \
17-    -Dxxhash=disabled \
18-    -Ddefault_library=shared \
19-    build
20-
21-samu -C build
22-muon -C build install
+0, -2
1@@ -1,2 +0,0 @@
2-3363de224b28315dc695160d44bdc2eff3d6856b5e379583b5c720b5fff766aada
3-a4464c86db5644b3219700148702b9d020313af9e024403c97396f1c26e4ef30b4
+0, -2
1@@ -1,2 +0,0 @@
2-python-glad make
3-python-markupsafe make
+0, -23
 1@@ -1,23 +0,0 @@
 2-From 68a418338f7c397dc7a77575936827400263ffb6 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Fri, 30 Aug 2024 07:33:56 +0200
 5-Subject: [PATCH] remove the need for vulkan-headers
 6-
 7----
 8- src/vulkan/meson.build | 2 --
 9- 1 file changed, 2 deletions(-)
10-
11-diff --git a/src/vulkan/meson.build b/src/vulkan/meson.build
12-index 64c5572..b4bd46a 100644
13---- a/src/vulkan/meson.build
14-+++ b/src/vulkan/meson.build
15-@@ -54,6 +54,4 @@ if vulkan_build.allowed()
16-     build_deps += vulkan_loader
17-     tests += 'vulkan.c'
18-   endif
19--else
20--  sources += 'vulkan/stubs.c'
21- endif
22--- 
23-2.45.1
24-
+0, -2
1@@ -1,2 +0,0 @@
2-https://code.videolan.org/videolan/libplacebo/-/archive/v7.349.0/libplacebo-v7.349.0.tar.gz
3-patches/0001-remove-the-need-for-vulkan-headers.patch
+0, -1
1@@ -1 +0,0 @@
2-7.349.0 3
+0, -39
 1@@ -1,39 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-: > build-aux/missing
 5-
 6-export LIBS="-L/usr/lib"
 7-export CFLAGS="$CFLAGS -I/usr/include"
 8-
 9-TMPDIR="$1/tmp"
10-
11-./configure \
12-    --prefix=/usr \
13-    --sysconfdir=/etc \
14-    --mandir=/usr/share/man \
15-    --localstatedir=/var \
16-    ac_cv_lib_Xdmcp_XdmcpWrap=no
17-
18-make
19-make DESTDIR="$1" install
20-
21-# Some X11 packages install to /usr/share.
22-! [ -d "$1/usr/share/pkgconfig" ] || {
23-    mkdir -p "$1/usr/lib"
24-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
25-}
26-
27-# We need to keep this around.
28-! [ -d "$1/usr/share/aclocal" ] || {
29-    mkdir -p "$TMPDIR"
30-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
31-}
32-
33-# Restore kept directories.
34-! [ -d "$TMPDIR" ] || {
35-    mv -f "$TMPDIR/"* "$1/usr/share"
36-    rm -rf "$TMPDIR"
37-}
38-
39-# Compress manpages
40-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-1c2e72924ff3df465a2fa902f9254964f89f4d372f5864913f19041588780ff6d1
+0, -4
1@@ -1,4 +0,0 @@
2-libXau
3-python  make
4-xcb-proto
5-xorg-util-macros
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libxcb-1.17.0.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.17.0 1
+0, -9
 1@@ -1,9 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-./configure \
 5-    --prefix=/usr \
 6-    --with-shared-memory-dir=/dev/shm \
 7-    --disable-shared
 8-
 9-make
10-make DESTDIR="$1" install
+0, -1
1@@ -1 +0,0 @@
2-1db5f7002e58f0260d96fe40a6d694d3f08fb383840ac24f1d724cc979bfff60c1
+0, -1
1@@ -1 +0,0 @@
2-xorgproto make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libxshmfence-1.3.2.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.3.2 1
+0, -27
 1@@ -1,27 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-export DESTDIR="$1"
 5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
 6-
 7-muon setup \
 8-    -Dprefix=/usr \
 9-    -Dx11=enabled \
10-    -Dmanpage-build=disabled \
11-    -Degl=disabled \
12-    -Degl-x11=disabled \
13-    -Dgl=disabled \
14-    -Ddrm=enabled \
15-    -Dgbm=disabled \
16-    -Db_colorout=never \
17-    -Dwayland=disabled \
18-    build
19-
20-samu -C build
21-muon -C build install
22-
23-# we probably dont need these
24-rm -rf \
25-    "$1/usr/share/zsh" \
26-    "$1/usr/share/bash-completion" \
27-    "$1/usr/share/icons" \
28-    "$1/usr/share/doc"
+0, -1
1@@ -1 +0,0 @@
2-f3107d16f651d7d9d4d05b214466318069ab6f25b493ab060b14d8768c9e4575e9
+0, -12
 1@@ -1,12 +0,0 @@
 2-ffmpeg
 3-freetype-harfbuzz
 4-libXScrnSaver
 5-libXext
 6-libXinerama
 7-libXpresent
 8-libXrandr
 9-libass
10-libdrm
11-libplacebo
12-libxkbcommon
13-python  make
+0, -1
1@@ -1 +0,0 @@
2-https://github.com/mpv-player/mpv/archive/refs/tags/v0.38.0.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-0.38.0 5
+0, -43
 1@@ -1,43 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-export DESTDIR="$1"
 5-export LDFLAGS="$LDFLAGS -static-pie"
 6-export CFLAGS="$CFLAGS \
 7-	-I/src/oakiss/out/pkg/jbig2dec/include \
 8-	-fPIE \
 9-    -DNDEBUG \
10-    -DFZ_ENABLE_JS=0 \
11-    -DFZ_ENABLE_JPX=0 \
12-    -DFZ_ENABLE_HTML=0 \
13-    -DFZ_ENABLE_EPUB=0 \
14-    -DNO_CJK \
15-    -DFZ_ENABLE_ICC=0 \
16-    -DNO_ICC \
17-    -DNOTO_SMALL \
18-    -DSHARE_JPEG"
19-
20-for p in *.patch; do
21-    patch -p1 < "$p"
22-done
23-
24-make \
25-    prefix="/usr" \
26-    build=release \
27-    HAVE_X11=yes \
28-    HAVE_CURL=no \
29-    HAVE_WAYLAND=no \
30-    HAVE_GLUT=no \
31-    USE_SYSTEM_OPENJPEG=no \
32-    USE_SYSTEM_LIBS=yes \
33-    shared=no \
34-    THIRD_LIBS="/usr/lib/*.a -lfreetype -lharfbuzz -lfontconfig -ljpeg -lz -lpng16 /src/oakiss/out/pkg/jbig2dec/libjbig2dec.a" \
35-    X11_LIBS="-lxcb -lX11 -lXau -lXext" \
36-    install-apps install-docs
37-
38-mv -f "$1/usr/bin/mupdf-x11" "$1/usr/bin/mupdf"
39-
40-# remove docs, but keep manpages
41-rm -rf "$1/usr/share/doc"
42-
43-# Compress manpages
44-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -5
1@@ -1,5 +0,0 @@
2-ddf61d535f17fd09369e16b89ac30711a9d64b79ef2504eb369ddcc101b19c9a77
3-6937bc652fe47825ab6dbc7cc7a7028bfd787d6c1d7c869bb68afb9810a0bf5953
4-f91bbd65a6e6fc29f511d232bb7d771d81f2c1df142530f2691357231b75f669d0
5-d7e4b5c978fe0c5527f0eb935d4aad192521cf251ac34e8f589ae05703378969e7
6-ef5d7912fc071b26aadbfb32c65ab08e7e2f2083c0fd2ab376a98761d12d0f3f86
+0, -8
1@@ -1,8 +0,0 @@
2-freetype-harfbuzz make
3-libX11            make
4-libXau            make
5-libXext           make
6-libjpeg-turbo     make
7-libpng            make
8-libxcb            make
9-zlib              make
+0, -85
 1@@ -1,85 +0,0 @@
 2-From e1b833b68258f2dee06cc8a8708160e975d3cfab Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Thu, 2 May 2024 04:19:24 +0200
 5-Subject: [PATCH 1/4] remove gumbo-parser dependency
 6-
 7----
 8- Makefile          |  1 -
 9- Makelists         | 18 ------------------
10- source/fitz/xml.c |  4 ++++
11- 3 files changed, 4 insertions(+), 19 deletions(-)
12-
13-diff --git a/Makefile b/Makefile
14-index 53cf06f..dea68b3 100644
15---- a/Makefile
16-+++ b/Makefile
17-@@ -178,7 +178,6 @@ MUPDF_SRC += $(sort $(wildcard source/fitz/*.cpp))
18- MUPDF_SRC += $(sort $(wildcard source/pdf/*.c))
19- MUPDF_SRC += $(sort $(wildcard source/xps/*.c))
20- MUPDF_SRC += $(sort $(wildcard source/svg/*.c))
21--MUPDF_SRC += $(sort $(wildcard source/html/*.c))
22- MUPDF_SRC += $(sort $(wildcard source/reflow/*.c))
23- MUPDF_SRC += $(sort $(wildcard source/cbz/*.c))
24- 
25-diff --git a/Makelists b/Makelists
26-index 4747a12..2350297 100644
27---- a/Makelists
28-+++ b/Makelists
29-@@ -32,24 +32,6 @@ FREETYPE_SRC += thirdparty/freetype/src/smooth/smooth.c
30- FREETYPE_SRC += thirdparty/freetype/src/truetype/truetype.c
31- FREETYPE_SRC += thirdparty/freetype/src/type1/type1.c
32- 
33--# --- GUMBO ---
34--
35--GUMBO_CFLAGS += -Ithirdparty/gumbo-parser/src
36--
37--GUMBO_BUILD_CFLAGS += -std=c99
38--
39--GUMBO_SRC += thirdparty/gumbo-parser/src/attribute.c
40--GUMBO_SRC += thirdparty/gumbo-parser/src/char_ref.c
41--GUMBO_SRC += thirdparty/gumbo-parser/src/error.c
42--GUMBO_SRC += thirdparty/gumbo-parser/src/parser.c
43--GUMBO_SRC += thirdparty/gumbo-parser/src/string_buffer.c
44--GUMBO_SRC += thirdparty/gumbo-parser/src/string_piece.c
45--GUMBO_SRC += thirdparty/gumbo-parser/src/tag.c
46--GUMBO_SRC += thirdparty/gumbo-parser/src/tokenizer.c
47--GUMBO_SRC += thirdparty/gumbo-parser/src/utf8.c
48--GUMBO_SRC += thirdparty/gumbo-parser/src/util.c
49--GUMBO_SRC += thirdparty/gumbo-parser/src/vector.c
50--
51- # --- HARFBUZZ ---
52- 
53- HARFBUZZ_CFLAGS += -Ithirdparty/harfbuzz/src
54-diff --git a/source/fitz/xml.c b/source/fitz/xml.c
55-index ef9a233..0278228 100644
56---- a/source/fitz/xml.c
57-+++ b/source/fitz/xml.c
58-@@ -26,7 +26,9 @@
59- #include <stdlib.h>
60- #include <stdio.h>
61- 
62-+#if FZ_ENABLE_HTML
63- #include <gumbo.h>
64-+#endif
65- 
66- #define FZ_XML_MAX_DEPTH 4096
67- 
68-@@ -1127,6 +1129,7 @@ fz_parse_xml(fz_context *ctx, fz_buffer *buf, int preserve_white)
69- 	return xml;
70- }
71- 
72-+#if FZ_ENABLE_HTML
73- /*
74- 	Parse the contents of buffer into a tree of XML nodes, using the HTML5 syntax.
75- 
76-@@ -1293,6 +1296,7 @@ fz_parse_xml_from_html5(fz_context *ctx, fz_buffer *buf)
77- 
78- 	return xml;
79- }
80-+#endif
81- 
82- fz_xml *fz_xml_find_dfs(fz_xml *item, const char *tag, const char *att, const char *match)
83- {
84--- 
85-2.44.0
86-
+0, -72
 1@@ -1,72 +0,0 @@
 2-From 8069fdfd9fdc9c420040bee545f0ae9b540b789f Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Thu, 2 May 2024 04:20:00 +0200
 5-Subject: [PATCH 2/4] remove openjpeg dependency
 6-
 7----
 8- Makelists                | 31 -------------------------------
 9- source/fitz/encode-jpx.c |  4 ++--
10- 2 files changed, 2 insertions(+), 33 deletions(-)
11-
12-diff --git a/Makelists b/Makelists
13-index 2350297..a1ece3f 100644
14---- a/Makelists
15-+++ b/Makelists
16-@@ -269,37 +269,6 @@ JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_segment.c
17- JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_symbol_dict.c
18- JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_text.c
19- 
20--# --- OPENJPEG ---
21--
22--OPENJPEG_CFLAGS += -Ithirdparty/openjpeg/src/lib/openjp2
23--OPENJPEG_CFLAGS += -DOPJ_STATIC
24--OPENJPEG_CFLAGS += -DOPJ_HAVE_INTTYPES_H
25--OPENJPEG_CFLAGS += -DOPJ_HAVE_STDINT_H
26--
27--OPENJPEG_BUILD_CFLAGS += -Ithirdparty/openjpeg/src/lib/openjp2
28--OPENJPEG_BUILD_CFLAGS += -DMUTEX_pthread=0
29--
30--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/bio.c
31--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/cio.c
32--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/dwt.c
33--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/event.c
34--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/function_list.c
35--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/ht_dec.c
36--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/image.c
37--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/invert.c
38--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/j2k.c
39--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/jp2.c
40--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/mct.c
41--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/mqc.c
42--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/openjpeg.c
43--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/pi.c
44--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/sparse_array.c
45--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/t1.c
46--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/t2.c
47--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/tcd.c
48--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/tgt.c
49--OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/thread.c
50--
51- # --- FREEGLUT ---
52- 
53- GLUT_CFLAGS += -Ithirdparty/freeglut/include
54-diff --git a/source/fitz/encode-jpx.c b/source/fitz/encode-jpx.c
55-index 40cca5a..e38604f 100644
56---- a/source/fitz/encode-jpx.c
57-+++ b/source/fitz/encode-jpx.c
58-@@ -22,10 +22,10 @@
59- 
60- #include "mupdf/fitz.h"
61- 
62--#include <openjpeg.h>
63--
64- #if FZ_ENABLE_JPX
65- 
66-+#include <openjpeg.h>
67-+
68- static opj_image_t *
69- image_from_pixmap(fz_context *ctx, fz_pixmap *pix)
70- {
71--- 
72-2.44.0
73-
+0, -25
 1@@ -1,25 +0,0 @@
 2-From 557e949d4a386ac22f0dfdbc8c18bca4135ed508 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Thu, 2 May 2024 04:21:00 +0200
 5-Subject: [PATCH 3/4] change OBJCOPY_CMD to work on non-GNU linkers
 6-
 7----
 8- Makefile | 2 +-
 9- 1 file changed, 1 insertion(+), 1 deletion(-)
10-
11-diff --git a/Makefile b/Makefile
12-index dea68b3..726d470 100644
13---- a/Makefile
14-+++ b/Makefile
15-@@ -76,7 +76,7 @@ endif
16- LINK_CMD = $(QUIET_LINK) $(MKTGTDIR) ; $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
17- TAGS_CMD = $(QUIET_TAGS) ctags
18- WINDRES_CMD = $(QUIET_WINDRES) $(MKTGTDIR) ; $(WINDRES) $< $@
19--OBJCOPY_CMD = $(QUIET_OBJCOPY) $(MKTGTDIR) ; $(LD) -r -b binary -z noexecstack -o $@ $<
20-+OBJCOPY_CMD = $(QUIET_OBJCOPY) $(MKTGTDIR) ; objcopy -I binary -O default $< $@
21- GENDEF_CMD = $(QUIET_GENDEF) gendef - $< > $@
22- DLLTOOL_CMD = $(QUIET_DLLTOOL) dlltool -d $< -D $(notdir $(^:%.def=%.dll)) -l $@
23- 
24--- 
25-2.44.0
26-
+0, -40
 1@@ -1,40 +0,0 @@
 2-Upstream: https://github.com/ArtifexSoftware/mupdf/pull/6
 3-From 6f05eb97ffda80d43c3f2776cfc5a4348ddb7012 Mon Sep 17 00:00:00 2001
 4-From: Pavel Vinogradov <public@sourcemage.org>
 5-Date: Sun, 7 Oct 2018 14:52:56 -0400
 6-Subject: [PATCH] Fixed handling of safebags in pkcs7-helper library
 7-
 8----
 9- source/helpers/pkcs7/pkcs7-openssl.c | 8 ++++++--
10- 1 file changed, 6 insertions(+), 2 deletions(-)
11-
12-diff --git a/source/helpers/pkcs7/pkcs7-openssl.c b/source/helpers/pkcs7/pkcs7-openssl.c
13-index 58dbf65f1..7683b9796 100644
14---- a/source/helpers/pkcs7/pkcs7-openssl.c
15-+++ b/source/helpers/pkcs7/pkcs7-openssl.c
16-@@ -517,11 +517,12 @@ static void add_from_bag(X509 **pX509, EVP_PKEY **pPkey, PKCS12_SAFEBAG *bag, co
17- {
18- 	EVP_PKEY *pkey = NULL;
19- 	X509 *x509 = NULL;
20-+	STACK_OF(PKCS12_SAFEBAG) *bags;
21- 	switch (M_PKCS12_bag_type(bag))
22- 	{
23- 	case NID_keyBag:
24- 		{
25--			const PKCS8_PRIV_KEY_INFO *p8 = PKCS12_SAFEBAG_get0_p8inf(bag);
26-+			const PKCS8_PRIV_KEY_INFO *p8 = PKCS12_decrypt_skey(bag, pw, (int)strlen(pw));
27- 			pkey = EVP_PKCS82PKEY(p8);
28- 		}
29- 		break;
30-@@ -543,7 +544,10 @@ static void add_from_bag(X509 **pX509, EVP_PKEY **pPkey, PKCS12_SAFEBAG *bag, co
31- 		break;
32- 
33- 	case NID_safeContentsBag:
34--		add_from_bags(pX509, pPkey, PKCS12_SAFEBAG_get0_safes(bag), pw);
35-+		bags = sk_PKCS12_SAFEBAG_new_null();
36-+		sk_PKCS12_SAFEBAG_push(bags, bag);
37-+		add_from_bags(pX509, pPkey, bags, pw);
38-+		sk_PKCS12_SAFEBAG_free(bags);
39- 		break;
40- 	}
41- 
+0, -5
1@@ -1,5 +0,0 @@
2-https://mupdf.com/downloads/archive/mupdf-1.24.8-source.tar.gz
3-patches/0001-remove-gumbo-parser-dependency.patch
4-patches/0002-remove-openjpeg-dependency.patch
5-patches/0003-change-OBJCOPY_CMD-to-work-on-non-GNU-linkers.patch
6-patches/0004-Fixed-handling-of-safebags-in-pkcs7-helper-library.patch
+0, -1
1@@ -1 +0,0 @@
2-1.24.8 2
+0, -19
 1@@ -1,19 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-for p in *.patch; do
 5-	patch -p1 < "$p"
 6-done
 7-
 8-# uncomment everything here to build it statically
 9-sed 's/--libs fontconfig/--libs --static fontconfig/' config.mk > _
10-mv -f _ config.mk 
11-sed 's/--libs freetype2/--libs --static freetype2/' config.mk > _
12-mv -f _ config.mk
13-
14-make \
15-	LDFLAGS="$LDFLAGS -static-pie -lX11 -lXft \
16-	-lxcb -lX11-xcb -lXrender -lXau"
17-make PREFIX=/usr DESTDIR="$1" install
18-
19-# Compress manpages
20-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -6
1@@ -1,6 +0,0 @@
2-ee31a5679f2949b82fc634c101b464d52fc01be09e38fd03750d7891269e1bb612
3-adaf4aa75cf94fa255e244be51a4ee0f7419ecc49575ad0c0687978a24fda87c6e
4-5c90c66b0d6f8826951428f3c96d93fb4ea4fdd7d0c7ee8d95fc725b4b5a53d6de
5-3a9037f8cf5e86d66917cd23c2f555c332d0180e27e873d828106333a90ef7c3a1
6-040e3de553dd3bdc75e9e4a1d84a776f5db950d469a70256f60453ad98d3125bb1
7-8508158e81799c9f6004cbe4507db6b0bce2a88177834248b7e84f1cae15f18d51
+0, -3
1@@ -1,3 +0,0 @@
2-fontconfig make
3-libX11 make
4-libXft make
+0, -25
 1@@ -1,25 +0,0 @@
 2-From cb3e3fa3a803aeb1702ea0cfb77417f1d3bb9a46 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Thu, 15 Aug 2024 00:13:03 +0200
 5-Subject: [PATCH] set tamzen as default font
 6-
 7----
 8- config.def.h | 2 +-
 9- 1 file changed, 1 insertion(+), 1 deletion(-)
10-
11-diff --git a/config.def.h b/config.def.h
12-index 2cd740a..89fb5d1 100644
13---- a/config.def.h
14-+++ b/config.def.h
15-@@ -5,7 +5,7 @@
16-  *
17-  * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
18-  */
19--static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
20-+static char *font = "Tamzen:pixelsize=14:antialias=true:autohint=true";
21- static int borderpx = 2;
22- 
23- /*
24--- 
25-2.45.1
26-
+0, -25
 1@@ -1,25 +0,0 @@
 2-From 8a957548d9c065b91d2a847e75017ee23e1d9e91 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Mon, 28 Aug 2023 21:44:42 +0000
 5-Subject: [PATCH] set borderpx to 5
 6-
 7----
 8- config.def.h | 2 +-
 9- 1 file changed, 1 insertion(+), 1 deletion(-)
10-
11-diff --git a/config.def.h b/config.def.h
12-index 89fb5d1..d676f03 100644
13---- a/config.def.h
14-+++ b/config.def.h
15-@@ -6,7 +6,7 @@
16-  * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
17-  */
18- static char *font = "Tamzen:pixelsize=14:antialias=true:autohint=true";
19--static int borderpx = 2;
20-+static int borderpx = 5;
21- 
22- /*
23-  * What program is execed by st depends of these precedence rules:
24--- 
25-2.45.1
26-
+0, -25
 1@@ -1,25 +0,0 @@
 2-From 4b104e716053e377386348e9cfb82ed29fd37b93 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Mon, 28 Aug 2023 21:47:50 +0000
 5-Subject: [PATCH] set default cursor to _
 6-
 7----
 8- config.def.h | 2 +-
 9- 1 file changed, 1 insertion(+), 1 deletion(-)
10-
11-diff --git a/config.def.h b/config.def.h
12-index d676f03..9d217fc 100644
13---- a/config.def.h
14-+++ b/config.def.h
15-@@ -141,7 +141,7 @@ static unsigned int defaultrcs = 257;
16-  * 6: Bar ("|")
17-  * 7: Snowman ("☃")
18-  */
19--static unsigned int cursorshape = 2;
20-+static unsigned int cursorshape = 4;
21- 
22- /*
23-  * Default columns and rows numbers
24--- 
25-2.45.1
26-
+0, -29
 1@@ -1,29 +0,0 @@
 2-From 46491eb7d62574decda2ca1774e6693b16c30f86 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Mon, 28 Aug 2023 21:50:05 +0000
 5-Subject: [PATCH] switch keybindings for zoom
 6-
 7----
 8- config.def.h | 6 +++---
 9- 1 file changed, 3 insertions(+), 3 deletions(-)
10-
11-diff --git a/config.def.h b/config.def.h
12-index 2cd740a..e65c050 100644
13---- a/config.def.h
14-+++ b/config.def.h
15-@@ -193,9 +193,9 @@ static Shortcut shortcuts[] = {
16- 	{ ControlMask,          XK_Print,       toggleprinter,  {.i =  0} },
17- 	{ ShiftMask,            XK_Print,       printscreen,    {.i =  0} },
18- 	{ XK_ANY_MOD,           XK_Print,       printsel,       {.i =  0} },
19--	{ TERMMOD,              XK_Prior,       zoom,           {.f = +1} },
20--	{ TERMMOD,              XK_Next,        zoom,           {.f = -1} },
21--	{ TERMMOD,              XK_Home,        zoomreset,      {.f =  0} },
22-+	{ ControlMask,          XK_KP_Add,      zoom,           {.f = +1} },
23-+	{ ControlMask,          XK_KP_Subtract, zoom,           {.f = -1} },
24-+	{ ControlMask,          XK_equal,       zoomreset,      {.f =  0} },
25- 	{ TERMMOD,              XK_C,           clipcopy,       {.i =  0} },
26- 	{ TERMMOD,              XK_V,           clippaste,      {.i =  0} },
27- 	{ TERMMOD,              XK_Y,           selpaste,       {.i =  0} },
28--- 
29-2.45.1
30-
+0, -81
 1@@ -1,81 +0,0 @@
 2-From 1ed782bfe2ee0cf618e9a9c11265566c9aca559c Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Mon, 28 Aug 2023 21:51:35 +0000
 5-Subject: [PATCH] switch colorscheme
 6-
 7----
 8- config.def.h | 51 ++++++++++++++++++++++-----------------------------
 9- 1 file changed, 22 insertions(+), 29 deletions(-)
10-
11-diff --git a/config.def.h b/config.def.h
12-index d794b42..3c57301 100644
13---- a/config.def.h
14-+++ b/config.def.h
15-@@ -96,42 +96,35 @@ unsigned int tabspaces = 8;
16- /* Terminal colors (16 first used in escape sequence) */
17- static const char *colorname[] = {
18- 	/* 8 normal colors */
19--	"black",
20--	"red3",
21--	"green3",
22--	"yellow3",
23--	"blue2",
24--	"magenta3",
25--	"cyan3",
26--	"gray90",
27-+ [0] = "#1d1d1d", /* black    */
28-+ [1] = "#755a5b", /* red      */
29-+ [2] = "#68755a", /* green    */
30-+ [3] = "#756e5a", /* yellow   */
31-+ [4] = "#5b6976", /* blue     */
32-+ [5] = "#755b76", /* magenta  */
33-+ [6] = "#465457", /* cyan     */
34-+ [7] = "#ccccc6", /* white    */
35- 
36- 	/* 8 bright colors */
37--	"gray50",
38--	"red",
39--	"green",
40--	"yellow",
41--	"#5c5cff",
42--	"magenta",
43--	"cyan",
44--	"white",
45--
46--	[255] = 0,
47--
48--	/* more colors can be added after 255 to use with DefaultXX */
49--	"#cccccc",
50--	"#555555",
51--	"gray90", /* default foreground colour */
52--	"black", /* default background colour */
53--};
54-+ [8]  = "#5a5b5c", /* black   */
55-+ [9]  = "#a37679", /* red     */
56-+ [10] = "#87a376", /* green   */
57-+ [11] = "#a39b76", /* yellow  */
58-+ [12] = "#758ba3", /* blue    */
59-+ [13] = "#9f76a3", /* magenta */
60-+ [14] = "#899ca1", /* cyan    */
61-+ [15] = "#f8f8f2", /* white   */
62-+
63- 
64-+};
65- 
66- /*
67-  * Default colors (colorname index)
68-- * foreground, background, cursor, reverse cursor
69-+ * foreground, background, cursor
70-  */
71--unsigned int defaultfg = 258;
72--unsigned int defaultbg = 259;
73--unsigned int defaultcs = 256;
74-+unsigned int defaultfg = 15;
75-+unsigned int defaultbg = 0;
76-+unsigned int defaultcs = 15;
77- static unsigned int defaultrcs = 257;
78- 
79- /*
80--- 
81-2.45.1
82-
+0, -6
1@@ -1,6 +0,0 @@
2-https://dl.suckless.org/st/st-0.9.3.tar.gz
3-patches/0001-set-tamzen-as-default-font.patch
4-patches/0002-set-borderpx-to-5.patch
5-patches/0003-set-default-cursor-to-_.patch
6-patches/0004-switch-keybindings-for-zoom.patch
7-patches/0005-switch-colorscheme.patch
+0, -1
1@@ -1 +0,0 @@
2-0.9.3 1
+0, -19
 1@@ -1,19 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-for p in *.patch; do
 5-	patch -p1 < "$p"
 6-done
 7-
 8-# force use webkit 4.1
 9-sed 's/4.0/4.1/g' config.mk > _
10-mv -f _ config.mk
11-
12-# Set a more sane default window size
13-sed 's/800, 600/800, 900/' config.def.h > _
14-mv -f _ config.def.h
15-
16-make
17-make DESTDIR="$1" PREFIX=/usr install
18-
19-# Compress manpages
20-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -8
1@@ -1,8 +0,0 @@
2-6095a698544d69f413e277d4b97913a738fcca4bea7885b325c6fef6fc9c6840b9
3-e21d4dedd6ddf80fe54ac39c7470328d6c8eb2eefd3722ee54d30cc2e5cfe2cf5f
4-58713963e01a2c9da5c2499bd71bf4b9785884ab8d44e5d5860e7033e53807d76d
5-f3f3a5fa2fed7b019f8c58cdf966813b6f894e280425c91bb9f2396a75f8006031
6-1a1756f3b84cd832c79c38e03c99ea6e1eb15a6176adb9166cae036eaaa8234548
7-c5d832459a7dd6a24fe5c4b60f53d96ca7155c4d50d69eb73833239d71f1f39e49
8-bbc4b66c6281e7fef6dc6de883418ecf1eaa509af5c570dad92e311ead5d45e0d6
9-9767fab366cca2aba002f1ea17cb55d90b76af9eff60a1d39829ac5fd4664dd869
+0, -2
1@@ -1,2 +0,0 @@
2-webkit2gtk
3-xprop
+0, -230
  1@@ -1,230 +0,0 @@
  2-From 847d9f04844e150626db39db9c67a91fd1d33c4a Mon Sep 17 00:00:00 2001
  3-From: hovercats <hovercatswithlasereyes@protonmail.com>
  4-Date: Tue, 29 Aug 2023 22:56:07 +0200
  5-Subject: [PATCH] remove the need for gcr
  6-
  7----
  8- Makefile     |  2 +-
  9- arg.h        | 48 --------------------------------------
 10- config.def.h |  1 -
 11- config.mk    |  4 ++--
 12- surf.1       |  3 ---
 13- surf.c       | 66 +++++++++++++++++++++++++++++-----------------------
 14- 6 files changed, 40 insertions(+), 84 deletions(-)
 15- delete mode 100644 arg.h
 16-
 17-diff --git a/Makefile b/Makefile
 18-index e5d4172..db98eda 100644
 19---- a/Makefile
 20-+++ b/Makefile
 21-@@ -22,7 +22,7 @@ options:
 22- surf: $(OBJ)
 23- 	$(CC) $(SURFLDFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
 24- 
 25--$(OBJ) $(WOBJ): config.h common.h config.mk
 26-+$(OBJ) $(WOBJ): config.h  config.mk
 27- 
 28- config.h:
 29- 	cp config.def.h $@
 30-diff --git a/arg.h b/arg.h
 31-deleted file mode 100644
 32-index ba3fb3f..0000000
 33---- a/arg.h
 34-+++ /dev/null
 35-@@ -1,48 +0,0 @@
 36--/*
 37-- * Copy me if you can.
 38-- * by 20h
 39-- */
 40--
 41--#ifndef ARG_H__
 42--#define ARG_H__
 43--
 44--extern char *argv0;
 45--
 46--/* use main(int argc, char *argv[]) */
 47--#define ARGBEGIN	for (argv0 = *argv, argv++, argc--;\
 48--					argv[0] && argv[0][0] == '-'\
 49--					&& argv[0][1];\
 50--					argc--, argv++) {\
 51--				char argc_;\
 52--				char **argv_;\
 53--				int brk_;\
 54--				if (argv[0][1] == '-' && argv[0][2] == '\0') {\
 55--					argv++;\
 56--					argc--;\
 57--					break;\
 58--				}\
 59--				for (brk_ = 0, argv[0]++, argv_ = argv;\
 60--						argv[0][0] && !brk_;\
 61--						argv[0]++) {\
 62--					if (argv_ != argv)\
 63--						break;\
 64--					argc_ = argv[0][0];\
 65--					switch (argc_)
 66--#define ARGEND			}\
 67--			}
 68--
 69--#define ARGC()		argc_
 70--
 71--#define EARGF(x)	((argv[0][1] == '\0' && argv[1] == NULL)?\
 72--				((x), abort(), (char *)0) :\
 73--				(brk_ = 1, (argv[0][1] != '\0')?\
 74--					(&argv[0][1]) :\
 75--					(argc--, argv++, argv[0])))
 76--
 77--#define ARGF()		((argv[0][1] == '\0' && argv[1] == NULL)?\
 78--				(char *)0 :\
 79--				(brk_ = 1, (argv[0][1] != '\0')?\
 80--					(&argv[0][1]) :\
 81--					(argc--, argv++, argv[0])))
 82--
 83--#endif
 84-diff --git a/config.def.h b/config.def.h
 85-index ef44721..2745e79 100644
 86---- a/config.def.h
 87-+++ b/config.def.h
 88-@@ -163,7 +163,6 @@ static Key keys[] = {
 89- 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_n,      find,       { .i = -1 } },
 90- 
 91- 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_p,      print,      { 0 } },
 92--	{ MODKEY,                GDK_KEY_t,      showcert,   { 0 } },
 93- 
 94- 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_a,      togglecookiepolicy, { 0 } },
 95- 	{ 0,                     GDK_KEY_F11,    togglefullscreen, { 0 } },
 96-diff --git a/config.mk b/config.mk
 97-index 2eb9fb0..6e51980 100644
 98---- a/config.mk
 99-+++ b/config.mk
100-@@ -12,8 +12,8 @@ LIBDIR = $(LIBPREFIX)/surf
101- X11INC = `pkg-config --cflags x11`
102- X11LIB = `pkg-config --libs x11`
103- 
104--GTKINC = `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0`
105--GTKLIB = `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.0`
106-+GTKINC = `pkg-config --cflags gtk+-3.0  webkit2gtk-4.0`
107-+GTKLIB = `pkg-config --libs gtk+-3.0  webkit2gtk-4.0`
108- WEBEXTINC = `pkg-config --cflags webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0`
109- WEBEXTLIBS = `pkg-config --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0`
110- 
111-diff --git a/surf.1 b/surf.1
112-index 496afb9..78e8f9c 100644
113---- a/surf.1
114-+++ b/surf.1
115-@@ -194,9 +194,6 @@ Reloads the website without using the cache.
116- .B Ctrl\-y
117- Copies current URI to primary selection.
118- .TP
119--.B Ctrl\-t
120--Display the current TLS certificate in a popup window.
121--.TP
122- .B Ctrl\-Shift\-a
123- Toggle through the the
124- .I cookie policies\fR.
125-diff --git a/surf.c b/surf.c
126-index af0fa74..9186fc7 100644
127---- a/surf.c
128-+++ b/surf.c
129-@@ -6,7 +6,6 @@
130- #include <sys/socket.h>
131- #include <sys/types.h>
132- #include <sys/wait.h>
133--#include <glib.h>
134- #include <inttypes.h>
135- #include <libgen.h>
136- #include <limits.h>
137-@@ -24,15 +23,49 @@
138- #include <glib/gstdio.h>
139- #include <gtk/gtk.h>
140- #include <gtk/gtkx.h>
141--#include <gcr/gcr.h>
142- #include <JavaScriptCore/JavaScript.h>
143- #include <webkit2/webkit2.h>
144- #include <X11/X.h>
145- #include <X11/Xatom.h>
146- #include <glib.h>
147- 
148--#include "arg.h"
149--#include "common.h"
150-+/* use main(int argc, char *argv[]) */
151-+#define ARGBEGIN	for (argv0 = *argv, argv++, argc--;\
152-+					argv[0] && argv[0][0] == '-'\
153-+					&& argv[0][1];\
154-+					argc--, argv++) {\
155-+				char argc_;\
156-+				char **argv_;\
157-+				int brk_;\
158-+				if (argv[0][1] == '-' && argv[0][2] == '\0') {\
159-+					argv++;\
160-+					argc--;\
161-+					break;\
162-+				}\
163-+				for (brk_ = 0, argv[0]++, argv_ = argv;\
164-+						argv[0][0] && !brk_;\
165-+						argv[0]++) {\
166-+					if (argv_ != argv)\
167-+						break;\
168-+					argc_ = argv[0][0];\
169-+					switch (argc_)
170-+#define ARGEND			}\
171-+			}
172-+#define ARGC()		argc_
173-+
174-+#define EARGF(x)	((argv[0][1] == '\0' && argv[1] == NULL)?\
175-+				((x), abort(), (char *)0) :\
176-+				(brk_ = 1, (argv[0][1] != '\0')?\
177-+					(&argv[0][1]) :\
178-+					(argc--, argv++, argv[0])))
179-+
180-+#define ARGF()		((argv[0][1] == '\0' && argv[1] == NULL)?\
181-+				(char *)0 :\
182-+				(brk_ = 1, (argv[0][1] != '\0')?\
183-+					(&argv[0][1]) :\
184-+					(argc--, argv++, argv[0])))
185-+
186-+#define MSGBUFSZ 8
187- 
188- #define LENGTH(x)               (sizeof(x) / sizeof(x[0]))
189- #define CLEANMASK(mask)         (mask & (MODKEY|GDK_SHIFT_MASK))
190-@@ -142,7 +175,6 @@ typedef struct {
191- } SiteSpecific;
192- 
193- /* Surf */
194--static void die(const char *errstr, ...);
195- static void usage(void);
196- static void setup(void);
197- static void sigchld(int unused);
198-@@ -1800,30 +1832,6 @@ print(Client *c, const Arg *a)
199- 	                                  GTK_WINDOW(c->win));
200- }
201- 
202--void
203--showcert(Client *c, const Arg *a)
204--{
205--	GTlsCertificate *cert = c->failedcert ? c->failedcert : c->cert;
206--	GcrCertificate *gcrt;
207--	GByteArray *crt;
208--	GtkWidget *win;
209--	GcrCertificateWidget *wcert;
210--
211--	if (!cert)
212--		return;
213--
214--	g_object_get(cert, "certificate", &crt, NULL);
215--	gcrt = gcr_simple_certificate_new(crt->data, crt->len);
216--	g_byte_array_unref(crt);
217--
218--	win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
219--	wcert = gcr_certificate_widget_new(gcrt);
220--	g_object_unref(gcrt);
221--
222--	gtk_container_add(GTK_CONTAINER(win), GTK_WIDGET(wcert));
223--	gtk_widget_show_all(win);
224--}
225--
226- void
227- clipboard(Client *c, const Arg *a)
228- {
229--- 
230-2.45.1
231-
+0, -33
 1@@ -1,33 +0,0 @@
 2-From 1aabf78be1168a0f727d33acc08f7ea6792c0b4e Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Tue, 29 Aug 2023 22:58:53 +0200
 5-Subject: [PATCH] set cache/cookiedir to /tmp, and the rest to ~/etc/surf
 6-
 7----
 8- config.def.h | 10 +++++-----
 9- 1 file changed, 5 insertions(+), 5 deletions(-)
10-
11-diff --git a/config.def.h b/config.def.h
12-index 2745e79..71d5890 100644
13---- a/config.def.h
14-+++ b/config.def.h
15-@@ -1,11 +1,11 @@
16- /* modifier 0 means no modifier */
17- static int surfuseragent    = 1;  /* Append Surf version to default WebKit user agent */
18- static char *fulluseragent  = ""; /* Or override the whole user agent string */
19--static char *scriptfile     = "~/.surf/script.js";
20--static char *styledir       = "~/.surf/styles/";
21--static char *certdir        = "~/.surf/certificates/";
22--static char *cachedir       = "~/.surf/cache/";
23--static char *cookiefile     = "~/.surf/cookies.txt";
24-+static char *scriptfile     = "~/etc/surf/script.js";
25-+static char *styledir       = "~/etc/surf/styles/";
26-+static char *certdir        = "~/etc/surf/certificates/";
27-+static char *cachedir       = "/tmp/cache/";
28-+static char *cookiefile     = "/tmp/cookies.txt";
29- 
30- /* Webkit default features */
31- /* Highest priority value will be used.
32--- 
33-2.45.1
34-
+0, -67
 1@@ -1,67 +0,0 @@
 2-From c485576bf781e99bc6770ba43d92b2d1e7935b48 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Sun, 3 Dec 2023 16:44:06 +0100
 5-Subject: [PATCH] add quit hotkey
 6-
 7----
 8- config.def.h | 2 ++
 9- surf.1       | 3 +++
10- surf.c       | 8 ++++++++
11- 3 files changed, 13 insertions(+)
12-
13-diff --git a/config.def.h b/config.def.h
14-index 71d5890..bbff6f0 100644
15---- a/config.def.h
16-+++ b/config.def.h
17-@@ -134,6 +134,8 @@ static Key keys[] = {
18- 
19- 	{ 0,                     GDK_KEY_Escape, stop,       { 0 } },
20- 	{ MODKEY,                GDK_KEY_c,      stop,       { 0 } },
21-+	
22-+	{ MODKEY,				 GDK_KEY_q,	 	 quit,	     { 0 } },
23- 
24- 	{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_r,      reload,     { .i = 1 } },
25- 	{ MODKEY,                GDK_KEY_r,      reload,     { .i = 0 } },
26-diff --git a/surf.1 b/surf.1
27-index 78e8f9c..7fee3c3 100644
28---- a/surf.1
29-+++ b/surf.1
30-@@ -134,6 +134,9 @@ which surf should use.
31- .B Escape
32- Stops loading current page or stops download.
33- .TP
34-+.B Ctrl\-q
35-+Close surf.
36-+.TP
37- .B Ctrl\-h
38- Walks back the history.
39- .TP
40-diff --git a/surf.c b/surf.c
41-index 9186fc7..7abb207 100644
42---- a/surf.c
43-+++ b/surf.c
44-@@ -260,6 +260,7 @@ static void scrollv(Client *c, const Arg *a);
45- static void scrollh(Client *c, const Arg *a);
46- static void navigate(Client *c, const Arg *a);
47- static void stop(Client *c, const Arg *a);
48-+static void quit(Client *c, const Arg *a);
49- static void toggle(Client *c, const Arg *a);
50- static void togglefullscreen(Client *c, const Arg *a);
51- static void togglecookiepolicy(Client *c, const Arg *a);
52-@@ -1908,6 +1909,13 @@ stop(Client *c, const Arg *a)
53- 	webkit_web_view_stop_loading(c->view);
54- }
55- 
56-+void
57-+quit(Client *c, const Arg *a)
58-+{
59-+	cleanup();
60-+	exit(0);
61-+}
62-+
63- void
64- toggle(Client *c, const Arg *a)
65- {
66--- 
67-2.45.1
68-
+0, -84
 1@@ -1,84 +0,0 @@
 2-From 203324d5e4fc84440ff4a494c9c802a05c5292e4 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Tue, 29 Aug 2023 23:34:53 +0200
 5-Subject: [PATCH] apply searchengines patch
 6-
 7----
 8- config.def.h |  6 ++++++
 9- surf.c       | 22 +++++++++++++++++++++-
10- 2 files changed, 27 insertions(+), 1 deletion(-)
11-
12-diff --git a/config.def.h b/config.def.h
13-index bbff6f0..f47c36d 100644
14---- a/config.def.h
15-+++ b/config.def.h
16-@@ -7,6 +7,12 @@ static char *certdir        = "~/etc/surf/certificates/";
17- static char *cachedir       = "/tmp/cache/";
18- static char *cookiefile     = "/tmp/cookies.txt";
19- 
20-+static SearchEngine searchengines[] = {
21-+	{ " ", "https://duckduckgo.com/?q=%s" },
22-+	{ "yt ", "https://yewtu.be/search?q=%s" },
23-+
24-+};
25-+
26- /* Webkit default features */
27- /* Highest priority value will be used.
28-  * Default parameters are priority 0
29-diff --git a/surf.c b/surf.c
30-index 7abb207..f0e361f 100644
31---- a/surf.c
32-+++ b/surf.c
33-@@ -162,6 +162,11 @@ typedef struct {
34- 	unsigned int stopevent;
35- } Button;
36- 
37-+typedef struct {
38-+	char *token;
39-+	char *uri;
40-+} SearchEngine;
41-+
42- typedef struct {
43- 	const char *uri;
44- 	Parameter config[ParameterLast];
45-@@ -248,6 +253,7 @@ static void webprocessterminated(WebKitWebView *v,
46-                                  Client *c);
47- static void closeview(WebKitWebView *v, Client *c);
48- static void destroywin(GtkWidget* w, Client *c);
49-+static gchar *parseuri(const gchar *uri);
50- 
51- /* Hotkeys */
52- static void pasteuri(GtkClipboard *clipboard, const char *text, gpointer d);
53-@@ -609,7 +615,7 @@ loaduri(Client *c, const Arg *a)
54- 			url = g_strdup_printf("file://%s", path);
55- 			free(path);
56- 		} else {
57--			url = g_strdup_printf("http://%s", uri);
58-+			url = parseuri(uri);
59- 		}
60- 		if (apath != uri)
61- 			free(apath);
62-@@ -1809,6 +1815,20 @@ destroywin(GtkWidget* w, Client *c)
63- 		gtk_main_quit();
64- }
65- 
66-+gchar *
67-+parseuri(const gchar *uri)
68-+{
69-+	guint i;
70-+
71-+	for (i = 0; i < LENGTH(searchengines); i++) {
72-+		if (g_str_has_prefix(uri, searchengines[i].token))
73-+			return g_strdup_printf(searchengines[i].uri,
74-+					       uri + strlen(searchengines[i].token));
75-+	}
76-+
77-+	return g_strdup_printf("http://%s", uri);
78-+}
79-+
80- void
81- pasteuri(GtkClipboard *clipboard, const char *text, gpointer d)
82- {
83--- 
84-2.45.1
85-
+0, -67
 1@@ -1,67 +0,0 @@
 2-From 73f7772765667140052c978570c580789f0bbffa Mon Sep 17 00:00:00 2001
 3-From: Olivier Moreau <m242@protonmail.com>
 4-Date: Sun, 12 Jan 2020 11:23:11 +0000
 5-Subject: [PATCH] Added choice between PRIMARY and CLIPBOARD Gtk selections, as
 6- a config option
 7-
 8----
 9- config.def.h |  1 +
10- surf.c       | 11 +++++++++--
11- 2 files changed, 10 insertions(+), 2 deletions(-)
12-
13-diff --git a/config.def.h b/config.def.h
14-index f47c36d..8057e88 100644
15---- a/config.def.h
16-+++ b/config.def.h
17-@@ -53,6 +53,7 @@ static Parameter defconfig[ParameterLast] = {
18- 	[Style]               =       { { .i = 1 },     },
19- 	[WebGL]               =       { { .i = 0 },     },
20- 	[ZoomLevel]           =       { { .f = 1.0 },   },
21-+	[ClipboardNotPrimary] =	      { { .i = 1 }, 	},
22- };
23- 
24- static UriParameters uriparams[] = {
25-diff --git a/surf.c b/surf.c
26-index f0e361f..2d2ef12 100644
27---- a/surf.c
28-+++ b/surf.c
29-@@ -116,6 +116,7 @@ typedef enum {
30- 	Style,
31- 	WebGL,
32- 	ZoomLevel,
33-+	ClipboardNotPrimary,
34- 	ParameterLast
35- } ParamName;
36- 
37-@@ -330,6 +331,7 @@ static ParamName loadcommitted[] = {
38- 	SpellLanguages,
39- 	Style,
40- 	ZoomLevel,
41-+	ClipboardNotPrimary,
42- 	ParameterLast
43- };
44- 
45-@@ -1856,13 +1858,18 @@ print(Client *c, const Arg *a)
46- void
47- clipboard(Client *c, const Arg *a)
48- {
49-+	/* User defined choice of selection, see config.h */
50-+	GdkAtom	selection = GDK_SELECTION_PRIMARY;
51-+	if (curconfig[ClipboardNotPrimary].val.i > 0)
52-+		selection = GDK_SELECTION_CLIPBOARD;
53-+
54- 	if (a->i) { /* load clipboard uri */
55- 		gtk_clipboard_request_text(gtk_clipboard_get(
56--		                           GDK_SELECTION_PRIMARY),
57-+                                          selection),
58- 		                           pasteuri, c);
59- 	} else { /* copy uri */
60- 		gtk_clipboard_set_text(gtk_clipboard_get(
61--		                       GDK_SELECTION_PRIMARY), c->targeturi
62-+		                       selection), c->targeturi
63- 		                       ? c->targeturi : geturi(c), -1);
64- 	}
65- }
66--- 
67-2.45.1
68-
+0, -69
 1@@ -1,69 +0,0 @@
 2-From 8a6738460f48af138953852e7e8a39d0d89fdf4e Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Sun, 3 Dec 2023 16:36:54 +0100
 5-Subject: [PATCH] add bookmarking using bmks
 6-
 7----
 8- config.def.h | 18 ++++++++++++++++++
 9- surf.1       |  9 +++++++++
10- 2 files changed, 27 insertions(+)
11-
12-diff --git a/config.def.h b/config.def.h
13-index 8057e88..99dbf50 100644
14---- a/config.def.h
15-+++ b/config.def.h
16-@@ -81,6 +81,20 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
17-         } \
18- }
19- 
20-+/* bookmarks, need bmks script */
21-+#define BM_PICK(p, q) { .v = (char *[]){ "/bin/sh", "-c", \
22-+        "prop=\"$(bmks)\" &&" \
23-+        "xprop -id $2 -f $1 8s -set $1 \"$prop\"", \
24-+        p, q, winid, NULL } }
25-+
26-+#define BM_ADD { .v = (char *[]){ "/bin/sh", "-c", \
27-+        "bmks a \"$(xprop -id $0 _SURF_URI | cut -d '\"' -f 2)\"", \
28-+        winid, NULL } }
29-+
30-+#define BM_DEL { .v = (char *[]){ "/bin/sh", "-c", \
31-+        "bmks d", \
32-+        winid, NULL } }
33-+
34- /* DOWNLOAD(URI, referer) */
35- #define DOWNLOAD(u, r) { \
36-         .v = (const char *[]){ "st", "-e", "/bin/sh", "-c",\
37-@@ -139,6 +153,10 @@ static Key keys[] = {
38- 	{ MODKEY,                GDK_KEY_f,      spawn,      SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) },
39- 	{ MODKEY,                GDK_KEY_slash,  spawn,      SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) },
40- 
41-+	{ MODKEY,                GDK_KEY_o,      spawn,      BM_PICK("_SURF_URI", "_SURF_GO") },
42-+	{ MODKEY,                GDK_KEY_a,      spawn,      BM_ADD },
43-+	{ MODKEY,				 GDK_KEY_d,      spawn,      BM_DEL },
44-+
45- 	{ 0,                     GDK_KEY_Escape, stop,       { 0 } },
46- 	{ MODKEY,                GDK_KEY_c,      stop,       { 0 } },
47- 	
48-diff --git a/surf.1 b/surf.1
49-index 7fee3c3..ac32ba2 100644
50---- a/surf.1
51-+++ b/surf.1
52-@@ -161,6 +161,15 @@ Scroll horizontally to the right.
53- .B Ctrl\-u
54- Scroll horizontally to the left.
55- .TP
56-+.B Ctrl\-o
57-+Show bookmarks.
58-+.TP
59-+.B Ctrl\-a
60-+Bookmark current url.
61-+.TP
62-+.B Ctrl\-d
63-+Delete bookmark.
64-+.TP
65- .B Ctrl\-Shift\-k or Ctrl\-+
66- Zooms page in.
67- .TP
68--- 
69-2.45.1
70-
+0, -24
 1@@ -1,24 +0,0 @@
 2-From 7a70a2da1e33bab652f71da5f2d5c6fd5669610d Mon Sep 17 00:00:00 2001
 3-From: "Franc[e]sco" <lolisamurai@tfwno.gf>
 4-Date: Thu, 11 Jun 2020 04:19:13 +0200
 5-Subject: [PATCH] don't set default font size
 6-
 7----
 8- surf.c | 1 -
 9- 1 file changed, 1 deletion(-)
10-
11-diff --git a/surf.c b/surf.c
12-index 2d2ef12..262efd2 100644
13---- a/surf.c
14-+++ b/surf.c
15-@@ -1150,7 +1150,6 @@ newview(Client *c, WebKitWebView *rv)
16- 		   "allow-universal-access-from-file-urls", curconfig[FileURLsCrossAccess].val.i,
17- 		   "auto-load-images", curconfig[LoadImages].val.i,
18- 		   "default-charset", curconfig[DefaultCharset].val.v,
19--		   "default-font-size", curconfig[FontSize].val.i,
20- 		   "enable-caret-browsing", curconfig[CaretBrowsing].val.i,
21- 		   "enable-developer-extras", curconfig[Inspector].val.i,
22- 		   "enable-dns-prefetching", curconfig[DNSPrefetch].val.i,
23--- 
24-2.45.1
25-
+0, -8
1@@ -1,8 +0,0 @@
2-https://dl.suckless.org/surf/surf-2.1.tar.gz
3-patches/0001-remove-the-need-for-gcr.patch
4-patches/0002-set-cache-cookiedir-to-tmp-and-the-rest-to-etc-surf.patch
5-patches/0003-add-quit-hotkey.patch
6-patches/0004-apply-searchengines-patch.patch
7-patches/0005-Added-choice-between-PRIMARY-and-CLIPBOARD-Gtk-selec.patch
8-patches/0006-add-bookmarking-using-bmks.patch
9-patches/0007-don-t-set-default-font-size.patch
+0, -1
1@@ -1 +0,0 @@
2-2.1 5
+0, -20
 1@@ -1,20 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-# fix sx for tinyx
 5-sed -e 's/-keeptty//' \
 6-	-e 's/exec Xorg/exec Xfbdev/' \
 7-	sx > _
 8-mv -f _ sx
 9-
10-mkdir -p \
11-	"$1/usr/bin" \
12-	"$1/usr/share/man/man1"
13-
14-chmod 755 sx
15-chmod 655 sx.1
16-
17-cp -f sx "$1/usr/bin"
18-cp -f sx.1 "$1/usr/share/man/man1"
19-
20-# Compress manpages
21-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-7b0c0ed6192c328110b12c463a7a0985ba18178e55a41615f8ce9f4a0cc8f9f713
+0, -1
1@@ -1 +0,0 @@
2-xauth
+0, -1
1@@ -1 +0,0 @@
2-https://github.com/Earnestly/sx/archive/89ba7b16f5277e2c87b1b6442f48a81a198cbfd2.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-89ba7b16f5277e2c87b1b6442f48a81a198cbfd2 1
+0, -12
 1@@ -1,12 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-export LDFLAGS="$LDFLAGS -static -lxcb -lXau"
 5-
 6-make
 7-make DESTDIR="$1" PREFIX=/usr install
 8-
 9-# Remove docs
10-rm -rf "$1/usr/share/doc"
11-
12-# Compress manpages
13-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-f5930c95044f4de6e8446093c5533af490bae7a0aac4702ee3364133e723e72ff5
+0, -3
1@@ -1,3 +0,0 @@
2-libXau make
3-libxcb make
4-xcb-util-keysyms make
+0, -1
1@@ -1 +0,0 @@
2-https://github.com/baskerville/sxhkd/archive/0.6.3.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-0.6.3 1
+0, -25
 1@@ -1,25 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-export LDFLAGS="$LDFLAGS -static-pie"
 5-export XSERVERCFLAGS_CFLAGS="-fPIE"
 6-export XSERVERLIBS_LIBS="-lXdmcp -lXfont -lfreetype -lm -lharfbuzz -pthread -lXtst -lXi -lXext -lXfixes -lX11 -lpthread -lxcb -lXau -lfontenc -lpng16 -lz"
 7-
 8-for p in *.patch; do
 9-	patch -p1 < "$p"
10-done
11-
12-./configure \
13-  --prefix=/usr \
14-  --with-fontdir=/usr/share/fonts \
15-  --disable-xdmcp \
16-  --disable-xdm-auth-1
17-
18-make
19-make DESTDIR="$1" install
20-
21-# not compatible
22-rm -rf    "$1/usr/bin/Xvesa"
23-
24-#install minimum requirement for bitmap fonts
25-mkdir -p "$1/usr/share/fonts/misc"
26-cp ./*.pcf.gz fonts.alias fonts.dir "$1/usr/share/fonts/misc"
+0, -4
1@@ -1,4 +0,0 @@
2-6126c1285a84968a0a4c9caafdae653e51108a89d9f74d82a52bb24b90f3ba1ebe
3-78fb9658f2ce79b689d57ae9dc3f9a19e4d0cb859a8d5b404f660eaa2b36a68eac
4-095cbd64b386c1851ade3e38b6b711346f5faf6e3f7deaabf70d6f5257c20f36f2
5-b2c930e2d215542d6b7c88e3405bf9317c405e51c5f2b87dd968f48209780f6347
+0, -8
1@@ -1,8 +0,0 @@
2-freetype-harfbuzz make
3-libXdmcp          make
4-libXfont          make
5-libXtst           make
6-libfontenc        make
7-libpng            make
8-xtrans            make
9-zlib              make
+0, -123
  1@@ -1,123 +0,0 @@
  2-From f11614bb85d2cd38fada25d8e7bafff701df9a45 Mon Sep 17 00:00:00 2001
  3-From: hovercats <hovercatswithlasereyes@protonmail.com>
  4-Date: Sun, 26 May 2024 22:15:20 +0200
  5-Subject: [PATCH] Xext: INITARGS does not specify a type. change to int instead
  6-
  7----
  8- Xext/bigreq.c | 2 +-
  9- Xext/dpms.c   | 2 +-
 10- Xext/saver.c  | 2 +-
 11- Xext/shm.c    | 2 +-
 12- Xext/sync.c   | 2 +-
 13- Xext/xcmisc.c | 2 +-
 14- Xext/xres.c   | 2 +-
 15- Xext/xtest.c  | 2 +-
 16- 8 files changed, 8 insertions(+), 8 deletions(-)
 17-
 18-diff --git a/Xext/bigreq.c b/Xext/bigreq.c
 19-index 8059641..02bb0f9 100644
 20---- a/Xext/bigreq.c
 21-+++ b/Xext/bigreq.c
 22-@@ -50,7 +50,7 @@ static void BigReqResetProc(ExtensionEntry *    /* extEntry */
 23- static DISPATCH_PROC(ProcBigReqDispatch);
 24- 
 25- void
 26--BigReqExtensionInit(INITARGS)
 27-+BigReqExtensionInit(int)
 28- {
 29- #if 0
 30-     ExtensionEntry *extEntry;
 31-diff --git a/Xext/dpms.c b/Xext/dpms.c
 32-index b75f482..612e3af 100644
 33---- a/Xext/dpms.c
 34-+++ b/Xext/dpms.c
 35-@@ -91,7 +91,7 @@ static DISPATCH_PROC(SProcDPMSCapable);
 36- static void DPMSResetProc(ExtensionEntry * extEntry);
 37- 
 38- void
 39--DPMSExtensionInit(INITARGS)
 40-+DPMSExtensionInit(int)
 41- {
 42- #if 0
 43-     ExtensionEntry *extEntry;
 44-diff --git a/Xext/saver.c b/Xext/saver.c
 45-index 0ba9928..e88bce7 100644
 46---- a/Xext/saver.c
 47-+++ b/Xext/saver.c
 48-@@ -239,7 +239,7 @@ static int ScreenPrivateIndex;
 49-  ****************/
 50- 
 51- void
 52--ScreenSaverExtensionInit(INITARGS)
 53-+ScreenSaverExtensionInit(int)
 54- {
 55-     ExtensionEntry *extEntry;
 56- 
 57-diff --git a/Xext/shm.c b/Xext/shm.c
 58-index 957fcf3..fb6c05d 100644
 59---- a/Xext/shm.c
 60-+++ b/Xext/shm.c
 61-@@ -208,7 +208,7 @@ CheckForShmSyscall()
 62- #endif
 63- 
 64- void
 65--ShmExtensionInit(INITARGS)
 66-+ShmExtensionInit(int)
 67- {
 68-     ExtensionEntry *extEntry;
 69- 
 70-diff --git a/Xext/sync.c b/Xext/sync.c
 71-index 460cc5e..3242b69 100644
 72---- a/Xext/sync.c
 73-+++ b/Xext/sync.c
 74-@@ -2296,7 +2296,7 @@ ExtensionEntry *extEntry;
 75-  * ** Initialise the extension.
 76-  */
 77- void
 78--SyncExtensionInit(INITARGS)
 79-+SyncExtensionInit(int)
 80- {
 81-     ExtensionEntry *extEntry;
 82- 
 83-diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c
 84-index d8bfc81..079b262 100644
 85---- a/Xext/xcmisc.c
 86-+++ b/Xext/xcmisc.c
 87-@@ -64,7 +64,7 @@ static DISPATCH_PROC(SProcXCMiscGetXIDList);
 88- static DISPATCH_PROC(SProcXCMiscGetXIDRange);
 89- 
 90- void
 91--XCMiscExtensionInit(INITARGS)
 92-+XCMiscExtensionInit(int)
 93- {
 94- #if 0
 95-     ExtensionEntry *extEntry;
 96-diff --git a/Xext/xres.c b/Xext/xres.c
 97-index 39ba82e..f661572 100644
 98---- a/Xext/xres.c
 99-+++ b/Xext/xres.c
100-@@ -373,7 +373,7 @@ SProcResDispatch(ClientPtr client)
101- }
102- 
103- void
104--ResExtensionInit(INITARGS)
105-+ResExtensionInit(int)
106- {
107-     (void) AddExtension(XRES_NAME, 0, 0,
108-                         ProcResDispatch, SProcResDispatch,
109-diff --git a/Xext/xtest.c b/Xext/xtest.c
110-index e0f2bdc..af520ee 100644
111---- a/Xext/xtest.c
112-+++ b/Xext/xtest.c
113-@@ -80,7 +80,7 @@ static DISPATCH_PROC(SProcXTestGetVersion);
114- static DISPATCH_PROC(SProcXTestGrabControl);
115- 
116- void
117--XTestExtensionInit(INITARGS)
118-+XTestExtensionInit(int)
119- {
120- #if 0
121-     ExtensionEntry *extEntry;
122--- 
123-2.45.1
124-
+0, -34
 1@@ -1,34 +0,0 @@
 2-From a7a76e7a10adb4211798dfd135af785f50f276c0 Mon Sep 17 00:00:00 2001
 3-From: hovercats <hovercatswithlasereyes@protonmail.com>
 4-Date: Mon, 2 Feb 2026 11:55:56 +0100
 5-Subject: [PATCH] dbe.c: fix number of arguments
 6-
 7----
 8- dbe/dbe.c | 4 ++--
 9- 1 file changed, 2 insertions(+), 2 deletions(-)
10-
11-diff --git a/dbe/dbe.c b/dbe/dbe.c
12-index 2e945be..c51efe6 100644
13---- a/dbe/dbe.c
14-+++ b/dbe/dbe.c
15-@@ -52,7 +52,7 @@
16- /* GLOBALS */
17- 
18- /* Per-screen initialization functions [init'ed by DbeRegisterFunction()] */
19--static Bool (*DbeInitFunct[MAXSCREENS]) ();     /* pScreen, pDbeScreenPriv */
20-+static Bool (*DbeInitFunct[MAXSCREENS]) (ScreenPtr pScreen, DbeScreenPrivPtr pDbeScreenPriv);
21- 
22- /* These are static globals copied to DBE's screen private for use by DDX */
23- static int dbeScreenPrivIndex;
24-@@ -116,7 +116,7 @@ DbeValidateBuffer(WindowPtr pWin, XID drawID, Bool dstbuf)
25-  *****************************************************************************/
26- 
27- void
28--DbeRegisterFunction(ScreenPtr pScreen, Bool (*funct) ( /* ??? */ ))
29-+DbeRegisterFunction(ScreenPtr pScreen, void *funct)
30- {
31-     int i;
32- 
33--- 
34-2.49.0
35-
+0, -3
1@@ -1,3 +0,0 @@
2-#!/bin/sh
3-
4-chmod 4755 /usr/bin/Xfbdev
+0, -4
1@@ -1,4 +0,0 @@
2-https://github.com/hovercats/tinyx/releases/download/pre-gen-eed4902840732f170a7020cedb381017de99f2e6/tinyx-eed4902840732f170a7020cedb381017de99f2e6.tar.gz
3-https://github.com/kyx0r/repo-main/releases/download/tinyxfont_1.0/tinyxfont.tar.gz
4-patches/0001-Xext-INITARGS-does-not-specify-a-type.-change-to-int.patch
5-patches/0002-dbe.c-fix-number-of-arguments.patch
+0, -1
1@@ -1 +0,0 @@
2-eed4902840732f170a7020cedb381017de99f2e6 3
+0, -22
 1@@ -1,22 +0,0 @@
 2-#!/bin/sh -e 
 3-
 4-make \
 5-	CFLAGS="$CFLAGS -I/usr/include" \
 6-	LDFLAGS="$LDFLAGS -static -L/usr/lib -lxcb -lxcb-shm -lxcb-util -lxcb-image -lxcb-render-util -lxcb-render -lxcb-cursor -lXau /usr/lib/*.a"
 7-make \
 8-	MANPREFIX=/usr/share/man \
 9-	PREFIX=/usr \
10-	DESTDIR="$1" \
11-	install
12-
13-cd opt
14-
15-make LDFLAGS="$LDFLAGS -static -lxcb -lxcb-util -lXau"
16-make \
17-	MANPREFIX=/usr/share/man \
18-	PREFIX=/usr \
19-	DESTDIR="$1" \
20-	install
21-
22-# Compress manpages
23-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -2
1@@ -1,2 +0,0 @@
2-710721fecf9f0f21d53e04e7eca5143a3c9831d971308a412487860a97f543b7da
3-09913cad479c06a2c24347b5c62d0c46fc6bf357fdb53cd77d464820c70eab448a
+0, -5
1@@ -1,5 +0,0 @@
2-libxcb make
3-xcb-util make
4-xcb-util-cursor make
5-xcb-util-image make
6-xcb-util-renderutil make
+0, -2
1@@ -1,2 +0,0 @@
2-https://github.com/wmutils/core/archive/refs/tags/v1.7.tar.gz
3-https://github.com/wmutils/opt/archive/77124e003246fce8027452d3ceb440893b18d374.tar.gz opt
+0, -1
1@@ -1 +0,0 @@
2-1.7 3
+0, -34
 1@@ -1,34 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    XAUTH_CFLAGS="-static"
12-
13-make LIBS="/usr/lib/*.a /usr/lib/libXau.a /usr/lib/libxcb.a"
14-make DESTDIR="$1" install
15-
16-# Some X11 packages install to /usr/share.
17-! [ -d "$1/usr/share/pkgconfig" ] || {
18-    mkdir -p "$1/usr/lib"
19-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
20-}
21-
22-# We need to keep this around.
23-! [ -d "$1/usr/share/aclocal" ] || {
24-    mkdir -p "$TMPDIR"
25-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
26-}
27-
28-# Restore kept directories.
29-! [ -d "$TMPDIR" ] || {
30-    mv -f "$TMPDIR/"* "$1/usr/share"
31-    rm -rf "$TMPDIR"
32-}
33-
34-# Compress manpages
35-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-02c8468a8f54f0a51aa539df1c6e73390003fecb2858a2ab95031b633cd053df32
+0, -2
1@@ -1,2 +0,0 @@
2-libXmu make
3-xorg-util-macros make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/app/xauth-1.1.3.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.1.3 1
+0, -11
 1@@ -1,11 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-make X11BASE=/usr
 5-make \
 6-    PREFIX=/usr \
 7-    MANDIR=/usr/share/man/man1 \
 8-	DESTDIR="$1" \
 9-    install
10-
11-# Compress manpages
12-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-05e45806bf467f3077e5cf1985b567a1c6a66b08de94a1ff35ac46646756c6c011
+0, -4
1@@ -1,4 +0,0 @@
2-libX11
3-libXfixes
4-libXi
5-libXt
+0, -1
1@@ -1 +0,0 @@
2-https://github.com/jcs/xbanish/archive/v1.8.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.8 3
+0, -34
 1@@ -1,34 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-: > missing
 5-
 6-TMPDIR="$1/tmp"
 7-
 8-./configure \
 9-    --prefix=/usr \
10-    --sysconfdir=/etc \
11-    --mandir=/usr/share/man \
12-    --localstatedir=/var \
13-    --without-xmlto \
14-    --disable-specs
15-
16-make
17-make DESTDIR="$1" install
18-
19-# Some X11 packages install to /usr/share.
20-! [ -d "$1/usr/share/pkgconfig" ] || {
21-    mkdir -p "$1/usr/lib"
22-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
23-}
24-
25-# We need to keep this around.
26-! [ -d "$1/usr/share/aclocal" ] || {
27-    mkdir -p "$TMPDIR"
28-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
29-}
30-
31-# Restore kept directories.
32-! [ -d "$TMPDIR" ] || {
33-    mv -f "$TMPDIR/"* "$1/usr/share"
34-    rm -rf "$TMPDIR"
35-}
+0, -1
1@@ -1 +0,0 @@
2-68187400fded667f60b4b020d0fc37fa489ae0de33169fe7b07fcbaf88e7a3f993
+0, -1
1@@ -1 +0,0 @@
2-python make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/proto/xcb-proto-1.17.0.tar.xz
+0, -1
1@@ -1 +0,0 @@
2-1.17.0 1
+0, -8
1@@ -1,8 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5-    --prefix=/usr \
6-    --disable-shared
7-
8-make
9-make DESTDIR="$1" install
+0, -1
1@@ -1 +0,0 @@
2-daea03c08a0ba3f190a34efe868a9e853f99eb8904fc79aaf8f3b697d4414f06a0
+0, -5
1@@ -1,5 +0,0 @@
2-libXau
3-libxcb
4-xcb-util
5-xcb-util-image
6-xcb-util-renderutil
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/xcb/xcb-util-cursor-0.1.5.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-0.1.5 1
+0, -10
 1@@ -1,10 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-: > missing
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --disable-shared
 9-
10-make
11-make DESTDIR="$1" install
+0, -1
1@@ -1 +0,0 @@
2-9aca6977c5fde46aa188c394c36389fc16e78fd6db5b88ea263abd98c7d9e3fbe2
+0, -3
1@@ -1,3 +0,0 @@
2-libXau
3-libxcb
4-xcb-util
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/xcb/xcb-util-image-0.4.1.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-0.4.1 1
+0, -8
1@@ -1,8 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5-    --prefix=/usr \
6-    --disable-shared
7-
8-make
9-make DESTDIR="$1" install
+0, -1
1@@ -1 +0,0 @@
2-5c126cf650ea3853c788eb821a87ee4e07148eed381981b7027b1e95f036a3058d
+0, -2
1@@ -1,2 +0,0 @@
2-libxcb
3-xcb-util make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/xcb/xcb-util-keysyms-0.4.1.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-0.4.1 1
+0, -9
 1@@ -1,9 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-./configure \
 5-    --prefix=/usr \
 6-    --disable-shared \
 7-    --enable-static
 8-
 9-make
10-make DESTDIR="$1" install
+0, -1
1@@ -1 +0,0 @@
2-d922f02ad7e2034d4429c7328648382caa74ff32523cf9cc5e34e6aab8a45bd064
+0, -2
1@@ -1,2 +0,0 @@
2-libXau
3-libxcb
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/xcb/xcb-util-renderutil-0.3.10.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-0.3.10 1
+0, -8
1@@ -1,8 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5-    --prefix=/usr \
6-    --disable-shared
7-
8-make
9-make DESTDIR="$1" install
+0, -1
1@@ -1 +0,0 @@
2-ae4f8ffe9997e4d402cfb5377ca14bf2c56f327819d3abed11a1304c5d805b251b
+0, -2
1@@ -1,2 +0,0 @@
2-libXau
3-libxcb
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/xcb/xcb-util-0.4.1.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-0.4.1 1
+0, -12
 1@@ -1,12 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-./configure \
 5-    --prefix=/usr \
 6-    LDFLAGS="$LDFLAGS -static -L/usr/lib" \
 7-    LIBS="-lXrandr -lXext -lXrender -lX11 -lpthread -lxcb -lXau"
 8-
 9-make
10-make DESTDIR="$1" install
11-
12-# Compress manpages
13-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-e01dc4d13187992d36b2bb9cff11981c35df63647ffff44cd14b30c5abe1d05322
+0, -8
1@@ -1,8 +0,0 @@
2-libX11           make
3-libXau           make
4-libXext          make
5-libXrandr        make
6-libXrender       make
7-libxcb           make
8-xorg-util-macros make
9-xorgproto        make
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/app/xev-1.2.6.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.2.6 1
+0, -12
 1@@ -1,12 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-./configure \
 5-    --prefix=/usr \
 6-    LDFLAGS="$LDFLAGS -static -L/usr/lib" \
 7-	LIBS="-lX11 -lpthread -lxcb -lXau"
 8-
 9-make
10-make DESTDIR="$1" install
11-
12-# Compress manpages
13-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-970464de9829a872a93f110741e53e31f0a4f5aa84a970d80988bb71ec283933aa
+0, -3
1@@ -1,3 +0,0 @@
2-libX11 make
3-libXau make
4-libxcb make
+0, -1
1@@ -1 +0,0 @@
2-https://xorg.freedesktop.org/archive/individual/app/xmodmap-1.0.11.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.0.11 1
+0, -34
 1@@ -1,34 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-: > missing
 5-
 6-TMPDIR="$1/tmp"
 7-
 8-./configure \
 9-    --prefix=/usr \
10-    --sysconfdir=/etc \
11-    --mandir=/usr/share/man \
12-    --localstatedir=/var \
13-    --without-xmlto \
14-    --disable-specs
15-
16-make
17-make DESTDIR="$1" install
18-
19-# Some X11 packages install to /usr/share.
20-! [ -d "$1/usr/share/pkgconfig" ] || {
21-    mkdir -p "$1/usr/lib"
22-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
23-}
24-
25-# We need to keep this around.
26-! [ -d "$1/usr/share/aclocal" ] || {
27-    mkdir -p "$TMPDIR"
28-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
29-}
30-
31-# Restore kept directories.
32-! [ -d "$TMPDIR" ] || {
33-    mv -f "$TMPDIR/"* "$1/usr/share"
34-    rm -rf "$TMPDIR"
35-}
+0, -1
1@@ -1 +0,0 @@
2-cfd9960e84fba07349a897851e5e0ccd2b46bde9ba49a4d78ee78f427620c2f531
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/util/util-macros-1.20.0.tar.xz
+0, -1
1@@ -1 +0,0 @@
2-1.20.0 1
+0, -38
 1@@ -1,38 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-: > missing
 5-
 6-TMPDIR="$1/tmp"
 7-
 8-./configure \
 9-    --host=x86_64-linux-musl \
10-    --prefix=/usr \
11-    --sysconfdir=/etc \
12-    --mandir=/usr/share/man \
13-    --localstatedir=/var \
14-    --without-xmlto \
15-    --disable-specs
16-
17-make
18-make DESTDIR="$1" install
19-
20-# Some X11 packages install to /usr/share.
21-! [ -d "$1/usr/share/pkgconfig" ] || {
22-    mkdir -p "$1/usr/lib"
23-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
24-}
25-
26-# We need to keep this around.
27-! [ -d "$1/usr/share/aclocal" ] || {
28-    mkdir -p "$TMPDIR"
29-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
30-}
31-
32-# Restore kept directories.
33-! [ -d "$TMPDIR" ] || {
34-    mv -f "$TMPDIR/"* "$1/usr/share"
35-    rm -rf "$TMPDIR"
36-}
37-
38-# Remove docs
39-rm -rf "$1/usr/share/doc"
+0, -1
1@@ -1 +0,0 @@
2-eace9012239f81e65158458e43610526371b57f2d58ea80ea6e5ea9046ee05f5f7
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/proto/xorgproto-2024.1.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-2024.1 1
+0, -35
 1@@ -1,35 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --prefix=/usr \
 8-    --sysconfdir=/etc \
 9-    --mandir=/usr/share/man \
10-    --localstatedir=/var \
11-    --without-xmlto \
12-    --disable-specs
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Some X11 packages install to /usr/share.
18-! [ -d "$1/usr/share/pkgconfig" ] || {
19-    mkdir -p "$1/usr/lib"
20-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
21-}
22-
23-# We need to keep this around.
24-! [ -d "$1/usr/share/aclocal" ] || {
25-    mkdir -p "$TMPDIR"
26-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
27-}
28-
29-# Restore kept directories.
30-! [ -d "$TMPDIR" ] || {
31-    mv -f "$TMPDIR/"* "$1/usr/share"
32-    rm -rf "$TMPDIR"
33-}
34-
35-# Compress manpages
36-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0, -1
1@@ -1 +0,0 @@
2-d66557c7a29ca9b9cc995307ece10f789b8e6bbc896e8645a64926ee8563b4c18e
+0, -2
1@@ -1,2 +0,0 @@
2-libX11
3-libXmu
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/app/xprop-1.2.8.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.2.8 1
+0, -36
 1@@ -1,36 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-TMPDIR="$1/tmp"
 5-
 6-./configure \
 7-    --host=x86_64-linux-musl \
 8-    --prefix=/usr \
 9-    --sysconfdir=/etc \
10-    --mandir=/usr/share/man \
11-    --localstatedir=/var \
12-    --without-xmlto \
13-    --disable-specs
14-
15-make
16-make DESTDIR="$1" install
17-
18-# Some X11 packages install to /usr/share.
19-! [ -d "$1/usr/share/pkgconfig" ] || {
20-    mkdir -p "$1/usr/lib"
21-    mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
22-}
23-
24-# We need to keep this around.
25-! [ -d "$1/usr/share/aclocal" ] || {
26-    mkdir -p "$TMPDIR"
27-    mv -f "$1/usr/share/aclocal" "$TMPDIR"
28-}
29-
30-# Restore kept directories.
31-! [ -d "$TMPDIR" ] || {
32-    mv -f "$TMPDIR/"* "$1/usr/share"
33-    rm -rf "$TMPDIR"
34-}
35-
36-# Remove docs
37-rm -rf "$1/usr/share/doc"
+0, -1
1@@ -1 +0,0 @@
2-2489d33728bddb42a6c550e508b7138a00ef009c3a2bea714f79107b3a448b8001
+0, -0
+0, -1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/xtrans-1.5.2.tar.gz
+0, -1
1@@ -1 +0,0 @@
2-1.5.2 1
+0, -11
 1@@ -1,11 +0,0 @@
 2-#!/bin/sh -e
 3-
 4-export CFLAGS="$CFLAGS -std=c17"
 5-
 6-cd build/generic
 7-
 8-./configure \
 9-    --prefix=/usr
10-
11-make
12-make DESTDIR="$1" install
+0, -1
1@@ -1 +0,0 @@
2-b29e53dcb890e7dd2ef8faa5dbf4a6d7ed7eea84cf66e8a211c61ef0d902950989
+0, -0
+0, -1
1@@ -1 +0,0 @@
2-https://downloads.xvid.com/downloads/xvidcore-1.3.7.tar.bz2
+0, -1
1@@ -1 +0,0 @@
2-1.3.7 1