Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2018 14:19:44 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458740 - in head/graphics/mupdf: . files
Message-ID:  <201801111419.w0BEJiog054173@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Thu Jan 11 14:19:44 2018
New Revision: 458740
URL: https://svnweb.freebsd.org/changeset/ports/458740

Log:
  graphics/mupdf: Update to 1.12.0
  
  Changes:	http://git.ghostscript.com/?p=mupdf.git;a=blob;f=CHANGES;h=e37c478a397198eae4c62f623747229c18e9035d;hb=HEAD
  PR:		224712
  Submitted by:	Zsolt Udvari <uzsolt@uzsolt.hu> (maintainer)

Deleted:
  head/graphics/mupdf/files/patch-scripts_hexdump.c
Modified:
  head/graphics/mupdf/Makefile
  head/graphics/mupdf/distinfo
  head/graphics/mupdf/files/patch-Makefile
  head/graphics/mupdf/files/patch-Makerules
  head/graphics/mupdf/files/patch-source__fitz__load-jpx.c
  head/graphics/mupdf/pkg-plist

Modified: head/graphics/mupdf/Makefile
==============================================================================
--- head/graphics/mupdf/Makefile	Thu Jan 11 14:18:01 2018	(r458739)
+++ head/graphics/mupdf/Makefile	Thu Jan 11 14:19:44 2018	(r458740)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mupdf
-PORTVERSION=	1.11
-PORTREVISION=	2
+PORTVERSION=	1.12.0
 DISTVERSIONSUFFIX=	-source
 PORTEPOCH=	1
 CATEGORIES=	graphics
