mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
fix building nerd font attributes on Debian and snap
This commit is contained in:
@ -76,6 +76,7 @@ parts:
|
|||||||
- git
|
- git
|
||||||
- patchelf
|
- patchelf
|
||||||
- gettext
|
- gettext
|
||||||
|
- python3
|
||||||
# TODO: Remove -fno-sys=gtk4-layer-shell when we upgrade to a version that packages it Ubuntu 24.10+
|
# TODO: Remove -fno-sys=gtk4-layer-shell when we upgrade to a version that packages it Ubuntu 24.10+
|
||||||
override-build: |
|
override-build: |
|
||||||
craftctl set version=$(cat VERSION)
|
craftctl set version=$(cat VERSION)
|
||||||
|
@ -503,7 +503,7 @@ pub fn add(
|
|||||||
// Fonts
|
// Fonts
|
||||||
{
|
{
|
||||||
const generate_nerd_font_attributes = b.addSystemCommand(&.{
|
const generate_nerd_font_attributes = b.addSystemCommand(&.{
|
||||||
"python",
|
"python3",
|
||||||
});
|
});
|
||||||
generate_nerd_font_attributes.addFileArg(b.path("src/font/nerd_font_codegen.py"));
|
generate_nerd_font_attributes.addFileArg(b.path("src/font/nerd_font_codegen.py"));
|
||||||
generate_nerd_font_attributes.setStdIn(.{ .lazy_path = b.path("vendor/nerd-fonts/font-patcher.py") });
|
generate_nerd_font_attributes.setStdIn(.{ .lazy_path = b.path("vendor/nerd-fonts/font-patcher.py") });
|
||||||
|
@ -14,6 +14,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get -qq update && \
|
|||||||
lsb-release \
|
lsb-release \
|
||||||
libxml2-utils \
|
libxml2-utils \
|
||||||
pandoc \
|
pandoc \
|
||||||
|
python3 \
|
||||||
# Ghostty Dependencies
|
# Ghostty Dependencies
|
||||||
libadwaita-1-dev \
|
libadwaita-1-dev \
|
||||||
libgtk-4-dev && \
|
libgtk-4-dev && \
|
||||||
|
Reference in New Issue
Block a user