From 589e6a4ad87bf7f85f4f339e302fa3dbf3793e3a Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 30 Oct 2025 15:08:59 -0600 Subject: [PATCH] Add garcon, libxfce4windowing, and xfce4-panel --- recipes/wip/x11/xfce4/garcon/recipe.toml | 48 +++++++++++++++++ .../x11/xfce4/libxfce4windowing/recipe.toml | 51 +++++++++++++++++++ .../x11/xfce4/libxfce4windowing/redox.patch | 41 +++++++++++++++ recipes/wip/x11/xfce4/xfce4-panel/recipe.toml | 51 +++++++++++++++++++ 4 files changed, 191 insertions(+) create mode 100644 recipes/wip/x11/xfce4/garcon/recipe.toml create mode 100644 recipes/wip/x11/xfce4/libxfce4windowing/recipe.toml create mode 100644 recipes/wip/x11/xfce4/libxfce4windowing/redox.patch create mode 100644 recipes/wip/x11/xfce4/xfce4-panel/recipe.toml diff --git a/recipes/wip/x11/xfce4/garcon/recipe.toml b/recipes/wip/x11/xfce4/garcon/recipe.toml new file mode 100644 index 00000000..4ba9a284 --- /dev/null +++ b/recipes/wip/x11/xfce4/garcon/recipe.toml @@ -0,0 +1,48 @@ +[source] +tar = "https://archive.xfce.org/src/xfce/garcon/4.21/garcon-4.21.0.tar.xz" +blake3 = "d0eb19cfcf718f3cf4a5fc89304b52b97aa35cb64222f7bc746924544e9fc7b8" + +[build] +dependencies = [ + "atk", + "cairo", + "expat", + "fontconfig", + "freetype2", + "fribidi", + "gdk-pixbuf", + "gettext", + "glib", + "gtk3", + "harfbuzz", + "libepoxy", + "libffi", + "libiconv", + "libjpeg", + "libpng", + "libpthread-stubs", + "libx11", + "libxau", + "libxcb", + "libxext", + "libxfce4ui", + "libxfce4util", + "libxfixes", + "libxft", + "libxi", + "libxrandr", + "libxrender", + "libxxf86vm", + "mesa-x11", + "pango", + "pcre2", + "pixman", + "shared-mime-info", + "x11proto", + "xfconf", + "zlib", +] +template = "meson" +mesonflags = [ + "-Dintrospection=false", +] diff --git a/recipes/wip/x11/xfce4/libxfce4windowing/recipe.toml b/recipes/wip/x11/xfce4/libxfce4windowing/recipe.toml new file mode 100644 index 00000000..a57d8392 --- /dev/null +++ b/recipes/wip/x11/xfce4/libxfce4windowing/recipe.toml @@ -0,0 +1,51 @@ +[source] +tar = "https://archive.xfce.org/src/xfce/libxfce4windowing/4.20/libxfce4windowing-4.20.4.tar.bz2" +blake3 = "396cbd13d547e6e109e348dd207747714dc4827b744fe729b1697c9dd1a55c3f" +patches = ["redox.patch"] + +[build] +dependencies = [ + "atk", + "cairo", + "expat", + "fontconfig", + "freetype2", + "fribidi", + "gdk-pixbuf", + "gettext", + "glib", + "gtk3", + "harfbuzz", + "libepoxy", + "libffi", + "libiconv", + "libjpeg", + "libpng", + "libpthread-stubs", + "libwnck3", + "libx11", + "libxau", + "libxcb", + "libxext", + "libxfce4util", + "libxfixes", + "libxft", + "libxi", + "libxrandr", + "libxrender", + "libxxf86vm", + "mesa-x11", + "pango", + "pcre2", + "pixman", + "shared-mime-info", + "x11proto", + "xfconf", + "zlib", +] +template = "meson" +mesonflags = [ + "-Dintrospection=false", + "-Dwayland=disabled", + "-Dx11=enabled", +] diff --git a/recipes/wip/x11/xfce4/libxfce4windowing/redox.patch b/recipes/wip/x11/xfce4/libxfce4windowing/redox.patch new file mode 100644 index 00000000..c3520aa9 --- /dev/null +++ b/recipes/wip/x11/xfce4/libxfce4windowing/redox.patch @@ -0,0 +1,41 @@ +diff -ruwN source-old/libxfce4windowing/xfw-monitor-x11.c source/libxfce4windowing/xfw-monitor-x11.c +--- source-old/libxfce4windowing/xfw-monitor-x11.c 2025-08-14 01:01:54.000000000 -0600 ++++ source/libxfce4windowing/xfw-monitor-x11.c 2025-10-30 15:06:17.333924750 -0600 +@@ -28,7 +28,9 @@ + #include + #include + #include ++#if !defined(__redox__) + #include ++#endif + #include + + #include "xfw-monitor-private.h" +@@ -429,6 +431,7 @@ + &edid_data); + + if (gdk_x11_display_error_trap_pop(display) == 0 && edid_data != NULL && nbytes > 0) { ++#if !defined(__redox__) + struct di_info *edid_info = di_info_parse_edid(edid_data, nbytes); + if (edid_info != NULL) { + char *make = di_info_get_make(edid_info); +@@ -451,6 +454,7 @@ + + di_info_destroy(edid_info); + } ++#endif + } + if (edid_data != NULL) { + XFree(edid_data); +diff -ruwN source-old/meson.build source/meson.build +--- source-old/meson.build 2025-08-14 01:05:11.000000000 -0600 ++++ source/meson.build 2025-10-30 15:05:30.092853306 -0600 +@@ -44,7 +44,7 @@ + + # Feature: 'x11' + x11_deps = [] +-x11_deps += dependency('libdisplay-info', version: dependency_versions['display-info'], required: get_option('x11')) ++#x11_deps += dependency('libdisplay-info', version: dependency_versions['display-info'], required: get_option('x11')) + x11_deps += dependency('x11', version: dependency_versions['libx11'], required: get_option('x11')) + x11_deps += dependency('gdk-x11-3.0', version: dependency_versions['gtk'], required: get_option('x11')) + x11_deps += dependency('libwnck-3.0', version: dependency_versions['wnck'], required: get_option('x11')) diff --git a/recipes/wip/x11/xfce4/xfce4-panel/recipe.toml b/recipes/wip/x11/xfce4/xfce4-panel/recipe.toml new file mode 100644 index 00000000..fd646309 --- /dev/null +++ b/recipes/wip/x11/xfce4/xfce4-panel/recipe.toml @@ -0,0 +1,51 @@ +[source] +tar = "https://archive.xfce.org/src/xfce/xfce4-panel/4.21/xfce4-panel-4.21.0.tar.xz" +blake3 = "59a8f55ba237a56ccd16869a28426fa3890c292164a4502dd07ddba45e0268ed" + +[build] +dependencies = [ + "atk", + "cairo", + "expat", + "fontconfig", + "freetype2", + "fribidi", + "garcon", + "gdk-pixbuf", + "gettext", + "glib", + "gtk3", + "harfbuzz", + "libepoxy", + "libffi", + "libiconv", + "libjpeg", + "libpng", + "libpthread-stubs", + "libwnck3", + "libx11", + "libxau", + "libxcb", + "libxext", + "libxfce4ui", + "libxfce4util", + "libxfce4windowing", + "libxfixes", + "libxft", + "libxi", + "libxrandr", + "libxrender", + "libxxf86vm", + "mesa-x11", + "pango", + "pcre2", + "pixman", + "shared-mime-info", + "x11proto", + "xfconf", + "zlib", +] +template = "meson" +mesonflags = [ + "-Dintrospection=false", +]