Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#43845 closed defect (fixed)

pdf2htmlEX: upgrade and fix problem with poppler

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: iapain@…, cooljeanius (Eric Gallager)
Port: pdf2htmlex

Description

I'm attaching a slightly weird patch for pdf2htmlEX. Version 0.11 has been released in January, but that version doesn't yet work with poppler 0.26.1 (#43827).

It seems that the latest version of pdf2htmlEX requires the latest version of FontForge (2.0, #43844) which isn't packaged yet and FontForge has no maintainer.

So I grabbed a version from git somewhere inbetween. An alternative way with more work would be to extract just the relevant patch and apply it on top of the released 0.11.

Attachments (1)

pdf2htmlex-0.11.Portfile.diff (1017 bytes) - added by mojca (Mojca Miklavec) 10 years ago.
Upgrade pdf2htmlex to a working version from git (post the 0.11 release)

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by mojca (Mojca Miklavec)

Upgrade pdf2htmlex to a working version from git (post the 0.11 release)

comment:1 Changed 10 years ago by mojca (Mojca Miklavec)

Here's the error being thrown with version 0.10/0.11:

src/util/unicode.cc:121:40: error: no member named 'mapNameToUnicode' in 'GlobalParams'; did you mean 'mapNameToUnicodeAll'?
            Unicode ou = globalParams->mapNameToUnicode(cname);
                                       ^~~~~~~~~~~~~~~~
                                       mapNameToUnicodeAll
/opt/local/include/poppler/GlobalParams.h:149:11: note: 'mapNameToUnicodeAll' declared here
  Unicode mapNameToUnicodeAll(const char *charName);
          ^
1 error generated.

This was the item in issue tracker:

And this seems to be the relevant commit:

comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

poppler updated to 0.26.2 in r121696 and attached patch committed in r121705.

Builds OK on Lion, ML but fails on SL, Mavericks. See #44239.

Last edited 10 years ago by dbevans (David B. Evans) (previous) (diff)
Note: See TracTickets for help on using tickets.