commit d229f15
hovercats
·
2026-08-09 13:09:38 +0000 UTC
parent 2e6ce71
repo/: purge all packages.
412 files changed,
+0,
-4811
+0,
-22
1@@ -1,22 +0,0 @@
2-#!/bin/sh -e
3-
4-: > missing
5-
6-# this should be fixed
7-# build once with shared libs
8-./configure \
9- --prefix=/usr \
10- --without-debug
11-
12-make
13-make DESTDIR="$1" install
14-
15-# rebuild, but with --static flag, to produce static bins
16-./configure \
17- --prefix=/usr \
18- --without-debug \
19- --disable-shared \
20- --enable-static
21-
22-make LDFLAGS="$LDFLAGS --static"
23-make DESTDIR="$1" install
+0,
-1
1@@ -1 +0,0 @@
2-99bbf2e22414ceac135e2d2e1e8b43d354721e1199aa83ac893dbba63a8e11accc
+0,
-1
1@@ -1 +0,0 @@
2-https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.13.tar.bz2
+0,
-1
1@@ -1 +0,0 @@
2-1.2.13 1
+0,
-23
1@@ -1,23 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-patch -p1 < 0001-fix-enum-types-for-muon.patch
8-
9-: > tests/meson.build
10-: > po/meson.build
11-
12-muon setup \
13- -Dprefix=/usr \
14- -Dsysconfdir=/etc \
15- -Dmandir=/usr/share/man \
16- -Dbuildtype=release \
17- -Db_colorout=never \
18- -Ddocs=false \
19- -Dintrospection=false \
20- -Ddefault_library=shared \
21- build
22-
23-samu -C build
24-muon -C build install
+0,
-2
1@@ -1,2 +0,0 @@
2-cbc1b7ba03009ee5cc0e646d8a86117e0d65bf8d105f2e8714fbde0299a8012eff
3-12d9b86e8a12ab67b1f676e0167c23b6def96024e7d33f7d29dfcf9cae261fec85
+0,
-2
1@@ -1,2 +0,0 @@
2-glib
3-libffi
1@@ -1,55 +0,0 @@
2-From 9cd30f390bd4faf06ac5bfc135aa83fa134324ad Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 3 Oct 2024 13:05:43 +0200
5-Subject: [PATCH] fix enum-types for muon
6-
7----
8- atk/meson.build | 30 ++++++++++++++++++++++++------
9- 1 file changed, 24 insertions(+), 6 deletions(-)
10-
11-diff --git a/atk/meson.build b/atk/meson.build
12-index d19bbba..070730f 100644
13---- a/atk/meson.build
14-+++ b/atk/meson.build
15-@@ -94,14 +94,32 @@ atk_marshals = gnome.genmarshal('atkmarshal',
16- atk_marshal_h = atk_marshals[1]
17-
18- # Enumerations for GType
19--atk_enums = gnome.mkenums('atk-enum-types',
20-- sources: atk_headers,
21-- c_template: 'atk-enum-types.c.template',
22-- h_template: 'atk-enum-types.h.template',
23-+atk_enums = []
24-+atk_enums += custom_target('atk-enum-types_h',
25-+ capture: true,
26-+ output: 'atk-enum-types.h',
27-+ input: atk_headers,
28- install_dir: join_paths(atk_includedir, atk_api_path),
29-- install_header: true,
30-+ install: true,
31-+ command: [
32-+ find_program('glib-mkenums'),
33-+ '--template', files('atk-enum-types.h.template'),
34-+ '@INPUT@',
35-+ ],
36-+)
37-+
38-+atk_enums += custom_target('atk-enum-types_c',
39-+ capture: true,
40-+ output: 'atk-enum-types.c',
41-+ input: atk_headers,
42-+ command: [
43-+ find_program('glib-mkenums'),
44-+ '--template', files('atk-enum-types.c.template'),
45-+ '@INPUT@',
46-+ ],
47- )
48--atk_enum_h = atk_enums[1]
49-+
50-+atk_enum_h = atk_enums[0]
51-
52- atk_cflags = [
53- '-DG_LOG_DOMAIN="Atk"',
54---
55-2.45.1
56-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://ftp.gnome.org/pub/gnome/sources/atk/2.38/atk-2.38.0.tar.xz
3-patches/0001-fix-enum-types-for-muon.patch
+0,
-1
1@@ -1 +0,0 @@
2-2.38.0 3
+0,
-21
1@@ -1,21 +0,0 @@
2-#!/bin/sh -e
3-
4-patch -p1 < 0001-util-remove-malloc-stats.patch
5-
6-export DESTDIR="$1"
7-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
8-
9-muon setup \
10- -Dprefix=/usr \
11- -Dbuildtype=release \
12- -Db_colorout=never \
13- -Dtee=enabled \
14- -Dxcb=disabled \
15- -Dxlib=disabled \
16- -Dxlib-xcb=disabled \
17- -Dtests=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-55b4b6406668e08dd6b816beba82c86df8e9a5468352c66597badb4f6583930e6a
3-b95ab8fb2d9901bff460ae7440811a35067f0ca833894c8ad44c4df6686132bf66
+0,
-6
1@@ -1,6 +0,0 @@
2-fontconfig
3-freetype-harfbuzz
4-glib
5-libpng
6-mesa
7-pixman
1@@ -1,440 +0,0 @@
2-From 377f3b5caf0a53590162047e03f1e8803592917b Mon Sep 17 00:00:00 2001
3-From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com>
4-Date: Thu, 28 Sep 2023 11:21:53 +0200
5-Subject: [PATCH] util: remove malloc-stats
6-
7-Not really cairo-related and has now been moved into a
8-separate repository at https://github.com/behdad/malloc-stats
9-
10-Fixes #640
11----
12- util/README | 16 --
13- util/malloc-stats.c | 376 --------------------------------------------
14- util/meson.build | 4 -
15- 3 files changed, 396 deletions(-)
16- delete mode 100644 util/malloc-stats.c
17-
18-diff --git a/util/README b/util/README
19-index b75ae43..90e1f7f 100644
20---- a/util/README
21-+++ b/util/README
22-@@ -3,22 +3,6 @@ Cairo Utilities
23-
24- There are a varieties of utilities we use with cairo.
25-
26--
27--malloc-stats
28--------------
29--
30--This is a small shared library designed to be preloaded by the
31--linker and its purpose is to make the malloc_stats() function
32--of glibc produce more useful information.
33--
34--Build by:
35--
36-- make malloc-stats.so
37--
38--and use by:
39--
40-- LD_PRELOAD=$(blddir)/util/libmalloc-stats.so app-to-run
41--
42- cairo-trace
43- -----------
44-
45-diff --git a/util/malloc-stats.c b/util/malloc-stats.c
46-deleted file mode 100644
47-index a086b05..0000000
48---- a/util/malloc-stats.c
49-+++ /dev/null
50-@@ -1,376 +0,0 @@
51--/* -*- Mode: c; c-basic-offset: 4; indent-tabs-mode: t; tab-width: 8; -*- */
52--/*
53-- * Copyright © 2007 Red Hat, Inc.
54-- *
55-- * Permission to use, copy, modify, distribute, and sell this software
56-- * and its documentation for any purpose is hereby granted without
57-- * fee, provided that the above copyright notice appear in all copies
58-- * and that both that copyright notice and this permission notice
59-- * appear in supporting documentation, and that the name of
60-- * Red Hat, Inc. not be used in advertising or publicity pertaining to
61-- * distribution of the software without specific, written prior
62-- * permission. Red Hat, Inc. makes no representations about the
63-- * suitability of this software for any purpose. It is provided "as
64-- * is" without express or implied warranty.
65-- *
66-- * RED HAT, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
67-- * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
68-- * FITNESS, IN NO EVENT SHALL RED HAT, INC. BE LIABLE FOR ANY SPECIAL,
69-- * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
70-- * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
71-- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
72-- * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
73-- *
74-- * Author: Behdad Esfahbod <behdad@behdad.org>
75-- */
76--
77--/* A simple malloc wrapper that prints out statistics on termination */
78--
79--#ifndef _GNU_SOURCE
80--#define _GNU_SOURCE
81--#endif
82--
83--#include <stdlib.h>
84--#include <stdio.h>
85--#include <stdint.h>
86--
87--/* caller-logging */
88--
89--#include <string.h>
90--
91--struct alloc_stat_t {
92-- unsigned int num;
93-- unsigned long long size;
94--};
95--
96--struct alloc_stats_t {
97-- struct alloc_stat_t malloc, realloc, total;
98--};
99--
100--struct func_stat_t {
101-- struct func_stat_t *next;
102--
103-- const void *addr;
104-- const char *name;
105--
106-- struct alloc_stats_t stat;
107--};
108--
109--static struct alloc_stats_t total_allocations;
110--static struct func_stat_t *func_stats[31627];
111--static int func_stats_num;
112--
113--#ifndef ARRAY_LENGTH
114--#define ARRAY_LENGTH(__array) ((int) (sizeof (__array) / sizeof (__array[0])))
115--#endif
116--static void
117--alloc_stats_add (struct alloc_stats_t *stats, int is_realloc, size_t size)
118--{
119-- struct alloc_stat_t *stat = is_realloc ? &stats->realloc : &stats->malloc;
120--
121-- stats->total.num++;
122-- stats->total.size += size;
123--
124-- stat->num++;
125-- stat->size += size;
126--}
127--
128--#include <execinfo.h>
129--
130--static void *
131--_perm_alloc (size_t size)
132--{
133-- static uint8_t *ptr;
134-- static size_t rem;
135--
136-- void *ret;
137--
138--#define SUPERBLOCK_SIZE (1<<23)
139--#define align(x, y) (((x) + ((y)-1)) & ~((y)-1))
140--
141-- size = align (size, 2 * sizeof (void *));
142-- if (size > rem || rem == 0) {
143-- ptr = malloc (SUPERBLOCK_SIZE);
144-- if (ptr == NULL)
145-- exit (1);
146-- rem = SUPERBLOCK_SIZE;
147-- }
148--
149--#undef SUPERBLOCK_SIZE
150--#undef align
151--
152-- ret = ptr;
153-- rem -= size;
154-- ptr += size;
155--
156-- return ret;
157--}
158--
159--static void
160--resolve_addrs (struct func_stat_t *func_stats, int num)
161--{
162-- int i;
163-- void **addrs;
164-- char **strings;
165--
166-- addrs = malloc (num * sizeof (void *));
167-- for (i = 0; i < num; i++)
168-- addrs[i] = (void *) func_stats[i].addr;
169--
170-- strings = backtrace_symbols (addrs, num);
171--
172-- for (i = 0; i < num; i++) {
173-- char *p;
174-- char *name;
175-- int len;
176--
177-- p = strchr (strings[i], '\t');
178-- if (p)
179-- p++;
180-- else
181-- p = strings[i];
182--
183-- len = strlen (p) + 1;
184-- name = _perm_alloc (len);
185-- memcpy (name, p, len);
186-- func_stats[i].name = name;
187-- }
188--
189-- free (strings);
190-- free (addrs);
191--}
192--
193--static void
194--func_stats_add (const void *caller, int is_realloc, size_t size)
195--{
196-- int i;
197-- struct func_stat_t *elt;
198--
199-- alloc_stats_add (&total_allocations, is_realloc, size);
200--
201-- i = ((uintptr_t) caller ^ 1215497) % ARRAY_LENGTH (func_stats);
202-- for (elt = func_stats[i]; elt != NULL; elt = elt->next) {
203-- if (elt->addr == caller)
204-- break;
205-- }
206--
207-- if (elt == NULL) {
208-- func_stats_num++;
209--
210-- elt = _perm_alloc (sizeof (struct func_stat_t));
211-- elt->next = func_stats[i];
212-- func_stats[i] = elt;
213-- elt->addr = caller;
214-- elt->name = NULL;
215-- memset (&elt->stat, 0, sizeof (struct alloc_stats_t));
216-- }
217--
218-- alloc_stats_add (&elt->stat, is_realloc, size);
219--}
220--
221--/* wrapper stuff */
222--
223--#include <dlfcn.h>
224--
225--static void *(*old_malloc)(size_t);
226--static void *(*old_calloc)(size_t, size_t);
227--static void *(*old_realloc)(void *, size_t);
228--static int enable_hook = 0;
229--
230--static void init(void);
231--
232--void *
233--malloc(size_t size)
234--{
235-- if (!old_malloc)
236-- init ();
237--
238-- if (enable_hook) {
239-- enable_hook = 0;
240-- void *caller = __builtin_return_address(0);
241-- func_stats_add (caller, 0, size);
242-- enable_hook = 1;
243-- }
244--
245-- return old_malloc (size);
246--}
247--
248--void *
249--calloc(size_t nmemb, size_t size)
250--{
251-- if (!old_calloc)
252-- init ();
253--
254-- if (enable_hook) {
255-- enable_hook = 0;
256-- void *caller = __builtin_return_address(0);
257-- func_stats_add (caller, 0, nmemb * size);
258-- enable_hook = 1;
259-- }
260--
261-- return old_calloc (nmemb, size);
262--}
263--
264--void *
265--realloc(void *ptr, size_t size)
266--{
267-- if (!old_malloc)
268-- init ();
269--
270-- if (enable_hook) {
271-- enable_hook = 0;
272-- void *caller = __builtin_return_address(0);
273-- func_stats_add (caller, 1, size);
274-- enable_hook = 1;
275-- }
276--
277-- return old_realloc (ptr, size);
278--}
279--
280--static void
281--init(void)
282--{
283-- old_malloc = dlsym(RTLD_NEXT, "malloc");
284-- if (!old_malloc) {
285-- fprintf(stderr, "%s\n", dlerror());
286-- exit(1);
287-- }
288-- old_calloc = dlsym(RTLD_NEXT, "calloc");
289-- if (!old_calloc) {
290-- fprintf(stderr, "%s\n", dlerror());
291-- exit(1);
292-- }
293-- old_realloc = dlsym(RTLD_NEXT, "realloc");
294-- if (!old_realloc) {
295-- fprintf(stderr, "%s\n", dlerror());
296-- exit(1);
297-- }
298-- enable_hook = 1;
299--}
300--
301--/* reporting */
302--
303--#include <locale.h>
304--
305--static void
306--add_alloc_stats (struct alloc_stats_t *a, struct alloc_stats_t *b)
307--{
308-- a->total.num += b->total.num;
309-- a->total.size += b->total.size;
310-- a->malloc.num += b->malloc.num;
311-- a->malloc.size += b->malloc.size;
312-- a->realloc.num += b->realloc.num;
313-- a->realloc.size += b->realloc.size;
314--}
315--
316--static void
317--dump_alloc_stats (struct alloc_stats_t *stats, const char *name)
318--{
319-- printf ("%8u %'11llu %8u %'11llu %8u %'11llu %s\n",
320-- stats->total.num, stats->total.size,
321-- stats->malloc.num, stats->malloc.size,
322-- stats->realloc.num, stats->realloc.size,
323-- name);
324--}
325--
326--static int
327--compare_func_stats_name (const void *pa, const void *pb)
328--{
329-- const struct func_stat_t *a = pa, *b = pb;
330-- int i;
331--
332-- i = strcmp (a->name, b->name);
333-- if (i)
334-- return i;
335--
336-- return ((char *) a->addr - (char *) b->addr);
337--}
338--
339--static int
340--compare_func_stats (const void *pa, const void *pb)
341--{
342-- const struct func_stat_t *a = pa, *b = pb;
343--
344-- if (a->stat.total.num != b->stat.total.num)
345-- return (a->stat.total.num - b->stat.total.num);
346--
347-- if (a->stat.total.size != b->stat.total.size)
348-- return (a->stat.total.size - b->stat.total.size);
349--
350-- return compare_func_stats_name (pa, pb);
351--}
352--
353--static int
354--merge_similar_entries (struct func_stat_t *func_stats, int num)
355--{
356-- int i, j;
357--
358-- j = 0;
359-- for (i = 1; i < num; i++) {
360-- if (i != j && 0 == strcmp (func_stats[i].name, func_stats[j].name)) {
361-- add_alloc_stats (&func_stats[j].stat, &func_stats[i].stat);
362-- } else {
363-- j++;
364-- if (i != j)
365-- func_stats[j] = func_stats[i];
366-- }
367-- }
368-- j++;
369--
370-- return j;
371--}
372--
373--__attribute__ ((destructor))
374--static void
375--malloc_stats (void)
376--{
377-- unsigned int i, j;
378-- struct func_stat_t *sorted_func_stats;
379--
380-- enable_hook = 0;
381--
382-- if (! func_stats_num)
383-- return;
384--
385-- sorted_func_stats = malloc (sizeof (struct func_stat_t) * (func_stats_num + 1));
386-- if (sorted_func_stats == NULL)
387-- return;
388--
389-- j = 0;
390-- for (i = 0; i < ARRAY_LENGTH (func_stats); i++) {
391-- struct func_stat_t *elt;
392-- for (elt = func_stats[i]; elt != NULL; elt = elt->next)
393-- sorted_func_stats[j++] = *elt;
394-- }
395--
396-- resolve_addrs (sorted_func_stats, j);
397--
398-- /* merge entries with same name */
399-- qsort (sorted_func_stats, j,
400-- sizeof (struct func_stat_t), compare_func_stats_name);
401-- j = merge_similar_entries (sorted_func_stats, j);
402--
403-- qsort (sorted_func_stats, j,
404-- sizeof (struct func_stat_t), compare_func_stats);
405--
406-- /* add total */
407-- sorted_func_stats[j].next = NULL;
408-- sorted_func_stats[j].addr = (void *) -1;
409-- sorted_func_stats[j].name = "(total)";
410-- sorted_func_stats[j].stat = total_allocations;
411-- j++;
412--
413-- setlocale (LC_ALL, "");
414--
415-- printf (" TOTAL MALLOC REALLOC\n");
416-- printf (" num size num size num size\n");
417--
418-- for (i = 0; i < j; i++) {
419-- dump_alloc_stats (&sorted_func_stats[i].stat,
420-- sorted_func_stats[i].name);
421-- }
422--
423-- /* XXX free other stuff? */
424--
425-- free (sorted_func_stats);
426--}
427-diff --git a/util/meson.build b/util/meson.build
428-index d64dbad..1e186bf 100644
429---- a/util/meson.build
430-+++ b/util/meson.build
431-@@ -41,7 +41,3 @@ foreach util : cairo_utils
432- dependencies: deps + util_deps + [libcairo_dep, libcairoscript_dep],
433- )
434- endforeach
435--
436--if conf.get('CAIRO_HAS_DLSYM', 0) == 1 and cc.has_header('execinfo.h')
437-- libmallocstats = library('malloc-stats', 'malloc-stats.c', dependencies : dl_dep)
438--endif
439---
440-2.44.0
441-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://cairographics.org/releases/cairo-1.18.0.tar.xz
3-patches/0001-util-remove-malloc-stats.patch
+0,
-1
1@@ -1 +0,0 @@
2-1.18.0 4
+0,
-33
1@@ -1,33 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export LDFLAGS="$LDFLAGS -static"
6-
7-cmake -G Ninja -B build \
8- -DCMAKE_INSTALL_PREFIX=/usr \
9- -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
10- -DCMAKE_BUILD_TYPE=Release \
11- -DREDIS_STORAGE_BACKEND=OFF \
12- -DENABLE_TESTING=OFF \
13- -DZSTD_LIBRARY=/src/oakiss/out/pkg/zstd/libzstd.a \
14- -DZSTD_INCLUDE_DIR=/src/oakiss/out/pkg/zstd/include \
15- -DZSTD_FROM_INTERNET=OFF \
16- -DXXHASH_INCLUDE_DIR=/src/oakiss/pkg/xxhash/src \
17- -DXXHASH_LIBRARY=/src/oakiss/out/pkg/xxhash/libxxhash.a \
18- -Wno-dev
19-
20-samu -C build
21-samu -C build install
22-
23-mkdir -p "$1/usr/lib/ccache/bin"
24-host=$(cc -dumpmachine)
25-
26-for link in \
27- cc "$host-cc" \
28- gcc "$host-gcc" \
29- g++ "$host-g++" \
30- cpp "$host-cpp" \
31- c++ "$host-c++"
32-do
33- ln -sf /usr/bin/ccache "$1/usr/lib/ccache/bin/$link"
34-done
+0,
-1
1@@ -1 +0,0 @@
2-7585b0d9483fda7b66b7371e831703abcf4aaad941272be13708ded51ea5696c9c
+0,
-1
1@@ -1 +0,0 @@
2-cmake make
+0,
-16
1@@ -1,16 +0,0 @@
2-#!/bin/sh
3-
4-cat <<EOF
5-
6-NOTE: To enable 'ccache' add this to your
7- '.shellrc' or '.profile'.
8-
9--> export PATH=/usr/lib/ccache/bin:\$PATH
10-
11-NOTE: Clang is not supported out-of-the-box.
12- The following symlinks need to be created.
13-
14--> ln -s /usr/bin/ccache /usr/lib/ccache/bin/clang
15--> ln -s /usr/bin/ccache /usr/lib/ccache/bin/clang++
16-
17-EOF
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-4.10.2 1
+0,
-3
1@@ -1,3 +0,0 @@
2-#!/bin/sh -e
3-
4-install -Dm755 cloc "$1/usr/bin/cloc"
+0,
-1
1@@ -1 +0,0 @@
2-675ab3091670e3be75b35b3784bb074582bfd8d0cf71267d62f71feb8e5807eaa6
+0,
-1
1@@ -1 +0,0 @@
2-perl
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/AlDanial/cloc/releases/download/v2.04/cloc-2.04.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-2.04 1
+0,
-42
1@@ -1,42 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-
6-if kiss l cmake; then
7- cmake -G Ninja -B build \
8- -DCMAKE_INSTALL_PREFIX=/usr \
9- -DCMAKE_BUILD_TYPE=Release \
10- -DCMAKE_USE_SYSTEM_CURL=False \
11- -DCMAKE_USE_SYSTEM_EXPAT=True \
12- -DCMAKE_USE_SYSTEM_ZLIB=True \
13- -DCMAKE_USE_SYSTEM_BZIP2=False \
14- -DCMAKE_USE_SYSTEM_NGHTTP2=False \
15- -DCMAKE_USE_OPENSSL=OFF \
16- -DBUILD_CursesDialog=OFF \
17- -DBUILD_TESTING=OFF \
18- -Wno-dev
19-
20- cmake --build build
21- cmake --install build
22-
23-else
24- ./configure \
25- --prefix=/usr \
26- --no-system-curl \
27- --system-expat \
28- --system-zlib \
29- --no-system-bzip2 \
30- --generator=Ninja \
31- --parallel="$(grep -scF 'core id' /proc/cpuinfo)" -- \
32- -DBUILD_CursesDialog=OFF
33-
34- samu
35- samu install
36-fi
37-
38-rm -rf \
39- "$1/usr/doc" \
40- "$1/usr/share/cmake"*/Help \
41- "$1/usr/share/bash-completion" \
42- "$1/usr/share/vim" \
43- "$1/usr/share/emacs"
+0,
-1
1@@ -1 +0,0 @@
2-ed14b15a63accaae2544379fbc98592e75f1a9316f391ef65b9679a53efd328681
+0,
-2
1@@ -1,2 +0,0 @@
2-expat
3-zlib
+0,
-1
1@@ -1 +0,0 @@
2-https://cmake.org/files/v4.0/cmake-4.0.2.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-4.0.2 1
+0,
-18
1@@ -1,18 +0,0 @@
2-#!/bin/sh -e
3-
4-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
5-
6-for p in *.patch; do
7- patch -p1 < "$p"
8-done
9-
10-./configure \
11- prefix=/usr
12-
13-make NCURSES_LIBS="-lcurses -lterminfo"
14-make DESTDIR="$1" install
15-
16-# Compress manpages
17-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
18-
19-rm -rf "$1/usr/share/doc"
+0,
-3
1@@ -1,3 +0,0 @@
2-3537dde959f1da4ac91b68737d5b24bb447b7714c6f0b1a38fa1a961b98ca1db86
3-5b3ce4eb81e7f6c80f007f37d304bec9fb9a29658fe7afd492dca6f89afc4ae218
4-3dd83e61bdb10a0989707404d1fd1e3e2398934e6be149cd7f8a27fcc907c6aa99
+0,
-1
1@@ -1 +0,0 @@
2-ffmpeg
1@@ -1,29 +0,0 @@
2-From 46f37e4799b04b08f51fc8b1681749231befdd31 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Fri, 3 May 2024 16:05:51 +0200
5-Subject: [PATCH] fix incompability with netbsd-curses
6-
7----
8- command_mode.c | 6 ++++--
9- 1 file changed, 4 insertions(+), 2 deletions(-)
10-
11-diff --git a/command_mode.c b/command_mode.c
12-index 3d00267..a227c6b 100644
13---- a/command_mode.c
14-+++ b/command_mode.c
15-@@ -435,8 +435,10 @@ static void cmd_set(char *arg)
16- } else {
17- current_win()->changed = 1;
18- }
19-- update_titleline();
20-- update_statusline();
21-+ if (cur_view) {
22-+ update_titleline();
23-+ update_statusline();
24-+ }
25- } else {
26- struct cmus_opt *opt;
27- char buf[OPTION_MAX_SIZE];
28---
29-2.44.0
30-
1@@ -1,56 +0,0 @@
2-From 4df30bd425fae0981fc608df2553ea3f2587391b Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Sat, 9 Nov 2024 08:17:25 +0100
5-Subject: [PATCH] remove cursesw and curses check. it errors out with oasis's
6- netbsd-curses
7-
8----
9- configure | 32 +++-----------------------------
10- 1 file changed, 3 insertions(+), 29 deletions(-)
11-
12-diff --git a/configure b/configure
13-index fb750ad..882e9b0 100755
14---- a/configure
15-+++ b/configure
16-@@ -178,35 +178,9 @@ int main(void)
17-
18- check_ncurses()
19- {
20-- if pkg_config NCURSES "ncursesw" "" "-lncursesw"
21-- then
22-- widechars=y
23-- elif pkg_config NCURSES "ncurses" "" "-lncurses" || pkg_config NCURSES "curses" "" "-lcurses"
24-- then
25-- widechars=n
26-- msg_error "Your ncurses does not support wide characters!"
27-- msg_error "Install ncursesw if you need wide character support,"
28-- msg_error "you can ignore this warning otherwise."
29-- fi
30-- test -z "$widechars" && return 1
31--
32-- msg_checking "for working ncurses setup"
33-- for flag in "" "-I/usr/include/ncurses" "-I/usr/include/ncursesw"
34-- do
35-- if try_compile_link "$ncurses_code" $flag $NCURSES_LIBS
36-- then
37-- NCURSES_CFLAGS="$NCURSES_CFLAGS $flag"
38-- msg_result yes
39-- working_curses=y
40-- break
41-- fi
42-- done
43-- if test -z "$working_curses"
44-- then
45-- msg_result no
46-- return 1
47-- fi
48--
49-+ widechars=n
50-+ working_curses=y
51-+
52- check_function "resizeterm" $NCURSES_CFLAGS $NCURSES_LIBS
53- HAVE_RESIZETERM=`test $? -ne 0 ; echo $?`
54-
55---
56-2.45.1
57-
+0,
-3
1@@ -1,3 +0,0 @@
2-https://github.com/cmus/cmus/archive/v2.11.0.tar.gz
3-patches/0001-fix-incompability-with-netbsd-curses.patch
4-patches/0002-remove-cursesw-and-curses-check.-it-errors-out-with-.patch
+0,
-1
1@@ -1 +0,0 @@
2-2.11.0 4
+0,
-13
1@@ -1,13 +0,0 @@
2-#!/bin/sh -e
3-
4-patch -p1 < 0001-remove-checks-for-X11-and-keysymdef.h.patch
5-
6-./configure \
7- --prefix=/usr \
8- --disable-specs \
9- --disable-xkb \
10- --without-fop \
11- --without-xmlto
12-
13-make -C nls
14-make -C nls DESTDIR="$1" install
+0,
-2
1@@ -1,2 +0,0 @@
2-f8503727da9dbaa5974c9225e4343b5c36cc47027f9aed7369e563adc87ad9e90a
3-9ecd1e064090a5323a47d11881da8150af00a6ab7c8167e280cf1491a41aa37346
1@@ -1,102 +0,0 @@
2-From 413ed55672043ff3d2a21722872be4676c91c9a3 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Sun, 17 May 2026 13:57:56 +0200
5-Subject: [PATCH] remove checks for X11 and keysymdef.h
6-
7----
8- configure | 72 -------------------------------------------------------
9- 1 file changed, 72 deletions(-)
10-
11-diff --git a/configure b/configure
12-index 5a8a614..e581ccf 100755
13---- a/configure
14-+++ b/configure
15-@@ -23431,38 +23431,6 @@ printf "%s\n" "#define USE_POLL 1" >>confdefs.h
16- fi
17-
18-
19--#
20--# Find keysymdef.h
21--#
22--{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
23--printf %s "checking keysym definitions... " >&6; }
24--
25--# Check whether --with-keysymdefdir was given.
26--if test ${with_keysymdefdir+y}
27--then :
28-- withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
29--else case e in #(
30-- e) KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ;;
31--esac
32--fi
33--
34--
35--if test ! -d "$KEYSYMDEFDIR"; then
36-- as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
37--fi
38--
39--FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
40--for i in $FILES; do
41-- if test -f "$KEYSYMDEFDIR/$i"; then
42-- KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
43-- elif test "x$i" = "xkeysymdef.h"; then
44-- as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
45-- fi
46--done
47--{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
48--printf "%s\n" "$KEYSYMDEFS" >&6; }
49--
50--
51- # Check whether --enable-xcms was given.
52- if test ${enable_xcms+y}
53- then :
54-@@ -24041,46 +24009,6 @@ printf "%s\n" "#define X11_LIBDIR \"$ax_define_dir\"" >>confdefs.h
55-
56-
57- pkg_failed=no
58--{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
59--printf %s "checking for X11... " >&6; }
60--
61--if test -n "$X11_CFLAGS"; then
62-- pkg_cv_X11_CFLAGS="$X11_CFLAGS"
63-- elif test -n "$PKG_CONFIG"; then
64-- if test -n "$PKG_CONFIG" && \
65-- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
66-- ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
67-- ac_status=$?
68-- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
69-- test $ac_status = 0; }; then
70-- pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
71-- test "x$?" != "x0" && pkg_failed=yes
72--else
73-- pkg_failed=yes
74--fi
75-- else
76-- pkg_failed=untried
77--fi
78--if test -n "$X11_LIBS"; then
79-- pkg_cv_X11_LIBS="$X11_LIBS"
80-- elif test -n "$PKG_CONFIG"; then
81-- if test -n "$PKG_CONFIG" && \
82-- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
83-- ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
84-- ac_status=$?
85-- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
86-- test $ac_status = 0; }; then
87-- pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
88-- test "x$?" != "x0" && pkg_failed=yes
89--else
90-- pkg_failed=yes
91--fi
92-- else
93-- pkg_failed=untried
94--fi
95--
96--
97--
98- if test $pkg_failed = yes; then
99- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
100- printf "%s\n" "no" >&6; }
101---
102-2.54.0
103-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://x.org/releases/individual/lib/libX11-1.8.13.tar.xz
3-patches/0001-remove-checks-for-X11-and-keysymdef.h.patch
+0,
-1
1@@ -1 +0,0 @@
2-1.8.13 1
+0,
-14
1@@ -1,14 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr \
6- --without-xmlwf \
7- --without-examples \
8- --without-tests \
9- --without-docbook
10-
11-make
12-make DESTDIR="$1" install
13-
14-# Remove documentation (Changelogs, etc).
15-rm -rf "${1:?}/usr/share"
+0,
-1
1@@ -1 +0,0 @@
2-7ffba382f26184f94ea5341d853564c20a03567531e8da94eef2d322e5aad7ac5b
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/libexpat/libexpat/releases/download/R_2_6_2/expat-2.6.2.tar.bz2
+0,
-1
1@@ -1 +0,0 @@
2-2.6.2 1
+0,
-34
1@@ -1,34 +0,0 @@
2-#!/bin/sh -e
3-
4-export LIBRARY_DIR=/usr/lib
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-for p in *.patch; do
8- patch -p1 < "$p"
9-done
10-
11-./configure \
12- --cc="${CC:-cc}" \
13- --cxx="${CXX:-c++}" \
14- --prefix=/usr \
15- --disable-debug \
16- --disable-libxml2 \
17- --disable-libtls \
18- --enable-static \
19- --enable-gpl \
20- --enable-libdrm \
21- --enable-libopus \
22- --enable-libwebp \
23- --disable-sndio \
24- --enable-alsa \
25- --enable-shared \
26- --enable-version3 \
27- --x86asmexe=nasm
28-
29-make
30-make DESTDIR="$1" install
31-
32-rm -rf "$1/usr/share/ffmpeg/examples"
33-
34-# Compress manpages
35-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-3
1@@ -1,3 +0,0 @@
2-7a9e011d715ea65d24eb4143f266a8287d8ee803b3e25f1faf313cca5e9ff4a211
3-ebc86c1001b49f86d2751e658a8b28e2d29f245e17e96d6f0786a081e037ebf5bc
4-d8ab08cc814544aca7d3f18d3092152af03ddf5c36c1ac274a714ba0ff0845db63
+0,
-5
1@@ -1,5 +0,0 @@
2-alsa-lib
3-libdrm
4-libwebp
5-opus
6-zlib
1@@ -1,24 +0,0 @@
2-From a5d76751b5e62b95db9004e745767748bc560602 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 29 Aug 2024 11:28:09 +0200
5-Subject: [PATCH] add configure check for -Wno-error=incompatible-pointer-types
6-
7----
8- configure | 1 +
9- 1 file changed, 1 insertion(+)
10-
11-diff --git a/configure b/configure
12-index 8642513..f933a4e 100755
13---- a/configure
14-+++ b/configure
15-@@ -7540,6 +7540,7 @@ elif enabled gcc; then
16- check_cflags -Werror=return-type
17- check_cflags -Werror=vla
18- check_cflags -Wformat
19-+ check_cflags -Wno-error=incompatible-pointer-types
20- check_cflags -fdiagnostics-color=auto
21- enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized
22- if enabled x86_32; then
23---
24-2.45.1
25-
1@@ -1,28 +0,0 @@
2-From c051954e53416280415c1d85f5bcb21280032b82 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Mon, 8 Jun 2026 02:32:54 +0200
5-Subject: [PATCH] configure: add -f flag to avoid prompt when cleaning up
6- $link_dest and $link_name
7-
8----
9- configure | 4 ++--
10- 1 file changed, 2 insertions(+), 2 deletions(-)
11-
12-diff --git a/configure b/configure
13-index f933a4e..4c187e2 100755
14---- a/configure
15-+++ b/configure
16-@@ -5951,8 +5951,8 @@ else
17- source_link="$source_path"
18- fi
19- # cleanup
20--rm -r "$link_dest"
21--rm -r "$link_name"
22-+rm -rf "$link_dest"
23-+rm -rf "$link_name"
24-
25- # determine libc flavour
26-
27---
28-2.54.0
29-
+0,
-3
1@@ -1,3 +0,0 @@
2-https://ffmpeg.org/releases/ffmpeg-7.0.2.tar.xz
3-patches/0001-add-configure-check-for-Wno-error-incompatible-point.patch
4-patches/0002-configure-add-f-flag-to-avoid-prompt-when-cleaning-u.patch
+0,
-1
1@@ -1 +0,0 @@
2-7.0.2 7
+0,
-24
1@@ -1,24 +0,0 @@
2-#!/bin/sh -e
3-
4-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
5-
6-# Make the build system run /bin/true to generate
7-# a dummy file so our pre-generated one is used.
8-sed 's/fcobjshash\.h/fcjunk.h/' src/Makefile.in > _
9-mv -f _ src/Makefile.in
10-
11-: > missing
12-
13-./configure \
14- GPERF=/bin/true \
15- --prefix=/usr \
16- --localstatedir=/var \
17- --sysconfdir=/etc \
18- --with-default-fonts=/share/fonts \
19- --with-xmldir=/etc/fonts \
20- --enable-static \
21- --disable-docs \
22- --disable-nls
23-
24-make
25-make DESTDIR="$1" install
+0,
-2
1@@ -1,2 +0,0 @@
2-f724c512a04997f17bc7dba807a6a58c2e8178d013bde56fab2fa579f7c50bdf33
3-8b565cca39fa9203a6c8b0a88abc0fb0ff9aad48536a96e7e618f9d2c515b34a63
+0,
-2
1@@ -1,2 +0,0 @@
2-expat
3-freetype-harfbuzz
+0,
-350
1@@ -1,350 +0,0 @@
2-/* ANSI-C code produced by gperf version 3.1 */
3-/* Command-line: gperf --pic -m 100 fcobjshash.gperf */
4-/* Computed positions: -k'3,5' */
5-
6-#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
7- && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
8- && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
9- && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
10- && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
11- && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
12- && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
13- && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
14- && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
15- && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
16- && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
17- && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
18- && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
19- && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
20- && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
21- && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
22- && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
23- && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
24- && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
25- && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
26- && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
27- && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
28- && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
29-/* The character set is not based on ISO-646. */
30-#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gperf@gnu.org>."
31-#endif
32-
33-#line 1 "fcobjshash.gperf"
34-
35-#line 13 "fcobjshash.gperf"
36-struct FcObjectTypeInfo {
37-int name;
38-int id;
39-};
40-#include <string.h>
41-/* maximum key range = 55, duplicates = 0 */
42-
43-#ifdef __GNUC__
44-__inline
45-#else
46-#ifdef __cplusplus
47-inline
48-#endif
49-#endif
50-static unsigned int
51-FcObjectTypeHash (register const char *str, register size_t len)
52-{
53- static const unsigned char asso_values[] =
54- {
55- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
56- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
57- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
58- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
59- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
60- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
61- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
62- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
63- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
64- 61, 61, 61, 61, 61, 61, 61, 2, 19, 30,
65- 14, 31, 34, 51, 13, 7, 61, 61, 18, 5,
66- 10, 40, 17, 61, 18, 2, 6, 38, 28, 46,
67- 23, 8, 3, 61, 61, 61, 61, 61, 61, 61,
68- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
69- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
70- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
71- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
72- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
73- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
74- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
75- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
76- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
77- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
78- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
79- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
80- 61, 61, 61, 61, 61, 61
81- };
82- register unsigned int hval = len;
83-
84- switch (hval)
85- {
86- default:
87- hval += asso_values[(unsigned char)str[4]];
88- /*FALLTHROUGH*/
89- case 4:
90- case 3:
91- hval += asso_values[(unsigned char)str[2]];
92- break;
93- }
94- return hval;
95-}
96-
97-struct FcObjectTypeNamePool_t
98- {
99- char FcObjectTypeNamePool_str6[sizeof("hash")];
100- char FcObjectTypeNamePool_str7[sizeof("size")];
101- char FcObjectTypeNamePool_str10[sizeof("dpi")];
102- char FcObjectTypeNamePool_str11[sizeof("charset")];
103- char FcObjectTypeNamePool_str12[sizeof("scalable")];
104- char FcObjectTypeNamePool_str13[sizeof("slant")];
105- char FcObjectTypeNamePool_str14[sizeof("lang")];
106- char FcObjectTypeNamePool_str15[sizeof("desktop")];
107- char FcObjectTypeNamePool_str16[sizeof("spacing")];
108- char FcObjectTypeNamePool_str17[sizeof("antialias")];
109- char FcObjectTypeNamePool_str18[sizeof("postscriptname")];
110- char FcObjectTypeNamePool_str19[sizeof("matrix")];
111- char FcObjectTypeNamePool_str20[sizeof("outline")];
112- char FcObjectTypeNamePool_str21[sizeof("hintstyle")];
113- char FcObjectTypeNamePool_str22[sizeof("file")];
114- char FcObjectTypeNamePool_str23[sizeof("rgba")];
115- char FcObjectTypeNamePool_str24[sizeof("hinting")];
116- char FcObjectTypeNamePool_str25[sizeof("charheight")];
117- char FcObjectTypeNamePool_str26[sizeof("weight")];
118- char FcObjectTypeNamePool_str27[sizeof("autohint")];
119- char FcObjectTypeNamePool_str28[sizeof("variable")];
120- char FcObjectTypeNamePool_str29[sizeof("family")];
121- char FcObjectTypeNamePool_str30[sizeof("lcdfilter")];
122- char FcObjectTypeNamePool_str31[sizeof("namelang")];
123- char FcObjectTypeNamePool_str32[sizeof("width")];
124- char FcObjectTypeNamePool_str33[sizeof("familylang")];
125- char FcObjectTypeNamePool_str34[sizeof("fonthashint")];
126- char FcObjectTypeNamePool_str35[sizeof("minspace")];
127- char FcObjectTypeNamePool_str36[sizeof("fullname")];
128- char FcObjectTypeNamePool_str37[sizeof("order")];
129- char FcObjectTypeNamePool_str38[sizeof("scale")];
130- char FcObjectTypeNamePool_str39[sizeof("verticallayout")];
131- char FcObjectTypeNamePool_str40[sizeof("fullnamelang")];
132- char FcObjectTypeNamePool_str41[sizeof("color")];
133- char FcObjectTypeNamePool_str42[sizeof("index")];
134- char FcObjectTypeNamePool_str43[sizeof("rasterizer")];
135- char FcObjectTypeNamePool_str44[sizeof("style")];
136- char FcObjectTypeNamePool_str45[sizeof("embolden")];
137- char FcObjectTypeNamePool_str46[sizeof("capability")];
138- char FcObjectTypeNamePool_str47[sizeof("embeddedbitmap")];
139- char FcObjectTypeNamePool_str48[sizeof("stylelang")];
140- char FcObjectTypeNamePool_str49[sizeof("fontversion")];
141- char FcObjectTypeNamePool_str50[sizeof("pixelsize")];
142- char FcObjectTypeNamePool_str51[sizeof("symbol")];
143- char FcObjectTypeNamePool_str52[sizeof("fontvariations")];
144- char FcObjectTypeNamePool_str53[sizeof("aspect")];
145- char FcObjectTypeNamePool_str54[sizeof("fontformat")];
146- char FcObjectTypeNamePool_str55[sizeof("globaladvance")];
147- char FcObjectTypeNamePool_str56[sizeof("fontfeatures")];
148- char FcObjectTypeNamePool_str57[sizeof("charwidth")];
149- char FcObjectTypeNamePool_str58[sizeof("decorative")];
150- char FcObjectTypeNamePool_str59[sizeof("foundry")];
151- char FcObjectTypeNamePool_str60[sizeof("prgname")];
152- };
153-static const struct FcObjectTypeNamePool_t FcObjectTypeNamePool_contents =
154- {
155- "hash",
156- "size",
157- "dpi",
158- "charset",
159- "scalable",
160- "slant",
161- "lang",
162- "desktop",
163- "spacing",
164- "antialias",
165- "postscriptname",
166- "matrix",
167- "outline",
168- "hintstyle",
169- "file",
170- "rgba",
171- "hinting",
172- "charheight",
173- "weight",
174- "autohint",
175- "variable",
176- "family",
177- "lcdfilter",
178- "namelang",
179- "width",
180- "familylang",
181- "fonthashint",
182- "minspace",
183- "fullname",
184- "order",
185- "scale",
186- "verticallayout",
187- "fullnamelang",
188- "color",
189- "index",
190- "rasterizer",
191- "style",
192- "embolden",
193- "capability",
194- "embeddedbitmap",
195- "stylelang",
196- "fontversion",
197- "pixelsize",
198- "symbol",
199- "fontvariations",
200- "aspect",
201- "fontformat",
202- "globaladvance",
203- "fontfeatures",
204- "charwidth",
205- "decorative",
206- "foundry",
207- "prgname"
208- };
209-#define FcObjectTypeNamePool ((const char *) &FcObjectTypeNamePool_contents)
210-const struct FcObjectTypeInfo *
211-FcObjectTypeLookup (register const char *str, register size_t len)
212-{
213- enum
214- {
215- TOTAL_KEYWORDS = 53,
216- MIN_WORD_LENGTH = 3,
217- MAX_WORD_LENGTH = 14,
218- MIN_HASH_VALUE = 6,
219- MAX_HASH_VALUE = 60
220- };
221-
222- static const struct FcObjectTypeInfo wordlist[] =
223- {
224- {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
225-#line 62 "fcobjshash.gperf"
226- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str6,FC_HASH_OBJECT},
227-#line 27 "fcobjshash.gperf"
228- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str7,FC_SIZE_OBJECT},
229- {-1}, {-1},
230-#line 43 "fcobjshash.gperf"
231- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str10,FC_DPI_OBJECT},
232-#line 50 "fcobjshash.gperf"
233- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str11,FC_CHARSET_OBJECT},
234-#line 42 "fcobjshash.gperf"
235- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str12,FC_SCALABLE_OBJECT},
236-#line 24 "fcobjshash.gperf"
237- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str13,FC_SLANT_OBJECT},
238-#line 51 "fcobjshash.gperf"
239- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str14,FC_LANG_OBJECT},
240-#line 70 "fcobjshash.gperf"
241- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str15,FC_DESKTOP_NAME_OBJECT},
242-#line 30 "fcobjshash.gperf"
243- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str16,FC_SPACING_OBJECT},
244-#line 32 "fcobjshash.gperf"
245- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str17,FC_ANTIALIAS_OBJECT},
246-#line 63 "fcobjshash.gperf"
247- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str18,FC_POSTSCRIPT_NAME_OBJECT},
248-#line 49 "fcobjshash.gperf"
249- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str19,FC_MATRIX_OBJECT},
250-#line 41 "fcobjshash.gperf"
251- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str20,FC_OUTLINE_OBJECT},
252-#line 33 "fcobjshash.gperf"
253- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str21,FC_HINT_STYLE_OBJECT},
254-#line 38 "fcobjshash.gperf"
255- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str22,FC_FILE_OBJECT},
256-#line 44 "fcobjshash.gperf"
257- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str23,FC_RGBA_OBJECT},
258-#line 34 "fcobjshash.gperf"
259- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str24,FC_HINTING_OBJECT},
260-#line 48 "fcobjshash.gperf"
261- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str25,FC_CHAR_HEIGHT_OBJECT},
262-#line 25 "fcobjshash.gperf"
263- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str26,FC_WEIGHT_OBJECT},
264-#line 36 "fcobjshash.gperf"
265- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str27,FC_AUTOHINT_OBJECT},
266-#line 67 "fcobjshash.gperf"
267- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str28,FC_VARIABLE_OBJECT},
268-#line 18 "fcobjshash.gperf"
269- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str29,FC_FAMILY_OBJECT},
270-#line 58 "fcobjshash.gperf"
271- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str30,FC_LCD_FILTER_OBJECT},
272-#line 59 "fcobjshash.gperf"
273- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str31,FC_NAMELANG_OBJECT},
274-#line 26 "fcobjshash.gperf"
275- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str32,FC_WIDTH_OBJECT},
276-#line 19 "fcobjshash.gperf"
277- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str33,FC_FAMILYLANG_OBJECT},
278-#line 68 "fcobjshash.gperf"
279- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str34,FC_FONT_HAS_HINT_OBJECT},
280-#line 46 "fcobjshash.gperf"
281- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str35,FC_MINSPACE_OBJECT},
282-#line 22 "fcobjshash.gperf"
283- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str36,FC_FULLNAME_OBJECT},
284-#line 69 "fcobjshash.gperf"
285- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str37,FC_ORDER_OBJECT},
286-#line 45 "fcobjshash.gperf"
287- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str38,FC_SCALE_OBJECT},
288-#line 35 "fcobjshash.gperf"
289- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str39,FC_VERTICAL_LAYOUT_OBJECT},
290-#line 23 "fcobjshash.gperf"
291- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str40,FC_FULLNAMELANG_OBJECT},
292-#line 64 "fcobjshash.gperf"
293- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str41,FC_COLOR_OBJECT},
294-#line 39 "fcobjshash.gperf"
295- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str42,FC_INDEX_OBJECT},
296-#line 40 "fcobjshash.gperf"
297- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str43,FC_RASTERIZER_OBJECT},
298-#line 20 "fcobjshash.gperf"
299- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str44,FC_STYLE_OBJECT},
300-#line 55 "fcobjshash.gperf"
301- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str45,FC_EMBOLDEN_OBJECT},
302-#line 53 "fcobjshash.gperf"
303- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str46,FC_CAPABILITY_OBJECT},
304-#line 56 "fcobjshash.gperf"
305- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str47,FC_EMBEDDED_BITMAP_OBJECT},
306-#line 21 "fcobjshash.gperf"
307- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str48,FC_STYLELANG_OBJECT},
308-#line 52 "fcobjshash.gperf"
309- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str49,FC_FONTVERSION_OBJECT},
310-#line 29 "fcobjshash.gperf"
311- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str50,FC_PIXEL_SIZE_OBJECT},
312-#line 65 "fcobjshash.gperf"
313- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str51,FC_SYMBOL_OBJECT},
314-#line 66 "fcobjshash.gperf"
315- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str52,FC_FONT_VARIATIONS_OBJECT},
316-#line 28 "fcobjshash.gperf"
317- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str53,FC_ASPECT_OBJECT},
318-#line 54 "fcobjshash.gperf"
319- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str54,FC_FONTFORMAT_OBJECT},
320-#line 37 "fcobjshash.gperf"
321- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str55,FC_GLOBAL_ADVANCE_OBJECT},
322-#line 60 "fcobjshash.gperf"
323- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str56,FC_FONT_FEATURES_OBJECT},
324-#line 47 "fcobjshash.gperf"
325- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str57,FC_CHARWIDTH_OBJECT},
326-#line 57 "fcobjshash.gperf"
327- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str58,FC_DECORATIVE_OBJECT},
328-#line 31 "fcobjshash.gperf"
329- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str59,FC_FOUNDRY_OBJECT},
330-#line 61 "fcobjshash.gperf"
331- {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str60,FC_PRGNAME_OBJECT}
332- };
333-
334- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
335- {
336- register unsigned int key = FcObjectTypeHash (str, len);
337-
338- if (key <= MAX_HASH_VALUE)
339- {
340- register int o = wordlist[key].name;
341- if (o >= 0)
342- {
343- register const char *s = o + FcObjectTypeNamePool;
344-
345- if (*str == *s && !strcmp (str + 1, s + 1))
346- return &wordlist[key];
347- }
348- }
349- }
350- return 0;
351-}
+0,
-3
1@@ -1,3 +0,0 @@
2-#!/bin/sh
3-
4-/usr/bin/fc-cache -vf
+0,
-2
1@@ -1,2 +0,0 @@
2-https://freedesktop.org/software/fontconfig/release/fontconfig-2.15.0.tar.xz
3-files/fcobjshash.h src
+0,
-1
1@@ -1 +0,0 @@
2-2.15.0 2
+0,
-61
1@@ -1,61 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-
6-build_freetype() (
7- cd freetype
8-
9- muon setup \
10- -Dprefix=/usr \
11- -Ddefault_library=both \
12- -Dbuildtype=release \
13- -Db_colorout=never \
14- -Dbzip2=disabled \
15- -Dzlib=disabled \
16- -Dpng=disabled \
17- "$@" \
18- build
19-
20- samu -C build
21- muon -C build install
22-)
23-
24-build_harfbuzz() (
25- cd harfbuzz
26-
27-# harfbuzz-icu is basically harfbuzz with icu and glib enabled.
28-# this avoids a new package for stuff that can already be enabled here, which
29-# makes much more sense imo. glib remains disabled untill I get to test this
30-# further.
31-kiss list icu >/dev/null 2>&1 || icu_enabled=disabled
32-
33- muon setup \
34- -Dprefix=/usr \
35- -Dbuildtype=release \
36- -Db_colorout=never \
37- -Ddefault_library=both \
38- -Dglib=disabled \
39- -Dfreetype=enabled \
40- -Dgobject=disabled \
41- -Dcairo=disabled \
42- -Dbenchmark=disabled \
43- -Dicu="${icu_enabled:-enabled}" \
44- -Dtests=disabled \
45- -Dintrospection=disabled \
46- build
47-
48- samu -C build
49- muon -C build install
50-)
51-
52-# Point Freetype to the Harfbuzz files.
53-export CPPFLAGS="$CPPFLAGS -I$DESTDIR/usr/include/harfbuzz"
54-export LDFLAGS="$LDFLAGS -L$DESTDIR/usr/lib "
55-export PKG_CONFIG_PATH="$DESTDIR/usr/lib/pkgconfig:/usr/lib/pkgconfig"
56-
57-# Point Harfbuzz to the Freetype files.
58-export CPPFLAGS="$CPPFLAGS -I$DESTDIR/usr/include/freetype2"
59-
60-build_freetype -Dharfbuzz=disabled
61-build_harfbuzz
62-build_freetype -Dharfbuzz=enabled
+0,
-2
1@@ -1,2 +0,0 @@
2-07a01894ccdb584943ce817b57341a8595ce9a92bfaa77c602ec4757dfabd5e295
3-31c00f4b9d792d9dc0a8ddab22ad54a4067471867e79f17b74e0524767843530d3
+0,
-4
1@@ -1,4 +0,0 @@
2-#icu
3-expat
4-libdrm
5-pixman
+0,
-2
1@@ -1,2 +0,0 @@
2-https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.13.3.tar.xz freetype
3-https://github.com/harfbuzz/harfbuzz/archive/9.0.0.tar.gz harfbuzz
+0,
-1
1@@ -1 +0,0 @@
2-2.13.3+9.0.0 4
+0,
-32
1@@ -1,32 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-patch -p1 < 0001-fix-enum-types-for-muon.patch
8-
9-: > po/meson.build
10-
11-muon setup \
12- -Dprefix=/usr \
13- -Dsysconfdir=/etc \
14- -Dmandir=/usr/share/man \
15- -Dbuildtype=release \
16- -Db_colorout=never \
17- -Djpeg=enabled \
18- -Dpng=enabled \
19- -Dtiff=disabled \
20- -Dgtk_doc=false \
21- -Dman=false \
22- -Dgio_sniffing=false \
23- -Dtests=false \
24- -Dinstalled_tests=false \
25- -Dbuiltin_loaders=all \
26- -Dwrap_mode=nofallback \
27- -Ddefault_library=shared \
28- build
29-
30-samu -C build
31-muon -C build install
32-
33-rm -rf "$1/usr/share/thumbnailers"
+0,
-2
1@@ -1,2 +0,0 @@
2-edf54b48c7008c0ec52e0224b6a10ea680bbb94c23b71fbe5d19ae8e72706bc6b6
3-aa35cd72ca56947a79967332cf0a1140dea714c5d835429f294d0679fb735bc2e8
+0,
-3
1@@ -1,3 +0,0 @@
2-glib
3-libjpeg-turbo
4-libpng
1@@ -1,92 +0,0 @@
2-From 4f12be1905515a59a0cdfff28f67f958e3698447 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 3 Oct 2024 13:22:53 +0200
5-Subject: [PATCH] fix enum-types for muon
6-
7----
8- gdk-pixbuf/meson.build | 69 ++++++++++++++++++++++++++++++++++--------
9- 1 file changed, 56 insertions(+), 13 deletions(-)
10-
11-diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
12-index 570625b..595bd1c 100644
13---- a/gdk-pixbuf/meson.build
14-+++ b/gdk-pixbuf/meson.build
15-@@ -120,19 +120,62 @@ gdkpixdata_sources = [
16- 'gdk-pixdata.c',
17- ]
18-
19--gdkpixbuf_marshals = gnome.genmarshal('gdk-pixbuf-marshal',
20-- sources: 'gdk-pixbuf-marshal.list',
21-- prefix: '_gdk_pixbuf_marshal',
22-- install_header: true,
23-- install_dir: join_paths(gdk_pixbuf_includedir, gdk_pixbuf_api_path))
24--
25--gdkpixbuf_enums = gnome.mkenums('gdk-pixbuf-enum-types',
26-- sources: gdkpixbuf_headers,
27-- c_template: 'gdk-pixbuf-enum-types.c.template',
28-- h_template: 'gdk-pixbuf-enum-types.h.template',
29-- install_header: true,
30-- install_dir: join_paths(gdk_pixbuf_includedir, gdk_pixbuf_api_path))
31--gdkpixbuf_enum_h = gdkpixbuf_enums[1]
32-+gdkpixbuf_marshals = []
33-+gdkpixbuf_marshals += custom_target('gdb-pixbuf-marshal_h',
34-+ output: 'gdk-pixbuf-marshal.h',
35-+ input: 'gdk-pixbuf-marshal.list',
36-+ install: true,
37-+ install_dir: join_paths(gdk_pixbuf_includedir, gdk_pixbuf_api_path),
38-+ command: [
39-+ find_program('glib-genmarshal'),
40-+ '--prefix=_gdk_pixbuf_marshal',
41-+ '--output=@OUTPUT@',
42-+ '--quiet',
43-+ '--header',
44-+ '@INPUT@',
45-+ ],
46-+)
47-+
48-+gdkpixbuf_marshals += custom_target('gdb-pixbuf-marshal_c',
49-+ output: 'gdk-pixbuf-marshal.c',
50-+ input: 'gdk-pixbuf-marshal.list',
51-+ command: [
52-+ find_program('glib-genmarshal'),
53-+ '--prefix=_gdk_pixbuf_marshal',
54-+ '--include-header=gdk-pixbuf-marshal.h',
55-+ '--output=@OUTPUT@',
56-+ '--quiet',
57-+ '--body',
58-+ '@INPUT@',
59-+ ],
60-+)
61-+
62-+gdkpixbuf_enums = []
63-+gdkpixbuf_enums += custom_target('gdk-pixbuf-enum-types_h',
64-+ capture: true,
65-+ output: 'gdk-pixbuf-enum-types.h',
66-+ input: gdkpixbuf_headers,
67-+ install: true,
68-+ install_dir: join_paths(gdk_pixbuf_includedir, gdk_pixbuf_api_path),
69-+ command: [
70-+ find_program('glib-mkenums'),
71-+ '--template', files('gdk-pixbuf-enum-types.h.template'),
72-+ '@INPUT@',
73-+ ],
74-+)
75-+
76-+gdkpixbuf_enums += custom_target('gdk-pixbuf-enum-types_c',
77-+ capture: true,
78-+ output: 'gdk-pixbuf-enum-types.c',
79-+ input: gdkpixbuf_headers,
80-+ command: [
81-+ find_program('glib-mkenums'),
82-+ '--template', files('gdk-pixbuf-enum-types.c.template'),
83-+ '@INPUT@',
84-+ ],
85-+)
86-+
87-+gdkpixbuf_enum_h = gdkpixbuf_enums[0]
88-
89- if host_system == 'windows'
90- gdk_pixbuf_win_rc = configure_file(
91---
92-2.45.1
93-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.12.tar.xz
3-patches/0001-fix-enum-types-for-muon.patch
+0,
-1
1@@ -1 +0,0 @@
2-2.42.12 3
+0,
-14
1@@ -1,14 +0,0 @@
2-#!/bin/sh -e
3-
4-export GOPATH="$PWD/go"
5-export GO111MODULE=on
6-export GOPROXY=https://proxy.golang.org
7-export CGO_ENABLED=0
8-
9-go build -a -ldflags="-w -s -extldflags '-static'"\
10- -modcacherw \
11- -trimpath \
12- -buildvcs=false \
13- ./cmd/gh
14-
15-install -Dm755 gh "$1/usr/bin/gh"
+0,
-1
1@@ -1 +0,0 @@
2-9dad754a772fd7f7ba1350c166e2dfa10c98760735ac808d08db4ddd0df17a9f5d
+0,
-1
1@@ -1 +0,0 @@
2-go make
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/cli/cli/archive/refs/tags/v2.96.0.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-2.96.0 1
+0,
-28
1@@ -1,28 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-patch -p1 < 0001-remove-gio-querymodule-post-install.patch
8-
9-# Don't build tests that fail due to `gnutls` not being built with `p11-kit`.
10-sed "/subdir('tests')/d" tls/meson.build > _
11-mv -f _ tls/meson.build
12-
13-: > po/meson.build
14-
15-muon setup \
16- -Dprefix=/usr \
17- -Dsysconfdir=/etc \
18- -Dlocalstatedir=/var \
19- -Dbuildtype=release \
20- -Db_colorout=never \
21- -Dlibproxy=disabled \
22- -Dopenssl=disabled \
23- -Dgnutls=enabled \
24- -Dgnome_proxy=disabled \
25- -Ddefault_library=shared \
26- build
27-
28-samu -C build
29-muon -C build install
+0,
-2
1@@ -1,2 +0,0 @@
2-e271ef92bbdd2209ae24afe8d2d468ef8c870529a9607629dfcbf9f60e2952957f
3-9c7a5c025d4487ae21d67f8b745fdcb03c7ed50871dbb33f7da7f8855b8088597c
+0,
-2
1@@ -1,2 +0,0 @@
2-glib
3-gnutls
1@@ -1,26 +0,0 @@
2-From 33db26f37240f8445b85bd863c73a4b3cef2d462 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 3 Oct 2024 10:17:30 +0200
5-Subject: [PATCH] remove gio-querymodule post-install
6-
7----
8- meson.build | 3 ---
9- 1 file changed, 3 deletions(-)
10-
11-diff --git a/meson.build b/meson.build
12-index a774ea6..5703009 100644
13---- a/meson.build
14-+++ b/meson.build
15-@@ -146,9 +146,6 @@ subdir('po')
16- subdir('proxy')
17- subdir('tls')
18-
19--# Will automatically pick it up from the cross file if defined
20--gnome.post_install(gio_querymodules: gio_module_dir)
21--
22- summary({
23- 'GnuTLS support': giomodules.contains('giognutls'),
24- 'OpenSSL support': giomodules.contains('gioopenssl'),
25---
26-2.45.1
27-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://ftp.gnome.org/pub/gnome/sources/glib-networking/2.80/glib-networking-2.80.0.tar.xz
3-patches/0001-remove-gio-querymodule-post-install.patch
+0,
-1
1@@ -1 +0,0 @@
2-2.80.0 3
+0,
-32
1@@ -1,32 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-: > fuzzing/meson.build
8-: > subprojects/gvdb.wrap
9-
10-muon setup \
11- -Dprefix=/usr \
12- -Dlibexecdir=/usr/lib \
13- -Dbuildtype=release \
14- -Db_colorout=never \
15- -Dlibmount=disabled \
16- -Dinstalled_tests=false \
17- -Dman-pages=disabled \
18- -Dtests=false \
19- -Dlibelf=disabled \
20- -Dnls=disabled \
21- -Dsysprof=disabled \
22- -Dglib_debug=disabled \
23- -Ddefault_library=shared \
24- build
25-
26-samu -C build
27-muon -C build install
28-
29-rm -rf \
30- "$1/usr/bin/gdbus" \
31- "$1/usr/share/bash-completions" \
32- "$1/usr/share/gettext"
33-
+0,
-1
1@@ -1 +0,0 @@
2-26b77ae24bc02f85d1c6742fe601167b056085f117cda70da7b805cefa6195e946
+0,
-4
1@@ -1,4 +0,0 @@
2-libffi
3-pcre2
4-python-packaging make
5-zlib
+0,
-1
1@@ -1 +0,0 @@
2-https://download.gnome.org/sources/glib/2.87/glib-2.87.0.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-2.87.0 1
+0,
-24
1@@ -1,24 +0,0 @@
2-#!/bin/sh -e
3-
4-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
5-
6-: > build-aux/missing
7-
8-./configure \
9- --prefix=/usr \
10- --disable-nls \
11- --with-nettle-mini \
12- --with-included-libtasn1 \
13- --with-included-unistring \
14- --enable-static \
15- --without-p11-kit
16-
17-make
18-make DESTDIR="$1" install
19-
20-# Compress manpages
21-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
22-
23-rm -rf \
24- "$1/usr/share/info" \
25- "$1/usr/share/doc"
+0,
-1
1@@ -1 +0,0 @@
2-b9f6c3e3111bc6ded35c376318ad15bd3af7730b7c2b5c2c64904eaaaf60b7899a
+0,
-1
1@@ -1 +0,0 @@
2-nettle
+0,
-1
1@@ -1 +0,0 @@
2-https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.7.1.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-3.8.7.1 2
+0,
-51
1@@ -1,51 +0,0 @@
2-#!/bin/sh -e
3-
4-# Disable stripping of binaries.
5-# This breaks Go.
6-:> nostrip
7-
8-patch -p1 < 0001-src-make.bash-use-POSIX-sh-and-remove-some-bashism.patch
9-
10-export CC="${CC:-cc}"
11-export GOARCH=amd64
12-export GO_LDFLAGS="-w -s"
13-
14-export GOROOT_BOOTSTRAP="$PWD/go-bin"
15-export GOROOT="$PWD"
16-export GOROOT_FINAL="/usr/lib/go"
17-
18-(
19- cd src
20- ./make.bash -v
21-)
22-
23-cd "$GOROOT"
24-
25-mkdir -p "$1/usr/bin" "$1/usr/lib/go"
26-
27-ln -s ../lib/go/bin/go "$1/usr/bin"
28-ln -s ../lib/go/bin/gofmt "$1/usr/bin"
29-
30-cp -pPR misc bin pkg src lib go.env "$1/usr/lib/go"
31-
32-# Remove unneeded files.
33-rm -f "$1/usr/lib/go/pkg/tool/"*/api
34-rm -rf "$1/usr/lib/go/pkg/bootstrap"
35-rm -rf "$1/usr/lib/go/pkg/obj"
36-rm -rf "$1/usr/lib/go/test"
37-rm -rf "$1/usr/lib/go/api"
38-rm -rf "$1/usr/lib/go/doc"
39-
40-# Remove tests.
41-for path in "$1/usr/lib/go/src" "$1/usr/lib/go/misc/cgo"
42-do
43- find "$path" -type f -a -name \*_test.go -depth -exec rm {} +
44- find "$path" -type f -a -name \*.bash -depth -exec rm {} +
45- find "$path" -type f -a -name \*.bat -depth -exec rm {} +
46- find "$path" -type f -a -name \*.rc -depth -exec rm {} +
47-done
48-
49-find . -type d -a -name testdata |
50- while read -r dir; do
51- rm -rf "$dir"
52- done
+0,
-3
1@@ -1,3 +0,0 @@
2-dfa5756ca69d07e7b54cbebf9c358567d941e61e4c5bfbbd58a0861754bf849d30
3-4647bddc3b15cc2adc587492d0346262c65007bf6cd00e486c53e7d4f7a4be8c12
4-f962ff680628c0791fce6f1df1cb1e43c09cdbeea741e668df6053215edd68d70a
1@@ -1,31 +0,0 @@
2-From 438f1fcaef381fe3950ee7b6bfddc1233d487f73 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 29 Aug 2024 06:44:15 +0200
5-Subject: [PATCH] src/make.bash: use POSIX sh and remove some bashism
6-
7----
8- src/make.bash | 4 ++--
9- 1 file changed, 2 insertions(+), 2 deletions(-)
10-
11-diff --git a/src/make.bash b/src/make.bash
12-index 814b7e8..b5344b1 100755
13---- a/src/make.bash
14-+++ b/src/make.bash
15-@@ -1,4 +1,4 @@
16--#!/usr/bin/env bash
17-+#!/bin/sh
18- # Copyright 2009 The Go Authors. All rights reserved.
19- # Use of this source code is governed by a BSD-style
20- # license that can be found in the LICENSE file.
21-@@ -164,7 +164,7 @@ bootstrapenv() {
22- }
23-
24- export GOROOT="$(cd .. && pwd)"
25--IFS=$'\n'; for go_exe in $(type -ap go); do
26-+for go_exe in $(command -v go); do
27- if [[ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]]; then
28- goroot_bootstrap=$GOROOT_BOOTSTRAP
29- GOROOT_BOOTSTRAP=""
30---
31-2.45.1
32-
+0,
-3
1@@ -1,3 +0,0 @@
2-https://go.dev/dl/go1.26.5.linux-amd64.tar.gz go-bin
3-https://golang.org/dl/go1.26.5.src.tar.gz
4-patches/0001-src-make.bash-use-POSIX-sh-and-remove-some-bashism.patch
+0,
-1
1@@ -1 +0,0 @@
2-1.26.5 1
+0,
-17
1@@ -1,17 +0,0 @@
2-#!/bin/sh -e
3-
4-export LDFLAGS="$LDFLAGS -static-pie"
5-export CFLAGS="$CFLAGS -fPIE"
6-
7-./configure \
8- --prefix=/usr
9-
10-make
11-make DESTDIR="$1" install
12-
13-rm -rf \
14- "$1/usr/share/doc" \
15- "$1/usr/share/info"
16-
17-# Compress manpages
18-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-6ad90515e3b8ac191a8ecef4e75fbb260236f8e78078ac099d5eccc175af0782a8
+0,
-1
1@@ -1 +0,0 @@
2-https://ftp.gnu.org/gnu/gperf/gperf-3.3.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-3.3 1
+0,
-16
1@@ -1,16 +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- -Dbuildtype=release \
10- -Db_colorout=never \
11- -Ddoc=disabled \
12- -Dtests=disabled \
13- -Ddefault_library=shared \
14- build
15-
16-samu -C build
17-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-e7b8128f7bbf11451452322cfc9bf7006e350a09692aadf71f805bc8d836ea43f1
+0,
-4
1@@ -1,4 +0,0 @@
2-ffmpeg
3-glib
4-gst-plugins-base
5-gstreamer
+0,
-1
1@@ -1 +0,0 @@
2-https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.24.10.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.24.10 1
+0,
-17
1@@ -1,17 +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- -Dbuildtype=release \
10- -Db_colorout=never \
11- -Ddoc=disabled \
12- -Dtests=disabled \
13- -Ddefault_library=shared \
14- -Dhls-crypto=nettle \
15- build
16-
17-samu -C build
18-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-dd3acfccdd724aed75b3014a0642a327cec401d3adb5ba22e7284a6ce06c305ce8
+0,
-4
1@@ -1,4 +0,0 @@
2-glib
3-gst-plugins-base
4-gstreamer
5-nettle
+0,
-1
1@@ -1 +0,0 @@
2-https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.24.10.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.24.10 1
+0,
-30
1@@ -1,30 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-# muon seems to make the check fail, and files seems to no be generated before
8-# check is ran. prompty making the build fail because pc files is missing.
9-patch -p1 < 0001-disable-check-for-pc-files.patch
10-
11-muon setup \
12- -Dprefix=/usr \
13- -Dbuildtype=release \
14- -Db_colorout=never \
15- -Dgl=disabled \
16- -Dtests=disabled \
17- -Dtremor=disabled \
18- -Dexamples=disabled \
19- -Dcdparanoia=disabled \
20- -Dintrospection=disabled \
21- -Dnls=disabled \
22- -Ddoc=disabled \
23- -Dalsa=enabled \
24- -Ddefault_library=shared \
25- build
26-
27-samu -C build
28-muon -C build install
29-
30-# Compress manpages
31-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-2
1@@ -1,2 +0,0 @@
2-c1a828f27196de1e80ce96af4ada38c80dfc1c539e9e5c1f875cb348a7ee55959a
3-06bcbcd6b6d3c05cc165939837b71b8e1cd5f2822f765fd282233b12c43327c2e6
+0,
-8
1@@ -1,8 +0,0 @@
2-alsa-lib
3-glib
4-gstreamer
5-libjpeg-turbo
6-libpng
7-mesa
8-opus
9-pango
1@@ -1,25 +0,0 @@
2-From 1549d40b089b09e8dbefd4feccca5ec98dae8e51 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Sun, 12 Jan 2025 00:36:16 +0100
5-Subject: [PATCH] disable check for pc files
6-
7----
8- meson.build | 2 +-
9- 1 file changed, 1 insertion(+), 1 deletion(-)
10-
11-diff --git a/meson.build b/meson.build
12-index 7c0762d..0188aa8 100644
13---- a/meson.build
14-+++ b/meson.build
15-@@ -517,7 +517,7 @@ pkgconfig.generate(
16- # Desperate times, desperate measures... fix up escaping of our variables
17- run_command(meson_pkg_config_file_fixup_script,
18- 'gstreamer-plugins-base-1.0', 'libraries',
19-- check: true)
20-+ check: false)
21-
22- if have_orcc
23- update_orc_dist_files = find_program('scripts/update-orc-dist-files.py')
24---
25-2.45.1
26-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.24.10.tar.xz
3-patches/0001-disable-check-for-pc-files.patch
+0,
-1
1@@ -1 +0,0 @@
2-1.24.10 1
+0,
-16
1@@ -1,16 +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- -Dbuildtype=release \
10- -Db_colorout=never \
11- -Ddoc=disabled \
12- -Dtests=disabled \
13- -Ddefault_library=shared \
14- build
15-
16-samu -C build
17-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-fd0992aff6942a22402ea2a1b4d7b7f6ac797670568dfd6feb2f5b265fadaaea45
+0,
-6
1@@ -1,6 +0,0 @@
2-cairo
3-gdk-pixbuf
4-glib
5-gst-plugins-base
6-gstreamer
7-zlib
+0,
-1
1@@ -1 +0,0 @@
2-https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.24.10.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.24.10 1
+0,
-16
1@@ -1,16 +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- -Dbuildtype=release \
10- -Db_colorout=never \
11- -Ddoc=disabled \
12- -Dtests=disabled \
13- -Ddefault_library=shared \
14- build
15-
16-samu -C build
17-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-54001231ea305ffcd6810550931119f0edc675ff694721651fa5e8cfba0495fa63
+0,
-3
1@@ -1,3 +0,0 @@
2-glib
3-gst-plugins-base
4-gstreamer
+0,
-1
1@@ -1 +0,0 @@
2-https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.24.10.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.24.10 1
+0,
-25
1@@ -1,25 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-patch -p1 < 0001-fix-incompatability-with-byacc.patch
8-
9-muon setup \
10- -Dprefix=/usr \
11- -Dlibexecdir=/usr/lib \
12- -Dbuildtype=release \
13- -Db_colorout=never \
14- -Ddbghelp=disabled \
15- -Dintrospection=disabled \
16- -Dexamples=disabled \
17- -Ddoc=disabled \
18- -Dtests=disabled \
19- -Ddefault_library=shared \
20- build
21-
22-samu -C build
23-muon -C build install
24-
25-# Compress manpages
26-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-2
1@@ -1,2 +0,0 @@
2-6eea32c38a63c4f934ce6f962555a359e473849495272b233a760c564a50473dfb
3-8c33622b593b7ce7fa9f0e891630907de58494d0b027e0ed6ad91dc5733fd65721
+0,
-1
1@@ -1 +0,0 @@
2-glib
1@@ -1,57 +0,0 @@
2-From 4e7b28955ccb4c8b8c18ecb95b996d0c8d9a3248 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 2 May 2024 17:47:31 +0200
5-Subject: [PATCH] fix incompatability with byacc
6-
7----
8- gst/parse/gen_grammar.py.in | 2 +-
9- gst/parse/meson.build | 16 ++--------------
10- 2 files changed, 3 insertions(+), 15 deletions(-)
11- mode change 100755 => 100644 gst/parse/gen_grammar.py.in
12-
13-diff --git a/gst/parse/gen_grammar.py.in b/gst/parse/gen_grammar.py.in
14-old mode 100755
15-new mode 100644
16-index 3a7af00..f4016bc
17---- a/gst/parse/gen_grammar.py.in
18-+++ b/gst/parse/gen_grammar.py.in
19-@@ -6,7 +6,7 @@ cfile = sys.argv[1]
20- hfile = sys.argv[2]
21- yfile = sys.argv[3]
22-
23--args = ['-d', '-v', '-ppriv_gst_parse_yy', yfile, '-o', cfile]
24-+args = ['-d', '-v', '-ppriv_gst_parse_yy', '-o', cfile, yfile]
25- bison = [r'@BISON@'] + shlex.split(r'@BISON_ARGS@')
26- subprocess.check_call(bison + args)
27-
28-diff --git a/gst/parse/meson.build b/gst/parse/meson.build
29-index b79a07c..cff1830 100644
30---- a/gst/parse/meson.build
31-+++ b/gst/parse/meson.build
32-@@ -31,21 +31,9 @@ bison_parser_cdata = configuration_data()
33- bison_cdata = configuration_data()
34-
35- bison_min_version='2.4'
36--bison = find_program('bison', 'win_bison')
37-+bison = find_program('bison', 'win_bison', 'yacc')
38-
39--bversion_res = run_command([bison, '--version'], check: true)
40--bversion = bversion_res.stdout().split('\n')[0].split(' ')[-1].strip()
41--if bversion.version_compare('<' + bison_min_version)
42-- error('bison version @0@ >= @1@: NO'.format(bversion, bison_min_version))
43--else
44-- message('bison version @0@ >= @1@: YES'.format(bversion, bison_min_version))
45--endif
46--
47--if bversion.version_compare('>' + '2.5')
48-- bison_parser_cdata.set('BISON_PURE_PARSER', '%define api.pure full')
49--else
50-- bison_parser_cdata.set('BISON_PURE_PARSER', '%pure-parser')
51--endif
52-+bison_parser_cdata.set('BISON_PURE_PARSER', '%pure-parser')
53-
54- gen_grammar_file = configure_file(input : 'grammar.y.in',
55- output : 'grammar.y',
56---
57-2.44.0
58-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.24.10.tar.xz
3-patches/0001-fix-incompatability-with-byacc.patch
+0,
-1
1@@ -1 +0,0 @@
2-1.24.10 1
+0,
-46
1@@ -1,46 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-patch -p1 < 0001-remove-fribidi-dependency.patch
8-
9-# fix build for muon
10-sed -E "/boolean/s~'(true|false)'~\1~g" meson_options.txt > _
11-mv -f _ meson_options.txt
12-
13-# Disable native language support, disable atk-bridge, don't compile schemas.
14-sed -e '/compile_schemas/s/true/false/' \
15- -e '/ENABLE_NLS/s/1/0/' \
16- -e "/subdir('po/d" \
17- -e "/atk-bridge/d" \
18- meson.build > _
19-mv -f _ meson.build
20-
21-# Remove atk-bridge code.
22-sed '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
23- gtk/a11y/gtkaccessibility.c > _
24-mv -f _ gtk/a11y/gtkaccessibility.c
25-
26-muon setup \
27- -Dprefix=/usr \
28- -Dbuildtype=release \
29- -Db_colorout=never \
30- -Dx11_backend=false \
31- -Dwayland_backend=true \
32- -Dxinerama=yes \
33- -Dprint_backends=file,lpr \
34- -Dcolord=no \
35- -Dintrospection=false \
36- -Ddemos=false \
37- -Dexamples=false \
38- -Dtests=false \
39- -Ddefault_library=shared \
40- build
41-
42-samu -C build
43-muon -C build install
44-
45-# We don't compile with librsvg which leads to this utility solely causing
46-# compiler errors for some packages. It has no use at all.
47-rm -f "$1/usr/bin/gtk-encode-symbolic-svg"
+0,
-2
1@@ -1,2 +0,0 @@
2-99596689b915b49f67e778387b8b2990e2bd125e83334c3e7497e8f008ce46b4f1
3-76c0117c066c8924cf5fcb59801818c6c2019e75ed69d1324007998a98fbf90989
+0,
-13
1@@ -1,13 +0,0 @@
2-atk
3-cairo
4-fontconfig
5-freetype-harfbuzz
6-gdk-pixbuf
7-glib
8-libepoxy
9-libxkbcommon
10-mesa
11-pango
12-python make
13-wayland
14-wayland-protocols make
1@@ -1,140 +0,0 @@
2-From 298b189f536e0bf8d7c32d141ef5caefaf086e5c Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 2 May 2024 18:13:50 +0200
5-Subject: [PATCH 1/2] remove fribidi dependency
6-
7----
8- gdk/gdk.c | 12 ------------
9- gdk/meson.build | 1 -
10- gtk/gtkpango.c | 12 ------------
11- gtk/meson.build | 1 -
12- meson.build | 8 ++------
13- 5 files changed, 2 insertions(+), 32 deletions(-)
14-
15-diff --git a/gdk/gdk.c b/gdk/gdk.c
16-index 83672d8..2536b53 100644
17---- a/gdk/gdk.c
18-+++ b/gdk/gdk.c
19-@@ -44,7 +44,6 @@
20- #include <string.h>
21- #include <stdlib.h>
22-
23--#include <fribidi.h>
24-
25-
26- /**
27-@@ -1118,17 +1117,6 @@ gdk_disable_multidevice (void)
28- PangoDirection
29- gdk_unichar_direction (gunichar ch)
30- {
31-- FriBidiCharType fribidi_ch_type;
32--
33-- G_STATIC_ASSERT (sizeof (FriBidiChar) == sizeof (gunichar));
34--
35-- fribidi_ch_type = fribidi_get_bidi_type (ch);
36--
37-- if (!FRIBIDI_IS_STRONG (fribidi_ch_type))
38-- return PANGO_DIRECTION_NEUTRAL;
39-- else if (FRIBIDI_IS_RTL (fribidi_ch_type))
40-- return PANGO_DIRECTION_RTL;
41-- else
42- return PANGO_DIRECTION_LTR;
43- }
44-
45-diff --git a/gdk/meson.build b/gdk/meson.build
46-index 4bb1bf2..9270c97 100644
47---- a/gdk/meson.build
48-+++ b/gdk/meson.build
49-@@ -202,7 +202,6 @@ gdk_deps = [
50- pixbuf_dep,
51- cairo_dep,
52- pango_dep,
53-- fribidi_dep,
54- cairogobj_dep,
55- glib_dep,
56- epoxy_dep,
57-diff --git a/gtk/gtkpango.c b/gtk/gtkpango.c
58-index aaac4cc..a76ad57 100644
59---- a/gtk/gtkpango.c
60-+++ b/gtk/gtkpango.c
61-@@ -25,7 +25,6 @@
62- #include "config.h"
63- #include "gtkpango.h"
64- #include <pango/pangocairo.h>
65--#include <fribidi.h>
66- #include "gtkintl.h"
67-
68- #define GTK_TYPE_FILL_LAYOUT_RENDERER (_gtk_fill_layout_renderer_get_type())
69-@@ -1326,17 +1325,6 @@ _gtk_pango_attr_list_merge (PangoAttrList *into,
70- PangoDirection
71- _gtk_pango_unichar_direction (gunichar ch)
72- {
73-- FriBidiCharType fribidi_ch_type;
74--
75-- G_STATIC_ASSERT (sizeof (FriBidiChar) == sizeof (gunichar));
76--
77-- fribidi_ch_type = fribidi_get_bidi_type (ch);
78--
79-- if (!FRIBIDI_IS_STRONG (fribidi_ch_type))
80-- return PANGO_DIRECTION_NEUTRAL;
81-- else if (FRIBIDI_IS_RTL (fribidi_ch_type))
82-- return PANGO_DIRECTION_RTL;
83-- else
84- return PANGO_DIRECTION_LTR;
85- }
86-
87-diff --git a/gtk/meson.build b/gtk/meson.build
88-index ea866d8..033c6ab 100644
89---- a/gtk/meson.build
90-+++ b/gtk/meson.build
91-@@ -840,7 +840,6 @@ gtk_deps = [
92- pango_dep,
93- pangoft_dep,
94- harfbuzz_dep,
95-- fribidi_dep,
96- cairogobj_dep,
97- cairo_dep,
98- fontconfig_dep,
99-diff --git a/meson.build b/meson.build
100-index 7bf5ea4..33bcb28 100644
101---- a/meson.build
102-+++ b/meson.build
103-@@ -26,7 +26,6 @@ endif
104-
105- glib_req = '>= @0@.@1@.@2@'.format(glib_major_req, glib_minor_req, glib_micro_req)
106- pango_req = '>= 1.41.0'
107--fribidi_req = '>= 0.19.7'
108- atk_req = '>= 2.35.1'
109- at_spi2_atk_req = '>= 2.15.1'
110- cairo_req = '>= 1.14.0'
111-@@ -400,8 +399,6 @@ endif
112-
113- pango_dep = dependency('pango', version: pango_req,
114- fallback : ['pango', 'libpango_dep'])
115--fribidi_dep = dependency('fribidi', version: fribidi_req,
116-- fallback : ['fribidi', 'libfribidi_dep'])
117-
118- # Require PangoFT2 if on X11 or wayland
119- require_pangoft2 = wayland_enabled or x11_enabled
120-@@ -913,8 +910,7 @@ endif
121-
122- pkgconf.set('GDK_PRIVATE_PACKAGES',
123- ' '.join(gio_packages + x11_pkgs + wayland_pkgs + cairo_backends +
124-- ['epoxy', epoxy_req] + cloudproviders_packages +
125-- ['fribidi', fribidi_req]))
126-+ ['epoxy', epoxy_req] + cloudproviders_packages))
127-
128- gtk_packages = ' '.join([
129- atk_dep.name(), atk_req,
130-@@ -927,7 +923,7 @@ pkgconf.set('GTK_PACKAGES', gtk_packages)
131- # Requires.private
132- pc_gdk_extra_libs += cairo_libs
133-
134--gtk_private_packages = atk_pkgs + wayland_pkgs + ['epoxy', epoxy_req, 'fribidi', fribidi_req]
135-+gtk_private_packages = atk_pkgs + wayland_pkgs + ['epoxy', epoxy_req]
136- if wayland_enabled or x11_enabled
137- gtk_private_packages += ['pangoft2']
138- endif
139---
140-2.44.0
141-
+0,
-3
1@@ -1,3 +0,0 @@
2-#!/bin/sh
3-
4-/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
+0,
-2
1@@ -1,2 +0,0 @@
2-https://download.gnome.org/sources/gtk/3.24/gtk-3.24.51.tar.xz
3-patches/0001-remove-fribidi-dependency.patch
+0,
-1
1@@ -1 +0,0 @@
2-3.24.51 2
+0,
-24
1@@ -1,24 +0,0 @@
2-#!/bin/sh -e
3-
4-export CXXFLAGS="$CXXFLAGS -static-libstdc++ -static-libgcc"
5-
6-# Change the order for checking installed compilers as
7-# the ccache clang symlink might exist, but clang might not be installed.
8-sed 's/clang gcc cc/cc clang gcc/g' icu4c/source/configure > _
9-mv -f _ icu4c/source/configure
10-sed 's/clang++ g++ c++/c++ clang++ g++/g' icu4c/source/configure > _
11-mv -f _ icu4c/source/configure
12-
13-# license installation seems to give us a symolic link loop, which breaks the install
14-sed '/LICENSE/d' icu4c/source/Makefile.in > _
15-mv -f _ icu4c/source/Makefile.in
16-
17-sh icu4c/source/configure \
18- --prefix=/usr \
19- --sbindir=/usr/bin
20-
21-make
22-make DESTDIR="$1" install
23-
24-# Compress manpages
25-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-927feda0b91cfd3600a46b58a4a99492dbc38ed47ceea58d7c1ba9bdfcc3f0222f
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/unicode-org/icu/archive/refs/tags/release-74-2.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-74.2 2
+0,
-18
1@@ -1,18 +0,0 @@
2-#!/bin/sh -e
3-
4-# Disable HTML documentation.
5-sed 's/html man/man/' doc/Makefile.in > _
6-mv -f _ doc/Makefile.in
7-
8-./configure \
9- ac_cv_lib_ncurses_initscr=no \
10- ac_cv_lib_curses_initscr=no \
11- --prefix=/usr \
12- --enable-shared \
13- --disable-gtktest
14-
15-make
16-make DESTDIR="$1" install
17-
18-# Compress manpages
19-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-18bd5d721dd053bdf9d4134690aeb118306eb07a530888f1f86617e5aad999c012
+0,
-0
+0,
-1
1@@ -1 +0,0 @@
2-https://fossies.org/linux/misc/lame-3.100.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-3.100 3
+0,
-18
1@@ -1,18 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-
6-muon setup \
7- -Dprefix=/usr \
8- -Dintel=disabled \
9- -Dnouveau=enabled \
10- -Damdgpu=enabled \
11- -Dradeon=enabled \
12- -Dvalgrind=disabled \
13- -Ddefault_library=both \
14- -Dman-pages=disabled \
15- -Dpkg_config_path=/usr/lib/pkgconfig \
16- build
17-
18-samu -C build
19-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-2d18ab3e6892ba7e60f428c6714d166f57d68c55e563e3135c21c8b094dec4b2e9
+0,
-1
1@@ -1 +0,0 @@
2-libpciaccess
+0,
-1
1@@ -1 +0,0 @@
2-https://dri.freedesktop.org/libdrm/libdrm-2.4.123.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-2.4.123 5
+0,
-32
1@@ -1,32 +0,0 @@
2-#!/bin/sh -e
3-
4-patch -p1 < 0001-fix-checks-for-argp_parse-and-fts_close.patch
5-
6-# Build sometimes forces -Werror.
7-export CFLAGS="$CFLAGS -Wno-error"
8-
9-sh ./configure \
10- --prefix=/usr \
11- --disable-symbol-versioning \
12- --disable-debuginfod \
13- --disable-libdebuginfod \
14- --disable-nls \
15- ac_cv_c99=yes # Override check for Clang.
16-
17-# Utility functions that need argp and fts, not strictly necessary
18-# for the library to function
19-:>libdwfl/argp-std.c
20-:>libdwfl/linux-kernel-modules.c
21-
22-# Useless stuff
23-printf '%s\n' "all:" "install:" > src/Makefile
24-
25-# linux-lts will error out on unknown type name for Relr
26-sed '/Relr/d' libelf/gelf.h > _
27-mv -f _ libelf/gelf.h
28-
29-make
30-make DESTDIR="$1" install
31-
32-# Compress manpages
33-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-2
1@@ -1,2 +0,0 @@
2-c540dfc59d05c714b5e1d7893d514fc051f01814d1b01fc5e6fee811f5b7412b26
3-7cbfcec24f3d2239a32e10293ab5b580c79916bb76c8c46ff226c9ebca8d273cc2
+0,
-1
1@@ -1 +0,0 @@
2-zlib
1@@ -1,70 +0,0 @@
2-From 5e0bb692001081f20487972c1fdd6c548ec504a2 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Sat, 4 May 2024 19:30:17 +0200
5-Subject: [PATCH] fix checks for argp_parse and fts_close
6-
7----
8- configure | 6 +++---
9- lib/Makefile.in | 6 +++---
10- 2 files changed, 6 insertions(+), 6 deletions(-)
11-
12-diff --git a/configure b/configure
13-index b8cc5fd..9776163 100755
14---- a/configure
15-+++ b/configure
16-@@ -9681,7 +9681,7 @@ LIBS="$saved_LIBS"
17- case "$ac_cv_search_argp_parse" in
18- no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
19- printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
20--as_fn_error $? "failed to find argp_parse
21-+: $? "failed to find argp_parse
22- See 'config.log' for more details" "$LINENO" 5; } ;;
23- -l*) argp_LDADD="$ac_cv_search_argp_parse" ;;
24- *) argp_LDADD= ;;
25-@@ -9760,7 +9760,7 @@ LIBS="$saved_LIBS"
26- case "$ac_cv_search_fts_close" in
27- no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
28- printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
29--as_fn_error $? "failed to find fts_close
30-+: $? "failed to find fts_close
31- See 'config.log' for more details" "$LINENO" 5; } ;;
32- -l*) fts_LIBS="$ac_cv_search_fts_close" ;;
33- *) fts_LIBS= ;;
34-@@ -9839,7 +9839,7 @@ LIBS="$saved_LIBS"
35- case "$ac_cv_search__obstack_free" in
36- no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
37- printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
38--as_fn_error $? "failed to find _obstack_free
39-+: $? "failed to find _obstack_free
40- See 'config.log' for more details" "$LINENO" 5; } ;;
41- -l*) obstack_LIBS="$ac_cv_search__obstack_free" ;;
42- *) obstack_LIBS= ;;
43-diff --git a/lib/Makefile.in b/lib/Makefile.in
44-index d015ff8..248ff90 100644
45---- a/lib/Makefile.in
46-+++ b/lib/Makefile.in
47-@@ -121,7 +121,7 @@ libeu_a_LIBADD =
48- am_libeu_a_OBJECTS = xasprintf.$(OBJEXT) xstrdup.$(OBJEXT) \
49- xstrndup.$(OBJEXT) xmalloc.$(OBJEXT) next_prime.$(OBJEXT) \
50- crc32.$(OBJEXT) crc32_file.$(OBJEXT) eu-search.$(OBJEXT) \
51-- color.$(OBJEXT) error.$(OBJEXT) printversion.$(OBJEXT)
52-+ error.$(OBJEXT)
53- libeu_a_OBJECTS = $(am_libeu_a_OBJECTS)
54- AM_V_P = $(am__v_P_@AM_V@)
55- am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
56-@@ -427,10 +427,10 @@ textrel_check = if $(READELF) -d $@ | grep -F -q TEXTREL; then $(textrel_found);
57- noinst_LIBRARIES = libeu.a
58- libeu_a_SOURCES = xasprintf.c xstrdup.c xstrndup.c xmalloc.c next_prime.c \
59- crc32.c crc32_file.c eu-search.c \
60-- color.c error.c printversion.c
61-+ error.c
62-
63- noinst_HEADERS = fixedsizehash.h libeu.h system.h dynamicsizehash.h list.h \
64-- eu-config.h color.h printversion.h bpf.h \
65-+ eu-config.h bpf.h \
66- dynamicsizehash_concurrent.h \
67- eu-search.h locks.h
68-
69---
70-2.49.0
71-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://sourceware.org/elfutils/ftp/0.193/elfutils-0.193.tar.bz2
3-patches/0001-fix-checks-for-argp_parse-and-fts_close.patch
+0,
-1
1@@ -1 +0,0 @@
2-0.193 1
+0,
-20
1@@ -1,20 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-
6-# Disable building tests.
7-: > test/meson.build
8-
9-muon setup \
10- -Dprefix=/usr \
11- -Dsysconfdir=/etc \
12- -Dmandir=/usr/share/man \
13- -Dbuildtype=release \
14- -Db_colorout=never \
15- -Dpkg_config_path=/usr/lib/pkgconfig \
16- -Ddefault_library=shared \
17- -Dx11=false \
18- build
19-
20-samu -C build
21-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-df74575d2a4ca65bf98d15ed6357cb066b6369704137e53b5e1d35b6d582657e12
+0,
-1
1@@ -1 +0,0 @@
2-mesa make
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/anholt/libepoxy/archive/1.5.10.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-1.5.10 4
+0,
-14
1@@ -1,14 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr \
6- --disable-exec-static-tramp \
7- --enable-static
8-
9-make
10-make DESTDIR="$1" install
11-
12-# Compress manpages
13-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
14-
15-rm -rf "$1/usr/share/info"
+0,
-1
1@@ -1 +0,0 @@
2-c7d7a36b1dad81ff39ca53f3a11c3e01450dfb2d787e05ca60cfe1b4b6491759c4
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/libffi/libffi/releases/download/v3.4.6/libffi-3.4.6.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-3.4.6 2
+0,
-20
1@@ -1,20 +0,0 @@
2-#!/bin/sh -e
3-
4-# Missing includes...
5-sed '/^#ifdef USE_JENT/a #include <fcntl.h>\n#include <limits.h>' \
6- random/rndjent.c > _
7-mv -f _ random/rndjent.c
8-
9-./configure \
10- --prefix=/usr \
11- --sysconfdir=/etc \
12- --mandir=/usr/share/man \
13- --localstatedir=/var
14-
15-make
16-make DESTDIR="$1" install
17-
18-# Compress manpages
19-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
20-
21-rm -rf "$1/usr/share/info"
+0,
-1
1@@ -1 +0,0 @@
2-a236b238d5f1d44be9b91422b9bee0b606c957a13847794f1de437d50f12b37d10
+0,
-1
1@@ -1 +0,0 @@
2-libgpg-error
+0,
-1
1@@ -1 +0,0 @@
2-https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.11.0.tar.bz2
+0,
-1
1@@ -1 +0,0 @@
2-1.11.0 2
+0,
-15
1@@ -1,15 +0,0 @@
2-#!/bin/sh -e
3-
4-: > build-aux/missing
5-
6-./configure \
7- --prefix=/usr \
8- --sysconfdir=/etc \
9- --mandir=/usr/share/man \
10- --localstatedir=/var \
11- --disable-nls \
12- --disable-doc \
13- --disable-tests
14-
15-make
16-make DESTDIR="$1" install
+0,
-1
1@@ -1 +0,0 @@
2-6c363dd8c6bcf2601dd5ff3b11fa2f699baa2aae40de2acd92461af0fd8178f0d8
+0,
-1
1@@ -1 +0,0 @@
2-https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.55.tar.bz2
+0,
-1
1@@ -1 +0,0 @@
2-1.55 1
+0,
-24
1@@ -1,24 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-
6-cmake -G Ninja -B build \
7- -DCMAKE_INSTALL_PREFIX=/usr \
8- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
9- -DCMAKE_INSTALL_BINDIR=/usr/bin \
10- -DCMAKE_INSTALL_INCLUDEDIR=/usr/bin \
11- -DCMAKE_INSTALL_MANDIR=/usr/share/man \
12- -DCMAKE_SHARED_LIBS=False \
13- -DCMAKE_STATIC_LIBS=True \
14- -DCMAKE_BUILD_TYPE=Release \
15- -DWITH_JPEG8=1 \
16- -Wno-dev
17-
18-samu -C build
19-samu -C build install
20-
21-# Compress manpages
22-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
23-
24-# Remove docs
25-rm -rf "$1/usr/share/doc"
+0,
-1
1@@ -1 +0,0 @@
2-29272eccaa9d0093a6cf80cad86e91f07c201e1b07f4f5e7f868c92f62c5452906
+0,
-1
1@@ -1 +0,0 @@
2-cmake make
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/libjpeg-turbo/libjpeg-turbo/archive/3.0.3.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-3.0.3 1
+0,
-15
1@@ -1,15 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr \
6- --disable-examples \
7- --disable-python-bindings \
8- --enable-lib-only
9-
10-make
11-make DESTDIR="$1" install
12-
13-# Compress manpages
14-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
15-
16-rm -rf "$1/usr/share/doc"
+0,
-1
1@@ -1 +0,0 @@
2-2209947fbdacf2345bbbaefc9a61351ccad9ae52c98946a26fbf176d95153286ae
+0,
-1
1@@ -1 +0,0 @@
2-python
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/nghttp2/nghttp2/releases/download/v1.63.0/nghttp2-1.63.0.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.63.0 2
+0,
-11
1@@ -1,11 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-
6-muon setup \
7- -Dprefix=/usr \
8- -Ddefault_library=static \
9- build
10-
11-samu -C build
12-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-ea20d4e12331620d1921edb6a5a043410416037869dc63264990861b23d0323b5e
+0,
-1
1@@ -1 +0,0 @@
2-zlib
+0,
-1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/libpciaccess-0.18.1.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-0.18.1 2
+0,
-10
1@@ -1,10 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr
6-
7-make
8-make DESTDIR="$1" install
9-
10-# Compress manpages
11-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-0dea43749579a69fcc15438f98d49f8222e75cb83020bbdfefabcbee3e0df13e77
+0,
-1
1@@ -1 +0,0 @@
2-zlib
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/glennrp/libpng/archive/v1.6.43.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-1.6.43 1
+0,
-10
1@@ -1,10 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr
6-
7-make
8-make DESTDIR="$1" install
9-
10-# Compress manpages
11-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-75520a5e4ef205ad5fcb236075182c9e7aeb4f3122ebdb32854a14f49dc5267695
+0,
-2
1@@ -1,2 +0,0 @@
2-icu
3-python make
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/rockdaboot/libpsl/releases/download/0.21.5/libpsl-0.21.5.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-0.21.5 1
+0,
-19
1@@ -1,19 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- PROG_LDADD=-all-static \
6- --prefix=/usr \
7- --sysconfdir=/etc \
8- --disable-tests
9-
10-make
11-make DESTDIR="$1" install
12-
13-# Certs is provided elsewhere
14-rm -rf "$1/etc/ssl/cert.pem"
15-
16-# Compress manpages
17-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
18-
19-# Find and remove symlinks that are now broken
20-find "$1/usr/share/man" -type l -exec rm -rf {} +
+0,
-1
1@@ -1 +0,0 @@
2-351e6bb0ac46abb81fd0c5e81cf7d569ede1d10dd519f43ac73658087d79a2c4e6
+0,
-1
1@@ -1 +0,0 @@
2-https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.3.1.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-4.3.1 1
+0,
-36
1@@ -1,36 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-# Remove subprojects folder to avoid cloning them via git.
8-rm -rf subprojects/
9-
10-# Disable nls.
11-sed "/subdir('po')/d" meson.build > _
12-mv -f _ meson.build
13-
14-# Needed to make the build succeed.
15-export CFLAGS="$CFLAGS -w"
16-export CXXFLAGS="$CXXFLAGS -w"
17-
18-muon setup \
19- -Dprefix=/usr \
20- -Dsysconfdir=/etc \
21- -Dlocalstatedir=/var \
22- -Dbuildtype=release \
23- -Db_colorout=never \
24- -Dtests=false \
25- -Ddocs=disabled \
26- -Dtls_check=false \
27- -Dvapi=disabled \
28- -Dgssapi=disabled \
29- -Dbrotli=disabled \
30- -Dsysprof=disabled \
31- -Dpkcs11_tests=disabled \
32- -Dintrospection=disabled \
33- -Ddefault_library=shared \
34- build
35-
36-samu -C build
37-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-eb3427e1db6dbf5a4a6ba8201659538c4217b825b1626491d0728b6ca694c3cb45
+0,
-6
1@@ -1,6 +0,0 @@
2-glib
3-glib-networking
4-libnghttp2
5-libpsl
6-libxml2
7-sqlite
+0,
-1
1@@ -1 +0,0 @@
2-https://download.gnome.org/sources/libsoup/3.4/libsoup-3.4.4.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-3.4.4 3
+0,
-8
1@@ -1,8 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr \
6- --disable-doc
7-
8-make
9-make DESTDIR="$1" install
+0,
-1
1@@ -1 +0,0 @@
2-6e7ee1c99c271fd9a347e3a46056f00c2ab5cf481328a6bac8d1f727fe7bfd9e77
+0,
-1
1@@ -1 +0,0 @@
2-https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.19.0.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-4.19.0 1
+0,
-14
1@@ -1,14 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr \
6- --disable-tiff \
7- --enable-libwebpmux \
8- --enable-libwebpdemux \
9- --enable-libwebpdecoder
10-
11-make
12-make DESTDIR="$1" install
13-
14-# Compress manpages
15-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-f1d43e193fb3a68c469388254ed1339d0dcb0dc277cc0b3dfe93f97277e795a043
+0,
-2
1@@ -1,2 +0,0 @@
2-libjpeg-turbo
3-libpng
+0,
-1
1@@ -1 +0,0 @@
2-https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.4.0.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-1.4.0 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-# byacc is only installed as yacc
8-sed 's/byacc/yacc/g' meson.build > _
9-mv -f _ meson.build
10-
11-muon setup \
12- -Dprefix=/usr \
13- -Dlibexecdir=/usr/lib \
14- -Dbuildtype=release \
15- -Db_colorout=never \
16- -Ddefault_library=both \
17- -Denable-docs=false \
18- -Denable-wayland=true \
19- -Denable-x11=false \
20- -Denable-xkbregistry=false \
21- -Denable-bash-completion=false \
22- build
23-
24-samu -C build
25-muon -C build install
26-
27-# Compress manpages
28-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-5001ca0b8562feeef2010bf16c05657e3875fda3ed5fdedbf48b9135e5cdfcbce3
+0,
-2
1@@ -1,2 +0,0 @@
2-wayland
3-wayland-protocols make
+0,
-1
1@@ -1 +0,0 @@
2-https://xkbcommon.org/download/libxkbcommon-1.7.0.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.7.0 7
+0,
-24
1@@ -1,24 +0,0 @@
2-#!/bin/sh -e
3-
4-: > missing
5-
6-./configure \
7- --prefix=/usr \
8- --enable-static \
9- --with-threads \
10- --with-history \
11- --without-python \
12- --without-icu \
13- --without-readline \
14- --without-lzma
15-
16-make
17-make DESTDIR="$1" install
18-
19-# Compress manpages
20-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
21-
22-# Remove docs
23-rm -rf \
24- "$1/usr/share/gtk-doc" \
25- "$1/usr/share/doc"
+0,
-1
1@@ -1 +0,0 @@
2-93836ade1d546378f0bde4741eb214ae6736462dc08ded55939e611a6f28c64c09
+0,
-1
1@@ -1 +0,0 @@
2-zlib
+0,
-1
1@@ -1 +0,0 @@
2-https://download.gnome.org/sources/libxml2/2.13/libxml2-2.13.3.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-2.13.3 1
+0,
-21
1@@ -1,21 +0,0 @@
2-#!/bin/sh -e
3-
4-: > missing
5-
6-./configure \
7- --prefix=/usr \
8- --without-python \
9- --without-debugger \
10- --without-debug \
11- --without-crypto
12-
13-make
14-make DESTDIR="$1" install
15-
16-# Remove docs
17-rm -rf \
18- "$1/usr/share/gtk-doc" \
19- "$1/usr/share/doc"
20-
21-# Compress manpages
22-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-d7994f65a2bcb56c17d5e61c013139098138598cecb780bf8d13ba44f8474a290d
+0,
-1
1@@ -1 +0,0 @@
2-libxml2
+0,
-1
1@@ -1 +0,0 @@
2-https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.42.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.1.42 1
+0,
-9
1@@ -1,9 +0,0 @@
2-#!/bin/sh -e
3-
4-: > config/missing
5-
6-./configure \
7- --prefix=/usr
8-
9-make
10-make DESTDIR="$1" install
+0,
-1
1@@ -1 +0,0 @@
2-64cd0f69eb55904fdf4a6f20d46d565ab2433ae494e76edbdf835a25b57c98d9c7
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/yaml/libyaml/releases/download/0.2.5/yaml-0.2.5.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-0.2.5 1
+0,
-10
1@@ -1,10 +0,0 @@
2-#!/bin/sh -e
3-
4-# workaround for pdpmake placing lfs.o in toplevel srcdir, instead of src/
5-make PREFIX=/usr src/lfs.o
6-if test -f lfs.o; then
7- mv -f lfs.o src/
8-fi
9-
10-make PREFIX=/usr
11-make DESTDIR="$1" PREFIX=/usr install
+0,
-1
1@@ -1 +0,0 @@
2-a2d4746d0f36da467a904d70b4d2408ff6d3fb94433d293f6ede4f1a983b079f46
+0,
-1
1@@ -1 +0,0 @@
2-lua5.1
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/lunarmodules/luafilesystem/archive/refs/tags/v1_8_0.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-1_8_0 1
+0,
-22
1@@ -1,22 +0,0 @@
2-#!/bin/sh -e
3-
4-make \
5- CFLAGS="$CFLAGS -fPIC" \
6- LDFLAGS="$LDFLAGS -static" \
7- posix
8-
9-sed "s/install -p/install/" Makefile > _
10-mv -f _ Makefile
11-
12-make \
13- INSTALL_TOP="$1/usr" \
14- INSTALL_DATA="cp -P" \
15- INSTALL_MAN="$1/usr/share/man/man1" \
16- install
17-
18-# we dont need these
19-# shellcheck disable=2115
20-rm -rf \
21- "$1/usr/bin" \
22- "$1/usr/lib/lua" \
23- "$1/usr/share"
+0,
-2
1@@ -1,2 +0,0 @@
2-164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61
3-c58f3ff3aecd07fc409486e31e65461eb10a919c0ee225836c88d5558933b3b5
+0,
-1
1@@ -1 +0,0 @@
2-https://www.lua.org/ftp/lua-5.1.4.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-5.1.4 2
+0,
-12
1@@ -1,12 +0,0 @@
2-#!/bin/sh -e
3-
4-export CFLAGS="$CFLAGS -fasynchronous-unwind-tables"
5-export LDFLAGS="$LDFLAGS -static-libgcc"
6-
7-patch -p1 < 0001-fix-check-for-toolchain-generateing-unwind-tables.patch
8-
9-make PREFIX=/usr
10-make install PREFIX=/usr DESTDIR="$1" INSTALL_TNAME=luajit
11-
12-# Compress manpages
13-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-2
1@@ -1,2 +0,0 @@
2-bceaa938dd383a6e1838bc7f08339801a524c5df0bbe2997dbece665a613d4324c
3-b31871a6054ddd5857686d0f6afcb160bcd6bb314d3ab80838bfa1749b1d037785
1@@ -1,25 +0,0 @@
2-From c5a326cc3911b0e498522aab845a5e32fcaa1280 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 19 Sep 2024 21:13:15 +0200
5-Subject: [PATCH] fix check for toolchain generateing unwind tables
6-
7----
8- src/Makefile | 2 +-
9- 1 file changed, 1 insertion(+), 1 deletion(-)
10-
11-diff --git a/src/Makefile b/src/Makefile
12-index 71857ed6..e85a9448 100644
13---- a/src/Makefile
14-+++ b/src/Makefile
15-@@ -342,7 +342,7 @@ ifeq (iOS,$(TARGET_SYS))
16- else
17- ifeq (,$(findstring LJ_NO_UNWIND 1,$(TARGET_TESTARCH)))
18- # Find out whether the target toolchain always generates unwind tables.
19-- TARGET_TESTUNWIND=$(shell exec 2>/dev/null; echo 'extern void b(void);int a(void){b();return 0;}' | $(TARGET_CC) -c -x c - -o tmpunwind.o && { grep -qa -e eh_frame -e __unwind_info tmpunwind.o || grep -qU -e eh_frame -e __unwind_info tmpunwind.o; } && echo E; rm -f tmpunwind.o)
20-+ TARGET_TESTUNWIND=$(shell exec 2>/dev/null; echo 'extern void b(void);int a(void){b();return 0;}' | $(TARGET_CC) -c -x c - -o tmpunwind.o && { strings tmpunwind.o | grep -q -e eh_frame -e __unwind_info; } && echo E; rm -f tmpunwind.o)
21- ifneq (,$(findstring E,$(TARGET_TESTUNWIND)))
22- TARGET_XCFLAGS+= -DLUAJIT_UNWIND_EXTERNAL
23- endif
24---
25-2.45.1
26-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://github.com/LuaJIT/LuaJIT/archive/refs/tags/v2.1.ROLLING.tar.gz
3-patches/0001-fix-check-for-toolchain-generateing-unwind-tables.patch
+0,
-1
1@@ -1 +0,0 @@
2-2.1-20240815 2
+0,
-15
1@@ -1,15 +0,0 @@
2-#!/bin/sh -e
3-
4-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
5-
6-make PREFIX=/usr USE_LUAJIT=1
7-make DESTDIR="$1" PREFIX=/usr install
8-
9-# Compress manpages
10-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
11-
12-rm -rf \
13- "$1/usr/share/pixmaps" \
14- "$1/usr/share/applications" \
15- "$1/usr/share/luakit/doc" \
16- "$1/usr/share/luakit/resources"
+0,
-1
1@@ -1 +0,0 @@
2-136964f0404f0f1e936f46af883c2244b560708efd3a1da91f435b0dc797424161
+0,
-13
1@@ -1,13 +0,0 @@
2-atk
3-cairo
4-freetype-harfbuzz
5-gdk-pixbuf
6-glib
7-gtk+3
8-libsoup3
9-lua-filesystem
10-luajit
11-pango
12-sqlite
13-webkit2gtk
14-xkeyboard-config
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/luakit/luakit/releases/download/2.4.0/luakit-2.4.0.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-2.4.0 4
+0,
-18
1@@ -1,18 +0,0 @@
2-#!/bin/sh -e
3-
4-export CFLAGS="$CFLAGS -fPIE"
5-export LDFLAGS="$LDFLAGS -static-pie"
6-
7-./configure \
8- --prefix=/usr \
9- --disable-nls \
10- --program-prefix=g
11-
12-make
13-make DESTDIR="$1" install
14-
15-# Remove info files
16-rm -r "$1/usr/share/info"
17-
18-# Compress manpages
19-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-4f4b8c7c8e13b6b1cd05c2b97f6275eb445f39d0ef2afc206933b9fc78ad78dad7
+0,
-1
1@@ -1 +0,0 @@
2-https://ftp.gnu.org/gnu/m4/m4-1.4.20.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.4.20 1
+0,
-42
1@@ -1,42 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-export PATH=/usr/bin:$PATH
7-
8-# byacc is only installed as yacc
9-sed 's/byacc/yacc/g' meson.build > _
10-mv -f _ meson.build
11-
12-# Fix issues with musl and firefox.
13-# https://bugs.freedesktop.org/show_bug.cgi?id=35268
14-# https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2
15-# https://gitlab.freedesktop.org/mesa/mesa/-/issues/966
16-sed "/pre_args += '-DUSE_ELF_TLS'/d" meson.build > _
17-mv -f _ meson.build
18-
19-# rust_std is not (yet?) supported by muon, and we should try
20-# to avoid a hard rust dependency here if possible.
21-sed '/rust_std=2021/d' meson.build > _
22-mv -f _ meson.build
23-
24-muon setup \
25- -Dprefix=/usr \
26- -Dsysconfdir=/etc \
27- -Dmandir=/usr/share/man \
28- -Dlocalstatedir=/var \
29- -Dbuildtype=release \
30- -Db_colorout=never \
31- -Dplatforms=wayland \
32- -Dglx=disabled \
33- -Degl=enabled \
34- -Dgallium-drivers=radeonsi \
35- -Dvalgrind=false \
36- -Dzstd=disabled \
37- -Dvulkan-drivers='' \
38- -Dglvnd=false \
39- -Dllvm=disabled \
40- build
41-
42-samu -C build
43-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-3465bc49518ecb82d42e9f1fbe0eed0dd97b79278e627c765ebbbc9aa6ccdaef41
+0,
-8
1@@ -1,8 +0,0 @@
2-expat
3-libdrm
4-libelf
5-python make
6-python-mako make
7-wayland
8-wayland-protocols make
9-zlib
+0,
-1
1@@ -1 +0,0 @@
2-https://archive.mesa3d.org/mesa-24.1.4.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-24.1.4 5
+0,
-11
1@@ -1,11 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr \
6- --libdir=/usr/lib \
7- --enable-static \
8- --enable-mini-gmp \
9- --disable-documentation
10-
11-make M4=gm4
12-make DESTDIR="$1" install
+0,
-1
1@@ -1 +0,0 @@
2-c6ff393796e76cdcc49b0d825b7f36357f4efc9dc74f4d718b62f347714b944f18
+0,
-1
1@@ -1 +0,0 @@
2-m4 make
+0,
-1
1@@ -1 +0,0 @@
2-https://ftp.gnu.org/gnu/nettle/nettle-3.10.2.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-3.10.2 1
+0,
-9
1@@ -1,9 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr \
6- --enable-custom-modes \
7- --enable-float-approx
8-
9-make
10-make DESTDIR="$1" install
+0,
-1
1@@ -1 +0,0 @@
2-08013ac6713ff35bf71762a2ce94dd1c9f6b50aa395fae01b610ba785ac1f7e0ca
+0,
-0
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/xiph/opus/releases/download/v1.5.1/opus-1.5.1.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-1.5.1 1
+0,
-29
1@@ -1,29 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-
7-for p in *.patch; do
8- patch -p1 < "$p"
9-done
10-
11-# Disable download of missing (optional) dependencies
12-# during the build. This cannot be turned off otherwise.
13-rm -rf subprojects
14-
15-: > tests/meson.build
16-: > examples/meson.build
17-: > docs/meson.build
18-
19-muon setup \
20- -Dprefix=/usr \
21- -Dlibdir=/usr/lib \
22- -Dbuildtype=release \
23- -Db_colorout=never \
24- -Dgtk_doc=false \
25- -Dintrospection=disabled \
26- -Ddefault_library=shared \
27- build
28-
29-samu -C build
30-muon -C build install
+0,
-3
1@@ -1,3 +0,0 @@
2-1e977d6167bf7832b196cfe44389224d3dd5579624f3dfe9faf381bb07159387a4
3-b4ed0bf9d11532bb2e511d3daeefea6ac422b33a52d70819344f9322e5f2f0eac4
4-50367d5261af8875a0a0a14b8fd3827089b90c8400bf55e9fa85849093696dac5f
+0,
-4
1@@ -1,4 +0,0 @@
2-cairo
3-fontconfig
4-freetype-harfbuzz
5-glib
1@@ -1,250 +0,0 @@
2-From 71162e019df5b27793def7db0f64bea94af54026 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Sat, 4 May 2024 19:25:43 +0200
5-Subject: [PATCH] remove fribidi dependency
6-
7----
8- meson.build | 5 --
9- pango/pango-bidi-type.c | 144 ++++------------------------------------
10- 2 files changed, 14 insertions(+), 135 deletions(-)
11-
12-diff --git a/meson.build b/meson.build
13-index 066105a..72d3c16 100644
14---- a/meson.build
15-+++ b/meson.build
16-@@ -198,7 +198,6 @@ endif
17- pango_deps = []
18-
19- glib_req_version = '>= 2.62'
20--fribidi_req_version = '>= 1.0.6'
21- libthai_req_version = '>= 0.1.9'
22- harfbuzz_req_version = '>= 2.6.0'
23- fontconfig_req_version = '>= 2.13.0'
24-@@ -215,10 +214,6 @@ gobject_dep = dependency('gobject-2.0', version: glib_req_version)
25- gio_dep = dependency('gio-2.0', version: glib_req_version)
26- pango_deps += [glib_dep, gobject_dep, gio_dep]
27-
28--fribidi_dep = dependency('fribidi', version: fribidi_req_version,
29-- default_options: ['docs=false'])
30--pango_deps += fribidi_dep
31--
32- thai_dep = dependency('libthai', version: libthai_req_version, required: get_option('libthai'))
33- if thai_dep.found()
34- pango_conf.set('HAVE_LIBTHAI', 1)
35-diff --git a/pango/pango-bidi-type.c b/pango/pango-bidi-type.c
36-index 4277dc1..73d3476 100644
37---- a/pango/pango-bidi-type.c
38-+++ b/pango/pango-bidi-type.c
39-@@ -23,14 +23,21 @@
40-
41- #include <string.h>
42-
43--#include <fribidi.h>
44--
45- #undef PANGO_DISABLE_DEPRECATED
46-
47- #include "pango-bidi-type.h"
48- #include "pango-utils.h"
49- #include "pango-utils-private.h"
50-
51-+typedef uint32_t FriBidiChar;
52-+typedef uint32_t FriBidiCharType;
53-+typedef uint32_t FriBidiBracketType;
54-+typedef int FriBidiStrIndex;
55-+typedef int FriBidiParType;
56-+typedef signed char FriBidiLevel;
57-+
58-+#define FRIBIDI_PAR_LTR (0x00000010L | 0x00000100L)
59-+
60- /**
61- * pango_bidi_type_for_unichar:
62- * @ch: a Unicode character
63-@@ -49,41 +56,7 @@
64- PangoBidiType
65- pango_bidi_type_for_unichar (gunichar ch)
66- {
67-- FriBidiCharType fribidi_ch_type;
68--
69-- G_STATIC_ASSERT (sizeof (FriBidiChar) == sizeof (gunichar));
70--
71-- fribidi_ch_type = fribidi_get_bidi_type (ch);
72--
73-- switch (fribidi_ch_type)
74-- {
75-- case FRIBIDI_TYPE_LTR: return PANGO_BIDI_TYPE_L;
76-- case FRIBIDI_TYPE_LRE: return PANGO_BIDI_TYPE_LRE;
77-- case FRIBIDI_TYPE_LRO: return PANGO_BIDI_TYPE_LRO;
78-- case FRIBIDI_TYPE_RTL: return PANGO_BIDI_TYPE_R;
79-- case FRIBIDI_TYPE_AL: return PANGO_BIDI_TYPE_AL;
80-- case FRIBIDI_TYPE_RLE: return PANGO_BIDI_TYPE_RLE;
81-- case FRIBIDI_TYPE_RLO: return PANGO_BIDI_TYPE_RLO;
82-- case FRIBIDI_TYPE_PDF: return PANGO_BIDI_TYPE_PDF;
83-- case FRIBIDI_TYPE_EN: return PANGO_BIDI_TYPE_EN;
84-- case FRIBIDI_TYPE_ES: return PANGO_BIDI_TYPE_ES;
85-- case FRIBIDI_TYPE_ET: return PANGO_BIDI_TYPE_ET;
86-- case FRIBIDI_TYPE_AN: return PANGO_BIDI_TYPE_AN;
87-- case FRIBIDI_TYPE_CS: return PANGO_BIDI_TYPE_CS;
88-- case FRIBIDI_TYPE_NSM: return PANGO_BIDI_TYPE_NSM;
89-- case FRIBIDI_TYPE_BN: return PANGO_BIDI_TYPE_BN;
90-- case FRIBIDI_TYPE_BS: return PANGO_BIDI_TYPE_B;
91-- case FRIBIDI_TYPE_SS: return PANGO_BIDI_TYPE_S;
92-- case FRIBIDI_TYPE_WS: return PANGO_BIDI_TYPE_WS;
93-- case FRIBIDI_TYPE_ON: return PANGO_BIDI_TYPE_ON;
94-- case FRIBIDI_TYPE_LRI: return PANGO_BIDI_TYPE_LRI;
95-- case FRIBIDI_TYPE_RLI: return PANGO_BIDI_TYPE_RLI;
96-- case FRIBIDI_TYPE_FSI: return PANGO_BIDI_TYPE_FSI;
97-- case FRIBIDI_TYPE_PDI: return PANGO_BIDI_TYPE_PDI;
98-- case _FRIBIDI_TYPE_SENTINEL:
99-- default:
100-- return PANGO_BIDI_TYPE_ON;
101-- }
102-+ return PANGO_BIDI_TYPE_L;
103- }
104-
105- /* Some bidi-related functions */
106-@@ -136,38 +109,14 @@ pango_log2vis_fill_embedding_levels (const gchar *text,
107- {
108- glong i;
109- const gchar *p;
110-- FriBidiParType fribidi_base_dir;
111- FriBidiCharType *bidi_types;
112- FriBidiCharType bidi_types_[64];
113- FriBidiBracketType *bracket_types;
114- FriBidiBracketType bracket_types_[64];
115-- FriBidiLevel max_level;
116-- FriBidiCharType ored_types = 0;
117-- FriBidiCharType anded_strongs = FRIBIDI_TYPE_RLE;
118-
119- G_STATIC_ASSERT (sizeof (FriBidiLevel) == sizeof (guint8));
120- G_STATIC_ASSERT (sizeof (FriBidiChar) == sizeof (gunichar));
121-
122-- switch (*pbase_dir)
123-- {
124-- case PANGO_DIRECTION_LTR:
125-- case PANGO_DIRECTION_TTB_RTL:
126-- fribidi_base_dir = FRIBIDI_PAR_LTR;
127-- break;
128-- case PANGO_DIRECTION_RTL:
129-- case PANGO_DIRECTION_TTB_LTR:
130-- fribidi_base_dir = FRIBIDI_PAR_RTL;
131-- break;
132-- case PANGO_DIRECTION_WEAK_RTL:
133-- fribidi_base_dir = FRIBIDI_PAR_WRTL;
134-- break;
135-- case PANGO_DIRECTION_WEAK_LTR:
136-- case PANGO_DIRECTION_NEUTRAL:
137-- default:
138-- fribidi_base_dir = FRIBIDI_PAR_WLTR;
139-- break;
140-- }
141--
142- if (n_chars < 64)
143- {
144- bidi_types = bidi_types_;
145-@@ -181,20 +130,11 @@ pango_log2vis_fill_embedding_levels (const gchar *text,
146-
147- for (i = 0, p = text; p < text + length; p = g_utf8_next_char(p), i++)
148- {
149-- gunichar ch = g_utf8_get_char (p);
150-- FriBidiCharType char_type = fribidi_get_bidi_type (ch);
151--
152- if (i == n_chars)
153- break;
154-
155-- bidi_types[i] = char_type;
156-- ored_types |= char_type;
157-- if (FRIBIDI_IS_STRONG (char_type))
158-- anded_strongs &= char_type;
159-- if (G_UNLIKELY(bidi_types[i] == FRIBIDI_TYPE_ON))
160-- bracket_types[i] = fribidi_get_bracket (ch);
161-- else
162-- bracket_types[i] = FRIBIDI_NO_BRACKET;
163-+ bidi_types[i] = FRIBIDI_PAR_LTR;
164-+ bracket_types[i] = 0;
165- }
166-
167- /* Short-circuit (malloc-expensive) FriBidi call for unidirectional
168-@@ -211,59 +151,14 @@ pango_log2vis_fill_embedding_levels (const gchar *text,
169- * o base_dir doesn't have an RTL taste.
170- * o there are letters, and base_dir is weak.
171- */
172-- if (!FRIBIDI_IS_ISOLATE (ored_types) &&
173-- !FRIBIDI_IS_RTL (ored_types) &&
174-- !FRIBIDI_IS_ARABIC (ored_types) &&
175-- (!FRIBIDI_IS_RTL (fribidi_base_dir) ||
176-- (FRIBIDI_IS_WEAK (fribidi_base_dir) &&
177-- FRIBIDI_IS_LETTER (ored_types))
178-- ))
179-- {
180-- /* all LTR */
181-- fribidi_base_dir = FRIBIDI_PAR_LTR;
182- memset (embedding_levels_list, 0, n_chars);
183-- goto resolved;
184-- }
185-- /* The case that all resolved levels will be RTL is much more complex.
186-- * No isolates, no numbers, all strongs are RTL, and one of
187-- * the following:
188-- *
189-- * o base_dir has an RTL taste (may be weak).
190-- * o there are letters, and base_dir is weak.
191-- */
192-- else if (!FRIBIDI_IS_ISOLATE (ored_types) &&
193-- !FRIBIDI_IS_NUMBER (ored_types) &&
194-- FRIBIDI_IS_RTL (anded_strongs) &&
195-- (FRIBIDI_IS_RTL (fribidi_base_dir) ||
196-- (FRIBIDI_IS_WEAK (fribidi_base_dir) &&
197-- FRIBIDI_IS_LETTER (ored_types))
198-- ))
199-- {
200-- /* all RTL */
201-- fribidi_base_dir = FRIBIDI_PAR_RTL;
202-- memset (embedding_levels_list, 1, n_chars);
203-- goto resolved;
204-- }
205--
206--
207-- max_level = fribidi_get_par_embedding_levels_ex (bidi_types, bracket_types, n_chars,
208-- &fribidi_base_dir,
209-- (FriBidiLevel*)embedding_levels_list);
210--
211-- if (G_UNLIKELY(max_level == 0))
212-- {
213-- /* fribidi_get_par_embedding_levels() failed. */
214-- memset (embedding_levels_list, 0, length);
215-- }
216--
217--resolved:
218- if (n_chars >= 64)
219- {
220- g_free (bidi_types);
221- g_free (bracket_types);
222- }
223-
224-- *pbase_dir = (fribidi_base_dir == FRIBIDI_PAR_LTR) ? PANGO_DIRECTION_LTR : PANGO_DIRECTION_RTL;
225-+ *pbase_dir = PANGO_DIRECTION_LTR;
226- }
227-
228- /**
229-@@ -285,18 +180,7 @@ resolved:
230- PangoDirection
231- pango_unichar_direction (gunichar ch)
232- {
233-- FriBidiCharType fribidi_ch_type;
234--
235-- G_STATIC_ASSERT (sizeof (FriBidiChar) == sizeof (gunichar));
236--
237-- fribidi_ch_type = fribidi_get_bidi_type (ch);
238--
239-- if (!FRIBIDI_IS_STRONG (fribidi_ch_type))
240-- return PANGO_DIRECTION_NEUTRAL;
241-- else if (FRIBIDI_IS_RTL (fribidi_ch_type))
242-- return PANGO_DIRECTION_RTL;
243-- else
244-- return PANGO_DIRECTION_LTR;
245-+ return PANGO_DIRECTION_LTR;
246- }
247-
248-
249---
250-2.44.0
251-
1@@ -1,56 +0,0 @@
2-From 11bfb8875a538370ba5f63ff720fdb824355f869 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 3 Oct 2024 12:51:51 +0200
5-Subject: [PATCH] fix muon not being able to find pango-enum-types files
6-
7----
8- pango/meson.build | 31 ++++++++++++++++++++++++-------
9- 1 file changed, 24 insertions(+), 7 deletions(-)
10-
11-diff --git a/pango/meson.build b/pango/meson.build
12-index 82242ab..6f45319 100644
13---- a/pango/meson.build
14-+++ b/pango/meson.build
15-@@ -84,15 +84,32 @@ pango_features_h = configure_file(
16- )
17-
18- # Enumerations for GType
19--pango_enums = gnome.mkenums(
20-- 'pango-enum-types',
21-- sources: pango_headers,
22-- c_template: 'pango-enum-types.c.template',
23-- h_template: 'pango-enum-types.h.template',
24-+pango_enums = []
25-+pango_enums += custom_target('pango-enum-types_h',
26-+ capture: true,
27-+ output: 'pango-enum-types.h',
28-+ input: pango_headers,
29- install_dir: join_paths(pango_includedir, pango_api_path),
30-- install_header: true,
31-+ install: true,
32-+ command: [
33-+ find_program('glib-mkenums'),
34-+ '--template', files('pango-enum-types.h.template'),
35-+ '@INPUT@',
36-+ ],
37-+)
38-+
39-+pango_enums += custom_target('pango-enum-types_c',
40-+ capture: true,
41-+ output: 'pango-enum-types.c',
42-+ input: pango_headers,
43-+ command: [
44-+ find_program('glib-mkenums'),
45-+ '--template', files('pango-enum-types.c.template'),
46-+ '@INPUT@',
47-+ ],
48- )
49--pango_enum_h = pango_enums[1]
50-+
51-+pango_enum_h = pango_enums[0]
52-
53- if host_system == 'windows'
54- pango_rc = configure_file(
55---
56-2.45.1
57-
+0,
-3
1@@ -1,3 +0,0 @@
2-https://github.com/GNOME/pango/archive/1.54.tar.gz
3-patches/0001-remove-fribidi-dependency.patch
4-patches/0002-fix-muon-not-being-able-to-find-pango-enum-types-fil.patch
+0,
-1
1@@ -1 +0,0 @@
2-1.54 4
+0,
-18
1@@ -1,18 +0,0 @@
2-#!/bin/sh -e
3-
4-: > missing
5-
6-./configure \
7- --prefix=/usr \
8- --enable-pcre2-16 \
9- --enable-pcre2-32 \
10- --enable-pcre2grep-libz \
11- --enable-jit
12-
13-make
14-make DESTDIR="$1" install
15-
16-# Compress manpages
17-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
18-
19-rm -rf "$1/usr/share/doc"
+0,
-1
1@@ -1 +0,0 @@
2-4a3435b2dcc6c068f0e47fa5717efda599d8add37c8f1258f26cad9b1f0d99fb5d
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.44/pcre2-10.44.tar.bz2
+0,
-1
1@@ -1 +0,0 @@
2-10.44 2
+0,
-42
1@@ -1,42 +0,0 @@
2-#!/bin/sh -e
3-
4-export LDFLAGS="$LDFLAGS -pthread"
5-export CFLAGS="$CFLAGS -DNO_POSIX_2008_LOCALE -D_GNU_SOURCE"
6-
7-./Configure \
8- -des \
9- -Dprefix=/usr \
10- -Dvendorprefix=/usr \
11- -Dusevendorprefix \
12- -Duseshrplib \
13- -Dusesoname \
14- -Dusethreads \
15- -Dinc_version_list=none \
16- -Dd_sockaddr_in6=define \
17- -Dcccdlflags=-fPIC \
18- -Dccflags="$CFLAGS" \
19- -Dlddlflags="-shared $LDFLAGS" \
20- -Dldflags="$LDFLAGS" \
21- -Doptimize="-Wall $CFLAGS" \
22- -Dcc="$CC" \
23- -Dar="$AR" \
24- -Dnm="$NM" \
25- -Dranlib="$RANLIB" \
26- -Dman1ext=1 \
27- -Dman3ext=3pm \
28- -Dperl_static_inline="static __inline__" \
29- -Dd_static_inline \
30- -DNO_ZLIB \
31- -DNO_BZLIB
32-
33-make
34-make DESTDIR="$1" install.perl
35-
36-# Remove all unneeded files.
37-find "$1" -name \*.pod -exec rm -f {} +
38-find "$1" -name .packlist -exec rm -f {} +
39-find "$1" -name README\* -exec rm -f {} +
40-find "$1" -name TODO\* -exec rm -f {} +
41-find "$1" -name Change\* -exec rm -f {} +
42-find "$1" -name \*.bs -exec rm -f {} +
43-find "$1" -name \*.0 -type f -exec rm -f {} +
+0,
-1
1@@ -1 +0,0 @@
2-d2f5efa409457302825a4ceab7f8713b1e7a8d43be5e5ef635df36a11a7d3c3b12
+0,
-1
1@@ -1 +0,0 @@
2-zlib
+0,
-1
1@@ -1 +0,0 @@
2-https://www.cpan.org/src/5.0/perl-5.40.0.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-5.40.0 1
+0,
-14
1@@ -1,14 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-
6-muon setup \
7- -Dprefix=/usr \
8- -Dbuildtype=release \
9- -Db_colorout=never \
10- -Dgtk=disabled \
11- -Ddefault_library=both \
12- build
13-
14-samu -C build
15-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-de50d2f9937106d47d95e915aa8ef54a0af34e0d6b804095452c755e43b0aa34e9
+0,
-1
1@@ -1 +0,0 @@
2-https://x.org/releases/individual/lib/pixman-0.43.4.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-0.43.4 3
+0,
-10
1@@ -1,10 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-rm -rf flit_core/flit_core/vendor/
7-python flit_core/build_dists.py
8-
9-python -m installer -d "$1" "flit_core/dist/flit_core-$2-py3-none-any.whl"
10-
11-rm -rf "$1/usr/lib/python3*/site-packages/flit_core/tests"
+0,
-1
1@@ -1 +0,0 @@
2-a14e806578da1abff5ef9b5a31e948e3e74391e171e4b8a70acd4dc5348aa2f83e
+0,
-2
1@@ -1,2 +0,0 @@
2-python
3-python-installer make
+0,
-1
1@@ -1 +0,0 @@
2-https://files.pythonhosted.org/packages/source/f/flit/flit-3.9.0.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-3.9.0 1
+0,
-8
1@@ -1,8 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-python3 setup.py build
7-python3 setup.py install \
8- --prefix=/usr \
9- --root="$1"
+0,
-1
1@@ -1 +0,0 @@
2-b540c3f055b9f9fc74bc12374cb765614cf0ebe6e70b1eebe813f664b1c24950f3
+0,
-2
1@@ -1,2 +0,0 @@
2-python
3-python-jinja2
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/Dav1dde/glad/archive/refs/tags/v2.0.6.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-2.0.6 2
+0,
-15
1@@ -1,15 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-patch -p1 < 0001-change-default-opt-level-to-0.patch
7-
8-sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')"
9-
10-mkdir -p "$1/$sitedir"
11-cp -pR gpep517 "$1/$sitedir"
12-python -m compileall "$1/$sitedir"
13-
14-mkdir -p "$1/usr/bin"
15-cp gpep517.bin "$1/usr/bin/gpep517"
16-chmod 755 "$1/usr/bin/gpep517"
+0,
-3
1@@ -1,3 +0,0 @@
2-7b319ca51875c6a32d5bb46e246c3217719cd616613ad046060b937d78e0c2defa
3-482b3562a2d6a9b273e8e2049bc29136643cad5002495cff0e1169c53ea8b6eb2b
4-5354f1bed53c495c30aa89a1d51c4808ef824164d75a39d2c176aed61879f5513e
+0,
-1
1@@ -1 +0,0 @@
2-python
1@@ -1,6 +0,0 @@
2-#!/usr/bin/python
3-# -*- coding: utf-8 -*-
4-import sys
5-from gpep517.__main__ import main
6-if __name__ == "__main__":
7- sys.exit(main())
1@@ -1,30 +0,0 @@
2-From 44b878afd7bec90538b04a4d90894a4279ab4835 Mon Sep 17 00:00:00 2001
3-From: ptrcnull <git@ptrcnull.me>
4-Date: Fri, 17 Nov 2023 19:19:19 +0100
5-Subject: [PATCH] change default opt level to 0
6-
7-that's also what python-installer uses, and it would
8-make `gpep517 install-wheel` invokations more neat
9----
10- gpep517/__main__.py | 4 ++--
11- 1 file changed, 2 insertions(+), 2 deletions(-)
12-
13-diff --git a/gpep517/__main__.py b/gpep517/__main__.py
14-index d519c75..2dc0b49 100644
15---- a/gpep517/__main__.py
16-+++ b/gpep517/__main__.py
17-@@ -350,9 +350,9 @@ def add_install_args(parser):
18- f"(default: {sys.executable})")
19- group.add_argument("--optimize",
20- type=parse_optimize_arg,
21-- default=[],
22-+ default=[0],
23- help="Comma-separated list of optimization levels "
24-- "to compile bytecode for (default: none), pass 'all' "
25-+ "to compile bytecode for (default: 0), 0s 'all' "
26- "to enable all known optimization levels (currently: "
27- f"{', '.join(str(x) for x in ALL_OPT_LEVELS)})")
28-
29---
30-2.44.0
31-
+0,
-3
1@@ -1,3 +0,0 @@
2-https://github.com/mgorny/gpep517/archive/v16/gpep517-v19.tar.gz
3-files/gpep517.bin
4-patches/0001-change-default-opt-level-to-0.patch
+0,
-1
1@@ -1 +0,0 @@
2-19 1
+0,
-13
1@@ -1,13 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')"
7-
8-unzip -d build "installer-$2-py3-none-any.whl"
9-
10-(cd build; patch -p1 < ../0001-change-default-opt-level-to-0.patch)
11-
12-mkdir -p "$1/$sitedir"
13-cp -pR build/installer* "$1/$sitedir"
14-python -m compileall "$1/$sitedir"
+0,
-2
1@@ -1,2 +0,0 @@
2-72790531eb73009974eca65759a7088ed1398cd009b85e5a243d1ea22102179bbc
3-12971633a15e3d58102979f0a74a816dbad9ecd758d9e3a2cbc441183e08ad05bc
+0,
-1
1@@ -1 +0,0 @@
2-python
1@@ -1,37 +0,0 @@
2-From c2e5ba5e5b0a2bfba13272b96ddf9d2522f178ed Mon Sep 17 00:00:00 2001
3-From: ptrcnull <git@ptrcnull.me>
4-Date: Fri, 17 Nov 2023 19:19:19 +0100
5-Subject: [PATCH] change default opt level to 0
6-
7-the previous default of 0, 1 causes opt-1 bytecode to also be generated,
8-which is not used without passing `-O` to `python3` anyway, and doubles
9-the size of the resulting package
10----
11- installer/__main__.py | 4 ++--
12- 1 file changed, 2 insertions(+), 2 deletions(-)
13-
14-diff --git a/installer/__main__.py b/installer/__main__.py
15-index 51014b9..2a389e8 100644
16---- a/installer/__main__.py
17-+++ b/installer/__main__.py
18-@@ -36,7 +36,7 @@ def _get_main_parser() -> argparse.ArgumentParser:
19- metavar="level",
20- type=int,
21- choices=[0, 1, 2],
22-- help="generate bytecode for the specified optimization level(s) (default=0, 1)",
23-+ help="generate bytecode for the specified optimization level(s) (default=0)",
24- )
25- parser.add_argument(
26- "--no-compile-bytecode",
27-@@ -81,7 +81,7 @@ def _main(cli_args: Sequence[str], program: Optional[str] = None) -> None:
28- if args.no_compile_bytecode:
29- bytecode_levels = []
30- elif not bytecode_levels:
31-- bytecode_levels = [0, 1]
32-+ bytecode_levels = [0]
33-
34- with WheelFile.open(args.wheel) as source:
35- destination = SchemeDictionaryDestination(
36---
37-2.44.0
38-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://files.pythonhosted.org/packages/py3/i/installer/installer-0.7.0-py3-none-any.whl
3-patches/0001-change-default-opt-level-to-0.patch
+0,
-1
1@@ -1 +0,0 @@
2-0.7.0 1
+0,
-6
1@@ -1,6 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
7-python -m installer -d "$1" .dist/*.whl
+0,
-1
1@@ -1 +0,0 @@
2-649ad2da572199325883822127922bf7d2867386e4e23e21e3755c15fc841f75ef
+0,
-4
1@@ -1,4 +0,0 @@
2-python
3-python-gpep517 make
4-python-markupsafe
5-python-wheel make
+0,
-1
1@@ -1 +0,0 @@
2-https://files.pythonhosted.org/packages/source/j/jinja2/jinja2-3.1.4.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-3.1.4 1
+0,
-8
1@@ -1,8 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-python3 setup.py build
7-python3 setup.py install \
8- --prefix=/usr \
9- --root="$1"
+0,
-1
1@@ -1 +0,0 @@
2-686b7fa5efdab34264db2941005dd50d91b272a17c1c0e9633dd93b5fa0656bbff
+0,
-2
1@@ -1,2 +0,0 @@
2-python
3-python-markupsafe
+0,
-1
1@@ -1 +0,0 @@
2-https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.3.5.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-1.3.5 1
+0,
-8
1@@ -1,8 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-python3 setup.py build
7-python3 setup.py install \
8- --prefix=/usr \
9- --root="$1"
+0,
-1
1@@ -1 +0,0 @@
2-68bb64c58e1c26d8f046a370a78bac148e85e131ce0aff6464cec226b1d613a933
+0,
-1
1@@ -1 +0,0 @@
2-python
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/pallets/markupsafe/archive/refs/tags/2.1.5.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-2.1.5 1
+0,
-6
1@@ -1,6 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
7-python -m installer -d "$1" .dist/*.whl
+0,
-1
1@@ -1 +0,0 @@
2-119817974b3fea37c8f86b27826fc26a91f646a26b03074b7f6e7ff1ed9252faf6
+0,
-3
1@@ -1,3 +0,0 @@
2-python
3-python-flit-core make
4-python-gpep517 make
+0,
-1
1@@ -1 +0,0 @@
2-https://github.com/pypa/packaging/archive/24.1/python-packaging-24.1.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-24.1 1
+0,
-10
1@@ -1,10 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-patch -p1 < 0001-use-system-packaging.patch
7-
8-rm -rf src/wheel/vendored
9-
10-gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
11-python -m installer -d "$1" .dist/*.whl
+0,
-2
1@@ -1,2 +0,0 @@
2-5aa16f8a1a9d95e0d0681eec86df9163a5d2520b91eea915619d1a397bac61faf5
3-500e67d3f59a3bce92cf7f2b2711e43f8cd5e3a746e3ebf251650c7995501eb14d
+0,
-4
1@@ -1,4 +0,0 @@
2-python
3-python-flit-core make
4-python-gpep517 make
5-python-packaging
1@@ -1,53 +0,0 @@
2-From 24627a098cd974893583cb50f9723271a1cf3302 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Fri, 30 Aug 2024 07:36:50 +0200
5-Subject: [PATCH] use system packaging
6-
7----
8- setup.py | 2 +-
9- src/wheel/metadata.py | 2 +-
10- tests/test_bdist_wheel.py | 2 +-
11- 3 files changed, 3 insertions(+), 3 deletions(-)
12-
13-diff --git a/setup.py b/setup.py
14-index 05c2d63..7a5efd2 100644
15---- a/setup.py
16-+++ b/setup.py
17-@@ -4,7 +4,7 @@
18- from distutils.core import setup
19-
20- packages = \
21--['wheel', 'wheel.cli', 'wheel.vendored', 'wheel.vendored.packaging']
22-+['wheel', 'wheel.cli']
23-
24- package_data = \
25- {'': ['*']}
26-diff --git a/src/wheel/metadata.py b/src/wheel/metadata.py
27-index b8098fa..3a17175 100644
28---- a/src/wheel/metadata.py
29-+++ b/src/wheel/metadata.py
30-@@ -13,7 +13,7 @@ from email.message import Message
31- from email.parser import Parser
32- from typing import Generator, Iterable, Iterator, Literal
33-
34--from .vendored.packaging.requirements import Requirement
35-+from packaging.requirements import Requirement
36-
37-
38- def _nonblank(str: str) -> bool | Literal[""]:
39-diff --git a/tests/test_bdist_wheel.py b/tests/test_bdist_wheel.py
40-index bb1457a..6e118ef 100644
41---- a/tests/test_bdist_wheel.py
42-+++ b/tests/test_bdist_wheel.py
43-@@ -22,7 +22,7 @@ from wheel._bdist_wheel import (
44- remove_readonly,
45- remove_readonly_exc,
46- )
47--from wheel.vendored.packaging import tags
48-+from packaging import tags
49- from wheel.wheelfile import WheelFile
50-
51- DEFAULT_FILES = {
52---
53-2.45.1
54-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://files.pythonhosted.org/packages/source/w/wheel/wheel-0.44.0.tar.gz
3-patches/0001-use-system-packaging.patch
+0,
-1
1@@ -1 +0,0 @@
2-0.44.0 1
+0,
-59
1@@ -1,59 +0,0 @@
2-#!/bin/sh -e
3-
4-for p in *.patch; do
5- patch -p1 < "$p"
6-done
7-
8-# Remove util-linux dependency among other things.
9-cat >> Modules/Setup <<EOF
10-*disabled*
11-_uuid nis ossaudiodev
12-EOF
13-
14-# Reported 20-27% performance improvements.
15-# See: "PythonNoSemanticInterpositionSpeedup"
16-export CFLAGS="$CFLAGS -fno-semantic-interposition"
17-export LDFLAGS="$LDFLAGS -fno-semantic-interposition"
18-
19-./configure \
20- --prefix=/usr \
21- --libdir=/usr/lib \
22- --enable-shared \
23- --with-system-ffi \
24- --with-system-expat \
25- --with-ensurepip=yes \
26- --without-pymalloc \
27- --disable-ipv6 \
28- --with-builtin-hashlib-hashes="sha3,blake2,sha1,sha512,sha256,md5" \
29- --with-ssl-default-suites="TLSv1.3:TLSv1.2+AEAD+ECDHE:TLSv1.2+AEAD+DHE" \
30- ax_cv_c_float_words_bigendian=no
31-
32-make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000"
33-make DESTDIR="$1" install
34-
35-ln -s python3 "$1/usr/bin/python"
36-ln -s pip3 "$1/usr/bin/pip"
37-
38-# Let's make some kind of effort to reduce the overall
39-# size of Python by removing a bunch of rarely used and
40-# otherwise useless components.
41-#
42-# This can't be done via ./configure as the build system
43-# doesn't give you this much control over the process.
44-{
45- cd "$1/usr/lib/python"*
46- rm -rf test ./*/test ./*/tests
47- rm -rf pydoc* idlelib turtle* config-*
48-
49- cd "$1/usr/bin"
50- rm -f pydoc* idle*
51-}
52-
53-# Compress manpages
54-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
55-
56-# fix broken symlink
57-ln -sf python3.11.1.gz "$1/usr/share/man/man1/python3.1"
58-
59-# A lot of python scripts use #!/usr/bin/env python
60-ln -sf ../../bin/env "$1/usr/bin/env"
+0,
-4
1@@ -1,4 +0,0 @@
2-47bb72ced6c29652399875b77b953ccda570f9d51ed966a27c680cd4428b9e7da1
3-a843547002cd1fa7b42b0378516eb001e64f16af6974e79a380f3d65ca72ed0476
4-6e6071aca338c573878c646184328e34e6d8c875675f269cad836eed0eb54a6e3c
5-dd45898da598cf5b8b9c620102651bfcee187b9855ffad8188c74237e9cd38a904
+0,
-4
1@@ -1,4 +0,0 @@
2-libffi
3-libressl
4-sqlite
5-zlib
1@@ -1,403 +0,0 @@
2-From 9caeb4c733921d0d2449d5003ea9c0a3282904ca Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 2 May 2024 18:58:24 +0200
5-Subject: [PATCH 1/3] readd support for libressl
6-
7----
8- Modules/_hashopenssl.c | 4 +++
9- Modules/_ssl.c | 58 +++++++++++++++++++++------------
10- Modules/_ssl/debughelpers.c | 4 +++
11- Modules/clinic/_hashopenssl.c.h | 10 +++++-
12- Modules/clinic/_ssl.c.h | 28 ++++++++++++----
13- 5 files changed, 77 insertions(+), 27 deletions(-)
14-
15-diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
16-index cb8460a..2c24526 100644
17---- a/Modules/_hashopenssl.c
18-+++ b/Modules/_hashopenssl.c
19-@@ -45,10 +45,12 @@
20-
21- #define MUNCH_SIZE INT_MAX
22-
23-+#ifndef LIBRESSL_VERSION_NUMBER
24- #define PY_OPENSSL_HAS_SCRYPT 1
25- #define PY_OPENSSL_HAS_SHA3 1
26- #define PY_OPENSSL_HAS_SHAKE 1
27- #define PY_OPENSSL_HAS_BLAKE2 1
28-+#endif
29-
30- #if OPENSSL_VERSION_NUMBER >= 0x30000000L
31- #define PY_EVP_MD EVP_MD
32-@@ -1884,6 +1886,7 @@ hashlib_md_meth_names(PyObject *module)
33- return 0;
34- }
35-
36-+#ifndef LIBRESSL_VERSION_NUMBER
37- /*[clinic input]
38- _hashlib.get_fips_mode -> int
39-
40-@@ -1921,6 +1924,7 @@ _hashlib_get_fips_mode_impl(PyObject *module)
41- return result;
42- #endif
43- }
44-+#endif
45-
46-
47- static int
48-diff --git a/Modules/_ssl.c b/Modules/_ssl.c
49-index 6c63301..d8a70d5 100644
50---- a/Modules/_ssl.c
51-+++ b/Modules/_ssl.c
52-@@ -291,8 +291,10 @@ typedef struct {
53- int post_handshake_auth;
54- #endif
55- PyObject *msg_cb;
56-+#ifndef LIBRESSL_VERSION_NUMBER
57- PyObject *keylog_filename;
58- BIO *keylog_bio;
59-+#endif
60- /* Cached module state, also used in SSLSocket and SSLSession code. */
61- _sslmodulestate *state;
62- } PySSLContext;
63-@@ -1829,6 +1831,7 @@ _ssl__SSLSocket_getpeercert_impl(PySSLSocket *self, int binary_mode)
64- return result;
65- }
66-
67-+#ifndef LIBRESSL_VERSION_NUMBER
68- /*[clinic input]
69- _ssl._SSLSocket.get_verified_chain
70-
71-@@ -1892,6 +1895,7 @@ _ssl__SSLSocket_get_unverified_chain_impl(PySSLSocket *self)
72- }
73- return retval;
74- }
75-+#endif
76-
77- static PyObject *
78- cipher_to_tuple(const SSL_CIPHER *cipher)
79-@@ -2298,8 +2302,7 @@ static PyObject *
80- _ssl__SSLSocket_write_impl(PySSLSocket *self, Py_buffer *b)
81- /*[clinic end generated code: output=aa7a6be5527358d8 input=77262d994fe5100a]*/
82- {
83-- size_t count = 0;
84-- int retval;
85-+ int len;
86- int sockstate;
87- _PySSLError err;
88- int nonblocking;
89-@@ -2317,6 +2320,12 @@ _ssl__SSLSocket_write_impl(PySSLSocket *self, Py_buffer *b)
90- Py_INCREF(sock);
91- }
92-
93-+ if (b->len > INT_MAX) {
94-+ PyErr_Format(PyExc_OverflowError,
95-+ "string longer than %d bytes", INT_MAX);
96-+ goto error;
97-+ }
98-+
99- if (sock != NULL) {
100- /* just in case the blocking state of the socket has been changed */
101- nonblocking = (sock->sock_timeout >= 0);
102-@@ -2346,8 +2355,8 @@ _ssl__SSLSocket_write_impl(PySSLSocket *self, Py_buffer *b)
103-
104- do {
105- PySSL_BEGIN_ALLOW_THREADS
106-- retval = SSL_write_ex(self->ssl, b->buf, (size_t)b->len, &count);
107-- err = _PySSL_errno(retval == 0, self->ssl, retval);
108-+ len = SSL_write(self->ssl, b->buf, (int)b->len);
109-+ err = _PySSL_errno(len <= 0, self->ssl, len);
110- PySSL_END_ALLOW_THREADS
111- self->err = err;
112-
113-@@ -2380,11 +2389,11 @@ _ssl__SSLSocket_write_impl(PySSLSocket *self, Py_buffer *b)
114- err.ssl == SSL_ERROR_WANT_WRITE);
115-
116- Py_XDECREF(sock);
117-- if (retval == 0)
118-- return PySSL_SetError(self, retval, __FILE__, __LINE__);
119-+ if (len <= 0)
120-+ return PySSL_SetError(self, len, __FILE__, __LINE__);
121- if (PySSL_ChainExceptions(self) < 0)
122- return NULL;
123-- return PyLong_FromSize_t(count);
124-+ return PyLong_FromLong(len);
125- error:
126- Py_XDECREF(sock);
127- PySSL_ChainExceptions(self);
128-@@ -2418,7 +2427,7 @@ _ssl__SSLSocket_pending_impl(PySSLSocket *self)
129-
130- /*[clinic input]
131- _ssl._SSLSocket.read
132-- size as len: Py_ssize_t
133-+ size as len: int
134- [
135- buffer: Py_buffer(accept={rwbuffer})
136- ]
137-@@ -2428,14 +2437,13 @@ Read up to size bytes from the SSL socket.
138- [clinic start generated code]*/
139-
140- static PyObject *
141--_ssl__SSLSocket_read_impl(PySSLSocket *self, Py_ssize_t len,
142-- int group_right_1, Py_buffer *buffer)
143--/*[clinic end generated code: output=49b16e6406023734 input=ec48bf622be1c4a1]*/
144-+_ssl__SSLSocket_read_impl(PySSLSocket *self, int len, int group_right_1,
145-+ Py_buffer *buffer)
146-+/*[clinic end generated code: output=00097776cec2a0af input=ff157eb918d0905b]*/
147- {
148- PyObject *dest = NULL;
149- char *mem;
150-- size_t count = 0;
151-- int retval;
152-+ int count;
153- int sockstate;
154- _PySSLError err;
155- int nonblocking;
156-@@ -2498,8 +2506,8 @@ _ssl__SSLSocket_read_impl(PySSLSocket *self, Py_ssize_t len,
157-
158- do {
159- PySSL_BEGIN_ALLOW_THREADS
160-- retval = SSL_read_ex(self->ssl, mem, (size_t)len, &count);
161-- err = _PySSL_errno(retval == 0, self->ssl, retval);
162-+ count = SSL_read(self->ssl, mem, len);
163-+ err = _PySSL_errno(count <= 0, self->ssl, count);
164- PySSL_END_ALLOW_THREADS
165- self->err = err;
166-
167-@@ -2532,8 +2540,8 @@ _ssl__SSLSocket_read_impl(PySSLSocket *self, Py_ssize_t len,
168- } while (err.ssl == SSL_ERROR_WANT_READ ||
169- err.ssl == SSL_ERROR_WANT_WRITE);
170-
171-- if (retval == 0) {
172-- PySSL_SetError(self, retval, __FILE__, __LINE__);
173-+ if (count <= 0) {
174-+ PySSL_SetError(self, count, __FILE__, __LINE__);
175- goto error;
176- }
177- if (self->exc_type != NULL)
178-@@ -2546,7 +2554,7 @@ done:
179- return dest;
180- }
181- else {
182-- return PyLong_FromSize_t(count);
183-+ return PyLong_FromLong(count);
184- }
185-
186- error:
187-@@ -3062,8 +3070,10 @@ _ssl__SSLContext_impl(PyTypeObject *type, int proto_version)
188- self->hostflags = X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS;
189- self->protocol = proto_version;
190- self->msg_cb = NULL;
191-+#ifndef LIBRESSL_VERSION_NUMBER
192- self->keylog_filename = NULL;
193- self->keylog_bio = NULL;
194-+#endif
195- self->alpn_protocols = NULL;
196- self->set_sni_cb = NULL;
197- self->state = get_ssl_state(module);
198-@@ -3187,6 +3197,7 @@ context_clear(PySSLContext *self)
199- {
200- Py_CLEAR(self->set_sni_cb);
201- Py_CLEAR(self->msg_cb);
202-+#ifndef LIBRESSL_VERSION_NUMBER
203- Py_CLEAR(self->keylog_filename);
204- if (self->keylog_bio != NULL) {
205- PySSL_BEGIN_ALLOW_THREADS
206-@@ -3194,6 +3205,7 @@ context_clear(PySSLContext *self)
207- PySSL_END_ALLOW_THREADS
208- self->keylog_bio = NULL;
209- }
210-+#endif
211- return 0;
212- }
213-
214-@@ -3535,7 +3547,7 @@ set_maximum_version(PySSLContext *self, PyObject *arg, void *c)
215- return set_min_max_proto_version(self, arg, 1);
216- }
217-
218--#ifdef TLS1_3_VERSION
219-+#if defined(TLS1_3_VERSION) && !defined(LIBRESSL_VERSION_NUMBER)
220- static PyObject *
221- get_num_tickets(PySSLContext *self, void *c)
222- {
223-@@ -3568,12 +3580,14 @@ PyDoc_STRVAR(PySSLContext_num_tickets_doc,
224- "Control the number of TLSv1.3 session tickets");
225- #endif /* TLS1_3_VERSION */
226-
227-+#ifndef LIBRESSL_VERSION_NUMBER
228- static PyObject *
229- get_security_level(PySSLContext *self, void *c)
230- {
231- return PyLong_FromLong(SSL_CTX_get_security_level(self->ctx));
232- }
233- PyDoc_STRVAR(PySSLContext_security_level_doc, "The current security level");
234-+#endif
235-
236- static PyObject *
237- get_options(PySSLContext *self, void *c)
238-@@ -4603,13 +4617,15 @@ static PyGetSetDef context_getsetlist[] = {
239- (setter) set_minimum_version, NULL},
240- {"maximum_version", (getter) get_maximum_version,
241- (setter) set_maximum_version, NULL},
242-+#ifndef LIBRESSL_VERSION_NUMBER
243- {"keylog_filename", (getter) _PySSLContext_get_keylog_filename,
244- (setter) _PySSLContext_set_keylog_filename, NULL},
245-+#endif
246- {"_msg_callback", (getter) _PySSLContext_get_msg_callback,
247- (setter) _PySSLContext_set_msg_callback, NULL},
248- {"sni_callback", (getter) get_sni_callback,
249- (setter) set_sni_callback, PySSLContext_sni_callback_doc},
250--#ifdef TLS1_3_VERSION
251-+#if defined(TLS1_3_VERSION) && !defined(LIBRESSL_VERSION_NUMBER)
252- {"num_tickets", (getter) get_num_tickets,
253- (setter) set_num_tickets, PySSLContext_num_tickets_doc},
254- #endif
255-@@ -4628,8 +4644,10 @@ static PyGetSetDef context_getsetlist[] = {
256- (setter) set_verify_flags, NULL},
257- {"verify_mode", (getter) get_verify_mode,
258- (setter) set_verify_mode, NULL},
259-+#ifndef LIBRESSL_VERSION_NUMBER
260- {"security_level", (getter) get_security_level,
261- NULL, PySSLContext_security_level_doc},
262-+#endif
263- {NULL}, /* sentinel */
264- };
265-
266-diff --git a/Modules/_ssl/debughelpers.c b/Modules/_ssl/debughelpers.c
267-index 03c125e..d992c5b 100644
268---- a/Modules/_ssl/debughelpers.c
269-+++ b/Modules/_ssl/debughelpers.c
270-@@ -114,6 +114,8 @@ _PySSLContext_set_msg_callback(PySSLContext *self, PyObject *arg, void *c) {
271- return 0;
272- }
273-
274-+#ifndef LIBRESSL_VERSION_NUMBER
275-+
276- static void
277- _PySSL_keylog_callback(const SSL *ssl, const char *line)
278- {
279-@@ -217,3 +219,5 @@ _PySSLContext_set_keylog_filename(PySSLContext *self, PyObject *arg, void *c) {
280- SSL_CTX_set_keylog_callback(self->ctx, _PySSL_keylog_callback);
281- return 0;
282- }
283-+
284-+#endif
285-diff --git a/Modules/clinic/_hashopenssl.c.h b/Modules/clinic/_hashopenssl.c.h
286-index de01489..c686edd 100644
287---- a/Modules/clinic/_hashopenssl.c.h
288-+++ b/Modules/clinic/_hashopenssl.c.h
289-@@ -1275,6 +1275,8 @@ _hashlib_HMAC_hexdigest(HMACobject *self, PyObject *Py_UNUSED(ignored))
290- return _hashlib_HMAC_hexdigest_impl(self);
291- }
292-
293-+#if !defined(LIBRESSL_VERSION_NUMBER)
294-+
295- PyDoc_STRVAR(_hashlib_get_fips_mode__doc__,
296- "get_fips_mode($module, /)\n"
297- "--\n"
298-@@ -1310,6 +1312,8 @@ exit:
299- return return_value;
300- }
301-
302-+#endif /* !defined(LIBRESSL_VERSION_NUMBER) */
303-+
304- PyDoc_STRVAR(_hashlib_compare_digest__doc__,
305- "compare_digest($module, a, b, /)\n"
306- "--\n"
307-@@ -1385,4 +1389,8 @@ exit:
308- #ifndef _HASHLIB_SCRYPT_METHODDEF
309- #define _HASHLIB_SCRYPT_METHODDEF
310- #endif /* !defined(_HASHLIB_SCRYPT_METHODDEF) */
311--/*[clinic end generated code: output=162369cb9d43f1cc input=a9049054013a1b77]*/
312-+
313-+#ifndef _HASHLIB_GET_FIPS_MODE_METHODDEF
314-+ #define _HASHLIB_GET_FIPS_MODE_METHODDEF
315-+#endif /* !defined(_HASHLIB_GET_FIPS_MODE_METHODDEF) */
316-+/*[clinic end generated code: output=a110f274fb33395d input=a9049054013a1b77]*/
317-diff --git a/Modules/clinic/_ssl.c.h b/Modules/clinic/_ssl.c.h
318-index b59b129..f6bcd09 100644
319---- a/Modules/clinic/_ssl.c.h
320-+++ b/Modules/clinic/_ssl.c.h
321-@@ -88,6 +88,8 @@ exit:
322- return return_value;
323- }
324-
325-+#if !defined(LIBRESSL_VERSION_NUMBER)
326-+
327- PyDoc_STRVAR(_ssl__SSLSocket_get_verified_chain__doc__,
328- "get_verified_chain($self, /)\n"
329- "--\n"
330-@@ -105,6 +107,10 @@ _ssl__SSLSocket_get_verified_chain(PySSLSocket *self, PyObject *Py_UNUSED(ignore
331- return _ssl__SSLSocket_get_verified_chain_impl(self);
332- }
333-
334-+#endif /* !defined(LIBRESSL_VERSION_NUMBER) */
335-+
336-+#if !defined(LIBRESSL_VERSION_NUMBER)
337-+
338- PyDoc_STRVAR(_ssl__SSLSocket_get_unverified_chain__doc__,
339- "get_unverified_chain($self, /)\n"
340- "--\n"
341-@@ -122,6 +128,8 @@ _ssl__SSLSocket_get_unverified_chain(PySSLSocket *self, PyObject *Py_UNUSED(igno
342- return _ssl__SSLSocket_get_unverified_chain_impl(self);
343- }
344-
345-+#endif /* !defined(LIBRESSL_VERSION_NUMBER) */
346-+
347- PyDoc_STRVAR(_ssl__SSLSocket_shared_ciphers__doc__,
348- "shared_ciphers($self, /)\n"
349- "--\n"
350-@@ -271,25 +279,25 @@ PyDoc_STRVAR(_ssl__SSLSocket_read__doc__,
351- {"read", (PyCFunction)_ssl__SSLSocket_read, METH_VARARGS, _ssl__SSLSocket_read__doc__},
352-
353- static PyObject *
354--_ssl__SSLSocket_read_impl(PySSLSocket *self, Py_ssize_t len,
355-- int group_right_1, Py_buffer *buffer);
356-+_ssl__SSLSocket_read_impl(PySSLSocket *self, int len, int group_right_1,
357-+ Py_buffer *buffer);
358-
359- static PyObject *
360- _ssl__SSLSocket_read(PySSLSocket *self, PyObject *args)
361- {
362- PyObject *return_value = NULL;
363-- Py_ssize_t len;
364-+ int len;
365- int group_right_1 = 0;
366- Py_buffer buffer = {NULL, NULL};
367-
368- switch (PyTuple_GET_SIZE(args)) {
369- case 1:
370-- if (!PyArg_ParseTuple(args, "n:read", &len)) {
371-+ if (!PyArg_ParseTuple(args, "i:read", &len)) {
372- goto exit;
373- }
374- break;
375- case 2:
376-- if (!PyArg_ParseTuple(args, "nw*:read", &len, &buffer)) {
377-+ if (!PyArg_ParseTuple(args, "iw*:read", &len, &buffer)) {
378- goto exit;
379- }
380- group_right_1 = 1;
381-@@ -1351,6 +1359,14 @@ exit:
382-
383- #endif /* defined(_MSC_VER) */
384-
385-+#ifndef _SSL__SSLSOCKET_GET_VERIFIED_CHAIN_METHODDEF
386-+ #define _SSL__SSLSOCKET_GET_VERIFIED_CHAIN_METHODDEF
387-+#endif /* !defined(_SSL__SSLSOCKET_GET_VERIFIED_CHAIN_METHODDEF) */
388-+
389-+#ifndef _SSL__SSLSOCKET_GET_UNVERIFIED_CHAIN_METHODDEF
390-+ #define _SSL__SSLSOCKET_GET_UNVERIFIED_CHAIN_METHODDEF
391-+#endif /* !defined(_SSL__SSLSOCKET_GET_UNVERIFIED_CHAIN_METHODDEF) */
392-+
393- #ifndef _SSL_ENUM_CERTIFICATES_METHODDEF
394- #define _SSL_ENUM_CERTIFICATES_METHODDEF
395- #endif /* !defined(_SSL_ENUM_CERTIFICATES_METHODDEF) */
396-@@ -1358,4 +1374,4 @@ exit:
397- #ifndef _SSL_ENUM_CRLS_METHODDEF
398- #define _SSL_ENUM_CRLS_METHODDEF
399- #endif /* !defined(_SSL_ENUM_CRLS_METHODDEF) */
400--/*[clinic end generated code: output=5a7d7bf5cf8ee092 input=a9049054013a1b77]*/
401-+/*[clinic end generated code: output=0e12e5e4ee2221b5 input=a9049054013a1b77]*/
402---
403-2.35.1
404-
1@@ -1,25 +0,0 @@
2-From 2612426a1a204b95a945a005279e55605d887c19 Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 2 May 2024 19:29:58 +0200
5-Subject: [PATCH 2/3] fix slow startup for pyc files
6-
7----
8- Lib/py_compile.py | 5 +----
9- 1 file changed, 1 insertion(+), 4 deletions(-)
10-
11-diff --git a/Lib/py_compile.py b/Lib/py_compile.py
12-index a81f493..e1328ed 100644
13---- a/Lib/py_compile.py
14-+++ b/Lib/py_compile.py
15-@@ -70,10 +70,7 @@ class PycInvalidationMode(enum.Enum):
16-
17-
18- def _get_default_invalidation_mode():
19-- if os.environ.get('SOURCE_DATE_EPOCH'):
20-- return PycInvalidationMode.CHECKED_HASH
21-- else:
22-- return PycInvalidationMode.TIMESTAMP
23-+ return PycInvalidationMode.CHECKED_HASH
24-
25-
26- def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1,
1@@ -1,22 +0,0 @@
2-From c43fa6609f8de20d2656892aad547d4d8ccb6cbe Mon Sep 17 00:00:00 2001
3-From: hovercats <hovercatswithlasereyes@protonmail.com>
4-Date: Thu, 2 May 2024 19:30:50 +0200
5-Subject: [PATCH 3/3] fix python not always installing pip/setuptools
6-
7----
8- Lib/ensurepip/__init__.py | 2 +-
9- 1 file changed, 1 insertion(+), 1 deletion(-)
10-
11-diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
12-index f28ab11..6627189 100644
13---- a/Lib/ensurepip/__init__.py
14-+++ b/Lib/ensurepip/__init__.py
15-@@ -180,7 +180,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
16- additional_paths.append(filename)
17-
18- # Construct the arguments to be passed to the pip command
19-- args = ["install", "--no-cache-dir", "--no-index", "--find-links", tmpdir]
20-+ args = ["install", "-I", "--no-cache-dir", "--no-index", "--find-links", tmpdir]
21- if root:
22- args += ["--root", root]
23- if upgrade:
+0,
-4
1@@ -1,4 +0,0 @@
2-https://python.org/ftp/python/3.11.7/Python-3.11.7.tar.xz
3-patches/0001-readd-support-for-libressl.patch
4-patches/0002-fix-slow-startup-for-pyc-files.patch
5-patches/0003-fix-python-not-always-installing-pip-setuptools.patch
+0,
-1
1@@ -1 +0,0 @@
2-3.11.7 3
+0,
-17
1@@ -1,17 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/usr \
6- --disable-shared \
7- --disable-rpath \
8- --enable-install-static-library \
9- --with-static-linked-ext \
10- --without-openssl
11-
12-make
13-make DESTDIR="$1" install
14-
15-# Compress manpages
16-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
17-
18-rm -rf "$1/usr/share/doc"
+0,
-1
1@@ -1 +0,0 @@
2-0033676efceee803669958ba4c85e0c81167974271ab1e48df956b80afcc38a8f5
+0,
-3
1@@ -1,3 +0,0 @@
2-libffi make
3-libyaml
4-zlib
+0,
-1
1@@ -1 +0,0 @@
2-https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-3.3.4 4
+0,
-34
1@@ -1,34 +0,0 @@
2-#!/bin/sh -e
3-
4-export GOROOT=/usr/lib/go
5-export GOPROXY=https://proxy.golang.org
6-#export CGO_ENABLED=0
7-#export GOFLAGS="-ldflags=-static-pie -ldflags=-s -ldflags=-w"
8-#export GO_LDFLAGS="-buildmode=static-pie -s -w"
9-#export CGO_CFLAGS="-O2 -pipe -static -static-pie -w -Wno-error"
10-
11-#go build -a \
12-go build -a -ldflags="-w -s -extldflags '-static'" \
13- -trimpath \
14- -modcacherw \
15- -buildvcs=false \
16- ./cmd/senpai
17-
18-if command -v scdoc; then
19- scdoc < doc/senpai.1.scd > senpai.1
20- scdoc < doc/senpai.5.scd > senpai.5
21-
22- mkdir -p \
23- "$1/usr/share/man/man1" \
24- "$1/usr/share/man/man5"
25-
26- cp senpai.1 "$1/usr/share/man/man1/"
27- cp senpai.5 "$1/usr/share/man/man5/"
28-
29- # Compress manpages
30- find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
31-fi
32-
33-mkdir -p "$1/usr/bin"
34-
35-cp senpai "$1/usr/bin/"
+0,
-1
1@@ -1 +0,0 @@
2-c8f55c819326a4c9e93303304c45b5452193dc59eb79de8b639a8df59abf040323
+0,
-1
1@@ -1 +0,0 @@
2-go make
+0,
-1
1@@ -1 +0,0 @@
2-https://git.sr.ht/~delthas/senpai/archive/v0.5.0.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-0.5.0 1
+0,
-17
1@@ -1,17 +0,0 @@
2-#!/bin/sh -e
3-
4-# Required by qt5 and possibly other software.
5-export CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA"
6-
7-./configure \
8- --prefix=/usr \
9- --enable-threadsafe \
10- --enable-dynamic-extensions \
11- --enable-fts5 \
12- ac_cv_search_readline=no
13-
14-make
15-make DESTDIR="$1" install
16-
17-# Compress manpages
18-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1 +0,0 @@
2-023516a598e6109db5002f3a8f452d9cc5e496e200c40881d3bc70d8d74154485d
+0,
-1
1@@ -1 +0,0 @@
2-zlib make
+0,
-1
1@@ -1 +0,0 @@
2-https://sqlite.org/2024/sqlite-autoconf-3460100.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-3.46.1 1
+0,
-12
1@@ -1,12 +0,0 @@
2-#!/bin/sh -e
3-
4-patch -p1 < 0001-Don-t-use-C23-constexpr-keyword.patch
5-
6-make LDFLAGS="$LDFLAGS -static"
7-make DESTDIR="$1" prefix=/usr install
8-
9-# Compress manpages
10-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
11-
12-# Remove broken symlinks
13-rm -rf "$1/usr/share/man/man1/unifdefall.1"
+0,
-2
1@@ -1,2 +0,0 @@
2-c55349ab244ae3705c566107426f61d9b7ffdbb9fd99261986f8d54867628bcc0e
3-636426d8de8fd605d62331e05255b604512d71ef37ffe7ad764846aff97c4b6efc
1@@ -1,57 +0,0 @@
2-From 4192ee765e1263be6bed4cf3460cf8cd67980427 Mon Sep 17 00:00:00 2001
3-From: Sam James <sam@gentoo.org>
4-Date: Sun, 17 Nov 2024 01:26:27 +0000
5-Subject: [PATCH] Don't use C23 constexpr keyword
6-
7-This fixes building with upcoming GCC 15 which defaults to -std=gnu23.
8----
9- unifdef.c | 10 +++++-----
10- 1 file changed, 5 insertions(+), 5 deletions(-)
11-
12-diff --git a/unifdef.c b/unifdef.c
13-index dc145a2..4bd3bda 100644
14---- a/unifdef.c
15-+++ b/unifdef.c
16-@@ -202,7 +202,7 @@ static int depth; /* current #if nesting */
17- static int delcount; /* count of deleted lines */
18- static unsigned blankcount; /* count of blank lines */
19- static unsigned blankmax; /* maximum recent blankcount */
20--static bool constexpr; /* constant #if expression */
21-+static bool is_constexpr; /* constant #if expression */
22- static bool zerosyms; /* to format symdepth output */
23- static bool firstsym; /* ditto */
24-
25-@@ -1086,7 +1086,7 @@ eval_unary(const struct ops *ops, long *valp, const char **cpp)
26- *valp = (value[sym] != NULL);
27- lt = *valp ? LT_TRUE : LT_FALSE;
28- }
29-- constexpr = false;
30-+ is_constexpr = false;
31- } else if (!endsym(*cp)) {
32- debug("eval%d symbol", prec(ops));
33- sym = findsym(&cp);
34-@@ -1103,7 +1103,7 @@ eval_unary(const struct ops *ops, long *valp, const char **cpp)
35- lt = *valp ? LT_TRUE : LT_FALSE;
36- cp = skipargs(cp);
37- }
38-- constexpr = false;
39-+ is_constexpr = false;
40- } else {
41- debug("eval%d bad expr", prec(ops));
42- return (LT_ERROR);
43-@@ -1170,10 +1170,10 @@ ifeval(const char **cpp)
44- long val = 0;
45-
46- debug("eval %s", *cpp);
47-- constexpr = killconsts ? false : true;
48-+ is_constexpr = killconsts ? false : true;
49- ret = eval_table(eval_ops, &val, cpp);
50- debug("eval = %d", val);
51-- return (constexpr ? LT_IF : ret == LT_ERROR ? LT_IF : ret);
52-+ return (is_constexpr ? LT_IF : ret == LT_ERROR ? LT_IF : ret);
53- }
54-
55- /*
56---
57-2.49.0
58-
+0,
-2
1@@ -1,2 +0,0 @@
2-https://dotat.at/prog/unifdef/unifdef-2.12.tar.xz
3-patches/0001-Don-t-use-C23-constexpr-keyword.patch
+0,
-1
1@@ -1 +0,0 @@
2-2.12 2
+0,
-4
1@@ -1,4 +0,0 @@
2-#!/bin/sh -e
3-
4-make LDFLAGS="$LDFLAGS -static"
5-make DESTDIR="$1/usr" install
+0,
-1
1@@ -1 +0,0 @@
2-08d3bb81989273b6db3a111285de7c3d989e7f176eeed977cd60ac3b4443074859
+0,
-1
1@@ -1 +0,0 @@
2-https://www.rarlab.com/rar/unrarsrc-7.1.2.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-7.1.2 1
+0,
-26
1@@ -1,26 +0,0 @@
2-#!/bin/sh -e
3-
4-# Disable stripping
5-: > nostrip
6-
7-# Bypass ccache
8-export CC="/bin/cc"
9-export CXX="/bin/c++"
10-export CFLAGS="$CFLAGS -fno-stack-protector -no-pie"
11-
12-./configure \
13- --prefix=/usr \
14- --sysconfdir=/etc \
15- --libexecdir=/usr/lib \
16- --mandir=/usr/share/man \
17- --infodir=/usr/share/info \
18- --localstatedir=/var \
19- --without-mpicc
20-
21-make
22-make DESTDIR="$1" install
23-
24-# Compress manpages
25-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
26-
27-rm -r "$1/usr/share/doc"
+0,
-2
1@@ -1,2 +0,0 @@
2-1e3813bd3f879d647556d73d0843a176d70e116f64417f96793f5b4f0ef52a38dc
3-c261dc7b793168270a19dfe34f15bc1a283c4c8d10375de2788e368e8a0d82612f
+0,
-1
1@@ -1 +0,0 @@
2-perl
+0,
-46
1@@ -1,46 +0,0 @@
2-# Suppressions for musl libc
3-# See: https://www.openwall.com/lists/musl/2017/06/15/4
4-
5-{
6- musl-dynlink-false-positive1
7- Memcheck:Leak
8- fun:calloc
9- fun:load_direct_deps
10- fun:load_deps
11- fun:load_deps
12- fun:__dls3
13- fun:__dls2b
14- fun:__dls2
15-}
16-
17-{
18- musl-dynlink-false-positive2
19- Memcheck:Leak
20- fun:calloc
21- fun:load_direct_deps
22- fun:load_deps
23- fun:load_deps
24- fun:__dls3
25- fun:__dls2
26-}
27-
28-{
29- musl-dynlink-false-positive3
30- Memcheck:Leak
31- fun:calloc
32- fun:load_library
33- fun:load_preload
34- fun:__dls3
35- fun:__dls2b
36- fun:__dls2
37-}
38-
39-{
40- musl-dynlink-false-positive4
41- Memcheck:Leak
42- fun:calloc
43- fun:load_library
44- fun:load_preload
45- fun:__dls3
46- fun:__dls2
47-}
+0,
-2
1@@ -1,2 +0,0 @@
2-https://sourceware.org/pub/valgrind/valgrind-3.24.0.tar.bz2
3-files/musl.supp
+0,
-1
1@@ -1 +0,0 @@
2-3.24.0 1
+0,
-16
1@@ -1,16 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-
6-muon setup \
7- -Dprefix=/usr \
8- -Dbuildtype=release \
9- -Dtests=false \
10- build
11-
12-samu -C build
13-muon -C build install
14-
15-# Fix pkgconf location
16-mkdir -p "$1/usr/lib"
17-mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
+0,
-1
1@@ -1 +0,0 @@
2-2f3584031af7f0d2eaff37bef37894717af6d62e512645da4bdc84c509c111cf73
+0,
-1
1@@ -1 +0,0 @@
2-wayland make
+0,
-1
1@@ -1 +0,0 @@
2-https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/1.36/downloads/wayland-protocols-1.36.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.36 3
+0,
-15
1@@ -1,15 +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- -Ddefault_library=both \
10- -Dtests=false \
11- -Ddocumentation=false \
12- -Ddtd_validation=false \
13- build
14-
15-samu -C build
16-muon -C build install
+0,
-1
1@@ -1 +0,0 @@
2-63735d03d50403aefeea80e407acb7faeb2c60b9494633049aa59c40f81dd9b988
+0,
-2
1@@ -1,2 +0,0 @@
2-expat
3-libffi
+0,
-1
1@@ -1 +0,0 @@
2-https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.23.0/downloads/wayland-1.23.0.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-1.23.0 2
+0,
-98
1@@ -1,98 +0,0 @@
2-#!/bin/sh -e
3-
4-export DESTDIR="$1"
5-export PKG_CONFIG_PATH=/usr/lib/pkgconfig
6-export CCACHE_SLOPPINESS=time_macros,include_file_mtime
7-
8-# Silence loud warnings. Source: Chimera linux
9-export CFLAGS="$CFLAGS -DNDEBUG"
10-export CXXFLAGS="$CXXFLAGS -DNDEBUG -Wno-deprecated-declarations -Wno-deprecated-copy"
11-
12-# Use clang if installed, decreases compilation time by 25%.
13-if command -v clang; then
14- export CC=clang
15- export CXX=clang++
16-fi
17-
18-# fix unsupported -n or -h flag for sbase ln
19-sed 's/ln -sfh/ln -sf/g' Source/WebCore/Scripts/generate-derived-sources.sh > _
20-mv -f _ Source/WebCore/Scripts/generate-derived-sources.sh
21-chmod 755 Source/WebCore/Scripts/generate-derived-sources.sh
22-
23-sed 's/ln -n -s -f/ln -sf/g' Source/JavaScriptCore/GLib.cmake > _
24-mv -f _ Source/JavaScriptCore/GLib.cmake
25-
26-sed 's/ln -n -s -f/ln -sf/g' Source/WebKit/PlatformGTK.cmake > _
27-mv -f _ Source/WebKit/PlatformGTK.cmake
28-
29-sed 's/ln -n -s -f/ln -sf/g' Source/WebKit/PlatformWPEDeprecated.cmake > _
30-mv -f _ Source/WebKit/PlatformWPEDeprecated.cmake
31-
32-sed 's/ln -n -s -f/ln -sf/g' Source/WebKit/PlatformGTKDeprecated.cmake > _
33-mv -f _ Source/WebKit/PlatformGTKDeprecated.cmake
34-
35-# Remove gettext requirement.
36-sed 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c > _
37-mv -f _ Tools/MiniBrowser/gtk/BrowserDownloadsBar.c
38-sed '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt > _
39-mv -f _ Source/WebCore/platform/gtk/po/CMakeLists.txt
40-sed '/if.*GETTEXT_FOUND/,/^endif/d' Source/WebCore/platform/gtk/po/CMakeLists.txt > _
41-mv -f _ Source/WebCore/platform/gtk/po/CMakeLists.txt
42-sed '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt > _
43-mv -f _ Source/WebCore/platform/gtk/po/CMakeLists.txt
44-
45-# Fix clang build.
46-sed -e '/LC_ALL/d' -e '/WTFLogAlways/d' Source/JavaScriptCore/jsc.cpp > _
47-mv -f _ Source/JavaScriptCore/jsc.cpp
48-
49-# Webkit's CMake configuration forces color output using clang-specific flags
50-# when using Ninja as the CMAKE_GENERATOR. We should disable them.
51-sed -e "s/-fcolor-diagnostics//" \
52- -e "s/-fdiagnostics-color=always/-fdiagnostics-color=never/" \
53- Source/cmake/WebKitCompilerFlags.cmake > _
54-mv -f _ Source/cmake/WebKitCompilerFlags.cmake
55-
56-# Reduce memory usage.
57-export LDFLAGS="$LDFLAGS -Wl,--no-keep-memory"
58-
59-cmake -G Ninja -B build \
60- -DCMAKE_BUILD_TYPE=Release \
61- -DCMAKE_INSTALL_PREFIX=/usr \
62- -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
63- -DLIB_INSTALL_DIR=/usr/lib \
64- -DPORT=GTK \
65- -DCMAKE_SKIP_RPATH=ON \
66- -DENABLE_API_TESTS=OFF \
67- -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
68- -DENABLE_C_LOOP=OFF \
69- -DENABLE_DOCUMENTATION=OFF \
70- -DENABLE_GAMEPAD=OFF \
71- -DENABLE_GEOLOCATION=OFF \
72- -DENABLE_INTROSPECTION=OFF \
73- -DENABLE_JIT=OFF \
74- -DENABLE_JOURNALD_LOG=OFF \
75- -DENABLE_MINIBROWSER=OFF \
76- -DENABLE_PDFJS=OFF \
77- -DENABLE_SAMPLING_PROFILER=OFF \
78- -DENABLE_SPELLCHECK=OFF \
79- -DENABLE_WAYLAND_TARGET=ON \
80- -DENABLE_X11_TARGET=OFF \
81- -DUSE_AVIF=OFF \
82- -DUSE_GSTREAMER_GL=OFF \
83- -DUSE_GTK4=OFF \
84- -DUSE_JPEGXL=OFF \
85- -DUSE_LCMS=OFF \
86- -DUSE_LIBBACKTRACE=OFF \
87- -DUSE_LIBHYPHEN=OFF \
88- -DUSE_LIBSECRET=OFF \
89- -DUSE_SOUP2=OFF \
90- -DUSE_WOFF2=OFF \
91- -DUSE_SYSTEM_SYSPROF_CAPTURE=NO \
92- -DUSE_SKIA=NO \
93- -DUSE_FLITE=OFF \
94- -DENABLE_SPEECH_SYNTHESIS=NO \
95- -DUSE_SPIEL=OFF \
96- -Wno-dev
97-
98-samu -C build
99-samu -C build install
+0,
-1
1@@ -1 +0,0 @@
2-ee92d72168d14686e8773f2d41add76b53f6cf584ab304a5df9a5db0b8911b45a7
+0,
-21
1@@ -1,21 +0,0 @@
2-atk
3-cairo
4-cmake make
5-freetype-harfbuzz
6-glib-networking
7-gperf make
8-gtk+3
9-libgcrypt
10-libsoup3
11-libtasn1
12-libwebp
13-libxslt
14-mesa
15-perl make
16-python make
17-python-packaging make
18-ruby make
19-sqlite
20-unifdef make
21-wayland
22-wayland-protocols make
+0,
-1
1@@ -1 +0,0 @@
2-https://webkitgtk.org/releases/webkitgtk-2.50.2.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-2.50.2 3
+0,
-28
1@@ -1,28 +0,0 @@
2-#!/bin/sh -e
3-
4-export PATH=/usr/bin:$PATH
5-
6-# Swap to shell script instead of perl script
7-# for conversion of rules files. See files/xml2lst.
8-sed 's/xml2lst\.pl/xml2lst/' rules/meson.build > _
9-mv -f _ rules/meson.build
10-
11-# Remove po/ dir.
12-sed "/subdir('po')/d" meson.build > _
13-mv -f _ meson.build
14-
15-export DESTDIR="$1"
16-
17-muon setup \
18- -Dprefix=/usr \
19- -Dnls=false \
20- build
21-
22-samu -C build
23-muon -C build install
24-
25-# Compress manpages
26-find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
27-
28-# fix manpage symlink
29-ln -sf xkeyboard-config-2.7.gz "$1/usr/share/man/man7/xkeyboard-config.7"
+0,
-2
1@@ -1,2 +0,0 @@
2-300cc57bf839faf745cb27eaac800e57cd706bbb88d359024616c4abfae9a5fbd6
3-8d0bf1d8cb3080585adc0fd1c1521ed2c4cdfbfc3046e5ea0c98e3a1c81e9e2446
+0,
-1
1@@ -1 +0,0 @@
2-compose-tables
+0,
-49
1@@ -1,49 +0,0 @@
2-#!/bin/sh
3-# converts the <rules>.xml file to the old format <rules>.lst file
4-# Usage: xml2lst < filename.xml > filename.lst
5-
6-[ "$1" ] && exec 0< "$1"
7-
8-var=0 com=0 nam=''
9-
10-printf '! model\n'
11-while read -r l || [ "$l" ]; do case $l in
12- *'<name>'*) n=${l#*>} n=${n%<*};;
13- *'<description>'*) l=${l#*>}; printf ' %-15s %s\n' "$n" "${l%<*}" ;;
14- *'</modelList>'*) break
15-esac; done
16-
17-printf '\n! layout\n'
18-while read -r l || [ "$l" ]; do case $l in
19- *'<variantList>'*) var=1;;
20- *'</variantList>'*) var=0;;
21- *'</layoutList>'*) break;;
22-
23- *'<name>'*)
24- l="${l#*>}"
25- [ "$var" -eq 0 ] && ln=${l%<*} || n=${l%<*}
26- ;;
27-
28- *'<description>'*)
29- l=${l#*>}
30-
31- case $var in
32- 0) printf ' %-15s %s\n' "${ln}" "${l%<*}" ;;
33- *) nam="${nam%x} $(printf '%-15s %s: %s\nx' "$n" "$ln" "${l%<*}")"
34- esac
35- ;;
36-esac; done
37-
38-printf '\n! variant\n%s\n! option\n' "${nam%x}"
39-while read -r l || [ "$l" ]; do case $l in
40- *'-->'*) com=0;;
41- *'<!--'*) com=1;;
42- *'</optionList>'*) break;;
43- *'<name>'*) n=${l#*>} n=${n%<*} ;;
44-
45- *'<description>'*)
46- l=${l#*>}
47-
48- [ "$com" -ne 0 ] || printf ' %-20s %s\n' "$n" "${l%<*}"
49- ;;
50-esac; done
+0,
-2
1@@ -1,2 +0,0 @@
2-https://x.org/releases/individual/data/xkeyboard-config/xkeyboard-config-2.46.tar.xz
3-files/xml2lst rules
+0,
-1
1@@ -1 +0,0 @@
2-2.46 1
+0,
-12
1@@ -1,12 +0,0 @@
2-#!/bin/sh -e
3-
4-export CFLAGS="$CFLAGS -fPIC"
5-
6-./configure \
7- --prefix=/usr
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-207c3b0862cb4e3686f8405f76a98c38dbad9c94bcf4be4b9efca0716aba51ecbb
+0,
-1
1@@ -1 +0,0 @@
2-https://zlib.net/fossils/zlib-1.3.1.tar.gz
+0,
-1
1@@ -1 +0,0 @@
2-1.3.1 1