From 8a81c19f244f81f67313ea41c611f45075c25184 Mon Sep 17 00:00:00 2001 From: Damien Ciabrini Date: Wed, 24 Oct 2018 16:29:34 -0400 Subject: [PATCH] doc: install imagemagick first to ensure deps don't require graphicsmagick --- README-mingw.md | 3 +-- README.md | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README-mingw.md b/README-mingw.md index fcb4e90..2d0de8f 100644 --- a/README-mingw.md +++ b/README-mingw.md @@ -47,12 +47,11 @@ Install the packages required to build the devkit's compilers and tools: sudo apt-get update - sudo apt-get install gcc curl unzip + sudo apt-get install gcc curl unzip imagemagick GCC_VERSION_PKG=$(apt-cache depends gcc | awk '/Depends.*gcc/ {print $2}') sudo apt-get build-dep $GCC_VERSION_PKG sudo apt-get build-dep sdcc sudo apt-get install libsdl2-dev - sudo apt-get install imagemagick sudo apt-get install python-pygame sudo apt-get install automake sudo apt-get install autoconf-archive diff --git a/README.md b/README.md index 84ab1a9..9438ea5 100644 --- a/README.md +++ b/README.md @@ -38,22 +38,21 @@ ImageMagick for all the graphics trickery. You also need SDL 2.0 for the emulator and its source-level debugging support. On a Debian-derived distro, this can be done with: - apt-get install gcc curl + apt-get install gcc curl imagemagick GCC_VERSION_PKG=$(apt-cache depends gcc | awk '/Depends.*gcc/ {print $2}') apt-get build-dep $GCC_VERSION_PKG apt-get build-dep sdcc - apt-get install imagemagick apt-get install libsdl2-dev apt-get install python-pygame If running OS X, you will need XCode and brew: + brew install imagemagick brew deps gcc | xargs brew install # gcc 5.5 currently only works with isl <= 0.18 brew remove --force isl brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/87ddc3513e1d15f23d2bb270f63827a5daf1259c/Formula/isl.rb brew deps sdcc | xargs brew install - brew install imagemagick brew install sdl # "easy_install pip" if you don't have pip yet, then pip install pygame