Skip to contentSkip to conversation

package/xxhash: bump to version 0.8.1

PATCH Applied Fabrice Fontaine 2 participants 2 messages Jan 1, 2022 – Jan 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/xxhash: bump to version 0.8.1

- Drop first patch (already in version)
- Refresh upstream status of latest patch
- Update hash of LICENSE and add cli/COPYING:
https://github.com/Cyan4973/xxHash/commit/85e1ea2ab0d90463b804f4a65b0f67d99718c6f8

https://github.com/Cyan4973/xxHash/releases/tag/v0.8.1

---
 ...h => 0001-fix-man-page-installation.patch} |  0
 .../0001-fixed-man-page-installation.patch    | 31 -------------------
 ...efile-add-dedicated-install-targets.patch} |  8 ++---
 package/xxhash/xxhash.hash                    |  5 +--
 package/xxhash/xxhash.mk                      |  4 +--
 5 files changed, 8 insertions(+), 40 deletions(-)
 rename package/xxhash/{0002-fix-man-page-installation.patch => 0001-fix-man-page-installation.patch} (100%)
 delete mode 100644 package/xxhash/0001-fixed-man-page-installation.patch
 rename package/xxhash/{0003-Makefile-add-dedicated-install-targets.patch => 0002-Makefile-add-dedicated-install-targets.patch} (94%)
package/xxhash/0001-fix-man-page-installation.patch renamed from package/xxhash/0002-fix-man-page-installation.patch +0 -0
similarity index 100%
rename from package/xxhash/0002-fix-man-page-installation.patch
rename to package/xxhash/0001-fix-man-page-installation.patch
package/xxhash/0001-fixed-man-page-installation.patch deleted +0 -31
deleted file mode 100644
index a9f68db4b4..0000000000
@@ -1,31 +0,0 @@
-From e345ccaf4daa8c35698ab02c0de346fcc0ca9ef6 Mon Sep 17 00:00:00 2001
-From: Yann Collet <[email protected]>
-Date: Fri, 6 Aug 2021 15:29:32 -0700
-Subject: [PATCH] fixed man page installation
-
-[Retrieved from:
-https://github.com/Cyan4973/xxHash/commit/e345ccaf4daa8c35698ab02c0de346fcc0ca9ef6]
-Signed-off-by: Fabrice Fontaine <[email protected]>
----
- Makefile | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index b8552a9f..556a32a0 100644
---- a/Makefile
-+++ b/Makefile
-@@ -498,10 +498,10 @@ endif
- 	$(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh64sum
- 	$(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh128sum
- 	@echo Installing man pages
--	$(Q)$(INSTALL_DATA) xxhsum.1 $(DESTDIR)$(MANDIR)/xxhsum.1
--	$(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh32sum.1
--	$(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh64sum.1
--	$(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh128sum.1
-+	$(Q)$(INSTALL_DATA) $(MAN) $(DESTDIR)$(MANDIR)/xxhsum.1
-+	$(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh32sum.1
-+	$(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh64sum.1
-+	$(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh128sum.1
- 	@echo xxhash installation completed
- 
- .PHONY: uninstall
package/xxhash/0002-Makefile-add-dedicated-install-targets.patch renamed from package/xxhash/0003-Makefile-add-dedicated-install-targets.patch +3 -5
similarity index 94%
rename from package/xxhash/0003-Makefile-add-dedicated-install-targets.patch
rename to package/xxhash/0002-Makefile-add-dedicated-install-targets.patch
index 0607c8ee82..17d34a0823 100644
@@ -10,13 +10,14 @@ This is especially useful on embedded systems where dynamic library is
 not always supported by toolchains
 
 Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: https://github.com/Cyan4973/xxHash/pull/665]
+[Retrieved from:
+https://github.com/Cyan4973/xxHash/commit/db9c199e99f7b4d419647b1ef49c547fc2547516]
 ---
  Makefile | 18 +++++++++++++++---
  1 file changed, 15 insertions(+), 3 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index 8d4fcd2..5fe7297 100644
+index 8d4fcd21..5fe72972 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -505,11 +505,14 @@ libxxhash.pc: libxxhash.pc.in
@@ -68,6 +69,3 @@ index 8d4fcd2..5fe7297 100644
  	@echo xxhash installation completed
  
  .PHONY: uninstall
--- 
-2.33.0
-
package/xxhash/xxhash.hash +3 -2
index feb5000808..2c99236a45 100644
@@ -1,3 +1,4 @@
 # locally computed
-sha256  7054c3ebd169c97b64a92d7b994ab63c70dd53a06974f1f630ab782c28db0f4f  xxhash-0.8.0.tar.gz
-sha256  9da63520e9293d82c4b1613be5c84058cadb82b02f5972179bad13731d589910  LICENSE
+sha256  3bb6b7d6f30c591dd65aaaff1c8b7a5b94d81687998ca9400082c739a690436c  xxhash-0.8.1.tar.gz
+sha256  553d0035773ddd1590045f8fdc3a4c6ead31e36336721aeca8421e88ed1c9f80  LICENSE
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  cli/COPYING
package/xxhash/xxhash.mk +2 -2
index 3e7f3244b3..a8f8d1d179 100644
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-XXHASH_VERSION = 0.8.0
+XXHASH_VERSION = 0.8.1
 XXHASH_SITE = $(call github,Cyan4973,xxHash,v$(XXHASH_VERSION))
 XXHASH_LICENSE = BSD-2-Clause (library), GPL-2.0+ (xxhsum)
-XXHASH_LICENSE_FILES = LICENSE
+XXHASH_LICENSE_FILES = LICENSE cli/COPYING
 XXHASH_INSTALL_STAGING = YES
 
 XXHASH_TARGETS = xxhsum
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · Fabrice Fontaine

- Drop first patch (already in version)
- Refresh upstream status of latest patch
- Update hash of LICENSE and add cli/COPYING:

   https://github.com/Cyan4973/xxHash/commit/85e1ea2ab0d90463b804f4a65b0f67d99718c6f8

https://github.com/Cyan4973/xxHash/releases/tag/v0.8.1

Applied to master, thanks.

Regards,
Arnout

Quoted 102 lines
---
  ...h => 0001-fix-man-page-installation.patch} |  0
  .../0001-fixed-man-page-installation.patch    | 31 -------------------
  ...efile-add-dedicated-install-targets.patch} |  8 ++---
  package/xxhash/xxhash.hash                    |  5 +--
  package/xxhash/xxhash.mk                      |  4 +--
  5 files changed, 8 insertions(+), 40 deletions(-)

rename package/xxhash/{0002-fix-man-page-installation.patch => 0001-fix-man-page-installation.patch} (100%) delete mode 100644 package/xxhash/0001-fixed-man-page-installation.patch
rename package/xxhash/{0003-Makefile-add-dedicated-install-targets.patch => 0002-Makefile-add-dedicated-install-targets.patch} (94%)

package/xxhash/0001-fix-man-page-installation.patch renamed from package/xxhash/0002-fix-man-page-installation.patch +0 -0
similarity index 100%
rename from package/xxhash/0002-fix-man-page-installation.patch
rename to package/xxhash/0001-fix-man-page-installation.patch
package/xxhash/0001-fixed-man-page-installation.patch deleted +0 -31
deleted file mode 100644
index a9f68db4b4..0000000000
@@ -1,31 +0,0 @@
-From e345ccaf4daa8c35698ab02c0de346fcc0ca9ef6 Mon Sep 17 00:00:00 2001
-From: Yann Collet <[email protected]>
-Date: Fri, 6 Aug 2021 15:29:32 -0700
-Subject: [PATCH] fixed man page installation
-
-[Retrieved from:
-https://github.com/Cyan4973/xxHash/commit/e345ccaf4daa8c35698ab02c0de346fcc0ca9ef6]
-Signed-off-by: Fabrice Fontaine <[email protected]>
----
- Makefile | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index b8552a9f..556a32a0 100644
---- a/Makefile
-+++ b/Makefile
-@@ -498,10 +498,10 @@ endif
- 	$(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh64sum
- 	$(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh128sum
- 	@echo Installing man pages
--	$(Q)$(INSTALL_DATA) xxhsum.1 $(DESTDIR)$(MANDIR)/xxhsum.1
--	$(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh32sum.1
--	$(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh64sum.1
--	$(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh128sum.1
-+	$(Q)$(INSTALL_DATA) $(MAN) $(DESTDIR)$(MANDIR)/xxhsum.1
-+	$(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh32sum.1
-+	$(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh64sum.1
-+	$(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh128sum.1
- 	@echo xxhash installation completed
-
- .PHONY: uninstall
package/xxhash/0002-Makefile-add-dedicated-install-targets.patch renamed from package/xxhash/0003-Makefile-add-dedicated-install-targets.patch +3 -5
similarity index 94%
rename from package/xxhash/0003-Makefile-add-dedicated-install-targets.patch
rename to package/xxhash/0002-Makefile-add-dedicated-install-targets.patch
index 0607c8ee82..17d34a0823 100644
@@ -10,13 +10,14 @@ This is especially useful on embedded systems where dynamic library is
  not always supported by toolchains
 
  Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: https://github.com/Cyan4973/xxHash/pull/665]
+[Retrieved from:
+https://github.com/Cyan4973/xxHash/commit/db9c199e99f7b4d419647b1ef49c547fc2547516]
  ---
   Makefile | 18 +++++++++++++++---
   1 file changed, 15 insertions(+), 3 deletions(-)
 
  diff --git a/Makefile b/Makefile
-index 8d4fcd2..5fe7297 100644
+index 8d4fcd21..5fe72972 100644
  --- a/Makefile
  +++ b/Makefile
  @@ -505,11 +505,14 @@ libxxhash.pc: libxxhash.pc.in
@@ -68,6 +69,3 @@ index 8d4fcd2..5fe7297 100644
   	@echo xxhash installation completed
 
   .PHONY: uninstall
---
-2.33.0
-
package/xxhash/xxhash.hash +3 -2
index feb5000808..2c99236a45 100644
@@ -1,3 +1,4 @@
  # locally computed
-sha256  7054c3ebd169c97b64a92d7b994ab63c70dd53a06974f1f630ab782c28db0f4f  xxhash-0.8.0.tar.gz
-sha256  9da63520e9293d82c4b1613be5c84058cadb82b02f5972179bad13731d589910  LICENSE
+sha256  3bb6b7d6f30c591dd65aaaff1c8b7a5b94d81687998ca9400082c739a690436c  xxhash-0.8.1.tar.gz
+sha256  553d0035773ddd1590045f8fdc3a4c6ead31e36336721aeca8421e88ed1c9f80  LICENSE
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  cli/COPYING
package/xxhash/xxhash.mk +0 -0
index 3e7f3244b3..a8f8d1d179 100644
@@ -4,10 +4,10 @@
  #
  ################################################################################

package/xxhash/xxhash.mk line 13

Quoted 10 lines
package/xxhash/xxhash.mk +2 -2
 
-XXHASH_VERSION = 0.8.0
+XXHASH_VERSION = 0.8.1
  XXHASH_SITE = $(call github,Cyan4973,xxHash,v$(XXHASH_VERSION))
  XXHASH_LICENSE = BSD-2-Clause (library), GPL-2.0+ (xxhsum)
-XXHASH_LICENSE_FILES = LICENSE
+XXHASH_LICENSE_FILES = LICENSE cli/COPYING
  XXHASH_INSTALL_STAGING = YES
 
  XXHASH_TARGETS = xxhsum

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot