All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe
@ 2023-03-28  6:48 cvubrugier
  2023-03-28  6:48 ` [meta-filesystems][PATCH 2/2] exfat-utils: remove recipe cvubrugier
  2023-03-28  6:57 ` [oe] [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe Martin Jansa
  0 siblings, 2 replies; 5+ messages in thread
From: cvubrugier @ 2023-03-28  6:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Christophe Vu-Brugier

From: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>

exfatprogs provides utilities to create, modify, and check exFAT file
systems on Linux. The developers of exfatprogs also maintain the Linux
kernel exFAT driver.

exfatprogs has replaced exfat-utils in Debian bookworm.

References:
 * https://github.com/exfatprogs/exfatprogs/
 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002871

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
---
 .../exfatprogs/exfatprogs_1.2.0.bb            | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.0.bb

diff --git a/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.0.bb b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.0.bb
new file mode 100644
index 000000000..0b26a215b
--- /dev/null
+++ b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.0.bb
@@ -0,0 +1,23 @@
+SUMMARY = "exFAT filesystem userspace utilities"
+DESCRIPTION = "\
+As new exfat filesystem is merged into linux-5.7 kernel, exfatprogs is \
+created as an official userspace utilities that contain all of the standard \
+utilities for creating and fixing and debugging exfat filesystem in linux \
+system. The goal of exfatprogs is to provide high performance and quality \
+at the level of exfat utilities in windows. And this software is licensed \
+under the GNU General Public License Version 2."
+HOMEPAGE = "https://github.com/${BPN}/${BPN}"
+SECTION = "universe/otherosfs"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz"
+SRC_URI[sha256sum] = "56d9a49465deafc367d428afc71c8098705a30ee19a3cdf3c5320650b8880742"
+
+UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
+UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
+
+inherit autotools
+
+RCONFLICTS:${PN} = "exfat-utils"
+RREPLACES:${PN} = "exfat-utils"
-- 
2.39.2



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

* [meta-filesystems][PATCH 2/2] exfat-utils: remove recipe
  2023-03-28  6:48 [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe cvubrugier
@ 2023-03-28  6:48 ` cvubrugier
  2023-03-28  6:57 ` [oe] [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe Martin Jansa
  1 sibling, 0 replies; 5+ messages in thread
From: cvubrugier @ 2023-03-28  6:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Christophe Vu-Brugier

From: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>

exfat-utils is superseded by exfatprogs.

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
---
 .../exfat-utils/exfat-utils_1.3.0.bb          | 24 -------------------
 1 file changed, 24 deletions(-)
 delete mode 100644 meta-filesystems/recipes-utils/exfat-utils/exfat-utils_1.3.0.bb

diff --git a/meta-filesystems/recipes-utils/exfat-utils/exfat-utils_1.3.0.bb b/meta-filesystems/recipes-utils/exfat-utils/exfat-utils_1.3.0.bb
deleted file mode 100644
index abb8fece3..000000000
--- a/meta-filesystems/recipes-utils/exfat-utils/exfat-utils_1.3.0.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-SUMMARY = "utilities to create, check, label and dump exFAT filesystem"
-DESCRIPTION = "Utilities to manage extended file allocation table filesystem. \
-This package provides tools to create, check and label the filesystem. It \
-contains \
- - dumpexfat to dump properties of the filesystem \
- - exfatfsck / fsck.exfat to report errors found on a exFAT filesystem \
- - exfatlabel to label a exFAT filesystem \
- - mkexfatfs / mkfs.exfat to create a exFAT filesystem. \
-"
-HOMEPAGE = "https://github.com/relan/exfat"
-SECTION = "universe/otherosfs"
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-SRC_URI = "https://github.com/relan/exfat/releases/download/v${PV}/${BP}.tar.gz"
-
-UPSTREAM_CHECK_URI = "https://github.com/relan/exfat/releases"
-
-DEPENDS = "virtual/libc"
-
-inherit pkgconfig autotools
-
-SRC_URI[md5sum] = "f8928571b152455e828ca0bd42af8b73"
-SRC_URI[sha256sum] = "dfebd07a7b907e2d603d3a9626e6440bd43ec6c4e8c07ccfc57ce9502b724835"
-- 
2.39.2



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

* Re: [oe] [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe
  2023-03-28  6:48 [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe cvubrugier
  2023-03-28  6:48 ` [meta-filesystems][PATCH 2/2] exfat-utils: remove recipe cvubrugier
@ 2023-03-28  6:57 ` Martin Jansa
  2023-03-28 13:24   ` Christophe Vu-Brugier
  1 sibling, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2023-03-28  6:57 UTC (permalink / raw)
  To: Christophe Vu-Brugier; +Cc: openembedded-devel, Christophe Vu-Brugier

[-- Attachment #1: Type: text/plain, Size: 2982 bytes --]

Do we need
RPROVIDES:${PN} = "exfat-utils"
as well?

It used to be necessary for automatic update from one package to its
replacement at least with opkg (I haven't tried on target migrations for
quite some time now).

On Tue, Mar 28, 2023 at 8:48 AM Christophe Vu-Brugier <
cvubrugier@fastmail.fm> wrote:

> From: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
>
> exfatprogs provides utilities to create, modify, and check exFAT file
> systems on Linux. The developers of exfatprogs also maintain the Linux
> kernel exFAT driver.
>
> exfatprogs has replaced exfat-utils in Debian bookworm.
>
> References:
>  * https://github.com/exfatprogs/exfatprogs/
>  * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002871
>
> Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
> ---
>  .../exfatprogs/exfatprogs_1.2.0.bb            | 23 +++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 meta-filesystems/recipes-utils/exfatprogs/
> exfatprogs_1.2.0.bb
>
> diff --git a/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.0.bb
> b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.0.bb
> new file mode 100644
> index 000000000..0b26a215b
> --- /dev/null
> +++ b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.0.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "exFAT filesystem userspace utilities"
> +DESCRIPTION = "\
> +As new exfat filesystem is merged into linux-5.7 kernel, exfatprogs is \
> +created as an official userspace utilities that contain all of the
> standard \
> +utilities for creating and fixing and debugging exfat filesystem in linux
> \
> +system. The goal of exfatprogs is to provide high performance and quality
> \
> +at the level of exfat utilities in windows. And this software is licensed
> \
> +under the GNU General Public License Version 2."
> +HOMEPAGE = "https://github.com/${BPN}/${BPN}"
> +SECTION = "universe/otherosfs"
> +LICENSE = "GPL-2.0-only"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +SRC_URI = "
> https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz"
> +SRC_URI[sha256sum] =
> "56d9a49465deafc367d428afc71c8098705a30ee19a3cdf3c5320650b8880742"
> +
> +UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
> +UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
> +
> +inherit autotools
> +
> +RCONFLICTS:${PN} = "exfat-utils"
> +RREPLACES:${PN} = "exfat-utils"
> --
> 2.39.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#101798):
> https://lists.openembedded.org/g/openembedded-devel/message/101798
> Mute This Topic: https://lists.openembedded.org/mt/97900208/3617156
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> Martin.Jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 5042 bytes --]

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

* Re: [oe] [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe
  2023-03-28  6:57 ` [oe] [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe Martin Jansa
@ 2023-03-28 13:24   ` Christophe Vu-Brugier
  2023-03-28 16:10     ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Christophe Vu-Brugier @ 2023-03-28 13:24 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel, Christophe Vu-Brugier

[-- Attachment #1: Type: text/plain, Size: 840 bytes --]

Hi Martin,

Thank you for your code review.

Martin Jansa wrote :
> Do we need
> RPROVIDES:${PN} = "exfat-utils"
> as well?

I hesitated on this one.

While exfatprogs provides the same tools as exfat-utils, there are a few differences.
 1. In exfat-utils, `mkfs.exfat` is a symlink to `mkexfatfs` ; exfatprogs does not provide `mkexfatfs`.
 2. Some options have different names. For instance, exfat-utils uses "-n" to set the volume label whereas exfatprogs uses "-L" (like e2fsprogs, xfsprogs).

How do we convey the message that "exfatprogs replaces exfat-utils but is not 100% compatible"?

Also, I believe that exfatprogs is better than exfat-utils.
For instance, exfatprogs correctly format drives whose sector size is 4096 bytes whereas exfat-utils does not.

With best regards,

--
Christophe Vu-Brugier


[-- Attachment #2: Type: text/html, Size: 1814 bytes --]

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

* Re: [oe] [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe
  2023-03-28 13:24   ` Christophe Vu-Brugier
@ 2023-03-28 16:10     ` Martin Jansa
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2023-03-28 16:10 UTC (permalink / raw)
  To: Christophe Vu-Brugier; +Cc: openembedded-devel, Christophe Vu-Brugier

[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]

On Tue, Mar 28, 2023 at 3:25 PM Christophe Vu-Brugier <
cvubrugier@fastmail.fm> wrote:

> While exfatprogs provides the same tools as exfat-utils, there are a few
> differences.
>  1. In exfat-utils, `mkfs.exfat` is a symlink to `mkexfatfs` ; exfatprogs
> does not provide `mkexfatfs`.
>  2. Some options have different names. For instance, exfat-utils uses "-n"
> to set the volume label whereas exfatprogs uses "-L" (like e2fsprogs,
> xfsprogs).
>
> How do we convey the message that "exfatprogs replaces exfat-utils but is
> not 100% compatible"?
>
> Also, I believe that exfatprogs is better than exfat-utils.
> For instance, exfatprogs correctly format drives whose sector size is 4096
> bytes whereas exfat-utils does not.
>

In 2/2 you've removed exfat-utils so users of exfat-utils will have to deal
with this one way or another.

Otherwise existing images will stay "stuck" with some old version of
exfat-utils and package manager won't "update" them to exfatprogs.

So it might be tricky, but if you're confident enough to remove the recipe
and to set RREPLACES/RCONFLICTS in package, then I think RPROVIDES doesn't
make it more dangerous :) - probably less, because on target update on
older image will end with the same exfatprogs as freshly baked image.

Regards,

[-- Attachment #2: Type: text/html, Size: 1953 bytes --]

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

end of thread, other threads:[~2023-03-28 16:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28  6:48 [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe cvubrugier
2023-03-28  6:48 ` [meta-filesystems][PATCH 2/2] exfat-utils: remove recipe cvubrugier
2023-03-28  6:57 ` [oe] [meta-filesystems][PATCH 1/2] exfatprogs: add new recipe Martin Jansa
2023-03-28 13:24   ` Christophe Vu-Brugier
2023-03-28 16:10     ` Martin Jansa

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.