diff --git a/recipes/fonts/dejavu/recipe.toml b/recipes/fonts/dejavu/recipe.toml index c97c6db1..f482a1f8 100644 --- a/recipes/fonts/dejavu/recipe.toml +++ b/recipes/fonts/dejavu/recipe.toml @@ -8,7 +8,7 @@ script = """ #TODO: Mono style included in Sans directory for style in Sans Serif do - DEST="${COOKBOOK_STAGE}/ui/fonts/${style}/DejaVu" + DEST="${COOKBOOK_STAGE}/usr/share/fonts/${style}/DejaVu" mkdir -pv "${DEST}" cp -v "${COOKBOOK_SOURCE}/ttf/DejaVu${style}"*".ttf" "${DEST}" done diff --git a/recipes/fonts/freefont/recipe.toml b/recipes/fonts/freefont/recipe.toml index a9a67d20..6d56fe8c 100644 --- a/recipes/fonts/freefont/recipe.toml +++ b/recipes/fonts/freefont/recipe.toml @@ -7,7 +7,7 @@ template = "custom" script = """ for style in Mono Sans Serif do - DEST="${COOKBOOK_STAGE}/ui/fonts/${style}/FreeFont" + DEST="${COOKBOOK_STAGE}/usr/share/fonts/${style}/FreeFont" mkdir -pv "${DEST}" cp -v "${COOKBOOK_SOURCE}/Free${style}"*".otf" "${DEST}" done diff --git a/recipes/fonts/ibm-plex/recipe.toml b/recipes/fonts/ibm-plex/recipe.toml index 5f68ac6f..6fa60f79 100644 --- a/recipes/fonts/ibm-plex/recipe.toml +++ b/recipes/fonts/ibm-plex/recipe.toml @@ -7,7 +7,7 @@ template = "custom" script = """ for style in Mono Sans Serif do - DEST="${COOKBOOK_STAGE}/ui/fonts/${style}/IBM-Plex" + DEST="${COOKBOOK_STAGE}/usr/share/fonts/${style}/IBM-Plex" mkdir -pv "${DEST}" cp -v "${COOKBOOK_SOURCE}/IBM-Plex-${style}/fonts/complete/ttf/"*".ttf" "${DEST}" done diff --git a/recipes/fonts/intel-one-mono/recipe.toml b/recipes/fonts/intel-one-mono/recipe.toml index a6dab3ae..8f216f7d 100644 --- a/recipes/fonts/intel-one-mono/recipe.toml +++ b/recipes/fonts/intel-one-mono/recipe.toml @@ -5,7 +5,7 @@ blake3="9caff71b0a9fe8627253c55889964612ea4ae144584a283cd2fe88b7a14a4140" [build] template = "custom" script = """ -DEST="${COOKBOOK_STAGE}/ui/fonts/Mono/Intel-One" +DEST="${COOKBOOK_STAGE}/usr/share/fonts/Mono/Intel-One" mkdir -pv "${DEST}" cp -v "${COOKBOOK_SOURCE}/fonts/ttf/"*".ttf" "${DEST}" """ diff --git a/recipes/fonts/noto-color-emoji/recipe.toml b/recipes/fonts/noto-color-emoji/recipe.toml index 7076bb1d..66b3c375 100644 --- a/recipes/fonts/noto-color-emoji/recipe.toml +++ b/recipes/fonts/noto-color-emoji/recipe.toml @@ -4,7 +4,7 @@ rev = "e8073ab740292f8d5f19b5de144087ac58044d06" [build] template = "custom" script = """ -DEST="${COOKBOOK_STAGE}/ui/fonts/Emoji/Noto" +DEST="${COOKBOOK_STAGE}/usr/share/fonts/Emoji/Noto" mkdir -pv "${DEST}" cp -v "${COOKBOOK_SOURCE}/fonts/NotoColorEmoji.ttf" "${DEST}" """ diff --git a/recipes/fonts/ttf-hack/recipe.toml b/recipes/fonts/ttf-hack/recipe.toml index 428dabd7..11b7e74c 100644 --- a/recipes/fonts/ttf-hack/recipe.toml +++ b/recipes/fonts/ttf-hack/recipe.toml @@ -6,6 +6,6 @@ blake3 = "acd40f61f6f512b0808d4bf530ab4aeb5a8ec3aa1f65bf5a1d08964d1bc3d044" template = "custom" script = """ for file in "${COOKBOOK_SOURCE}"/*.ttf; do - install -D -m 644 "$file" "${COOKBOOK_STAGE}/ui/fonts/Mono/Hack/$(basename "$file")" + install -D -m 644 "$file" "${COOKBOOK_STAGE}/usr/share/fonts/Mono/Hack/$(basename "$file")" done """ \ No newline at end of file diff --git a/recipes/web/netsurf/01_redox.patch b/recipes/web/netsurf/01_redox.patch index 9330b42e..2f72f893 100644 --- a/recipes/web/netsurf/01_redox.patch +++ b/recipes/web/netsurf/01_redox.patch @@ -84,7 +84,7 @@ diff -ruwN source/netsurf/Makefile.config source-new/netsurf/Makefile.config +override NETSURF_USE_VIDEO := NO + +override NETSURF_FB_FONTLIB := freetype -+override NETSURF_FB_FONTPATH := /ui/fonts/ ++override NETSURF_FB_FONTPATH := /usr/share/fonts/ +override NETSURF_FB_FONT_SANS_SERIF := Sans/Fira/Regular.ttf +override NETSURF_FB_FONT_SANS_SERIF_BOLD := Sans/Fira/Bold.ttf +override NETSURF_FB_FONT_SANS_SERIF_ITALIC := Sans/Fira/Regular.ttf diff --git a/recipes/wip/fonts/nerd-fonts/recipe.toml b/recipes/wip/fonts/nerd-fonts/recipe.toml index bf4e0738..7c0e45c4 100644 --- a/recipes/wip/fonts/nerd-fonts/recipe.toml +++ b/recipes/wip/fonts/nerd-fonts/recipe.toml @@ -5,6 +5,6 @@ rev = "7b41c66a1ef0c4ac5884a4203cb53c0901217e32" [build] template = "custom" script = """ -mkdir -pv "${COOKBOOK_STAGE}"/ui/fonts -cp -rv "${COOKBOOK_SOURCE}"/patched-fonts/* "${COOKBOOK_STAGE}"/ui/fonts +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/fonts +cp -rv "${COOKBOOK_SOURCE}"/patched-fonts/* "${COOKBOOK_STAGE}"/usr/share/fonts """