works for me, though I didn't test with patched files yet - just tried these steps:
1) added the resource directories to the bundle (into lib and share),
2) renamed the original directories in $LIBPREFIX (i.e. the MacPorts installation),
3) changed the 'bin/inkscape' script and
4) watched inkscape-bin with 'lsof'.
Raster effect used for testing: 'Swirl'
Image: linked PNG image (inkscape bitmap copy), embedded as result of raster effect
I could not get it to work with $MAGICK_HOME. Inkscape-bin still loaded the coder files from the MacPorts installation.
new proposed fix:
in 'Contents/ Resources/ bin/inkscape' add CODER_FILTER_ PATH="$ TOP/lib/ ImageMagick- 6.5.4/modules- Q16/filters" CODER_MODULE_ PATH="$ TOP/lib/ ImageMagick- 6.5.4/modules- Q16/coders"
export MAGICK_
export MAGICK_
in 'osx-app.sh' add lib/ImageMagick -6.5.4" "$pkglib/" share/ImageMagi ck-6.5. 4" "$pkgresources/ share/"
cp -r "$LIBPREFIX/
cp -r "$LIBPREFIX/
works for me, though I didn't test with patched files yet - just tried these steps:
1) added the resource directories to the bundle (into lib and share),
2) renamed the original directories in $LIBPREFIX (i.e. the MacPorts installation),
3) changed the 'bin/inkscape' script and
4) watched inkscape-bin with 'lsof'.
Raster effect used for testing: 'Swirl'
Image: linked PNG image (inkscape bitmap copy), embedded as result of raster effect