Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2020 05:36:22 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552929 - in head/graphics/mupdf: . files
Message-ID:  <202010220536.09M5aMMF096074@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Thu Oct 22 05:36:22 2020
New Revision: 552929
URL: https://svnweb.freebsd.org/changeset/ports/552929

Log:
  graphics/mupdf: update to 1.18.0
  
  ChangeLog: https://mupdf.com/release_history.html
  
  While here rework post-patch and remove noop REINPLACE_CMD
  
  PR:	250473
  Submitted by:	uzsolt@uzsolt.hu (maintainer)

Modified:
  head/graphics/mupdf/Makefile
  head/graphics/mupdf/distinfo
  head/graphics/mupdf/files/patch-Makefile
  head/graphics/mupdf/pkg-plist

Modified: head/graphics/mupdf/Makefile
==============================================================================
--- head/graphics/mupdf/Makefile	Thu Oct 22 05:29:37 2020	(r552928)
+++ head/graphics/mupdf/Makefile	Thu Oct 22 05:36:22 2020	(r552929)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mupdf
-DISTVERSION=	1.17.0
+DISTVERSION=	1.18.0
 DISTVERSIONSUFFIX=	-source
 PORTEPOCH=	1
 CATEGORIES=	graphics
@@ -51,10 +51,7 @@ SCROLL_EXTRA_PATCHES=	${FILESDIR}/scroll_hack-platform
 PLIST_SUB=	SOVERSION=${PORTVERSION}
 
 post-patch:
-	@${REINPLACE_CMD} -e 's/-pipe -O2 //' \
-		${WRKSRC}/Makerules
-	@${REINPLACE_CMD} -e 's/-ldl //' ${WRKSRC}/Makerules \
-		${WRKSRC}/Makethird
+	@${REINPLACE_CMD} -e 's/-pipe -O2//' -e 's/-ldl//' ${WRKSRC}/Makerules
 
 post-install:
 	${MV} ${STAGEDIR}${PREFIX}/bin/mupdf-x11 \

Modified: head/graphics/mupdf/distinfo
==============================================================================
--- head/graphics/mupdf/distinfo	Thu Oct 22 05:29:37 2020	(r552928)
+++ head/graphics/mupdf/distinfo	Thu Oct 22 05:36:22 2020	(r552929)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1589721586
-SHA256 (mupdf-1.17.0-source.tar.gz) = 00e33fa89cb42f1ef9e3bb73671b1cb6d210f5159bd68168fa5c89ceb24dd48e
-SIZE (mupdf-1.17.0-source.tar.gz) = 65510829
+TIMESTAMP = 1602272959
+SHA256 (mupdf-1.18.0-source.tar.gz) = 8860ea6d01fc3c360ba5e0fa9fede241c6fbb2a73f5215b17a105de409a19266
+SIZE (mupdf-1.18.0-source.tar.gz) = 72621417

Modified: head/graphics/mupdf/files/patch-Makefile
==============================================================================
--- head/graphics/mupdf/files/patch-Makefile	Thu Oct 22 05:29:37 2020	(r552928)
+++ head/graphics/mupdf/files/patch-Makefile	Thu Oct 22 05:36:22 2020	(r552929)
@@ -1,10 +1,10 @@
 $OpenBSD: patch-Makefile,v 1.12 2016/12/12 10:54:39 sthen Exp $
---- Makefile.orig	2018-10-04 09:19:28 UTC
+--- Makefile.orig	2020-10-10 08:56:03 UTC
 +++ Makefile
-@@ -190,13 +190,15 @@ generate: source/pdf/js/util.js.h
+@@ -214,13 +214,15 @@ MUPDF_LIB = $(OUT)/libmupdf.$(SO)
  
- # --- Library ---
- 
+ $(MUPDF_LIB) : $(MUPDF_OBJ) $(THIRD_OBJ) $(THREAD_OBJ) $(PKCS7_OBJ)
+ else
 -MUPDF_LIB = $(OUT)/libmupdf.a
 -THIRD_LIB = $(OUT)/libmupdf-third.a
 +MUPDF_LIB = $(OUT)/libmupdf.so.$(SOVERSION)
@@ -19,4 +19,4 @@ $OpenBSD: patch-Makefile,v 1.12 2016/12/12 10:54:39 st
 +	$(LINK_CMD) -shared -Wl,-soname -Wl,libmupdf-third.so.$(SOVERSION)
  $(THREAD_LIB) : $(THREAD_OBJ)
  $(PKCS7_LIB) : $(PKCS7_OBJ)
- 
+ endif

Modified: head/graphics/mupdf/pkg-plist
==============================================================================
--- head/graphics/mupdf/pkg-plist	Thu Oct 22 05:29:37 2020	(r552928)
+++ head/graphics/mupdf/pkg-plist	Thu Oct 22 05:36:22 2020	(r552929)
@@ -84,6 +84,8 @@ man/man1/mutool.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/coding-overview.html
 %%PORTDOCS%%%%DOCSDIR%%/coding-progressive.html
 %%PORTDOCS%%%%DOCSDIR%%/coding-style.html
+%%PORTDOCS%%%%DOCSDIR%%/ecosystem.html
+%%PORTDOCS%%%%DOCSDIR%%/ecosystem.png
 %%PORTDOCS%%%%DOCSDIR%%/examples/bbox-device.js
 %%PORTDOCS%%%%DOCSDIR%%/examples/create-thumbnail.js
 %%PORTDOCS%%%%DOCSDIR%%/examples/draw-device.js
@@ -95,8 +97,10 @@ man/man1/mutool.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/examples/pdf-create-lowlevel.js
 %%PORTDOCS%%%%DOCSDIR%%/examples/pdf-create.js
 %%PORTDOCS%%%%DOCSDIR%%/examples/pdf-dejpx.js
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-extract-rich-media.js
 %%PORTDOCS%%%%DOCSDIR%%/examples/pdf-merge.js
 %%PORTDOCS%%%%DOCSDIR%%/examples/pdf-portfolio.js
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-trace.js
 %%PORTDOCS%%%%DOCSDIR%%/examples/trace-device.js
 %%PORTDOCS%%%%DOCSDIR%%/index.html
 %%PORTDOCS%%%%DOCSDIR%%/manual-mupdf-gl.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010220536.09M5aMMF096074>