mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Andreas Helmcke <ahelmcke@ela-soft.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] squashfs-tools: version bump 4.5.1 -> 4.6.1
Date: Tue, 16 Jul 2024 16:41:14 +0200	[thread overview]
Message-ID: <20240716144114.115155-2-ahelmcke@ela-soft.com> (raw)

Various bug fixes and changes.

link: https://sourceforge.net/projects/squashfs/files/squashfs/squashfs4.6.1/
link: https://sourceforge.net/projects/squashfs/files/squashfs/squashfs4.6/

Changed make options to install prebuild man pages, so patch series is no longer needed.

Signed-off-by: Andreas Helmcke <ahelmcke@ela-soft.com>
---
 .../0001-don-t-try-to-generate-manpages.patch | 21 -------------------
 patches/squashfs4.5.1/series                  |  4 ----
 rules/squashfs-tools.make                     |  9 +++++---
 3 files changed, 6 insertions(+), 28 deletions(-)
 delete mode 100644 patches/squashfs4.5.1/0001-don-t-try-to-generate-manpages.patch
 delete mode 100644 patches/squashfs4.5.1/series

diff --git a/patches/squashfs4.5.1/0001-don-t-try-to-generate-manpages.patch b/patches/squashfs4.5.1/0001-don-t-try-to-generate-manpages.patch
deleted file mode 100644
index 1dd1d6c43..000000000
--- a/patches/squashfs4.5.1/0001-don-t-try-to-generate-manpages.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Michael Olbrich <m.olbrich@pengutronix.de>
-Date: Thu, 15 Dec 2022 12:19:04 +0100
-Subject: [PATCH] don't try to generate manpages
-
-The script tries to execute mksquashfs which does not work for
-cross-compiling.
-
-Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
----
- squashfs-tools/Makefile | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/squashfs-tools/Makefile b/squashfs-tools/Makefile
-index 8b80b8a68c1b..3d147735f506 100755
---- a/squashfs-tools/Makefile
-+++ b/squashfs-tools/Makefile
-@@ -422,4 +422,3 @@ install: mksquashfs unsquashfs
- 	cp unsquashfs $(INSTALL_DIR)
- 	ln -fs unsquashfs $(INSTALL_DIR)/sqfscat
- 	ln -fs mksquashfs $(INSTALL_DIR)/sqfstar
--	../generate-manpages/install-manpages.sh $(shell pwd)/.. "$(INSTALL_MANPAGES_DIR)"
diff --git a/patches/squashfs4.5.1/series b/patches/squashfs4.5.1/series
deleted file mode 100644
index 107a293f5..000000000
--- a/patches/squashfs4.5.1/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-don-t-try-to-generate-manpages.patch
-# 44bb5fb8b1cd672d1996e5c3879b55b2  - git-ptx-patches magic
diff --git a/rules/squashfs-tools.make b/rules/squashfs-tools.make
index 91adfc2ee..7fc696f32 100644
--- a/rules/squashfs-tools.make
+++ b/rules/squashfs-tools.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_SQUASHFS_TOOLS) += squashfs-tools
 #
 # Paths and names
 #
-SQUASHFS_TOOLS_VERSION	:= 4.5.1
-SQUASHFS_TOOLS_MD5	:= 399513f5dbfbf2ceec52db0b1b30f648
+SQUASHFS_TOOLS_VERSION	:= 4.6.1
+SQUASHFS_TOOLS_MD5	:= db23a40fa0dc54b4d6d225fb20ee6555
 SQUASHFS_TOOLS		:= squashfs$(SQUASHFS_TOOLS_VERSION)
 SQUASHFS_TOOLS_SUFFIX	:= tar.gz
 SQUASHFS_TOOLS_URL	:= $(call ptx/mirror, SF, squashfs/$(SQUASHFS_TOOLS).$(SQUASHFS_TOOLS_SUFFIX))
@@ -33,10 +33,13 @@ SQUASHFS_TOOLS_LICENSE_FILES := \
 SQUASHFS_TOOLS_MAKE_PAR := NO
 SQUASHFS_TOOLS_MAKE_ENV := \
 	ZSTD_SUPPORT=$(call ptx/ifdef, PTXCONF_SQUASHFS_TOOLS_ZSTD_SUPPORT,1,0) \
-	$(CROSS_ENV)
+	$(CROSS_ENV) \
+	CONFIG=1 \
+	USE_PREBUILT_MANPAGES=y
 
 SQUASHFS_TOOLS_INSTALL_OPT := \
 	INSTALL_DIR="$(SQUASHFS_TOOLS_PKGDIR)/usr/sbin" \
+	INSTALL_MANPAGES_DIR="$(SQUASHFS_TOOLS_PKGDIR)/usr/local/man/man1" \
 	install
 
 # ----------------------------------------------------------------------------
-- 
2.43.0




             reply	other threads:[~2024-07-16 14:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-16 14:41 Andreas Helmcke [this message]
2024-07-16 14:41 ` [ptxdist] [PATCH 2/2] host-squashfs-tools: Follow target squashfs-tools Andreas Helmcke
2024-08-05  6:49   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-08-05  6:49 ` [ptxdist] [APPLIED] squashfs-tools: version bump 4.5.1 -> 4.6.1 Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240716144114.115155-2-ahelmcke@ela-soft.com \
    --to=ahelmcke@ela-soft.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox