Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (5c038609c47db3e1c401738f5659cc5c18cb5d6b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (5c038609c47db3e1c401738f5659cc5c18cb5d6b)
  • Date: Wed, 23 Aug 2023 02:12:22 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

doc/mupdf/DETAILS | 4 ++--
doc/mupdf/HISTORY | 4 ++++
doc/mupdf/patches-1.22/pkcs7.patch | 29 -----------------------------
doc/mupdf/patches-1.22/shared_libs.patch | 24 ------------------------
doc/mupdf/patches-1.23/pkcs7.patch | 29 +++++++++++++++++++++++++++++
doc/mupdf/patches-1.23/shared_libs.patch | 24 ++++++++++++++++++++++++
6 files changed, 59 insertions(+), 55 deletions(-)

New commits:
commit 5c038609c47db3e1c401738f5659cc5c18cb5d6b
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

doc/mupdf: version 1.23.0

diff --git a/doc/mupdf/DETAILS b/doc/mupdf/DETAILS
index 5f04d27..63d861e 100755
--- a/doc/mupdf/DETAILS
+++ b/doc/mupdf/DETAILS
@@ -1,6 +1,6 @@
SPELL=mupdf
- VERSION=1.22.2
-
SOURCE_HASH=sha512:1f2e1c8caab49fcc1fe9d3f2bc994d36c77166a8f424311fb8dd8cfdc18b279d85f2cec52966cdce84a0488465b50eadf9f26f22dda06cb9de6127096458b3b9
+ VERSION=1.23.0
+
SOURCE_HASH=sha512:dffa4c48002183f1cf594fe630e1cc21a0f83285aa2b65902a40a1ef302c37d60074a87289f785c71c5089b1aee26d219ac17732b110eb6b6a3bcdf138061d68
SECURITY_PATCH=1
SOURCE=$SPELL-$VERSION-source.tar.gz
SOURCE_URL=(http://mupdf.com/downloads/archive/$SOURCE)
diff --git a/doc/mupdf/HISTORY b/doc/mupdf/HISTORY
index 3f53e97..a341016 100644
--- a/doc/mupdf/HISTORY
+++ b/doc/mupdf/HISTORY
@@ -1,3 +1,7 @@
+2023-08-22 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 1.23.0
+ * patches-1.22/* -> patches-1.23/*
+
2023-06-16 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 1.22.2

diff --git a/doc/mupdf/patches-1.22/pkcs7.patch
b/doc/mupdf/patches-1.22/pkcs7.patch
deleted file mode 100644
index 342da08..0000000
--- a/doc/mupdf/patches-1.22/pkcs7.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/source/helpers/pkcs7/pkcs7-openssl.c
b/source/helpers/pkcs7/pkcs7-openssl.c
---- a/source/helpers/pkcs7/pkcs7-openssl.c
-+++ b/source/helpers/pkcs7/pkcs7-openssl.c
-@@ -517,11 +517,12 @@
- {
- EVP_PKEY *pkey = NULL;
- X509 *x509 = NULL;
-+ STACK_OF(PKCS12_SAFEBAG) *bags;
- switch (M_PKCS12_bag_type(bag))
- {
- case NID_keyBag:
- {
-- const PKCS8_PRIV_KEY_INFO *p8 =
PKCS12_SAFEBAG_get0_p8inf(bag);
-+ const PKCS8_PRIV_KEY_INFO *p8 =
PKCS12_decrypt_skey(bag, pw, (int)strlen(pw));
- pkey = EVP_PKCS82PKEY(p8);
- }
- break;
-@@ -543,7 +544,10 @@
- break;
-
- case NID_safeContentsBag:
-- add_from_bags(pX509, pPkey, PKCS12_SAFEBAG_get0_safes(bag),
pw);
-+ bags = sk_PKCS12_SAFEBAG_new_null();
-+ sk_PKCS12_SAFEBAG_push(bags, bag);
-+ add_from_bags(pX509, pPkey, bags, pw);
-+ sk_PKCS12_SAFEBAG_free(bags);
- break;
- }
-
diff --git a/doc/mupdf/patches-1.22/shared_libs.patch
b/doc/mupdf/patches-1.22/shared_libs.patch
deleted file mode 100644
index cfac6dd..0000000
--- a/doc/mupdf/patches-1.22/shared_libs.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 557f28e..7edc4ae 100644
---- a/Makefile
-+++ b/Makefile
-@@ -277,13 +277,15 @@ MUPDF_LIB_IMPORT = $(OUT)/libmupdf_$(SO).a
- LIBS_TO_INSTALL_IN_BIN = $(MUPDF_LIB)
- LIBS_TO_INSTALL_IN_LIB = $(MUPDF_LIB_IMPORT)
- else
--LIBS_TO_INSTALL_IN_LIB = $(MUPDF_LIB)
-+LIBS_TO_INSTALL_IN_LIB = $(MUPDF_LIB) $(THIRD_LIB) $(THREAD_LIB)
$(PKCS7_LIB)
- endif
- ifneq ($(USE_SYSTEM_GLUT),yes)
--THIRD_GLUT_LIB = $(OUT)/libmupdf-glut.a
-+THIRD_GLUT_LIB = $(OUT)/libmupdf-glut.$(SO)
-+LIBS_TO_INSTALL_IN_LIB += $(THIRD_GLUT_LIB)
- endif
--THREAD_LIB = $(OUT)/libmupdf-threads.a
--PKCS7_LIB = $(OUT)/libmupdf-pkcs7.a
-+THIRD_LIB = $(OUT)/libmupdf-third.$(SO)
-+THREAD_LIB = $(OUT)/libmupdf-threads.$(SO)
-+PKCS7_LIB = $(OUT)/libmupdf-pkcs7.$(SO)
-
- $(MUPDF_LIB) : $(MUPDF_OBJ) $(THIRD_OBJ)
- $(THIRD_GLUT_LIB) : $(THIRD_GLUT_OBJ)
diff --git a/doc/mupdf/patches-1.23/pkcs7.patch
b/doc/mupdf/patches-1.23/pkcs7.patch
new file mode 100644
index 0000000..342da08
--- /dev/null
+++ b/doc/mupdf/patches-1.23/pkcs7.patch
@@ -0,0 +1,29 @@
+diff --git a/source/helpers/pkcs7/pkcs7-openssl.c
b/source/helpers/pkcs7/pkcs7-openssl.c
+--- a/source/helpers/pkcs7/pkcs7-openssl.c
++++ b/source/helpers/pkcs7/pkcs7-openssl.c
+@@ -517,11 +517,12 @@
+ {
+ EVP_PKEY *pkey = NULL;
+ X509 *x509 = NULL;
++ STACK_OF(PKCS12_SAFEBAG) *bags;
+ switch (M_PKCS12_bag_type(bag))
+ {
+ case NID_keyBag:
+ {
+- const PKCS8_PRIV_KEY_INFO *p8 =
PKCS12_SAFEBAG_get0_p8inf(bag);
++ const PKCS8_PRIV_KEY_INFO *p8 =
PKCS12_decrypt_skey(bag, pw, (int)strlen(pw));
+ pkey = EVP_PKCS82PKEY(p8);
+ }
+ break;
+@@ -543,7 +544,10 @@
+ break;
+
+ case NID_safeContentsBag:
+- add_from_bags(pX509, pPkey, PKCS12_SAFEBAG_get0_safes(bag),
pw);
++ bags = sk_PKCS12_SAFEBAG_new_null();
++ sk_PKCS12_SAFEBAG_push(bags, bag);
++ add_from_bags(pX509, pPkey, bags, pw);
++ sk_PKCS12_SAFEBAG_free(bags);
+ break;
+ }
+
diff --git a/doc/mupdf/patches-1.23/shared_libs.patch
b/doc/mupdf/patches-1.23/shared_libs.patch
new file mode 100644
index 0000000..cfac6dd
--- /dev/null
+++ b/doc/mupdf/patches-1.23/shared_libs.patch
@@ -0,0 +1,24 @@
+diff --git a/Makefile b/Makefile
+index 557f28e..7edc4ae 100644
+--- a/Makefile
++++ b/Makefile
+@@ -277,13 +277,15 @@ MUPDF_LIB_IMPORT = $(OUT)/libmupdf_$(SO).a
+ LIBS_TO_INSTALL_IN_BIN = $(MUPDF_LIB)
+ LIBS_TO_INSTALL_IN_LIB = $(MUPDF_LIB_IMPORT)
+ else
+-LIBS_TO_INSTALL_IN_LIB = $(MUPDF_LIB)
++LIBS_TO_INSTALL_IN_LIB = $(MUPDF_LIB) $(THIRD_LIB) $(THREAD_LIB)
$(PKCS7_LIB)
+ endif
+ ifneq ($(USE_SYSTEM_GLUT),yes)
+-THIRD_GLUT_LIB = $(OUT)/libmupdf-glut.a
++THIRD_GLUT_LIB = $(OUT)/libmupdf-glut.$(SO)
++LIBS_TO_INSTALL_IN_LIB += $(THIRD_GLUT_LIB)
+ endif
+-THREAD_LIB = $(OUT)/libmupdf-threads.a
+-PKCS7_LIB = $(OUT)/libmupdf-pkcs7.a
++THIRD_LIB = $(OUT)/libmupdf-third.$(SO)
++THREAD_LIB = $(OUT)/libmupdf-threads.$(SO)
++PKCS7_LIB = $(OUT)/libmupdf-pkcs7.$(SO)
+
+ $(MUPDF_LIB) : $(MUPDF_OBJ) $(THIRD_OBJ)
+ $(THIRD_GLUT_LIB) : $(THIRD_GLUT_OBJ)



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (5c038609c47db3e1c401738f5659cc5c18cb5d6b), Pavel Vinogradov, 08/22/2023

Archive powered by MHonArc 2.6.24.

Top of Page