Skip to contentSkip to conversation

package/mupdf: bump to version 1.20.3

PATCH New James Hilliard 1 participant 2 messages Nov 3, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/mupdf: bump to version 1.20.3

Drop all patches which are now upstream/no longer needed.

---
 ...-Makefile-add-an-install_libs-target.patch |  41 ------
 ...-free-of-object-during-linearization.patch |  52 --------
 ...x-key-size-in-cached-color-converter.patch | 119 ------------------
 ...file-compile-hexdump.exe-with-HOSTCC.patch |  40 ------
 package/mupdf/mupdf.hash                      |   4 +-
 package/mupdf/mupdf.mk                        |   6 +-
 6 files changed, 5 insertions(+), 257 deletions(-)
 delete mode 100644 package/mupdf/0001-Makefile-add-an-install_libs-target.patch
 delete mode 100644 package/mupdf/0002-Bug-703366-Fix-double-free-of-object-during-linearization.patch
 delete mode 100644 package/mupdf/0003-Bug-703791-Stay-within-hash-table-max-key-size-in-cached-color-converter.patch
 delete mode 100644 package/mupdf/0004-Makefile-compile-hexdump.exe-with-HOSTCC.patch
package/mupdf/0001-Makefile-add-an-install_libs-target.patch deleted +0 -41
deleted file mode 100644
index 9cb5a2fec9..0000000000
@@ -1,41 +0,0 @@
-From 0989f13ecbc2155b05da0cb091801d32d750d2d4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?=
- <[email protected]>
-Date: Thu, 29 Aug 2019 09:51:02 +0200
-Subject: [PATCH] Makefile: add an install_libs target.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This allows to install only the library files (if you need pymupdf but
-not mupdf binaries for example).
-
-Signed-off-by: Raphaël Mélotte <[email protected]>
----
- Makefile | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index c5bc541ac..e14f88526 100644
---- a/Makefile
-+++ b/Makefile
-@@ -322,7 +322,7 @@ libs: $(INSTALL_LIBS)
- tools: $(TOOL_APPS)
- apps: $(TOOL_APPS) $(VIEW_APPS)
- 
--install: libs apps
-+install_libs:
- 	install -d $(DESTDIR)$(incdir)/mupdf
- 	install -d $(DESTDIR)$(incdir)/mupdf/fitz
- 	install -d $(DESTDIR)$(incdir)/mupdf/pdf
-@@ -333,6 +333,7 @@ install: libs apps
- 	install -d $(DESTDIR)$(libdir)
- 	install -m 644 $(INSTALL_LIBS) $(DESTDIR)$(libdir)
- 
-+install: libs apps install_libs
- 	install -d $(DESTDIR)$(bindir)
- 	install -m 755 $(TOOL_APPS) $(VIEW_APPS) $(DESTDIR)$(bindir)
- 
--- 
-2.21.0
-
package/mupdf/0002-Bug-703366-Fix-double-free-of-object-during-linearization.patch deleted +0 -52

52 lines not on this page · raw message

package/mupdf/0003-Bug-703791-Stay-within-hash-table-max-key-size-in-cached-color-converter.patch deleted +0 -119

119 lines not on this page · raw message

package/mupdf/0004-Makefile-compile-hexdump.exe-with-HOSTCC.patch deleted +0 -40
deleted file mode 100644
index bc9debd332..0000000000
@@ -1,40 +0,0 @@
-From c0036573a995dc78d3cf60a30ff0af2b47f3680a Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Sun, 14 Nov 2021 23:24:27 +0100
-Subject: [PATCH] Makefile: compile hexdump.exe with HOSTCC
-
-hexdump.exe must be compiled for the host or the build will fail when
-cross-compiling with HAVE_OBJCOPY=no
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: https://bugs.ghostscript.com/show_bug.cgi?id=704442]
----
- Makefile | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/Makefile b/Makefile
-index 6492b1ca3..0732b358f 100644
---- a/Makefile
-+++ b/Makefile
-@@ -60,6 +60,8 @@ AR_CMD = $(QUIET_AR) $(MKTGTDIR) ; $(AR) cr $@ $^
- ifdef RANLIB
-   RANLIB_CMD = $(QUIET_RANLIB) $(RANLIB) $@
- endif
-+HOSTCC ?= $(CC)
-+HOST_LINK_CMD = $(QUIET_LINK) $(MKTGTDIR) ; $(HOSTCC) -o $@ $^
- LINK_CMD = $(QUIET_LINK) $(MKTGTDIR) ; $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
- TAGS_CMD = $(QUIET_TAGS) ctags -R --c-kinds=+p --exclude=platform/python --exclude=platform/c++
- WINDRES_CMD = $(QUIET_WINDRES) $(MKTGTDIR) ; $(WINDRES) $< $@
-@@ -81,6 +83,9 @@ $(OUT)/%.a :
- 	$(AR_CMD)
- 	$(RANLIB_CMD)
- 
-+$(OUT)/scripts/hexdump.exe: scripts/hexdump.c
-+	$(HOST_LINK_CMD)
-+
- $(OUT)/%.exe: %.c
- 	$(LINK_CMD)
- 
--- 
-2.33.0
-
package/mupdf/mupdf.hash +2 -2
index 67093cbc9f..fa24e741c7 100644
@@ -1,8 +1,8 @@
 # From https://mupdf.com/downloads/index.html:
-sha1  fc17bd01d5860e49b009f28a5ddb629e94af4510  mupdf-1.18.0-source.tar.xz
+sha1  f27108668e876b47d7438e2a8b2295654e66f42d  mupdf-1.20.3-source.tar.lz
 
 # Locally computed:
-sha256  592d4f6c0fba41bb954eb1a41616661b62b134d5b383e33bd45a081af5d4a59a  mupdf-1.18.0-source.tar.xz
+sha256  6f73f63ef8aa81991dfd023d4426a548827d1d74e0bfcf2a013acad63b651868  mupdf-1.20.3-source.tar.lz
 
 # Hash for license files:
 sha256  57c8ff33c9c0cfc3ef00e650a1cc910d7ee479a8bc509f6c9209a7c2a11399d6  COPYING
package/mupdf/mupdf.mk +3 -3
index 56ea7cc507..1fc54b2d35 100644
@@ -5,8 +5,8 @@
 ################################################################################
 
 # python-pymupdf's version must match mupdf's version
-MUPDF_VERSION = 1.18.0
-MUPDF_SOURCE = mupdf-$(MUPDF_VERSION)-source.tar.xz
+MUPDF_VERSION = 1.20.3
+MUPDF_SOURCE = mupdf-$(MUPDF_VERSION)-source.tar.lz
 MUPDF_SITE = https://mupdf.com/downloads/archive
 MUPDF_LICENSE = AGPL-3.0+
 MUPDF_LICENSE_FILES = COPYING
@@ -68,7 +68,7 @@ endef
 
 define MUPDF_INSTALL_STAGING_CMDS
 	$(MUPDF_MAKE_ENV) $(MAKE) -C $(@D) $(MUPDF_MAKE_OPTS) \
-		DESTDIR="$(STAGING_DIR)" install_libs
+		DESTDIR="$(STAGING_DIR)" install-libs
 endef
 
 define MUPDF_INSTALL_TARGET_CMDS
Signature · 6 lines
2.34.1

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

PATCH 2/2 package/python-pymupdf: bump to version 1.20.2

License changed to AGPL-3.0+ only:
https://github.com/pymupdf/PyMuPDF/commit/dcbd9bb8c3fd2002b9e03a8c61b4b8bf90cfdb01

---
 package/python-pymupdf/python-pymupdf.hash | 8 ++++----
 package/python-pymupdf/python-pymupdf.mk   | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)
package/python-pymupdf/python-pymupdf.hash +4 -4
index ee7a916519..21befb3b7c 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/pymupdf/json
-md5  70d6c2232e531772bbe9a813044262f9  PyMuPDF-1.18.14.tar.gz
-sha256  efe85cb80f79cc3f3890aa2ab82b962b8a999ca078e33e9bacc5d0be5c4656dc  PyMuPDF-1.18.14.tar.gz
-# Locally computed:
-sha256  282751b8c98ee9e445346eb57a992c9ecbe25ed8dd554df046777313e19b10f9  COPYING
+md5  450f0c613fec4b0d061299d3d935fafa  PyMuPDF-1.20.2.tar.gz
+sha256  02eedf01f57c6bafb5e8667cea0088a2d2522643c47100f1908bec3a68a84888  PyMuPDF-1.20.2.tar.gz
+# Locally computed sha256 checksums
+sha256  57c8ff33c9c0cfc3ef00e650a1cc910d7ee479a8bc509f6c9209a7c2a11399d6  COPYING
package/python-pymupdf/python-pymupdf.mk +3 -3
index ceeeb0a55b..238fc4dd47 100644
@@ -5,11 +5,11 @@
 ################################################################################
 
 # python-pymupdf's version must match mupdf's version
-PYTHON_PYMUPDF_VERSION = 1.18.14
+PYTHON_PYMUPDF_VERSION = 1.20.2
 PYTHON_PYMUPDF_SOURCE = PyMuPDF-$(PYTHON_PYMUPDF_VERSION).tar.gz
-PYTHON_PYMUPDF_SITE = https://files.pythonhosted.org/packages/41/f6/dbefe3d6949fa81fb7bcac9141e4345330d272724718ac5a6af78297498b
+PYTHON_PYMUPDF_SITE = https://files.pythonhosted.org/packages/4a/09/6afe87a8ea7acb6e4709223a704270ffe9929497add4d06b12305e229ba8
 PYTHON_PYMUPDF_SETUP_TYPE = setuptools
-PYTHON_PYMUPDF_LICENSE = GPL-3.0, AGPL-3.0+ (code generated from mupdf)
+PYTHON_PYMUPDF_LICENSE = AGPL-3.0+
 PYTHON_PYMUPDF_LICENSE_FILES = COPYING
 # No license file included in pip, but it's present on github
 PYTHON_PYMUPDF_DEPENDENCIES = freetype mupdf zlib
Signature · 6 lines
2.34.1

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