Bug 218996 - graphics/mupdf: update to 1.11
Summary: graphics/mupdf: update to 1.11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tobias Kortkamp
URL: https://reviews.freebsd.org/D10561
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-01 13:12 UTC by Zsolt Udvari
Modified: 2017-05-02 12:43 UTC (History)
0 users

See Also:
uzsolt: maintainer-feedback+


Attachments
patch (8.62 KB, patch)
2017-05-01 13:13 UTC, Zsolt Udvari
uzsolt: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolt Udvari freebsd_committer freebsd_triage 2017-05-01 13:12:58 UTC
Simple update to 1.11.
Remove ssl-test (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218688 ) from Makerules.

Poudriere testport passed (10.3 and 11.0), portlint passed.
Poudriere logs:
http://freebsd.uzsolt.hu/logs/graphics/mupdf/10amd64-default/mupdf-1.11%2C1.log
http://freebsd.uzsolt.hu/logs/graphics/mupdf/11amd64-default/mupdf-1.11%2C1.log

List of changes in MuPDF 1.11
* This is primarily a bug fix release.
* PDF portfolio support with command line tool "mutool portfolio".
* Add callbacks to load fallback fonts from the system.
* Use system fonts in Android to reduce install size.
* Flag to disable publisher styles in EPUB layout.
* Improved SVG output.
Comment 1 Zsolt Udvari freebsd_committer freebsd_triage 2017-05-01 13:13:41 UTC
Created attachment 182225 [details]
patch
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2017-05-01 15:33:35 UTC
thirdparty/jpeg moved to thirdparty/libjpeg, so I made the following
additional change to make mupdf not use the bundled libjpeg version:

@@ -52,7 +52,7 @@ post-patch:
                ${WRKSRC}/thirdparty/freetype \
                ${WRKSRC}/thirdparty/harfbuzz \
                ${WRKSRC}/thirdparty/jbig2dec \
-               ${WRKSRC}/thirdparty/jpeg \
+               ${WRKSRC}/thirdparty/libjpeg \
                ${WRKSRC}/thirdparty/openjpeg \
                ${WRKSRC}/thirdparty/zlib

I also had to regenerate patch-Makerules because portlint wasn't happy about it.

Otherwise LGTM and I've submitted it for mentor review (see URL).
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-05-02 12:22:54 UTC
A commit references this bug:

Author: tobik
Date: Tue May  2 12:22:22 UTC 2017
New revision: 439942
URL: https://svnweb.freebsd.org/changeset/ports/439942

Log:
  Update to 1.11

  - Prevent linking with libcrypto when a pkg-config file for it exists
    on the system [1]
  - Bump PORTREVISION of dependent ports

  PR:		218996, 218688 [1]
  Reported by:	rsmith@xs4all.nl [1]
  Submitted by:	Zsolt Udvari <udvzsolt@gmail.com> (maintainer)
  Approved by:	lme (mentor)
  Differential Revision:	https://reviews.freebsd.org/D10561

Changes:
  head/graphics/llpp/Makefile
  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-scripts_fontdump.c
  head/graphics/mupdf/files/patch-scripts_hexdump.c
  head/graphics/mupdf/files/patch-source__fitz__load-jpx.c
  head/graphics/mupdf/pkg-plist
  head/graphics/zathura-pdf-mupdf/Makefile