[ptxdist] [PATCH] wayland-protocols: Version bump. 1.35 -> 1.36

2024-05-17 Thread Christian Melki
Minor bugfix.
https://lists.freedesktop.org/archives/wayland-devel/2024-April/043572.html

Signed-off-by: Christian Melki 
---
 rules/wayland-protocols.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/wayland-protocols.make b/rules/wayland-protocols.make
index 066e9b000..8dad5d220 100644
--- a/rules/wayland-protocols.make
+++ b/rules/wayland-protocols.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_WAYLAND_PROTOCOLS) += wayland-protocols
 #
 # Paths and names
 #
-WAYLAND_PROTOCOLS_VERSION  := 1.35
-WAYLAND_PROTOCOLS_MD5  := cd0f2a1ab6e54568e4f856f140dedca9
+WAYLAND_PROTOCOLS_VERSION  := 1.36
+WAYLAND_PROTOCOLS_MD5  := d733380202a75ca837744e65b4dbadc5
 WAYLAND_PROTOCOLS  := 
wayland-protocols-$(WAYLAND_PROTOCOLS_VERSION)
 WAYLAND_PROTOCOLS_SUFFIX   := tar.xz
 WAYLAND_PROTOCOLS_URL  := 
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$(WAYLAND_PROTOCOLS_VERSION)/downloads/$(WAYLAND_PROTOCOLS).$(WAYLAND_PROTOCOLS_SUFFIX)
-- 
2.34.1




[ptxdist] [PATCH v2] exfatprogs: new package

2024-05-17 Thread Ian Abbott
Signed-off-by: Ian Abbott 
---
v2: Use `-` as `` parameter of the `install_copy` calls.  Thanks
to Michael Olbrich for pointing this out.
---
 rules/exfatprogs.in   | 57 
 rules/exfatprogs.make | 76 +++
 2 files changed, 133 insertions(+)
 create mode 100644 rules/exfatprogs.in
 create mode 100644 rules/exfatprogs.make

