Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation script does not work for Inkscape 0.92 or older #9

Closed
deluxe opened this issue May 10, 2020 · 1 comment
Closed

Compilation script does not work for Inkscape 0.92 or older #9

deluxe opened this issue May 10, 2020 · 1 comment

Comments

@deluxe
Copy link
Contributor

deluxe commented May 10, 2020

Compilation script make.sh defines Inkscape executable path as /Applications/Inkscape.app/Contents/MacOS/inkscape.
This path does not work for Inkscape 0.92 or older with executable in /Applications/Inkscape.app/Contents/Resources/bin/inkscape.

Either adapt the path to manage Inkscape 0.92 (with PATH system variable) or specify 1.0 as Inkscape minimum version.

Steps to reproduce

  1. Install Inkscape 0.92
  2. Remove PNG already converted from SVG drawings to force conversion calls to Inkscape:
rm src/screenshots/386_layout_drawing.png src/screenshots/386_packaging_die.png src/screenshots/bsp_map.png src/screenshots/clear_screen_pixels.png src/screenshots/lines.png
rm src/screenshots_300dpi/386_layout_drawing.png src/screenshots_300dpi/386_packaging_die.png src/screenshots_300dpi/bsp_map.png src/screenshots_300dpi/clear_screen_pixels.png src/screenshots_300dpi/lines.png
  1. Remove 2>&1 from Inkscape command lines (make.sh lines 52 and 60) to display errors
  2. Launch the compilation with:
cd gebbwolf3/ && ./make.sh 
# or, see issue #7:
cd gebbwolf3/src/ && ../make.sh

Result
The script outputs an error message (and launch Inkscape GUI) for each call to Inkscape:

Convert screenshots_svg/bsp_map.svg to PNG (100dpi).
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist'
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/AppExceptions.bundle/Exceptions.plist'
[...]

Expected result
The script should convert SVG images to PNG without error(s).

Infos
MacOS 10.14.6
Inkscape 0.92.2

@deluxe
Copy link
Contributor Author

deluxe commented Apr 22, 2021

Fixed by #6.

@deluxe deluxe closed this as completed Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant