<<
Cosmo
quick hack guide to debian backporting splash
# first download the source files and debian patches and metadata:
wget http://http.debian.net/debian/pool/main/s/splash/splash_2.8.0-1.dsc
wget http://http.debian.net/debian/pool/main/s/splash/splash_2.8.0.orig.tar.gz
wget http://http.debian.net/debian/pool/main/s/splash/splash_2.8.0-1.debian.tar.xz
# next combine them together into a directory
dpkg-source -x splash_2.8.0-1.dsc
cd splash-2.8.0/
# Modify the file debian/rules: 1. add near the other export command (around line 5):
export HDF5ROOT=/usr/include/hdf5/serial
#and after
dh $@ --no-parallel
#add two extra lines, starting with a tab character in each case (not spaces!):
dh $@ --no-parallel
make cactus_hdf5 # rough hack by boud
dh_install ./bin/csplash-hdf5 ${BINDIR}/ # rough hack by boud
#and save.
# Do this *temporary* hack for paths (remember to delete these later on!):
cd /usr/include/hdf5/serial
sudo ln -s . include
sudo ln -s /usr/lib/x86_64-linux-gnu/hdf5/serial/lib lib
# change directory back to where you were with the source package,
# i.e. insidesplash-2.8.0/
# check that you have libraries needed
sudo aptitude build-dep splash
#compile/create the package
fakeroot debian/rules binary
# insert the "debian-style hand-compiled" splash package
cd ..
sudo dpkg -i splash_2.8.0-1_amd64.deb # the name may differ a little
--
BoudRoukema - 21 Sep 2018