All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-filesystems][PATCH] fuse3: add libfuse3 recipe
@ 2019-09-10 21:49 Stefan Agner
  2019-09-10 22:06 ` akuster808
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Agner @ 2019-09-10 21:49 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Stefan Agner

From: Stefan Agner <stefan.agner@toradex.com>

Add recipe for libfuse version 3 series. Follow the scheme other
distributions use and create a new recipe with 3 in its name.
To avoid conflict with the fuse (2) recipe this recipe does not
provide init scripts/configuration files which automatically load
the fuse kernel driver.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
---
 .../recipes-support/fuse/fuse3_3.6.2.bb       | 48 +++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb

diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb b/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
new file mode 100644
index 000000000..e65eb08e2
--- /dev/null
+++ b/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
@@ -0,0 +1,48 @@
+SUMMARY = "Implementation of a fully functional filesystem in a userspace program"
+DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspace \
+               programs to export a virtual filesystem to the Linux kernel. FUSE \
+               also aims to provide a secure method for non privileged users to \
+               create and mount their own filesystem implementations. \
+              "
+HOMEPAGE = "https://github.com/libfuse/libfuse"
+SECTION = "libs"
+LICENSE = "GPLv2 & LGPLv2"
+LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \
+                    file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66"
+
+SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.xz \
+"
+SRC_URI[md5sum] = "1798945aa69434286723b9999a141c7a"
+SRC_URI[sha256sum] = "f45869427575e1e59ab743a67deb57addbf2cb8f9ce431199dbd40ddab71f281"
+
+S = "${WORKDIR}/fuse-${PV}"
+
+UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases"
+UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>3(\.\d+)+).tar.xz"
+
+inherit meson pkgconfig
+
+DEPENDS = "udev"
+
+PACKAGES =+ "fuse3-utils"
+
+RPROVIDES_${PN}-dbg += "fuse3-utils-dbg"
+
+RRECOMMENDS_${PN}_class-target = "kernel-module-fuse fuse3-utils"
+
+FILES_${PN} += "${libdir}/libfuse3.so.*"
+FILES_${PN}-dev += "${libdir}/libfuse3*.la"
+
+EXTRA_OEMESON += " \
+     -Dexamples=false \
+"
+
+# Forbid auto-renaming to libfuse3-utils
+FILES_fuse3-utils = "${bindir} ${base_sbindir}"
+DEBIAN_NOAUTONAME_fuse3-utils = "1"
+DEBIAN_NOAUTONAME_${PN}-dbg = "1"
+
+do_install_append() {
+    rm -rf ${D}${base_prefix}/dev
+}
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-filesystems][PATCH] fuse3: add libfuse3 recipe
  2019-09-10 21:49 [meta-filesystems][PATCH] fuse3: add libfuse3 recipe Stefan Agner
@ 2019-09-10 22:06 ` akuster808
  2019-09-11  1:40   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: akuster808 @ 2019-09-10 22:06 UTC (permalink / raw)
  To: Stefan Agner, openembedded-devel; +Cc: Stefan Agner

Stefan,

On 9/10/19 2:49 PM, Stefan Agner wrote:
> From: Stefan Agner <stefan.agner@toradex.com>
>
> Add recipe for libfuse version 3 series. Follow the scheme other
> distributions use and create a new recipe with 3 in its name.
> To avoid conflict with the fuse (2) recipe this recipe does not
> provide init scripts/configuration files which automatically load
> the fuse kernel driver.
>
> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>

This recipe appears to already exist in meta-filesystem

https://git.openembedded.org/meta-openembedded/tree/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb

Is this a all together a different Major version that is not compatible
with the one above? or should we just update the old one?

