mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
update depends/* to install raqm
This commit is contained in:
parent
629f83228a
commit
697db864bd
|
@ -11,7 +11,8 @@ sudo apt-get -y install python-dev python-setuptools \
|
||||||
python3-dev python-virtualenv cmake
|
python3-dev python-virtualenv cmake
|
||||||
sudo apt-get -y install libtiff5-dev libjpeg62-turbo-dev zlib1g-dev \
|
sudo apt-get -y install libtiff5-dev libjpeg62-turbo-dev zlib1g-dev \
|
||||||
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev \
|
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev \
|
||||||
python-tk python3-tk
|
python-tk python3-tk libharfbuzz-dev libfribidi-dev
|
||||||
|
|
||||||
./install_openjpeg.sh
|
./install_openjpeg.sh
|
||||||
./install_imagequant.sh
|
./install_imagequant.sh
|
||||||
|
./install_raqm.sh
|
||||||
|
|
|
@ -15,4 +15,6 @@ sudo dnf install python-devel python3-devel python-virtualenv make gcc
|
||||||
|
|
||||||
sudo dnf install libtiff-devel libjpeg-devel zlib-devel freetype-devel \
|
sudo dnf install libtiff-devel libjpeg-devel zlib-devel freetype-devel \
|
||||||
lcms2-devel libwebp-devel openjpeg2-devel tkinter python3-tkinter \
|
lcms2-devel libwebp-devel openjpeg2-devel tkinter python3-tkinter \
|
||||||
tcl-devel tk-devel
|
tcl-devel tk-devel harfbuzz-devel fribidi-devel
|
||||||
|
|
||||||
|
./install_raqm.sh
|
|
@ -8,4 +8,6 @@ sudo pkg install python2 python3 py27-pip py27-virtualenv py27-setuptools27
|
||||||
|
|
||||||
# Openjpeg fails badly using the openjpeg package.
|
# Openjpeg fails badly using the openjpeg package.
|
||||||
# I can't find a python3.4 version of tkinter
|
# I can't find a python3.4 version of tkinter
|
||||||
sudo pkg install jpeg-turbo tiff webp lcms2 freetype2 py27-tkinter
|
sudo pkg install jpeg-turbo tiff webp lcms2 freetype2 harfbuzz fribidi py27-tkinter
|
||||||
|
|
||||||
|
./install_raqm.sh
|
19
depends/install_raqm.sh
Executable file
19
depends/install_raqm.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# install raqm
|
||||||
|
|
||||||
|
|
||||||
|
if [ ! -f raqm-0.2.0.tar.gz ]; then
|
||||||
|
wget -O 'raqm-0.2.0.tar.gz' 'https://github.com/HOST-Oman/libraqm/releases/download/v0.2.0/raqm-0.2.0.tar.gz?raw=true'
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -r raqm-0.2.0
|
||||||
|
tar -xvzf raqm-0.2.0.tar.gz
|
||||||
|
|
||||||
|
|
||||||
|
pushd raqm-0.2.0
|
||||||
|
|
||||||
|
./configure --prefix=/usr && make -j4 && sudo make -j4 install
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
|
@ -4,12 +4,14 @@
|
||||||
# Installs all of the dependencies for Pillow for Ubuntu 14.04
|
# Installs all of the dependencies for Pillow for Ubuntu 14.04
|
||||||
# for both system Pythons 2.7 and 3.4
|
# for both system Pythons 2.7 and 3.4
|
||||||
#
|
#
|
||||||
|
sudo add-apt-repository -y ppa:as-bahanta/raqm
|
||||||
|
sudo apt-get update
|
||||||
sudo apt-get -y install python-dev python-setuptools \
|
sudo apt-get -y install python-dev python-setuptools \
|
||||||
python3-dev python-virtualenv cmake
|
python3-dev python-virtualenv cmake
|
||||||
sudo apt-get -y install libtiff5-dev libjpeg8-dev zlib1g-dev \
|
sudo apt-get -y install libtiff5-dev libjpeg8-dev zlib1g-dev \
|
||||||
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev \
|
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev \
|
||||||
python-tk python3-tk
|
python-tk python3-tk libharfbuzz-dev libfribidi-dev
|
||||||
|
|
||||||
./install_openjpeg.sh
|
./install_openjpeg.sh
|
||||||
./install_imagequant.sh
|
./install_imagequant.sh
|
||||||
|
./install_raqm.sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user