Opened 10 years ago

Closed 9 years ago

#46694 closed enhancement (fixed)

srecord @1.63_3: remove ghostscript dependency

Reported by: ranauei@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: kurthindenburg (Kurt Hindenburg)
Port: srecord

Description

Remove the unnecessary ghostscript depencency only used for the utility ps2pdf which can be replaced with the builtin pstopdf using a simple reinplace.

Attachments (1)

Portfile.diff (959 bytes) - added by ranauei@… 9 years ago.
Updated for latest port revision

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Summary: srecord 1.63 (1.63_3) remove unnecessary dependencysrecord @1.63_3: remove ghostscript dependency
Version: 2.3.3

comment:2 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Your patch does work - the only difference I can see is that the pdfs are much larger. I don't see an easy way to not build the pdf files which might just be easier

srecord.macports:
   43K Apr  3 20:19 BUILDING.pdf
   73K Apr  3 20:19 README.pdf
   61K Apr  3 20:19 change_log.pdf
  441K Apr  3 20:19 reference.pdf

srecord.system:
total 4600
  191K Apr  3 20:08 BUILDING.pdf
   474K Apr  3 20:08 README.pdf
   447K Apr  3 20:08 change_log.pdf
  1.2M Apr  3 20:08 reference.pdf

comment:4 Changed 9 years ago by ranauei@…

I think not having to build ghostscript and its dependencies is well worth the increased size of the pdfs especially if as you say there is no easy way to just avoid building them in the first place.

Last edited 9 years ago by ranauei@… (previous) (diff)

Changed 9 years ago by ranauei@…

Attachment: Portfile.diff added

Updated for latest port revision

comment:5 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

I went ahead and patch to not build the pdf

r147455

Note: See TracTickets for help on using tickets.