- armin
> ---
>  .../recipes-support/fuse/fuse3_3.6.2.bb       | 48 +++++++++++++++++++
>  1 file changed, 48 insertions(+)
>  create mode 100644 meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
>
> diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb b/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
> new file mode 100644
> index 000000000..e65eb08e2
> --- /dev/null
> +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
> @@ -0,0 +1,48 @@
> +SUMMARY = "Implementation of a fully functional filesystem in a userspace program"
> +DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspace \
> +               programs to export a virtual filesystem to the Linux kernel. FUSE \
> +               also aims to provide a secure method for non privileged users to \
> +               create and mount their own filesystem implementations. \
> +              "
> +HOMEPAGE = "https://github.com/libfuse/libfuse"
> +SECTION = "libs"
> +LICENSE = "GPLv2 & LGPLv2"
> +LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
> +                    file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \
> +                    file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66"
> +
> +SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.xz \
> +"
> +SRC_URI[md5sum] = "1798945aa69434286723b9999a141c7a"
> +SRC_URI[sha256sum] = "f45869427575e1e59ab743a67deb57addbf2cb8f9ce431199dbd40ddab71f281"
> +
> +S = "${WORKDIR}/fuse-${PV}"
> +
> +UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases"
> +UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>3(\.\d+)+).tar.xz"
> +
> +inherit meson pkgconfig
> +
> +DEPENDS = "udev"
> +
> +PACKAGES =+ "fuse3-utils"
> +
> +RPROVIDES_${PN}-dbg += "fuse3-utils-dbg"
> +
> +RRECOMMENDS_${PN}_class-target = "kernel-module-fuse fuse3-utils"
> +
> +FILES_${PN} += "${libdir}/libfuse3.so.*"
> +FILES_${PN}-dev += "${libdir}/libfuse3*.la"
> +
> +EXTRA_OEMESON += " \
> +     -Dexamples=false \
> +"
> +
> +# Forbid auto-renaming to libfuse3-utils
> +FILES_fuse3-utils = "${bindir} ${base_sbindir}"
> +DEBIAN_NOAUTONAME_fuse3-utils = "1"
> +DEBIAN_NOAUTONAME_${PN}-dbg = "1"
> +
> +do_install_append() {
> +    rm -rf ${D}${base_prefix}/dev
> +}



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-filesystems][PATCH] fuse3: add libfuse3 recipe
  2019-09-10 22:06 ` akuster808
@ 2019-09-11  1:40   ` Khem Raj
  2019-09-11  8:32     ` Stefan Agner
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2019-09-11  1:40 UTC (permalink / raw)
  To: akuster808, Stefan Agner, openembedded-devel; +Cc: Stefan Agner

Hi Armin

On 9/10/19 3:06 PM, akuster808 wrote:
> Stefan,
> 
> On 9/10/19 2:49 PM, Stefan Agner wrote:
>> From: Stefan Agner <stefan.agner@toradex.com>
>>
>> Add recipe for libfuse version 3 series. Follow the scheme other
>> distributions use and create a new recipe with 3 in its name.
>> To avoid conflict with the fuse (2) recipe this recipe does not
>> provide init scripts/configuration files which automatically load
>> the fuse kernel driver.
>>
>> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
> 
> This recipe appears to already exist in meta-filesystem
> 
> https://git.openembedded.org/meta-openembedded/tree/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb
> 
> Is this a all together a different Major version that is not compatible
> with the one above? or should we just update the old one?
> 

These are different revisions which can be installed together see [1]
I think best solution is as proposed where both revisions can live 
together, we don't want to force fuse2 users to fuse3 since it could 
mean quite a bit of unplanned work. Eventually we might drop fuse2 maybe 
in 3.1+ releases if all users of fuse in OE have moved over to fuse3

[1] 
https://github.com/libfuse/libfuse/blob/master/ChangeLog.rst#libfuse-300-2016-12-08


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-filesystems][PATCH] fuse3: add libfuse3 recipe
  2019-09-11  1:40   ` Khem Raj
@ 2019-09-11  8:32     ` Stefan Agner
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Agner @ 2019-09-11  8:32 UTC (permalink / raw)
  To: Khem Raj, akuster808; +Cc: openembedded-devel, Stefan Agner

On 2019-09-11 03:40, Khem Raj wrote:
> Hi Armin
> 
> On 9/10/19 3:06 PM, akuster808 wrote:
>> Stefan,
>>
>> On 9/10/19 2:49 PM, Stefan Agner wrote:
>>> From: Stefan Agner <stefan.agner@toradex.com>
>>>
>>> Add recipe for libfuse version 3 series. Follow the scheme other
>>> distributions use and create a new recipe with 3 in its name.
>>> To avoid conflict with the fuse (2) recipe this recipe does not
>>> provide init scripts/configuration files which automatically load
>>> the fuse kernel driver.
>>>
>>> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
>>
>> This recipe appears to already exist in meta-filesystem
>>
>> https://git.openembedded.org/meta-openembedded/tree/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb
>>
>> Is this a all together a different Major version that is not compatible
>> with the one above? or should we just update the old one?
>>
> 
> These are different revisions which can be installed together see [1]
> I think best solution is as proposed where both revisions can live
> together, we don't want to force fuse2 users to fuse3 since it could
> mean quite a bit of unplanned work. Eventually we might drop fuse2
> maybe in 3.1+ releases if all users of fuse in OE have moved over to
> fuse3

Yes, fuse3 seems to be a non backward compatible release. Lots of
project still require fuse2. E.g. in ArchLinux you can see that actually
most packages still depend on fuse2:
https://www.archlinux.org/packages/extra/x86_64/fuse2/
https://www.archlinux.org/packages/extra/x86_64/fuse3/

Given that so many projects still rely on fuse2, I guess dropping fuse2
will be even further out.

--
Stefan

> 
> [1]
> https://github.com/libfuse/libfuse/blob/master/ChangeLog.rst#libfuse-300-2016-12-08


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-11  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-10 21:49 [meta-filesystems][PATCH] fuse3: add libfuse3 recipe Stefan Agner
2019-09-10 22:06 ` akuster808
2019-09-11  1:40   ` Khem Raj
2019-09-11  8:32     ` Stefan Agner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.