diff --git a/rules/exfatprogs.in b/rules/exfatprogs.in
new file mode 100644
index 0..07658ff35
--- /dev/null
+++ b/rules/exfatprogs.in
@@ -0,0 +1,57 @@
+## SECTION=disk_and_file
+
+menuconfig EXFATPROGS
+   tristate
+   prompt "exfatprogs"
+   help
+ exFAT (Extensible File Allocation Table) is a filesystem
+ introduced by Microsoft in 2006 commonly used on USB flash
+ drives and SDXC cards.  It was proprietary until 2019 when
+ Microsoft published the exFAT specification and released the
+ patent to the Open Invention Network.
+
+ The exfatprogs package provides the filesystem utilities for
+ use with the exFAT filesystem.
+
+if EXFATPROGS
+
+config EXFATPROGS_DUMP_EXFAT
+   bool
+   prompt "dump.exfat"
+   help
+ Show on-disk information of an exFAT filesystem.
+
+config EXFATPROGS_EXFAT2IMG
+   bool
+   prompt "exfat2img"
+   help
+ Dump metadata of an exFAT filesystem.
+
+config EXFATPROGS_EXFATLABEL
+   bool
+   prompt "exfatlabel"
+   help
+ Get or set volume label or volume serial of an exFAT
+ filesystem.
+
+config EXFATPROGS_FSCK_EXFAT
+   bool
+   prompt "fsck.exfat"
+   help
+ Check an exFAT filesystem.
+
+config EXFATPROGS_MKFS_EXFAT
+   bool
+   prompt "mkfs.exfat"
+   help
+ Create an exFAT filesystem.
+
+config EXFATPROGS_TUNE_EXFAT
+   bool
+   prompt "tune.exfat"
+   help
+ Adjust tunable filesystem parameters on an exFAT filesystem.
+
+endif
+
+# vim: ft=kconfig noet tw=72 ts=8 sw=8
diff --git a/rules/exfatprogs.make b/rules/exfatprogs.make
new file mode 100644
index 0..789aa9f06
--- /dev/null
+++ b/rules/exfatprogs.make
@@ -0,0 +1,76 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Ian Abbott 
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_EXFATPROGS) += exfatprogs
+
+#
+# Paths and names
+#
+EXFATPROGS_VERSION := 1.2.2
+EXFATPROGS_MD5 := cbe2a6529b4972fc2cc260553f28f983
+EXFATPROGS := exfatprogs-$(EXFATPROGS_VERSION)
+EXFATPROGS_SUFFIX  := tar.xz
+EXFATPROGS_URL := 
https://github.com/exfatprogs/exfatprogs/releases/download/$(EXFATPROGS_VERSION)/$(EXFATPROGS).$(EXFATPROGS_SUFFIX)
+EXFATPROGS_SOURCE  := $(SRCDIR)/$(EXFATPROGS).$(EXFATPROGS_SUFFIX)
+EXFATPROGS_DIR := $(BUILDDIR)/$(EXFATPROGS)
+EXFATPROGS_LICENSE := GPL-2.0
+EXFATPROGS_LICENSE_FILES   := 
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
+
+# 
+# Prepare
+# 
+
+EXFATPROGS_CONF_ENV:= $(CROSS_ENV)
+
+#
+# autoconf
+#
+EXFATPROGS_CONF_TOOL   := autoconf
+EXFATPROGS_CONF_OPT:=  \
+   $(CROSS_AUTOCONF_USR)
+
+# 
+# Target-Install
+# 
+
+$(STATEDIR)/exfatprogs.targetinstall:
+   @$(call targetinfo)
+
+   @$(call install_init, exfatprogs)
+   @$(call install_fixup, exfatprogs,PRIORITY,optional)
+   @$(call install_fixup, exfatprogs,SECTION,base)
+   @$(call install_fixup, exfatprogs,AUTHOR,"Ian Abbott 
")
+   @$(call install_fixup, exfatprogs,DESCRIPTION,missing)
+
+ifdef PTXCONF_EXFATPROGS_DUMP_EXFAT
+   @$(call install_copy, exfatprogs, 0, 0, 0755, -, /usr/sbin/dump.exfat)
+endif
+ifdef PTXCONF_EXFATPROGS_EXFAT2IMG
+   @$(call install_copy, exfatprogs, 0, 0, 0755, -, /usr/sbin/exfat2img)
+endif
+ifdef PTXCONF_EXFATPROGS_EXFATLABEL
+   @$(call install_copy, exfatprogs, 0, 0, 0755, -, /usr/sbin/exfatlabel)
+endif
+ifdef PTXCONF_EXFATPROGS_FSCK_EXFAT
+   @$(call install_copy, exfatprogs, 0, 0, 0755, -, /usr/sbin/fsck.exfat)
+endif
+ifdef PTXCONF_EXFATPROGS_MKFS_EXFAT
+   @$(call install_copy, exfatprogs, 0, 0, 0755, -, /usr/sbin/mkfs.exfat)
+endif
+ifdef PTXCONF_EXFATPROGS_TUNE_EXFAT
+   @$(call install_copy, exfatprogs, 0, 0, 0755, -, /usr/sbin/tune.exfat)
+endif
+
+   @$(call install_finish, exfatprogs)
+
+   @$(call touch)
+
+# vim: syntax=make
-- 
2.43.0




[ptxdist] [PATCH] mtd-utils: Fix mount.ubifs dependencies

2024-05-17 Thread Ian Abbott
The mount.ubifs UBIFS mount helper script does not get installed unless
mtd-utils is configured with `--with-ubifs`.  That is controlled by the
PTXCONF_MTD_UTILS_UBIFS variable.  Make the PTXdist
MTD_UTILS_UBIFS_MOUNTHELPER configuration option select the
MTD_UTILS_UBIFS_UBIFS configuration option.  (Note: MTD_UTILS_UBIFS is
currently only selected by MTD_UTILS_MKFS_UBIFS.)

Fixes: 9b9185a7696e ("mtd-utils: Add support for ubifs mount helper")
Signed-off-by: Ian Abbott 
---
 rules/mtd-utils.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
index 8cc55caba..00dba7c1d 100644
--- a/rules/mtd-utils.in
+++ b/rules/mtd-utils.in
@@ -291,6 +291,7 @@ config MTD_UTILS_UBIFORMAT
 config MTD_UTILS_UBIFS_MOUNTHELPER
bool
prompt "mount.ubifs"
+   select MTD_UTILS_UBIFS
help
  Simplifies attaching an ubi and mounting an ubifs via /etc/fstab.
 
-- 
2.43.0




Re: [ptxdist] [PATCH] exfatprogs: new package

2024-05-17 Thread Michael Olbrich
On Fri, May 17, 2024 at 01:51:38PM +0100, Ian Abbott wrote:
> Signed-off-by: Ian Abbott 
> ---
>  rules/exfatprogs.in   | 57 
>  rules/exfatprogs.make | 76 +++
>  2 files changed, 133 insertions(+)
>  create mode 100644 rules/exfatprogs.in
>  create mode 100644 rules/exfatprogs.make
> 
> diff --git a/rules/exfatprogs.in b/rules/exfatprogs.in
> new file mode 100644
> index 0..07658ff35
> --- /dev/null
> +++ b/rules/exfatprogs.in
> @@ -0,0 +1,57 @@
> +## SECTION=disk_and_file
> +
> +menuconfig EXFATPROGS
> + tristate
> + prompt "exfatprogs"
> + help
> +   exFAT (Extensible File Allocation Table) is a filesystem
> +   introduced by Microsoft in 2006 commonly used on USB flash
> +   drives and SDXC cards.  It was proprietary until 2019 when
> +   Microsoft published the exFAT specification and released the
> +   patent to the Open Invention Network.
> +
> +   The exfatprogs package provides the filesystem utilities for
> +   use with the exFAT filesystem.
> +
> +if EXFATPROGS
> +
> +config EXFATPROGS_DUMP_EXFAT
> + bool
> + prompt "dump.exfat"
> + help
> +   Show on-disk information of an exFAT filesystem.
> +
> +config EXFATPROGS_EXFAT2IMG
> + bool
> + prompt "exfat2img"
> + help
> +   Dump metadata of an exFAT filesystem.
> +
> +config EXFATPROGS_EXFATLABEL
> + bool
> + prompt "exfatlabel"
> + help
> +   Get or set volume label or volume serial of an exFAT
> +   filesystem.
> +
> +config EXFATPROGS_FSCK_EXFAT
> + bool
> + prompt "fsck.exfat"
> + help
> +   Check an exFAT filesystem.
> +
> +config EXFATPROGS_MKFS_EXFAT
> + bool
> + prompt "mkfs.exfat"
> + help
> +   Create an exFAT filesystem.
> +
> +config EXFATPROGS_TUNE_EXFAT
> + bool
> + prompt "tune.exfat"
> + help
> +   Adjust tunable filesystem parameters on an exFAT filesystem.
> +
> +endif
> +
> +# vim: ft=kconfig noet tw=72 ts=8 sw=8
> diff --git a/rules/exfatprogs.make b/rules/exfatprogs.make
> new file mode 100644
> index 0..ff0b3209e
> --- /dev/null
> +++ b/rules/exfatprogs.make
> @@ -0,0 +1,76 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2024 by Ian Abbott 
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_EXFATPROGS) += exfatprogs
> +
> +#
> +# Paths and names
> +#
> +EXFATPROGS_VERSION   := 1.2.2
> +EXFATPROGS_MD5   := cbe2a6529b4972fc2cc260553f28f983
> +EXFATPROGS   := exfatprogs-$(EXFATPROGS_VERSION)
> +EXFATPROGS_SUFFIX:= tar.xz
> +EXFATPROGS_URL   := 
> https://github.com/exfatprogs/exfatprogs/releases/download/$(EXFATPROGS_VERSION)/$(EXFATPROGS).$(EXFATPROGS_SUFFIX)
> +EXFATPROGS_SOURCE:= $(SRCDIR)/$(EXFATPROGS).$(EXFATPROGS_SUFFIX)
> +EXFATPROGS_DIR   := $(BUILDDIR)/$(EXFATPROGS)
> +EXFATPROGS_LICENSE   := GPL-2.0
> +EXFATPROGS_LICENSE_FILES := 
> file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> +
> +# 
> 
> +# Prepare
> +# 
> 
> +
> +EXFATPROGS_CONF_ENV  := $(CROSS_ENV)
> +
> +#
> +# autoconf
> +#
> +EXFATPROGS_CONF_TOOL := autoconf
> +EXFATPROGS_CONF_OPT  :=  \
> + $(CROSS_AUTOCONF_USR)
> +
> +# 
> 
> +# Target-Install
> +# 
> 
> +
> +$(STATEDIR)/exfatprogs.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, exfatprogs)
> + @$(call install_fixup, exfatprogs,PRIORITY,optional)
> + @$(call install_fixup, exfatprogs,SECTION,base)
> + @$(call install_fixup, exfatprogs,AUTHOR,"Ian Abbott 
> ")
> + @$(call install_fixup, exfatprogs,DESCRIPTION,missing)
> +
> +ifdef PTXCONF_EXFATPROGS_DUMP_EXFAT
> + @$(call install_copy, exfatprogs, 0, 0, 0755, 
> $(EXFATPROGS_DIR)/dump/dump.exfat, /usr/sbin/dump.exfat)

@$(call install_copy, exfatprogs, 0, 0, 0755, -, /usr/sbin/dump.exfat)

The install stage install the file to $(EXFATPROGS_PKGDIR)/usr/sbin/dump.exfat
and it will be used automatically with the '-' as used above.

Same for all the others below.

Michael

> +endif
> +ifdef PTXCONF_EXFATPROGS_EXFAT2IMG
> + @$(call install_copy, exfatprogs, 0, 0, 0755, 
> $(EXFATPROGS_DIR)/exfat2img/exfat2img, /usr/sbin/exfat2img)
> +endif
> +ifdef PTXCONF_EXFATPROGS_EXFATLABEL
> + @$(call install_copy, exfatprogs, 0, 0, 0755, 
> $(EXFATPROGS_DIR)/label/exfatlabel, /usr/sbin/exfatlabel)
> +endif
> +ifdef PTXCONF_EXFATPROGS_FSCK_EXFAT
> + @$(call install_copy, exfatprogs, 0, 0, 0755, 
> 

[ptxdist] [PATCH] exfatprogs: new package

2024-05-17 Thread Ian Abbott
Signed-off-by: Ian Abbott 
---
 rules/exfatprogs.in   | 57 
 rules/exfatprogs.make | 76 +++
 2 files changed, 133 insertions(+)
 create mode 100644 rules/exfatprogs.in
 create mode 100644 rules/exfatprogs.make

diff --git a/rules/exfatprogs.in b/rules/exfatprogs.in
new file mode 100644
index 0..07658ff35
--- /dev/null
+++ b/rules/exfatprogs.in
@@ -0,0 +1,57 @@
+## SECTION=disk_and_file
+
+menuconfig EXFATPROGS
+   tristate
+   prompt "exfatprogs"
+   help
+ exFAT (Extensible File Allocation Table) is a filesystem
+ introduced by Microsoft in 2006 commonly used on USB flash
+ drives and SDXC cards.  It was proprietary until 2019 when
+ Microsoft published the exFAT specification and released the
+ patent to the Open Invention Network.
+
+ The exfatprogs package provides the filesystem utilities for
+ use with the exFAT filesystem.
+
+if EXFATPROGS
+
+config EXFATPROGS_DUMP_EXFAT
+   bool
+   prompt "dump.exfat"
+   help
+ Show on-disk information of an exFAT filesystem.
+
+config EXFATPROGS_EXFAT2IMG
+   bool
+   prompt "exfat2img"
+   help
+ Dump metadata of an exFAT filesystem.
+
+config EXFATPROGS_EXFATLABEL
+   bool
+   prompt "exfatlabel"
+   help
+ Get or set volume label or volume serial of an exFAT
+ filesystem.
+
+config EXFATPROGS_FSCK_EXFAT
+   bool
+   prompt "fsck.exfat"
+   help
+ Check an exFAT filesystem.
+
+config EXFATPROGS_MKFS_EXFAT
+   bool
+   prompt "mkfs.exfat"
+   help
+ Create an exFAT filesystem.
+
+config EXFATPROGS_TUNE_EXFAT
+   bool
+   prompt "tune.exfat"
+   help
+ Adjust tunable filesystem parameters on an exFAT filesystem.
+
+endif
+
+# vim: ft=kconfig noet tw=72 ts=8 sw=8
diff --git a/rules/exfatprogs.make b/rules/exfatprogs.make
new file mode 100644
index 0..ff0b3209e
--- /dev/null
+++ b/rules/exfatprogs.make
@@ -0,0 +1,76 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Ian Abbott 
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_EXFATPROGS) += exfatprogs
+
+#
+# Paths and names
+#
+EXFATPROGS_VERSION := 1.2.2
+EXFATPROGS_MD5 := cbe2a6529b4972fc2cc260553f28f983
+EXFATPROGS := exfatprogs-$(EXFATPROGS_VERSION)
+EXFATPROGS_SUFFIX  := tar.xz
+EXFATPROGS_URL := 
https://github.com/exfatprogs/exfatprogs/releases/download/$(EXFATPROGS_VERSION)/$(EXFATPROGS).$(EXFATPROGS_SUFFIX)
+EXFATPROGS_SOURCE  := $(SRCDIR)/$(EXFATPROGS).$(EXFATPROGS_SUFFIX)
+EXFATPROGS_DIR := $(BUILDDIR)/$(EXFATPROGS)
+EXFATPROGS_LICENSE := GPL-2.0
+EXFATPROGS_LICENSE_FILES   := 
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
+
+# 
+# Prepare
+# 
+
+EXFATPROGS_CONF_ENV:= $(CROSS_ENV)
+
+#
+# autoconf
+#
+EXFATPROGS_CONF_TOOL   := autoconf
+EXFATPROGS_CONF_OPT:=  \
+   $(CROSS_AUTOCONF_USR)
+
+# 
+# Target-Install
+# 
+
+$(STATEDIR)/exfatprogs.targetinstall:
+   @$(call targetinfo)
+
+   @$(call install_init, exfatprogs)
+   @$(call install_fixup, exfatprogs,PRIORITY,optional)
+   @$(call install_fixup, exfatprogs,SECTION,base)
+   @$(call install_fixup, exfatprogs,AUTHOR,"Ian Abbott 
")
+   @$(call install_fixup, exfatprogs,DESCRIPTION,missing)
+
+ifdef PTXCONF_EXFATPROGS_DUMP_EXFAT
+   @$(call install_copy, exfatprogs, 0, 0, 0755, 
$(EXFATPROGS_DIR)/dump/dump.exfat, /usr/sbin/dump.exfat)
+endif
+ifdef PTXCONF_EXFATPROGS_EXFAT2IMG
+   @$(call install_copy, exfatprogs, 0, 0, 0755, 
$(EXFATPROGS_DIR)/exfat2img/exfat2img, /usr/sbin/exfat2img)
+endif
+ifdef PTXCONF_EXFATPROGS_EXFATLABEL
+   @$(call install_copy, exfatprogs, 0, 0, 0755, 
$(EXFATPROGS_DIR)/label/exfatlabel, /usr/sbin/exfatlabel)
+endif
+ifdef PTXCONF_EXFATPROGS_FSCK_EXFAT
+   @$(call install_copy, exfatprogs, 0, 0, 0755, 
$(EXFATPROGS_DIR)/fsck/fsck.exfat, /usr/sbin/fsck.exfat)
+endif
+ifdef PTXCONF_EXFATPROGS_MKFS_EXFAT
+   @$(call install_copy, exfatprogs, 0, 0, 0755, 
$(EXFATPROGS_DIR)/mkfs/mkfs.exfat, /usr/sbin/mkfs.exfat)
+endif
+ifdef PTXCONF_EXFATPROGS_TUNE_EXFAT
+   @$(call install_copy, exfatprogs, 0, 0, 0755, 
$(EXFATPROGS_DIR)/tune/tune.exfat, /usr/sbin/tune.exfat)
+endif
+
+   @$(call install_finish, exfatprogs)
+
+   @$(call touch)
+
+# vim: syntax=make
-- 
2.43.0