From bbfc9df149314e9b296219d5f1d711c81080a6d8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 11 Nov 2026 21:28:32 -0800 Subject: [PATCH] phodav: upgrade 3.0 -> 3.2 gtk-doc was replaced by gi-docgen, drop the gtk-doc class and disable the new docs, introspection and litmus options. Set the new sysusers and udev rules directories, and derive the download directory from PV. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../recipes-support/spice/phodav_3.0.bb | 24 ----------------- .../recipes-support/spice/phodav_3.2.bb | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 24 deletions(-) delete mode 100644 meta-networking/recipes-support/spice/phodav_3.0.bb create mode 100644 meta-networking/recipes-support/spice/phodav_3.2.bb diff --git a/meta-networking/recipes-support/spice/phodav_3.0.bb b/meta-networking/recipes-support/spice/phodav_3.0.bb deleted file mode 100644 index 08c65eb259..0000000000 --- a/meta-networking/recipes-support/spice/phodav_3.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "phodav is a WebDav server implementation using libsoup (RFC 4918)." -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -DEPENDS = " \ - glib-2.0 \ - libsoup \ -" - -GTKDOC_MESON_OPTION = 'gtk_doc' -GTKDOC_MESON_ENABLE_FLAG = 'enabled' -GTKDOC_MESON_DISABLE_FLAG = 'disabled' - -PACKAGECONFIG ??= "avahi" -PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi" - -inherit pkgconfig gnomebase gettext gtk-doc - -EXTRA_OEMESON += "-Dsystemdsystemunitdir=${systemd_system_unitdir}" - -SRC_URI = "https://download.gnome.org/sources/phodav/3.0/phodav-${PV}.tar.xz;name=archive" -SRC_URI[archive.sha256sum] = "392ec2d06d50300dcff1ef269a2a985304e29bce3520002fca29f2edc1d138d1" - -FILES:${PN} += "${libdir} ${systemd_system_unitdir}" diff --git a/meta-networking/recipes-support/spice/phodav_3.2.bb b/meta-networking/recipes-support/spice/phodav_3.2.bb new file mode 100644 index 0000000000..0e0f31d6e2 --- /dev/null +++ b/meta-networking/recipes-support/spice/phodav_3.2.bb @@ -0,0 +1,26 @@ +SUMMARY = "phodav is a WebDav server implementation using libsoup (RFC 4918)." +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = " \ + glib-2.0 \ + libsoup \ +" + +PACKAGECONFIG ??= "avahi" +PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi" + +inherit pkgconfig gnomebase gettext + +EXTRA_OEMESON += "-Dsystemdsystemunitdir=${systemd_system_unitdir} \ + -Dsysusersdir=${nonarch_libdir}/sysusers.d \ + -Dudevrulesdir=${nonarch_base_libdir}/udev/rules.d \ + -Dintrospection=disabled \ + -Ddocs=disabled \ + -Dlitmus=disabled \ +" + +SRC_URI = "https://download.gnome.org/sources/phodav/${@oe.utils.trim_version('${PV}', 2)}/phodav-${PV}.tar.xz;name=archive" +SRC_URI[archive.sha256sum] = "93c993066ab3aebd5b539bab9d731eac43abbb750109c895f151ca3c74a5fc82" + +FILES:${PN} += "${libdir} ${systemd_system_unitdir}"