mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
Enable gtk3 x11 again
This commit is contained in:
parent
112ff5f653
commit
3a9b48db9c
@ -5,30 +5,24 @@ patches = ["redox.patch"]
|
|||||||
|
|
||||||
[build]
|
[build]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"expat",
|
"fontconfig",
|
||||||
"freetype2",
|
"freetype2",
|
||||||
"fontconfig",
|
|
||||||
"gettext",
|
|
||||||
"glib",
|
"glib",
|
||||||
"libffi",
|
"libpng",
|
||||||
"libiconv",
|
|
||||||
"libpng",
|
|
||||||
"libpthread-stubs",
|
|
||||||
"libx11",
|
"libx11",
|
||||||
"libxau",
|
|
||||||
"libxcb",
|
"libxcb",
|
||||||
"libxext",
|
"libxext",
|
||||||
"pcre2",
|
"libxrender",
|
||||||
"pixman",
|
"pixman",
|
||||||
"x11proto",
|
]
|
||||||
"zlib",
|
dev-dependencies = [
|
||||||
|
# xext and xrender is required by pkg-config, don't move them here
|
||||||
]
|
]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
DYNAMIC_INIT
|
DYNAMIC_INIT
|
||||||
#TODO: fix mutex implementation
|
|
||||||
#TODO: why are math defines missing?
|
#TODO: why are math defines missing?
|
||||||
CFLAGS="${CFLAGS} -DCAIRO_NO_MUTEX=1 -DM_SQRT2=1.41421356237309504880 -DM_LN2=0.69314718055994530942"
|
CFLAGS="${CFLAGS} -DM_SQRT2=1.41421356237309504880 -DM_LN2=0.69314718055994530942"
|
||||||
cookbook_meson \
|
cookbook_meson \
|
||||||
-Dxlib-xcb=enabled \
|
-Dxlib-xcb=enabled \
|
||||||
-Dtests=disabled
|
-Dtests=disabled
|
||||||
|
|||||||
@ -6,30 +6,14 @@ patches = ["redox.patch"]
|
|||||||
[build]
|
[build]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cairo",
|
"cairo",
|
||||||
"expat",
|
|
||||||
"fontconfig",
|
"fontconfig",
|
||||||
"freetype2",
|
"freetype2",
|
||||||
"fribidi",
|
"fribidi",
|
||||||
"gettext",
|
|
||||||
"glib",
|
"glib",
|
||||||
"harfbuzz",
|
"harfbuzz",
|
||||||
"libffi",
|
# "libx11",
|
||||||
"libiconv",
|
# "libxft",
|
||||||
"libpng",
|
# "libxrender",
|
||||||
"libpthread-stubs",
|
|
||||||
"libx11",
|
|
||||||
"libxau",
|
|
||||||
"libxcb",
|
|
||||||
"libxext",
|
|
||||||
"libxft",
|
|
||||||
"libxrender",
|
|
||||||
"pcre",
|
|
||||||
"pcre2",
|
|
||||||
"pixman",
|
|
||||||
"x11proto",
|
|
||||||
"xcb-proto",
|
|
||||||
"xextproto",
|
|
||||||
"zlib",
|
|
||||||
]
|
]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
|||||||
@ -23,25 +23,17 @@ dependencies = [
|
|||||||
"libjpeg",
|
"libjpeg",
|
||||||
"liborbital",
|
"liborbital",
|
||||||
"libpng",
|
"libpng",
|
||||||
"libpthread-stubs",
|
"libxfixes",
|
||||||
"libwayland",
|
|
||||||
# "libx11",
|
|
||||||
# "libxau",
|
|
||||||
"libxkbcommon",
|
"libxkbcommon",
|
||||||
# "libxcb",
|
"libxi",
|
||||||
# "libxext",
|
"libxrandr",
|
||||||
# "libxfixes",
|
"libx11",
|
||||||
# "libxi",
|
"libwayland",
|
||||||
# "libxrandr",
|
|
||||||
# "libxrender",
|
|
||||||
# "libxxf86vm",
|
|
||||||
"mesa",
|
"mesa",
|
||||||
"pango",
|
"pango",
|
||||||
"pcre2",
|
"pcre2",
|
||||||
"pixman",
|
"pixman",
|
||||||
"shared-mime-info",
|
|
||||||
"wayland-protocols",
|
"wayland-protocols",
|
||||||
"x11proto",
|
|
||||||
"zlib",
|
"zlib",
|
||||||
]
|
]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
@ -50,7 +42,6 @@ DYNAMIC_INIT
|
|||||||
CFLAGS="${CFLAGS} -DM_SQRT2=1.41421356237309504880"
|
CFLAGS="${CFLAGS} -DM_SQRT2=1.41421356237309504880"
|
||||||
cookbook_meson \
|
cookbook_meson \
|
||||||
-Dexamples=false \
|
-Dexamples=false \
|
||||||
-Dx11_backend=false \
|
|
||||||
-Dintrospection=false \
|
-Dintrospection=false \
|
||||||
-Dtests=false
|
-Dtests=false
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -4,23 +4,14 @@ blake3 = "0ccee9635115fe417cfc4bc33ffd160bf1e2852bd6c03816b4af771d59462f53"
|
|||||||
patches = ["redox.patch"]
|
patches = ["redox.patch"]
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "custom"
|
template = "meson"
|
||||||
dependencies = [
|
dev-dependencies = [
|
||||||
"libpthread-stubs",
|
|
||||||
"libx11",
|
"libx11",
|
||||||
"libxau",
|
|
||||||
"libxcb",
|
|
||||||
"libxext",
|
|
||||||
"libxfixes",
|
|
||||||
"libxxf86vm",
|
|
||||||
"mesa",
|
"mesa",
|
||||||
"x11proto",
|
|
||||||
"zlib",
|
|
||||||
]
|
]
|
||||||
script = """
|
mesonflags = [
|
||||||
DYNAMIC_INIT
|
"-Degl=yes",
|
||||||
cookbook_meson \
|
# we're forcing x11 backend via EGL
|
||||||
-Degl=yes \
|
"-Dx11=true",
|
||||||
-Dglx=no \
|
"-Dtests=false",
|
||||||
-Dtests=false
|
]
|
||||||
"""
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ blake3 = "5657d84c78549f198f1335ec9d2f1de2b0ac2771fe081cbf00016370872c13f3"
|
|||||||
patches = ["redox.patch"]
|
patches = ["redox.patch"]
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
dependencies = [
|
dev-dependencies = [
|
||||||
"host:libicu"
|
"host:libicu"
|
||||||
]
|
]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
@ -28,5 +28,4 @@ if [ "$TARGET" = "$COOKBOOK_HOST_TARGET" ]; then
|
|||||||
# this is not ideal, but there's no other better way
|
# this is not ideal, but there's no other better way
|
||||||
rsync -a ./ "${COOKBOOK_STAGE}/usr"
|
rsync -a ./ "${COOKBOOK_STAGE}/usr"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -7,9 +7,10 @@ autotools_recursive_regenerate
|
|||||||
|
|
||||||
[build]
|
[build]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libpthread-stubs",
|
|
||||||
"libxau",
|
|
||||||
"libxcb",
|
"libxcb",
|
||||||
|
]
|
||||||
|
dev-dependencies = [
|
||||||
|
"libxau",
|
||||||
"x11proto",
|
"x11proto",
|
||||||
"xtrans",
|
"xtrans",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -7,20 +7,9 @@ autotools_recursive_regenerate
|
|||||||
|
|
||||||
[build]
|
[build]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"expat",
|
|
||||||
"fontconfig",
|
"fontconfig",
|
||||||
"freetype2",
|
"freetype2",
|
||||||
"libpng",
|
|
||||||
"libpthread-stubs",
|
|
||||||
"libx11",
|
"libx11",
|
||||||
"libxau",
|
|
||||||
"libxcb",
|
|
||||||
"libxrender",
|
"libxrender",
|
||||||
"x11proto",
|
|
||||||
"zlib",
|
|
||||||
]
|
]
|
||||||
template = "custom"
|
template = "configure"
|
||||||
script = """
|
|
||||||
DYNAMIC_INIT
|
|
||||||
cookbook_configure
|
|
||||||
"""
|
|
||||||
|
|||||||
@ -7,11 +7,7 @@ autotools_recursive_regenerate
|
|||||||
|
|
||||||
[build]
|
[build]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libpthread-stubs",
|
|
||||||
"libx11",
|
"libx11",
|
||||||
"libxau",
|
|
||||||
"libxcb",
|
|
||||||
"x11proto",
|
|
||||||
]
|
]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user