Opened 13 years ago

Closed 12 years ago

#28278 closed submission (fixed)

gmic @1.4.8.0 new port file

Reported by: assemlal@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: science graphics Cc: david.tschumperle@…, ryandesign (Ryan Carsten Schmidt)
Port: gmic

Description

Dear MacPorts users,

I wrote a Portfile to compile and install the G'MIC tool. Note that the compilation takes a LOT of time AND a memory.

Attachments (1)

Portfile (1.3 KB) - added by assemlal@… 13 years ago.
Portfile

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by assemlal@…

Attachment: Portfile added

Portfile

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

Cc: ryandesign@… added

Some comments on this portfile:

  • The license line should not be commented out, but the license should be expressed as a single word ("CeCILL" for example)
  • "Mac OS X" should be spelled correctly in the description
  • sha1 and rmd160 checksums should be used instead of md5
  • The ffmpeg dependency should be written in such a way that ffmpeg-devel could satisfy it (unless it is known that ffmpeg-devel is incompatible with gmic; if so, please indicate this in the portfile with a comment)
  • The port xorg does not supply the file libX11.6.dylib; the port xorg-libX11 does
  • The libX11 dependency should be written in port:-style, not lib:-style; we do not want a libX11.6.dylib located outside the MacPorts prefix to be able to satisfy this dependency
  • since you are using "use_configure no", you must add code to the portfile to manually support build_arch, and hopefully universal builds as well, and should also ensure that you are UsingTheRightCompiler

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

Resolution: fixed
Status: newclosed

Added port in r87089. Changes I made beyond what I listed above:

  • used rmd160 and sah256 checksums
  • used xorg-libXext dependency
  • did not add universal variant because dependency opencv is not universal
  • fixed problems with the Makefile (hardcoded /opt/local and /usr/X11R6, gimp plugins directory, bash completion installation)
  • revised master_sites
Note: See TracTickets for help on using tickets.