mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Add garcon, libxfce4windowing, and xfce4-panel
This commit is contained in:
parent
b9a4b2471d
commit
589e6a4ad8
48
recipes/wip/x11/xfce4/garcon/recipe.toml
Normal file
48
recipes/wip/x11/xfce4/garcon/recipe.toml
Normal file
@ -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",
|
||||
]
|
||||
51
recipes/wip/x11/xfce4/libxfce4windowing/recipe.toml
Normal file
51
recipes/wip/x11/xfce4/libxfce4windowing/recipe.toml
Normal file
@ -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",
|
||||
]
|
||||
41
recipes/wip/x11/xfce4/libxfce4windowing/redox.patch
Normal file
41
recipes/wip/x11/xfce4/libxfce4windowing/redox.patch
Normal file
@ -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 <X11/extensions/randr.h>
|
||||
#include <X11/extensions/render.h>
|
||||
#include <gdk/gdkx.h>
|
||||
+#if !defined(__redox__)
|
||||
#include <libdisplay-info/info.h>
|
||||
+#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
#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'))
|
||||
51
recipes/wip/x11/xfce4/xfce4-panel/recipe.toml
Normal file
51
recipes/wip/x11/xfce4/xfce4-panel/recipe.toml
Normal file
@ -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",
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user