Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Nov 2018 06:55:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 232902] graphics/mupdf: automatically pick libmupdfthird.so
Message-ID:  <bug-232902-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232902

            Bug ID: 232902
           Summary: graphics/mupdf: automatically pick libmupdfthird.so
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: rea@FreeBSD.org
                CC: uzsolt@uzsolt.hu
             Flags: maintainer-feedback?(uzsolt@uzsolt.hu)
                CC: uzsolt@uzsolt.hu

Created attachment 198879
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D198879&action=
=3Dedit
Patch for graphics/mupdf

Had upgraded Zathura and MuPDF on my -CURRENT box recently to
{{{
$ pkg query %n-%v | egrep '(mupdf|zathura)'
mupdf-1.13.0_1,1
zathura-0.4.0_1
zathura-cb-0.1.8_1
zathura-djvu-0.2.8_1
zathura-pdf-mupdf-0.3.3_1
zathura-ps-0.2.6_1
}}}
and found out that Zathura was not able to open PDF files any more.
Quick digging found out that libmupdf.so.1.13.0 wanted symbol
'cmsGetContextUserData', but it wasn't available.  This symbol
is provided by the lcms2 that is bundled with MuPDF, but goes
to libmupdfthird.so.1.13.0.  And fitz code from
./source/fitz/color-lcms.c wants that one (unless NO_ICC is defined
via Makethird file, but it isn't because lcms2 is bundled to the
thirdparty/ folder and Makethird checks exactly that when branches
and decides /not/ to engage NO_ICC).

I am slightly puzzled that previous version had no such problems --
no visible changes in FreeBSD port (Makefile/patches), but I hadn't
yet seen the source code of the previous MuPDF version.


The code builds fine on -CURRENT, I had contacted the maintainer, Zsolt Udv=
ari
<uzsolt@uzsolt.hu>, and have his blessing.

The patch is attached and I am willing to commit it.  Having hit by Grim
Reaper, I need a review from one of the port committers.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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