Bug 195227 - [graphics/ImageMagick] Enable basic SVG support or make the SVG option clearer about it's requirements
Summary: [graphics/ImageMagick] Enable basic SVG support or make the SVG option cleare...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Koop Mast
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 18:45 UTC by Olivier - interfaSys sàrl
Modified: 2015-01-18 21:28 UTC (History)
0 users

See Also:
software-freebsd: maintainer-feedback? (kwm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier - interfaSys sàrl 2014-11-20 18:45:13 UTC
The Makefile silently disables SVG support by removing XML support if X11 is not available, but Imagemagick features an internal, basic SVG reader which should stay enabled for people without X11 and who have ticked the SVG option unless it is made clear in the option panel that SVG support in this port requires both librsvg2 and X11.

I have succesfully tested MSVG support by making this change as a test:
#CONFIGURE_ARGS+=    --without-rsvg --without-xml
CONFIGURE_ARGS+=    --with-xml
Comment 1 Bugzilla Automation freebsd_committer 2014-11-20 18:45:13 UTC
Auto-assigned to maintainer kwm@FreeBSD.org
Comment 2 Koop Mast freebsd_committer 2015-01-05 16:55:41 UTC
The svg plugin still gets installed regardless of disabling rsvg, but the disabling of the libxml support breaks the internal svg plugin then?
Comment 3 Olivier - interfaSys sàrl 2015-01-06 08:28:43 UTC
That's correct and without libxml, the SVG files can't be parsed.
Comment 4 commit-hook freebsd_committer 2015-01-18 21:13:30 UTC
A commit references this bug:

Author: kwm
Date: Sun Jan 18 21:12:55 UTC 2015
New revision: 377347
URL: https://svnweb.freebsd.org/changeset/ports/377347

Log:
  Update ImageMagick to 6.9.0.4.

  - Normalize the ImageMagick library name so it stays the same regardless of
    what the 16-bit and HDRI option are set to [1]. Teach cmake to look for
    the new name. Bump ports that link to the libraries due to this.
  - As a result do away with the "HALFSUPPORTED" option block, and list
    16-bit and HDRI with the other options.
  - ImageMagick ships a basic SVG plugin when not using librsvg2 for SVG
    support. This basic SVG plugin needs libxml2 to work [2]. Make libxml2
    a mandatory dependency (instead of only when the SVG option was selected).
  - Don't touch .keep files in the modules directory, there files there so
    it useless.

  PR:		194949 [1]
  PR:		195227 [2]
  Requested by:	many [1]
  Submitted by:	software-freebsd@interfasys.ch [2]

Changes:
  head/audio/mp3plot/Makefile
  head/databases/virtuoso/Makefile
  head/deskutils/calibre/Makefile
  head/devel/cmake/files/patch-Modules_FindImageMagick.cmake
  head/devel/cmake-modules/Makefile
  head/devel/synfig/Makefile
  head/editors/emacs/Makefile
  head/editors/emacs-devel/Makefile
  head/graphics/ImageMagick/Makefile
  head/graphics/ImageMagick/distinfo
  head/graphics/ImageMagick/files/patch-coders_palm.c
  head/graphics/ImageMagick/files/patch-coders_rle.c
  head/graphics/ImageMagick/files/patch-configure
  head/graphics/ImageMagick/files/patch-magick_distribute-cache.c
  head/graphics/ImageMagick/pkg-plist
  head/graphics/autotrace/Makefile
  head/graphics/converseen/Makefile
  head/graphics/cuneiform/Makefile
  head/graphics/dcraw-m/Makefile
  head/graphics/fpc-imagemagick/Makefile
  head/graphics/gimp-gmic-plugin/Makefile
  head/graphics/gscan2pdf/Makefile
  head/graphics/inkscape/Makefile
  head/graphics/kipi-plugin-videoslideshow/Makefile
  head/graphics/libdmtx/Makefile
  head/graphics/npretty/Makefile
  head/graphics/opendx/Makefile
  head/graphics/p5-Image-Magick-Iterator/Makefile
  head/graphics/pecl-imagick/Makefile
  head/graphics/pfstools/Makefile
  head/graphics/php-magickwand/Makefile
  head/graphics/pstoedit/Makefile
  head/graphics/py-wand/Makefile
  head/graphics/reallyslick/Makefile
  head/graphics/rubygem-rmagick/Makefile
  head/graphics/zbar/Makefile
  head/multimedia/dvdauthor/Makefile
  head/multimedia/libxine/Makefile
  head/multimedia/transcode/Makefile
  head/security/libfprint/Makefile
  head/www/WebMagick/Makefile
  head/www/tengine/Makefile
  head/x11/xlockmore/Makefile
  head/x11-wm/libwraster/Makefile
  head/x11-wm/windowmaker/Makefile