From 5401abff64c0c951348a5eec567d25e74b21ba95 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Mon, 25 May 2026 19:49:22 +0700 Subject: [PATCH] Add xfce4-notifyd and other xfce4 apps --- config/x11.toml | 1 + recipes/groups/xfce4-common/recipe.toml | 1 + .../{ristretto => ristretto-jvm}/recipe.toml | 0 .../wip/libs/gnome/gtksourceview/recipe.toml | 1 + recipes/wip/libs/media/libexif/recipe.toml | 8 +++++++ recipes/wip/libs/media/libexif/redox.patch | 21 +++++++++++++++++ recipes/wip/libs/other/libical/recipe.toml | 15 ++++++++++++ recipes/wip/x11/xfce4/catfish/recipe.toml | 16 +++++++++++++ recipes/wip/x11/xfce4/orage/recipe.toml | 17 ++++++++++++++ recipes/wip/x11/xfce4/parole/recipe.toml | 19 +++++++++++++++ recipes/wip/x11/xfce4/parole/redox.patch | 11 +++++++++ recipes/wip/x11/xfce4/ristretto/recipe.toml | 17 ++++++++++++++ .../wip/x11/xfce4/xfce4-notifyd/recipe.toml | 23 +++++++++++++++++++ .../x11/xfce4/xfce4-screenshooter/recipe.toml | 21 +++++++++++++++++ .../x11/xfce4/xfce4-screenshooter/redox.patch | 21 +++++++++++++++++ 15 files changed, 192 insertions(+) rename recipes/wip/dev/lang/{ristretto => ristretto-jvm}/recipe.toml (100%) create mode 100644 recipes/wip/libs/media/libexif/recipe.toml create mode 100644 recipes/wip/libs/media/libexif/redox.patch create mode 100644 recipes/wip/libs/other/libical/recipe.toml create mode 100644 recipes/wip/x11/xfce4/catfish/recipe.toml create mode 100644 recipes/wip/x11/xfce4/orage/recipe.toml create mode 100644 recipes/wip/x11/xfce4/parole/recipe.toml create mode 100644 recipes/wip/x11/xfce4/parole/redox.patch create mode 100644 recipes/wip/x11/xfce4/ristretto/recipe.toml create mode 100644 recipes/wip/x11/xfce4/xfce4-notifyd/recipe.toml create mode 100644 recipes/wip/x11/xfce4/xfce4-screenshooter/recipe.toml create mode 100644 recipes/wip/x11/xfce4/xfce4-screenshooter/redox.patch diff --git a/config/x11.toml b/config/x11.toml index b6d10597..4e363f37 100644 --- a/config/x11.toml +++ b/config/x11.toml @@ -14,6 +14,7 @@ filesystem_size = 2048 adwaita-icon-theme = {} dbus = {} gtk3 = {} +libxcursor = {} # loaded dynamically #mate-common = {} mesa-demos-x11 = {} #firefox = {} diff --git a/recipes/groups/xfce4-common/recipe.toml b/recipes/groups/xfce4-common/recipe.toml index dfaaf31b..c07ea425 100644 --- a/recipes/groups/xfce4-common/recipe.toml +++ b/recipes/groups/xfce4-common/recipe.toml @@ -7,6 +7,7 @@ dependencies = [ "xfdashboard", "xfdesktop", "xfce4-appfinder", + "xfce4-notifyd", "xfce4-session", "xfce4-panel", "xfce4-power-manager", diff --git a/recipes/wip/dev/lang/ristretto/recipe.toml b/recipes/wip/dev/lang/ristretto-jvm/recipe.toml similarity index 100% rename from recipes/wip/dev/lang/ristretto/recipe.toml rename to recipes/wip/dev/lang/ristretto-jvm/recipe.toml diff --git a/recipes/wip/libs/gnome/gtksourceview/recipe.toml b/recipes/wip/libs/gnome/gtksourceview/recipe.toml index 9513e8b3..555e2925 100644 --- a/recipes/wip/libs/gnome/gtksourceview/recipe.toml +++ b/recipes/wip/libs/gnome/gtksourceview/recipe.toml @@ -2,6 +2,7 @@ [source] # later version uses GTK4 tar = "https://download.gnome.org/sources/gtksourceview/3.24/gtksourceview-3.24.9.tar.xz" +patches = ["redox.patch"] [build] template = "configure" dependencies = [ diff --git a/recipes/wip/libs/media/libexif/recipe.toml b/recipes/wip/libs/media/libexif/recipe.toml new file mode 100644 index 00000000..b0547d8b --- /dev/null +++ b/recipes/wip/libs/media/libexif/recipe.toml @@ -0,0 +1,8 @@ +[source] +tar = "https://github.com/libexif/libexif/releases/download/v0.6.26/libexif-0.6.26.tar.xz" +patches = ["redox.patch"] +[build] +template = "configure" +configureflags = [ + "--disable-docs" +] diff --git a/recipes/wip/libs/media/libexif/redox.patch b/recipes/wip/libs/media/libexif/redox.patch new file mode 100644 index 00000000..c1cf81aa --- /dev/null +++ b/recipes/wip/libs/media/libexif/redox.patch @@ -0,0 +1,21 @@ +diff --color -ruwN source/configure source-new/configure +--- source/configure 2026-04-14 15:22:14.000000000 +0700 ++++ source-new/configure 2026-05-25 18:24:23.013642280 +0700 +@@ -6862,7 +6862,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 + ;; + +@@ -13006,7 +13006,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 diff --git a/recipes/wip/libs/other/libical/recipe.toml b/recipes/wip/libs/other/libical/recipe.toml new file mode 100644 index 00000000..43b5e568 --- /dev/null +++ b/recipes/wip/libs/other/libical/recipe.toml @@ -0,0 +1,15 @@ +# TODO: requires self compiling +[source] +tar = "https://github.com/libical/libical/releases/download/v3.0.20/libical-3.0.20.tar.gz" +[build] +template = "cmake" +cmakeflags = [ + "-DLIBICAL_JAVA_BINDINGS=False", + "-DLIBICAL_GOBJECT_INTROSPECTION=False", + "-DLIBICAL_GLIB_BUILD_DOCS=False", +] +dependencies = [ + "libxml2", + "glib", + "libicu", +] diff --git a/recipes/wip/x11/xfce4/catfish/recipe.toml b/recipes/wip/x11/xfce4/catfish/recipe.toml new file mode 100644 index 00000000..34f0a760 --- /dev/null +++ b/recipes/wip/x11/xfce4/catfish/recipe.toml @@ -0,0 +1,16 @@ +[source] +tar = "https://archive.xfce.org/src/apps/catfish/4.20/catfish-4.20.1.tar.xz" + +[build] +dependencies = [ + "cairo", + "garcon", + "gdk-pixbuf", + "glib", + "gtk3", + "libxfce4ui", + "libxfce4util", + "xfconf", +] +template = "meson" +mesonflags = [] diff --git a/recipes/wip/x11/xfce4/orage/recipe.toml b/recipes/wip/x11/xfce4/orage/recipe.toml new file mode 100644 index 00000000..7b7d8a9f --- /dev/null +++ b/recipes/wip/x11/xfce4/orage/recipe.toml @@ -0,0 +1,17 @@ +[source] +tar = "https://archive.xfce.org/src/apps/orage/4.21/orage-4.21.0.tar.xz" + +[build] +dependencies = [ + "cairo", + "garcon", + "gdk-pixbuf", + "glib", + "gtk3", + "libxfce4ui", + "libxfce4util", + "xfconf", + "libical", +] +template = "meson" +mesonflags = [] diff --git a/recipes/wip/x11/xfce4/parole/recipe.toml b/recipes/wip/x11/xfce4/parole/recipe.toml new file mode 100644 index 00000000..af4e34ad --- /dev/null +++ b/recipes/wip/x11/xfce4/parole/recipe.toml @@ -0,0 +1,19 @@ +[source] +tar = "https://archive.xfce.org/src/apps/parole/4.20/parole-4.20.0.tar.xz" +patches = ["redox.patch"] + +[build] +dependencies = [ + "cairo", + "garcon", + "gdk-pixbuf", + "glib", + "gtk3", + "libxfce4ui", + "libxfce4util", + "xfconf", + "dbus-glib", + "gstreamer", +] +template = "meson" +mesonflags = [] diff --git a/recipes/wip/x11/xfce4/parole/redox.patch b/recipes/wip/x11/xfce4/parole/redox.patch new file mode 100644 index 00000000..7abc4a46 --- /dev/null +++ b/recipes/wip/x11/xfce4/parole/redox.patch @@ -0,0 +1,11 @@ +diff --color -ruwN source/src/parole-subtitle-encoding.c source-new/src/parole-subtitle-encoding.c +--- source/src/parole-subtitle-encoding.c 2025-05-21 13:46:43.000000000 +0700 ++++ source-new/src/parole-subtitle-encoding.c 2026-05-25 18:19:44.638244921 +0700 +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/recipes/wip/x11/xfce4/ristretto/recipe.toml b/recipes/wip/x11/xfce4/ristretto/recipe.toml new file mode 100644 index 00000000..84ab7a3b --- /dev/null +++ b/recipes/wip/x11/xfce4/ristretto/recipe.toml @@ -0,0 +1,17 @@ +[source] +tar = "https://archive.xfce.org/src/apps/ristretto/0.14/ristretto-0.14.0.tar.xz" + +[build] +dependencies = [ + "cairo", + "garcon", + "gdk-pixbuf", + "glib", + "gtk3", + "libxfce4ui", + "libxfce4util", + "xfconf", + "libexif", +] +template = "meson" +mesonflags = [] diff --git a/recipes/wip/x11/xfce4/xfce4-notifyd/recipe.toml b/recipes/wip/x11/xfce4/xfce4-notifyd/recipe.toml new file mode 100644 index 00000000..206ccdb7 --- /dev/null +++ b/recipes/wip/x11/xfce4/xfce4-notifyd/recipe.toml @@ -0,0 +1,23 @@ +[source] +tar = "https://archive.xfce.org/src/apps/xfce4-notifyd/0.9/xfce4-notifyd-0.9.7.tar.bz2" + +[build] +dependencies = [ + "cairo", + "gdk-pixbuf", + "gettext", + "glib", + "gtk3", + "libnotify", + "libxfce4ui", + "libxfce4util", + "sqlite3", + "xfconf", + "xfce4-panel", +] +template = "custom" +script = """ +DYNAMIC_INIT +cookbook_meson +patchelf --replace-needed "${COOKBOOK_SYSROOT}/usr/lib/libsqlite3.so" "libsqlite3.so" "${COOKBOOK_STAGE}/usr/lib/xfce4/notifyd/xfce4-notifyd" +""" diff --git a/recipes/wip/x11/xfce4/xfce4-screenshooter/recipe.toml b/recipes/wip/x11/xfce4/xfce4-screenshooter/recipe.toml new file mode 100644 index 00000000..1d0f6365 --- /dev/null +++ b/recipes/wip/x11/xfce4/xfce4-screenshooter/recipe.toml @@ -0,0 +1,21 @@ + +[source] +tar = "https://archive.xfce.org/src/apps/xfce4-screenshooter/1.11/xfce4-screenshooter-1.11.3.tar.xz" +patches = ["redox.patch"] + +[build] +dependencies = [ + "cairo", + "garcon", + "gdk-pixbuf", + "glib", + "gtk3", + "libxfce4ui", + "libxfce4util", + "xfce4-panel", + "xfconf", +] +template = "meson" +mesonflags = [ + "-Dwayland=disabled" +] diff --git a/recipes/wip/x11/xfce4/xfce4-screenshooter/redox.patch b/recipes/wip/x11/xfce4/xfce4-screenshooter/redox.patch new file mode 100644 index 00000000..23313298 --- /dev/null +++ b/recipes/wip/x11/xfce4/xfce4-screenshooter/redox.patch @@ -0,0 +1,21 @@ +diff --color -ruwN source/src/meson.build source-new/src/meson.build +--- source/src/meson.build 2025-11-06 04:42:53.000000000 +0700 ++++ source-new/src/meson.build 2026-05-25 18:43:46.412549117 +0700 +@@ -43,17 +43,3 @@ + install: true, + install_dir: get_option('prefix') / get_option('datadir') / 'metainfo', + ) +- +-help2man = find_program('help2man', required: false) +-if help2man.found() +- custom_target( +- 'xfce4-screenshooter.1', +- depends: screenshooter, +- output: 'xfce4-screenshooter.1', +- command: [ +- help2man, ['--no-info'], '--output=@OUTPUT@', screenshooter.full_path(), +- ], +- install: true, +- install_dir: get_option('prefix') / get_option('mandir') / 'man1', +- ) +-endif