Hi ports@,

Stuart Henderson <s...@spacehopper.org> writes:

[...]

> If emacs runs without imagemagick being installed, then don't list as
> a RUN_DEPENDS, people can add it manually if they need it.
>
> If the functionality is totally disabled if imagemagick is not present
> at *build* time then either patch this check away and always build the
> IM support, or just make it BUILD_DEPENDS.

Thanks for your insight.  By default, Emacs itself is linked to Image
Magick; so it's clearly not a RUN_DEPENDS / BUILD_DEPENDS.

src/image.c conditionally #include's Image Magick headers and uses
functions defined there, according to the result of the configure
script.  I won't be the one to bother looking at how much of
Image-Magick-related features would be disabled
by --without-image-magick or a patched port.

Here's a new version of the (MULTI_PACKAGES-free) port:
- fix PLIST as @info markers got stripped in the previous version
  (*sigh*)
- sync WANTLIB:
  - for all graphical flavors, strip gmodule-2.0 and gthread-2.0
  - for gtk3, remove X-related libraries and add missing cairo-gobject
- make sure we disable *all* D-Bus support, following the method
  described in the bzr repository.

Regards,
-- 
Jérémie Courrèges-Anglas
GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Attachment: emacs24.tgz
Description: Emacs 24.2 port

Attachment: pgpTpxndJ92xJ.pgp
Description: PGP signature

Reply via email to