diff mbox series

[meta-oe,2/5] phodav: add recipe

Message ID 20230825054449.2315061-2-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-oe,1/5] spice-guest-vdagent: add recipe | expand

Commit Message

Markus Volk Aug. 25, 2023, 5:44 a.m. UTC
phodav is a small webdav server, that was originally created as a tool to
provide folder sharing for spice but it can be used on a wider range
of applications.

It is usable e.g. in virt-viewer or gnome-boxes

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../recipes-support/spice/phodav_3.0.bb       | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-networking/recipes-support/spice/phodav_3.0.bb

Comments

Martin Jansa Aug. 30, 2023, 7:29 a.m. UTC | #1
Doesn't seem to respect paths set in bitbake.conf:

ERROR: lib32-phodav-3.0-r0 do_package: QA Issue: lib32-phodav:
Files/directories were installed but not shipped in any package:
  /usr/lib/systemd
  /usr/lib/systemd/system
  /usr/lib/systemd/system/spice-webdavd.service
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
lib32-phodav: 3 installed and not shipped files. [installed-vs-shipped]

will send a fix for this one.

On Fri, Aug 25, 2023 at 7:45 AM Markus Volk <f_l_k@t-online.de> wrote:

> phodav is a small webdav server, that was originally created as a tool to
> provide folder sharing for spice but it can be used on a wider range
> of applications.
>
> It is usable e.g. in virt-viewer or gnome-boxes
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  .../recipes-support/spice/phodav_3.0.bb       | 23 +++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 meta-networking/recipes-support/spice/phodav_3.0.bb
>
> diff --git a/meta-networking/recipes-support/spice/phodav_3.0.bb
> b/meta-networking/recipes-support/spice/phodav_3.0.bb
> new file mode 100644
> index 0000000000..03e3caee27
> --- /dev/null
> +++ b/meta-networking/recipes-support/spice/phodav_3.0.bb
> @@ -0,0 +1,23 @@
> +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 \
> +"
> +
> +GNOMEBASEBUILDCLASS = "meson"
> +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
> +
> +SRC_URI = "
> https://download.gnome.org/sources/phodav/3.0/phodav-${PV}.tar.xz;name=archive
> "
> +SRC_URI[archive.sha256sum] =
> "392ec2d06d50300dcff1ef269a2a985304e29bce3520002fca29f2edc1d138d1"
> +
> +FILES:${PN} += "${libdir}"
> --
> 2.41.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#104594):
> https://lists.openembedded.org/g/openembedded-devel/message/104594
> Mute This Topic: https://lists.openembedded.org/mt/100950816/3617156
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> Martin.Jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Markus Volk Aug. 30, 2023, 8:09 a.m. UTC | #2
On Wed, Aug 30 2023 at 09:29:58 AM +02:00:00, Martin Jansa 
<martin.jansa@gmail.com> wrote:
> will send a fix for this one.

Thanks a lot, also for pointing out the other issues. I'll send patches 
for them
Martin Jansa Aug. 30, 2023, 3:02 p.m. UTC | #3
Thanks for quick fixes for 1/3 and 2/3 (already tested in my environment,
LGTM), but was there some 3/3 (possibly with fix for libosinfo? - I've just
disabled vala temporarily in .bbappend before triggering next world build
here)

https://patchwork.yoctoproject.org/project/oe/list/?series=16108 shows only
the first 2.

On Wed, Aug 30, 2023 at 10:09 AM Markus Volk <f_l_k@t-online.de> wrote:

> On Wed, Aug 30 2023 at 09:29:58 AM +02:00:00, Martin Jansa <
> martin.jansa@gmail.com> wrote:
>
> will send a fix for this one.
>
>
> Thanks a lot, also for pointing out the other issues. I'll send patches
> for them
>
Markus Volk Aug. 30, 2023, 4:27 p.m. UTC | #4
On Wed, Aug 30 2023 at 05:02:00 PM +02:00:00, Martin Jansa 
<martin.jansa@gmail.com> wrote:
> but was there some 3/3 (possibly with fix for libosinfo?

Yes, 3/3 should have been the fix for libosinfo but it returned to 
sender. I've sent it once again
Markus Volk Aug. 30, 2023, 5:18 p.m. UTC | #5
On Wed, Aug 30 2023 at 06:27:37 PM +02:00:00, Markus Volk 
<f_l_k@t-online.de> wrote:
> but was there some 3/3 (possibly with fix for libosinfo?

One sidenote to libosinfo. It requests that /usr/share/pci.ids file 
exists uncompressed but by default the recipe in oe-core creates a 
'pci.ids.gz'. I locally avoid this by overriding PCI_CONF_FLAG from a 
bbappend to contain ZLIB=no
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/spice/phodav_3.0.bb b/meta-networking/recipes-support/spice/phodav_3.0.bb
new file mode 100644
index 0000000000..03e3caee27
--- /dev/null
+++ b/meta-networking/recipes-support/spice/phodav_3.0.bb
@@ -0,0 +1,23 @@ 
+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 \
+"
+
+GNOMEBASEBUILDCLASS = "meson"
+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
+
+SRC_URI = "https://download.gnome.org/sources/phodav/3.0/phodav-${PV}.tar.xz;name=archive"
+SRC_URI[archive.sha256sum] = "392ec2d06d50300dcff1ef269a2a985304e29bce3520002fca29f2edc1d138d1"
+
+FILES:${PN} += "${libdir}"