add some script to build pdf2html on arm

pull/10/head
Raphaël Vinot 2013-03-27 18:56:18 +01:00
parent e7dc87023a
commit 38f934d91a
4 changed files with 31 additions and 1 deletions

View File

@ -4,5 +4,6 @@ apt-get update
apt-get dist-upgrade apt-get dist-upgrade
apt-get autoremove apt-get autoremove
apt-get install libreoffice apt-get install libreoffice
dpkg -i libpoppler28_0.20.5-3_armhf.deb libpoppler-private-dev_0.20.5-3_armhf.deb \
pdf2htmlex_0.8-1~git201303011406r3bc73-0ubuntu1_armhf.deb

19
prepare_rPI_builder.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
# change locales to en_US.UTF-8
dpkg-reconfigure locales
apt-get update
apt-get dist-upgrade
apt-get autoremove
# System stuff to build
apt-get install git devscripts cmake debhelper
# Deps of pdf2htmlEX
echo "deb http://ftp.de.debian.org/debian experimental" >> /etc/apt/sources.list
apt-get update
apt-get install libfontforge-dev libpng12-dev libspiro-dev python-dev
apt-get install -t experimental libpoppler-dev libpoppler-private-dev
cd /root
git clone https://github.com/coolwanglu/pdf2htmlEX.git

View File

@ -46,6 +46,8 @@ else
exit exit
fi fi
# only needed at first chroot, but it does not hurt.
#resize2fs /dev/loop1
cp /usr/bin/qemu*arm* ${CHROOT_PATH}/usr/bin/ cp /usr/bin/qemu*arm* ${CHROOT_PATH}/usr/bin/

8
update_builder.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
cd /root/pdf2htmlEX
git pull
dpkg-buildpackage -rfakeroot -uc -b
ls ../*deb
ls /var/cache/apt/archives/libpoppler*