mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-30 00:28:44 +08:00
Add libxfont2
This commit is contained in:
parent
a2a36b4506
commit
81a6e9d0d6
23
recipes/wip/x11/libxfont2/recipe.toml
Normal file
23
recipes/wip/x11/libxfont2/recipe.toml
Normal file
@ -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
|
||||
"""
|
||||
25
recipes/wip/x11/libxfont2/redox.patch
Normal file
25
recipes/wip/x11/libxfont2/redox.patch
Normal file
@ -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
|
||||
Loading…
Reference in New Issue
Block a user