Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Add imagemagick with JP2 support to bootstrap.sh (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen authored and ruebot committed Mar 29, 2017
1 parent 9381dfd commit 54cb966
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ for MAN_FILE in $MAN_FILES; do gzip /usr/share/man/man1/"${MAN_FILE##*/}"; done
# More helpful packages
apt-get -y -qq install htop tree zsh fish unzip

# Install imagemagick with jp2 support.
# JP2 isn't included in Ubuntu imagemagick as per this launchpad ticket:
# https://bugs.launchpad.net/ubuntu/+source/openjpeg2/+bug/711061
# Looks like there is some effort to bring it in eventually.
apt-add-repository -yu ppa:lyrasis/imagemagick-jp2
apt-get -f install -y --allow-downgrades imagemagick=8:6.8.9.9-7ubuntu5.3ppa1 imagemagick-6.q16=8:6.8.9.9-7ubuntu5.3ppa1 imagemagick-common=8:6.8.9.9-7ubuntu5.3ppa1 libmagickcore-6.q16-2=8:6.8.9.9-7ubuntu5.3ppa1 libmagickcore-6.q16-2-extra=8:6.8.9.9-7ubuntu5.3ppa1 libmagickwand-6.q16-2=8:6.8.9.9-7ubuntu5.3ppa1
apt-mark hold imagemagick imagemagick-6.q16 imagemagick-common libmagickcore-6.q16-2 libmagickcore-6.q16-2-extra libmagickwand-6.q16-2

# Set some params so it's non-interactive for the lamp-server install
debconf-set-selections <<< 'mysql-server mysql-server/root_password password islandora'
debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password islandora'
Expand Down

0 comments on commit 54cb966

Please sign in to comment.