2013-03-27 18:56:18 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# change locales to en_US.UTF-8
|
|
|
|
dpkg-reconfigure locales
|
|
|
|
|
2013-09-18 15:38:17 +02:00
|
|
|
# Increase size of image. See resize_img.md
|
|
|
|
|
2013-03-27 18:56:18 +01:00
|
|
|
apt-get update
|
|
|
|
apt-get dist-upgrade
|
|
|
|
apt-get autoremove
|
2013-05-15 18:30:02 +02:00
|
|
|
|
|
|
|
echo "deb http://ftp.de.debian.org/debian experimental main" >> /etc/apt/sources.list
|
|
|
|
echo "deb-src http://ftp.de.debian.org/debian experimental main" >> /etc/apt/sources.list
|
2013-09-18 15:38:17 +02:00
|
|
|
# Force User
|
|
|
|
su root
|
2013-05-25 00:33:58 +02:00
|
|
|
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
|
2013-05-15 18:30:02 +02:00
|
|
|
gpg -a --export 8B48AD6246925553 | apt-key add -
|
|
|
|
gpg --keyserver pgpkeys.mit.edu --recv-key AED4B06F473041FA
|
|
|
|
gpg -a --export AED4B06F473041FA | apt-key add -
|
2013-03-27 18:56:18 +01:00
|
|
|
apt-get update
|
2013-05-15 18:30:02 +02:00
|
|
|
# Needed dependencies for building libpoppler
|
|
|
|
#apt-get install debhelper autotools-dev libglib2.0-dev libgtk2.0-dev libfontconfig1-dev \
|
|
|
|
# libqt4-dev libcairo2-dev libopenjpeg-dev libjpeg-dev libpng-dev libtiff-dev \
|
|
|
|
# liblcms2-dev gtk-doc-tools libgirepository1.0-dev gobject-introspection libglib2.0-doc \
|
|
|
|
# libcairo2-doc
|
|
|
|
apt-get build-dep poppler
|
2013-03-27 18:56:18 +01:00
|
|
|
|
2013-05-25 00:33:58 +02:00
|
|
|
# build dependencies of pdf2htmlEX
|
2013-05-15 18:30:02 +02:00
|
|
|
apt-get install cmake libfontforge-dev libspiro-dev python-dev
|
|
|
|
|
2013-05-25 00:33:58 +02:00
|
|
|
git clone https://github.com/coolwanglu/pdf2htmlEX.git
|