New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28278 (closed submission: fixed)

Opened 2 years ago

Last modified 19 months ago

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@…
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

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

Change History

Changed 2 years ago by assemlal@…

Portfile

comment:1 Changed 2 years ago by ryandesign@…

  • 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 19 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

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.