Port more xfce4 and fix booting

This commit is contained in:
Wildan M 2026-05-24 09:51:56 +07:00
parent 841bb37725
commit 879bc820c4
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
12 changed files with 101 additions and 12 deletions

View File

@ -157,6 +157,9 @@ set -ex
gdk-pixbuf-query-loaders --update-cache
/usr/lib/xfce4/xfconf/xfconfd &
/usr/lib/tumbler-1/tumblerd &
/usr/libexec/upowerd &
xfsettingsd &
xterm&
#zenity --info --text="running xfce4 as $(id)!"

View File

@ -1,5 +1,6 @@
[package]
dependencies = [
"mousepad",
"thunar",
"tumbler",
"xfconf",
@ -8,6 +9,7 @@ dependencies = [
"xfce4-appfinder",
"xfce4-session",
"xfce4-panel",
"xfce4-power-manager",
"xfce4-settings",
"xfce4-terminal",
"xfwm4",

View File

@ -11,14 +11,17 @@ dependencies = [
"gettext",
"libffi",
"libiconv",
"libinotify-stub",
"pcre2",
"zlib",
]
script = """
DYNAMIC_INIT
export CFLAGS="$CFLAGS -I$COOKBOOK_SYSROOT/include/inotify"
export LDFLAGS="$LDFLAGS -linotify"
cookbook_meson \
-Ddefault_library=shared \
-Dxattr=false \
-Dtests=false \
-Dfile_monitor_backend=auto
-Dfile_monitor_backend=inotify
"""

View File

@ -0,0 +1,9 @@
[source]
tar = "https://github.com/willnode/inotify-stub/archive/refs/tags/v0.1.tar.gz"
[build]
template = "custom"
script = """
DYNAMIC_INIT
make -C "$COOKBOOK_SOURCE" install BUILD="$(pwd)" DESTDIR="$COOKBOOK_STAGE/usr"
"""

View File

@ -5,3 +5,8 @@ patches = ["redox.patch"]
[build]
template = "meson"
[package]
dependencies = [
"librsvg" # adwaita contains svg icons
]

View File

@ -6,5 +6,4 @@ tar = "https://download.gnome.org/sources/graphene/1.10/graphene-1.10.8.tar.xz"
template = "meson"
mesonflags = [
"-Dtests=false",
"-Dintrospection=false",
]

View File

@ -1,16 +1,12 @@
#TODO not compiled or tested
# build instructions: https://gitlab.gnome.org/GNOME/gtksourceview#installation
#TODO compiled but not tested
[source]
tar = "https://download.gnome.org/sources/gtksourceview/5.10/gtksourceview-5.10.0.tar.xz"
# later version uses GTK4
tar = "https://download.gnome.org/sources/gtksourceview/3.24/gtksourceview-3.24.9.tar.xz"
[build]
template = "meson"
mesonflags = [
"-Dbuild-testsuite=false",
"-Dintrospection=false",
]
template = "configure"
dependencies = [
"glib",
"gtk4",
"gtk3",
"libxml2",
"fribidi",
"pcre",

View File

@ -0,0 +1,21 @@
diff --color -ruwN source/configure source-new/configure
--- source/configure 2018-09-06 01:53:32.000000000 +0700
+++ source-new/configure 2026-05-24 08:57:06.072736434 +0700
@@ -5763,7 +5763,7 @@
;;
# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | redox*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -11450,7 +11450,7 @@
;;
# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | redox*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no

View File

@ -20,7 +20,6 @@ template = "meson"
[package]
dependencies = [
"librsvg",
"mate-settings-daemon",
"zenity",
]

View File

@ -0,0 +1,16 @@
[source]
tar = "https://gitlab.freedesktop.org/upower/upower/-/archive/v1.91.2/upower-v1.91.2.tar.gz"
[build]
template = "meson"
dependencies = [
"glib",
]
mesonflags = [
"-Dintrospection=disabled",
"-Dos_backend=dummy",
"-Dsystemdsystemunitdir=no",
"-Dgtk-doc=false",
"-Dman=false",
"-Dinstalled_tests=false",
]

View File

@ -0,0 +1,14 @@
[source]
tar = "https://archive.xfce.org/src/apps/mousepad/0.7/mousepad-0.7.0.tar.xz"
[build]
dependencies = [
"gettext",
"glib",
"gtk3",
"gtksourceview",
"libxfce4ui",
"pango",
]
template = "meson"
mesonflags = [
]

View File

@ -0,0 +1,22 @@
[source]
tar = "https://archive.xfce.org/src/xfce/xfce4-power-manager/4.21/xfce4-power-manager-4.21.1.tar.xz"
[build]
dependencies = [
"cairo",
"gettext",
"glib",
"gtk3",
"libnotify",
"libx11",
"libxext",
"libxfce4ui",
"libxfce4util",
"libxrandr",
"upower-glib",
"xfconf",
]
template = "meson"
mesonflags = [
"-Dwayland=disabled",
]