From 81a6e9d0d6482095af29851368e8ba0e6481891a Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 2 May 2025 10:50:32 -0600 Subject: [PATCH] Add libxfont2 --- recipes/wip/x11/libxfont2/recipe.toml | 23 +++++++++++++++++++++++ recipes/wip/x11/libxfont2/redox.patch | 25 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 recipes/wip/x11/libxfont2/recipe.toml create mode 100644 recipes/wip/x11/libxfont2/redox.patch diff --git a/recipes/wip/x11/libxfont2/recipe.toml b/recipes/wip/x11/libxfont2/recipe.toml new file mode 100644 index 000000000..761543c57 --- /dev/null +++ b/recipes/wip/x11/libxfont2/recipe.toml @@ -0,0 +1,23 @@ +[source] +tar = "https://www.x.org/releases/individual/lib/libXfont2-2.0.7.tar.xz" +blake3 = "9b4951683df21108e45fda23dbd25dcb47b67a3a0e224a36374fbc2d0f489cac" +patches = ["redox.patch"] +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" + +[build] +dependencies = [ + "freetype2", + "libfontenc", + "libpng", + "x11proto", + "xtrans", + "zlib", +] +template = "custom" +script = """ +DYNAMIC_INIT +cookbook_configure +""" diff --git a/recipes/wip/x11/libxfont2/redox.patch b/recipes/wip/x11/libxfont2/redox.patch new file mode 100644 index 000000000..58a69bebd --- /dev/null +++ b/recipes/wip/x11/libxfont2/redox.patch @@ -0,0 +1,25 @@ +--- libXfont2-2.0.7/Makefile.am 2024-08-01 17:38:40.000000000 -0600 ++++ source/Makefile.am 2025-05-02 10:49:08.392987853 -0600 +@@ -159,14 +159,14 @@ + EXTRA_DIST = src/builtins/buildfont README.md + + # Test utilities +-EXTRA_DIST += test/utils/README +- +-TEST_UTIL_SRCS = test/utils/font-test-utils.c test/utils/font-test-utils.h +- +-noinst_PROGRAMS = lsfontdir +- +-lsfontdir_SOURCES = test/utils/lsfontdir.c $(TEST_UTIL_SRCS) +-lsfontdir_LDADD = libXfont2.la $(LTLIBOBJS) ++#EXTRA_DIST += test/utils/README ++# ++#TEST_UTIL_SRCS = test/utils/font-test-utils.c test/utils/font-test-utils.h ++# ++#noinst_PROGRAMS = lsfontdir ++# ++#lsfontdir_SOURCES = test/utils/lsfontdir.c $(TEST_UTIL_SRCS) ++#lsfontdir_LDADD = libXfont2.la $(LTLIBOBJS) + + + MAINTAINERCLEANFILES = ChangeLog INSTALL