@@ -28,12 +27,12 @@ MAKE_ARGS=	build=release prefix=${PREFIX} mandir=${PRE
 		SOVERSION=${PORTVERSION}
 USES=		cpe compiler:c++11-lang gmake jpeg pkgconfig
 USE_XORG=	x11 xcursor xext xinerama xrandr
-USE_GL=		gl
+USE_GL=		gl glut
 USE_LDCONFIG=	yes
 
 CPE_VENDOR=	artifex
 
-OPTIONS_DEFINE=	JS SCROLL
+OPTIONS_DEFINE=	DOCS JS SCROLL
 OPTIONS_DEFAULT=SCROLL
 
 JS_DESC=	JavaScript support (V8 engine)
@@ -51,6 +50,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's/-ldl //' ${WRKSRC}/Makerules ${WRKSRC}/Makethird
 	@${RM} -r ${WRKSRC}/thirdparty/curl \
 		${WRKSRC}/thirdparty/freetype \
+		${WRKSRC}/thirdparty/freeglut \
 		${WRKSRC}/thirdparty/harfbuzz \
 		${WRKSRC}/thirdparty/jbig2dec \
 		${WRKSRC}/thirdparty/libjpeg \

Modified: head/graphics/mupdf/distinfo
==============================================================================
--- head/graphics/mupdf/distinfo	Thu Jan 11 14:18:01 2018	(r458739)
+++ head/graphics/mupdf/distinfo	Thu Jan 11 14:19:44 2018	(r458740)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1492430059
-SHA256 (mupdf-1.11-source.tar.gz) = 209474a80c56a035ce3f4958a63373a96fad75c927c7b1acdc553fc85855f00a
-SIZE (mupdf-1.11-source.tar.gz) = 40156070
+TIMESTAMP = 1514557967
+SHA256 (mupdf-1.12.0-source.tar.gz) = 5c6353a82f1512f4f5280cf69a3725d1adac9c8b22377ec2a447c4fc45528755
+SIZE (mupdf-1.12.0-source.tar.gz) = 51508917

Modified: head/graphics/mupdf/files/patch-Makefile
==============================================================================
--- head/graphics/mupdf/files/patch-Makefile	Thu Jan 11 14:18:01 2018	(r458739)
+++ head/graphics/mupdf/files/patch-Makefile	Thu Jan 11 14:19:44 2018	(r458740)
@@ -1,7 +1,7 @@
 $OpenBSD: patch-Makefile,v 1.12 2016/12/12 10:54:39 sthen Exp $
---- Makefile.orig	2017-04-05 11:02:21 UTC
+--- Makefile.orig	2017-12-13 14:00:30 UTC
 +++ Makefile
-@@ -300,8 +300,8 @@ generate: $(JAVASCRIPT_GEN)
+@@ -312,8 +312,8 @@ generate: $(JAVASCRIPT_GEN)
  
  # --- Library ---
  
@@ -11,8 +11,8 @@ $OpenBSD: patch-Makefile,v 1.12 2016/12/12 10:54:39 st
 +THIRD_LIB = libmupdfthird.so.$(SOVERSION)
  THREAD_LIB = $(OUT)/libmuthreads.a
  
- MUPDF_OBJ := $(FITZ_OBJ) $(FONT_OBJ) $(PDF_OBJ) $(XPS_OBJ) $(SVG_OBJ) $(CBZ_OBJ) $(HTML_OBJ) $(GPRF_OBJ)
-@@ -309,7 +309,11 @@ THIRD_OBJ := $(FREETYPE_OBJ) $(HARFBUZZ_
+ MUPDF_OBJ := \
+@@ -344,7 +344,11 @@ THIRD_OBJ := \
  THREAD_OBJ := $(THREAD_OBJ)
  
  $(MUPDF_LIB) : $(MUPDF_OBJ)

Modified: head/graphics/mupdf/files/patch-Makerules
==============================================================================
--- head/graphics/mupdf/files/patch-Makerules	Thu Jan 11 14:18:01 2018	(r458739)
+++ head/graphics/mupdf/files/patch-Makerules	Thu Jan 11 14:19:44 2018	(r458740)
@@ -1,7 +1,7 @@
---- Makerules.orig	2017-04-05 11:02:21 UTC
+--- Makerules.orig	2017-12-13 14:00:30 UTC
 +++ Makerules
-@@ -110,27 +110,21 @@ LD := xcrun ld
- RANLIB_CMD := xcrun ranlib $@
+@@ -87,7 +87,7 @@ LD = xcrun ld
+ RANLIB_CMD = xcrun ranlib $@
  
  # Linux uses pkg-config for system libraries.
 -else ifeq "$(OS)" "Linux"
@@ -9,7 +9,9 @@
  
  HAVE_PTHREAD := yes
  SYS_PTHREAD_CFLAGS :=
- SYS_PTHREAD_LIBS := -lpthread
+@@ -97,21 +97,15 @@ HAVE_GLUT := yes
+ SYS_GLUT_CFLAGS :=
+ SYS_GLUT_LIBS := -lglut -lGL
  
 -ifeq "$(shell pkg-config --exists 'libcrypto <= 1.0.1t' && echo yes)" "yes"
 -HAVE_LIBCRYPTO := yes

Modified: head/graphics/mupdf/files/patch-source__fitz__load-jpx.c
==============================================================================
--- head/graphics/mupdf/files/patch-source__fitz__load-jpx.c	Thu Jan 11 14:18:01 2018	(r458739)
+++ head/graphics/mupdf/files/patch-source__fitz__load-jpx.c	Thu Jan 11 14:19:44 2018	(r458740)
@@ -1,6 +1,6 @@
---- source/fitz/load-jpx.c.orig	2017-04-05 11:02:21 UTC
+--- source/fitz/load-jpx.c.orig	2017-12-13 14:00:30 UTC
 +++ source/fitz/load-jpx.c
-@@ -444,14 +444,18 @@ fz_load_jpx_info(fz_context *ctx, unsign
+@@ -445,14 +445,18 @@ fz_load_jpx_info(fz_context *ctx, const 
  
  #else /* HAVE_LURATECH */
  
@@ -9,7 +9,7 @@
 +{
  #define OPJ_STATIC
  #define OPJ_HAVE_INTTYPES_H
- #if !defined(_WIN32) && !defined(_WIN64)
+ #if !defined(_MSC_VER) || _MSC_VER >= 1600
  #define OPJ_HAVE_STDINT_H
  #endif
 +#endif
@@ -20,7 +20,7 @@
  
  struct fz_jpxd_s
  {
-@@ -919,6 +923,10 @@ fz_load_jpx_info(fz_context *ctx, unsign
+@@ -930,6 +934,10 @@ fz_load_jpx_info(fz_context *ctx, const 
  	*yresp = state.yres;
  }
  

Modified: head/graphics/mupdf/pkg-plist
==============================================================================
--- head/graphics/mupdf/pkg-plist	Thu Jan 11 14:18:01 2018	(r458739)
+++ head/graphics/mupdf/pkg-plist	Thu Jan 11 14:19:44 2018	(r458740)
@@ -1,3 +1,4 @@
+bin/mjsgen
 bin/mujstest
 bin/mupdf
 bin/mupdf-gl
@@ -11,7 +12,9 @@ include/mupdf/fitz/band-writer.h
 include/mupdf/fitz/bidi.h
 include/mupdf/fitz/bitmap.h
 include/mupdf/fitz/buffer.h
+include/mupdf/fitz/color-management.h
 include/mupdf/fitz/colorspace.h
+include/mupdf/fitz/compress.h
 include/mupdf/fitz/compressed-buffer.h
 include/mupdf/fitz/config.h
 include/mupdf/fitz/context.h
@@ -21,7 +24,6 @@ include/mupdf/fitz/display-list.h
 include/mupdf/fitz/document.h
 include/mupdf/fitz/filter.h
 include/mupdf/fitz/font.h
-include/mupdf/fitz/function.h
 include/mupdf/fitz/geometry.h
 include/mupdf/fitz/getopt.h
 include/mupdf/fitz/glyph-cache.h
@@ -31,9 +33,11 @@ include/mupdf/fitz/image.h
 include/mupdf/fitz/link.h
 include/mupdf/fitz/outline.h
 include/mupdf/fitz/output-pcl.h
+include/mupdf/fitz/output-pclm.h
 include/mupdf/fitz/output-png.h
 include/mupdf/fitz/output-pnm.h
 include/mupdf/fitz/output-ps.h
+include/mupdf/fitz/output-psd.h
 include/mupdf/fitz/output-pwg.h
 include/mupdf/fitz/output-svg.h
 include/mupdf/fitz/output-tga.h
@@ -52,15 +56,13 @@ include/mupdf/fitz/text.h
 include/mupdf/fitz/track-usage.h
 include/mupdf/fitz/transition.h
 include/mupdf/fitz/tree.h
-include/mupdf/fitz/ucdn.h
 include/mupdf/fitz/util.h
 include/mupdf/fitz/version.h
 include/mupdf/fitz/writer.h
 include/mupdf/fitz/xml.h
-include/mupdf/html.h
 include/mupdf/memento.h
-include/mupdf/pdf.h
 include/mupdf/pdf-tools.h
+include/mupdf/pdf.h
 include/mupdf/pdf/annot.h
 include/mupdf/pdf/appearance.h
 include/mupdf/pdf/clean.h
@@ -80,7 +82,7 @@ include/mupdf/pdf/parse.h
 include/mupdf/pdf/resource.h
 include/mupdf/pdf/widget.h
 include/mupdf/pdf/xref.h
-include/mupdf/svg.h
+include/mupdf/ucdn.h
 lib/libmupdf.so
 lib/libmupdf.so.%%SOVERSION%%
 lib/libmupdfthird.so
@@ -90,9 +92,34 @@ man/man1/mutool.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/naming.txt
-%%PORTDOCS%%%%DOCSDIR%%/overview.txt
-%%PORTDOCS%%%%DOCSDIR%%/progressive.txt
-%%PORTDOCS%%%%DOCSDIR%%/refcount.txt
-%%PORTDOCS%%%%DOCSDIR%%/thirdparty.txt
-%%PORTDOCS%%%%DOCSDIR%%/types.txt
+%%PORTDOCS%%%%DOCSDIR%%/android-sdk.html
+%%PORTDOCS%%%%DOCSDIR%%/artifex-logo.png
+%%PORTDOCS%%%%DOCSDIR%%/building.html
+%%PORTDOCS%%%%DOCSDIR%%/coding-overview.html
+%%PORTDOCS%%%%DOCSDIR%%/coding-progressive.html
+%%PORTDOCS%%%%DOCSDIR%%/coding-style.html
+%%PORTDOCS%%%%DOCSDIR%%/examples/create-thumbnail.js
+%%PORTDOCS%%%%DOCSDIR%%/examples/draw-device.js
+%%PORTDOCS%%%%DOCSDIR%%/examples/draw-document.js
+%%PORTDOCS%%%%DOCSDIR%%/examples/example.c
+%%PORTDOCS%%%%DOCSDIR%%/examples/jpx-to-pdf.js
+%%PORTDOCS%%%%DOCSDIR%%/examples/multi-threaded.c
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-create-lowlevel.js
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-create.js
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-merge.js
+%%PORTDOCS%%%%DOCSDIR%%/examples/trace-device.js
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mupdf-gl.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-clean.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-convert.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-create.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-draw.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-extract.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-merge.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-portfolio.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-run.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-show.html
+%%PORTDOCS%%%%DOCSDIR%%/manual-mutool-trace.html
+%%PORTDOCS%%%%DOCSDIR%%/style.css
+%%PORTDOCS%%%%DOCSDIR%%/template.html
+%%PORTDOCS%%%%DOCSDIR%%/thirdparty.html



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