Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#24157 closed submission (fixed)

unpaper-0.3 Portfile submission

Reported by: cristiano.fontana@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: unpaper

Description

Citing from the homepage:

unpaper is a post-processing tool for scanned sheets of paper, especially for book pages that have been scanned from previously created photocopies. The main purpose is to make scanned book pages better readable on screen after conversion to PDF. Additionally, unpaper might be useful to enhance the quality of scanned pages before performing optical character recognition (OCR). unpaper tries to clean scanned images by removing dark edges that appeared through scanning or copying on areas outside the actual page content (e.g. dark areas between the left-hand-side and the right-hand-side of a double- sided book-page scan). The program also tries to detect disaligned centering and rotation of pages and will automatically straighten each page by rotating it to the correct angle. This process is called "deskewing".

Attachments (1)

Portfile (1.4 KB) - added by cristiano.fontana@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by cristiano.fontana@…

Attachment: Portfile added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

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

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Thanks, I committed it in r65180 with these changes:

  • Dropped the revision line; the initial revision of any given version of a port should be 0, not 1.
  • Removed the extract.suffix and distfiles lines and updated checksums. The lines "extract.suffix .tgz" and "distfiles ${name}-bin-${version}.tar.gz" were contradictory, and there was no reason to download the "bin" version of the distfile; the only difference is the "bin" version includes a pre-compiled Linux executable of unpaper, which we have no need for.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

I didn't catch it until the second read-through, but "build.cmd ${configure.compiler}" wasn't right. configure.compiler isn't meant to be a command name; it's just a string used to identify a compiler collection within MacPorts. It worked here only by coincidence. The variable you really want to use for this is ${configure.cc}. I fixed it in r65183.

Note: See TracTickets for help on using tickets.