mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: Remove gifsicle dependency (#10357)
Dependency on gifsicle, allow_animated_avatars and allow_animated_thumbnails site settings were all removed. Animated GIF images are still allowed, but the generated optimized images are no longer animated for those (which were used for avatars and thumbnails). The added 'animated' is populated by extracting information using FastImage. This field was used to selectively reoptimize old animations. This process happens in the background.
This commit is contained in:
parent
14cb587b7e
commit
43e52a7dc1
16 changed files with 85 additions and 64 deletions
|
@ -12,7 +12,7 @@ To get your Ubuntu 16.04 or 18.04 LTS install up and running to develop Discours
|
|||
whoami > /tmp/username
|
||||
sudo add-apt-repository ppa:chris-lea/redis-server
|
||||
sudo apt-get -yqq update
|
||||
sudo apt-get -yqq install software-properties-common vim curl expect debconf-utils git-core build-essential zlib1g-dev libssl-dev openssl libcurl4-openssl-dev libreadline6-dev libpcre3 libpcre3-dev imagemagick redis-server advancecomp gifsicle jhead jpegoptim libjpeg-turbo-progs optipng pngcrush pngquant gnupg2
|
||||
sudo apt-get -yqq install software-properties-common vim curl expect debconf-utils git-core build-essential zlib1g-dev libssl-dev openssl libcurl4-openssl-dev libreadline6-dev libpcre3 libpcre3-dev imagemagick redis-server advancecomp jhead jpegoptim libjpeg-turbo-progs optipng pngcrush pngquant gnupg2
|
||||
|
||||
# Ruby
|
||||
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
|
||||
|
|
|
@ -223,7 +223,7 @@ In addition to ImageMagick we also need to install some other image related
|
|||
software:
|
||||
|
||||
```sh
|
||||
brew install gifsicle jpegoptim optipng jhead
|
||||
brew install jpegoptim optipng jhead
|
||||
npm install -g svgo
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue