Opened 9 years ago

Closed 9 years ago

#50192 closed defect (fixed)

py27-poppler can't build since POPPLER_TYPE_ORIENTATION enum no longer exists

Reported by: bryan.lawrence@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-poppler

Description

A full description for the competition is here: https://github.com/ruby-gnome2/ruby-gnome2/issues/653

But the bottom line is that poppler has removed a variable, but the build expects it to be there (snip):

:info:build ^
:info:build poppler.c:4577:53: error: use of undeclared identifier 'POPPLER_TYPE_ORIENTATION'
:info:build   pyg_enum_add(module, "Orientation", strip_prefix, POPPLER_TYPE_ORIENTATION);
:info:build                                                     ^
:info:build 1 warning and 1 error generated.

Change History (3)

comment:1 Changed 9 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to devans@…
Status: newassigned

Gentoo launchpad repo has a bug report with patch attached. Fix is to basically remove the binding associated with the missing enum. Will give this a try since the original upstream developers are relatively inactive.

comment:2 Changed 9 years ago by dbevans (David B. Evans)

Port: py-poppler added
Version: 2.3.4

Don't forget to fill in the Port field of the bug report.

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

Resolution: fixed
Status: assignedclosed

Fix merged with existing patch in r144134. Builds well locally and on buildbots. Thanks for your report.

Note: See TracTickets for help on using tickets.