mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 06:14:18 +08:00
Port more xfce4 and fix booting
This commit is contained in:
parent
841bb37725
commit
879bc820c4
@ -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)!"
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
9
recipes/libs/libinotify-stub/recipe.toml
Normal file
9
recipes/libs/libinotify-stub/recipe.toml
Normal 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"
|
||||
"""
|
||||
@ -5,3 +5,8 @@ patches = ["redox.patch"]
|
||||
|
||||
[build]
|
||||
template = "meson"
|
||||
|
||||
[package]
|
||||
dependencies = [
|
||||
"librsvg" # adwaita contains svg icons
|
||||
]
|
||||
|
||||
@ -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",
|
||||
]
|
||||
|
||||
@ -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",
|
||||
|
||||
21
recipes/wip/libs/gnome/gtksourceview/redox.patch
Normal file
21
recipes/wip/libs/gnome/gtksourceview/redox.patch
Normal 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
|
||||
@ -20,7 +20,6 @@ template = "meson"
|
||||
|
||||
[package]
|
||||
dependencies = [
|
||||
"librsvg",
|
||||
"mate-settings-daemon",
|
||||
"zenity",
|
||||
]
|
||||
|
||||
16
recipes/wip/x11/upower-glib/recipe.toml
Normal file
16
recipes/wip/x11/upower-glib/recipe.toml
Normal 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",
|
||||
]
|
||||
14
recipes/wip/x11/xfce4/mousepad/recipe.toml
Normal file
14
recipes/wip/x11/xfce4/mousepad/recipe.toml
Normal 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 = [
|
||||
]
|
||||
22
recipes/wip/x11/xfce4/xfce4-power-manager/recipe.toml
Normal file
22
recipes/wip/x11/xfce4/xfce4-power-manager/recipe.toml
Normal 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",
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user